.tours {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-top: 100px;
  margin-bottom: 80px !important;
}

.tour-pager-photo__container
  .field__items
  .field__item:first-child
  .gallerey__next {
  top: 236px;
}

.tour-pager-photo__container
  .field__items
  .field__item:first-child
  .gallerey__prev {
  top: 236px;
}

.tours__container {
  display: flex;
  justify-content: center;
  position: relative;
}

.tours__next {
  width: 48px;
  height: 48px;
  position: absolute;
  left: 99%;
  top: 50%;
  transform: translateY(-50%);
  background-image: url("/sites/all/themes/vesta_theme/icons/Chevron_right.svg");
  background-repeat: no-repeat;
  border: none;
  background-color: transparent;
}

.tours__prev {
  width: 48px;
  height: 48px;
  position: absolute;
  right: 99%;
  top: 50%;
  transform: translateY(-50%);
  background-image: url("/sites/all/themes/vesta_theme/icons/Chevron_left.svg");
  border: none;
  background-color: transparent;
}

.tours__title {
  font-family: "inter";
  font-weight: 800;
  color: #000000;
  font-size: clamp(1.25rem, 0.886rem + 1.82vw, 2.25rem);
  margin-bottom: 10px;
}

.tours__button {
  font-family: "inter";
  font-weight: 600;
  color: #ffffff !important;
  font-size: clamp(0.875rem, 0.83rem + 0.23vw, 1rem);
  width: 177px;
  height: 50px;
  border-radius: 50px;
  background-color: #1c437c;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none !important;
  margin-top: 40px;
}

.test-tours-block-1 {
  background-color: black;
  border-radius: 25px;
}

.test-tours-block-2 {
  background-color: black;
  border-radius: 25px;
}

.region-tours {
  overflow: hidden;
}

.region-tours .view-content {
  display: flex;
  transition: transform 0.8s;
}

.region-tours .view-content .views-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 50%;
  user-select: none;
  padding: 10px;
  position: relative;
  min-height: 546px;
  justify-content: center;
  align-items: center;
  gap: 85px;
}

.region-tours .view-content .views-row .views-field-field-podrobnee,
.region-tours .view-content .views-row .views-field-view-node{
  z-index: 2;
}

.region-tours .view-content .views-row .views-field-field-podrobnee a,
.region-tours .view-content .views-row .views-field-view-node a{
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(0.75rem, 0.659rem + 0.45vw, 1rem);
  width: clamp(7.938rem, 6.801rem + 5.68vw, 11.063rem);
  height: clamp(2.5rem, 2.273rem + 1.14vw, 3.125rem);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1c437c;
  border-radius: 50px;
  font-family: "inter";
  font-weight: 600;
}

.region-tours .view-content .views-row .views-field-title {
  font-family: "inter";
  font-size: clamp(0.875rem, 0.284rem + 2.95vw, 2.5rem);
  text-decoration: none;
  z-index: 2;
}

.region-tours .view-content .views-row .views-field-title a {
  color: #ffffff !important;
  text-decoration: none !important;
}

.region-tours .view-content .views-row img {
  width: 100%;
  height: 100%;
  border-radius: 25px;
  object-fit: cover;
}

.tour-pager-photo__container .field__items {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: 5000px;
  width: 100%;
  gap: 20px;
  padding-left: 10px;
  padding-top: 10px;
  user-select: none;
}

.tour-pager-photo__container .field__items .field__item {
  width: 103px;
  height: 103px;
  cursor: pointer;
  user-select: none;
}

.tour-pager-photo__container .field__items .field__item img.active {
  outline: 2px solid white;
}

.tour-pager-photo__container .field__items .field__item:first-child {
  max-width: 472px;
  max-height: 5000px;
  width: 100%;
  height: 100%;
  order: 1;
  cursor: default;
  position: relative;
  user-select: none;
}

.tour-pager-photo__container
  .field__items
  .field__item:first-child
  .gallerey__next {
  left: 85%;
}

.tour-pager-photo__container
  .field__items
  .field__item:first-child
  .gallerey__prev {
  right: 85%;
}

.tour-pager-photo__container img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  user-select: none;
}

.mainForTour {
  display: flex;
  background-color: #1c437c;
  padding-top: 101px;
  padding-bottom: 101px;
  align-items: center;
}

.mainForTour .page-title {
  display: none;
}

.views-field-field-zadnee-izobrazhenie-tura .field-content {
  position: absolute;
  top: 0;
  left: 5%;
  width: 90%;
}

.views-field-field-zadnee-izobrazhenie-tura .field-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: #0000006c;
  width: 100%;
  height: 100%;
  border-radius: 25px;
}

