@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

@font-face {
  font-family: "MyriadPro";
  font-style: normal;
  font-weight: 400;
  /* Браузер сначала попробует найти шрифт локально */
  src: local("MyriadPro"),
    /* Если не получилось, загрузит woff2 */
      url("../fonts/MyriadPro-Regular.woff2") format("woff2"),
    /* Если браузер не поддерживает woff2, загрузит woff */
      url("../fonts/MyriadPro-Regular.woff") format("woff");
}

@font-face {
  font-family: "MyriadPro";
  font-style: italic;
  font-weight: 400;
  /* Браузер сначала попробует найти шрифт локально */
  src: local("MyriadPro"),
    /* Если не получилось, загрузит woff2 */ url("../fonts/MyriadPro-It.woff2")
      format("woff2"),
    /* Если браузер не поддерживает woff2, загрузит woff */
      url("../fonts/MyriadPro-It.woff") format("woff");
}

@font-face {
  font-family: "MyriadPro";
  font-style: normal;
  font-weight: 600;
  /* Браузер сначала попробует найти шрифт локально */
  src: local("MyriadPro"),
    /* Если не получилось, загрузит woff2 */
      url("../fonts/MyriadPro-Bold.woff2") format("woff2"),
    /* Если браузер не поддерживает woff2, загрузит woff */
      url("../fonts/MyriadPro-Bold.woff") format("woff");
}

@font-face {
  font-family: "Intro Book";
  font-style: normal;
  /* Браузер сначала попробует найти шрифт локально */
  src: local("Intro Book"),
    /* Если не получилось, загрузит woff2 */ url("../fonts/Intro-Book.woff2")
      format("woff2"),
    /* Если браузер не поддерживает woff2, загрузит woff */
      url("../fonts/Intro-Book.woff") format("woff");
}

@font-face {
  font-family: "Intro Bold";
  font-style: normal;
  font-weight: 600;
  /* Браузер сначала попробует найти шрифт локально */
  src: local("Intro Bold"),
    /* Если не получилось, загрузит woff2 */ url("../fonts/Intro-Bold.woff2")
      format("woff2"),
    /* Если браузер не поддерживает woff2, загрузит woff */
      url("../fonts/Intro-Bold.woff") format("woff");
}
/* Reset and base styles  */
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

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

/* Links */

a,
a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

a {
  color: inherit;
}

/* Common */

aside,
nav,
footer,
header,
section,
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
}

ul,
ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

/* Form */

input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

button,
input[type="submit"] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

label {
  cursor: pointer;
}

legend {
  display: block;
}

input[type="file"] {
  max-width: 100%;
}

body {
  font-family: "MyriadPro";
  background: #f1f2f2;
}

.container {
  width: 1280px;
  margin: 0 auto;
  max-width: 100%;
}

.title {
  text-align: center;
  color: #2f5fa4;
  font-weight: bold;
  font-size: 55px;
  line-height: 130%;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 1310px) {
  .container {
    padding: 0 15px;
  }
}

header {
  position: fixed;
  top: 40px;
  width: 1280px;
  left: 50%;
  max-width: 100%;
  background: #0152cd;
  padding: 20px;
  height: 74px;
  z-index: 100;
  display: flex;
  align-items: center;
  transform: translateX(-50%);
  border-radius: 20px;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
  gap: 10px;
}

.header__logo {
  height: 100%;
}

.header__logo img {
  height: 100%;
  object-fit: contain;
}

.header__link {
  color: #fff;
  font-size: 19px;
  line-height: 150%;
  position: relative;
}

.header__link::after {
  content: "";
  width: 0;
  height: 2px;
  display: block;
  background: #fff;
  position: relative;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  transition: 0.2s linear;
}

.header__link-btn {
  color: #fff;
}

.header__links > li {
  position: relative;
}

.header__nav-sub {
  position: absolute;
  bottom: 10px;
  transform: translateY(100%);
  width: 300px;
  padding-top: 20px;
  display: none;
}

.header__nav-sub-wrapper {
  background: #0152cd;
  backdrop-filter: blur(20px);
  border-radius: 20px;
  overflow: hidden;
  padding: 10px 0;
}

.header__links > li:hover .header__nav-sub {
  display: block;
}
.header__nav-sub .header__link::after {
  display: none;
}
.header__nav-sub-wrapper li {
  padding: 0 10px;
}

