/* header.css - 导航栏（无会员 profile） */

body > header.header .nav > li.dropdown > a {
    padding-right: 28px
}

header.header .hotnews-children-menu > .dropdown > .dropdown-menu li {
    display: block
}

.dropdown:hover:after {
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
    -webkit-transition: -webkit-transform .3s;
    -o-transition: transform .3s;
    transition: transform .3s, -webkit-transform .3s
}

body > header.header .navbar-nav > .dropdown:after {
    -webkit-transition: -webkit-transform .3s;
    -o-transition: transform .3s;
    transition: transform .3s, -webkit-transform .3s
}

body > header.header .navbar-nav > .dropdown:hover:after {
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
    -webkit-transition: -webkit-transform .3s;
    -o-transition: transform .3s;
    transition: transform .3s, -webkit-transform .3s
}

.m-dropdown, .navbar-on-shadow {
    display: none;
    cursor: pointer
}

@media (max-width: 991px) {
    .m-dropdown {
        display: block;
        position: absolute;
        right: 3px;
        top: 0;
        width: 50px;
        text-align: center;
        color: #fff
    }

    .m-dropdown:after {
        position: absolute;
        left: 0;
        top: 7px;
        width: 1px;
        height: 34px;
        content: "";
        background: rgba(0, 0, 0, .07)
    }

    .m-dropdown i {
        font-size: 24px;
        line-height: 48px;
        opacity: .7
    }

    .dropdown-open > .m-dropdown i, .m-dropdown, .m-dropdown i, .navbar-on {
        -webkit-transition: all .3s ease-out 0s;
        -o-transition: all .3s ease-out 0s;
        transition: all .3s ease-out 0s
    }

    .dropdown-open > .m-dropdown i {
        -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        transform: rotate(180deg)
    }

    .navbar-on {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow: hidden;
        -webkit-transform: translateX(80%);
        -ms-transform: translateX(80%);
        transform: translateX(80%)
    }

    .navbar-on .navbar-on-shadow {
        display: block;
        position: fixed;
        z-index: 10000000000;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        content: "";
        background: rgba(0, 0, 0, .3)
    }
}

body > header.header {
    position: fixed;
    left: 0;
    z-index: 999;
    width: 100%;
    border: 0;
    background: #fff;
    -webkit-box-shadow: 0 0 3px 1px rgba(0, 0, 0, .1);
    box-shadow: 0 0 3px 1px rgba(0, 0, 0, .1)
}

@media (max-width: 767px) {
    body > header.header .container {
        padding: 0 10px 0 15px !important
    }
}

body > header.header .logo, body > header.header .logo img {
    -webkit-transition: all .3s ease-out 0s;
    -o-transition: all .3s ease-out 0s;
    transition: all .3s ease-out 0s
}

body > header.header .logo {
    height: 64px;
    float: none;
    display: table-cell;
    padding: 0;
    margin: 0;
    font-size: 20px;
    line-height: 1;
    vertical-align: middle
}

@media (max-width: 767px) {
    body > header.header .logo {
        height: 50px
    }
}

body > header.header .logo img {
    width: auto;
    max-height: 32px;
    vertical-align: top
}

@media (max-width: 767px) {
    body > header.header .logo img {
        max-height: 26px
    }
}

body > header.header .primary-menu {
    margin-left: 40px
}

body > header.header .nav {
    font-size: 14px;
    font-family: "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", "Helvetica Neue", Arial, sans-serif;
}

@media (min-width: 992px) and (max-width: 1199px) {
    body > header.header .nav > li.dropdown > a {
        padding-right: 22px
    }
}

@media (max-width: 767px) {
    body > header.header .nav > li {
        margin: 0
    }

    body > header.header .nav {
        font-size: 14px;
    }
}

body > header.header .nav > li.active > a {
    color: var(--theme-color)
}

body > header.header .nav > li > a {
    padding: 0 14px;
    color: #333;
    line-height: 64px;
    background: 0 0
}