.tour-pager-section {
  display: flex;
}
.tour-pager-section .tour-pager-photo__container {
  display: flex;
  width: 56%;
  max-height: 490px;
  overflow: hidden;
}

.tour-pager-section
  .tour-pager-photo__container
  .field--name-field-zadnee-izobrazhenie-tura {
  width: 100%;
}

.about-tour {
  width: 50%;
  padding-left: 54px;
  padding-top: 10px;
}

.about-tour .field--name-field-zagolovok-dlya-opisaniya-t {
  font-family: "inter";
  font-size: clamp(1.25rem, 1.159rem + 0.45vw, 1.5rem);
  line-height: 32px;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 24px;
}

.about-tour .field--name-field-tekst-tura {
  font-family: "inter";
  font-size: clamp(0.875rem, 0.83rem + 0.23vw, 1rem);
  line-height: 24px;
  color: #e1e4ed;
  margin-bottom: 30px;
  max-height: 235px;
  overflow: auto;
}

.first-img {
}

.about-tour .field--name-field-tekst-tura::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.about-tour .field--name-field-tekst-tura::-webkit-scrollbar-track {
  background: #ffffff;
  border-radius: 10px;
}

.about-tour .field--name-field-tekst-tura::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #5c9ded, #04a1e9);
  border-radius: 10px;
}

.about-tour .field--name-field-cena {
  display: flex;
  font-family: "inter";
  font-size: clamp(1.563rem, 1.108rem + 2.27vw, 2.813rem);
  color: #ffffff;
}

.about-tour .field--name-field-cena::after {
  content: "₽";
  padding-left: 13px;
}

.tour-pager-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 177px;
  height: 50px;
  border-radius: 50px;
  background-color: #04a1e9;
  font-size: 14px;
  font-family: "inter";
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none !important;
  margin-top: 27px;
}

.region-content .view-tury-na-glavnoy {
  margin-bottom: 40px;
}

.region-content .view-tury-na-glavnoy .view-header {
  border-bottom: 2px solid #000000;
  padding-bottom: 10px;
  font-family: "inter";
  color: #000000;
  font-weight: 600;
  font-size: clamp(1.563rem, 1.222rem + 1.7vw, 2.5rem);
}

