html,
body {
    margin: 0;
    padding: 0;
    font-family: "PingFang SC", "Microsoft YaHei", "微软雅黑", "STHeiti", SimSun, sans-serif;
    font-size: 14px;
    color: #2f2f2f;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

ul,
li {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: inherit;
}

a {
    text-decoration: none !important;
    color: inherit;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
         -o-user-select: none;
}
a:hover {
    text-decoration: none !important;
}

a:focus,
a:hover {
    text-align: none !important;
}

img {
    max-width: 100%;
}

label {
    margin: 0;
    font-weight: normal;
}

button,
input,
select,
textarea {
    box-sizing: border-box;
    font-size: inherit;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    -ms-box-sizing: border-box;
     -o-box-sizing: border-box;
    -webkit-outline: none;
       -moz-outline: none;
        -ms-outline: none;
         -o-outline: none;
}
table {
    border-collapse: collapse;
}
.clearfix {
    display: block;
    float: none;
    clear: both;
    overflow: hidden;
    border: 0;
    width: 0;
    height: 0;
    font-size: 0;
}
.inline-block {
    display: inline-block;
    vertical-align: middle;
}
.bold {
    font-weight: bold;
}
.center {
    text-align: center;
}
.v-center {
    vertical-align: middle;
}
.left {
    text-align: left;
}
.f-left {
    float: left;
}
.f-right {
    float: right;
}
.right {
    text-align: right;
}
.nowrap {
    white-space: nowrap;
}
.main-width {
    margin: auto;
    width: 80%;
}
.inline-block {
    display: inline-block;
}

.hiden {
    display: none !important;
}

.vis-hidden {
    visibility: hidden !important;
}

.table-parent {
    display: table;
    width: 100%;
}

.table-vertical {
    display: table-cell;
    text-align: left;
    vertical-align: middle;
}

.flex-content {
    display: flex;
}

.flex-1 {
    flex: 1;
}

.txt-r {
    text-align: right;
}

.txt-c {
    text-align: center;
}

.fr {
    float: right;
}
#header {
    display: table;
    width: 100%;
    color: #fff;
    background: #1a85ff;
}
.hd-left,
.hd-right {
    display: table-cell;
    padding: 0 2em;
    vertical-align: middle;
}
.hd-logo {
    display: inline-block;
    margin-right: 2em;
    padding: 10px 0;
    width: 12em;
    vertical-align: middle;
}
.hd-address {
    display: inline-block;
    font-size: .8rem;
    vertical-align: middle;
}
.hd-address select {
    margin-left: 5px;
    border: 0;
    width: 4em;
    color: #fff;
    background: transparent;
    background: url(../images/down-arrow.png) no-repeat 92% center;
    box-shadow: none;
    cursor: pointer;
}
.hd-items {
    float: right;
    height: 60px;
    line-height: 60px;
    text-align: center;
}
.hd-items li {
    display: inline-block;
    margin: 0 0 0 3em;
    text-align: center;
}
.hd-items li a {
    display: block;
}
.hd-items li span {
    font-weight: lighter;
    display: inline-block;
    vertical-align: middle;
}
.hd-icon {
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
    background: url(../images/spritebox-sprite.png) no-repeat;
    background-size: 6em;
}
.hd-icon-service {
    width: 28px;
    height: 25px;
    background-position: -0 -0;
}

.hd-icon-school {
    width: 29px;
    height: 25px;
    background-position: -28px 0;
}

.hd-icon-calendar {
    width: 27px;
    height: 25px;
    background-position: -0 -25px;
}

.hd-icon-search {
    width: 24px;
    height: 28px;
    background-position: -27px -25px;
}

.hd-icon-back {
    width: 30px;
    height: 23px;
    background-position: -58px -0;
}

