/*reset css*/
* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/*禁止文本缩放 字体设置  取消touch高亮效果*/
html {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    -webkit-text-size-adjust: 100%;
    font-family: "Microsoft YaHei", Helvetica, Arial, sans-serif;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-size: 625%;
    background: transparent;
    color: #333;
}

body {
    width: 100%;
    height: 100%;
    -webkit-overflow-scrolling: touch;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
hr,
button,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
sumary {
    margin: 0;
    padding: 0;
}

th {
    font-size: 0.14rem;
}

/*清除输入框内阴影*/
input,
select,
textarea {
    border: 0;
    -webkit-appearance: none;
    appearance: none;
}

ol,
ul {
    list-style: none;
}

/*禁止选中文本内容*/
*:not(input, select, textArea) {
    -webkit-user-select: none;
}

/*禁用长按页面时的弹出菜单(iOS下有效) ,img和a标签都要加*/
img,
a {
    -webkit-touch-callout: none;
}

a,
a:active,
a:hover {
    text-decoration: none;
}

/*去掉点击链接和文本框对象时默认的灰色半透明覆盖层(iOS)或者虚框(Android)*/
a,
button,
input,
textarea {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

pre {
    -webkit-user-select: text;
}

/*去掉search的叉号*/
input[type=search]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.clearfix::before,
.clearfix::after {
    content: "";
    height: 0;
    line-height: 0;
    display: block;
    visibility: hidden;
    clear: both;
}

/*code by linhaijing str*/
/*注册框*/
a {
    blr: expression(this.onfoucs=this.blur())
}

:focus {
    outline: 0
}

#res_box {
    background: #fff;
    margin-top: 14px;
    position: relative;
}

.form-item {
    width: 100%;
    padding: 0 0.45rem;
    margin: auto auto 0.2rem auto;
}

#name {
    background-image: url(../images/enroll_name.png);
}
#tel{
    background-image: url(../images/enroll_tel.png);
}

.form-item input {
    width: 100%;
    padding: 0 0.15rem;
    border: 0.01rem solid #b3d4d8;
    border-radius: 0.08rem;
    font-size: 0.15rem;
    height: 0.45rem;
    line-height: 0.25rem;
    background-color: #f0faf8;
    background-repeat: no-repeat;
    background-size: .22rem;
    background-position: 0.14rem center;
    padding-left: 0.5rem;
}


.form-item.tj {
    margin-bottom: 0;
}

.res_box .form-item.agr {
    color: #333;
    font-size: 0.14rem;
    width: 100%;
    margin: -0.1rem auto 0.2rem auto;
}

.res_box .agree a {
    color: #333;
    text-decoration: underline;
}

.agree {
    position: relative;
    text-align: left;
}

.res_box .agree p {
    display: inline;
    font-size: 0.13rem;
}

p#p1 {
    color: #f00;
    display: inline;
    padding-left: 0.07rem;
}

.agree input {
    opacity: 0;
    z-index: 5;
    position: relative;
    left: 0;
    top: 0.03rem;
    cursor: pointer;
    display: inline;
    width: 0.13rem;
    height: 0.13rem;
    display: inline-block;
    padding: 0;
}

.agree i {
    background: #ebf8f5;
    width: 0.13rem;
    height: 0.13rem;
    display: inline-block;
    z-index: 2;
    position: absolute;
    left: 0;
    top: 0.03rem;
    border: 0.01rem solid #b3d4d8;
}

.agree input:checked+i {
    background: url(../images/checkbox_after.png) no-repeat;
    background-size: contain;
}

.form-item.tj {
    text-align: center;
}

.form-item.tj button {
    color: #fff;
    font-size: 0.20rem;
    text-align: center;
    display: inline-block;
    background: #ff9710;
    width: 90%;
    height: 0.45rem;
    line-height: 0.45rem;
    letter-spacing: 0px;
    border: 0;
    border-radius: 45px;
    margin-bottom: 0.1rem;
}

:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #999;
    opacity: 1;
}

::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #999;
    opacity: 1;
}

/* 以上两个属性分别针对火狐浏览器不同版本 */

input:-ms-input-placeholder {
    /* IE */
    color: #999;
    opacity: 1;
}

input::-webkit-input-placeholder {
    /* webkit内核的浏览器，如谷歌，edge */
    color: #999;
    opacity: 1;
}



/*code by linhaijing end*/
/*头部*/
.tf-header {
    padding: 0 0.15rem;
    background-color: #00b388;
    font-size: 0.16rem;
}

