* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
body {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #f5f8fa;
    font-family: PingFangSC-Regular, sans-serif;
}
a { color:#12a7ff; text-decoration: none;  }
.hide { display: none !important; }
.show-block { display: block !important; }
.show-inline { display: inline-block !important; }
p { padding: 0; margin: 0; }
ul {
    list-style: none;padding: 0; margin: 0;
}
ul li {
    list-style: none;padding: 0; margin: 0;
}

form {
    display: block;
}
.form-horizontal {
}
.form-group{
    position: relative;
}
.form-control {
    display: block;
    width: 100%;
    margin: 5px 0 15px 0;
    height: 34px;
    padding: 6px 15px;
    font-size: 12px;
    line-height: 34px;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
input {
    line-height: normal;
}
button, input, optgroup, select, textarea {
    margin: 0;
    font: inherit;
    color: inherit;
}
.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}
.btn-primary {
    color: #fff;
    background-color: #12a7ff;
    border-color: #12a7ff;
}
.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}
button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
button, html input[type=button], input[type=reset], input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer;
}

button, select {
    text-transform: none;
}
button {
    overflow: visible;
}

.verisign {
    position: relative;
    padding-bottom: 5px;
}
#sign-code {
    position: absolute;
    right: 0;
    top: 2px;
    font-size: 12px;
}
.sign-code {
    position: absolute;
    right: 0;
    top: 2px;
    font-size: 12px;
}

header {
    background-color: #12a7ff;
    width: 100%;
    height: 48px;
    padding: 0;
    line-height: 48px;
    color: #fff;
    font-size: 0;
    position: relative;
}
header a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}
header .logo {
    position: absolute;
    height: 48px;
    width: 100px;
    background: transparent !important;
    text-align: left;
    z-index: 99;
}
header .logo img {
    width: 100%;
    height: auto;
    vertical-align: middle;
}
header .nav {
    position: absolute;
    height: 48px;
    line-height: 48px;
    z-index: 90;
    top:0;
    right:0;
    left: 0;
}
header .nav .nav-wrapper {
    position: relative;
    height: 48px;
    line-height: 48px;
    display: block;
}
header .nav .btn-left {
    position: absolute;
    font-size: 14px;
    left:10px;
    z-index: 90;
}
header .nav .btn-right {
    width: 30px;
    line-height: 38px;
    font-size: 16px;
    vertical-align: top;
    z-index: 80;
}
header .nav .links {
    position: absolute;
    width: 100%;
    font-size: 14px;
    text-align: right;
    right: 10px;
    z-index: 80;
}
header .nav .title {
    position: absolute;
    top:0;
    font-size: 16px;
    text-align: center;
    width: 100%;
    z-index: 80;
}
header .nav a {
    padding: 0 5px;
}
header .nav span {
    padding: 0 5px;
}
.bottom-tip {
    z-index: 9999;
    position: fixed;
    height: 38px;
    line-height: 38px;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 12px;
    background-color: #f97c0b;
    color: #fff;
    text-align: center;
}
.bottom-tip p {
    height: 38px;
    line-height: 38px;
}
.bottom-tip a {
    display: block;
    color: #fff;
}

.categories {
    position: relative;
    background-color: #fff;
}
.categories .all-cates {
    display: block;
    margin: 0;
    padding: 20px 0 5px;
}
.categories .all-cates ul li {
    display: block;
    width: 25%;
    float: left;
}
.categories .all-cates ul li a {
    display: block;
}
.categories .all-cates ul li .cate-item {
    text-align: center;
    padding-bottom: 20px;
}
.categories .all-cates ul li .cate-item img {
    width: 40px;
    height: 40px;
    margin: 5px;
}
.categories .all-cates ul li .cate-item .cat-tit {
    font-size: 14px;
    color: #666;
}
.categories .all-cates:before,
.categories .all-cates:after {
    clear: both;
    display: block;
    content: "";
}

.categories .cates {
    display: block;
    margin: 0 20px;
    line-height: 40px;
}
.categories .cates ul li {
    display: block;
    width: auto;
    float: left;
}
.categories .cates ul li a {
    display: block;
    color: #666;
    font-size: 13px;
    padding: 0 15px;
}
.categories .cates ul li a.active {
    color: #12a7ff;
}
.categories .cates ul li.active a {
    color: #12a7ff;
}
.categories .cates:before,
.categories .cates:after {
    clear: both;
    display: block;
    content: "";
}

.class-list {
    display: block;
    padding: 0 0 60px 0;
}
.class-box {
    display: block;
    position: relative;
    background-color: transparent;
    color: #444 !important;
    margin: 10px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #dedede;
}

