header.header-gorchakov {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #FFFFFF;
    box-shadow: 0px 0px 3px rgba(59, 67, 88, 8%), 0px 4px 4px rgba(59, 67, 87, 5%);
    width: 100vw;
    
    & * {
        font-family: 'FuturaBook' !important;
    }

    .mrx-icon{
        font-family: 'mrx-icon-font' !important;
    }

    a {
        text-decoration: none;
        cursor: pointer;
        transition: all .2s cubic-bezier(0.4, 0, 1, 1);
    }

    .yellow {
        display: inline !important;
        background-image: linear-gradient(#FFCC00 0%,#FFCC00 100%);
        background-repeat: no-repeat;
        background-size: 100% 0;
        background-position: 0 80%;
        transition: background-size .25s ease-in;

        &:hover {
            background-size: 100% 0.25em;
        }
    }

    .language {
        display: flex;
        width: 110px;
        height: 32px;
        font-size: 16px;
        line-height: 24px;
        color: #232B55;
        text-transform: uppercase;
        position: relative;

        @media (max-width: 1199px) {
            display: none;
        }

        a {
            display: flex;
            align-items: center;
            justify-content: center;
            color: #232B55;
            width: 50%;
            font-family: "FuturaMedium";
            cursor: pointer;
            position: relative;

            &.active {
                font-weight: bold;
            }

            &:not(:last-child){
                &:after{
                    content: "";
                    position: absolute;
                    right: 0;
                    top: 6px;
                    width: 1px;
                    height: 18px;
                    background-color: #232B55;
                    color: #232B55;
                }
            }
        }
    }

    .max-wrap {
        display: flex;
        align-items: center;
        padding: 17px 20px;
        justify-content: space-between;
        position: relative;
        height: 90px;
        max-width: 1446px;
        margin: 0 auto;

        @media (max-width: 1199px) {
            height: 65px;
        }

        @media (max-width: 575px) {
            height: 126px;
            align-items: flex-start;
        }

        .burger {
            display: none;

            .mrx-icon.icon-burger{
                color: var(--neutral-text-primary);
            }

            @media (max-width: 1199px) {
                display: block;
                margin-right: auto;
                margin-left: 25px;
            }

            @media (max-width: 575px) {
                position: absolute;
                left: 0px;
                top: 80px;
            }
        }

        .logo {
            min-width: 193px;
            height: 52px;
            background-position: center center;
            background-repeat: no-repeat;
            background-size: cover;

            @media (max-width: 1199px) {
                height: 32px;
                min-width: 120px;
            }

            svg{
                @media (max-width: 1199px) {
                    height: 32px;
                    width: 120px;
                }
            }

            &.logo-en{
                @media (max-width: 1199px) {
                    height: 40px;
                    min-width: 140px;
                }

                svg{
                    @media (max-width: 1199px) {
                        height: 40px;
                        width: 140px;                    
                    }
                }
            }
        }

        .header-menu {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 50%;
            max-width: 580px;

            @media (max-width: 1199px) {
                display: none;
            }

            .link {
                font-family: "FuturaBook";
                font-size: 16px;
                line-height: 20px;
                text-transform: uppercase;
                color: #232B55;
                height: 90px;
                display: flex;
                justify-content: center;
                align-items: center;
                position: relative;

                &:hover {
                    .block {
                        display: flex;
                    }
                }

                a {
                    position: relative;
                    font-size: 16px;
                    line-height: 20px;
                    text-transform: uppercase;
                    color: #232B55;
                }

                .block {
                    display: none;
                    top: 90px;
                    left: 0;
                    position: absolute;
                    background: #FFFFFF;
                    box-shadow: 0px 1px 8px rgba(59, 67, 87, 12%);
                    border-radius: 3px;
                    flex-direction: column;
                    z-index: 10;
                    padding: 13px 20px;
                    min-width: 208px;

                    &.fond {
                        flex-direction: row;
                        min-width: 463px;

                        div {
                            display: flex;
                            flex-direction: column;
                            justify-content: space-between;
                            width: 48%;
                        }

                        .grey {
                            color: rgba(27, 29, 40, 0.5);

                        }
                    }

                    a {
                        margin-bottom: 20px;
                        text-transform: initial;
                        width: fit-content;

                        span {
                            position: relative;
                            z-index: 2;
                        }
                    }
                }
            }
        }

        .search-gorchakov {
            position: relative;
            bottom: 0;
            background: #fff;
            height: 90px;
            display: flex;
            align-items: center;

            @media (max-width: 1199px) {
                margin-right: 25px;
                height: 65px;
            }

            @media (max-width: 575px) {
                height: 30px;
                margin-right: 10px;
            }                     
        }

        .search2 {
            position: absolute;            
            border-radius: 1px;            
            right: 0;
            transition: all .2s cubic-bezier(0.4, 0, 1, 1);
            z-index: 1;
            display: none;
            background: #fff;
            top: 16px;
            height: 65px;
            width: 100%;

            @media (max-width: 1199px) {
                top: 0;
            }            

            input[type="text"] {
                border: none;   
            }

            .form-wrapper{
                margin: 16px 0;
                width: 49vw;
                max-width: 650px;
                border-bottom: 1px solid #232b55;
                display: flex;
                align-items: center;
                margin-left: 240px;

                @media (max-width: 768px) {
                    width: 100%;
                    margin: 16px 20px;
                }

                form, input{
                    width: 100%;
                    height: calc(100% - 1px);
                    font-size: 16px;
                }
            }

            &.active {
                display: flex;                
            }

            .search-img {
                cursor: pointer;
            }  
        }
    }

    .mobile-menu {
        display: none;

        @media (max-width: 1199px) {
            position: fixed;
            width: 100%;
            height: 100vh;
            background: #fff;
            z-index: 10;
            top: 0;           
            left: 0; 
            display: flex;
            flex-direction: column;
            align-items: start;
            padding: 20px 0px;
            transform: translateX(-100%);
            transition: transform 300ms ease-out;

            &.active {            
                transform: translateX(0);
            }

            .menu {
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                margin-bottom: 40px;
                width: 100%;

                a, span {
                    display: block;
                    font-family: "FuturaBook";
                    font-size: 16px;
                    line-height: 20px;
                    text-transform: uppercase;
                    color: #232B55;                   
                }

                &__item{
                    padding: 20px;
                    border-bottom: 1px solid rgba(35, 43, 85, 0.1);

                    &-submenu{
                        position: relative;

                        &:after {
                            content: url("");
                            content: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2225%22%20viewBox%3D%220%200%2024%2025%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M19.75%2012.2368C19.75%2011.8226%2019.4142%2011.4868%2019%2011.4868H5C4.58579%2011.4868%204.25%2011.8226%204.25%2012.2368C4.25%2012.651%204.58579%2012.9868%205%2012.9868H19C19.4142%2012.9868%2019.75%2012.651%2019.75%2012.2368Z%22%20fill%3D%22%23D0A300%22/%3E%0A%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M19.5303%2012.7671C19.8232%2012.4743%2019.8232%2011.9994%2019.5303%2011.7065L12.5303%204.70649C12.2374%204.41359%2011.7626%204.41359%2011.4697%204.70649C11.1768%204.99938%2011.1768%205.47425%2011.4697%205.76715L17.9393%2012.2368L11.4697%2018.7065C11.1768%2018.9994%2011.1768%2019.4743%2011.4697%2019.7671C11.7626%2020.06%2012.2374%2020.06%2012.5303%2019.7671L19.5303%2012.7671Z%22%20fill%3D%22%23D0A300%22/%3E%0A%3C/svg%3E%0A");
                            position: absolute;
                            width: 24px;
                            height: 24px;
                            top: 50%;
                            transform: translateY(-50%);
                            right: 20px;
                        }

                        .submenu-items{
                            position: fixed;
                            width: 100%;
                            height: 100vh;
                            background: #fff;
                            z-index: 10;
                            top: 0;
                            left: 0;
                            padding: 20px 0px;
                            transform: translateX(-100%);
                            transition: transform 300ms ease-out;                       

                            &.open{ 
                                transform: translateX(0);         
                            }

                            a{
                                padding: 20px;
                                border-bottom: 1px solid rgba(35, 43, 85, 0.1);
                            }         
                            
                            .mobile-menu__header{
                                a{
                                    padding: 0;
                                    border-bottom: none;
                                }
                            }                            

                            .menu__item-back{
                                display: inline-flex;
                                align-items: center;
                                padding: 0 20px;                                
                                margin-bottom: 8px;
                                color: var(--brand-text-accent);

                                .mrx-icon{
                                    color: var(--brand-text-accent);
                                }

                                &:focus, &.active, &.hover{
                                    color: var(--brand-text-accent);

                                    .mrx-icon{
                                        color: var(--brand-text-nav-link);
                                    }
                                }
                            }
                        }                        
                    }                    
                }
            }

            .language {
                display: flex;
                width: 110px;
                height: 32px;
                font-size: 16px;
                line-height: 20px;
                margin-left: 8px;

                div {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    color: #232B55;
                    border-radius: 5px;
                    width: 50%;
                    font-family: "FuturaMedium";
                    cursor: pointer;
                    position: relative;
    
                    &.active {
                        font-weight: bold;
                        color: #fff;
                        background: #232B55;
                    }
                }
            }
        }

        &__header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
            width: 100%;
            margin-bottom: 40px;

            .logo {
                height: 32px;
                min-width: 120px;

                svg {
                    height: 32px;
                    width: 120px;
                }

                &.logo-en{
                    @media (max-width: 1199px) {
                        height: 35px;
                        min-width: 140px;
                    }
    
                    svg{
                        @media (max-width: 1199px) {
                            height: 35px;
                            width: 140px;                    
                        }
                    }
                }
            }

            .mrx-icon.icon-close{
                color: var(--neutral-text-primary);
                font-size: 24px;
            }
        }
    }

    .auth-container{        
        display: flex;
        align-items: center;
        justify-content: flex-end;

        @media (min-width: 1200px) {
            width: 300px;
        }

        @media (max-width: 575px) {
            position: absolute;
            top: 70px;
            right: 20px;
        }

        .btn.btn-outline {
            border: 1px solid #282828;
            border-radius: 16px;    
            padding: 10px 15px;
            font-size: 14px;
            line-height: 16px;
            color: #282828;
            min-height: 40px;
        }    

        .auth-nav-menu-container {
            display: inline-block;
            cursor: pointer;
            position: relative;
    
            @media(max-width: 575px) {
                line-height: 36px;
    
                .auth-nav-menu {
                    top: 132px;
                }
            }
    
            .login-user__wrapper {    
                @media(max-width: 575px) {
                    width: 38px;
                }
    
                .header{
                    &__top {
                        padding: 0 0 25px;
                        position: relative;
                        display: flex;
                        align-items: flex-end;
                        justify-content: space-between;
              
                        @media (max-width: 575px) {
                          display: block;
                          padding: 0 0 10px;
                        }
              
                        &-expert {
                          display: inline-block;
                          padding: 0px 60px 0 0;
                          position: relative;
                          text-align: left;
              
                          @media (max-width: 575px) {
                            width: 38px;
                            padding: 38px 0 0 0;
                          }
              
                          &-icon {
                            position: absolute;
                            right: 0;
                            top: 50%;
                            transform: translateY(-50%);
                            width: 38px;
                            height: 38px;
                            line-height: 42px;
              
                            @media (max-width: 575px) {
                              top: 0;
                              width: 38px;
                              height: 38px;
                              line-height: 35px;
                              left: 0;
                              transform: none;
                            }
    
                            svg {
                              max-width: 30px;
                              max-height: 30px;
                              stroke: rgba(58, 58, 58, 0.8);
              
                              @media (max-width: 575px) {
                                max-width: 30px;
                                max-height: 30px;
                              }
                            }
                          }
              
                          &-title {
                            font-size: 12px;
                            line-height: 14px;
                            display: block;
                            color: var(--Main1);
              
                            @media (max-width: 575px) {
                              display: none;
                            }
                          }
              
                          &-email {
                            font-size: 16px;
                            line-height: 18px;
                            display: block;
                            color: var(--Main1);
                            white-space: nowrap;
              
                            @media (max-width: 575px) {
                              display: none;
                            }
                          }
                        }
                    }
                }
            }
    
            .auth-nav-menu {
                position: absolute;
                right: 0;
                top: 32px;
                z-index: 100;
                background-color: #fff;
                box-shadow: var(--secondary_shadow);
                border-radius: 8px;
                overflow: hidden;
                width: 250px;
    
                @media(max-width: 575px) {
                    top: 40px;
                    right: 16px;
                }
    
                &__item {
                    width: 100%;
                    height: 38px;
                    background-color: white;
    
                    &:hover {
                        background-color: var(--Bg2);
                    }
    
                    .nav-menu-text-link {
                        font-size: 19px;
                        line-height: 120%;
                        color: var(--Main1);
                        width: 100%;
                        height: 100%;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        text-align: center;
                    }
                }
            }
        }        
    }   
}