header {
    background-color: #16181C;
}
body.page-id-37 header,
body.page-id-1791 header,
body.body-blog header,
body.body-home header {
    background-color: transparent;
    position: relative;
    z-index: 3;
}
.header-main-menu .header-main-menu-item {
    position: relative;
}
.header-main-menu .header-main-menu-item .menu {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    transition: ease .5s;
    background-color: #fff;
    box-shadow: 0 0 20px rgb(17 25 41 / 20%);
    color: #111929;
    font-family: Gilroy;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0.7px;
    z-index: 999;
    list-style-type: none;
    margin: 0;
    padding: 20px;
    border-radius: 15px;
    width: 250px;
}
.header-main-menu .header-main-menu-item .menu li a {
    color: #000;
    display: inline-block;
    font-size: 16px;
    line-height: 18px;
}
.header-main-menu .header-main-menu-item .menu li:not(:last-child) a {
    margin: 0 0 15px;
}
.header-main-menu .header-main-menu-item:hover .menu,
.header-main-menu .header-main-menu-item .menu:hover {
    visibility: visible;
    opacity: 1;
}
.header-main-menu .item-title {
    display: inline-block;
    padding: 10px;
    color: #FFF;
    font-family: Gilroy;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0.7px;
    cursor: pointer;
    padding-right: 18px;
    position: relative;
    margin: 10px 0;
}
body.page-id-1791 .header-main-menu .item-title {
    color: #1D1D1B;
}
.header-main-menu .item-title::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url('/wp-content/themes/main/images/chevron-down-red.svg');
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all .5s;
}
.header-main-menu .header-main-menu-item:hover .item-title::after {
    transform: translateY(-50%) rotate(180deg);
}
.header-main-menu .header-main-menu-item:not(:last-child) .item-title {
    margin-right: 32px;
}
.header-auth-button {
    display: inline-block;
    max-width: 173px;
    width: 100%;
    flex-shrink: 0;
    text-align: center;
    border-radius: 8px;
    background: #FFF;
    backdrop-filter: blur(2px);
    transition: .25s all ease;
}
.header-auth-button:hover {
    text-decoration: none;
    transform: scale(1.02);
}
.header-auth-button img {
    margin-right: 6px;
}
.header-auth-button span {
    color: #2F3444;
    text-align: right;
    font-family: Gilroy;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: 0.7px;
}
.header-menu-row {
    padding: 48px 0 80px;
}
.front-page-top-block h1 {
    margin-bottom: 42px;
}
.front-page-top-block p.subtitle.s-w {
    margin-bottom: 48px;
}
.front-page-top-block .button.button-red {
    margin-bottom: 55px;
}
.front-page-top-block .img-block {
    margin-bottom: 32px;
}
.front-page-top-block p.subtitle.s-g {
    margin-bottom: 48px;
}
body .gtranslate_wrapper {
    position: absolute;
    top: 12px;
}
body .gtranslate_wrapper .gt_switcher {
    width: auto;
}
body .gtranslate_wrapper .gt_switcher a img {
    border-radius: 50%;
}
body .gtranslate_wrapper .gt_switcher .gt_selected,
body .gtranslate_wrapper .gt_switcher .gt_selected a:hover {
    background: transparent;
}
body .gtranslate_wrapper .gt_switcher .gt_selected a {
    width: auto;
    border: none;
    font-size: 0;
    padding-right: 20px;
}
body .gtranslate_wrapper .gt_switcher .gt_selected a::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url(/wp-content/themes/main/images/chevron-down-red.svg);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    transition: all .5s;
}
body .gtranslate_wrapper .gt_switcher .gt_option {
    margin-top: 20px;
    background-color: #fff;
    box-shadow: 0 0 20px rgb(17 25 41 / 20%);
    padding: 10px;
    border-radius: 15px;
    height: 100% !important;
    min-height: max-content;
    max-height: max-content;
}
body .gtranslate_wrapper .gt_switcher .gt_option a {
    color: #111929;
    font-family: Gilroy;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0.7px;
}
body .gtranslate_wrapper .gt_switcher .gt_selected a.open::after {
    transform: translateY(-50%) rotate(180deg);
}
body .gtranslate_wrapper .gt_switcher .gt_selected a img {
    border-radius: 50%;
}
.header-burger-menu-block {
    max-width: 100%;
    left: 50%;
    transform: translateX(-50%);
    top: 50px;
}
.header-burger-menu-block .modal-dialog {
    max-width: 360px;
    margin: .5rem auto;
}
.header-burger-menu-block .modal-content {
    padding: 24px;
    border-radius: 0;
}
.header-burger-menu-block .top-block {
    margin: 0 0 49px;
}
.header-burger-menu-block .modal-dialog button.close {
    display: inline-block;
    width: 30px;
    height: 30px;
}
.header-burger-menu-block .modal-dialog button.close span {
    display: inline-block;
    font-size: 30px;
    line-height: 30px;
    text-align: center;
    font-style: italic;
    color: #1D1D1B;
    font-style: normal;
}
#header-burger-menu-accordion .header-burger-menu-accordion-item {
    margin: 0 0 41px;
}
#header-burger-menu-accordion .header-burger-menu-accordion-item .item-title {
    display: block;
    color: #1D1D1B;
    font-family: Gilroy;
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    position: relative;
    padding-right: 30px;
    margin: 0;
}
#header-burger-menu-accordion .header-burger-menu-accordion-item .header-burger-menu-accordion-item-header .item-title::before {
    content: url('/wp-content/themes/main/images/chevron-down-red-big.svg');
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    transition: all .3s ease;
}
#header-burger-menu-accordion .header-burger-menu-accordion-item .header-burger-menu-accordion-item-header:not(.collapsed) .item-title::before {
    transform: translateY(-50%) rotate(180deg);
    filter: invert(28%) sepia(99%) saturate(2726%) hue-rotate(209deg) brightness(109%) contrast(101%);
}
#header-burger-menu-accordion .header-burger-menu-accordion-item ul {
    list-style-type: none;
    margin: 25px 0 0;
    padding: 0;
}
#header-burger-menu-accordion .header-burger-menu-accordion-item ul li a {
    display: block;
    color: #1D1D1B;
    font-family: Gilroy;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-left: 24px;
}
#header-burger-menu-accordion .header-burger-menu-accordion-item ul li:not(:last-child) a {
    margin: 0 0 25px;
}
.header-burger-menu-block .bottom-block {
    margin: 100px 0 0;
}
.header-burger-menu-block .header-auth-button {
    background: #c87533 ;
    display: block;
    transition: .3s all ease;
}
.header-burger-menu-block .header-auth-button:hover {
    text-decoration: none;
    transform: scale(1.03);
}
.header-burger-menu-block .header-auth-button span {
    color: #FFF;
}
.header-burger-menu-block .header-auth-button img {
    filter: brightness(0) invert(1);
}

@media (max-width: 1199px) {
    .header-main-menu .header-main-menu-item:not(:last-child) .item-title {
        margin-right: 20px;
    }
}

@media (max-width: 991px) {
    .header-main-menu .item-title {
        font-size: 13px;
        padding: 10px 15px 10px 5px;
    }
    .header-main-menu .header-main-menu-item:not(:last-child) .item-title {
        margin-right: 5px;
    }
    .header-menu-row {
        padding: 40px 0;
    }
}

@media (max-width: 767px) {
    header .burger-btn {
        background: none;
        border: none;
    }
    header .burger-btn:focus,
    header .burger-btn:active {
        outline: none;
        border: none;
    }
    body .gtranslate_wrapper {
        position: absolute;
        top: 24px;
        left: 120px;
    }
}
@media (max-width: 575px) {
    .header-menu-row {
        padding: 24px 0;
    }
    .header-logo {
        max-width: 82px;
        height: auto;
    }
}