.hd-icon-call {
    width: 25px;
    height: 22px;
    background-position: -54px -24px;
}
/*移动端头部*/
#mobile-header {
    display: none;
}
#footer {
    text-align: center;
    color: #fff;
	background-color: #ffdf06;
    /*background: url(../images/foot-bg.png) no-repeat center center;*/
    background-size: cover;
}
.phone-box {
    padding-bottom: 0em;
}
.phone-inner {
    padding-top: 0em;
}
.phone-inner h1 {
    font-size: 1.7rem;
    font-weight: normal;
    -webkit-box-reflect: below 5px -webkit-gradient(linear, center top, center bottom, from(transparent),color-stop(.2, transparent), to(rgba(255,255,255,.3)));;
}
.phone-inner form {
    margin: 0 auto;
    padding: 3em 0;
    width: 50%;
    max-width: 980px;
    text-align: center;
}
.phone-details input,
.phone-details select {
    margin: 1em 2% 0 2%;
    border: 0;
    border-radius: 5px;
    padding: 0 10px;
    width: 45%;
    height: 2.75em;
    font-size: 14px;
    line-height: 2.75em;
    color: #7e7e7e;
    background: #fff;
}
.phone-details select {
    /*margin-right: 0;*/
    /*padding-right: 2em;*/
    background: #fff url(../images/down-arrow-blue.png) no-repeat 92% center;
    background-size: 1em;
    cursor: pointer;
}
.phone-message,
.phone-details {
    padding: 0 5em;
    font-size: 0;
}
.phone-message textarea {
    margin: 1em 0;
    border: 0;
    border-radius: 5px;
    padding: 10px;
    width: 94%;
    height: 8em;
    font-size: 14px;
    color: #7e7e7e;
    background: #fff;
    resize: none;
}
.phone-but button {
    display: inline-block;
    margin-top: 3.15rem;
    border: 0;
    border-radius: 6px;
    height: 3em;
    font-size: 1.2rem;
    color: #fff;
    background: #ff3333;
}
/*input[name="gschool"],
.phone-message {
    display: none;
}*/
.ft-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 1em 0;
    width: 100%;
    color: #fff;
    z-index: 10;
    background: rgba(54, 54, 54, .949);
}
.ft-btn {
    display: inline-block;
    margin: 0 15px 0 0;
    border: 0;
    border-radius: 5px;
    width: 9em;
    height: 3em;
    line-height: 3em;
    color: #fff;
    background: #1a85ff;
    cursor: pointer;
}
.ft-btn-choose {
    background: #f3a102;
}
.ft-btn span {
    vertical-align: middle;
}
.ft-box {
    display: inline-block;
    font-size: 1.4rem;
    vertical-align: middle;
}
.ft-box span {
    display: block;
    margin-bottom: 10px;
    font-size: .8rem;
    text-align: left;
}
.ft-hide {
    display: none;
}
.phone-box p {
    font-size: .9rem;
    line-height: 1.5;
}
.phone-show {
    display: none !important;
}
#subjects {
    display: none;
}
@media (max-width: 1080px) and (min-width: 769px) {
    .hd-items li span {
        display: none;
    }
}
@media (max-width: 768px) {
    html,
    body {
        font-size: 13px;
    }
    .pc-show {
        display: none !important;;
    }
    .phone-show {
        display: inline-block !important;;
        margin: 0 auto;
    }
    #header {
        display: none;
    }
    #subjects {
        line-height: 3.75rem;
        padding: 0 1rem;
        font-size: 1.2rem;
        display: block;
        background: #fff;
        border-bottom: 1px solid #ddd;
    }
    .sub-choose {
        color: #02baee;
        border-bottom: 2px solid #02baee;
    }
    .sub-item {
        text-align: center;
        display: inline-block;
        width: 11%;
        color: #666;
    }
    .sub-plus {
        float: right;
        /*display: inline-block;*/
        /*只有学科超出一栏内容才显示*/
        display: none;
        height: 2.75rem;
    }
    .sub-plus img {
        height: 50%;
        vertical-align: middle;
    }
    /*移动端头部*/
    #mobile-header {
        display: block;
        box-sizing: border-box;
        padding: .5rem .83rem 0;
        width: 100%;
        height: 3.75rem;
        font-size: 0;
        background: #02baee;
        color: #fff;
    }
    .mobile-back,
    #mobile-header .hd-address {
        width: 30%;
        font-size: 1.2rem;
        line-height: 2.75rem;
    }
    .mobile-back span {
        display: inline-block;
        vertical-align: top;
    }
    .back-icon {
        display: inline-block;
        width: .7rem;
        height: auto;
        vertical-align: middle;
    }
    #mobile-header .hd-address {
        text-align: right;
    }
    #mobile-header .hd-address select {
        width: 4.5rem;
        background: url(../images/home/arrow-down.png) no-repeat 100%;
        background-size: 24% auto;
    }
    .phone-inner form {
        width: 75%;
    }
    .phone-details input,
    .phone-details select {
        margin-right: 0;
        margin-left: 0;
        width: 100% !important;
    }
    select[name="field_dropdown[]"],
    input[name="field_C9U35"] {
        /*display: none;*/
    }
    input[name="gschool"],
    .phone-message {
        display: block;
    }
    .copy-right {
        font-size: 1.5rem;
    }
    .phone-box {
        padding-bottom: 1rem;
    }
    .ft-nav {
        display: none;
    }
    .phone-message textarea {
        width: 100%;
    }
}
@media (max-width: 425px) {
    html,
    body {
        font-size: 13px;
    }
}
@media (max-width: 375px) {
    html,
    body {
        font-size: 12px;
    }
}
@media (max-width: 320px) {
    .hd-items li {
        margin-left: 8px;
    }
    .line {
        width: 30%;
    }
}