.class-box .row {
    margin: 0 !important;
    padding:0 !important;
}
.class-box .class-box-top {
    position: relative;
    padding: 15px !important;
    overflow: hidden;
    background-color: #fefefe;
    min-height: 120px;
}

.class-box .class-box-top .box-top-left {
    z-index: 8;
    width: 67%;
}
.class-box .class-box-top .box-top-right {
    text-align: right;
    position: absolute;
    right: 10px;
    /*bottom: -5px;*/
    top:5px;
    z-index: 1;
}
.class-box .class-box-top .box-top-right img {
    max-height: 135px;
}

.class-box .class-box-top h1 {
    font-size: 22px !important;
    font-weight: bold;
    color: #ffffff;
}
.class-box .class-box-top h2 {
    font-size: 18px !important;
    font-weight: normal;
    color: #000000;
}
.class-box .class-box-top p {
    margin: 0 !important;
    line-height: 1.8;
    font-size: 12px;
}


.class-box .class-box-bottom {
    padding: 8px 15px 5px !important;
    background-color: rgba(5, 5, 5, 0.05) !important;
    overflow: hidden;
}
.class-box .class-box-bottom:before,
.class-box .class-box-bottom:after {
    display: block;
    content: "";
    clear: both;
}
.class-box .class-box-bottom h3 {
    line-height: 1;
    margin: 0 !important;
    padding: 5px 0 !important;
    font-size: 15px;
}
.class-box .class-box-bottom p {
    margin: 0 !important;
    line-height: 2;
    font-size: 12px;
}
.class-box .class-box-bottom .box-top-left {
    text-align: left;
    width: 40%;
    float: left;
}
.class-box .class-box-bottom .box-top-right {
    text-align: right;
    width: 60%;
    float: right;
}

.class-list .buttons {
    padding-top: 5px;
}
.class-list .buttons .btn.more {
    display: block;
    margin: 0 auto;
    width: 120px;
    padding: 6px 0;
    text-align: center;
    font-size: 13px;
    border: 1px solid #12a7ff;
    border-radius: 4px;
}



a.class-box.ads {
    color: #fff !important;
}
a.class-box.ads * {
    color: #fff !important;
}


.class-box.outdated {
    color: #666666;
}
.class-box.outdated * {
    color: #666666;
}
.class-box.outdated .class-box-top h2 {
    color: #666666;
}

.modal {
    width: 300px !important;
    max-width: 300px !important;
    z-index: 999;
}


/***===========================****/
/***=====  新版修改列表样式  ====****/
/***===========================****/

.modal-dialog {
    min-height: 50% !important;
    font-size: 0.24rem;
}
.modal-content {
    min-height: 5rem;
    font-size: 0.24rem;
}
.modal-content p {
    font-size: 0.24rem;
    line-height: 0.3rem;
}

.bottom-tip {
    line-height: 0.4rem;
    font-size: 0.22rem;
}

