﻿/*header*/

/*轮播图*/

.swiper-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    z-index: 1
}

.swiper-container2 {
    padding-bottom: 10px;
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    -o-transition-property: -o-transform;
    -ms-transition-property: -ms-transform;
    transition-property: transform;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box
}

.swiper-container-android .swiper-slide,
.swiper-wrapper {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -o-transform: translate(0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0)
}

.swiper-slide {
    -webkit-flex-shrink: 0;
    -ms-flex: 0 0 auto;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative
}

.swiper-container .swiper-notification {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    opacity: 0;
    z-index: -1000
}

.swiper-container img {
    width: 100%;
    vertical-align: bottom;
}


/*种类*/

.section-type {
    margin-bottom: 10px;
    background: #fff;
}

.section-grade {
    padding-bottom: 10px;
}

.section-grade,
.section-new {
    margin-bottom: 10px;
    background: #fff;
    display: none;
}

.section-grade.active,
.section-new.active {
    display: block;
}

.section-type>ul,
.section-grade-show>ul,
.section-new-show>ul {
    overflow: hidden;
    padding-bottom: 10px;
}

.section-type>ul>li {
    float: left;
    width: 25%;
    margin-top: 0.512rem;
    text-align: center;
    font-size: .44rem;
}

.i-type {
    width: 1.7rem;
    height: 1.7rem;
    background-size: 300% 300% !important;
    background-repeat: no-repeat !important;
    display: block;
    margin: auto;
}

.i-type-show1 {
    background: url(../images/icon-index-sprite-one.png) 0 0;
}

.i-type-show2 {
    background: url(../images/icon-index-sprite-one.png) 0 -1.70rem;
}

.i-type-show3 {
    background: url(../images/icon-index-sprite-one.png) -3.4rem -3.4rem;
}

.i-type-show4 {
    background: url(../images/icon-index-sprite-one.png) -3.4rem -1.7rem;
}

.i-type-show5 {
    background: url(../images/icon-index-sprite-one.png) 0 -3.4rem;
}

.i-type-show6 {
    background: url(../images/icon-index-sprite-one.png) -1.7rem -1.7rem;
}

.i-type-show7 {
    background: url(../images/icon-index-sprite-one.png) -3.4rem 0;
}

.i-type-show8 {
    background: url(../images/icon-index-sprite-one.png) -1.7rem 0;
}


/*grade*/

.section-grade-show>ul {
    padding-top: 12px;
    border-bottom: 1px solid #dedede;
    padding-bottom: 0;
    margin-bottom: 10px;
}

