﻿html {
    -webkit-tap-highlight-color: transparent; /* 禁止安卓点击高亮 */
    -webkit-text-size-adjust: none; /* 禁止移动端开启阅读模式 */
    -webkit-touch-callout: none; /* 禁止ios长按时触发系统的菜单 */
    -webkit-overflow-scrolling: touch; /* ios滚动条 */
    font-size: 100px /* 1rem=100px,解决设置字体不能小于12px */
}

html {
    height: 100%;
    overflow: hidden;
}

body {
    line-height: normal;
    word-wrap: break-word;
    word-break: break-all;
    height: 100%;
    color: #333;
    font-family: 'Microsoft YaHei UI Light','Microsoft YaHei UI',Geneva,Arial,Helvetica,sans-serif;
    font-size: 16px;
    font-size: .16rem
}
/* 字体大小兼容 */
article, aside, details, figcaption, figure, footer, header, menu, nav, section {
    display: block
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td, select {
    margin: 0;
    padding: 0
}
/* 初始化标签在所有浏览器中的margin、padding值 */
address, caption, cite, code, dfn, em, var {
    font-style: normal;
    font-weight: normal
}
/* 重置样式标签的样式 */
h1, h2, h3, h4, h5, h6, strong, th {
    font-size: 100%;
    font-weight: bold
}

input, button, select, textarea {
    font-size: 100%;
    vertical-align: middle;
    outline: none;
    font-family: 'Microsoft YaHei UI Light','Microsoft YaHei UI',Geneva,Arial,Helvetica,sans-serif
}

    input[type='button'], input[type='submit'], button {
        border: 0;
        background-color: transparent;
        cursor: pointer
    }
/* 重置表单button按钮效果 */
textarea {
    resize: none
}
/*文本框禁止拖拉*/
table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid #ddd; /*table-layout:fixed*/
}
/* 重置table属性,单元格按照规定大小分配:(table-layout:fixed) */
td, th {
    border: 1px solid #ddd
}

iframe, fieldset, img {
    border: 0
}
/* 重置fieldset（表单分组）、图片的边框为0 */
dl, ul, ol, menu {
    list-style: none
}
/* 重置类表前导符号为none,menu在HTML5中有效,li会继承 */
hr {
    clear: both
}

a {
    color: #333;
    cursor: pointer
}

    a, a:active, a:hover {
        text-decoration: none
    }
        /* 重置链接a标签的鼠标滑动效果 */
        a, a:focus {
            outline: 0
        }
/* 取消a标签的虚线框 */
video, img {
    vertical-align: top
}
/* 图片在当前行内的垂直位置 */
/* 统一上标和下标 */
sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -.5em
}

sub {
    bottom: -.25em
}

/* 设置页面文字等在拖动鼠标选中情况下的背景色与文字颜色 */
/*
::-moz-selection{color:#fff;background-color:#4C6E78}
::selection{color:#fff;background-color:#4C6E78}
*/

/* 滚动条,最好只针对PC */
.pc ::-webkit-scrollbar {
    width: 5px;
    height: 5px
}

.pc ::-webkit-scrollbar-corner, ::-webkit-scrollbar-track {
    background-color: transparent
}

.pc ::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: rgba(255,191,87,.9)
}
/* ios触发点击 */
.phone, .phone * {
    cursor: pointer
}
/* 设置表单提示文字颜色 */
::-webkit-input-placeholder {
    color: #ccc
}

:-moz-placeholder {
    color: #ccc
}

::-moz-placeholder {
    color: #ccc
}

:-ms-input-placeholder {
    color: #ccc
}

/* 移动端 */
input[type='button'], input[type='submit'], button {
    -webkit-appearance: none
}
/* 禁用ios上的默认按钮 */
a, button, input, textarea {
    -webkit-tap-highlight-color: rgba(0,0,0,0)
}
/* 去除被点击时产生的边框 */

/* 自定义样式 */
.fl-l {
    float: left
}

.fl-r {
    float: right
}

.clear:after {
    content: '.';
    display: block;
    height: 0;
    clear: both;
    visibility: hidden
}

