/* public */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
section,
article,
aside,
header,
footer,
nav,
dialog,
figure,
menu,
hgroup {
    margin: 0;
    padding: 0;
    border: 0;
}


/*解除最小字体限制*/

html {
    -webkit-text-size-adjust: none;
}

body {
    font-size: 14px;
    line-height: normal;
    color: #666;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

fieldset,
img {
    border: 0;
}

img {
    vertical-align: top;
    width: 100%;
    display: block;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
    font-style: normal;
}

ol,
ul,
li {
    list-style: none;
}

capation,
th {
    text-align: left;
}

q:before,
q:after {
    content: '';
}

abbr,
acronym {
    border: 0;
}

video {
    object-fit: fill;
}


/*手机端页面去除a标签点击时的蓝色边框*/

a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease-in;
    border: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

a:hover {
    outline: none;
    text-decoration: none;
}

a:focus {
    outline: none;
}


/* 清除表单相关默认样式 */

input,
textarea,
select,
button {
    outline: none;
    resize: none;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
}

input:focus,
textarea:focus,
button,
a,
select {
    outline: none;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
}


/*去除input自动填充的黄色背景*/

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    box-shadow: 0 0 0px 1000px white inset;
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}


/*清除ie的默认选择框样式清除，隐藏下拉箭头*/

select::-ms-expand {
    display: none;
}

.tl {
    text-align: left;
}

.tc {
    text-align: center;
}

.tr {
    text-align: right;
}


/*块状元素集中对齐 block center*/

.bc {
    margin-left: auto;
    margin-right: auto;
}


/* 可修复IE6中双倍边距bug */

.fl {
    float: left;
}

.fr {
    float: right;
}

.cb {
    clear: both;
}

.or {
    overflow: hidden;
}

.clearfix:after {
    content: '';
    display: block;
    height: 0;
    visibility: hidden;
    clear: both;
}

.clearfix {
    /*IE6中的解决方案*/
    zoom: 1;
}


/* 限制内容文本行数 */

.ovline {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.ovline2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-line-clamp: 2;
    -moz-line-clamp: 2;
    text-overflow: ellipsis;
    overflow: hidden;
}

.ovline3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-line-clamp: 3;
    -moz-line-clamp: 3;
    text-overflow: ellipsis;
    overflow: hidden;
}


/* 内宽 */

.mainbox {
    margin: 0 auto;
    font-style: normal;
    width: 1400px;
}

@media screen and (max-width:1596px) {
    .mainbox {
        width: 90%;
    }
}


/* layer 弹出层 */

.layui-layer-hui {
    background-color: rgba(0, 0, 0, 0.6) !important
}

.layui-layer-hui .layui-layer-content {
    color: #fff !important;
    font-size: 14px !important;
    line-height: 22px !important;
    padding: 10px !important;
}


/* zUI模拟滚动条 */

.zUIpanelScrollBox,
.zUIpanelScrollBar {
    width: 4px;
    top: 4px;
    right: 2px;
    border-radius: 2px;
}

.zUIpanelScrollBox {
    background: transparent;
    /*opacity:0.1;filter:alpha(opacity=10);*/
}

.zUIpanelScrollBar {
    background: #A5896B;
    /*opacity:1;filter:alpha(opacity=100);*/
}


/* 弹窗 */

.pop,
#bannervideobox {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 9999;
    display: none;
    text-align: center;
}

.pop:after {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.popbox {
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    width: 90%;
    margin: 0 auto;
    transform: translate(0, -50%);
    z-index: 2;
}

.pop .shadow,
#bannervideobox .shadow {
    background: #000;
    opacity: 0.9;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 1;
}

#bannervideobox .warp .video video {
    width: 100%;
}

#bannervideobox .warp .video {
    width: 100%;
    display: block;
}

#bannervideobox .warp .close {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-size: 22px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    background-image: url(../images/wap/close.png);
}

#bannervideobox .warp {
    height: 75%;
    width: 960px;
    height: 595px;
    padding-top: 50px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    margin: auto;
    box-sizing: border-box;
}


/* 解决ios上下滚屏卡顿 */

.ios {
    -webkit-overflow-scrolling: touch;
}


/*设置placeholder*/


/*WebKit browsers   */

input::-webkit-input-placeholder {
    color: #999;
}


/*Mozilla Firefox 4 to 18   */

input:-moz-placeholder {
    color: #999;
}


/*Mozilla Firefox 19+   */

input::-moz-placeholder {
    color: #999;
}


/*Internet Explorer 10+ */

input:-ms-input-placeholder {
    color: #999;
}


/*WebKit browsers   */

textarea::-webkit-input-placeholder {
    color: #999;
}


/*Mozilla Firefox 4 to 18   */

textarea:-moz-placeholder {
    color: #999;
}


/*Mozilla Firefox 19+   */

textarea::-moz-placeholder {
    color: #999;
}


/*Internet Explorer 10+ */

textarea:-ms-input-placeholder {
    color: #999;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    font-family: "SourceHanSansCN", "PingFang SC", "Microsoft YaHei", "微软雅黑", "STHeiti", "WenQuanYi Micro Hei", SimSun, sans-serif;
}

header {
    height: 90px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    background: url(../images/pc/header.png) no-repeat;
    background-size: 100% 100%;
}

header .mainbox {
    display: flex;
    height: 100%;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    width: 77px;
}

header .nav {
    display: flex;
}

header .nav li {
    margin-left: 70px;
}

header .nav a {
    font-size: 16px;
    color: #FBF5E7;
    line-height: 21px;
}

.pc {
    display: block;
}

.wap {
    display: none;
}

@media screen and (max-width:1200px) {
    #bannervideobox .warp {
        width: 90%;
    }
    .pc {
        display: none;
    }
    .wap {
        display: block;
    }
    header {
        display: none;
    }
    header.wap {
        display: block;
        height: 1rem;
    }
    .menunav {
        display: none;
        position: fixed;
        top: 1rem;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.89);
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    header .logo {
        width: 0.8rem;
        margin-left: 0.12rem;
    }
    header .menu {
        margin-right: 0.8rem;
        position: relative;
    }
    .line {
        width: 0.38rem;
        height: 0.05rem;
        background-color: #ecf0f1;
        display: block;
        margin: 0.08rem auto;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    .menunav li {
        margin-bottom: 1.61rem;
    }
    .menunav li:last-child {
        margin-bottom: 0;
    }
    .menunav li a {
        font-size: 0.38rem;
        font-weight: bold;
        color: #FFFBF2;
        line-height: 0.38rem;
        position: relative;
    }
    .menunav li a.active::after {
        position: absolute;
        content: '';
        height: 0.04rem;
        width: 100%;
        background: #FFFBF2;
        border-radius: 2px;
        bottom: -0.18rem;
        left: 0;
    }
    .menu.is-active .line:nth-child(1) {
        transform: rotate(45deg);
        position: absolute;
    }
    .menu.is-active .line:nth-child(2) {
        opacity: 0;
    }
    .menu.is-active .line:nth-child(3) {
        transform: rotate(-45deg);
        position: absolute;
        top: -3%;
    }
    .close {
        width: 0.4rem;
        position: absolute;
        right: 0;
        top: -0.8rem;
    }
}