html {
  font-size: var(--font-size);
  background-color: #f5f5f5;
}

body {
  position: relative;
  width: 100%;
  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;
}

::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);
}

* {
  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 {
  margin-top: 0;
  margin-bottom: 0;
  font-family: var(--font_accent);
}

h1,.h1,.text-content h1 {
  font-size: clamp(1.75rem, 1.375rem + 1.88vw, 3.625rem);
  line-height: 1.1;
}

h2,.h2, .text-content h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 3rem);
  line-height: 1.1;
}

h3,.h3, .text-content h3 {
  font-size: clamp(1.25rem, 1.2rem + 0.25vw, 1.5rem);
}


.pb40 {
  padding-bottom: clamp(1.875rem, 1.75rem + 0.63vw, 2.5rem);
}

.pb30 {
  padding-bottom: 30px;;
}

.pb20 {
  padding-bottom: 20px;
}

p {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.3;
}

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: 100%;
  margin-right: auto;
  margin-left: auto;
}

.container-xs {
  max-width: var(--container-xs);
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding: 0 15px;
}

.hidden {
  display: none;
}

.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;
}

.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;
}