.clear {
    *zoom: 1
}
/* 兼容 IE6、IE7 */
.center {
    margin-left: auto;
    margin-right: auto
}

.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis
}
/* 单行省略号 */
.ellipsis-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical
}
/* 多行省略,数值代表显示几行 */
.noSelect {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}
/* 不能选中 */
.b-box, .b-boxAB:after, .b-boxAB:before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}
/* IE8+ 盒模型 默认:content-box */
.tI2 {
    text-indent: 2em
}

/* 消除transition、animation闪烁 */
.noFlashing {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}
/* 开启硬件加速 */
.speed-up {
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}
/* 过渡 */
.transition {
    -webkit-transition: all .2s;
    transition: all .2s
}

/* 布局 */
[class*=d-box] {
    display: -webkit-box;
    display: box;
    width: 100%;
    margin: 0
}
/* 自适应-水平 */
.d-box-vertical {
    -webkit-box-orient: vertical;
    box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column
}
/* 自适应-垂直 */
.d-box-center {
    -webkit-box-align: center;
    box-align: center;
    -webkit-box-pack: center;
    box-pack: center;
    text-align: center
}
/* 绝对居中 */
.d-box-align-middle {
    -webkit-box-align: center;
    box-align: center
}
/* 垂直居中 */
[class*=d-box] > [class*=span1] {
    -webkit-box-flex: 1;
    box-flex: 1;
    width: 0;
    position: relative
}

.d-box-vertical > [class*=span1] {
    width: 100%
}

.getWH {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto
}

/*header*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    padding: 0 3.5%;
    box-sizing: border-box;
    background: url("../images/head-bg.png") no-repeat;
    background-size: 100% 100%;
}

.logo {
    display: block;
    width: 783px;
    height: 100%;
    background: url("../images/logo.png") center center no-repeat;
    background-size: contain;
}

.header-nav {
    height: 100%;
    position: relative;
    font-family: SimSun
}

    .header-nav > li {
        position: relative;
        float: left;
        margin-left: 5px;
    }

        .header-nav > li > a {
            display: block;
            height: 100px;
            line-height: 100px;
            padding: 0 50px;
            box-sizing: border-box;
            font-size: 22px;
            text-align: center;
            color: #fff;
        }

        .header-nav > li:hover > a, .header-nav > .nav-active > a {
            color: #ffb819;
        }

.nav-active:after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    position: absolute;
    left: 0;
    bottom: 0px;
    background-color: #ffb819;
    transition: all 0.2s;
}

.nav-active:before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 3px;
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent #ffb819 transparent;
    transition: all 0.2s;
}

.nav-bar {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #ffb819;
    transition: all 0.3s;
    opacity: 0;
}

    .nav-bar:before {
        content: '';
        display: block;
        width: 0;
        height: 0;
        position: absolute;
        bottom: 3px;
        left: 0;
        right: 0;
        margin: 0 auto;
        border-width: 8px;
        border-style: solid;
        border-color: transparent transparent #ffb819 transparent;
    }

.login-p {
    cursor: pointer;
    margin-right: 20px;
}

.login-wrap {
    color: #fff;
    margin-top: 35px;
}

    .login-wrap a {
        color: #fff;
        cursor: pointer;
    }

    .login-wrap .login-in, .login-wrap .out-txt {
        display: inline-block;
        width: 82px;
        height: 30px;
        line-height: 28px;
        background: url("../images/login_btn.png") center no-repeat;
        background-size: 100%;
        text-align: center;
    }

        .login-wrap .login-in:hover, .login-wrap .out-txt:hover {
            background: url("../images/login_btnH.png") center no-repeat;
            background-size: 100%;
        }

.login-people {
    display: inline-block;
    height: 30px;
    line-height: 28px;
    padding-left: 20px;
    background: url("../images/user.png") left center no-repeat;
}

.cover-box {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    opacity: .6;
    z-index: 13;
    animation: fadeIn .5s;
}

.login-box {
    width: 360px;
    height: 240px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background: url("../images/index/login-bg.png") center no-repeat;
    animation: zoomIn .5s;
    z-index: 14;
}

.shut-btn {
    width: 14px;
    height: 14px;
    position: absolute;
    right: 15px;
    top: 15px;
    background: url("../images/index/shut-btn.png") center no-repeat;
    cursor: pointer;
}

.login-title {
    margin-top: 20px;
    font-size: 20px;
    color: #fff;
    text-align: center;
}

.login-box form {
    width: 260px;
    margin: 20px auto 0;
}

    .login-box form > ul > li {
        position: relative;
    }

        .login-box form > ul > li + li {
            margin-top: 18px;
        }

        .login-box form > ul > li.user-name-item > i {
            width: 21px;
            height: 22px;
            background: url("../images/index/userIcon.png") center no-repeat;
        }

        .login-box form > ul > li.user-password-item > i {
            width: 18px;
            height: 22px;
            background: url("../images/index/passIcon.png") center no-repeat;
        }

        .login-box form > ul > li > i {
            position: absolute;
            left: 4px;
            top: 5px;
        }

        .login-box form > ul > li > input {
            width: 100%;
            height: 32px;
            background-color: #fff;
            padding-left: 30px;
            box-sizing: border-box;
        }

        .login-box form > ul > li.login-button-item {
            margin-top: 25px;
        }

.login-button-item > button {
    width: 100%;
    height: 32px;
    line-height: 32px;
    background-color: #10a3fe;
    border-radius: 2px;
    color: #fff;
    font-size: 18px;
    text-align: center;
    cursor: pointer;
}
/*注销*/
.loginout-box {
    width: 360px;
    height: 240px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background: url("../images/index/loginout-bg.png") center no-repeat;
    animation: zoomIn .5s;
    z-index: 999999;
}

