html {
  font-size: var(--font-size);
  background-color:  var(--clr-50);
}

body {
  position: relative;
  width: 100%;
  min-width: 350px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--clr-text);
  font-size: 1rem;
  line-height: 1.3;
  font-family: var(--font);
  text-align: left;
  background: var(--clr-50);
}

::selection {
  color: #fff;
  background-color: var(--clr-accent);
}

:focus {
  outline: none !important;
}

input, textarea, button, select, a {
  margin: 0;
  padding: 0;
  border: none;
  outline: none !important;
  font-size: 1em;
  font-family: inherit;
  background: none;
  box-shadow: none;
}

input, button, select {
  line-height: 1;
}

input[type=number] {
  -moz-appearance: textfield;
}
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

*[class$=__media] {
  flex-shrink: 0;
}

button {
  cursor: pointer;
  font-family: var(--font_accent);
}

* {
  -webkit-tap-highlight-color: transparent !important;
}

textarea {
  overflow: auto;
  resize: none;
}

article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section, form {
  display: block;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--main-content-gap);
  flex-grow: 1;
}

* {
  box-sizing: border-box;
}

*::before, *::after {
  box-sizing: border-box;
}

.hero_block_content strong {
    font-family: var(--font_accent);
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  margin-top: 0;
  margin-bottom: 0;
  font-family: var(--font_accent);
  color: var(--clr-text);
  /* font-weight: 400; */
}

h1,.h1,.text-content h1 {
  font-size: clamp(2rem, 2.038vw + 1.554rem, 4rem);
  line-height: 1.1;
  font-weight: 700;
}
h1 span.small {
  font-size: clamp(1rem, 0.6656rem + 1.5287vw, 2.5rem);
}
h2,.h2, .text-content h2 {
font-size: clamp(1.375rem, 1.146vw + 1.124rem, 2.5rem);
  line-height: 1.1;
  font-weight: 600;
}

h3,.h3, .text-content h3 {
  font-size: clamp(1.25rem, 0.764vw + 1.083rem, 2rem);
  line-height: 1.3;
  font-weight: 600;
}

h4,.h4, .text-content h4 {
  /* font-size: clamp(1rem, 0.8885rem + 0.5096vw, 1.5rem); */
  font-size: clamp(1rem, 0.382vw + 0.916rem, 1.375rem);
  font-weight: 600;
  font-family: var(--font_accent);
  line-height: 1.2;
}
h5,.h5, .text-content h5 {
  font-size: clamp(1rem, 0.255vw + 0.944rem, 1.25rem);
  font-weight: 600;
  font-family: var(--font_accent);
  line-height: 1.2;
}
.pb40 {
  padding-bottom: clamp(1.875rem, 1.75rem + 0.63vw, 2.5rem);
}

.pb30 {
  padding-bottom: 30px;
}

.pb20 {
  padding-bottom: 20px;
}
.pt0 {
  padding-top: 0px !important;
}
.pt20 {
  padding-top: 20px;
}
.pt30 {
  padding-top: 30px;
}
.pt40 {
  padding-top: 40px;
}
.mt0 {
  margin-top: 0 !important;
}
p {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.6;
}

b, strong {
  font-weight: bold;
}

img, video {
  height: auto;
  border-style: none;
  vertical-align: middle;
  object-fit: cover;
  object-position: center;
}

img {
    max-width: 100%;
}

img.contain, video.contain {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}

a[href^="tel:"] {
  white-space: nowrap;
}

a:not([href]) {
  cursor: default;
}

a {
  color: var(--clr-text);
  text-decoration: none;
  transition: .5s all;
}

a:hover {
  color: var(--clr-accent) !important;
  transition: .5s all;
}

svg, path {
    /* transition: .5s all; */
}

ul, ol, dl {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

svg:not(:root) {
  overflow: hidden;
}

table {
  border-collapse: collapse;
}

label {
  display: block;
  margin-bottom: 0;
}

.no-scroll {
  overflow: hidden;
}

.container {
  max-width: var(--container);
  /* width: calc(100% - 56px); */
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-left: clamp(0.9375rem, 0.4777rem + 2.1019vw, 3rem) !important;
  padding-right: clamp(0.9375rem, 0.4777rem + 2.1019vw, 3rem) !important;
  border-radius: var(--border-radius);
}
section > .container, #footer > .container {
  /* background: var(--footer-color); */
  border-radius: var(--border-radius);
  /* padding-top: clamp(0.9375rem, 0.4777rem + 2.1019vw, 3rem) !important; */
  /* padding-bottom: clamp(0.9375rem, 0.4777rem + 2.1019vw, 3rem) !important; */
}
.container-xs {
  max-width: var(--container-xs);
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding: 0 15px;
}

.hidden {
  display: none !important;
}

.img {
  display: block;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.img img, .img svg, .img video {
  display: block;
  z-index: 0;
  position: relative;
  width: 100%;
  height: auto;
  margin: 0 auto;
  transition: opacity 0.3s;
}

.img_contain img, .img_contain svg, .img_contain video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.img_height img, .img_height svg {
  width: auto;
  height: 100%;
}

.img_over img.under, .img_over svg.under, .img_over video.under {
  opacity: 0;
  z-index: 1;
  position: absolute;
  inset: 0;
}

.img_over img.over, .img_over img.under, .img_over svg.over, .img_over svg.under, .img_over video.over, .img_over video.under {
  transition: opacity 0.3s;
}

.img_over:hover img.over, .img_over:hover svg.over, .img_over:hover video.over {
  opacity: 0;
}

.img_over:hover img.under, .img_over:hover svg.under, .img_over:hover video.under {
  opacity: 1;
}

.img_absolute {
  position: absolute;
  inset: 0;
}

.img_absolute img, .img_absolute svg, .img_absolute video {
  width: 100%;
  height: 100%;
  inset: 0;
}

.is-block {
  display: block;
}

.flex {
  display: flex;
}

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

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

.flex-align_center {
  align-items: center;
}

.bold {
  font-weight: 700;
}

.wrapper {
  /* overflow: hidden; */
  background: var(--clr-wrapper);
  /* padding: 0 15px; */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.items, .row {
  display: flex;
  flex-wrap: wrap;
  margin: calc(0px - var(--gap));
}

.item, .col {
  padding: var(--gap);
}

.inner {
  display: block;
  height: 100%;
}

.v992, .v768, .v576, .v320 {
  display: none !important;
}

#jGrowl {
  display: none !important;
}

.hscroll {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.hscroll::-webkit-scrollbar {
  display: none;
}

.clear {
  clear: both;
}

.scroll {
  overflow-y: auto;
}

.scroll::-webkit-scrollbar, textarea::-webkit-scrollbar {
  width: 6px;
}
.scroll::-webkit-scrollbar-track, textarea::-webkit-scrollbar-track {
  border-radius: var(--border-radius-div);
  background-color: #cccccc;
}
.scroll::-webkit-scrollbar-thumb, textarea::-webkit-scrollbar-thumb {
  border-radius: var(--border-radius-div);
  background-color: var(--clr-accent);
}
.scroll::-webkit-scrollbar-thumb:hover, textarea::-webkit-scrollbar-thumb:hover {
  background-color: var(--clr-accent-hover);
}

ymaps ymaps[class$=map-copyrights-promo] {
  display: none !important;
}

.fancybox__container *, .fancybox__container *:before, .fancybox__container *:after {
  box-sizing: border-box;
}


[class*=ymaps-2-1][class*=-ground-pane] {
    -webkit-filter: grayscale(100%);
}