html,
body,
p {
  margin: 0;
  padding: 0;
}
html,
body {
  overflow-x: hidden;
}
a {
  text-decoration: none;
}
/* margins */
.__mt4 {
  margin-top: 4px;
}

.__mt8 {
  margin-top: 8px;
}

.__mt12 {
  margin-top: 12px;
}

.__mt16 {
  margin-top: 16px;
}

.__mt24 {
  margin-top: 24px;
}

.__mt32 {
  margin-top: 32px;
}

.__ml-auto {
  margin-left: auto;
}

.__ml16 {
  margin-left: 16px;
}
/* fonts */
.text__title-1 {
  font-family: "SB Sans Display", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 36px;
  line-height: 46px;
  color: #ffffff;
}

.vmeste .programs__text_large {
  font-size: 24px;
  line-height: 32px;
}

.text__title-2 {
  font-family: "SB Sans Display", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  color: #000000;
}

.text__title-3 {
  font-family: "SB Sans Display", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: #000000;
}

.text__title-4 {
  font-family: "SB Sans Display", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 68px;
  line-height: 78px;
  color: #ffffff;
}

.text__title-5 {
  font-family: "SB Sans Display", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 26px;
  color: #ffffff;
}

.text__text-1 {
  font-family: "SB Sans Text", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 24px;
  color: #ffffff;
}

.text__text-2 {
  font-family: "SB Sans Text", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 22px;
  color: #000000;
}

.text__text-3 {
  font-family: "SB Sans Display", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: #878b90;
}

.text__text-4 {
  font-family: "SB Sans Text", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 21px;
  color: #ffffff;
}

.text__text-5 {
  font-family: "SB Sans Display", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 24px;
  color: #333f48;
}

.text__text-6 {
  font-family: "SB Sans Display", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  color: #ffffff;
}

.text__white {
  color: #ffffff;
}

.text__black {
  color: #000000;
}

.text__gray {
  color: #333f48;
}

.text__gray-light {
  color: #878b90;
}

.text__gray-white {
  color: #aaafb7;
}

.text__wrap {
  overflow-wrap: break-word;
}

.text__align_center {
  text-align: center;
}

/* main fonts */

.vmeste {
  display: block;
  position: relative;
  width: 100%;
}

.vmeste__banner {
  width: 100%;
  background: radial-gradient(
      57.8% 57.42% at 62.55% 57.42%,
      #cd79f4 0%,
      #8d69f4 100%
    )
    /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */;
}

.vmeste .banner__content {
  display: grid;
  align-items: center;
  width: 100%;
  height: 550px;
  grid-template-columns: 5fr 7fr;
  column-gap: 24px;
}

.vmeste .banner__img_block {
  display: block;
  width: 100%;
  height: 550px;
  object-fit: contain;
  object-position: center;
  margin: 0px 0px 0px auto;
}

