.front header#header {
    position: absolute;
}

header#header {
    padding-top: 21px;
    padding-bottom: 21px;
    border-radius: 0 0 70px 70px;
    width: 100%;
    background-color: #fff;
    
    z-index: 1;
}

header#header .header-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

header#header .header-right-top,
header#header .header-right-middle,
header#header .header-right-bottom {
    padding-left: 14px;
}

header#header .contacts {
    align-items: center;
    column-gap: 58px;
}

header#header .tel span,
header#header .tel a {
    font-size: 24px;
    font-weight: 500;
    color: #1E1E1E;
}

header#header-mob .tel a {
    text-decoration: none;
}

header#header .tel,
header#header .tel > div,
header#header-mob .tel,
header#header-mob .tel > div {
    display: flex;
    align-items: center;
}

header#header .tel,
header#header-mob .tel {
    gap: 10px;
}

header#header .tel > div,
header#header-mob .tel > div  {
    gap: 5px;
}

.tel::before {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url('/sites/all/themes/vesta_theme/image/phone.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

header#header-mob .social {
    display: flex;
}

header#header .social,
header#header-mob .social {
    justify-content: right;
    gap: 12.5px;
}

.social .social__item a img {
    transition: all 0.3s ease-in-out;
}

.social .social__item a:hover img {
    transform: scale(1.1);
}

header#header .address {
    justify-content: space-between;
    align-items: center;
}

.address .address_item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.address .address_item,
.address .address_item span,
.address .address_item a {
    font-family: 'Tektur', serif;
    font-size: 18px;
    font-weight: 500;
    color: #1E1E1E;
}

.address .address_item::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.address .city::before {
    background-image: url('/sites/all/themes/vesta_theme/image/address.svg');
}

.address .mail::before {
    background-image: url('/sites/all/themes/vesta_theme/image/mail.svg');
}

header#header .menu {
    height: fit-content;
}

header#header .header-right-bottom {
    justify-content: space-between;
}

header#header .menu .nav {
    gap: 30px;
}

.nav .nav-item > a {
    padding: 0;
    font-size: 18px;
    font-weight: 500;
    color: #1E1E1E;
}

header#header .search {
    max-width: 240px;
    width: 100%;
}

.region-search form {
    display: flex;
    flex-direction: row-reverse;
    gap: 9px;
    width: 100%;
    max-height: 25px;
}

.region-search form .form-type-search {
    flex-grow: 1;
}

.region-search form .form-type-search > input {
    padding: 3px 13px;
    height: 100%;
    border: 1px solid #1E1E1E;
    border-radius: 5px;
    color: #1E1E1E;
    transition: all 0.3s ease-in-out;
}

.region-search form .form-type-search > input:focus {
    box-shadow: none;
}

.region-search form .form-type-search > input:focus-visible {
    outline: none;
}

.region-search form .form-type-search > input:hover {
    border-color: #BE0505;
}

.region-search form .form-type-search > input,
.region-search form .form-type-search > input::placeholder {
    font-family: 'Tektur';
    font-weight: 400;
    font-size: 14px;
}

.region-search form .form-type-search > input::placeholder {
    color: #999999;
}

.region-search form .form-actions {
    display: flex;
    align-items: center;
}

.region-search form button.search-form__submit {
    border: none;
    width: 18px;
    height: 18px;
    font-size: 0;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url('/sites/all/themes/vesta_theme/image/search.svg');
    transition: all 0.3s ease-in-out;
}

.region-search form button.search-form__submit:focus-visible {
    box-shadow: none;
}

.region-search form button.search-form__submit:hover {
    transform: scale(1.1);
}

#search-api-page-block-form-search--2 {
    display: flex;
    gap: 5px;
}

.contact-item-label {
    font-family: 'Tektur', serif;
    font-size: 16px;
    font-weight: 500;
}

.contact-item-el .tel {
    gap: 10px;
}

.contacts.contact-item-el .tel span,
.contacts.contact-item-el .tel a {
    font-size: 14px;
}

.msngrs .social {
    gap: 12px;
}

.offcanvas-body .region-search,
.offcanvas-body .region-navigation {
    margin-bottom: 20px;
}

.offcanvas-body .nav {
    gap: 10px;
}

/*MEDIA*/
@media(max-width: 1200px) {
    header#header .logo {
        display: flex;
        align-items: center;
    }

    header#header .logo img {
        width: 100%;
    }

    header#header .header-right-top .contacts {
        justify-content: space-between;
        row-gap: 10px;
        column-gap: 20px;
    }

    header#header .tel span, 
    header#header .tel a {
        font-size: 18px;
    }

    header#header .address {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 10px;
    }

    header#header .header-right-bottom {
        flex-direction: column;
        row-gap: 10px;
    }

    header#header .search {
        max-width: 100%;
    }

}

@media(max-width: 992px) {
    header#header-mob {
        border-radius: 0 0 40px 40px;
        width: 100vw;
    }

    header#header-mob .col-phone .contacts {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }


}

@media(max-width: 576px) {
    header#header-mob .col-phone .contacts .tel span, 
    header#header-mob .col-phone .contacts .tel a {
        font-size: 12px;
    }

    header#header-mob .col-logo img {
        max-width: 100px;
    }
}

@media(max-width: 480px) {
    header#header-mob .social,
    header#header-mob .tel:not(:first-child) {
        display: none;
    }

    header#header-mob .tel > div {
        flex-direction: column;
    }

    header#header-mob .col-phone .contacts .tel span, 
    header#header-mob .col-phone .contacts .tel a {
        font-size: 10px;
    }

    header#header-mob .col-phone .tel::before {
        width: 15px;
        height: 15px;
    }
}