.header__nav-sub-wrapper li:hover a {
  background: #00000031;
}

.header__nav-sub-wrapper .header__link {
  padding: 5px;
  border-bottom: 1px solid #ffffff90;
  display: block;
  width: 100%;
}
.header__nav-sub-wrapper .header__link:last-child {
  border-bottom: 0;
}
.header__link:hover::after {
  width: 100%;
}

.burger {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  padding: 15px;
  background-color: #0152cd;
  cursor: pointer;
  display: none;
}

.mobile {
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  transform: translateX(110%);
  transition: 0.2s linear;
}

.mobile__inner {
  width: 320px;

  max-width: 100%;
  background: #0152cd;
  padding: 50px 20px 20px 45px;
  overflow: auto;
}

.mobile.active {
  transform: translateX(0);
}

.mobile__close {
  position: absolute;
  top: 30px;
  right: 20px;
}

.mobile__logo {
  width: 100px;
  display: block;
  margin-top: 20px;
  max-width: 100%;
}

.mobile__logo img {
  width: 100%;
  object-fit: contain;
}

.mobile .header__links {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 40px;
}

.mobile .header__links li {
  padding: 0;
}

.mobile .header__nav-sub li {
  overflow: auto;
  max-height: none;
}

.mobile .header__nav-link {
  padding: 0;
  line-height: 180%;
  font-size: 20px;
}
.mobile .header__btn {
  font-size: 18px;
}

.mobile .header__nav-link:hover::after {
  display: none;
}

.mobile .header__nav-sub {
  position: relative;
  transform: none;
  overflow: hidden;
  transition: 0.2s linear;
  padding: 0;
  max-height: 0;
}

@media screen and (max-width: 1400px) {
  .header__nav-link {
    font-size: 13px;
  }
  .header__links {
    gap: 6px;
  }
}

@media screen and (max-width: 1250px) {
  .header__links {
    gap: 0;
  }
}

@media screen and (max-width: 1100px) {
  header {
    display: none;
  }
  .burger {
    display: block;
  }
}

main {
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.banner {
  padding: 190px 0 60px;
  background: url(../img/banner-bg.jpg) no-repeat;
  background-size: cover;
  background-position: bottom center;
  position: relative;
}

.banner::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: #00000036;
}

.banner .container {
  position: relative;
  z-index: 1;
}

.banner__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.banner-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.banner__title {
  font-size: 54px;
  font-family: "Intro Bold";
  color: #fff;
  margin-top: 20px;
  line-height: 120%;
  text-transform: uppercase;
}

.banner__subtitle {
  font-size: 31px;
  font-family: "Intro Bold";
  text-transform: uppercase;
  color: #fff;
  line-height: 120%;
  display: flex;
  align-items: center;
  gap: 10px;
}
.banner__subtitle span {
  font-family: "Intro Book";
  font-size: 88px;
}

.banner-text {
  font-size: 29px;
  font-weight: 300;
  color: #fff;
  line-height: 120%;
  margin-top: 20px;
  font-family: "eurofontc";
}

.banner__logo {
  width: 300px;
  max-width: 100%;
}

.banner__bottom {
  margin-top: 50px;
  font-size: 43px;
  color: #fff;
  font-family: "Intro Bold";
}

.banner__bottom span {
  font-size: 56px;
  font-family: "eurofontc";
}

.banner__address {
  font-size: 33px;
  font-weight: 400;
  color: #fff;
  line-height: 140%;
  margin-top: 40px;
  width: 1100px;
  max-width: 100%;
}

.banner-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 400px;
  max-width: 100%;
}

.banner__address {
  text-align: center;
  font-family: "Intro Bold";
  font-size: 23px;
  line-height: 130%;
}

.btn {
  display: inline-block;
  padding: 20px 40px;
  text-align: center;
  color: #fff;
  font-family: "Intro Bold";
  font-size: 24px;
  border-radius: 30px;
  background: #0152cd;
  border: 1px solid #0152cd;
  transition: 0.2s linear;
}

.btn:hover {
  color: #0152cd;
  background: #fff;
}

.mb-logo {
  display: none;
}

