﻿﻿.header {
    position: sticky;
    top: 0;
    width: 100%;
    height: 60px;
    background: transparent;
    z-index: 10;
}

    .header.dark,
    .header:hover {
        background: #2681f6;
    }

    .header .header-block {
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
        width: 100%;
        height: 60px;
        color: #ffffff;
    }

        /*.header .header-block .logo {*/
            /* width: 60px;*/
            /*height: 60px;
            margin-right: 60px;
            cursor: pointer;
        }*/

        .header .header-block .vmenu {
            flex: 1 1 auto;
            display: flex;
            flex-flow: row nowrap;
            align-items: center;
            min-width: 0;
        }

            .header .header-block .vmenu .item {
                position: relative;
                line-height: 60px;
                padding: 0 10px;
                cursor: pointer;
                transition: all 0.5s;
            }

                .header .header-block .vmenu .item a,
                .header .header-block .vmenu .item a:visited,
                .header .header-block .vmenu .item a:hover {
                    color: #ffffff;
                }

                    .header .header-block .vmenu .item a::before {
                        content: "";
                        left: 0;
                        bottom: 0px;
                        width: 0;
                        height: 3px;
                        background: #ffffff;
                        transition: all 0.5s;
                    }

                .header .header-block .vmenu .item.active a::before,
                .header .header-block .vmenu .item.curr a::before {
                    content: "";
                    position: absolute;
                    width: 100%;
                    height: 3px;
                    background: #ffffff;
                    transition: all 0.5s;
                }

                .header .header-block .vmenu .item.disable a::before {
                    content: "";
                    left: 0;
                    bottom: 0px;
                    width: 0;
                    height: 3px;
                    background: #ffffff;
                    transition: all 0.5s;
                }

        .header .header-block .user {
            display: flex;
            flex-flow: row nowrap;
            align-items: center;
            justify-content: flex-end;
            width: 150px;
            height: 60px;
            cursor: pointer;
        }

            .header .header-block .user img {
                max-width: 100%;
                /*       width: 24px;
                    height: 24px;*/
                margin-right: 8px;
            }

            .header .header-block .user div {
                line-height: 60px;
                font-size: 14px;
            }



/*.top_nav {
    float: right;
}*/

    /*   .top_nav a {
            color: #444;
        }*/
    /*.top_nav ul {
        list-style: none;
    }

    .top_nav li {*/
        /*border-right: 1px solid #e1e1e1;*/
        /*min-width: 80px;
        text-align: center;
    }

        .top_nav li:first-child {*/
            /*border-left: 1px solid #e1e1e1;*/
        /*}*/

        /*.top_nav li.dropdown {
            position: relative;
        }

            .top_nav li.dropdown .fa {
                vertical-align: 3px;
            }

        .top_nav li a:hover {
            background: #2681f6;*/ /*样式wy*/
            /*color: #fff;
        }

        .top_nav li.dropdown > a {
            line-height: 66px;
            width: 120px;
            height: 66px;
            max-height: 66px;
            overflow: hidden;
            padding: 0 20px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;

        }*/


        /*样式wy*/
        .top_nav li > a {
            line-height: 66px;
            height: 66px;
            overflow: hidden;
            /*padding: 0 15px;*/
            color: #fff; /*样式wy*/
        }

        /*.top_nav li.active > a {
            background: #24a057;
            color: #fff;
        }

    .top_nav .userphoto {
        border: 1px solid #fff;
        border-radius: 50%;
        float: left;
        height: 40px;
        overflow: hidden;
        width: 40px;
        margin-top: 10px;
        margin-right: 5px;
    }

    .top_nav li.admin_nav > a {*/
        /*border-left: 1px solid #e1e1e1;
        border-right: 1px solid #e1e1e1;*/
    /*}

    .top_nav li.dropdown > a:hover, .top_nav li.dropdown > a.hover {
        background: #22246a;
        color: #fff;
    }

    .top_nav li.dropdown ul {
        position: absolute;
        width: 100%;
        top: 66px;
        left: 0;
        background: #22246a;
        position: absolute;
        color: #fff;
        float: none;
        min-width: 100%;
        padding: 0;
        margin: 0;
        list-style: none;
        border: none;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        -webkit-background-clip: none;
        -moz-background-clip: none;
        background-clip: none;
        z-index: 10000;
        border-bottom: 2px solid #2681f6;
    }

        .top_nav li.dropdown ul li {
            float: none;
        }

        .top_nav li.dropdown ul a {
            display: block;
            height: 40px;
            line-height: 40px;
            padding: 0 20px;
        }*/

            .top_nav li.dropdown ul a:hover {
                background: #2681f6; /*  导航鼠标移上去的颜色 */
            }

    .top_nav .dropdown-menu > li > a {
        color: #fff;
    }

        .top_nav .dropdown-menu > li > a:hover {
            color: #fff;
        }

    .top_nav p {
        line-height: 66px;
        padding: 0 20px;
        color: red;
    }

.triangle-down {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #000;
    margin-top: 30px;
    float: right;
}

.header a {
    text-decoration: none;
    color: #ffffff !important;
}
