﻿/* 主导航 */
nav.navbar {
    background: #f8f8f8;
    height: 48px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 11;

    box-shadow: 0 2px 5px rgba(0, 0, 0, .25);
    border: none;
    border-radius: 0;
}

.navbar .lt_cont {
    display: flex;
    float: left;
}

.navbar .logo_cont {
    display: inline-block;
    width: 48px;
    height: 48px;

    background: rgb(183, 0, 5);
    position: relative;
    vertical-align: middle;
}

.navbar .logo_cont .logo {
    background: url(../../images/common/logo2.png) no-repeat center;
    background-size: 33px;

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;

    width: 44px;
    height: 44px;
    z-index: 9999;
}

.navbar .nav_cont {
    display: inline-block;
    width: auto;
    height: 50px;
    margin: 0 auto;

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 2;
}

.nav_cont .title {
    display: inline-block;
    font-size: 22px;
    line-height: 48px;
    font-weight: bold;
    color: rgb(183, 0, 5);
    vertical-align: middle;
    margin-left: 20px;
    white-space: nowrap;
    padding: 0px;
}

.nav_cont .title a {
    color: rgb(183, 0, 5);
}

.nav_cont .linklist_cont {
    display: flex;
    float: right;
}

.nav_cont .linklist_cont .btn-group {
    margin: 9px;
}

.nav_cont .linklist_cont .btn-group .dropdown-menu {
    left: auto;
    right: 0;
}

.nav_cont .linklist_cont a {
    display: inline-block;
    line-height: 48px;
    font-size: 14px;
    margin: 0 14px;
    color: #333;
}

.nav_cont .linklist_cont a:hover,
.nav_cont .linklist_cont a.active {
    color: rgb(183, 0, 5);
    text-decoration: none;
}

.nav_cont .linklist_cont .dropdown_cont {
    display: inline-block;
}

.nav_cont .linklist_cont .dropdown_cont .dropdown-menu {
    min-width: 100px;
}

.nav_cont .linklist_cont .dropdown_cont .dropdown-menu a {
    display: block;
    line-height: 24px;
    margin: 0;
    padding: 0 10px;

}

.black.navbar .nav_cont .linklist_cont .dropdown-menu a {
    color: #565656;
}

.red_line {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: rgb(183, 0, 5);
}

.more_btn_cont {
    position: absolute;
    height: 44px;
    width: 44px;
    right: 2px;
    top: 2px;
    z-index: 0;
}

.more_btn_cont .more_btn {
    display: block;
    height: 44px;
    width: 44px;
    background: url(../../images/common/more.png) no-repeat center;
    background-size: 24px;

    display: none;
}

/*屏幕适配*/
/* 窗口宽度<1440,设计宽度=1240 */
@media screen and (max-width: 1239px) {
    .navbar .feedback_cont {
        width: 40px;
    }

    .feedback_cont a {
        width: 40px;
        height: 40px;
    }

    .feedback_cont a p {
        display: none;
    }
}


/*换肤*/
/*黑色*/
.black.navbar {
    background: rgba(0, 0, 0, .8);
}

.black.navbar .logo_cont .logo {
    background: url(../../images/common/logo3.png) no-repeat center;
    background-size: 33px;
}

.black.navbar .nav_cont .title {
    color: #E6E6E6;
}

.black.navbar .nav_cont .linklist_cont a {
    color: #E6E6E6;
}

.black.navbar .nav_cont .linklist_cont a:hover,
.black.navbar .nav_cont .linklist_cont a.active {
    color: rgb(183, 0, 5);
}

.black.navbar .more_btn_cont .more_btn {
    background: url(../../images/common/more_2.png) no-repeat center;
    background-size: 24px;
}

/* 窗口宽度<768,设计宽度=640 */
@media screen and (max-width: 767px) {
    .navbar {
        height: 48px;
    }

    .navbar .nav_cont {
        width: auto;
        margin: 0;
    }

    .nav_cont .title {
        width: auto;
        text-align: center;
        position: absolute;
        left: 0;
        right: 0;
        margin: 0;
    }

    .nav_cont .linklist_cont {
        width: 100%;
        float: none;
        display: none;
        background: #f8f8f8;
        position: absolute;
        top: 50px;
        left: 0;
        z-index: 99;
    }

    .nav_cont .linklist_cont a {
        width: 100%;
        border-bottom: 1px solid #d0d0d0;
        margin: auto;
        text-indent: 20px;
    }

    .navbar .feedback_cont {
        bottom: 2px;
        top: auto;
        background: none;
        display: none;
    }

    .feedback_cont a {
        background: none;
        color: #333;
        font-size: 14px;
    }

    .more_btn_cont {
        z-index: 2;
    }

    .more_btn_cont .more_btn {
        display: block;
    }

    .navbar.show {
        height: 242px;
    }

    .navbar.show .nav_cont .linklist_cont {
        display: block;
    }

    .navbar.show .navbar .feedback_cont {
        display: block;
    }

    .navbar.show .feedback_cont {
        display: block;
    }

    .black.navbar.show .more_btn_cont .more_btn {
        background: url(../../images/common/close_2.png) no-repeat center;
        background-size: 24px;
    }

    .navbar.show .more_btn_cont .more_btn {
        background: url(../../images/common/close.png) no-repeat center;
        background-size: 24px;
    }

    .navbar.show .feedback_cont a i {
        background: url(../../images/common/feedback.png) no-repeat center;
        background-size: 24px;
    }
}