@media screen and (max-width: 1100px) {
  .banner {
    padding: 120px 0 60px;
  }
  .banner__title {
    font-size: 46px;
  }
  .banner__subtitle {
    font-size: 40px;
    margin-top: 10px;
  }
  .banner__inner {
    flex-wrap: wrap;
  }

  .banner-left,
  .banner-right {
    width: 100%;
  }

  .banner-right {
    align-items: flex-start;
  }
  .mb-logo {
    display: block;
  }

  .banner-right img {
    display: none;
  }
  .banner__address {
    text-align: left;
  }
}
@media screen and (max-width: 800px) {
  .banner__title {
    font-size: 36px;
    margin-top: 20px;
  }
  .banner__subtitle {
    font-size: 27px;
  }
  .banner__address {
    font-size: 24px;
  }
  .banner__inner {
    flex-wrap: wrap;
  }
  .banner__logo {
    font-size: 100px;
  }
}
@media screen and (max-width: 600px) {
  .mb-logo {
    width: 250px;
  }
  .banner__subtitle span {
    font-size: 64px;
  }
  .banner__title {
    font-size: 24px;
  }
  .banner__bottom {
    font-size: 32px;
    margin-top: 30px;
  }
  .banner__btn {
    width: 100%;
  }
  .banner__address {
    font-size: 22px;
    margin-top: 0;
  }
  
}

@media screen and (max-width: 450px) {
  .banner__subtitle {
    font-size: 16px;
  }
}
.about {
  padding-top: 80px;
}

.about__list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-bottom: 60px;
}

.about__item-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.about__item-wrapper:nth-child(2n) {
  justify-content: flex-end;
}

.about__item {
  width: 100%;
  padding: 60px 40px;
  border-radius: 40px;
  font-size: 24px;
  color: #414042;
  line-height: 140%;
  font-weight: 400;
  border: 2px solid #0152cd;
}

.about__item-text {
  width: 800px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.about__text {
  font-size: 24px;
  color: #0152cd;
  line-height: 140%;
  font-weight: 400;
  text-align: justify;
}

.stat {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 60px;
}

.stat__item {
  width: calc(25% - 24px);
  position: relative;
}

.stat__item svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.stat__item-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Intro Bold";
  font-size: 19px;
  line-height: 22px;
  color: #0152cd;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.stat__item-text span {
  font-size: 61px;
}
.exhibition__img {
  object-fit: contain;
}

.exhibition {
  width: 100%;
  padding: 30px;
  border-radius: 20px;
  background: #fff;
  display: flex;
  gap: 30px;
  margin-top: 80px;
  z-index: 1;
  position: relative;
}

.exhibition .title {
  color: #95268d;
  text-align: center;
}
.exhibition p {
  color: #0152cd;
  font-size: 24px;
  line-height: 130%;
  margin-top: 20px;
}

@media screen and (max-width: 1200px) {
  .stat {
    flex-wrap: wrap;
  }
  .stat__item {
    width: calc(50% - 16px);
  }
}

@media screen and (max-width: 900px) {
  .exhibition__img {
    display: none;
  }
}
@media screen and (max-width: 600px) {
  .about__item {
    padding: 20px;
    border-radius: 20px;
    font-size: 22px;
  }
  .about__list {
    gap: 20px;
    margin-bottom: 30px;
  }
  .title {
    font-size: 32px;
  }
}

@media screen and (max-width: 500px) {
  .stat__item-text {
    font-size: 16px;
  }
  .stat__item-text span {
    font-size: 45px;
  }
}

.orgs {
  padding: 100px 0;
  margin-top: 100px;
  background: #a59aff;
  position: relative;
}

.orgs__bg {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(-50%);
}

.orgs__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.orgs__img {
  width: 560px;
  max-width: 100%;
  object-fit: contain;
}

.orgs__list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}

.orgs__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: center;
  width: calc(20% - 16px);
  padding: 20px 10px;
  border-radius: 20px;
  background: #fff;
  z-index: 1;
  position: relative;
}

.orgs__item:nth-child(2n) {
  top: 60px;
}


  .partners {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    justify-content: center;
    gap: 24px;
  }
  .partners img {
    object-fit: contain;
    width: calc(20% - 19.2px);
    max-height: 200px;
  }


  
  @media (max-width: 1100px) {

    .partners img {
    object-fit: contain;
    width: calc(33% - 16px);
  }

  }
  
  @media (max-width: 767px) {
    .partners img {
    object-fit: contain;
    width: calc(50% - 12px);
  }
  }