.section-grade-show>ul>li {
    float: left;
    display: -webkit-box;
    -webkit-box-pack: center;
    -webkit-box-align: center;
    width: 50%;
    color: #333;
    font-size: .448rem;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.section-grade-show>ul>li>a {
    display: block;
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.section-grade-show>ul>li>a>p {
    font-size: .45rem;
    line-height: .5rem;
    color: #666;
    padding-left: 5px;
    margin-bottom: 5px;
    margin-top: 10px;
}

.section-grade-show>ul>li>a>b {
    position: absolute;
    bottom: 0;
    right: 5px;
    color: #ff6600;
    font-size: 12px;
    font-weight: normal;
    line-height: 22px;
}

.section-grade-show>ul>li>a>b>i {
    font-size: 14px;
}

.section-grade-show>ul>li>a>span {
    background-color: transparent;
    border: 1px solid;
    border-radius: 3px;
    font-size: 0.4rem;
    text-align: center;
    padding: 0 6px 0;
    white-space: nowrap;
    vertical-align: top;
    margin-right: 8px;
    line-height: 16px;
    margin-top: 4px;
    display: inline-block;
    margin-left: 5px;
}

.rezhao {
    border-color: #4db3f9;
    color: #4db3f9;
}

.manyuan {
    border-color: #FF9800;
    color: #FF9800;
}

.jiakai {
    border-color: #E91E63;
    color: #E91E63;
}

.section-grade-show p.more a {
    color: #999;
}

.img {
    position: relative;
    width: 100%;
    margin-bottom: 5px;
    border-radius: .35rem;
    font-size: 0;
    overflow: hidden;
}

.img>img {
    width: 100%;
    height: auto;
    font-size: .6rem;
}

.section-grade-show>ul>li:nth-child(4n+0) {
    border-right: 0;
}

.hotGrade {
    color: #5FB878;
}


/*new*/

.section-new ul>li {
    padding: 10px;
    padding-top: 10px;
    padding-bottom: 0;
    border-bottom: 1px solid #dedede;
}

.section-new ul>li>a {
    display: inline-block;
    text-overflow: ellipsis;
    width: 95%;
}

.section-new ul>li>a>b {
    font-size: 0.45rem;
    font-weight: normal;
    color: #262626;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.teacherInfo>p {
    margin: 2px 0;
}


/*.section-new ul>li>a>p {
    font-size: 0.4rem;
    color: #b3b3b3;
    margin: 0;
    overflow: hidden;
    display: inline-block;
}*/

.section-grade-show .more,
.section-new-show .more {
    text-align: center;
    width: 90%;
    border: 1px solid #dedede;
    margin: 0 auto;
    padding: 5px 0;
}


/*kecheng*/

.section-kecheng {
    background: #fff;
    margin-bottom: 10px;
}

.section-kecheng-title {
    height: 1.12rem;
    display: block;
    padding: 2px 10px;
    position: relative;
    border-bottom: 1px solid #eee;
}

.noBottom {
    border-bottom: none;
}

.section-kecheng-title>img,
.section-grade-title>img {
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-right: 0.1rem;
    vertical-align: -webkit-baseline-middle;
}

.section-kecheng-title>b {
    letter-spacing: 1.5px;
    color: #333;
    display: inline-block;
    height: .6rem;
    line-height: .6rem;
    font-size: .52rem;
    position: relative;
    top: 0.2rem;
    font-weight: normal;
}

.section-kecheng-title>span,
.arrow {
    position: absolute;
    background: url(../images/icon-arrow.png) right/.96rem .096rem no-repeat;
    width: .512rem;
    height: .512rem;
    background-size: 100% 100%;
    display: block;
    top: .4rem;
    right: .448rem;
}

.section-kecheng-show {
    overflow: hidden;
}

.section-kecheng-show>ul {
    padding-top: .35rem;
    overflow: hidden;
}

.section-kecheng-show>ul>li {
    float: left;
    display: -webkit-box;
    -webkit-box-pack: center;
    -webkit-box-align: center;
    width: 50%;
    font-size: .448rem;
    margin-bottom: .35rem;
    padding: 5px 0;
    color: #999;
    border-bottom: 1px solid #dedede;
    height: 100px;
}

.section-kecheng-show>ul>li:nth-child(5),
.section-kecheng-show>ul>li:nth-child(6) {
    border: none;
    margin-bottom: 0
}

.section-kecheng-show>ul>li:nth-child(odd)::after {
    content: "";
    border-right: 1px solid #dedede;
    display: inline-block;
    height: 80px;
}

.section-kecheng-show>ul>li:nth-child(2n+1)::after {
    content: "";
    border-right: 1px solid #dedede;
    display: inline-block;
    height: 80px;
}

.section-kecheng-show-box {
    padding: 0 10px;
}

.section-kecheng-show-box>b {
    float: left;
    width: 30px;
    background-size: 30px;
    height: 30px;
    display: inline-block;
    background-position: 0 0;
}

.section-kecheng-show-box>b.b1 {
    background-image: url("../images/mobileicon1.svg")
}

.section-kecheng-show-box>b.b2 {
    background-image: url("../images/mobileicon2.svg")
}

.section-kecheng-show-box>b.b3 {
    background-image: url("../images/mobileicon3.svg")
}

.section-kecheng-show-box>b.b4 {
    background-image: url("../images/mobileicon4.svg")
}

.section-kecheng-show-box>b.b5 {
    background-image: url("../images/mobileicon5.svg")
}

.section-kecheng-show-box>b.b6 {
    background-image: url("../images/mobileicon6.svg")
}

.section-kecheng-show-box-info {
    margin-left: 40px;
}

.section-kecheng-show-box-info>h1 {
    color: #ff6800;
    font-size: 12px;
    font-weight: normal;
}

.section-kecheng-show-box-info>p {
    height: 56px;
    display: inline-block;
    overflow: hidden;
    line-height: 18px;
    font-size: 10px;
    color: #999;
    letter-spacing: 1px
}

.section-grade-search,
.section-news-search {
    background: #fff;
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    color: #333;
    text-align: center;
}

.section-grade-search li {
    height: 39px;
    display: block;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 1px;
    width: 33.3%;
    float: left;
    font-size: 0.5rem;
}

.section-news-search li {
    height: 39px;
    display: block;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 1px;
    width: 25%;
    float: left;
    font-size: 0.5rem;
}

.section-grade-search li.active,
.section-news-search li.active {
    color: #ff5c00;
    border-bottom: 2px solid #ff5c00;
}


/*教师*/

.section-teacher {
    background: #fff;
    margin-bottom: 10px;
}

.swiper-container2 {
    position: relative;
    height: 230px;
}

.teacherInfo {
    text-align: center;
    padding: 5px 15px;
}

.teacherInfo p>span {
    color: #fff;
    border-radius: 2px;
    padding: 2px 5px;
}

.teacherInfo h1 {
    font-weight: normal;
    color: #999;
    width: 80%;
    margin: 0 auto;
}

.teacherInfo img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 5px solid #dedede;
}

.swiper-button-next {
    background-image: url(../images/arrowRight.svg);
}

.swiper-button-prev {
    background-image: url(../images/arrowLeft.svg);
}

.swiper-button-next,
.swiper-button-prev {
    -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
    width: 15px;
    height: 24px;
    -moz-background-size: 27px 44px;
    -webkit-background-size: 27px 44px;
    background-size: 15px 24px;
}


/*2017/7/17 add*/

.section-youshi>ul {
    border-top: 1px solid #eee;
}

.section-youshi>ul::after {
    clear: both;
    content: '';
    display: table;
}

.section-youshi-li {
    padding-top: 0px;
    position: relative;
}

.section-youshi-li>a {
    color: #555;
    font-size: .45rem;
}

.section-youshi-li::after {
    clear: both;
    display: table;
    display: inline-block;
    height: 40px;
    top: 0px;
    right: 0;
}

.section-youshi-li:nth-child(4n) {
    border-right: none;
}

.more img {
    width: 11px;
    position: relative;
    top: 2px;
}

.more a {
    color: #888;
}


/*2017/7/17 add*/

.section-youshi>ul::after {
    clear: both;
    content: '';
    display: table;
}

.section-youshi-li {
    /* width: 25%; */
    float: left;
    margin-left: .6rem;
    padding-top: 0px;
    position: relative;
    line-height: 1.5rem;
}

.section-youshi-li:nth-child(4n) {
    border-right: none;
}


/*2017/7/20 add*/

.flex-item {
    display: block;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 1px;
}

.section-floor {
    background: #fff;
    margin-bottom: 10px;
}

.section-floorBox {
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: flex;
}

.section-floorBox:nth-child(2) {
    border-top: 1px solid #eee;
}

a.flex-item {
    border-right: 1px solid #eee;
}

.flex-item {
    display: inline-block;
    width: 100%;
}

.flex-item>img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}