﻿.navbar-inverse {
    border: none;
    background: #1F2E44;
}

.main-header__wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

.main-header__wrap:before,
.main-header__wrap:after {
    content: none;
}

.header-menu {
    width: 250px;
}

.header-menu button,
.header-menu button.btn:hover,
.header-menu button.btn:active,
.header-menu button.btn:focus {
    outline: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
}

.header-menu-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.header-warning {
    padding: 0 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: end;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-weight: bold;
}

.header-warning__siteUrl {
    color: #8594AA;
}

.header-warning__message {
    color: #FFC107;
}

.header-menu__dropdown-btn {
    background-color: #293D5A;
    width: 100%;
    height: 100%;
    padding: 0;
    position: relative;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.header-menu__tooltip-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 0px 30px 0px 15px;
    text-align: left;
}

.dropdown-btn__account-name,
.dropdown-btn__office-name {
    font-size: 12px;
    line-height: 16px;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}

.dropdown-btn__account-name {
    padding-bottom: 1px;
    color: #B7C2D1;
}

.dropdown-btn__account-name-value {
    border-bottom: 1px dashed #5C708D;
}

.dropdown-btn__office-name {
    padding-left: 10px;
    font-weight: normal;
    margin-top: 4px;
    color: #FFFFFF;
}

.dropdown-btn__title {
    margin-left: 3px;
    font-weight: bold;
    font-size: 12px;
    line-height: 16px;
}

.selected-office:after {
    position: absolute;
    left: 0;
    top: 50%;
    content: " ";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #0095E9;
    transform: translateY(-50%);
}

.header-menu__item {
    position: relative;
    cursor: pointer;
}

.header-menu__link {
    padding: 9px;
    padding-left: 22px;
    padding-right: 20px;
    color: #B7C2D1;
    font-size: 12px;
    line-height: 16px;
    text-decoration: none;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.header-menu__item:hover {
    background-color: #334C71;
}

.header-menu__link:hover {
    color: #B7C2D1;
    text-decoration: none;
}

.header-menu__item.selected-office:after {
    left: 10px;
}

.header-menu__item.selected-office .header-menu__link {
    color: #FFFFFF;
}

.header-menu__dropdown-btn .caret {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #B7C2D1;
}

.header-menu.open .caret {
    transform: translateY(-50%) rotate(180deg);
}

.header-menu__container {
    width: 250px;
    background-color: #293D5A;
    border: none;
    border-top: 1px solid #334C71;
    border-radius: 0 0 0 4px;
    margin: 0;
    padding: 0;
}

.header-menu__interactions-list {
    background-color: #1F2E44;
    border-radius: 0 0 0 4px;
    padding: 10px 0;
    margin: 0;
}

.header-menu__office-list {
    padding: 0;
    margin: 0;
}

.header-menu__interactions-list,
.header-menu__office-list,
.extra-menu__office-list {
    list-style: none;
}

.header-menu__office-list li:first-child {
    margin-top: 10px;
}

.header-menu__office-list li:last-child {
    margin-bottom: 10px;
}

.header-menu .extra-menu__dropdown-btn {
    display: none;
    width: 100%;
    background-color: #293D5A;
    text-align: left;
    color: #FFFFFF;
    padding: 9px 20px 9px 10px;
}

.office-list__extra-menu.open .extra-menu__dropdown-btn {
    background-color: #334C71;
}

.office-list__extra-menu.open .extra-menu__office-list {
    display: block;
}

.office-list__extra-menu .extra-menu__dropdown-btn:hover {
    background-color: #334C71;
    color: #FFFFFF;
}

.extra-menu__office-list {
    margin: 0;
    padding: 5px 0;
    display: none;
    position: absolute;
    left: -100%;
    bottom: 0;
    top: auto;
    width: 250px;
    background-color: #334C71;
    border-radius: 4px 0 0 4px;
}

.extra-menu__office-list .header-menu__item:hover {
    background-color: #293D5A;
}

.office-list__extra-menu {
    position: relative;
}

.header-menu .tooltip {
    top: 5px !important;
    right: 100%;
    left: auto !important;
}

.header-menu .tooltip ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.header-menu .tooltip-inner {
    text-align: left;
    width: max-content;
    min-width: 270px;
}

.header-menu .tooltip-inner b,
.header-menu .tooltip-inner span {
    word-break: break-all;
}

@media (max-width: 768px) {
    .header-menu .tooltip {
        opacity: 0;
    }
}
