
.hd{
	padding-top:20px;
	width:1200px;
	margin:0 auto;
}
.line{
	width: 10%;
	height: 3px;
	background-color:#f8484f;
	border: none;
	margin: 10px auto;
}

.consult {
    display: block;
    background: #f8484f;
    color: #fff;
    text-align: center;
    width: 645px;
    height: 50px;
    line-height: 50px;
    font-size: 26px;
    border-radius: 30px;
    margin: -20px auto;
}

.consult2{
	margin-top: -30px;
}

.consult4{
	width: 165px;
	height: 40px;
	line-height: 40px;
	font-size: 20px;
	margin-top: 35px;
	display: none;
	float: left;
}

/*.consult3{
	margin-top: -50px;
}*/

/*什么样的孩子适合全日制培优*/
.cxg1_box{
	width: 100%;
	overflow: hidden;
}

.cxg1_con li{
	float: left;
	width: 216px;
	height: 380px;
	margin-right: 30px;
	background-color: #fff;
	box-shadow: 5px 5px 10px #c6c6c6;
	border-top-left-radius: 100px;
	border-top-right-radius: 100px;
}

.cxg1_con li:last-child{
	margin-right: 0;
}

.cxg1_info{
	text-align: center;
}

.cxg1_info>h3{
	color: #e52129;
	font-size: 20px;
	padding-top: 20px;
}

.cxg1_info> .line2{
	width: 80px;
    height: 2px;
    background-color: #e52129;
    border: none;
    margin: 10px auto;
}

.cxg1_info>p{
	color: #666;
	font-size: 14px;
}

.cxg1_con li:hover{
	background-color: #e52129;
	transition: all .5s ease;
}

.cxg1_con li:hover h3{
	color: #fff;
}

.cxg1_con li:hover .line2{
	background-color: #fff;
}

.cxg1_con li:hover p{
	color: #fff;
}

/*全日制培优效果如何*/
.cxg2_box{
	width: 100%;
	height: 700px;
	background: url(../img/index/cxg2_boxBg.jpg) no-repeat;
}

.cxg2_box .comm-title>h2{
	color: #fff;
}

.cxg2_con{
	text-align: center;
}

.cxg2_detail li{
	float: left;
	width: 270px;
	height: 322px;
	background: url(../img/index/cxg2_infoBg.png) no-repeat;
	margin-right: 40px;
}

.cxg2_detail li:last-child{
	margin-right: 0;
}

.cxg2_detail li .cxg2_info{
	text-align: center;
}

.cxg2_detail li .cxg2_info>h3{
	color: #fff;
	font-size: 24px;
	padding-top: 20px;
}

.cxg2_detail li .cxg2_info>p{
	width: 220px;
	color: #666;
	font-size: 16px;
	line-height: 30px;
	margin: 40px auto;
}

/*状元教育的优势*/
.cxg3_con {
	position: relative;
}

.cxg3_conBg{
	width: 497px;
	height: 503px;
	background: url(../img/index/cxg3_conBg.png) no-repeat;
	margin: 0 auto;
	position: relative;
}

.cxg3_conBg>img{
	display: inline-block;
	margin-top: 10px;
	margin: 45px 0 0 45px;
}

.cxg3_con hgroup{
	width: 360px;
	height: 150px;
}

.cxg3_con hgroup>h4{
	color: #333;
	font-size: 24px;
}

.cxg3_con hgroup>p{
	color: #666;
	font-size: 16px;
	line-height: 30px;
}

#oneBox{
	position: absolute;
	top: 100px;
	left: 0;
}

#circle1{
	position: absolute;
	left: 468px;
	top: 0;
}

#circle2{
	position: absolute;
	right: 468px;
	top: 0;
}

#circle3{
	position: absolute;
    left: 369px;
    top: 0px;
}

#circle4{
	position: absolute;
    right: 369px;
    top: 30px;
}

#circle5{
	position: absolute;
    left: 162px;
    top: -47px
}

#twoBox{
	position: absolute;
	top: 100px;
	right: -30px;
	height: 220px;
}

#threeBox{
	position: absolute;
	top: 376px;
	left: 0;
}

#fourBox{
	position: absolute;
	top: 376px;
	right: -30px;
	height: 220px;
}

#fiveBox{
    position: absolute;
    top: 585px;
    left: 409px;
    text-align: center;
}

#oneBox:hover h4{
	color: #e52129;
}

#oneBox:hover .consult4{
	display: block;
	transition: all .5s ease;
}

#twoBox:hover h4{
	color: #e52129;
}

#twoBox:hover .consult4{
	display: block;
	transition: all .5s ease;
}

#threeBox:hover h4{
	color: #e52129;
}

#threeBox:hover .consult4{
	display: block;
	transition: all .5s ease;
}

#fourBox:hover h4{
	color: #e52129;
}

#fourBox:hover .consult4{
	display: block;
	transition: all .5s ease;
}