@media screen and (min-width: 1200px) {
  .orgs__item:nth-child(2) {
    animation-delay: 0.2s;
  }
  .orgs__item:nth-child(3) {
    animation-delay: 0.4s;
  }
  .orgs__item:nth-child(4) {
    animation-delay: 0.6s;
  }
   .orgs__item:nth-child(5) {
    animation-delay: 0.8s;
  }

}

@media screen and (min-width: 1200px) {
  .team__item:nth-child(3) {
    animation-delay: 0.2s;
  }
  .team__item:nth-child(4) {
    animation-delay: 0.2s;
  }
  .team__item:nth-child(5) {
    animation-delay: 0.6s;
  }
}

@media screen and (max-width: 1300px)  {
  .orgs__item {
    width: calc(33% - 14px);
    top: auto !important;
  }
}

.archive__list {
  display: flex;
  width: 100%;
  gap: 21px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.archive__item {
  width: calc(33% - 14px);
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
}

.archive__item-img {
  position: relative;
}

.archive__item-img img {
  width: 100%;
  object-fit: contain;
  border-radius: 15px;
}

.archive__item-img span {
  position: absolute;
  bottom: 0;
  right: 10%;
  font-size: 40px;
  font-weight: bold;
  color: #fff;
}

.archive__item-subname {
  font-weight: 500;
  font-size: 18px;
  font-family: Adrianna;
  margin-top: 10px;
}

.archive__item-name {
  font-family: Adrianna;
  font-size: 22px;
  color: #0152cd;
}

@media screen and (max-width: 1200px) {
  .archive__item {
    width: calc(50% - 21px);
  }
}

@media screen and (max-width: 700px) {
  .archive__item {
    width: 100%;
  }
  .buttons {
    align-items: center;
  }
}

.orgs__dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  align-items: center;
  margin-top: 10px;
}

.orgs__dots span {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #00aeef;
}

.orgs__item:nth-child(4n - 2) .orgs__dots span {
  background: #fbb040;
}

.orgs__item:nth-child(4n - 1) .orgs__dots span {
  background: #dba7cc;
}

.orgs__item:nth-child(4n) .orgs__dots span {
  background: #7ac144;
}

.orgs__item-img {
  width: 306px;
  max-width: 100%;
  object-fit: contain;
}

.orgs__item-text {
  font-size: 18px;
  line-height: 140%;
  color: #0152cd;
  position: relative;
  font-family: "Intro Bold";
  margin-top: 10px;
}

.orgs__item-window {
  position: absolute;
  bottom: -10px;
  transform: translateY(100%);
  opacity: 0;
  transition: 0.2s linear;
  font-size: 11px;
  color: #939598;
  background: #fff;
  width: 450px;
  max-width: 100%;
  left: 10%;
  padding: 10px;
  border-radius: 10px;
  line-height: 110%;
}

.orgs__item-text:hover .orgs__item-window {
  opacity: 1;
}

.news {
  padding: 60px 0;
  position: relative;
}

.news-bg {
  position: absolute;
  left: 0;
  bottom: 0;
}
.news__list {
  display: flex;
  justify-content: center;
  gap: 24px;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: 40px;
  z-index: 1;
  position: relative;
}

.news__item {
  width: calc(25% - 18px);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.news__item-info {
  flex-grow: 1;
}

.news__item-date {
  color: #fff;
  font-size: 21px;
  line-height: 120%;
  font-weight: 300;
  padding: 20px 20px;
  background: #95268d;
}

.news__item-title {
  font-size: 21px;
  line-height: 140%;
  color: #0152cd;
  margin-top: 30px;
  font-weight: bold;
  padding: 0 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -moz-box;
  -moz-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  line-clamp: 5;
  box-orient: vertical;
}

.news__item-text {
  font-size: 22px;
  line-height: 120%;
  color: #000000;
  margin-top: 20px;
}

.news__item-bottom {
  margin-top: 50px;
  padding: 20px;
}

.news__item-more {
  color: #94979c;
  font-size: 18px;
  line-height: 120%;
  font-weight: 300;
}

.news__item-more:hover {
  text-decoration: underline;
}

@media screen and (max-width: 1200px) {
  .news__item {
    width: calc(50% - 12px);
  }
}

@media screen and (max-width: 900px) {
  .news__list {
    gap: 20px;
  }
  .orgs__list {
    flex-wrap: wrap;
  }
  .orgs__item {
    width: calc(50% - 25px);
    top: auto !important;
  }
  .orgs {
    margin-top: 50px;
  }
}

@media screen and (max-width: 600px) {
  .news__item {
    width: 100%;
  }
  .orgs__item {
    width: 100%;
  }
}

.team {
  padding: 50px 0;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}

.team__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
}