.out-btnwrap {
    position: absolute;
    bottom: 25px;
    width: 100%;
    text-align: center;
}

    .out-btnwrap > div {
        display: inline-block;
        width: 72px;
        height: 32px;
        line-height: 32px;
        border-radius: 2px;
        text-align: center;
        cursor: pointer;
    }

    .out-btnwrap .sure-out {
        background-color: #10a3fe;
        color: #fff;
    }

    .out-btnwrap .cancel-out {
        margin-left: 15px;
        background-color: #fff;
        color: #3186d6;
    }

body {
    width: 100%;
    height: 100%;
    padding-top: 100px;
    position: relative;
    box-sizing: border-box;
}

.footer {
    color: white;
    font-size: .875em;
    line-height: .875em;
    background-color: #072851;
    text-align: center;
    padding: 14px 0;
    position: absolute;
    bottom: 0;
    width: 100%;
}

    .footer span {
        margin: 0 10px
    }

.content {
    width: 100%;
    position: absolute;
    top: 100px;
    bottom: 40px;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(.3);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media screen and (max-width:1700px) {
    .logo {
        width: 693px;
    }

    .header-nav > li > a {
        font-size: 20px;
    }
}

@media screen and (max-width:1600px) {
    body {
        padding-top: 80px;
    }

    .header {
        height: 80px;
    }

    .logo {
        width: 620px;
    }

    .header-nav > li > a {
        height: 80px;
        line-height: 80px;
        padding: 0 40px;
        font-size: 18px;
    }

    .login-wrap {
        margin-top: 25px;
    }

    .content {
        top: 80px;
    }
}

@media screen and (max-width:1366px) {
    body {
        padding-top: 60px;
    }

    .header {
        height: 60px;
    }

    .logo {
        width: 480px;
    }

    .header-nav > li > a {
        height: 60px;
        line-height: 60px;
        padding: 0 30px;
        font-size: 14px;
    }

    .login-wrap {
        margin-top: 18px;
        font-size: 14px;
    }

        .login-wrap .login-in, .login-wrap .out-txt {
            width: 70px;
            height: 25px;
            line-height: 23px;
        }

    .login-people {
        height: 25px;
        line-height: 23px;
        padding-left: 18px;
        background-size: 16px;
    }


    .content {
        top: 60px;
    }
}
