:root {
    
    --body-color: #333;
    --body-back-color: #fff;
    --body-font-size: 12px;
    --body-bigger-size: 14px;

    --action-color: #000;
    --action-border-color: #666;
    --action-text-color: #fff;
    
    
    --scrollbar-width: 6px;
    --scrollbar-color: #333;
    
    --page-h-padding: 60px;
    --page-v-padding: 70px;
    
    --grey-opacity: .75;

    --loader-size: 50px;

    --modal-window-back-color: #fff;
    --modal-cross-width: 25px;
    --modal-cross-margin: 15px;

    --header-height: 60px;
    --header-sheight: calc(.9 * var(--header-height));

    --h1-font-size: 28px;
    --h2-font-size: 26px;
    --h3-font-size: 20px;

    --footer-aniv-image-width: 58px;

    --red-active-color: #E31E25;

    --grey-social-color: rgb(158,158,158);

    --grey-light-color: rgb(197, 197, 197);

    --grey-vlight-color: rgb(241, 241, 241);

    --logo-slogan-width: 128px;

    --modal-form-padding: var(--page-h-padding);
    --modal-container-margin: 60px;

    --mobile-menu-width: 450px;
}

*::-webkit-scrollbar {
  width: var(--scrollbar-width);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-color);
  border-radius: 5px;
}

*::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

*::-webkit-scrollbar:horizontal {
    height: var(--scrollbar-width);
}

body {
    color: var(--body-color);
    background-color: var(--body-back-color);
    font-family: 'Manrope', sans-serif;
    font-size: var(--body-font-size);
}

img {
    pointer-events: none;
}

a, a:visited, a:active, a:hover { color: inherit; text-decoration: none; outline: none; }

input:focus { outline: none; }
input { font: inherit; }

small, .small { font-size: .75em; }

.abig { font-size: var(--body-bigger-size); }

header, footer, main {
    padding-left: var(--page-h-padding);
    padding-right: var(--page-h-padding);
}

header {
    height: calc(1.5 * var(--header-height));
    top: 0px;
    left: 0px;
    position: fixed;
    width: 100%;
    z-index: 51;
    color: #fff;
    transition: .3s ease-out;
/*    background-image: linear-gradient(to right, #fff 50%, #303030 50%), url(/images/logo2.png);*/
    
    /*background: #fff url(/images/logo2.png) center / 140px no-repeat;*/
    /*background-blend-mode: exclusion;*/
}

.headerSize { height: var(--header-sheight); }

header.filled {
    background-color: #fff;
    color: #000;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,.2);
}

header .top-logo-wrapper svg {
    /*height: 32px;
    width: auto;
    */
    height: auto;
    width: var(--logo-slogan-width);
    fill: var(--grey-social-color);
    margin: auto;
    display: block;
    margin-top: 16px;
    margin-top: 8px;
    fill: #fff;
}

.header-place-holder {
    height: calc(1.5 * var(--header-height));
}

header.filled .top-logo-wrapper svg { fill: #000; }

footer {
    /*box-shadow: 0px 5px 10px 0px rgba(0,0,0,.1) inset;*/
}

footer .flex-container {
    padding-top: var(--page-h-padding);
    padding-bottom: var(--page-h-padding);
}

footer .columns { position: static; }

footer .bottom-left-menu {
    position: absolute;
    bottom: var(--page-h-padding);
    left: 0;
}

h1, .h1 { font-size: var(--h1-font-size); }
h2, .h2 { font-size: var(--h2-font-size); }
h3, .h3 { font-size: var(--h3-font-size); font-weight: 200; }
h4, .h4 { font-size: var(--body-bigger-size) } 

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 48
}

.red { color: rgb(228, 36, 29) }

.grey-back { background-color: var(--grey-vlight-color); }

.asBlock { display: block; }

.marginLeft10 { margin-left: 10px; }

/********* FIX TO PUBLISH *********/
.menuItem a:empty + .marginLeft10 {
    margin-left: 0px !important;
}
/**********************************/