.tf-header-logo {
    float: left;
    line-height: 0.50rem;
    color: #fff;
    width: 36%;
    display: block;
    cursor: pointer;
}

.tf-header-logo>img {
    width: 0.80rem;
    vertical-align: middle;
    display: inline-block;
}

.tf-header-search {
    float: left;
    width: 64%;
    padding: 0.10rem 0.15rem;
    padding-right: 0;
}

.tf-header-search-input {
    border-radius: 0.05rem;
    height: 0.30rem;
    width: 100%;
    background: #fff;
    position: relative;
}

.tf-header-search-input img {
    width: 0.15rem;
    margin-left: 0.08rem;
    vertical-align: middle;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.tf-header-search-input input {
    height: 100%;
    outline: none;
    font-size: 0.12rem;
    width: 100%;
    border-radius: 5px;
    padding-left: 0.25rem;
}

/*头部背景*/
.tf-header-bg {
    position: relative;
}

.tf-header-bg img {
    width: 100%;
}

.tf-header-chat {
    position: absolute;
    bottom: -3%;
    text-align: center;
    width: 100%;
}

.tf-header-chat a {
    width: 3.50rem;
    height: 0.725rem;
    margin: 0 auto;
    background: url(../images/chat.png) no-repeat center;
    background-size: contain;
    display: block;
    position: relative;
}

.tf-header-chat img {
    width: 0.22rem;
    position: absolute;
    top: 0.21rem;
    right: 0.45rem;
    animation: phone .5s linear infinite;
}

@keyframes phone {
    10% {
        transform: rotate(15deg);
    }

    20% {
        transform: rotate(-15deg);
    }

    30% {
        transform: rotate(15deg);
    }

    40% {
        transform: rotate(-15deg);
    }

    50% {
        transform: rotate(15deg);
    }

    70% {
        transform: rotate(-15deg);
    }

    90% {
        transform: rotate(15deg);
    }

    100% {
        transform: rotate(-15deg);
    }
}

/*大标题*/
.toefl-title {
    font-size: 0.22rem;
    text-align: center;
    padding: 0.15rem 0;
    background: url(../images/title-bg.png) center no-repeat;
    font-weight: bold;
}

.toefl-title>span.green {
    color: #03bf8c;
    font-weight: bold;
}

/*课程*/
.toefl-classes {
    margin-top: 0.10rem;
}

.toefl-classes-tab {
    font-size: 0.15rem;
    height: 0.38rem;
    line-height: 0.38rem;
    width: 90%;
    margin: 0 auto;
}

.toefl-classes-tab li {
    float: left;
    width: calc(33.33333% - 1px);
    background-color: #fff;
    color: #666;
    text-align: center;
}

.toefl-classes-tab li:nth-child(1) {
    border-radius: 0.05rem 0 0 0.05rem;
    border: 1px solid #03bf8c;
}

.toefl-classes-tab li:nth-child(2) {
    border: 1px solid #03bf8c;
    border-right: 0;
    border-left: 0;
}

.toefl-classes-tab li:nth-child(3) {
    border-radius: 0 0.05rem 0.05rem 0;
    border: 1px solid #03bf8c;
}

.toefl-classes-tab li.active {
    background-color: #03bf8c;
    color: #fff;
}

.toefl-classes-table {
    width: 90%;
    margin: 0 auto;
    border-collapse: collapse;
    margin-top: 0.16rem;
    line-height: 1.5;
}

.toefl-classes-table th,
.toefl-classes-table td {
    border: 1px solid #fff;
}

.toefl-classes-table th {
    background-color: #03bf8c;
    color: #fff;
    line-height: 0.32rem;
}

.toefl-classes-table td {
    width: 25%;
    padding: 0.10rem 0.08rem;
    font-size: 0.12rem;
    background-color: #ebf8f5;
    text-align: center;
}

.toefl-classes-table td:nth-child(1) {
    background-color: #cdf2e8;
    width: 28%;
}

.toefl-classes-table td:nth-child(2) {
    width: 47%;
    font-size: 0.12rem;
    text-align: left;
}

.toefl-classes-table td>a {
    color: #ff9710;
    font-weight: bold;
    font-style: italic;
}

.toefl-classes-item {
    margin-top: 0.10rem;
}

.btn-vip {
    width: 75%;
    margin: 0.12rem auto;
}

.btn-vip img {
    width: 100%;
}

/*老师*/
.toefl-teacher {
    background-color: #ebf8f5;
}

.teacher-box {
    width: 90%;
    margin: 0 auto;
}

.teacher-content {
    position: relative;
    z-index: 100;
}

.teacher-photo-content {
    width: 50%;
    float: left;
    padding: 0 0.10rem;
}

.teacher-border {
    width: 90%;
    height: 0.10rem;
    background-color: #d3f2ea;
    border-radius: 0.05rem 0.05rem 0 0;
    margin: 0 auto;
}

.teacher-photo {
    border: 1px solid #00b388;
    border-radius: 0.05rem;
    width: 100%;
}

.teacher-data {
    color: #282828;
    font-size: 0.14rem;
    float: left;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 50%;
}

.teacher-data-name {
    color: #03bf8c;
    font-size: 0.15rem;
    font-weight: bold;
}

.teacher-introduce {
    width: 100%;
    color: #282828;
    font-size: 0.13rem;
    position: relative;
    z-index: 99;
    padding: 0.30rem 0.15rem 0.10rem 0.15rem;
    background-color: #d3f2ea;
    border-radius: 0.05rem;
    line-height: 1.5;
    transform: translate(0, -0.25rem);
}

/*老师切换*/
.owl-theme .owl-controls {
    transform: translate(0, -0.20rem);
}

.owl-theme .owl-controls .owl-page span {
    width: 0.21rem;
    height: 0.04rem;
}

.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span {
    background: #03bf8c;
}

/*修改底部样式*/
.b_lines {
    width: 0 !important;
}

.a_z {
    background: #03bf8c;
}

.a_you {
    background: #ff9710;
}

#xdf-footer1 {
    margin-bottom: 0 !important;
}