@media (min-width: 1200px) and (max-width: 1239px) {
    body > header.header .nav > li > a {
        padding: 0 10px
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    body > header.header .nav > li > a {
        padding: 0 8px
    }
}

body > header.header .nav > li > a:hover {
    color: var(--theme-hover);
    background: 0 0
}

body > header.header .navbar-nav > .dropdown {
    position: relative
}

body > header.header .navbar-nav > .dropdown:after {
    position: absolute;
    right: 11px;
    top: 0;
    content: "";
    height: 64px;
    width: 16px;
    opacity: .5;
    background-image: url(data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzAwIiBoZWlnaHQ9IjMwMCI+PHBhdGggZD0iTTUxMiA1NjIuMDA1bDIxMS4yLTIxMS4yIDYwLjMzIDYwLjMzMUw1MTIgNjgyLjY2NmwtMjcxLjUzLTI3MS41MyA2MC4zMy02MC4zM3oiLz48L3N2Zz4=);
    background-size: 16px;
    background-position: 50%;
    background-repeat: no-repeat
}

@media (min-width: 992px) and (max-width: 1199px) {
    body > header.header .navbar-nav > .dropdown:after {
        right: 8px
    }
}

body > header.header .navbar-nav > .dropdown > a {
    position: relative;
    z-index: 1001
}

@media (max-width: 991px) {
    body > header.header .navbar-nav > .dropdown > a {
        z-index: auto
    }
}

body > header.header .navbar-nav > .dropdown > a:after, body > header.header .navbar-nav > .dropdown > a:before {
    opacity: 0;
    position: absolute;
    left: 50%;
    width: 0;
    height: 0;
    margin-left: -8px;
    border: 8px solid transparent;
    content: "";
    -webkit-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out
}

body > header.header .navbar-nav > .dropdown > a:before {
    bottom: 0;
    border-bottom-color: #eee
}

@media (max-width: 991px) {
    body > header.header .navbar-nav > .dropdown > a:after, body > header.header .navbar-nav > .dropdown > a:before {
        display: none
    }
}

body > header.header .navbar-nav > .dropdown > a:after {
    bottom: -1px;
    border-bottom-color: #fff
}

body > header.header .dropdown-menu {
    min-width: 120px
}

body > header.header .dropdown-menu > li > a {
    padding: 9px 15px
}

body > header.header .dropdown-menu > .active > a {
    color: var(--theme-color);
    background: 0 0
}

body > header.header .dropdown-menu > .active > a:focus, body > header.header .dropdown-menu > .active > a:hover, body > header.header .dropdown-menu > li > a:hover {
    color: #fff;
    background: var(--theme-hover)
}

body > header.header .hotnews-children-menu {
    position: relative
}

@media (max-width: 991px) {
    body > header.header .hotnews-children-menu {
        padding: 0;
        margin: 0;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        border-top: 1px solid rgba(0, 0, 0, .05)
    }

    body > header.header .hotnews-children-menu li {
        display: block !important;
        width: 100% !important
    }

    body > header.header .hotnews-children-menu li a {
        display: block !important;
        padding: 0 20px;
        font-weight: 400;
        line-height: 48px !important;
        color: #fff;
        border-bottom: 1px solid rgba(0, 0, 0, .05)
    }

    body > header.header .hotnews-children-menu li a:active, body > header.header .hotnews-children-menu li a:focus, body > header.header .hotnews-children-menu li a:hover {
        color: #fff !important;
        background: rgba(255, 255, 255, .1) !important
    }
}

body > header.header .hotnews-children-menu li img {
    display: inline-block;
    max-height: 20px;
    margin-top: -1px;
    margin-right: 5px;
    width: auto;
    vertical-align: middle
}

@media (max-width: 991px) {
    body > header.header .hotnews-children-menu li img {
        border-radius: 2px
    }

    body > header.header .hotnews-children-menu .active > a {
        color: #fff !important;
        background: rgba(255, 255, 255, .1) !important
    }

    body > header.header .hotnews-children-menu .active > .m-dropdown {
        color: #fff
    }
}

body > header.header .hotnews-children-menu > .dropdown .dropdown-menu {
    display: block;
    padding: 0;
    opacity: 0;
    -webkit-transform: rotateX(-90deg);
    transform: rotateX(-90deg);
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transition: opacity .1s .2s, visibility .1s .3s, -webkit-transform .3s;
    -o-transition: transform .3s, opacity .1s .2s, visibility .1s .3s;
    transition: transform .3s, opacity .1s .2s, visibility .1s .3s, -webkit-transform .3s;
    visibility: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 0;
    border: 0
}

@media (max-width: 991px) {
    body > header.header .hotnews-children-menu > .dropdown .dropdown-menu {
        position: relative;
        display: none;
        float: none;
        width: 100% !important;
        left: 0 !important;
        padding: 1px 0 !important;
        -webkit-transform: rotateX(0);
        transform: rotateX(0);
        visibility: visible;
        background: rgba(0, 0, 0, .05);
        opacity: 1;
        -webkit-box-shadow: none;
        box-shadow: none;
        border-top: 0;
        border-left: 5px solid rgba(0, 0, 0, .04) !important;
        -webkit-box-sizing: border-box !important;
        box-sizing: border-box !important
    }
}

body > header.header .hotnews-children-menu > .dropdown > .dropdown-menu {
    padding: 2px 0
}

body > header.header .hotnews-children-menu > .dropdown:hover > .dropdown-menu, body > header.header .hotnews-children-menu > .dropdown > .dropdown-menu > .dropdown:hover > .dropdown-menu {
    opacity: 1;
    -webkit-transform: rotateX(0);
    transform: rotateX(0);
    -webkit-transition: opacity .1s, -webkit-transform .3s;
    -o-transition: transform .3s, opacity .1s;
    transition: transform .3s, opacity .1s, -webkit-transform .3s;
    visibility: visible
}

body > header.header .hotnews-children-menu > .dropdown > .dropdown-menu > .dropdown > .dropdown-menu {
    left: 100%;
    top: 0
}

.navbar-collapse {
    padding-right: 0
}

.navbar-action {
    position: relative;
    z-index: 1002;
    height: 26px;
    font-size: 0;
    margin-top: 19px;
    margin-left: 20px
}

.navbar-search-icon:focus, .navbar-search-icon:hover, .navbar-search-btn:hover {
    color: var(--theme-hover);
    text-decoration: none
}

@media (max-width: 991px) {
    body > header.header .nav {
        font-size: 16px
    }

    .navbar-nav, body > header.header .navbar-header {
        margin: 0;
        float: none
    }

    body > header.header .primary-menu {
        margin: 0;
        float: none !important
    }

    body > header.header .dropdown:after {
        display: none
    }

    .navbar-nav {
        width: 100%
    }

    .navbar-nav > li {
        float: none
    }

    .navbar-nav li {
        background-image: none !important
    }

    .navbar-toggle {
        display: block;
        margin: 14px 0 0;
        -webkit-transition: all .3s ease-out 0s;
        -o-transition: all .3s ease-out 0s;
        transition: all .3s ease-out 0s
    }
}

@media (max-width: 991px) and (max-width: 767px) {
    .navbar-toggle {
        margin-top: 8px
    }
}

.navbar-search {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    width: 200px
}

.navbar-search-input {
    width: 100%;
    height: 30px;
    border: none;
    padding: 6px 34px 6px 10px;
    border-radius: 5px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    font-size: 14px;
    line-height: 18px;
    color: #333;
    background: #f4f6f9;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 1px 2px rgba(15, 23, 42, .06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 1px 2px rgba(15, 23, 42, .06);
    -webkit-transition: background .2s ease, box-shadow .2s ease, color .2s ease;
    -o-transition: background .2s ease, box-shadow .2s ease, color .2s ease;
    transition: background .2s ease, box-shadow .2s ease, color .2s ease;
    caret-color: var(--theme-color, #d71a1b)
}

.navbar-search-input::-webkit-input-placeholder {
    color: #9ca3af
}

.navbar-search-input::-moz-placeholder {
    color: #9ca3af
}

.navbar-search-input:-ms-input-placeholder {
    color: #9ca3af
}

.navbar-search-input::placeholder {
    color: #9ca3af
}

.navbar-search-input:hover {
    background: #eef1f6;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 2px 6px rgba(15, 23, 42, .08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 2px 6px rgba(15, 23, 42, .08)
}

.navbar-search-input:focus {
    background: #fff;
    -webkit-box-shadow: inset 0 0 0 1px rgba(215, 26, 27, .35), 0 2px 10px rgba(15, 23, 42, .1);
    box-shadow: inset 0 0 0 1px rgba(215, 26, 27, .35), 0 2px 10px rgba(15, 23, 42, .1)
}

.navbar-search-icon {
    position: absolute;
    right: 5px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin: 0;
    text-align: center;
    color: #5a5a5a;
    cursor: pointer;
    pointer-events: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

.navbar-search-icon:hover .icon-search {
    -webkit-transform: scale(1.06);
    -ms-transform: scale(1.06);
    transform: scale(1.06)
}

.navbar-search-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    border: none;
    outline: none;
    background: transparent
}

.navbar-search-btn .icon-search {
    font-size: 18px;
    line-height: 1;
    display: block
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        bottom: 0;
        top: 0;
        right: 100%;
        z-index: 998;
        padding: 50px 0;
        width: 80%;
        height: 100% !important;
        margin: 0 !important;
        background: var(--theme-color);
        -webkit-transition: all .3s ease-out 0s;
        -o-transition: all .3s ease-out 0s;
        transition: all .3s ease-out 0s;
        overflow: auto;
        border: 0
    }

    .navbar-collapse.collapse {
        display: none !important
    }

    .icon-bar {
        -webkit-transition: all .3s ease-out .3s;
        -o-transition: all .3s ease-out .3s;
        transition: all .3s ease-out .3s;
        background: #999
    }

    .navbar-on {
        -webkit-transition: all .3s ease-out 0s;
        -o-transition: all .3s ease-out 0s;
        transition: all .3s ease-out 0s;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow: hidden;
        -webkit-transform: translateX(80%);
        -ms-transform: translateX(80%);
        transform: translateX(80%)
    }

    .navbar-on .navbar-on-shadow {
        position: fixed;
        z-index: 10000000000;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        content: "";
        background: rgba(0, 0, 0, .3)
    }

    .navbar-on .icon-bar {
        -webkit-transition: all .3s ease-out .3s;
        -o-transition: all .3s ease-out .3s;
        transition: all .3s ease-out .3s;
        background: #fff !important
    }

    .navbar-on .icon-bar-1 {
        margin-bottom: 0;
        -webkit-transform: rotate(-45deg) translate(-3px, 5px);
        -ms-transform: rotate(-45deg) translate(-3px, 5px);
        transform: rotate(-45deg) translate(-3px, 5px)
    }

    .navbar-on .icon-bar-2 {
        opacity: 0
    }

    .navbar-on .icon-bar-3 {
        -webkit-transform: rotate(45deg) translate(-3px, -5px);
        -ms-transform: rotate(45deg) translate(-3px, -5px);
        transform: rotate(45deg) translate(-3px, -5px)
    }

    .navbar-on .navbar-toggle {
        position: fixed;
        top: 0;
        z-index: 1000;
        right: 100%;
        background: 0 0 !important;
        border: 0 !important;
        margin-top: 8px;
        color: #fff;
        -webkit-transition: all .3s ease-out 0s;
        -o-transition: all .3s ease-out 0s;
        transition: all .3s ease-out 0s
    }

    .navbar-action {
        float: none !important;
        margin: 0;
        height: auto;
        padding: 20px 0 30px;
        overflow: hidden
    }

    .navbar-search {
        margin-bottom: 20px;
        position: relative;
        display: block !important;
        width: 100%;
        padding: 0 20px;
        height: auto;
        border: 0;
        background: 0 0
    }

    .navbar-search ::-webkit-input-placeholder {
        color: #999 !important
    }

    .navbar-search :-moz-placeholder, .navbar-search ::-moz-placeholder {
        color: #999 !important
    }

    .navbar-search :-ms-input-placeholder {
        color: #999 !important
    }

    .navbar-search-input {
        width: 100%;
        height: 30px;
        padding: 5px 36px 5px 10px;
        line-height: 20px;
        margin: 0;
        color: #333 !important;
        background: #fff;
        border: 1px solid rgba(255, 255, 255, 0);
        border-radius: 5px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 3px rgba(0, 0, 0, .12);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 3px rgba(0, 0, 0, .12);
        -webkit-transition: background .2s ease, box-shadow .2s ease;
        -o-transition: background .2s ease, box-shadow .2s ease;
        transition: background .2s ease, box-shadow .2s ease
    }

    .navbar-search-input:focus {
        background: #fff !important;
        -webkit-box-shadow: inset 0 0 0 1px rgba(215, 26, 27, .4), 0 2px 10px rgba(0, 0, 0, .12);
        box-shadow: inset 0 0 0 1px rgba(215, 26, 27, .4), 0 2px 10px rgba(0, 0, 0, .12)
    }
}