.material-symbols-outlined { font-size: inherit; }
.material-symbols-outlined.thin { font-variation-settings: 'wght' 200 }

.swiper-container {
    overflow: hidden;
}

.mobile-menu-caller { 
    font-size: 35px; 
    font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 48;
}

.flex.space-between { justify-content: space-between; }

.flex.space-around { justify-content: space-around;    }

.flex.flex-center { justify-content: center; }

.flex.flex-end { justify-content: flex-end;  }

.flex.toBottom { align-items: flex-end; }

.grey {
    opacity: var(--grey-opacity);
}

.noOuterPadding {
    margin-left: calc(-1 * var(--page-h-padding));
    margin-right: calc(-1 * var(--page-h-padding));
    width: calc(100% + 2 * var(--page-h-padding));
}

.squarePadding {
    padding: var(--page-h-padding);        
}

.underline { text-decoration: underline; }

.red-active, .red { color: var(--red-active-color); }

.very-body-text { font-size: var(--body-font-size); }

header .menuItem + .menuItem {
    margin-left: 40px;
}

header .smallMenuItem {
    margin-left: 26px;
    font-size: .85em;
    color: #fff;
    height: calc(.6 * var(--header-height));
    align-items: flex-end;
}

header.filled .smallMenuItem { color: #666; }

header .smallMenuItem.active/*, header .smallMenuItem:hover*/ {
    text-decoration: underline;
}

header:not(.filled) .red-active { color: #fff; }

header .menuItem { z-index: 50; position: relative; }

header .menuItem .submenu {
    height: 0px;
    overflow:  hidden;
    position: absolute;
    /*background-color: rgba(0,0,0,.3);*/
    z-index: 5;
    padding: 0px 15px;
    /*margin-left: -15px;*/
    margin-right: -15px;
    left: 0;
    top: calc(var(--header-sheight) - 15px);
    transition: .3s ease-out;
}

header .menuItem a:not(.subMenuItem):after, header .menuItem .as-link:after {
    text-decoration: none !important;
    content: "";
    transition: .3s ease-out;
    width: 0%;
    position: absolute;
    bottom: 0px;
    left: 0px;
    border-bottom: 1px solid;
}

header .menuItem a.nounderline:after { display: none; }

header .menuItem a:hover:after,
header .menuItem a.active:after,
header .menuItem .as-link:hover:after,
header .menuItem .as-link.active:after {
    width: 100%;
}

.menuItem a,
.menuItem a:hover,
.menuItem a.active,
.menuItem a:active {
    text-decoration: none !important;
}

header .hasSubs {
    height: var(--header-height);
    height: 100%;
}

/*header .hasSubs > a { line-height: var(--header-height); }*/

header .menuItem.hasSubs a:after {
    bottom: calc(.5 * var(--header-height) - 0.65em);
    bottom: 0;
}

header .menuItem:hover .submenu {
    height: auto;
    padding: 0px 15px 5px;
}

header.filled .submenu {
    background-color: #fff;
}

header .menuItem .submenu .subMenuItem {
    padding: 5px 0px;   
    opacity: .7;
    transition: .3s ease-out;
}

header .menuItem .submenu .subMenuItem:hover { opacity: 1; }

header .svg-social {
    fill: #fff;
    width: auto;
    height: 16px;
    margin-top: -3.5px;
}

header .svg-social.svg-telegram {
    height: 14px;
    margin-top: 2px;
}

/*header .menuItem span.icons { line-height: var(--header-height); }*/

header .headerSize .flex {
    align-items: flex-start;
    padding-top: 10px;
}
header .menuItem span.icons {
    line-height: 0;
    margin-top: -10px;
}

header .svg-social.svg-mail { height: 13px; top: -3px; position: relative; }

header.filled .svg-social { fill: #000; }

footer .footer-aniv-image svg {
    height: auto;
    margin-bottom: 26px;
    width: var(--footer-aniv-image-width);
    fill: var(--grey-social-color);
}

footer .submenu p {
    position: relative;
    /*padding-left: 15px;*/
}

footer .submenu p::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    transform: translateY(-50%);
    background-color: var(--grey-social-color);

    display: none;
}

footer .icons {
    height: 18px;
}

footer .icons .svg-social {
    height: 16px;
    fill: var(--grey-social-color);
    width: auto;
    margin-left: -2px;
}

footer .icons .svg-social.svg-youtube,
footer .icons .svg-social.svg-mail { height: 13px; }
footer .icons .svg-telegram { margin-bottom: -1px; }

footer .footer-logo svg {
    width: var(--logo-slogan-width);
    fill: var(--grey-social-color);
    height: auto;
    /*fill: #727270;*/
}

svg.optimized {
    shape-rendering:geometricPrecision; 
    text-rendering:geometricPrecision; 
    image-rendering:optimizeQuality; 
    fill-rule:evenodd; 
    clip-rule:evenodd;
}

.arrow.reversed svg {
    transform: rotate(180deg);
}

.font-normal { font-size: var(--body-font-size);  }

.subMenuItem.asBlock { display: block; }

header .menuItem .submenu.wide {
    width: 190px;
    left: auto;
    right: -2px;
    text-align: right;
}

#heightLog {
    position: fixed;
    background-color: #fff;
    padding: 10px;
    top: 0px;
    right: 0px;
    z-index: 5000;
}

/******************* MODAL ********************/
body.modal-shown {
    overflow: hidden;
    margin-right: var(--scrollbar-width);
}

.modal-window .swiper-container .absolute {
    pointer-events: initial;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 501;
}

#loader svg {
    display: block;
    margin: auto;
    height: var(--loader-size);
}