.team__item {
  width: calc(50% - 20px);
  display: flex;
  align-items: center;
  gap: 20px;
}

.team__item-img {
  flex-shrink: 0;
}

.team__item-name {
  font-size: 24px;
  color: #0152cd;
  font-weight: 600;
}

.team__item-text {
  font-size: 21px;
  line-height: 140%;
  color: #0152cd;
  margin-top: 10px;
}

.subscribe {
  position: relative;
  z-index: 2;
  transform: translateY(-50%);
}
.inner-page .subscribe {
  background: transparent;
}
#subscribe {
  padding: 30px;
  border-radius: 25px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  background: #a59aff;
}

#subscribe .corners {
  padding-bottom: 10px;
}

#subscribe .soc-block {
  align-items: center;
  margin-top: 15px;
  flex-direction: row;
}

#subscribe .soc-block .soc-text-pre {
  color: #fff;
  font-size: 0.9em;
}
@media (max-width: 900px) {
  .team__item {
    flex-wrap: wrap;
  }
  .team__item-info {
    width: 100%;
    padding-left: 0;
  }
  .team__item-text::before,
  .team__item-text::after {
    display: none;
  }

  .team {
    padding: 50px 0;
  }
}

@media (max-width: 767px) {
  .team__item {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  #subscribe .soc-block .soc-text-pre {
    text-align: center;
  }
}

#subscribe .soc-block .soc-text-post {
  color: #fff;
  font-size: 0.9em;
  text-align: right;
}

@media (max-width: 767px) {
  #subscribe .soc-block .soc-text-post {
    text-align: center;
  }
}

#subscribe .soc-block .soc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  margin-left: 20px;
}

#subscribe .soc-block .soc a {
  color: #fff;
  font-size: 35px;
}

#subscribe .soc-block .soc a:hover {
  color: #ffe7d4;
}

@media (max-width: 767px) {
  #subscribe .soc-block .soc a {
    font-size: 55px;
  }
}

@media (max-width: 767px) {
  #subscribe .soc-block {
    flex-direction: column;
  }
}

#subscribe ul {
  padding: 0;
  margin: 0;
}

#subscribe a {
  text-decoration: none;
}

.checkbox-soglashenie {
  width: 100%;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
}

.checkbox-soglashenie.active {
  opacity: 1;
  max-height: none;
  overflow: visible;
}

.checkbox-soglashenie label {
  align-items: flex-start !important;
  font-size: 12px;
}

.checkbox-soglashenie label::before {
  margin-top: 5px;
}

#subscribe input.err {
  border: 1px solid red !important;
}

#subscribe input.err::placeholder {
  color: red !important;
}

.subscribe-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
}

#subscribe .title {
  font-size: 36px;
  font-weight: 600;
  text-transform: none;
}

.modal-list {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(-150%);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.2s linear;
  z-index: -2;
}

.modal-list.active {
  transform: translateY(0);
  opacity: 1;
  z-index: 2000;
}

.modal-list-window {
  width: 500px;
  max-width: 95vw;
  max-height: 80vh;
  padding: 20px;
  background: #ffffff;
  border-radius: 30px;
  border: 1px solid #0152cd;
  transform: translateY(-150%) scale(0);
  transition: 0.2s linear;
}

.modal-list-title {
  font-size: 22px;
  color: #0152cd;
  padding-bottom: 10px;
}

.subscribe-form-item-list {
  height: 520px;
  max-height: 60vh;
  width: 100%;
  overflow: auto;
}

.subscribe-form-item-list::-webkit-scrollbar {
  width: 5px;
  border-radius: 2px;
}

.subscribe-form-item-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 2px;
}

.subscribe-form-item-list::-webkit-scrollbar-thumb {
  background: #f2f3f5;
  border-radius: 2px;
}