.class-list {
    background-color: #ffffff !important;
    padding: 0 0 0.8rem 0;
}
.class-list .list-title {
    margin: 0.15rem 0.45rem;
    line-height: 0.5rem;
}
.class-list .list-title h1 {
    font-size: 0.26rem;
    font-weight: bold;
    color: #3e3e3e;
    float: left;
    margin: 0;
    padding: 0;
}
.class-list .list-title a.more {
    font-size: 0.2rem;
    color: #aaaaaa;
    float: right;
    margin-top: 0;
    font-family: PingFangSC-Light, sans-serif;
}
.class-list .list-title:before,
.class-list .list-title:after {
    display: block;
    clear: both;
    content: "";
}
.class-list ul.list {
    margin: 0;
    padding: 0;
}
.class-list .class-box {
    margin: 0.06rem 0.3rem 0.22rem;
    border: 0;
    border-radius: 0.2rem;
    box-shadow: 0 0.05rem 0.25rem #efefef, 0 0.05rem 0.25rem #efefef;
    -moz-box-shadow: 0 0.05rem 0.25rem #efefef, 0 0.05rem 0.25rem #efefef;
    -webkit-box-shadow: 0 0.05rem 0.25rem #efefef, 0 0.05rem 0.25rem #efefef;
    overflow: visible;
}
.class-list .class-box h2 {
    font-size: 0.29rem !important;
    margin: 0 0 0.1rem 0 !important;
    padding: 0 !important;
    color: #3e3e3e;
    font-weight: normal;
    /*white-space:nowrap;
    word-wrap:break-word;
    word-break:break-all;
    width: 4rem;*/
    overflow: visible;
    text-overflow: ellipsis;
    line-height: 0.32rem;
}
.class-list .class-box h2 span.tag {
    font-size: 0.22rem;
    color: #ffffff;
    background-color: #f77a25;
    padding: 0.04rem 0.1rem 0 0.1rem ;
    margin-top: -0.04rem;
    border-radius: 0.1rem;
    display: inline-block;
    line-height: 0.32rem;
    vertical-align: middle;
}
.class-list .class-box h3 {
    font-weight: normal;
    color: #f25221;
    margin: 0 !important;
    padding: 0 !important;
}
.class-list .class-box h3 span {
    display: inline-block;
    margin-right: 0.02rem;
}
.class-list .class-box .class-box-top {
    padding: 0.12rem 0.2rem !important;
    min-height: 0;
    border-top-left-radius: 0.2rem;
    border-top-right-radius: 0.2rem;
    overflow: visible;
}
.class-list .class-box .class-box-top .box-top-left {
    /*width: 80%;*/
    width: auto !important;
    overflow: visible;
    text-overflow: ellipsis;
    padding-top: 0.1rem;
}
.class-list .class-box .class-box-top .box-top-right {
    margin-top: 0;
    margin-right: 0;
    position: relative;
    float: right;
    top: 0.05rem;
    right: 0;
    font-size: 0.28rem;
    text-align: right;
    z-index: 1;
}
.class-list .class-box .class-box-top .box-top-right .live {
    font-size: 0.28rem;
    line-height: 0.5rem;
    color: #f97c0b;
    vertical-align: top;
    text-align: right;
}
.class-list .class-box .class-box-top .box-top-right .discount {
    font-size: 0.25rem;
    color: #ffffff;
    vertical-align: top;
    background: url("/static/h5/images/list-tag.png") center top no-repeat;
    background-size: contain;
    display: block;
    width: 0.5rem;
    height: 1rem;
    padding-top: 0.06rem;
    margin-right: 0.3rem;
    margin-top: -0.2rem;
    text-align: center;
}
.class-list .class-box .class-box-top:before,
.class-list .class-box .class-box-top:after {
    display: block;
    clear: both;
    content: "";
}
.class-list .class-box .class-box-bottom {
    border-bottom-left-radius: 0.2rem;
    border-bottom-right-radius: 0.2rem;
    background-color: #ffffff !important;
    position: relative;
}
.class-list .class-box .class-box-bottom .box-top-left {
    position: absolute;
    top: 0.08rem;
    left: 0.18rem;
    width: 90%;
    background-color: transparent;
    z-index: 1;
}
.class-list .class-box .class-box-bottom .box-top-right {
    position: absolute;
    top: 0;
    right: 0.11rem;
    width: 90%;
}
.class-list .class-box .class-box-bottom {
    padding: 0 !important;
    height: 1rem;
}
.class-list .class-box .class-box-bottom:before,
.class-list .class-box .class-box-bottom:after {
    display: block;
    clear: both;
    content: "";
}
.class-list .class-box p {
    color: #aaaaaa;
    font-size: 0.2rem !important;
    font-family: PingFangSC-Light, sans-serif;
}
.class-list .class-box ul.tags {
    margin: 0;
    padding: 0;
    color: #aaaaaa;
}
.class-list .class-box ul.tags li {
    display: block;
    margin: 0 0.05rem;
    padding: 0;
    float: left;
    text-align: center;
}
.class-list .class-box ul.tags li .item {
    /*transform:scale(0.85,0.85)*/
}
.class-list .class-box ul.tags li img {
    display: block;
    width: 0.48rem;
    height: auto;
    margin: 0 auto;
}
.class-list .class-box ul.tags li span {
    padding-top: 0.02rem;
    display: block;
    color: #aaaaaa;
    font-size: 0.18rem !important;
    font-family: PingFangSC-Light, sans-serif;
}
.class-list .class-box .class-box-bottom .box-top-right .item .priceoff {
    font-size: 0.25rem;
    color: #aaaaaa;
    text-decoration: line-through;
    margin-right: 0.1rem;
}
.class-list .class-box .class-box-bottom .box-top-right .item .unit {
    font-size: 0.3rem;
}
.class-list .class-box .class-box-bottom .box-top-right .item .price {
    font-size: 0.5rem;
}
.class-list .class-box .class-box-bottom .box-top-right .item .price-vip {
    font-size: 0.4rem;
}
.class-list .class-box .class-box-bottom .box-top-right .item {
    float: right;
    /*transform:scale(0.95,0.95);*/
}
.class-list .buttons {
    padding: 0;
}
.class-list .buttons .btn.more {
    border: none;
    padding: 0;
    width: 100%;
    height: 0.8rem;
    line-height: 0.8rem;
}
.class-list .buttons .btn.more img {
    width: 0.5rem !important;
    height: auto;
}

