@charset "utf-8";

/*针对不同年级特色*/
.cxg1_box{
	width: 100%;
	overflow: hidden;
	padding-bottom: 70px;
}

.line{
	width: 10%;
	height: 3px;
	background-color:#ec3840;
	border: none;
	margin: 10px auto;
}

.cxg1_con{
	overflow: hidden;
}

.cxg1_con li{
	float: left;
	width: 380px;
	height: 471px;
	margin-right: 30px;
}

.cxg1_con li:last-child{
	margin-right: 0;
}

.cxg1_con li .onebox{
	width: 100%;
	height: 471px;
	background: url(../img/index/cxg1_conBg1.png) no-repeat;
	background-size: 100% 100%;
	position: relative;
}

.cxg1_con li .alikebox:before{
	content: "刚刚升学的同学";
	font-size: 26px;
	font-weight: bold;
	color: #fff;
	position: absolute;
	left: 100px;
	top: 15px;
}

.cxg1_con li .alikebox:after{
	content: "【立即预约】";
	font-size: 26px;
	font-weight: bold;
	color: #ec3840;
	position: absolute;
	left: 120px;
	bottom: 17px;
}

.cxg1_con li .twobox{
	width: 100%;
	height: 471px;
	background: url(../img/index/cxg1_conBg2.png) no-repeat;
	background-size: 100% 100%;
	position: relative;
}

.cxg1_con li .twobox:before{
	content: "承接年级的同学";
}

.cxg1_con li .threebox{
	width: 100%;
	height: 471px;
	background: url(../img/index/cxg1_conBg3.png) no-repeat;
	background-size: 100% 100%;
	position: relative;
}

.cxg1_con li .threebox:before{
	content: "面临升学的同学";
}

.cxg1_con li hgroup{
	text-align: center;
	color: #fff;
	font-size: 22px;
	padding-top: 322px;
}

.cxg1_con li hgroup p{
	font-size: 18px;
}

/*总有一款适合你！*/
.cxg2_box{
	width: 100%;
	height: 664px;
	background: url(../img/index/csg2_boxBg.jpg) no-repeat;
	background-size: 100% 100%;
}

.cxg2_box .comm-title>h1{
	color: #fff;
}

.cxg2_box .comm-title>p{
	color: #fff;
}

.cxg2_con li{
	float: left;
	width: 580px;
}

.cxg2_con li .samebox{
	background: url(../img/index/cxg2_conBg.png);
	height: 306px;
	margin-right: 42px;
	position: relative;
}

.cxg2_con li .samebox:before{
	content: "一对一";
	font-size: 26px;
	font-weight: bold;
	color: #fff;
	position: absolute;
	left: 10px;
	top: 38px;
}

.cxg2_con li .secondbox:before{
	content: "小班课";
}

.cxg2_con li .secondbox:before{
	content: "小班课";
}

.cxg2_con li .texts{
	text-align: center;
	color: #ff5577;
	text-align: left;
}

.cxg2_con li .texts p{
	font-size: 16px;
	line-height: 26px;
	padding: 0 10px;
}

.cxg2_con li .texts .firsttext{
	margin-left: 160px;
	padding-top: 60px;
}

.cxg2_con li .texts .secondtext{
	margin-left: 145px;
    padding-top: 33px;
}

.cxg2_con li .texts .thirdtext{
	padding-top: 45px;
}


.consult {
    display: block;
    background: #ec3840;
    color: #fff;
    text-align: center;
    width: 645px;
    height: 50px;
    line-height: 50px;
    font-size: 26px;
    border-radius: 30px;
    margin: 70px auto;
}

/*艺考生 让梦想在这里圆满*/
.cxg3_box{
	background: url(../img/index/artBg.jpg) no-repeat;
	height: 778px;
}

.cxg3_con{
	margin-top: 125px;
}

.cxg3_con li{
	float: left;
	width: 30%;
	margin-right: 58px;
}

.cxg3_con li:last-child{
	margin-right: 0;
}

.cxg3_con li .circle{
	width: 350px;
    height: 175px;
    border: 8px solid #b1b1b1;
    border-radius: 0 0 50% 50%/0 0 100% 100% ;
    border-top: none;
    position: relative;
}