.modal-window {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 500;
    padding: var(--page-v-padding) var(--page-h-padding);
    background-color: var(--modal-window-back-color);
}

.modal-window-inner {
    width: 100%;
    max-height: 100%;
}

.modal-window .hide-modal.cross-image {
    position: absolute;
    top: var(--page-v-padding);
    right: calc(var(--page-h-padding) - var(--modal-cross-margin) - var(--modal-cross-width));
    z-index: 500;
}

.modal-window .hide-modal.cross-image svg { width: var(--modal-cross-width); }

/**************** MODAL FORMS *****************/

.modal-form-container {
    position: fixed;
    padding: var(--page-h-padding) var(--modal-container-margin);
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 100;
}

.modal-form-container .shadow {
    background-color: var(--grey-social-color);
    opacity: .8;
}

.modal-form-container .wrapper {
    padding: var(--modal-form-padding);
    background-color: #fff;
}

.hide-modal-form { padding: 20px; fill: var(--grey-light-color); }

.hide-modal-form svg { height: 20px; width: 20px; }

.btInput:focus { outline: none; }

.btInput {
    height: 35px;
    line-height: 35px;
    padding: 0 10px;
    border:  1px solid var(--grey-light-color);
}

textarea.btInput {
    height: 105px;
    resize: vertical;
}

.btCheckbox + label {
    height: 35px;
    width: 35px;
    border: 1px solid var(--grey-light-color);
    margin: 0px 10px 0px 0px;
    position: relative;
}

.btCheckbox + label:before,
.btCheckbox + label:after {
    content: '';
    position: absolute;
    height: 1px;
    width: 30px;
    visibility: hidden;
    display: inline-block;
    background-color: var(--grey-social-color);
    top: 16px;
    left: 2px;
    z-index: 4;
    transform-origin: center;
}

.btCheckbox + label:before {
    transform: rotate(45deg);
}

.btCheckbox + label:after {
    transform: rotate(-45deg);
}

.btCheckbox:checked + label:before,
.btCheckbox:checked + label:after { visibility: visible; }

.contacts-input.error {
    border-color: var(--red-active-color);
}

.send-form-btn {
    height: 35px;
    line-height: 35px;
    background-color: var(--grey-vlight-color);    
    cursor: pointer;
    display: inline-block;
    padding: 0 45px;
}

/******************* /MODAL *******************/