.subscribe-form-item-list::-webkit-scrollbar-thumb:hover {
  background: #f2f3f5;
}

#subscribe .alert-warning {
  display: none;
  padding: 5px 10px;
  color: red;
  border-radius: 2px;
  background-color: #fff3cd;
  border: 1px solid red;
  margin-top: 10px;
}

#subscribe .alert-warning.active {
  display: block;
}

.modal-list.active .modal-list-window {
  transform: translateY(0%) scale(1);
}

.checkbox {
  position: relative;
}

.custom-checkbox {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.custom-checkbox + label {
  display: inline-flex;
  align-items: center;
  user-select: none;
  color: #1e6483;
}

.checkbox-label p {
  color: #fff;
}

.custom-checkbox + label::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 1px solid #adb5bd;
  border-radius: 2px;
  margin-right: 16px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 60% 60%;
}

#subscribe .err + label::before {
  border: 1px solid red;
}

#subscribe custom-checkbox.checkbox-20 + label::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-right: 10px;
}

.custom-checkbox:checked + label::before {
  border-color: #fff;
  background-color: #6c9ee8;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

.modal-list__btn {
  background-color: #0152cd;
  border-radius: 30px;
  color: #ffffff;
  border: none;
  display: block;
  width: 200px;
  line-height: 50px;
  display: block;
  margin: 10px auto 0;
  text-align: center;
}

#subscribe .soc-block {
  align-items: center;
  margin-top: 15px;
  display: flex;
}

#subscribe .soc-block .soc-text-post {
  color: #fff;
  font-size: 0.9em;
  text-align: right;
}

@media (max-width: 767px) {
  #subscribe .soc-block .soc-text-post {
    text-align: center;
  }
}

#subscribe .soc-block .soc {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  align-items: center;
  color: #fff;
  margin-top: 10px;
}

#subscribe .soc-block .soc a {
  color: #fff;
  font-size: 35px;
}

#subscribe .soc-block .soc a:hover {
  color: #ffe7d4;
}

#subscribe form {
  margin-top: 30px;
}

.subs-subtitle {
  text-align: right;
  font-family: "Roboto", sans-serif;
  margin: 20px 0;
  font-size: 22px;
  color: #fff;
  width: 50%;
}

.subsform {
  display: flex;
  gap: 20px;
  align-items: stretch;
  flex-wrap: wrap;
}

.subsform .inp {
  width: calc(25% - 15px);
}
.show-topics,
.subsform .inp input {
  border-radius: 25px;
  background: #f2f3f5;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 20px;
  height: 50px;
  font-size: 18px;
  color: #8f8f8f;
}

.checkbox-soglashenie {
  width: 100%;
}

#subscribe .title {
  margin-top: 0;
  color: #fff;
}

.subsform .inp .subscribe-form-item__btn {
  background: #0152cd;
  border: 1px solid #0152cd;
  color: #fff;
  font-size: 22px;
  transition: 0.2s linear;
}

.subsform .inp .subscribe-form-item__btn:hover {
  background: #fff;
  color: #0152cd;
}

@media (max-width: 1100px) {
  .subscribe-top {
    flex-direction: column;
    align-items: center;
  }
  .subs-subtitle {
    text-align: center;
    width: 100%;
  }
  .subsform .inp {
    width: calc(50% - 10px);
  }
}

@media (max-width: 767px) {
  #subscribe .soc-block .soc {
    margin-top: 25px;
    justify-content: space-around;
  }
}

@media (max-width: 650px) {
  .subsform .inp {
    width: 100%;
  }
  .subscribe {
    padding: 25px 0;
  }
  #subscribe form {
    margin-top: 0;
  }
  #subscribe {
    padding: 20px 10px;
  }
  .show-topics,
  .subsform .inp input {
    font-size: 20px;
    height: 50px;
    border-radius: 20px;
  }
  #subscribe .title {
    font-size: 22px;
  }
  .subs-subtitle {
    font-size: 20px;
  }
}

footer {
  background: #0152cd;
  padding: 0 0 50px;
  margin-top: 200px;
}

.footer__inner {
  margin-top: -100px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #fff;
}

.footer__item a,
.footer__item p {
  font-size: 18px;
}

.footer__item a:hover {
  text-decoration: underline;
}

