﻿#headerNav {
    background: #F9F9F9;
    box-sizing: border-box;
    font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
    font-style: normal;
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    color: #4D4D4D;
}

#headerNav *, #headerNav *::before, #headerNav *::after {
    box-sizing: inherit;
}

#headerNav {
    position: relative;
    border-bottom: 1px solid #E7E6E6;
    height: 63px;
    display:grid;
    grid-template-columns: auto auto auto;
    grid-column-gap: 32px;
}

#headerLeftPanel {
    float: left;
}

#headerLeftPanel .header__left-panel-content {
    display: flex;
}

#headerMiddlePanel {
    height: 100%;
}

#headerRightPanel {
    float: right;
    height: 100%;
}

#headerNavList {
    display: flex;
    height: 100%;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}

#headerNavList a.header__nav-link {
    display: flex;
    height: 40px;
    padding: 9px 16px 9px 16px;
    margin: 0 3px;
    border-radius: 24px;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #4D4D4D;
    align-items: center;
}

#headerNavList a.header__nav-link:hover {
    text-decoration: none;
}

#headerNavList .header__nav-icon {
    margin-right: 10px;
    height: 20px;
}

#headerNavList .header__nav-item.active:not(.only-icon) a.header__nav-link {
    background: #56549f;
    color: white;
}

#headerNavList .header__nav-item.active:not(.only-icon) a.header__nav-link:hover {
    cursor: pointer;
    opacity: 0.6;
}

#headerNavList .header__nav-item.active:not(.only-icon) a.header__nav-link .header__nav-icon {
    filter: brightness(0) invert(1);
}

#headerNavList .header__nav-item:not(.active) a.header__nav-link:hover .header__nav-icon {
    filter: invert(46%) sepia(5%) saturate(5748%) hue-rotate(203deg) brightness(73%) contrast(90%);
}

#headerNavList .header__nav-item.active.only-icon a.header__nav-link .header__nav-icon {
    filter: invert(46%) sepia(5%) saturate(5748%) hue-rotate(203deg) brightness(73%) contrast(90%);
}

#headerNavList .header__nav-item:not(.active) a.header__nav-link:hover {
    color: #56549F;
    opacity: 1;
}

#headerLogo {
    display: inline-block;
    padding: 19px 24px;
    border-right: 1px solid #E7E6E6;
    height: 100%;
}

#headerLogoLink {
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    color: #56549F;
    text-decoration: none;
}

#headerLogoLink:hover {
    opacity: 0.6;
}

#headerCatalogSwitcher {
    display: inline-block;
}

#headerCurrentCatalog {
    display: inline-block;
    max-width: 250px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #56549F;
    padding: 19px 43px 19px 20px;
    background: url(../Images/catalog-arrow-down-ico.svg) no-repeat right 24px center;
}

#headerCurrentCatalog:hover, #headerCurrentCatalog:focus {
    opacity: 0.8;
    cursor: pointer;
}

.header__catalog-dropdown-list {
    display: none;
}

#header .dropdown-list {
    display: none;
    position: absolute;
    background-color: white;
    z-index: 111;
    padding: 10px 0;
    box-shadow: 4px 2px 24px #000000;
    box-shadow: 4px 2px 24px rgba(0, 0, 0, 0.12);
    border-radius: 4px;
}

#header .show {
    display: block;
}

#header .dropdown-item {
    display: block;
    padding: 6px 20px;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #4D4D4D;
}

#header .dropdown-button {
    cursor: pointer;
}

#header .dropdown-content {
    position: relative;
    display: inline-block;
}

#header .dropdown-item:not(a):hover { /* Overwrite bootstrap */
    background-color: transparent;
}

#header a.dropdown-item:hover {
    background-color: #E9E9F8;
    opacity: 1;
}

#headerCatalogDropdownList {
    margin-top: -16px;
}

#headerProfileDropdownList {
    right: 0;
    margin-top: -10px;
    margin-right: 14px;
}

#headerProfileDropdownList .header__profile-dropdown-item {
    white-space: nowrap;
}

#headerProfile {
    height: 100%;
}

