
html{
    font-size:15px;
    width:100%;
    min-height:100%;
    overflow:hidden;
}
body{
    width:100%;
    position:relative;
    min-height:100%;
		overflow-x:hidden;
    background:#fff;
		color:#2a3341;
}
a{color:inherit;}
a:active,a:visited,a:focus,a:link,a:hover{color:inherit;}

/* 样式 */
.dik{
  width:100%;
  text-align:center;
}
.did{
  width:94%;
  max-width:1200px;
  margin:auto;
  position:relative;
}
.header{
  padding:24px 0;
  background-color:#fff;
  background-image: url(../img/index/back.jpg);
  background-size:100% auto;
}
.header_logo{
  padding: 20px 0;
  display:flex;
  align-items:center;
  justify-content: flex-start;
  flex-wrap: nowrap;
}
.header_logo_left{
  min-width:20%;
  max-width:30%;
  margin-right:20px;
}
.header_logo_right{
  min-width:50%;
  max-width:70%;
}
.header_menu{
  background:#1f8ccf;
  color:#fff;
  padding: 0px 0;
  height:40px;
  line-height:40px;
}
.header_menu_dik{
  display:flex;
  align-items: center;
  justify-content: space-between;
}
.header_menu_item{
  display:block;
  height:100%;
  white-space: nowrap;
  text-align:center;
  flex: 1 1 120px;
  font-size: 16px;
  cursor:pointer;
  font-weight:bold;
  position:relative;
}
.header_menu_list{
  position:absolute;
  top:40px;
  left:0;
  z-index:9999;
  font-size:13px;
  font-weight:normal;
  background:#1f8ccf;
  border:1px solid #fff;
  width:100%;
  color:#fff;
  display:none;
}
.header_menu_item:hover .header_menu_list{display:block;}
.header_list_item{
  display:block;
  width: 100%;
  text-align:center;
  line-height:34px;
  border-bottom:1px solid rgba(255,255,255,0.3);
  cursor:pointer;
}
.header_list_item:last-child{border:none;}

.header_adver{
  padding:20px 0;
  text-align:center;
  position:relative;
}
.header_adver img{
  display:block;
  margin:auto;
  max-width:100%;
}
.header_adver_button{
  transition:all 0.3s ease;
  display:inline-block;
  padding:10px 15px;
  cursor:pointer;
  border-radius:4px;
  font-size:14px;
  color:#fff;
  background:#1f8ccf;
  cursor:pointer;
  box-shadow:2px 2px 4px 3px rgba(0,0,0,0.1);
}
.header_adver_button img{
  display:inline-block;
  vertical-align: middle;
  margin-right:5px;
  width:14px;
}
.header_adver_tip{
  position:absolute;
  right:16%;
  top:-20px;
  font-size:24px;
  color:#666;
}
.header_adver_phone{
  position:absolute;
  display:block;
  right:0;
  bottom:0;
  width:20%;
}

/* 课程list */
.class_list{
  padding:20px 20px;
  display:flex;
  flex-wrap: wrap;
}
.class_list_item{
  display:block;
  width:31%;
  font-size:0;
  line-height:0;
  margin:15px 1.1111%;
  border:2px solid #fff;
  border-radius:4px;
  box-sizing:border-box;
  box-shadow:2px 2px 6px 5px rgba(0,0,0,0.1);
  transition:all 0.3s ease;
}
.class_list_item img{display:block;width:100%;}
.class_list_item:hover{
  transform: scale(1.1,1.1);
}

/* 广告 */
.my_adver{
  padding:24px;
  background:#fff url(../img/index/ad2_back.jpg) no-repeat;
  background-size:100% auto;
  overflow:hidden;
}
.my_adver img{
  float: right;
  width:55%;
}
.img_title{
  display:block;
  max-width:100%;  
  margin:20px auto;
}

.online_class{
  display:flex;
  align-items: center;
  justify-content: space-between;
}
.online_class_item{
  flex: 0 0 31%;
  font-size:20px;
  color:#1f8ccf;
  font-weight:bold;
  text-align:center;
  line-height:40px;
  display:block;
  transition:all 0.3s ease;
  white-space:nowrap;
}
.online_class_item:hover{
  transform: scale(1.1,1.1);
}
.online_class_cont{
  width:100%;
  display:block;
  border:3px solid #fff;
  box-shadow:0px 0px 4px 2px rgba(0,0,0,0.1);
}
.online_class_button{
  display:inline-block;
  padding:10px 15px;
  cursor:pointer;
  border-radius:4px;
  font-size:14px;
  color:#fff;
  border:2px solid #fff;
  background:#1f8ccf;
  cursor:pointer;
  box-shadow:2px 2px 4px 3px rgba(0,0,0,0.1);
  margin:24px auto;
  transition:all 0.3s ease;
}
.online_class_button:hover, .header_adver_button:hover{
  transform:scale(1.1,1.1);
}

