:root {
    --font-family-main: "Ubuntu", sans-serif;
    --primary: #111;
    --accent: #44ced9;
    --secondary: rgb(175, 175, 175);
    --light-bg: #efefef;
    --stroke: rgba(224, 224, 224, 1);
    --gap-section: 120px;
    --gap-xxl: 64px;
    --gap-l: 48px;
    --gap-x: 32px;
    --gap-m: 24px;
    --gap-s: 16px;
    --gap-xs: 8px;
    --bold: 600;
    --bolder: 700;
    --headline-size-l: 52px;
    --headline-size-x: 42px;
    --headline-size-m: 24px;
    --headline-size-s: 18px;
    --text-size-l: 22px;
    --text-size-x: 18px;
    --text-size-m: 16px;
    --text-size-s: 14px;
    --text-size-xs: 12px;
}


/* Reset
-------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, /* ol, ul, li, */ fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, credentials, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; }
article, aside, credentials, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1; }

/* Common HTML elements, fonts, and colors
------------------------------------------ */

/*Чтобы перемещение по якорю было не мгновенным, а плавным, добавим scroll-behavior*/
html {
    scroll-behavior: smooth;
}
/*Перемещение по якорю прокручивает окно вплотную к указанному элементу.
Если на странице есть залипающая шапка, элемент может скрыться под ней.
Это можно исправить, задав scroll-margin-top*/
[id] {
    scroll-margin-top: max(4.5rem, 15vh); /* Пусть все элементы, на которые можно сослаться якорями,
    при скролле к ним отступают минимум на 15% высоты экрана или 4.5rem.
    Так даже на низких экранах или на телефонах в альбомной ориентации меню
    не будет налезать на текст, к которому привёл якорь.
    Важный момент: это свойство не влияет на внешний отступ элемента */
}

html, body {
    width: 100%;
    height: 100%;
    scrollbar-gutter: stable; /*Добавляем отступ под скроллбар, чтобы его появление или скрытие не вызывало сдвиги контента.*/
}

body { 
    font-family: var(--font-family-main);
    font-optical-sizing: auto;
    font-style: normal;
    color: var(--primary);
    font-weight: 400;
    font-size: var(--text-size-m);
    line-height: 1.4;
    box-sizing: border-box;
}

.lazyload,
.lazyloading{
	opacity: 0;
}
.lazyloaded {
	opacity: 1;
	transition: opacity 0.2s ease-out;
}

a { 
    color: var(--accent);
    text-decoration: none;
}
/*
a:link {
    color: #497DDD; 
    border-bottom: 1px dashed; 
}
  a:visited {
    color: #EF7D55;
}
  a:hover {
    color: #154088; 
    border-bottom: .07em solid;
}
  a:active {
    color: #497DDD; 
    border-bottom: 1px dashed;
}*/

.link {
    color: var(--accent);
    text-decoration: underline; 
}
.link:hover {
    color: var(--primary);
    text-decoration: none;
}
.color-accent {
    color: var(--accent)
}
.color-primary {
    color: var(--primary)
}
.color-secondary {
    color: var(--secondary)
}

/*** Typography ***/

p, dl, hr, pre, table, address, fieldset, blockquote, figure { margin-bottom: 30px; }
pre {margin-top: 16px; font-size: 90%; line-height: 24px; color: rgba(0,0,0,.75); background: rgba(0,0,0,.03); padding: 16px 20px;word-wrap: normal;}
blockquote { color: rgba(0,0,0,.6); font-size:0.9em; font-style: italic; border-left: 1px solid rgba(0,0,0,.1);padding-left: 24px; background: var(--secondary); }
blockquote cite { font-size: 0.9em; }
hr { background-color: var(--stroke); height: 1px; border: 0; }

h1, h2, h3, h4, h5, h6, .headline {
    font-weight: var(--bolder);
    line-height: 120%;
    font-style: normal;
}
h1, .headline--l {
    font-size: var(--headline-size-l);
}
h2, .headline--x {
    font-size: var(--headline-size-x);
}
h3, .headline--m {
    font-size: var(--headline-size-m);
}
h4, .headline--s {
    font-size: var(--headline-size-s);
}