.hidden-pc {
    /* height: 118px !important; */
}

@media screen and (min-width:1024px) and (max-width:1200px) {
    #xdf-footer1 {
        margin-bottom: 0 !important;
    }

    #xdf-footer1 .hidden-pc {
        height: 118px !important;
    }
}

@media screen and (min-width:768px) and (max-width:1024px) {
    .tf-header-logo {
        width: 34%;
    }

    .tf-header-search {
        width: 66%;
    }

    html {
        font-size: 1675%;
    }

    /*.tf-header-search-input input {
        width: 500px;
    }*/
}

@media screen (max-width:768px) {
    html {
        font-size: 1250%;
    }

    /*.tf-header-search-input input {
        width: 320px;
    }*/
    .tf-header-logo {
        width: 36%;
    }

    .tf-header-search {
        width: 64%;
    }
}

@media screen and (max-width:480px) {
    html {
        font-size: 625%;
    }

    .tf-header-logo {
        width: 38%;
    }

    .tf-header-search {
        width: 62%;
    }
}

@media screen and (max-width:414px) {
    html {
        font-size: 625%;
    }

    /*.tf-header-search-input input {
        width: 180px;
    }*/
    .tf-header-logo {
        width: 36%;
    }

    .tf-header-search {
        width: 64%;
    }

    .toefl-classes-table td:nth-child(1) {
        width: 25%;
    }

    .toefl-classes-table td:nth-child(2) {
        width: 53%;
    }

    .toefl-classes-table td:nth-child(3) {
        width: 22%;
    }
}

@media screen and (max-width:375px) {
    .toefl-classes-table td:nth-child(1) {
        width: 28%;
    }

    .toefl-classes-table td:nth-child(2) {
        width: 50%;
    }

    .toefl-classes-table td:nth-child(3) {
        width: 22%;
    }
}

@media screen and (max-width:360px) {
    .tf-header-logo {
        width: 40%;
    }

    .tf-header-search {
        width: 60%;
    }

    /*.tf-header-search-input input {
        width: 150px;
    }*/
    .toefl-classes-table td:nth-child(1) {
        width: 27%;
    }

    .toefl-classes-table td:nth-child(2) {
        width: 47%;
    }

    .toefl-classes-table td:nth-child(3) {
        width: 26%;
    }
}

@media screen and (max-width:320px) {

    /*.tf-header-search-input input {
        width: 120px;
    }*/
    .tf-header-logo {
        width: 41%;
    }

    .tf-header-search {
        width: 59%;
    }

    .toefl-classes-table td:nth-child(1) {
        width: 30%;
    }

    .toefl-classes-table td:nth-child(2) {
        width: 45%;
    }

    .toefl-classes-table td:nth-child(3) {
        width: 25%;
    }
}