.header {
    position: relative;
    box-shadow: 0px 5.0719px 25.3595px rgba(0, 0, 0, 0.05);
}

.header-desktop,
.header-mobile {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-desktop {
    display: none;
}

.header-mobile {
    display: flex;
}

.header.no-shadow {
    box-shadow: none;
}

.logo {
    margin-top: 10px;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.burger {
    cursor: pointer;
}

.header__auth {
    width: 100vw;
    background-color: #F5F7F9;
}

.header__auth.active {
    z-index: 1000;
}

.dropdown-menu {
    background: transparent !important;
    border: none !important;
}

.ladoa {
    background: #F1F1F1;
}

.ladoa a {
    color: #2C2C2C;
    font-family: Open Sans;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%; /* 18px */
    white-space: break-spaces;
}

.ladob {
    background: #F5F7F9;
    box-shadow: 0px 4px 50px 0px rgba(0, 0, 0, 0.10);

}

.ladoa a:hover {
    background: none !important;
    color: #0049FF;
}

.ladoa .active2 {
    background: none !important;
    color: #0049FF;
}

.btn-drop {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    height: 50px;

    border-radius: 6px;
    border: 1px solid #D7D7D7;
    background: #FFF;
    padding: 0 20px;
    color: #2C2C2C;
    font-family: Open Sans;
    font-size: 14.5px;
    font-style: normal;
    font-weight: 500;

    text-decoration: none !important;
    line-height: 1.5;
    text-align: center;
    transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}


.btn-drop:hover {
    border: 1px solid #0049FF;
    color: #0049FF;
    transform: translateY(-2px);
}

.logo__img {
    max-height: 20px;
    margin-left: 15px;
}

.header__button {
    margin-right: 15px;
}

.header__button.uiKitMainButton:hover,
.header-mobile__right .uiKitMainButton:hover,
.header-desktop .uiKitMainButton:hover {
    color: #fff !important;
}


.contentMainLink {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

.contentMainLink a {
    color: #2C2C2C !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 134.7% !important;
}

.contentLink {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #D9D9D9;
}

.contentMainLink__button {
    padding: 15px 0;
}

.accordion-button.contentMainLink__button {
    font-size: 12px !important;
}

.childrenLinks {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;

    padding: 0;
}

.childrenLinks a {
    padding: 4px 3px !important;
    color: #2C2C2C !important;
    font-family: Open Sans !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 134.7% !important;
    text-decoration: none !important;
}


.contentMainLink__icon {
    transition: transform 0.3s ease-in-out;
    transform: translate(-2px, 0) rotate(90deg);
    color: #0049FF;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
    margin-right: 8px;
    padding: 15px 0;
}

.contentMainLink__button.collapsed + .contentMainLink__icon {
    transform: translate(0, 0) rotate(0deg);
}


.header__authButtons {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.header__authButtonsLogout {
    margin-top: 15px;
}

.header-mobile__right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.dropDownNav {
    padding: 15px;
}

.contentMainLink__link {
    display: block;
    width: 100%;
    padding: 15px 0;
}

.contentMainLink__button:after {
    display: none !important;
}

@media (min-width: 992px) {
    .header__inner {
        padding: 23px 0;
    }

    .header-desktop {
        display: flex;
    }

    .header-mobile {
        display: none;
    }

    .logo__img {
        max-height: none;
    }

    .nav-item .dropdown-toggle::after {
        color: #0049FF;
    }

    .nav-item .dropdown-toggle:hover {
        color: #0049FF;
    }

    .header__dropdown {
        width: 980px !important;
        max-width: calc(100vw - 40px);
        top: calc(100% + 20px) !important;
    }

    @media (min-width: 992px) and (max-width: 1199px) {
        .header__dropdown {
            left: 50% !important;
            transform: translateX(calc(-50% + 50px)) !important;
        }
    }

    @media (min-width: 1200px) {
        .header {
            position: relative;
        }
        .nav-item.dropdown {
            position: static;
        }
        .header__dropdown {
            position: absolute !important;
            left: 0 !important;
            transform: none !important;
            margin-left: calc((100vw - 1200px) / -2 - 15px);
        }
    }

    .navbar-nav {
        display: flex;
        flex-direction: row;
    }

    .nav-link {
        color: #696464;
        font-family: Open Sans;
        font-size: 18px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        margin-left: 90px;
    }

    .header__dropdownRightItem:nth-child(1),
    .header__dropdownRightItem:nth-child(2) {
        margin-top: 0 !important;
    }

    .burger {
        display: block;
    }

    .header__auth {
        display: flex;
        align-items: center;

        flex-direction: row;

        position: absolute;
        top: 100%;
        left: 0;

        text-align: center;
        gap: 15px;
        padding: 30px 0;
        font-weight: 600;
        justify-content: center;
        background-color: #fff;
    }

    .header__auth-img {
        width: 42px;
        height: 42px;
        border-radius: 50%;
    }

    .header__auth-name {
        font-size: 16px;
        font-weight: 600;
        margin-left: 14px;
    }

    .header__auth-link {
        display: inline-block;
        position: relative;
        font-size: 16px;
        font-weight: 600;
        margin-left: 30px;
    }

    .header-desktop__burger {
        margin-left: 15px;
        padding: 15px;
        margin-right: -15px;
    }

    /* .header__auth-link::before {
      content: "";
      display: block;
      position: absolute;
      left: -15px;
      top: 50%;
      transform: translateY(-50%);
      width: 1px;
      height: 25px;
      background-color: #858585;
    } */
}

@media (min-width: 1150px) {
    .header {
        box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.1);
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .header .navbar-nav {
        gap: 24px;
        flex-wrap: wrap;
        padding-bottom: 0 !important;
    }

    .header .nav-link {
        margin-left: 0 !important;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .header .navbar-nav {
        gap: 40px;
        flex-wrap: wrap;
    }

    .header .nav-link {
        margin-left: 0 !important;
    }
}

@media (min-width: 1400px) and (max-width: 1599.98px) {
    .header .navbar-nav {
        gap: 56px;
    }

    .header .nav-link {
        margin-left: 0 !important;
    }
}

@media (min-width: 1600px) {
    .header .navbar-nav {
        gap: 72px;
    }

    .header .nav-link {
        margin-left: 0 !important;
    }
}
