/*通用类*/
html {
    height: 100%;
}

html, body {
    position: relative;
    min-height: 100vh;
}

* {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    margin: 0 auto;
    font-size: 14px;
    font-family: "Microsoft Yahei", Adobe Heiti Std, Arial, sans-serif;
    color: #4c4948;
    background: #fff;
    overflow-x: hidden;
    /*padding-top: 46px;*/
    cursor: pointer;
    position: static;
}

body.dialog-open {
    position: fixed;
    width: 100%;
}

img {
    border: none;
}

a {
    cursor: pointer;
    color: #4d4d4d;
    text-decoration: none;
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a:hover {
    /*color: #804d9a;*/
}

ul {
    list-style-type: none;
}

em {
    font-style: normal;
}

input {
    outline: none;
}

input[type="text"] {
    text-indent: 0.5em;
}

input.sub,
label {
    border: none;
    cursor: pointer;
}

input, button, select, textarea {
    outline: none
}

.text-overflow {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset;
}

button {
    cursor: pointer;
}

textarea {
    resize: none;
}

div.clear {
    font: 0px Arial;
    line-height: 0;
    height: 0;
    clear: both;
}

.font-grey {
    color: #666;
}

.font-white {
    color: #fff;
}

.font-yellow {
    color: #ffff00;
}

.text-center {
    text-align: center;
}

.ta_r {
    text-align: right !important;
}

.justify {
    overflow: hidden;
    text-align: justify;
}

.btn {
    display: block;
    height: 30px;
    padding: 0 20px;
    width: auto;
    border-radius: 3px;
    border: 0;
    color: #fff;
    text-align: center;
    cursor: pointer;
}

.btn a {
    display: block;
    color: #fff;
    width: 100%;
}

.btn-lg {
    width: 100px;
    height: 40px;
    line-height: 40px;
    font-size: 15px;
}

.shadow-btn:hover {
    box-shadow: 2px 2px 3px #ccc, -2px -2px 3px #ccc;
}

.hide {
    display: none;
}

.d-static {
    position: static !important;
}

.d-fixed {
    position: fixed !important;
}

.d-relative {
    position: relative !important;
}

.d-absolute {
    position: absolute !important;
}

.pull-left {
    float: left !important;
}

.pull-right {
    float: right !important;
}

.width-auto {
    width: auto !important;
}

.margin-no {
    margin: 0 !important;
}

.margin-auto {
    margin: 0 auto;
}

.padding-no {
    padding: 0 !important;
}

.border-no {
    border: 0 !important;
}

.border-radius-no {
    border-radius: 0 !important;
}

.hide {
    display: none !important;
}

.full-cover-link {
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 100;
    top: 0;
    left: 0;
}

.bg-white {
    background: #fff;
}

.bg-grey {
    background: #f4f3ef;
}

.bg-green {
    background: #9ac937;
}

.bg-dark-grey {
    background: #9e9e9e !important;
}

.bg-dark {
    background: rgb(73, 89, 105);
}

.bg-blue {
    background: #007feb;
}

.bg-purple {
    background: #d15291;
}

.bg-orange {
    background: #ff9a23;
}

.bg-light-blue {
    background: #aed7ff;
    color: #007feb;
}

.bg-purple {
    background: #804d9a;
}

.m-b20 {
    margin-bottom: 20px;
}

.cursor {
    cursor: pointer;
}

.w100 {
    float: left;
    width: 100% !important;
}

.line {
    width: auto;
    height: 1px;
    background: #ccc;
    float: left;
}

.o-visible {
    overflow: visible !important;
}

.o-hidden {
    overflow: hidden !important;
}

.flex {
    display: flex;
    display: -webkit-flex;
}

.container {
    width: 94%;
    margin: 0 auto;
    max-width: 800px;
}

.d-container {
    width: 100%;
    /* margin-left: 3%; */
    box-sizing: border-box;
    padding-left: 3%;
    max-width: 800px;
    margin: 0 auto;
}

.layer-mask {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    background: rgba(0, 0, 0, .4);
}

/*header*/
.header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 1000;
    height: 60px;
    transition: all 0.5s;
    opacity: 0;
}

.header.on {
    opacity: 1;
}

.header.fixed {
    position: fixed;
}

.header ul {
    width: 100%;
    height: 60px;
}

.header li {
    position: relative;
    width: 25%;
    padding-top: 35px;
    height: 60px;
    box-sizing: border-box;
    float: left;
    font-size: 12px;
}

.header li.icon1 {
    background: url(../images/icon1.png) no-repeat center 10px / auto 20px;
}

