/*
Put any general header layout related CSS here.
*/

.header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border-bottom: 1px solid var(--gray-2);
    position: relative;
    z-index: 10;

    background: var(--header__bg);
}

.header .header__left {
    -ms-flex-positive: 1;
    flex-grow: 1
}

.header .header__left form {
    height: 100%
}

.header .header__left form:hover .btn svg {
    fill: var(--gray-2);
}

.header .header__left .search-clear {
    width: 32px;
    height: 32px;
    position: absolute;
    top: calc(50% - 16px);
    right: 12px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    z-index: 1;
    opacity: 0;
    transition: all var(--transition-speed) ease;
}

.header .header__left .search-clear .icon {
    width: 16px;
    height: 16px
}

.header .header__left .search-clear:hover .icon {
    fill: var(--primary);
}

.header .icon {
    fill: var(--secondary);
}

.header .icon:hover {
    fill: var(--secondary);
}

.header button:hover .icon {
    fill: var(--secondary);
}

.header .icon-mail {
    font-size: 18px
}

.header .icon-notificaton {
    height: 22px;
    width: 20px
}

.header .profile {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center
}

.header .profile__item {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center
}

.header .profile__item .btn:hover svg {
    fill: var(--primary);
}

.header .profile__item.profile__item--mail {
    width: 64px;
    height: 64px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: 32px
}

.header .profile__item.profile__item--mail .profile__item_rel {
    width: 22px;
    height: 18px;
    position: relative
}

.header .profile__item.profile__item--mail .badge {
    top: -8px;
    right: -8px
}

.header .profile__item.profile__item--mail .btn {
    width: 100%;
    height: 100%
}

.header .profile__item.profile__item--mail .icon-mail {
    width: 22px;
    height: 18px
}

.header .profile__item.profile__item--notification {
    width: 64px;
    height: 64px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center
}

.header .profile__item.profile__item--notification .profile__item_rel {
    width: 20px;
    height: 22px;
    position: relative
}

.header .profile__item.profile__item--notification .badge {
    top: -6px;
    right: -8px
}

.header .profile__item.profile__item--notification .btn {
    width: 100%;
    height: 100%
}

.header .profile__item.profile__item--notification .icon-notificaton {
    width: 20px;
    height: 22px
}

.header .profile__item.profile__item--notification .notification-list {
    display: none;
    width: 336px;
    border-radius: 2px;
    box-shadow: var(--shadow_med) var(--shadow-1-10);
    background-color: var(--surface);
    position: absolute;
    top: 100%;
    left: 50%;
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 30;
    padding-top: 16px
}

.header .profile__item.profile__item--notification .notification-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: "Lato", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.57;
    letter-spacing: .1px
}

.header .profile__item.profile__item--notification .notification-list ul li {
    transition: all var(--transition-speed) ease;
    padding: 13px 48px 13px 16px;
    position: relative
}

.header .profile__item.profile__item--notification .notification-list ul li a {
    display: -ms-flexbox;
    display: flex
}

.header .profile__item.profile__item--notification .notification-list ul li a time {
    color: var(--gray-2);
}

.header .profile__item.profile__item--notification .notification-list ul li a span {
    margin-left: 16px;
    color: var(--primary);
}

.header .profile__item.profile__item--notification .notification-list ul li .close {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    width: 24px;
    height: 24px;
    position: absolute;
    top: 50%;
    right: 12px;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    opacity: 0
}

.header .profile__item.profile__item--notification .notification-list ul li .close .icon-close {
    width: 8px;
    height: 8px;
    fill: var(--gray-3);
}

.header .profile__item.profile__item--notification .notification-list ul li .close:hover .icon-close {
    fill: var(--primary);
}

.header .profile__item.profile__item--notification .notification-list ul li:hover {
    background-color: var(--white-4)
}

.header .profile__item.profile__item--notification .notification-list ul li:hover .close {
    opacity: 1
}

.header .profile__item.profile__item--notification .notification-list ul li.new {
    font-weight: 700
}

.header .profile__item.profile__item--notification .notification-list .notification--all {
    border-top: 1px solid var(--white-7);
}

.header .profile__item.profile__item--notification .notification-list .notification--all a {
    display: -ms-flexbox;
    display: flex;
    height: 48px;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    font-family: "Lato", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.57;
    letter-spacing: .1px;
    color: var(--secondary);
    transition: all var(--transition-speed) ease
}

.header .profile__item.profile__item--notification .notification-list .notification--all a:hover {
    color: var(--tertiary);
}

.header .profile__item.profile__item--notification.active {
    background-color: var(--white-2);
}

.header .profile__item.profile__item--notification.active .icon-notificaton {
    fill: var(--primary);
}

.header .profile__user {
    line-height: 1.29;
    letter-spacing: .1px;
    color: var(--gray-2);
    padding-right: 32px;
    padding-left: 16px;
    height: 64px;
    transition: all var(--transition-speed) ease;
}

.header .profile__user.active {
    background-color: var(--secondary);
}

.header .profile__user.active .icon-chevron-down {
    -ms-transform: rotate(180deg);
    transform: rotate(180deg)
}

.header .profile__user .profile__menu {
    width: 100%;
    background-color: var(--header_profile__menu-bg);
    border-radius: 2px;
    box-shadow: var(--shadow_med) var(--shadow-1-10);
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 30;
    display: none
}

.header .profile__user .profile__menu .profile--view {
    padding: 16px 34px
}

.header .profile__user .profile__menu .profile--view a {
    margin: auto;
    text-align: center;
}

.header .profile__user .profile__menu .profile--logout {
    border-top: 1px solid var(--white-7);
    background-color: var(--gray-4);
}