.region-content .view-tury-na-glavnoy .view-content {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.region-content .view-tury-na-glavnoy .view-content .views-row {
  width: 49%;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 570px;
  position: relative;
  min-height: 508px;
  justify-content: center;
  gap: 85px;
}

.region-content
  .view-tury-na-glavnoy
  .view-content
  .views-row
  .views-field-field-podrobnee {

}

.region-content
  .view-tury-na-glavnoy
  .view-content
  .views-row
  .views-field-field-podrobnee
  a,
  .region-content
  .view-tury-na-glavnoy
  .view-content
  .views-row .views-field-view-node a{
  position: relative;
  bottom: 28%;
  width: clamp(7.938rem, 6.801rem + 5.68vw, 11.063rem);
  height: clamp(2.5rem, 2.273rem + 1.14vw, 3.125rem);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1c437c;
  border-radius: 50px;
  font-family: "inter";
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
}

.region-content .view-tury-na-glavnoy .view-content .views-field-title {
  font-family: "inter";
  font-size: clamp(0.875rem, 0.284rem + 2.95vw, 2.5rem);
  text-decoration: none;
  pointer-events: none;
  top: 30%;
  z-index: 2;
}

.region-content .view-tury-na-glavnoy .view-content .views-field-title a {
  color: #ffffff;
}

.region-content .view-tury-na-glavnoy .view-content .views-row img {
  width: 100%;
  height: auto;
  border-radius: 25px;
}

.more-photo {
  flex-wrap: wrap;
  justify-content: center;
}

.more-photo .tour-pager-photo__container {
  width: 55%;
}

.about-tourMorePhoto {
  width: 45% !important;
  padding-left: 10px !important;
}

.items-more {
  justify-content: flex-start !important;
}

@media (max-width: 1300px) {
  .tours__next {
    left: 95%;
  }

  .tours__prev {
    right: 95%;
  }
}

@media (max-width: 1200px) {

  .region-tours .view-content .views-row {
  min-height: 481px;
}

  .about-tour {
    width: 37%;
  }

  .region-tours .view-content .views-row {
    min-width: 49%;
  }

  .about-tour .field--name-field-tekst-tura {
    max-height: 175px;
  }

  .region-content .view-tury-na-glavnoy .view-content .views-row {
    max-height: 485px;
  }

  .about-tourMorePhoto {
    width: 75% !important;
  }

  .tour-pager-section .tour-pager-photo__container {
    width: 70%;
  }

  .region-content .view-tury-na-glavnoy .view-content .views-row {
    min-height: 425px;
  }

}

@media (max-width: 991px) {

  .region-tours .view-content .views-row {
   min-height: 332px;
   gap: 50px;
}

  .tour-pager-section .tour-pager-photo__container {
    width: 100%;
    justify-content: center;
  }

  .region-content .view-tury-na-glavnoy .view-content .views-row {
    max-height: 370px;
  }

  .about-tour .field--name-field-tekst-tura {
    max-height: 600px;
  }

  .tour-pager-photo__container .field__items {
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  .tour-pager-section {
    flex-direction: column;
  }

  .mainForTour {
    height: auto;
  }

  .about-tour {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
    padding-left: 30px;
  }

  .tours__next {
    left: 90%;
  }

  .tours__prev {
    right: 90%;
  }

  .about-tourMorePhoto {
    width: 100% !important;
    padding-left: 0px !important;
  }

  .mainForTour {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .tour-pager-section .tour-pager-photo__container {
    max-height: 490px;
  }

  .region-content .view-tury-na-glavnoy .view-content .views-row {
    min-height: 325px;
    gap: 45px;
  }


}

@media (max-width: 768px) {

  .region-tours .view-content .views-row {
   min-height: 245px;
   gap: 45px;
}

  .tour-pager-photo__container .field__items {
    width: 100%;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
  }

  .tour-pager-photo__container
    .field__items
    .field__item:first-child
    .gallerey__next {
    top: 50%;
  }

  .tour-pager-photo__container
    .field__items
    .field__item:first-child
    .gallerey__prev {
    top: 50%;
  }

  .tour-pager-section .tour-pager-photo__container {
    max-height: 650px;
  }

  .tours {
    margin-bottom: 40px !important;
    margin-top: 20px !important;
  }

  .mainForTour {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .about-tourMorePhoto {
    width: 72% !important;
    padding-left: 20px !important;
  }

  /* .region-content .view-tury-na-glavnoy .view-content .views-row {
    width: 48%;
    max-height: 270px;
  } */

  .tour-pager-photo__container .field__items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
    width: 100%;
  }

  .tour-pager-photo__container .field__items .field__item:first-child {
    order: 0;
  }

  .items-more {
    justify-content: center !important;
  }

  .tours__button {
    margin-top: 20px;
  }

  .about-tourMorePhoto {
    width: 100% !important;
    /* padding-left: 36px !important; */
  }

  .region-content .view-tury-na-glavnoy .view-content .views-row {
    min-height: 240px;
    gap: 35px;
  }

}

@media (max-width: 650px) {
  .region-tours .view-content .views-row {
    min-width: 100%;
  }

  .tours__next {
    left: 85%;
  }

  .tours__prev {
    right: 85%;
  }
}

@media (max-width: 576px) {

 

  .region-tours .view-content .views-row {
   min-height: clamp(17.188rem, -2.364rem + 89.38vw, 29.813rem);
   gap: clamp(2.5rem, -2.34rem + 22.12vw, 5.625rem);
   min-width: 100% !important;
}

  .tour-pager-photo__container
    .field__items
    .field__item:first-child
    .gallerey__prev {
    right: 82%;
  }

  .tour-pager-photo__container
    .field__items
    .field__item:first-child
    .gallerey__next {
    left: 82%;
  }

  .tour-pager-section .tour-pager-photo__container {
    /* max-height: clamp(24.375rem, -1.759rem + 119.47vw, 41.25rem); */
  }

  .about-tourMorePhoto {
    padding-left: 0px !important;
  }

  .tour-pager-photo__container .field__items .field__item {
    height: auto;
  }

  .tours__button {
    margin-top: 40px;
  }

  .region-content .view-tury-na-glavnoy .view-content .views-row {
    width: 100%;
    max-height: 515px;
  }

  .tours {
    margin-top: 20px !important;
    margin-bottom: 0px !important;
  }

  .tour-pager-photo__container .field__items .field__item {
    width: 20%;
  }

  .about-tour {
    padding-left: 5px;
  }

  .mainForTour {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .tour-pager-photo__container .field__items .field__item {
    margin-top: 0px;
  }

  .tour-pager-photo__container .field__items {
    padding-left: 0px;
    padding-top: 0px;
    gap: 12px;
  }


   .region-content .view-tury-na-glavnoy .view-content .views-row {
    min-height: clamp(16.25rem, -6.98rem + 106.19vw, 31.25rem);
    gap: clamp(2.188rem, -2.652rem + 22.12vw, 5.313rem);
  }

}

@media (max-width: 400px) {
  .tour-pager-photo__container .field__items .field__item {
    width: 104px;
  }
}