#fiveBox:hover h4{
	color: e52129;
}

#fiveBox:hover .consult4{
	display: block;
	transition: all .5s ease;
}

/*部分明星学员*/
.cxg6_box{
	width: 100%;
	height: 800px;
	background: url(../img/index/cxg6_boxBg.jpg) no-repeat;
}

.cxg6_box .comm-title>h1{
	color: #fff;
}

.cxg6_box .comm-title> .line{
	background-color: #fff;
}

.cxg6_box .comm-title>p{
	color: #fff;
}

.cxg6_con{
	padding: 70px 0;
}

.cxg6_detail{
	text-align: center;
}

.cxg6_detail li{
	float: left;
	width: 460px;
	margin-right: 60px;
}

.cxg6_detail li:first-child{
	margin-left: 100px;
}

.cxg6_detail li:nth-child(2){
	margin-right: 0;
}

.firstBox{
	width: 511px;
    height: 340px;
	background: url(../img/index/xsc5_detailBg1.png) no-repeat;
}

.secondBox{
	background: url(../img/index/xsc5_detailBg2.png) no-repeat;
}

.thirdBox{
	background: url(../img/index/xsc5_detailBg3.png) no-repeat;
}

.fourBox{
	background: url(../img/index/xsc5_detailBg4.png) no-repeat;
}

.firstBox p{
	width: 400px;
    color: #333;
    font-size: 15px;
    line-height: 25px;
    margin: 0 auto;
    padding-top: 22px;
    text-align: left;
}

.thirdBox p,
.fourBox p
{
	padding-top: 42px;
}

.cxg6_detail li h3{
	color: #FF4C6F;
	font-size: 20px;
	font-weight: bold;
}

/*校区环境*/

.xsc6_box p{
	font-size: 20px;
}

.xsc6_con{
	position: relative;
	padding-bottom: 70px;
}

.xsc6_box hgroup{
	float: left;
}

.xsc6_con_img1{
	width: 386px;
	height: 322px;
	margin-right: 20px;
	margin-bottom: 20px;
}

.xsc6_con_img2{
	width: 386px;
	height: 420px;
	margin-right: 20px;
	margin-bottom: 20px;
}

.xsc6_con_img3{
	width: 386px;
	height: 240px;
	margin-bottom: 20px;
}

.xsc6_con_img4{
	width: 386px;
	height: 346px;
	margin-right: 20px;
	margin-top: -98px;
}

.xsc6_con_img5{
	width: 386px;
	height: 248px;
	margin-right: 20px;
}

.xsc6_con_img6{
	width: 386px;
	height: 427px;
	margin-top: -179px;
}

.text{
	background: -webkit-linear-gradient(rgba(255,255,255,.5),rgba(224,43,52,.6));
	background: -moz-linear-gradient(rgba(255,255,255,.5),rgba(224,43,52,.6));  /*FireFox*/
	background: -o-linear-gradient(rgba(255,255,255,.5),rgba(224,43,52,.6));    /* Opear */
	background: -ms-linear-gradient(rgba(255,255,255,.5),rgba(224,43,52,.6));   /*IE10及IE10+*/
}

.text p{
	text-align: center;
	font-size: 72px;
	color: #fff;
	font-weight: bold;
}

.mouse_moving{
	position: relative;
}

.text{
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	backface-visibility: hidden;
	opacity: 0;
}

.mouse_moving:hover .xsc6_con_img2{
	-webkit-animationtransition: all .5s ease-in-out;
	-moz-animationtransition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}

.mouse_moving:hover .text{
	opacity: 1;
	-webkit-animationtransition: all .5s ease-in-out;
	-moz-animationtransition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}

.mouse_moving:hover .text p{
	margin-top: 150px
}

/*首页小球滚动效果*/
/* 创建动画，声明一个动画的关键帧 */

	@keyframes myani{
		 0%{

			margin-left: 1200px;
			transform:  rotateZ(720deg);
		}
		100%{
			margin-left: 0px;
			transform: rotateZ(0deg);
		}
	}

	.roll li[id*='css']{
		/* 调用创建的动画 */
		animation-name:myani;
		/* 设置动画时间 */
		animation-duration:3s;
		/* 缓动,由快到慢 */
		animation-timing-function:cubic-bezier(0.22, 0.61, 0.61, 1.32);
	}
	li[id=css2]{animation-delay:.3s;}
	li[id=css3]{animation-delay:.6s;}
	li[id=css4]{animation-delay:.9s;}


@font-face {
  font-family: 'iconfont';
  src: url('iconfont.eot');
  src: url('iconfont.eot?#iefix') format('embedded-opentype'),
      url('iconfont.woff2') format('woff2'),
      url('iconfont.woff') format('woff'),
      url('iconfont.ttf') format('truetype'),
      url('iconfont.svg#iconfont') format('svg');
}

.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


