//-----------------------------------
// NOO TOP BAR
//-----------------------------------
.noo-top-bar {
    background-color: @top_bar_bg_color;
    color: @top_bar_text_color;
    position: relative;
    z-index: 998;
    font-size: 14px;
    font-weight: 500;
    line-height: 50px;
    letter-spacing: 1px;
    .top-sidebar {
        aside {
            display: inline-block;
            margin-top: 0;
            vertical-align: top;
            +aside {
                margin-left: 30px;
            }
        }
    }
    >ul {
        list-style: none;
        padding: 0;
        margin: 0;
        li {
            display: inline-block;
            vertical-align: middle;
            padding: 0;
            margin: 0;
            +li {
                margin-left: 20px;
            }
        }
    }
    .top-sidebar {
        .profile-text {
            padding-right: 10px;
        }
        .textwidget {
            i {
                color: @primary_color;
            }
        }
        h4.widget-title {
            color: @top_bar_text_color;
        }
        #wp-calendar caption, #wp-calendar thead th {
            color: @top_bar_text_color;
        }
        .widget_nav_menu>div>ul.menu {
            overflow: visible;
            border: none;
            margin: 0;
            padding: 0;
            color: inherit;
            font-size: 14px;
            li {
                display: inline-block;
                position: relative;
                border: none;
                color: inherit;
                &:before {
                    display: none;
                }
                &:hover>ul {
                    display: block;
                }
                >a {
                    padding: 0;
                    &:hover {
                        padding-left: 0;
                    }
                }
            }
            >li {
                padding: 0;
                margin: 0;
                line-height: 50px;
                +li {
                    margin-left: 30px;
                    &:before {
                        content: "";
                        display: block;
                        position: absolute;
                        top: 0;
                        bottom: 0;
                        left: -15px;
                        width: 1px;
                        height: 16px;
                        margin: auto;
                    }
                    &:before when (lightness(@top_bar_bg_color) > 50) {
                        background-color: darken(@top_bar_bg_color, 15%);
                    }
                    &:before when (lightness(@top_bar_bg_color) <=50) {
                        background-color: lighten(@top_bar_bg_color, 15%);
                    }
                } // Popup login menu
                ul {
                    display: none;
                    position: absolute;
                    z-index: 999;
                    right: 0;
                    top: 100%;
                    background-color: @top_bar_bg_color;
                    color: @top_bar_text_color;
                    text-align: left;
                    margin: 0;
                    padding: 0 15px;
                    min-width: 150px;
                    .box-shadow(2px 5px 5px 2px rgba(0, 0, 0, 0.3));
                    li {
                        display: block;
                        white-space: nowrap;
                        padding: 8px 0;
                        margin: 0;
                        line-height: 28px;
                    }
                    li+li {
                        border-top: solid 1px #f0f0f0;
                    }
                    ul {
                        left: 100%;
                        top: 0;
                    }
                }
            }
        }
        .widget.base-primary-color {
            i.fa, a {
                color: @top_bar_text_color;
            }
            &.widget_nav_menu>div>ul.menu>li+li:before, &.separate-left:before, &.separate-right:after {
                background-color: @top_bar_text_color;
            }
        }
        .separate-left {
            position: relative;
            &:before {
                content: "";
                display: block;
                position: absolute;
                top: 0;
                bottom: 0;
                left: -15px;
                width: 1px;
                height: 16px;
                margin: auto;
            }
            &:before when (lightness(@top_bar_bg_color) > 50) {
                background-color: darken(@top_bar_bg_color, 15%);
            }
            &:before when (lightness(@top_bar_bg_color) <=50) {
                background-color: lighten(@top_bar_bg_color, 15%);
            }
        }
        .separate-right {
            position: relative;
            &:after {
                content: "";
                display: block;
                position: absolute;
                top: 0;
                bottom: 0;
                right: -15px;
                width: 1px;
                height: 16px;
                margin: auto;
            }
            &:after when (lightness(@top_bar_bg_color) > 50) {
                background-color: darken(@top_bar_bg_color, 15%);
            }
            &:after when (lightness(@top_bar_bg_color) <=50) {
                background-color: lighten(@top_bar_bg_color, 15%);
            }
        }
        a {
            color: inherit;
        }
        .widget .custom-dropdown-list>ul li>a {
            color: #333;
        }
        .widget #lang_sel>ul {
            position: relative;
            display: inline-block;
            padding: 0;
            margin: 0;
            >li {
                padding: 0;
                display: block;
                list-style: none;
                >a:after {
                    content: "\f107";
                    font-family: 'fontawesome';
                    display: inline-block;
                }
            }
            ul {
                position: absolute;
                top: 100%;
                left: 0;
                min-width: 150px;
                list-style: none;
                padding: 10px 0;
                margin: 0;
                display: none;
                background-color: #fff;
                z-index: 999;
                .box-shadow(2px 3px 5px 2px rgba(0, 0, 0, 0.3));
                >li {
                    list-style: none;
                    padding: 0 15px;
                    display: block;
                    line-height: 32px;
                    img {
                        padding-right: 5px;
                    }
                }
            }
            &:hover ul {
                display: block;
            }
        }
    }
    .top-bar-left {
        text-align: left;
        float: left;
    }
    .top-bar-right {
        text-align: right;
        float: right;
        &.top-sidebar .widget_nav_menu>div>ul.menu ul ul {
            left: auto;
            right: 100%;
        }
        .noo-login-button {
            margin-left: 15px;
        }
    }
    .top-bar-center {
        text-align: center;
    }
    .noo-account {
        text-align: left;
        display: inline-block;
        vertical-align: middle;
        margin-left: 20px;
        font-size: 14px;
        >a {
            line-height: 50px;
            vertical-align: middle;
            img {
                .border-radius-all(100%);
            }
        }
        ul {
            li {
                a {
                    font-size: 14px;
                }
            }
        }
    }
    ul {
        list-style: none;
        display: inline-block;
        margin: 0;
        padding: 0;
        li {
            display: inline-block;
            vertical-align: middle;
            padding: 0;
        }
        &.noo-meta-contact {
            i {
                color: @primary_color;
                margin-right: 8px;
            }
            li {
                margin-right: 34px;
            }
        }
        &.social-profile {
            li {
                height: 26px;
                width: 30px;
                line-height: 26px;
                text-align: center;
                font-size: 16px;
                letter-spacing: 1px;
                a {
                    display: inline-block;
                    position: relative;
                    font-size: 0;
                    &:after {
                        content: '';
                        background: @primary_color;
                        width: 100%;
                        height: 2px;
                        position: absolute;
                        bottom: 0;
                        left: 0;
                        .transition(all .4s ease 0s);
                        .scale(.6);
                        .opacity(0);
                    }
                    i {
                        font-size: 14px;
                    }
                }
                &:hover {
                    a {
                        &:after {
                            .scale(1);
                            .opacity(1);
                        }
                    }
                }
            }
        }
        &.noo-meta-property {
            margin-left: 15px;
            li {
                margin-right: 20px;
                a {
                    font-size: 14px;
                    font-weight: 700;
                    color: @top_bar_text_color;
                    .transition(all .4s ease-in-out);
                    i {
                        // margin-right: 5px;
                    }
                    &:hover {
                        color: @primary_color;
                    }
                }
                &.meta-property-submit {
                    margin-right: 0px;
                }
            }
        }
    }
    .meta-email {
        font-size: 0;
        i {
            font-size: 14px;
        }
    }
}
//-----------------------------------
// TOP BAR RESPONSIVE
//-----------------------------------
@media screen and (min-width: 992px) {
    .noo-top-bar {
        height: 50px;
        max-height: 50px;
    }
}
@media screen and (max-width: 991px) {
    .noo-top-bar {
        position: relative;
        z-index: 998;
        color: @top_bar_text_color;
        background: @top_bar_bg_color;
        .top-bar-left, .top-bar-right {
            text-align: center;
        }
    }
    .top-bar-right.top-sidebar .widget_nav_menu>div>ul.menu ul ul {
        right: auto;
        left: 100%;
    }
}
@media screen and (max-width: 479px) {
    .noo-top-bar ul.top-bar-info li {
        display: block;
        margin-left: 0 !important;
    }
}