.media_dik_item{
  background:#fff;
  width:0;
  text-align:left;
  flex: 0 0 31%;
  border-radius:4px;
  border:2px solid #fff;
  box-shadow:2px 2px 6px 5px rgba(0,0,0,0.1);
  color:#999;
  transition:all 0.3s ease;
}
.media_dik_item:hover{
  transform: scale(1.1,1.1);
}
.media_dik_img{
  display:block;
  width:100%;
}
.media_dik_title{
  padding: 0 10px;
  font-size:18px;
  white-space: nowrap;
  overflow:hidden;
  width:100%;
  line-height:40px;
}
.media_dik_cont{
  padding: 0 10px;
  font-size:13px;
  line-height:20px;
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.train_pict_dik{
  padding:20px 0 50px;
}
.train_pict{
  width:100%;
  height:240px;
  overflow:hidden;
  white-space: nowrap;
  padding:20px 0;
  text-align:left;
  position:relative;
}
.train_pict_cuowe1{
  width:100%;
  position:absolute;
  left:0px;
  top:20px;
  height:200px;
}
.train_pict_cuowe2{
  width:100%;
  position:absolute;
  left:0px;
  top:20px;
  height:200px;
}
.train_pict_item{
  display:inline-block;
  vertical-align: middle;
  height:100%;
  margin: 0 15px;
  padding:0;
  border:2px solid #fff;
  box-shadow:2px 2px 6px 4px rgba(0,0,0,0.1);
  position:relative;
  overflow:hidden;
  transition:all 0.3s ease;
}
.train_pict_item:hover{
  transform:scale(1.1,1.1);
}
.train_pict_title{
  color:#fff;
  text-align:center;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  height:34px;
  line-height:34px;
  font-size:14px;
  position:absolute;
  width:100%;
  left:0;
  bottom:0;
  background:rgba(0,0,0,0.7);
}
.train_pict_item img{
  display:block;
  height:100%;
  margin:0;
}

/* 底部详情 */
.detail_dik{
  margin: 24px auto;
  color:#fff;
  display:flex;
  align-items: flex-start;
  justify-content: space-between;
}
.detail_dik_erweim{
  width:180px;
  margin: 0 20px;
  text-align:center;
  font-size:15px;
  line-height:34px;
}
.detail_dik_erweim img{
  display:block;
  width:100%;
}
.detail_dik_cont{
  text-align:left;
  flex:1 1 60%;
  line-height:34px;
  font-size:15px;
}
.detail_dik_line{
  height:2px;
  width:100%;
  margin:5px 0;
  background:#fff;
}
.beian_dik{
  background:#1873a8;
  padding:15px 0;
  font-size:15px;
  color:#fff;
}
/* 所有动画 */
.fadeInTo{
	animation:fadeIn linear 0.5s 1;
	animation-fill-mode: forwards;
}
.slideUpTo{
	animation:slideUp linear 0.5s 1;
	animation-fill-mode: forwards;
}
.slideDownTo{
	animation:slideDown linear 0.5s 1;
	animation-fill-mode: forwards;
}
.slideLeftTo{
	animation:slideLeft linear 0.5s 1;
	animation-fill-mode: forwards;
}
.slideRightTo{
	animation:slideRight linear 0.5s 1;
	animation-fill-mode: forwards;
}
.phoneAni{
	animation:strong linear 3s infinite;
}
.getMinAni{
	animation:minAni linear 1s;
	animation-fill-mode: forwards;
}
@keyframes fadeIn{
	0%{opacity:0}
	100%{opacity:1}
}
@keyframes slideUp{
	0%{opacity:0;transform:translatey(100px);}
	100%{opacity:1;transform:translatey(0px);}
}
@keyframes slideDown{
	0%{opacity:0;transform:translatey(-100px);}
	100%{opacity:1;transform:translatey(0px);}
}
@keyframes slideLeft{
	0%{opacity:0;transform:translatex(100px);}
	100%{opacity:1;transform:translatex(0px);}
}
@keyframes slideRight{
	0%{opacity:0;transform:translatex(-100px);}
	100%{opacity:1;transform:translatex(0px);}
}
@keyframes minAni{
	0%{transform:scale(1.2,1.2);opacity:0;}
	100%{transform:scale(1,1);opacity:1;}
}
@keyframes strong{
	0%{transform:rotate(0) scale(1,1);}
	70%{transform:rotate(0) scale(1,1);}
	75%{transform:rotate(0) scale(1.1,1.1);}
	77%{transform:rotate(-15deg) scale(1.1,1.1);}
	79%{transform:rotate(15deg) scale(1.1,1.1);}
	81%{transform:rotate(-15deg) scale(1.1,1.1);}
	83%{transform:rotate(15deg) scale(1.1,1.1);}
	85%{transform:rotate(-15deg) scale(1.1,1.1);}
	87%{transform:rotate(15deg) scale(1.1,1.1);}
	89%{transform:rotate(-15deg) scale(1.1,1.1);}
	91%{transform:rotate(0) scale(1.1,1.1);}
	96%{transform:rotate(0) scale(1,1);}
}
.delay1{
	animation-delay:0.4s;
}
.delay2{
	animation-delay:0.8s;
}
.delay3{
	animation-delay:1.2s;
}
.delay4{
	animation-delay:1.6s;
}
.delay5{
	animation-delay:2s;
}
.delay6{
	animation-delay:2.4s;
}
.delay7{
	animation-delay:2.8s;
}
.delay8{
	animation-delay:3.2s;
}
