:root {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

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

:focus,
:active {
  outline: none;
}

html {
  width: 100%;
  height: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: 158px;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  font: var(--fs-base) / calc(var(--fs-base) + 10px) Inter, Arial, sans-serif;
  color: var(--basic);
  text-rendering: optimizeSpeed;
}

body._lock {
  overflow: hidden;
}

main {
  flex: 1;
}

h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  padding: 0;
}

button {
  background-color: transparent;
  cursor: pointer;
}

/*scroll*/
.scrollbar {
  scrollbar-width: thin;
  overscroll-behavior: contain;
  overflow: hidden;
  overflow-y: auto;
}

.scrollbar::-webkit-scrollbar {
  width: 4px;
}

.scrollbar::-webkit-scrollbar-track {
  border-radius: 8px;
}

.scrollbar::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: #999;
}

.scrollbar::-webkit-scrollbar-thumb:window-inactive {
  background: #999;
}

/**/

/*inputs*/
input::-webkit-input-placeholder {
  color: var(--muted);
}

input::-moz-input-placeholder {
  color: var(--muted);
}

input::-ms-input-placeholder {
  color: var(--muted);
}

input::-o-input-placeholder {
  color: var(--muted);
}

/**/

/**/

.topic-row {
  align-items: flex-end;
}

@media (max-width: 767px) {
  .topic-row__item {
    flex-basis: 100%;
  }
}

/**/

/*under footer register site*/
.register-site {
  --pt-reg: 60px;
  --pb-reg: 53px;
  padding: var(--pt-reg) 0px var(--pb-reg);
  border-top: 1px solid var(--stroke);
  margin-top: 80px;
}

.register-site__inner {
  max-width: 992px;
  margin: 0px auto;
}

@media (min-width: 768px) {
  .register-site .icon,
  .register-site .description {
    padding-top: 7px;
  }
}

@media (max-width: 500px) {
  .register-site {
    --pt-reg: 33px;
    --pb-reg: 33px;
    margin-top: 30px;
  }

  .register-site__item {
    flex-basis: 100%;
    text-align: center;
  }
}

/**/

/*dark-block*/
.dark-block-hover:hover:before {
  opacity: 0.5;
}

.dark-block-hover:before {
  content: "";
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  background: #000;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.2s ease-in-out;
}

.dark-block-after:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 25%;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.5) 100%);
  transition: opacity 0.2s ease-in-out;
}

/**/

/*line-clamp*/
.line-clamp {
  --line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--line-clamp);
  overflow: hidden;
}

.line-clamp.line-clamp--4 {
  --line-clamp: 4;
}

.line-clamp.line-clamp--2 {
  --line-clamp: 2;
}

.line-clamp.line-clamp--1 {
  --line-clamp: 1;
}

.line-clamp.line-clamp--10 {
  --line-clamp: 10;
}

/**/

/*other*/
.maxwidth {
  max-width: var(--maxwidth);
  margin: 0px auto;
  padding: 0px var(--maxwidth-gap);
}

.maxwidth--off {
  max-width: none;
  margin: 0px auto;
  padding: 0;
}

@media (max-width: 767px) {
  .maxwidth--off-from-767 {
    max-width: none;
    margin: 0 auto;
    padding: 0;
  }
}

.bordered {
  border: 1px solid var(--stroke);
}

.dotted {
  border-bottom: 1px dotted;
}

.grey-bg {
  background: #f7f8f9;
}

.dark-bg {
  background: var(--dark);
}

.grey-bottom-border {
  border-bottom: 1px solid var(--light-basic);
}

.light-top-border {
  border-top: 1px solid var(--stroke);
}

.shadow-hovered:hover {
  box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.07);
  border-color: transparent;
  transition: box-shadow ease 0.3s, border ease 0.3s, background ease 0.3s;
  z-index: 1;
}

.shadow-white-hovered:hover {
  border-color: #fff;
  background: #fff;
}

.hidden {
  display: none;
}

.loading {
  cursor: default;
  opacity: 0.4;
  position: relative;
}

.loading:before {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  z-index: 5;
}

.text_after_items > p:first-of-type {
  margin-top: 31px;
}

.block-wrapper + .block-wrapper .slider-topic {
  border-top: 1px solid #e9ecef;
  margin-top: 61px;
}

.block-wrapper + .block-wrapper .slider-topic__inner {
  padding-top: 60px;
}

.overflow-width {
  max-width: 100%;
  overflow: hidden;
}

@media (max-width: 600px) {
  .block-wrapper + .block-wrapper .slider-topic {
    margin-top: 10px;
  }

  .block-wrapper + .block-wrapper .slider-topic__inner {
    padding-top: 20px;
  }
}

div[id^="wait_comp"] {
  display: none;
}

/**/

/*lazy*/
.lazyload,
.lazyloading {
  opacity: 0;
}

.lazyloaded {
  opacity: 1;
  transition: opacity 300ms;
}

/**/

/*load*/

.loadings {
  background: url(images/loaders/preloader.gif) no-repeat scroll center center rgba(0, 0, 0, 0) !important;
  border-color: rgba(0, 0, 0, 0) !important;
  color: rgba(0, 0, 0, 0) !important;
  cursor: default !important;
}

.loadings * {
  background: rgba(0, 0, 0, 0) !important;
  border-color: rgba(0, 0, 0, 0) !important;
  color: rgba(0, 0, 0, 0) !important;
  cursor: default !important;
  visibility: hidden;
}