.text {
    
}
.text--l {
    font-size: var(--text-size-l);
}
.text--x {
    font-size: var(--text-size-x);
}
.text--m {
    font-size: var(--text-size-m);
}
.text--s {
    font-size: var(--text-size-s);
}
.text--xs {
    font-size: var(--text-size-xs);
}

input[type="button"]::-moz-focus-inner { border: 0; }
input[type="submit"]::-moz-focus-inner { border: 0; }
input, textarea, select { margin:0; }
input, textarea { font-size: var(--text-size-m); color: var(--primary);}
input[type="button"]:focus { outline:none; outline-offset:-2px; }
fieldset { border:1px solid var(--secondary); padding:10px; position:relative; background:var(--light-bg); margin-bottom:10px; }
fieldset p label { width:98%; }
fieldset p input[type="text"] { width:98%; }
fieldset p select { width:99%; }
button[disabled],
input[type="button"][disabled],
input[type="submit"][disabled],
button.is-disabled,
input[type="button"].is-disabled,
input[type="submit"].is-disabled {
    color: var(--secondary);
    cursor: default;
}
button[disabled]:hover,
input[type="button"][disabled]:hover,
input[type="submit"][disabled]:hover,
button.is-disabled:hover,
input[type="button"].is-disabled:hover,
input[type="submit"].is-disabled:hover {
    color: var(--secondary);
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family-main);
    font-size: var(--text-size-s);
    font-weight: var(--bolder);
    line-height: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 24px;
    padding-right: 24px;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color 0.1s ease-out, border 0.1s, color 0.1s ease-out, opacity 0.1s ease-out;
    user-select: none;
    border-width: 2px;
    border-style: solid;
    border-color: currentColor;
    box-sizing: border-box;
    white-space: nowrap;
    user-select: none;
    min-width: 156px;
    border-radius: 6px;
}
.button-xxl {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: var(--text-size-m);
}