#headerProfileAvatar {
    display: flex;
    padding: 0 23px 0 23px;
    height: 100%;
    margin-right: 23px;
    background: url(../Images/big-info-arrow-down-ico.svg) no-repeat right 1px center;
    align-items: center;
    justify-content: center;
}

#headerProfileAvatar:hover, #headerProfileAvatar:focus {
    opacity: 0.8;
    cursor: pointer;
}

#headerProfileAvatar .avatar-initials {
    font-size: 16px;
    line-height: 18px;
}

#headerProfileAvatar .avatar-initials-holder {
    display: flex;
    align-items: center;
    position: initial;
    top: 50%;
}

#headerProfileDropdownList .header__profile-culture-list {
    display: flex;
    justify-content: center;
    border: 1px solid #D8D8D8;
    border-radius: 12px;
}

#headerProfileDropdownList .header__profile-culture-item {
    width: 50%;
    text-align: center;
}

#headerProfileDropdownList .header__profile-culture-item.active {
    border-radius: 12px;
    background: #56549f;
    color: white;
}

#headerProfileDropdownList .header__profile-culture-item:not(.active):hover {
    color: #56549f;
}

#headerRightPanel .header__right-panel-content {
    display: flex;
    height: 100%;
    justify-content: flex-end;
}

#headerRightPanel .button-holder {
    padding: 10px;
}

#headerCurrentCurrency {
    display: flex;
    align-items: center;
    height: 100%;
    color: #AAAAAA;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    padding: 0 34px 0 20px;
    background: url(../Images/medium-info-arrow-down-ico.svg) no-repeat right 15px center;
}

#headerCurrencyDropdownList {
    right: 0;
    margin-top: -10px;
    margin-right: 4px;
}

#header .search-wrapper, #sideMenu .search-wrapper {
    white-space: nowrap;
    display: flex;
    align-items: center;
}

#sideMenu .search-wrapper form{
    width: 100%;
}

#header .search-field, #sideMenu .search-field {
    height: 40px;
    width: 100%;
    border: 1px solid #D8D8D8;
    border-radius: 24px;
    padding: 10px 48px 10px 24px;
    font-family: inherit;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #4D4D4D;
    background-color: #fff;
    background-image: none;
}

#header .search-button, #sideMenu .search-button {
    vertical-align: top;
    top: 3px;
    position: relative;
    margin-left: -42px;
    width: 34px;
    height: 34px;
    color: #FFFFFF;
    border-radius: 24px;
    font-family: inherit;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    border: 1px solid transparent;
    display: inline-block;
    background: #56549F url(../Images/magnifying-glass-white-ico.svg) no-repeat 5px center;
}

#header .search-button:hover, #sideMenu .search-button:hover {
    opacity: 0.6;
}

#sideMenu {
    display: none;
    padding: 23px;
    display: block;
    z-index: 10;
    position: absolute;
    top: 63px;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f9f9f9;
}

#sideMenu #headerNavList .header__nav-icon {
    height: 20px;
    width: 20px;
}

#sideMenu #headerCurrentCatalog {
    max-width: 250px;
}

#sideMenu #headerCurrentCatalog {
    padding-left: 0;
}

#sideMenu .show {
    display: block;
}

#sideMenu #headerNavList{
    display: block;
}

#sideMenu #headerNavList a.header__nav-link{
    margin-left: 0;
}

.demo-banner, .trial-period-banner {
    background: lightyellow !important;
    padding: 5px 24px !important;
    font-size: small !important;
    border-bottom: 1px solid lightgray !important;
    text-align: center !important;
}

.demo-banner a, .trial-period-banner a{
    color: blue !important;
}

@media (max-width: 1500px) {
    #headerCurrentCatalog {
        max-width: 205px;
    }

    #header .search-field{
        max-width: 200px;
    }
}

@media (max-width: 1400px) {
    #headerCurrentCatalog {
        max-width: 180px;
    }
    
    #header .header__nav-text{
        display: none;
    }
}

@media (max-width: 1300px) {
    #headerCurrentCatalog {
        max-width: 160px;
    }
    
    #header .search-field{
        width: 200px
    }
}

@media (max-width: 1100px) {
    #headerCurrentCatalog {
        max-width: 120px;
    }
    
    #header .search-field{
        width: 140px
    }
}