
.u-header {
    position: relative;
    left: 0;
    right: 0;
    width: 100%;
    font-size: 0.92857rem;
    z-index: 501;
}

.u-header--sticky-top {
    bottom: auto;
    top: 0;
}

.u-header--sticky-top, .u-header--sticky-bottom {
    position: fixed;
}

.sx-main-logo img {
    max-height: 86px;
}

/**
 * Unify custom css
 */

.navbar-brand {
    padding: 0px;
}

.navbar-brand .sx-logo-text {
    bottom: 7px;
    /*letter-spacing: 3px;*/
    font-size: 23px;
    position: absolute;
    left: 58px;
}

.navbar-brand img {
    height: 39px;
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: auto;
        max-width: 120px;
        max-height: 45px;
    }
}


.sx-header-phone-wrapper {
    width: 30px;
    height: 30px;
    font-size: 13px;
    border-width: 1px;
    border-style: solid;
    border-radius: 50%;
    text-align: center;
}

.sx-header-phone-wrapper > i {
    position: relative;
    top: 50%;
    display: block;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 2;
}

.sx-badge {
    line-height: 16px;
    font-size: 10px;
    min-height: 16px;
    min-width: 16px;
    position: absolute;
    right: -6px;
    top: -9px;
    text-align: center;
    text-rendering: optimizelegibility;
    text-size-adjust: 100%;
    border-radius: 50%;
    box-shadow: 0px 0px 12px -1px white;
}

.u-shadow-v19 {
    -webkit-box-shadow: 0 5px 10px -6px rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 10px -6px rgba(0, 0, 0, 0.1);
}


.hs-has-mega-menu:not(.hs-mega-menu-opened) *,
.hs-has-sub-menu:not(.hs-sub-menu-opened) * {
    -webkit-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}

.hs-has-mega-menu:not(.hs-mega-menu-opened) *::before, .hs-has-mega-menu:not(.hs-mega-menu-opened) *::after,
.hs-has-sub-menu:not(.hs-sub-menu-opened) *::before,
.hs-has-sub-menu:not(.hs-sub-menu-opened) *::after {
    -webkit-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}


.sx-menu-top > li > a {
    text-transform: uppercase;
}
.sx-menu-top {
    font-weight: 600;
    text-transform: none;
    /*padding: 10px;*/
}

.sx-menu-top > li {
    margin-left: 20px;
    margin-right: 20px;
    padding: 10px 0;
}


/* Поисковый блок на мобильной версии */
@media (max-width: 768px) {
    .sx-search-form {
        background: #fff;
        padding: 15px;
        position: absolute;
        top: -100px;
        left: 0;
        right: 0;
        z-index: 1;
        width: 100%;
    }
}


/* Поднять меню на планшете */
@media (max-width: 1024px) AND (min-width: 768px) {
    .hamburger {
        padding-top: 0;
    }
}

/* Настройки меню */
html.mm-right .mm-menu.mm-fx-menu-slide {
    z-index: 502;
}

.mm-opened .u-header--sticky-top {
    position: relative !important;
}

.mm-opened .sx-header-sticky-margin {
    margin-top: 0 !important;
}

.hamburger {
    padding: 0;
}


/* Правки для меню мобильной версии */
.mm-menu.mm-shadow-page:after {
    box-shadow: none !important;
}

/* Для модальных окон бутстрап нужно сделать такой z-index */
/*#mm-blocker {
    z-index: 1060 !important;
}

.mm-slideout {
    z-index: 1050 !important;
}*/

.mm-slideout {
    z-index: auto !important;
}

html.mm-right.mm-opening .mm-menu.mm-opened~.mm-slideout {
    z-index: 1050 !important;
}

/**
 * Оформление верхнего toolbar
 */
.sx-topbar {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    color: white;
    background: black;
    padding-bottom: 7px;
    padding-top: 7px;
}

.sx-topbar a {
    color: white;
}

.sx-topbar a:hover {
    color: white;
}

.sx-header-middle-block {
    background: white;
}

/**
 * Оформление иконок в шапке
 */
.sx-header-menu-right {
    display: contents;
}

.sx-header-menu-right .sx-header-menu-item i {
    font-size: 24px;
}

.sx-header-menu-right .sx-header-menu-item .sx-icon-wrapper {
    font-size: 24px;
}

.sx-header-menu-right .sx-header-menu-item {
    margin-right: 25px;
}

.sx-header-menu-right .sx-header-menu-item:last-child {
    margin-right: 0px;
}


@media (max-width: 768px) {
    .sx-header-menu-right .sx-header-menu-item {
        margin-right: 10px;
    }
}


.sx-main-menu-wrapper .hamburger-inner, .sx-main-menu-wrapper .hamburger-inner:after, .sx-main-menu-wrapper .hamburger-inner:before {
    height: 2px;
}

.sx-header-center-container {
    padding-top: 15px;
    padding-bottom: 15px;
}