/* header */

.header {
    position: sticky;
    top: 0vh;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
    z-index: 10;
    background-color: #FFFFFF;
    box-shadow: 0px 8px 24px 0px #0000001A;
    box-sizing: border-box;
}

@media (max-width: 1000px) {
    .header {
        min-height: 80px;
        display: block;
        padding: 0;
    }

}

@media (max-width: 764px) {

    .header_logo_wrap {
        padding: 15px 20px;
        margin-bottom: 0;
        z-index: 10;
    }

    .header_logo_wrap a img {
        width: 206px;
        height: 44px;
    }
}

/* menu */

.header_logo_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.burger {
    display: none;
}

.burger_button {
    border: none;
    background: inherit;
    cursor: pointer;
    display: none;
}

.menu_logo_wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: 40px;
    cursor: pointer;
}

.separator {
    height: 40px;
    width: 2px;
    background-color: #686868;
}

.logo {
    position: absolute;
    left: 20px;
}

.menu_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 calc(50% - 700px);
}

.menu {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-left: auto;
    margin-right: auto;
}

.menu_list {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.menu_item {
    position: relative;
    display: flex;
    align-items: stretch;
    margin-right: 20px;
    padding-top: 19px;
    padding-bottom: 19px;
    white-space: nowrap;
}

.menu_item__mobile {
    display: none;
}

.menu_item_clickable {
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 10px;
    cursor: pointer;
}

/* .menu_item--active .menu_item_clickable,
.menu_item_clickable:hover {
    text-decoration: none;
    color: #129BD6;
} */

.menu_item--active .menu_item_clickable::before,
.menu_item_clickable:hover::before {
    content: "";
    position: absolute;
    left: calc(50% - 8px);
    bottom: 20px;
    width: 16px;
    height: 2px;
    background-color: var(--basic-Yellow);
}

.contacts_item--menu {
    position: absolute;
    right: 168px;
}

.menu_language {
    display: none;
}

.language {
    margin-right: 40px;
    margin-left: 50px;
}

.language_button {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
}

.language_button:hover {
    color: var(--basic-Yellow);
    text-decoration: underline;
}

.profile_link {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #FFFFFF;
}

.profile_link svg {
    min-width: 25px;
}

.clientArea {
    text-align: center;
}

.profile--mobile {
    display: none;
}

.profile_link--mobile {
    display: flex;
}

.language_tabs {
    display: flex;
    gap: 10px;
}

.language_tab {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 18px;
    background-color: var(--basic-GrayBg);
    border: 2px solid var(--basic-GrayBg);
    font-size: 16px;
    font-weight: 600;
    line-height: 19.5px;
    cursor: pointer;
}

.language_tab--active,
.language_tab:hover {
    background-color: var(--basic-White);
    border: 2px solid var(--basic-Yellow);
}


@media (max-width: 1700px) {
    .contacts_item--menu {
        right: 110px;
    }

    .contacts_item_number {
        display: none;
    }

    .menu_logo_wrapper {
        margin-left: 20px;
    }

    .language {
        margin-right: 20px;
    }


}

@media (max-width: 1460px) {

    .menu_list {
        flex-wrap: wrap;
    }

    .menu_item {
        margin-right: 5px;
    }
}

@media (max-width: 1280px) {
    .menu_list {
        max-width: 80%;
    }

    .menu_item {
        margin-right: 0px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .menu_item--active .menu_item_clickable::before,
    .menu_item_clickable:hover::before {
        content: "";
        position: absolute;
        left: calc(50% - 8px);
        bottom: 10px;
        width: 16px;
        height: 2px;
        background-color: var(--basic-Yellow);
    }

}

@media (max-width: 1000px) {
    .header {
        display: flex;
        justify-content: end;
        min-height: 65px;
    }

    .main--gray:before {
        content: '';
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, .5);
        z-index: 3;
    }

    .burger {
        display: block;
        position: absolute;
        left: 24px;
        top: calc(50% - 13px);
        z-index: 10;
    }

    .menu_logo_wrapper {
        position: absolute;
        top: calc(50% - 17px);
        left: calc(50% - 64px);
        width: 128px;
        height: 35px;
        margin-left: 0;
    }

    .burger_button {
        display: block;
        height: 25px;
        width: 30px;
        padding: 0;
        z-index: 5;
    }

    .menu-nav__toggle {
        display: block;
        width: 15px;
        height: 21px;
        right: 20px;
        top: 10px;
        transition: all .5s;
    }

    .menu-nav__toggle--cross {
        border: none;
        padding: 0;
        width: 25px;
        background-color: inherit;
    }

    .menu-nav__toggle--cross::after {
        content: "";
        position: absolute;
        width: 30px;
        height: 3px;
        border-radius: 2px;
        background-color: #1E1E1E;
        transform: rotate(-45deg);
        bottom: 10px;
        left: -4px;
        transition: all .2s;
    }

    .menu-nav__toggle--cross::before {
        content: "";
        position: absolute;
        width: 30px;
        border-radius: 2px;
        height: 3px;
        background-color: #1E1E1E;
        transform: rotate(45deg);
        bottom: 10px;
        left: -4px;
        transition: all .2s;
    }

    .menu-nav__toggle--burger {
        height: 3px;
        width: 25px;
        border: none;
        border-radius: 3px;
        padding: 0;
        background-color: #1E1E1E;
    }

    .menu-nav__toggle--burger::after {
        content: "";
        position: absolute;
        width: 25px;
        height: 3px;
        border-radius: 3px;
        background-color: #1E1E1E;
        transform: rotate(0deg);
        bottom: 3px;
        left: 0;
        transition: all .2s;
    }

    .menu-nav__toggle--burger::before {
        content: "";
        position: absolute;
        width: 25px;
        height: 3px;
        border-radius: 3px;
        background-color: #1E1E1E;
        transform: rotate(0deg);
        bottom: 19px;
        left: 0;
        transition: all .2s;
    }

    .menu_list {
        gap: 0;
        position: absolute;
        top: 64px;
        left: 0;
        flex-direction: column;
        align-self: start;
        flex-wrap: nowrap;
        margin-left: 0;
        width: 100%;
        max-width: 100%;
        background-color: #FFFFFF;
        z-index: 3;
        height: calc(100vh - 64px);
        transition: max-height .3s;
        box-sizing: border-box;
        overflow: hidden;
    }

    .menu_item {
        width: 100%;
        align-items: center;
        margin-right: 0;
        min-height: 42px;
        padding: 10px 0;
        overflow: hidden;
        justify-content: center;
        /* transition: height .2s, padding .2s; */
    }

    .menu_link {
        align-self: flex-start;
    }

    .menu_item__mobile {
        display: flex;
        margin-bottom: 24px;
    }

    .menu_item--mt_auto {
        margin-top: auto;
    }

    .list--close {
        max-height: 0;
        overflow: hidden;
    }

    .sections_icon--menu {
        display: block;
    }

    .language {
       /* display: none;*/
    }
	
	.language_tabs {
    display: none;
	}

    .profile {
        padding: 20px;
    }

    .profile--desktop {
        display: none;
    }

    .profile--mobile {
        display: block;
    }

    .contacts_item--menu {
        /*right: 20px;*/
		left: 80px;
    }

    .contacts_item--menu .contacts_item_messengers {
        display: none;
    }
	.language_tabs2 {
		display: flex;
		gap: 10px;
	}

	.language_tab2 {
		display: flex;
		align-items: center;
		gap: 14px;
		padding: 8px 8px;
		background-color: var(--basic-GrayBg);
		border: 2px solid var(--basic-GrayBg);
		font-size: 14px;
		font-weight: 600;
		line-height: 19.5px;
		cursor: pointer;
	}

	.language_tab2--active,
	.language_tab2:hover {
		background-color: var(--basic-White);
		border: 2px solid var(--basic-Yellow);
	}

}