#mobileMenu {
    z-index: 500;
    background-color: rgba(0,0,0,.75);
    color: #fff;
    height: 100%;
    padding: 60px calc(var(--page-h-padding) + 15px) 30px;
    width: var(--mobile-menu-width);
    left: calc(-1 * var(--mobile-menu-width));
    top: 0;
    transition: .3s ease-out;
}

#mobileMenu.shown {
    left: 0px;
}

#mobileMenu .mobile-menu-hider {
    padding: 18px calc(var(--page-h-padding) + 6px);
    z-index: 100;
}

#mobileMenu .mobile-menu-hider svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

#mobileMenu .menuItem { margin-bottom: 7px; }

#mobileMenu .submenu .subMenuItem {
    display: block;
    margin: 7px 0px 0px;
    font-size: 13px;
    text-transform: uppercase;
}

.menuItem.abig, .menuItem .abig {
    font-size: 15px;
}

header .menuItem .submenu .subMenuItem.abig {
    font-size: var(--body-bigger-size);
}

#mobileMenu .menuItem.abig, 
#mobileMenu .menuItem .abig {
    font-size: 18px;
}

#mobileMenu .icons svg {
    fill: #fff;
    width: 22px;
    height: 22px;
    top: 3px;
    position: relative;
}

header.filled + #mobileMenu * {
    fill: var(--body-color);
    color: var(--body-color);
}

header.filled + #mobileMenu { background-color: #fff; }

/*********************************************/


@media (max-width: 1280px) and (min-width: 1025px) {
        
}

@media (max-width: 1024px) and (min-width: 769px) {
    :root {
        --page-h-padding: 50px;
        --h2-font-size: 22px;
        --h3-font-size: 18px;
        --body-bigger-size: 13px;
    }
}

@media screen and ( max-width: 1180px ) and (min-height: 700px) and ( min-width: 1025px ) {
    :root {
        --h2-font-size: 20px;
    }
}

@media (max-width: 820px) and (min-width: 500px) and (orientation: portrait) {
    :root {
        --page-h-padding: 50px;
        --body-bigger-size: 13px;
        --h1-font-size: 24px;
        --h2-font-size: 20px;
        --h3-font-size: 16px;
    }

    header a .svg-lock {
        /*top: -4px;
        position: relative;*/
    }

    .mobile-menu-caller {
        font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 48;
        position: relative;
        /*top: -4px;*/
    }

    .sm-fullWidth { width: 100%; }

    .sm-nopadding { padding: 0; }

    .sm-autoMargin { margin-left: auto; margin-top: auto; }
    .flex.sm-autoMargin { justify-content: space-around; }

    .text-center-sm { text-align: center; }

    footer .middle-icons { height: 16px; }
    
}

@media (max-width: 499px) {
    :root {
        --page-h-padding: 20px;
        --body-bigger-size: 13px;
        --h1-font-size: 22px;
        --h2-font-size: 20px;
        --h3-font-size: 15px;

        --body-font-size: 11px;
        --modal-container-margin: 15px;
        --mobile-menu-width: 100vw;
    }

    .xs-nopadding { padding: 0px; }
    .xs-textCenter { text-align: center; }
    .xs-fullWidth { width: 100%; }
    .xs-autoMargin { margin-left: auto; margin-top: auto; }
    .flex.xs-autoMargin { justify-content: space-around; }

    .text-center-xs { text-align: center; }

    .hdr-text {
        padding-right: 50px;
    }

    header a .svg-lock {
        margin-top: -2.5px;
        /*top: -4px;
        position: relative;*/
    }

    .mobile-menu-caller {
        position: relative;
        top: -2px;
    }

    footer { padding: 10px 30px 30px; }

    footer .middle-icons { height: 16px; }

    footer .submenu p {
        margin: 5px 0px 0px;
    }

    footer .menuItem {
        margin-bottom: 5px;
    }

    footer .marginTop30.lessMargin { margin-top: 15px; }
    footer .very-contacts { font-size: var(--body-bigger-size) }
}