.vmeste .banner__text_block {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vmeste__about {
  width: 100%;
  margin: 64px 0px;
  height: auto;
}

.vmeste .about__content {
  width: 100%;
  height: auto;
  display: grid;
  box-sizing: border-box;
  grid-template-columns: 4fr 8fr;
  column-gap: 24px;
}

.vmeste .about__text_block_text {
  width: 596px;
}

.vmeste .about__text_block {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.vmeste .vmeste__director {
  width: 100%;
  height: 634px;
  background-image: url("../img/vmeste/gref_background.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.vmeste .director__content {
  position: relative;
  width: 100%;
  height: 100%;
}

.vmeste .director__text_block {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.vmeste .director__read_more {
  margin-top: 32px;
  box-sizing: border-box;
  padding: 8px 32px;
  background: #21ba72;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.vmeste .director__read_more:hover {
  background: #209f6f;
}

.vmeste .director__fullname {
  margin-top: 32px;
}

.vmeste .director__post {
  margin-top: 8px;
  text-transform: uppercase;
}

.vmeste .director__title {
  width: 856px;
  letter-spacing: -0.06em;
}

.vmeste .director__picture_block {
  position: absolute;
  width: 741px;
  height: 574px;
  right: -229px;
  bottom: 0;
}

.vmeste .director__img_block {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.vmeste__programs {
  width: 100%;
  box-sizing: border-box;
  padding: 64px 0px;
  background: #f6f6f6;
}

.vmeste .programs__content {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.vmeste .vmeste-nav__block {
  margin-top: 48px;
}

.vmeste .vmeste-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 24px;
}

.vmeste .vmeste-nav__item {
  cursor: pointer;
  display: block;
  position: relative;
  width: 100%;
  height: 520px;
  padding: 48px 32px;
  border-radius: 16px;
}

.vmeste .vmeste-nav__text {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 20;
}

.vmeste .vmeste-nav__tag {
  max-width: fit-content;
  border-radius: 999px;
  padding: 4px 12px;
  background-color: rgba(0, 0, 0, 0.1);
  color: #ffffff;
  font-family: "SB Sans Text", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}

.vmeste .vmeste-nav__title {
  font-family: "SB Sans Display", sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 46px;
  color: #ffffff;
}

.vmeste .vmeste-nav_img {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  object-position: center;
}

.vmeste .programs__button {
  margin-top: auto;
  box-sizing: border-box;
  padding: 8px 32px;
  display: flex;
  width: fit-content;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #f2f2f2;
  box-shadow: 0px 2px 4px rgba(52, 64, 75, 0.06);
  border-radius: 32px;
}

.modal__main::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  background-color: transparent;
  border-radius: 999px;
}

.modal__main::-webkit-scrollbar-thumb {
  height: 8px;
  width: 8px;
  background: #21ba72;
  border-radius: 999px;
}

.modal__main::-webkit-scrollbar-thumb:hover {
  height: 8px;
  width: 8px;
  background: #21ba72;
  border-radius: 999px;
}

.modal__main::-moz-scrollbar-button:decrement,
.modal__main::-moz-scrollbar-button:increment,
.modal__main::-moz-scrollbar-button:vertical:start:decrement,
.modal__main::-moz-scrollbar-button:vertical:end:increment,
.modal__main::-moz-scrollbar-button:horizontal:start:decrement,
.modal__main::-moz-scrollbar-button:horizontal:end:increment,
.modal__main::-webkit-scrollbar-button:vertical:start:decrement,
.modal__main::-webkit-scrollbar-button:vertical:end:increment,
.modal__main::-webkit-scrollbar-button:horizontal:start:decrement,
.modal__main::-webkit-scrollbar-button:horizontal:end:increment {
  width: 0px !important;
  height: 0px !important;
}

.modal__main_hidden::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: transparent;
  border-radius: 999px;
}

.modal__main_hidden::-webkit-scrollbar-thumb {
  height: 8px;
  width: 8px;
  background: #21ba72;
  border-radius: 999px;
}

.modal__main_hidden::-webkit-scrollbar-thumb:hover {
  height: 8px;
  width: 8px;
  background: #21ba72;
  border-radius: 999px;
}

.modal__main_hidden::-moz-scrollbar-button:decrement,
.modal__main_hidden::-moz-scrollbar-button:increment,
.modal__main_hidden::-moz-scrollbar-button:vertical:start:decrement,
.modal__main_hidden::-moz-scrollbar-button:vertical:end:increment,
.modal__main_hidden::-moz-scrollbar-button:horizontal:start:decrement,
.modal__main_hidden::-moz-scrollbar-button:horizontal:end:increment,
.modal__main_hidden::-webkit-scrollbar-button:vertical:start:decrement,
.modal__main_hidden::-webkit-scrollbar-button:vertical:end:increment,
.modal__main_hidden::-webkit-scrollbar-button:horizontal:start:decrement,
.modal__main_hidden::-webkit-scrollbar-button:horizontal:end:increment {
  width: 0px !important;
  height: 0px !important;
}

.vmeste .vmeste__modal {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: flex-start;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.vmeste .modal__overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
  background: #000000;
  opacity: 0.55;
}

.vmeste .modal__content {
  position: relative;
  width: 90%;
  height: calc(100% - 192px);
  margin-top: 153px;
  max-width: 856px;
  display: flex;
  flex-direction: column;
  z-index: 3;
  background: #ffffff;
  box-sizing: border-box;
  border-radius: 10px;
  overflow: hidden;
}

.main-header.active + div .modal__content {
  height: calc(100% - 240px);
  margin-top: 210px;
}

.main-header.active + main .modal__content {
  height: calc(100% - 240px);
  margin-top: 210px;
}

.vmeste .modal__close_row {
  margin-top: 40px;
  width: 100%;
  height: fit-content;
  display: flex;
  justify-content: flex-end;
}

.vmeste .modal__close_button {
  height: 24px;
  cursor: pointer;
  margin-right: 40px;
}

.vmeste .modal__close_button:hover {
  opacity: 0.8;
}

.vmeste .modal__main {
  position: relative;
  margin-top: 30px;
  display: flex;
  height: 100%;
  overflow-y: auto;
  flex-direction: column;
}

.vmeste .modal__main {
  scrollbar-color: #ffffff transparent;
  scrollbar-width: thin;
}

.vmeste .modal__main_block {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 0px 89px 64px 89px;
}

.vmeste .modal__footer {
  position: relative;
  width: 100%;
  min-height: 237px;
  background: #f6f6f6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.vmeste .modal__main_hidden {
  position: absolute;
  width: 100%;
  height: calc(100% - 94px);
  top: 94px;
  left: 0;
  background: transparent;
  overflow-y: auto;
  z-index: 2;
  box-sizing: border-box;
  border-right: 48px solid transparent;
}

.vmeste .modal__main_block_hidden {
  visibility: hidden;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 0px 33px 64px 89px;
}

.vmeste .modal__footer_hidden {
  visibility: hidden;
  position: relative;
  width: 100%;
  min-height: 237px;
  background: #f6f6f6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.vmeste .modal__footer_img {
  display: block;
  width: 89px;
  height: 89px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.vmeste .modal__shadow {
  position: absolute;
  display: block;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 89px;
  background: linear-gradient(
    360deg,
    #ffffff 25.31%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 3;
  transition: 1.5s;
}

@media screen and (max-width: 1919px) {
  .vmeste .vmeste-nav__item {
    height: 436px;
  }
  
  .vmeste .vmeste-nav__title {
    font-size: 24px;
    line-height: 32px;
  }
}

@media screen and (max-width: 1440px) {
  .vmeste .banner__content {
    grid-template-columns: repeat(2, 1fr);
  }

  .vmeste .banner__img_block {
    height: 460px;
  }

  .vmeste .about__text_block_text {
    width: 100%;
  }
}

@media screen and (max-width: 1199px) {
  .vmeste .vmeste-nav {
    grid-template-columns: repeat(5, 1fr);
  }

  .vmeste .vmeste-nav__container {
    width: 1000px;
  }

  .vmeste .vmeste-nav__block .content {
    overflow-x: auto;
    max-width: none;
    padding: 0;
    padding-bottom: 48px;
  }

  .vmeste .vmeste-nav__item {
    height: 520px;
    padding: 32px;
    width: 288px;
  }

  .vmeste .programs__block_columns_large::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    background-color: transparent;
    border-radius: 999px;
  }

  .vmeste .programs__block_columns_large::-webkit-scrollbar-thumb {
    height: 8px;
    width: 8px;
    background: #ffffff;
    border: 1px solid #f1f1f1;
    box-sizing: border-box;
    border-radius: 999px;
  }

  .vmeste .programs__block_columns_large::-webkit-scrollbar-thumb:hover {
    height: 8px;
    width: 8px;
    background: #ffffff;
    border: 1px solid #f1f1f1;
    box-sizing: border-box;
    border-radius: 999px;
  }

  .vmeste .programs__block_columns_large::-moz-scrollbar-button:decrement,
  .vmeste .programs__block_columns_large::-moz-scrollbar-button:increment,
  .vmeste
    .programs__block_columns_large::-moz-scrollbar-button:vertical:start:decrement,
  .vmeste
    .programs__block_columns_large::-moz-scrollbar-button:vertical:end:increment,
  .vmeste
    .programs__block_columns_large::-moz-scrollbar-button:horizontal:start:decrement,
  .vmeste
    .programs__block_columns_large::-moz-scrollbar-button:horizontal:end:increment,
  .vmeste
    .programs__block_columns_large::-webkit-scrollbar-button:vertical:start:decrement,
  .vmeste
    .programs__block_columns_large::-webkit-scrollbar-button:vertical:end:increment,
  .vmeste
    .programs__block_columns_large::-webkit-scrollbar-button:horizontal:start:decrement,
  .vmeste
    .programs__block_columns_large::-webkit-scrollbar-button:horizontal:end:increment {
    width: 0px !important;
    height: 0px !important;
  }

  .vmeste .banner__content {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    height: auto;
  }

  .vmeste .banner__text_block {
    box-sizing: border-box;
    padding: 0px 0px 64px 0px;
  }

  .vmeste .banner__text {
    font-size: 18px;
    line-height: 24px;
  }

  .vmeste .banner__img_block {
    height: 446px;
  }

  .vmeste .vmeste__breadcrumbs {
    padding: 24px 39px;
  }

  .vmeste .about__text_block_text {
    margin-top: 24px;
  }

  .vmeste .about__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 0;
  }

  .vmeste .vmeste__director {
    height: auto;
    box-sizing: border-box;
    padding: 64px 0px;
  }

  .vmeste .director__content {
    display: flex;
    flex-direction: column-reverse;
  }

  .vmeste .director__picture_block {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    height: auto;
    right: unset;
  }

  .vmeste .director__img_block {
    width: 340px;
    height: 340px;
    display: block;
    object-fit: cover;
    object-position: center;
  }

  .vmeste .programs__content {
    box-sizing: border-box;
    padding: 0;
  }

  .vmeste .director__title {
    margin-top: 32px;
    width: 100%;
  }

  .vmeste .programs__text_large {
    font-size: 24px;
    line-height: 32px;
  }

  .vmeste .programs__text_small {
    font-size: 24px;
    line-height: 32px;
  }

  .vmeste .programs__block_columns_large {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 520px;
    box-sizing: border-box;
    /* padding-bottom: 48px; */
    overflow-x: auto;
  }

  .vmeste .programs__column_small,
  .vmeste .programs__column_large {
    height: 100%;
    width: 288px;
    padding: 32px;
    grid-column: 1 span;
  }

  .vmeste .programs__column_description {
    width: 100%;
    font-size: 13px;
    line-height: 20px;
  }

  .vmeste .programs__button {
    width: 100%;
    font-size: 16px;
    line-height: 22px;
  }

  .vmeste .vmeste__video {
    padding: 64px 0px;
  }

  .vmeste .video__iframe {
    height: 380px;
  }
}

@media screen and (max-width: 767px) {
  .vmeste .vmeste-nav__item {
    width: 240px;
    height: 375px;
    padding: 24px 16px;
  }

  .vmeste .modal__close_button {
    margin-right: 18px;
  }

  .vmeste .modal__content {
    height: calc(100% - 20px);

    margin-top: 0px;
    width: 100%;
    margin: 10px;
  }

  .main-header.active + div .modal__content {
    height: calc(100% - 20px);

    margin-top: 10px;
  }

  .main-header.active + main .modal__content {
    height: calc(100% - 20px);

    margin-top: 10px;
  }

  .text__title-1 {
    font-size: 23px;
    line-height: 32px;
  }

  .__mt32 {
    margin-top: 17px;
  }

  .vmeste .modal__main {
    margin-top: 0px;
  }

  .vmeste .vmeste__modal {
    z-index: 333;
  }
  .vmeste .banner__content {
    box-sizing: border-box;
    padding: 24px 0px;
    padding-bottom: 40px;
  }

  .vmeste .banner__text_block {
    padding: 0;
  }

  .vmeste .banner__img_block {
    height: 240px;
  }

  .vmeste .banner__title {
    font-size: 24px;
    line-height: 30px;
  }

  .vmeste .banner__text {
    font-size: 14px;
    line-height: 20px;
  }

  .vmeste .vmeste__breadcrumbs {
    padding: 24px;
  }

  .vmeste__about {
    margin: 40px 0px;
  }

  .vmeste .about__content {
    padding: 0;
  }

  .vmeste .about__text_block_text {
    margin-top: 16px;
  }

  .vmeste .vmeste__director {
    padding: 32px 0px;
  }

  .vmeste .director__img_block {
    width: 168px;
    height: 168px;
  }

  .vmeste .director__title {
    margin-top: 16px;
    font-size: 32px;
    line-height: 36px;
  }

  .vmeste .director__read_more {
    margin-top: 16px;
    padding: 4px 18px;
  }

  .vmeste__programs {
    margin: 0px;
    padding: 40px 0;
  }

  .vmeste .programs__title {
    font-size: 32px;
    line-height: 40px;
  }

  .vmeste .programs__content {
    padding: 0;
  }

  .vmeste .modal__main_block {
    padding: 0px 65px 32px 24px;
  }

  .vmeste .modal__main_hidden {
    border-right: 24px solid transparent;
  }

  .vmeste .modal__main_block_hidden {
    padding: 0px 33px 32px 24px;
  }
}