.button--main {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.button--white {
    background-color: #fff;
    border-color: #fff;
    color: var(--primary);  
}
.button--secondary {
    background-color: transparent;
    border-color: #fff;
    color: #fff; 
}
.button--main:hover,
.button--secondary:hover,
.button--white:hover {
    opacity: 0.9;
}

/*Убираем тень с полей формы для WebKit*/
input:not([type=checkbox]):not([type=radio]),
textarea, 
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/*Стилизация скрола*/
::-webkit-scrollbar { width: 3px; height: 3px;}
::-webkit-scrollbar-button {  background-color: #666; }
::-webkit-scrollbar-track {  background-color: var(--secondary);}
::-webkit-scrollbar-track-piece { background-color: #ffffff;}
::-webkit-scrollbar-thumb { height: 50px; background-color: #666; border-radius: 3px;}
::-webkit-scrollbar-corner { background-color: var(--secondary);}
::-webkit-resizer { background-color: #666;}

/*Кастомный селект*/
select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px 12px;
}
/* Наследуем шрифты для инпутов и кнопок */
input,
button,
textarea,
select {
  font: inherit;
}

button,
input[type="submit"],
input[type="reset"] {
  outline: none;
}
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="search"]
textarea {
  outline: none;
}
select,
option {
  outline: none;
}
input[type="checkbox"],
input[type="radio"] {
  outline: none;
}
input[type="file"] {
  outline: none;
}

/*Ползунок <input type="range" min="0" max="100" step="1" value="50">*/
input[type="range"] {
  outline: none;
}

/* Стилицация плехолдера*/
input[placeholder] {
    text-overflow:ellipsis; /* Обрезаем текст если он не влезает */
}   
/*Плавное исчезновение при нажатии*/
input[placeholder]::-webkit-input-placeholder       {opacity: 1; transition: opacity 0.3s ease; color:var(--secondary);}
input[placeholder]::-moz-placeholder                {opacity: 1; transition: opacity 0.3s ease; color:var(--secondary);}
input[placeholder]:-moz-placeholder                 {opacity: 1; transition: opacity 0.3s ease; color:var(--secondary);}
input[placeholder]:-ms-input-placeholder            {opacity: 1; transition: opacity 0.3s ease; color:var(--secondary);}
input[placeholder]:focus::-webkit-input-placeholder {opacity: 0; transition: opacity 0.3s ease; color:var(--secondary);}
input[placeholder]:focus::-moz-placeholder          {opacity: 0; transition: opacity 0.3s ease; color:var(--secondary);}
input[placeholder]:focus:-moz-placeholder           {opacity: 0; transition: opacity 0.3s ease; color:var(--secondary);}
input[placeholder]:focus:-ms-input-placeholder      {opacity: 0; transition: opacity 0.3s ease; color:var(--secondary);}


/* Misc elements
---------------- */
[hidden],
.hidden,
.hide {
    display: none;
}
/*Скрываем элемент, но оставляем его содержимое для устройств чтения с экрана. Например название блока меню - 'Навигация'*/
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(100%);
}
.block { padding: 10px; }
.nowrap { white-space: nowrap; }
.uppercase { text-transform: uppercase; }
.bold { font-weight: var(--bold); }
.bolder { font-weight: var(--bolder); }
.strike { text-decoration: line-through; }
.underline { text-decoration: underline; }
.hint,
.gray { color: var(--secondary)}
.float-left { float: left; }
.float-right { float: right; }
.align-left { text-align: left; }
.align-center { text-align: center; }
.align-right { text-align: right; }
.clear-left { clear: left; }
.clear-right { clear: right; }
.clear-both { clear: both; }
.img-wrap {
    font-size: 0;
    line-height: 1;
}
img {
    max-width: 100%;
    outline: none;
  }

.flex {
    display: flex;
}
.flex--wrap {
    flex-wrap: wrap;
}
.flex--v {
    align-items: center;
}
.flex--center {
    align-items: center;
    justify-content: center;
}
.flex--column {
    flex-direction: column;
}

.ico {
    display: inline-block;
    stroke: currentColor;
    flex-shrink: 0;
}
.ico--size-x {
    width: 24px;
    min-width: 24px;
    height: 24px;
    min-height: 24px;
}
.ico--size-m {
    width: 20px;
    min-width: 20px;
    height: 20px;
    min-height: 20px;
}
.ico--size-s {
    width: 16px;
    min-width: 16px;
    height: 16px;
    min-height: 16px;
}
.ico--left {
    margin-right: 12px;
}
.ico--right {
    margin-left: 12px;
}

/*Кастомные чекбоксы*/
input[type=checkbox],
input[type=radio] {
    position: relative;
    width: 20px;
    height: 20px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1em;
    border: 1px solid var(--accent);
    border-radius: 4px;
    appearance: none;
    vertical-align: middle;
    top: -2px;
    margin-right: 10px;
    padding: 0;
    cursor: pointer;
}
input[type=radio] {
    border-radius: 50%;
}
input:checked {
    border-color: var(--accent);
}
input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.333 4 6 11.333 2.667 8' stroke='%23111111' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
input:checked[type=radio] {
    box-shadow: inset 0 0 0 4px #FFF;
    background-color: var(--accent);
}

/*Адаптивные таблицы обернуть блоком с данным css*/
.table-responsive {
  width: 100%;
  overflow-y: auto;
  margin: 0 0 1em;
}

/* Menus
-------- */
/*
ul.menu-v { margin: 0 0 20px -6px; padding: 0; }
ul.menu-v li { list-style: none; padding: 0; margin: 3px 0 8px; line-height: 1.1em; }
ul.menu-v li a { padding: 5px 6px; display: block; }
ul.menu-v li ul.menu-v { margin-left: 10px; margin-top: 5px; margin-bottom: 15px; }
ul.menu-v li ul.menu-v li a { padding: 2px 6px; }
ul.menu-h { margin: 0; padding: 0; }
ul.menu-h.bottom-padded { margin-bottom: 15px; }
ul.menu-h li { list-style: none; display: inline-block; padding: 0 10px 0 0; line-height: 1.1em;}
ul.menu-h li a { display: inline-block; padding: 3px 5px; }
ul.menu-h li a img.icon16 { position: relative; top: 3px; left: -3px; }
ul.menu-h li a i.icon16 { margin-top: -0.1em; }
ul.menu-h li.selected a { color: #000; text-decoration: none; }
ul.menu-h.dropdown li { position: relative; }
ul.menu-h.dropdown li.collapsible { background: url('img/darr.png') no-repeat; background-position: right center; margin-right: 15px !important; padding-right: 5px; }
ul.menu-h.dropdown li a { display: block; }
ul.menu-h.dropdown ul.menu-v { display: none; position: absolute; width: 200px; top: 100%; left: -3px; background: #fff; border: 1px solid #ccc; padding: 0; z-index: 13012; margin-left: 0; -moz-box-shadow: 0px 1px 3px rgba(0,0,0,0.1); -webkit-box-shadow: 0px 1px 3px rgba(0,0,0,0.1); box-shadow: 0px 1px 3px rgba(0,0,0,0.1); margin-top: 0; }
ul.menu-h.dropdown ul.menu-v li { display: block; width: 200px; padding: 0; margin: 0; border-bottom: 1px solid #eee; }
ul.menu-h.dropdown ul.menu-v li.collapsible { background: url('img/rarr.png') no-repeat; background-position: right center; margin-right: 0 !important; }
ul.menu-h.dropdown ul.menu-v li a { display: block; padding: 10px 25px 10px 15px; margin: 0; font-weight: normal !important; }
ul.menu-h.dropdown ul.menu-v li i.icon16 { margin-left:-20px; margin-right:4px; }
ul.menu-h.dropdown ul.menu-v li ul.menu-v { top: -1px; left: 100%; margin-left: 0; }
html:not(.is-touch-enabled) ul.menu-h.dropdown li:hover > ul.menu-v,
html:not(.is-touch-enabled) ul.menu-h.dropdown li:hover > .inner,
ul.menu-h.dropdown li.is-opened > ul.menu-v,
ul.menu-h.dropdown li.is-opened > .inner { display: block; }
html:not(.is-touch-enabled) ul.menu-h.dropdown.disabled li:hover > ul.menu-v,
html:not(.is-touch-enabled) ul.menu-h.dropdown.disabled li:hover > .inner,
ul.menu-h.dropdown.disabled li.is-opened > ul.menu-v,
ul.menu-h.dropdown.disabled li.is-opened > .inner { display: none !important; }
ul.menu-h.dropdown li .inner { display: none; width: 400px; position: absolute; left: -3px; top: 100%; z-index: 13012; background: #fff; }
ul.menu-h.dropdown li .inner > ul.menu-v { display: block; }
ul.menu-h.dropdown li .inner.shadowed { background: #fff; border: 1px solid #ccc; padding: 0; margin-left: 0; -moz-box-shadow: 0px 1px 3px rgba(0,0,0,0.1); -webkit-box-shadow: 0px 1px 3px rgba(0,0,0,0.1); box-shadow: 0px 1px 3px rgba(0,0,0,0.1); margin-top: 0; }
.float-right ul.menu-h.dropdown ul.menu-v { left: auto; right: -3px; }
.float-right ul.menu-h.dropdown ul.menu-v li { padding-left: 13px; margin-left: 0 !important; }
.float-right ul.menu-h.dropdown ul.menu-v li.collapsible { background: url('img/larr.png') no-repeat; background-position: left center; padding-left: 13px; margin-left: 0 !important; }
.float-right ul.menu-h.dropdown ul.menu-v li ul.menu-v { left: auto; right: 100%; }
*/

ul[class],
ol[class] {
    list-style: none;
    padding: 0;
    margin: 0;
}
.menu__list {
    gap: 10px 32px;
}

/* Sign up & Login forms
------------------------ */

.wa-auth-adapters ul { padding: 0; min-height: 16px; }
.wa-auth-adapters ul li { list-style: none; float: left; padding: 0 15px 0 0; }
.wa-auth-adapters ul li a,
.wa-auth-adapters ul li span { display: block; padding: 0px 5px; }
.wa-auth-adapters ul li a img,
.wa-auth-adapters ul li span img { position: relative; top: 3px; left: -3px; }
.wa-auth-adapters p { clear: left; color: var(--secondary); font-size: 0.9em; width: 40%; }
.wa-auth-adapters.wa-connect { margin-top: 20px; }

.wa-form { float: left; margin: 10px 0; overflow: visible; }
.wa-form .wa-field { clear: left; margin: 0; padding-top: 3px; }
.wa-form .wa-field .wa-name { float: left; width: 155px; padding-top: 0.05em; padding-bottom: 10px; font-size: 0.95em; }
.wa-form .wa-field.wa-separator { height: 10px; }
.wa-form .wa-field .wa-value { margin-left: 180px; margin-bottom: 5px; position: relative; }
.wa-form .wa-field .wa-value input.wa-error { border: 2px solid red; }
.wa-form .wa-field .wa-value .wa-error-msg { font-size: 0.9em; color: red; display: block; }
.wa-form .wa-field .wa-value input[type="text"],
.wa-form .wa-field .wa-value input[type="email"],
.wa-form .wa-field .wa-value input[type="password"] { width: 30%; min-width: 260px;  margin:0;}
.wa-form .wa-field .wa-value textarea { min-width: 300px; height: 70px; }
.wa-form .wa-field .wa-value input.wa-captcha-input { width: 100px; min-width: 0; }
.wa-form .wa-field .wa-value label { display: block; }
.wa-form .wa-field .wa-value .wa-captcha img { margin-left: 0; }
.wa-form .wa-field .wa-value .errormsg { margin-left: 0; }
.wa-form .wa-field .wa-value.wa-submit { margin-top: 10px; }
.wa-form .wa-field .wa-value p label { display: block; margin: 0; }
.wa-form .wa-field .wa-value p { line-height: 1.6em; margin-bottom: 23px; position: relative; }
.wa-form .wa-field .wa-value p span { color: var(--secondary); font-size: 0.9em; display: block; }
.wa-form .wa-field .wa-value p i.icon16 { float: left; left: -20px; margin-top: 2px; position: absolute; }
.wa-form .wa-field .wa-value p input { display: block; margin-bottom: 2px; }
.wa-form .wa-field .wa-value p input[type="radio"],
.wa-form .wa-field .wa-value p input[type="checkbox"] { display: inline; }
.wa-form .wa-field .wa-value p .field.wa-required span:after { content: " *"; color: #faa; }
.wa-form .wa-field.wa-required .wa-name:after { content: " *"; color: #faa; }

.wa-captcha { padding: 7px 0 10px; }
.wa-captcha p { clear: left; margin: 0; }
.wa-captcha strong { font-size: 1.2em; }
.wa-captcha p img { float: left !important; margin-right: 5px; margin-top: -8px; }
.wa-captcha .wa-captcha-refresh { font-size: 0.8em; text-decoration: underline; color: var(--secondary); }
.wa-captcha .wa-captcha-input { display: inline !important; }
.wa-captcha .errormsg { display: inline-block; margin-left: 10px; }

input.error, textarea.error { border: 2px solid red; }
.errormsg { color: red; margin-left: 170px; display: block; }

/* Multi-column layout
---------------------- */

.row { clear: both; border-top: 1px solid var(--secondary); padding: 20px 0; }
.row.no-border { border: none; }
.col { float: left; }
.col.w1 { width: 6%; }
.col.w2 { width: 12%; }
.col.w3 { width: 18%; }
.col.w4 { width: 24%; }
.col.w5 { width: 30%; }
.col.w6 { width: 36%; }
.col.w7 { width: 42%; }
.col.w8 { width: 48%; }
.col.w9 { width: 54%; }
.col.w10 { width: 60%; }
.col.w11 { width: 66%; }
.col.w12 { width: 72%; }
.col.w13 { width: 78%; }
.col.w14 { width: 84%; }
.col.w15 { width: 90%; }
.col.w16 { width: 96%; }

.gap-row-xxl {
    row-gap: var(--gap-xxl);
}
.gap-row-l {
    row-gap: var(--gap-l);
}
.gap-row-x {
    row-gap: var(--gap-x);
}
.gap-row-m {
    row-gap: var(--gap-m);
}
.gap-row-s {
    row-gap: var(--gap-s);
}
.gap-row-xs {
    row-gap: var(--gap-xs);
}
.gap-col-xxl {
    column-gap: var(--gap-xxl);
}
.gap-col-l {
    column-gap: var(--gap-l);
}
.gap-col-x {
    column-gap: var(--gap-x);
}
.gap-col-m {
    column-gap: var(--gap-m);
}
.gap-col-s {
    column-gap: var(--gap-s);
}
.gap-col-xs {
    column-gap: var(--gap-xs);
}

/* Misc .table table
-------------------- */

table th { color: var(--secondary); }
table th,
table td { padding: 5px; }
table.table { margin-top: 25px; width: 100%; border-spacing:0; border-collapse:collapse; }
table.table th { padding-left: 7px; padding-right: 7px; }
table.table td { padding: 15px 7px; border-bottom: 1px solid var(--secondary); }
table.table td.min-width { width: 1%; }
table.table td p { margin: 0; }
table.table td input.numerical { width: 50px; margin-right: 5px; text-align: right; }
table.table tr.no-border td { border: none; }
table.table tr.thin td { padding-top: 13px; padding-bottom: 0; }
table.table tr.service td { padding-top: 5px; padding-bottom: 5px; padding-left: 25px; font-size: 0.8em; color: var(--secondary); }

/* 16x16 Icons
-------------- */

i.icon16 { background-repeat:no-repeat; height:16px; width:16px; display:inline-block; text-indent:-9999px; text-decoration:none!important; }
* i.icon16 { text-decoration:none!important; vertical-align:top; margin: 0.2em 0.25em 0 0; }
.icon16.loading { background-image: url('/wa-content/img/loading16.gif'); }
.icon16.rss { background-image: url("img/rss.png"); }
.icon16.facebook { background-image: url("img/facebook.png"); }
.icon16.twitter { background-image: url("img/twitter.png"); }
.icon16.cart { background-image: url('img/cart-full.png'); }
.icon16.cart.empty { background-image: url('img/cart-empty.png'); opacity: 0.6; }
.icon16.userpic20 { background-position: -2px -2px; }
.icon16.color { border-radius: 50%; border: 1px solid rgba(0,0,0,0.2); width: 14px; height: 14px; }
i.icon16.loading {
    background-image: url("./img/icons/loading32.gif");
    background-position: 0 0;
    background-size: 16px 16px;
}

/* 10x10 Icons
-------------- */

i.icon10 { background-repeat:no-repeat; height:10px; width:10px; display:inline-block; text-indent:-9999px; text-decoration:none!important; }
* i.icon10 { text-decoration:none!important; vertical-align:top; margin: 0.2em 0.1em 0 0; }
.icon10.darr { background-image: url('img/darr.png'); }

/* Clear theme layout
--------------------- */

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.site-content {
    flex: 1 0 auto;
}
.sections {
    display: flex;
    flex-direction: column;
    gap: var(--gap-section);
    margin: var(--gap-section) 0;
}
.section--collors,
.section--bg {
    padding: var(--gap-section) 0;
}
.section--gray {
    background-color: var(--light-bg);
}
.section--accent {
    background-color: var(--accent);
    color: #fff;
}
.site-section {
    margin-top: var(--gap-section);
}
.section--collors + .section--collors {
    margin-top: calc(var(--gap-section) * -1);
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--gap-l);
}
.section-header.align-center {
    flex-direction: column;
    gap: var(--gap-m);
    justify-content: center;
}
.container { 
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}
.container--text {
    max-width: 860px;
}

.sidebar.left { width: 170px; float: left; }
.sidebar.right { width: 190px; float: right; }
.content.left { margin-left: 200px; }
.content.right { margin-right: 200px; }
.content.right #page { margin-right: 50px; }
.sidebar p { line-height: 1.3em; }
.sidebar.left.double { width: 270px; float: left; }
.content.left.double { margin-left: 300px; float: left; }
.sidebar.right.double { width: 270px; float: right; }
.content.right.double { margin-right: 300px; }
.sidebar.left.triple { width: 500px; float: left; }
.content.left.triple { margin-left: 500px; margin-top: 0; }
.sidebar.right.triple { width: 500px; float: right; }
.content.right.triple { margin-right: 500px; margin-top: 0; }
.content.top-padded { padding-top: 50px; }
.page { margin-right: 200px;  }
.static-pages { float: right; }

.header {
    padding: var(--gap-s) 0;
    background-color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}
.header__contacts a {
    color: var(--primary);
}
.header__contacts a:hover {
    color: var(--accent);
}

.logo {
    flex: 1;
}
.hero {
    display: flex;
    align-items: center;
    background-image: url(/wa-data/public/site/themes/remanptz/img/hero.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    position: relative;
}
.hero:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    background-image: -webkit-linear-gradient(top, rgba(51, 51, 51, 0.6), rgba(4, 30, 56, 0.5));
}

.hero__main {
    display: flex;
    flex-direction: column;
    gap: var(--gap-x);
    color: #fff;
    max-width: 760px;
    margin: auto 0;
    position: relative;
    z-index: 1;
    padding-top: var(--gap-section);
}
.hero__desc {
   opacity: 0.8;
}
.hero__buttons {
    gap: var(--gap-s);
    max-width: 520px;
    margin-top: var(--gap-xxl);
}
.hero__buttons > .button:first-child {
    flex: 2;
}
.hero__buttons > .button:last-child {
    flex: 1;
}

.scale img {
    transition: scale 0.1s;

}
.scale:hover img {
    scale: 1.05;
}
.products {
    --cols-count: 3;
}
.products__list {
    display: grid;
    gap: var(--gap-m);
    grid-template-columns: repeat(var(--cols-count), minmax(0, 1fr));
}
.product-item {
    display: flex;
    flex-direction: column;
    gap: calc(var(--gap-s) + 4px);
}
.product-item__img {
    position: relative;
    height: 0;
    padding-top: 72.16%;
    background-color: var(--light-bg);
    overflow: hidden;
}
.product-item__img img {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    
}

.product-item__name {
    text-transform: uppercase;
    font-weight: var(--bolder);
    line-height: 1.2;
}
.product-item button {
    margin-top: auto;
    align-self: flex-start;
}

.gallery {
    --cols-count: 4;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 1820px;
    margin: auto;
}
.gallery__list {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(var(--cols-count), minmax(0, 1fr));
}
.gallery-item{
    overflow: hidden;
    height: 0;
    padding-top: 100%;
    background-color: #fefefe;
    position: relative;
}
.gallery-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    display: block;
}

.text-list {
    --cols-count: 3;
    padding: var(--gap-s) 0;
}
.text-list__list {
    display: grid;
    gap: var(--gap-l);
    grid-template-columns: repeat(var(--cols-count), minmax(0, 1fr));
}
.text-list-item__count {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--bold);
    flex-shrink: 0;
}
.text-list-item.flex {
    gap: 20px;
}
.text-list-item__name {
    line-height: 1.2;
}
.hero.feedback {
    background-image: url(/wa-data/public/site/themes/remanptz/img/hero2.webp);
}
.hero.feedback:after {
    background-image: -webkit-linear-gradient(top, rgba(0, 12, 26, 0.7), rgba(0, 12, 26, 0.6));
}
.feedback__main {
    position: relative;
    z-index: 1;
    color: #fff;
}
.form__row input {
    padding: 20px 16px;
    border: 1px solid #fff;
    border-radius: 6px;
    line-height: 1;
    outline: 0;
    box-sizing: border-box;
    width: 100%;
}
.feedback__main svg {
    width: 45px;
    height: 111px;
    margin-top: -60px;
    position: relative;
    left: -30px;
    top: 50px;
}
.feedback__main .button--white {
    min-width: 280px;
}
.form__row {
    width: 100%;
    position: relative;
}
.form__row .button {
    width: 100%;
}
.input.is_error {
    border-color: red;
}
.form__row .error {
    position: absolute;
    color: red;
    top: 62px;
    left: 0;
    font-size: 14px;
    line-height: 1.2;
}
.police {
    text-align: center;
    margin-top: var(--gap-x);
}
.map {
    font-size: 0;
    margin-top: var(--gap-l);
    margin-bottom: calc(var(--gap-section) * -1);
}
.map iframe {
    width: 100%;
}

.s-loading-section { position: fixed; top: 0; left: 0; display: flex; width: 100%; height: 100%; justify-content: center; align-items: center; background: rgba(255,255,255,.5); z-index: 100; }
.s-loading-section .s-loading-content { display: inline-block; }

.footer {
    flex: 0 0 auto;
}

.modal {
    display: none;
}
.modal .form__row input {
    border: 1px solid #bbb;
}

.video-gallery {
    padding-top: calc(var(--gap-section));
    /*padding-left: 15px;
    padding-right: 15px;*/
}
.video-gallery__list:not(.swiper-wrapper) {
    display: flex;
    gap: var(--gap-m);
    justify-content: center;
}
.video-gallery__item {
    
    font-size: 0;
    text-align: center;
}
.video-gallery__item video {
    height: 100%;
    width: 100%;
    max-height: 500px;
    max-width: 888px;
}
.video-gallery__list.swiper-wrapper {
    padding-bottom: 32px;
}
.video-gallery .swiper {
    margin-bottom: -32px;
}

@media (max-width: 991px) {
    :root {
        --gap-section: 90px;
        --gap-xxl: 48px;
        --headline-size-l: 42px;
        --headline-size-x: 32px;
        --headline-size-m: 20px;
        --text-size-l: 20px;
        --text-size-x: 16px;
    }
    .logo img {
        width: 83px;
    }
    .gallery {
        --cols-count: 3;
    }
    .text-list {
        --cols-count: 2;
    }
    .form__main{
        flex-direction: column;
        gap: var(--gap-s);
        max-width: 560px;
        margin: auto;
    }
    .form__row .button {
        width: 100%;
    }
    .police {
        line-height: 1.2;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 760px) {
    .header .email,
    .header .button {
        display: none;
    }
    .products,
    .gallery {
        --cols-count: 2;
    }
    .text-list {
        --cols-count: 1;
    }
    .text-list-item__count {
        width: 40px;
        height: 40px;
    }
}
@media (max-width: 480px) {
    :root {
        --headline-size-l: 32px;
        --headline-size-x: 28px;
        --text-size-l: 18px;
        --gap-l: 36px;
    }
    .feedback__main svg {
        display: none;
    }
    body {
        line-height: 1.3;
    }
    .hero__buttons {
        flex-wrap: wrap;
    }
    .hero__buttons > .button:first-child,
    .hero__buttons > .button:last-child {
        flex: 100%;
    }
    .products {
        --cols-count: 1;
    }
    .products__list {
        gap: var(--gap-l) var(--gap-m);
    }
    .hero__buttons {
        margin-top: var(--gap-l);
    }
    .police {
        font-size: 13px;
    }
    .text-list-item {
        gap: 16px;
    }
}