.cxg3_con li:hover .circle{
	 border: 8px solid #ff5173;
	 border-top: none;
}

.oneCircle hgroup{
	text-align: center;
	padding-top: 50px;
}

.oneCircle hgroup>h2{
	width: 70%;
	margin: 0 auto;
	color: #ec3840;
	font-size: 26px;
	font-weight: bold;
	border-bottom: 2px dashed #ec3840;
	padding-bottom: 30px;
}

.oneCircle hgroup>p{
	color: #ec3840;
	font-size: 20px;
	padding-top: 30px;
}

.cxg3_con li .oneCircle{
	width: 284px;
	height: 284px;
	background: #f2f2f2;
	border-radius: 50%;
	box-shadow: 3px 5px 10px #b2b0b1;
	margin: 0 auto;
	position: absolute;
	left: 39px;
    top: -57px;
}

.cxg3_con li:hover .oneCircle{
	background: linear-gradient(to top left, #ec3840, #e65157);
	transition: all .5s ease;
}

.cxg3_con li:hover hgroup>h2{
	color: #fff;
	border-bottom: 2px dashed #fff;
	transition: all .5s ease;
}

.cxg3_con li:hover hgroup>p{
	color: #fff;
	transition: all .5s ease;
}

.cxg3_con li .twoCircle{
	width: 284px;
	height: 284px;
	background: #f2f2f2;
	border-radius: 50%;
	box-shadow: 3px 5px 10px #b2b0b1;
	margin: 0 auto;
	position: absolute;
	left: 460px;
    top: -57px;
}

.cxg3_con li .threeCircle{
	width: 284px;
	height: 284px;
	background: #f2f2f2;
	border-radius: 50%;
	box-shadow: 3px 5px 10px #b2b0b1;
	margin: 0 auto;
	position: absolute;
	left: 876px;
    top: -57px;
}



/*从状元中小学起航*/

.cxg4_box{
	overflow: hidden;
	position: relative;
	background: #f7f7f7;
	padding-bottom: 10px;
}

.cxg4_bg{
	width: 271px;
	height: 268px;
	background: url(../img/index/cxg3_boxBg.png) no-repeat;
	margin: 0 auto;
}

.cxg4_detail li{
	width: 440px;
	float: left;
}

.cxg4_detail li h2{
	font-size: 26px;
	color: #ec3840;
	font-weight: bold;
}

.cxg4_detail li p{
	font-size: 20px;
	color: #4c4c4c;
	margin-top: 25px;
}

.cxg4_detail li:nth-child(1){
	position: absolute;
	left: 0;
	top: 70px;
}

.cxg4_detail li:nth-child(1)>h2{
	text-align: right;
}

.cxg4_detail li:nth-child(2){
	position: absolute;
	right: 0;
	top: 70px;
}

.cxg4_detail li:nth-child(3){
	position: absolute;
	left: 0;
	top: 230px;
}

.cxg4_detail li:nth-child(3)>h2{
	text-align: right;
}

.cxg4_detail li:nth-child(4){
	position: absolute;
	right: 0;
	top: 230px;
}


/*校区环境*/
.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(255,85,119,.6));  
	background: -moz-linear-gradient(rgba(255,255,255,.5),rgba(255,85,119,.6));  /*FireFox*/
	background: -o-linear-gradient(rgba(255,255,255,.5),rgba(255,85,119,.6));    /* Opear */
	background: -ms-linear-gradient(rgba(255,255,255,.5),rgba(255,85,119,.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: -300px;
		 	opacity: 0;
		 }
		 
		 100%{
		 	margin-left: 0px;
		 	opacity: 1;
		 }		
	}
	
	p[id*='css']{
		/* 调用创建的动画 */
		animation-name:myani;
		/* 设置动画时间 */
		animation-duration:3s;
		/* 缓动,由快到慢 */
		animation-timing-function:cubic-bezier(0.22, 0.61, 0.61, 1.32);
	}
	p[id=css2]{animation-delay:.5s;}  /*延迟*/
	p[id=css3]{animation-delay:1s;}
	p[id=css4]{animation-delay:1.5s;}
	
