@import "../../../../assets/style/var";

.navbar {
    flex-direction: row-reverse;
    flex-flow: row-reverse;
    background-color: $default-color;
    padding-top: .7rem;
    padding-bottom: .7rem;
    position: fixed;
    z-index: 999;
    height: 60px;
    right: 250px;
    left:0;
    a {
        color: $light-color;
    }
    .navbar-notification{
        margin-left: 45px;
        line-height: 37px;
        a{
            color: $light-color;
            margin-right: 20px;
            position: relative;
            cursor: pointer;
            span{
                background-color: $navbar-notification-background-color;
                border-radius: 50%;
                height: 24px;
                width: 24px;
                line-height: 24px;
                font-size: $small-font-size - 1px;
                text-align: center;
                position: absolute;
                left: -13px;
                top: -9px;
            }
            i{
                font-size: $large-font-size + 4px;
                vertical-align: sub;
            }
        }
    }
    .navbar-profile-btn {
        background-color: transparent;
        padding-top: 0;
        padding-bottom: 0;
        color: $light-color;
        direction: rtl;
        cursor: pointer;
        &:focus {
            box-shadow: none;
        }
        span:last-child {
            margin-right: 10px;
            margin-left: 10px;
            line-height: 35px;
        }
        .navbar-profile-avatar{
            background-position: center;
            background-size: cover;
            height: 35px;
            width: 35px;
            border-radius: 35px;
        }
    }
    .navbar-dropdown-menu{
        border-radius: 2px;
        margin-top: 5px;
        right: 0 !important;
    }
    .dropdown-toggle::after {
        vertical-align: 0;
    }
    .dropdown-item {
        text-align: right;
        color: $dark-color;
        font-size: $medium-font-size;
        &:active {
            background-color: transparent;
        }
    }
}
@media (max-width: 991px) {
    .navbar{
        right: 150px !important;
    }
}
@media (max-width: 767px) {
    .navbar-dropdown-menu{
        right: auto !important;
        left: 0 !important;
    }
    .dropdown-toggle::after {
        vertical-align: text-bottom !important;
        margin-right: 10px;
    }
    .navbar .navbar-profile-btn span {
        line-height: initial;
    }
}