.inner-bg {
  display: none;
}

@media screen and (max-width: 767px) {
  footer {
    margin-top: 300px;
  }
  .footer__item {
    width: 100%;
  }
  .footer__inner {
    margin-top: -250px;
  }
  .about__text {
    font-size: 18px;
    text-align: left;
  }
}

@media screen and (max-width: 450px)  {
  .title {
    font-size: 24px;
  }
  .btn {
    width: 100%;
  }
  .exhibition p {
    font-size: 18px;
  }
  .orgs {
    padding: 50px 0;
  }
  .subscribe .container {
    padding: 0;
    
  }
  #subscribe {
    border-radius: 0;
  }
  .banner {
    padding: 90px 0 60px;
  }
  .inner ul {
    padding-left: 0;
  }
  .text-content .btn {
    font-size: 18px;
  }
  .inner__content {
    padding: 19px;
    border-radius: 10px;
  }
}

.table-wrapper {
  margin-top: 50px;
  width: 100%;
  padding: 20px;
  border-radius: 20px;
  background: #ffffff30;
}

.booking table {
  border-spacing: 0;
  border-collapse: collapse;
  z-index: 1;
  position: relative;
  width: 100%;
}

.booking table th {
  color: #0152cd;
  font-size: clamp(18px, 2.5vw, 22px);
  padding: 10px;
  white-space: nowrap;
  text-align: left;
}


table tr {
  border-bottom: 1px solid #00000035;
}

.th-left {
  padding: 10px;
  width: calc(40% - 8px);
}

.th-center {
  margin-left: 10px;
  width: calc(20% - 8px);
  text-align: center;
}

.booking table td {
  padding: 10px;
  font-size: 1.5rem;
  vertical-align: middle;
  -webkit-transition: 0.2s linear;
  -o-transition: 0.2s linear;
  transition: 0.2s linear;
  font-size: clamp(18px, 2.5vw, 22px);

  font-weight: 400;
  text-align: left;
}

.booking table td strong {
  font-weight: 400;
}

.booking table tr:hover td {
  background: #0000004b;
}

.td-left {
  width: calc(40% - 8px);
}

.td-center {
  margin-left: 10px;
  text-align: center;
  width: calc(20% - 8px);
  white-space: nowrap;
}

.table-wrapper {
  width: 100%;
  max-width: 100%;
}

.undertable-text {
  margin-top: 20px;
  text-align: right;
  margin-right: 10px;
  font-size: 1.6rem;
  color: #231f20;
}

.tr-last {
  border-bottom: 0;
}
.booking__hotel {
  margin-top: 50px;
  padding: 20px;
  border-radius: 20px;
  background: #ffffff;
  font-size: 20px;
}

.booking__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 30px;
}

.booking__item-img {
  width: 450px;
  max-width: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  border-radius: 10px;
}

.booking__item-info h2 {
  font-size: clamp(22px, 5vw, 32px);
}

.star-block {
  margin-top: 10px;
}

.star-block img {
  width: 40px;
}

.mesto {
  font-weight: 600;
  margin-top: 20px;
}

.hotel-text {
  margin-top: 10px;
  line-height: 140%;
}

.hotel-target {
  margin-top: 10px;
}

.booking-hotel-table {
  margin-top: 20px;
}

.booking-hotel-table tr:hover td {
  background: transparent !important;
}

.table1 {
  max-width: 100%;
  min-width: 0 !important;
}

.table1 .btn-order {
  font-size: clamp(18px, 2.5vw, 22px);
}

.only-mob {
  display: none;
}


.contact-details {
  margin-top: 30px;
}

.tel,
.mail {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.mail a,
.tel a {
  display: inline-block;
  margin-top: 0;
}
.mail p,
.tel p {
  display: inline-block;
  margin-top: 0 !important;
}

/* Контейнер для видео фрейма */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625 = 56.25%) */
    height: 0;
    overflow: hidden;
    margin-bottom: 40px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}




@media screen and (max-width: 900px) {

  .booking__item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}


@media screen and (max-width: 600px) {
  .table1 .btn-order {
    padding: 10px;
  }


  .inner-contact {
    padding: 20px;
  }

  .table1 tr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .table1 th {
    font-weight: 400;
  }

  .table1 th {
    display: none;
  }

  .only-mob {
    display: block;
  }
}