.header li.icon1.on {
    background: #131428 url(../images/icon1_on.png) no-repeat center 10px / auto 20px;
}

.header li.icon2 {
    background: url(../images/icon2.png) no-repeat center 10px / auto 20px;
}

.header li.icon2.on {
    background: #131428 url(../images/icon2_on.png) no-repeat center 10px / auto 20px;
}

.header li.icon3 {
    background: url(../images/icon3.png) no-repeat center 10px / auto 20px;
}

.header li.icon3.on {
    background: #131428 url(../images/icon3_on.png) no-repeat center 10px / auto 20px;
}

.header li.icon4 {
    background: url(../images/icon4.png) no-repeat center 10px / auto 20px;
}

.header li.icon4.on {
    background: #131428 url(../images/icon4_on.png) no-repeat center 10px / auto 20px;
}

.header li p {
    width: 100%;
    color: #fff;
    text-align: center;
}

/*swiper*/
.swiper-pagination-bullet {
    background: #cacaca;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #5d5d5d;
}

/*footer*/
.footer {
    margin-top: 70px;
    background: #efefef;
    height: 60px;
    box-sizing: border-box;
    padding: 15px 0;
    transition: all 0.5s;
    bottom: -20px;
    z-index: 1000;
}

.footer.on {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
}

.footer ul {
    width: 100%;
}

.footer li {
    width: 50%;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 30px;
    box-sizing: border-box;
}

.footer li:first-child {
    border-right: 1px solid #a0a0a0
}

.footer li img {
    display: block;
    height: 20px;
    margin-right: 15px;
}

/*课程咨询*/
.consult-box {
    color: #595757;
}

.cb-title {
    margin-bottom: 20px;
    line-height: 25px;
}

.cb-contact {
    margin-bottom: 30px;
}

.cb-contact li {
    width: 100%;
    float: left;
    margin-bottom: 7px;
    /*font-size:12px;*/
}

.cb-contact li a.first {
    margin-right: 10px;
}

.cb-contact li:last-child {
    margin-bottom: 0;
}

.cb-contact li strong {
    font-weight: 500;
    color: #595758;
}

.cb-contact li a,
.cb-contact li span {
    font-family: dinLight;
}

.cb-form .in {
    width: 100%;
    margin-bottom: 15px;
    float: left;
}

.cb-form .in .label {
    line-height: 28px;
}

.cb-form .in .label em {
    color: red;
}

.cb-form .in-item {
    height: 40px;
    line-height: 40px;
    padding: 0 5px;
    background: #efefef;
    margin: 0 5px 5px 0;
    float: left;
}

.cb-form .in-item.on {
    background: #f3e727;
}

.cb-form .in input.text {
    border: 0;
    text-indent: .7rem;
    background: #efefef;
    width: 100%;
    height: 40px;
    border-radius: 0;
}

.cb-form .in textarea {
    width: 100%;
    height: 100px;
    background: #efefef;
    border: 0;
    box-sizing: border-box;
    padding: .7rem;
    border-radius: 0;
}

.cb-form .selects {
    display: flex;
    justify-content: space-between;
}

.cb-form .selects .sel-box {
    width: 47%;
    position: relative;
    background: #efefef url(../images/do.png) no-repeat 90% center / 14px auto;
    height: 40px;
    line-height: 40px;
    box-sizing: border-box;
    padding-right: 20px;

}

.cb-form .selects .sel-box .sel {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
    box-sizing: border-box;
    padding: 0 5px;
}

.cb-form .selects select {
    width: 100%;
    opacity: 0;
    border-radius: 0;
    border: 1px solid #efefef;
    background: #efefef url(../images/do.png) no-repeat 90% center / 14px auto;
    height: 40px;
    line-height: 40px;
    box-sizing: border-box;
    padding-right: 20px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.phone-btn,
.consult-btn,
.cb-submit {
    width: 110px;
    text-align: center;
    line-height: 40px;
    height: 40px;
    background: #000;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
}

.phone-btn {
    margin: 15px auto 0;
    background: #f3e727;
    color: #333;
    overflow: hidden;
}

.cb-submit {
    margin: 0 auto;
    overflow: hidden;
}

/*咨询悬浮*/
.consult-btn {
    position: fixed;
    bottom: 20px;
    right: 5%;
    border-radius: 20px;
    z-index: 999;
    display: none;
    width: 120px;
}

.opacityHide {
    opacity: 0;
}

.opacityShow {
    opacity: 1;
}

/*字体*/
@font-face {
    font-family: dinLight;
    src: url(fonts/DIN-Light.otf);
}

@media screen and (max-width: 350px) {
    .cb-contact li {
        font-size: 10px;
    }
}