.header .profile__user .profile__menu .profile--logout a {
    display: -ms-flexbox;
    display: flex;
    height: 48px;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    font-family: "Lato", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.57;
    letter-spacing: .1px;
    color: var(--surface);
    transition: all var(--transition-speed) ease;
}

.header .profile__user .profile__menu .profile--logout a:hover {
    background-color: var(--primary)
}

.header .profile__user .profile__menu .profile--logout a .icon-log-out {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    fill: var(--surface);
}

.header .user__ava {
    width: 32px;
    height: 32px;
    margin-right: 8px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--header_profile__user-avatar-bg);
    color: var(--surface);
}

.listitem__icon a.mobile_ava {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background-color: var(--gray-3);
    font-weight: 700;
}

.header .user__name {
    cursor: pointer
}

.header .user__name p {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    white-space: nowrap;
    max-width: 150px;
    min-width: 120px
}

.header .user__name p span {
    white-space: nowrap;
    overflow: hidden;
    display: block;
    text-overflow: ellipsis;
    color: var(--header_profile__clr);
}

.header .user__name p .icon-chevron-down {
    width: 8px;
    height: 8px;
    margin-left: 4px
}

.header .header__mobile {
    display: none;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
    width: 100%
}

.header .header__mobile .header__menu {
    width: 48px;
    height: 48px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    box-sizing: border-box;
    position: relative
}

.header .header__mobile .header__menu svg {
    transition: all var(--transition-speed) ease
}

.header .header__mobile .header__menu .icon-menu-mobile {
    width: 16px;
    height: 16px;
    position: absolute;
    top: calc(50% - 8px);
    left: calc(50% - 8px);
    fill: var(--gray-2);
    -ms-transform: scale(1);
    transform: scale(1)
}

.header .header__mobile .header__menu .icon-close-mobile {
    width: 16px;
    height: 16px;
    fill: var(--gray-2);
    position: absolute;
    top: calc(50% - 8px);
    left: calc(50% - 8px);
    -ms-transform: scale(0);
    transform: scale(0)
}

.header .header__mobile .header__mobile_actions {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center
}

.header .header__mobile .header__mobile_actions [data-action="create-ticket"] {
    width: 48px;
    height: 48px;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center
}

.header .header__mobile .header__mobile_actions [data-action="create-ticket"] svg {
    width: 20px;
    height: 20px;
    fill: var(--gray-2);
}

.header .header__mobile .header__mobile_actions [data-action="toggle-search"] {
    width: 48px;
    height: 48px;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    transition: all var(--transition-speed) ease;
    position: relative
}

.header .header__mobile .header__mobile_actions [data-action="toggle-search"] .icon-search {
    width: 20px;
    height: 20px;
    fill: var(--gray-2);
    position: absolute;
    top: calc(50% - 10px);
    left: calc(50% - 10px)
}

.header .header__mobile .header__mobile_actions [data-action="toggle-search"] .icon-close-mobile {
    width: 16px;
    height: 16px;
    fill: var(--surface);
    position: absolute;
    top: calc(50% - 8px);
    left: calc(50% - 8px);
    -ms-transform: scale(0);
    transform: scale(0)
}

@media screen and (max-width: 899px) {
    .header {
        border-color: rgba(255, 255, 255, 0.2);
        height: 48px;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 10;
        box-sizing: content-box;
    }
    .header .header__mobile {
        display: -ms-flexbox;
        display: flex;
        background-color: var(--header_mobile__bg);
        z-index: 1;
    }
    .header .header__right {
        display: none
    }
    .header .header__left {
        position: fixed;
        height: 56px;
        top: -56px;
        right: 0;
        left: 0;
        z-index: 10;
        box-shadow: var(--shadow_med) var(--shadow-1-10);
        transition: all Var(--transition-speed) ease;
    }
    .header .header__left .form__search {
        padding: 0 12px
    }
}

.header__right {
    display: -ms-flexbox;
    display: flex;
    height: 64px;
    padding: 0 0 0 32px;
    -ms-flex-align: center;
    align-items: center;
    border-left: 1px solid var(--white-7);
}

.show-menu .header__mobile .header__menu .icon-menu-mobile {
    -ms-transform: scale(0);
    transform: scale(0)
}

.show-menu .header__mobile .header__menu .icon-close-mobile {
    -ms-transform: scale(1);
    transform: scale(1)
}

.show-search .header__left {
    top: 48px
}

.show-search .header__mobile_actions [data-action="toggle-search"] {
    background-color: color-mix(in srgb, var(--primary) 70%, var(--gray-4) 30%);
}

.show-search .header__mobile_actions [data-action="toggle-search"] .icon-search {
    -ms-transform: scale(0);
    transform: scale(0)
}

.show-search .header__mobile_actions [data-action="toggle-search"] .icon-close-mobile {
    -ms-transform: scale(1)!important;
    transform: scale(1)!important
}
.header .profile__user.active .user__ava {
    background-color: var(--surface);
    color: var(--secondary);
}

.header .profile__user.active .user__name p span {
    color: var(--surface);
}

.header .profile__user.active .icon-chevron-down {
    fill: var(--surface);
}

.header .profile__user .profile__menu .profile--view .btn-border {    /*border: 1px solid #002257!important;*/
    border: 1px solid color-mix(in srgb, var(--secondary) 85%, var(--black-1) 15%) !important;
    background-color: var(--secondary) !important;
    color: var(--surface);
}

.header .profile__user .profile__menu .profile--view .btn-border:hover {
    background-color: var(--surface) !important;
    color: var(--secondary);
}
