/*сдвигаем стандартную подпись
 бутстрап-слайдера*/
.homepage_carousel .carousel-caption {
  top: 90px;
  left: 14px;
  font-size: 25px;
  font-weight: 600;
  line-height: 34px;
  letter-spacing: 0%;

  max-width: 600px;
}

.homepage_carousel {
  height: 600px;
}

.homepage_carousel .carousel-item {
  height: 600px;
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  background-position-x: -40vw, 110px;
}

.homepage_carousel_container {
  position: relative;
  height: 490px;
}

.homepage_carousel .carousel-control-prev {
  left: -50px;
}

.homepage_carousel .carousel-control-next {
  right: -50px;
}

.homepage_carousel_header {
  font-size: 34px;
  font-weight: 800;
  line-height: 47px;
  letter-spacing: 0%;
}

.homepage_carousel .carousel-indicators {
  bottom: 40px;
  align-items: center;
  right: initial;
  left: -185px;
}
.carousel-indicators li {
  width: 10px;
  height: 10px;
  margin-right: 15px;
  opacity: 1;
  border-radius: 30px;
  border: none;
  border: 1px solid white;
  background-color: #ffffff00;
}

.homepage_carousel .carousel-indicators li {
  margin-right: 15px;
}

.carousel-indicators li.active {
  width: 12px;
  height: 12px;
  background-color: #ffffff;
}

.homepage_carousel_btn {
  width: 212px;
  height: 45px;

  background-color: #1ca263;
  border-color: #1ca263;
  color: #ffffff;
  text-transform: uppercase;
  transition: background-color 0.3s ease;

  font-style: normal;
  font-weight: 600;
  font-size: 10px;
  text-align: center;
  letter-spacing: 0.1em;
  padding-top: 15px;
  position: absolute;
  bottom: 0;
  border-radius: 5px;
}

.homepage_carousel_btn:hover {
}

.hp_years {
  background-image: url("/image/homepage2/bg_years.png");
  /*background-size: 200%;*/
  /*background-position-y: -460px;*/
  /*background-position-x: 0;*/
}

.hp_years_img {
  width: 100%;
  max-width: 250px;
}

.hp_years_txt {
  font-family: Open Sans;
  font-size: 45px;
  font-weight: 400;
  line-height: 55px;
  letter-spacing: 0%;
  text-align: left;
}

.hp_calc {
  position: relative;
  z-index: 5;
}

.hp_catalog {
  background-size: cover;
  background-image: url("/image/homepage2/bg_catalog.jpg");
  padding-bottom: 70px;
  margin-top: 55px;
}

.hp_catalog_title {
  font-size: 65px;
  font-weight: 700;
  line-height: 70px;
  letter-spacing: 0%;
}

.hp_catalog_grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 39px 29px;
}

.hp_catalog_grid_item {
  text-align: center;
  font-size: 20px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.35);

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hp_catalog_grid_img {
  /*width: 50%;*/
}

.hp_catalog_grid_item_name:link,
.hp_catalog_grid_item_name:visited {
  color: #000;
  text-decoration: none;
}

.hp_allows {
  height: 528px;
  background-image: url(/image/design/2024/realty/vis_allows.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  margin-top: -118px;
  position: relative;
  margin-bottom: 100px;
}

.hp_allows img {
  width: 100%;
  max-width: 1080px;
  position: absolute;
  left: 50%;
  bottom: -50px;
  transform: translateX(-50%);
}

.hp_about {
}

.hp_about_russia {
}

.hp_about_russia > img {
  width: 100%;
}

.hp_about_button {
  font-size: 22px;
  font-weight: 700;
  line-height: 29px;
  letter-spacing: 0%;
  text-align: center;
  color: rgba(255, 255, 255, 0.83);
  padding: 28px;
  border-radius: 30px;
  margin-bottom: 30px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);

  background-image: url("/image/homepage2/bg_green1.jpg");
  background-size: 100%;
}

.hp_about_title {
  font-size: 170%;
  font-weight: 600;
}

.hp_about_prize {
  width: 58px;
}

.hp_moex {
  background-image: url("/image/homepage2/bg_moex.jpg");
}

.hp_moex h3 {
  color: #fff;
  font-size: 45px;
  font-weight: 800;
  line-height: 60px;
  letter-spacing: 0%;
  text-align: left;
  max-width: 700px;
}

.hp_moex_text1 {
  max-width: 255px;
  font-size: 12px;
  line-height: 20px;
  text-align: left;

  margin-right: 30px;
  padding: 40px 0px;
  text-transform: uppercase;
  font-weight: bold;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 5px;
}

.hp_moex_text1 > h4 {
  font-weight: bold;
}

.hp_moex_text2 {
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  max-width: 400px;

  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.85);
}

.hp_moex_btn {
  display: inline-block;
  border: 1px solid rgb(255, 255, 255);
  border-radius: 5px;
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.25);
  background: rgba(0, 0, 0, 0.45);
}

.hp_moex_rating {
  background-repeat: no-repeat;
  background-image: url(/image/homepage2/bg_moex_rating.png);
  background-size: 20%;
  background-position: bottom 70px right 130px;
}

.ht_online_service {
  background-image: url("/image/homepage2/bg_green_gadient.jpg");
  color: #fff;
  font-size: 25px;
  background-size: cover;
}

.ht_online_service h4 {
  font-size: 30px;
  font-weight: 700;
}

.ht_online_service1 {
  max-width: 200px;
}
.ht_online_service1 img {
  max-width: 150px;
}
.ht_online_service2 {
  max-width: 350px;
}

.ht_online_service3 {
  max-width: 350px;
}

.ht_online_service4 {
  max-width:550px;
}

/*news*/
.hp_news_item {
  box-sizing: border-box;
  border: 1px solid rgb(229, 229, 229);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.8);
  height: 480px;
}

.hp_news_item_img {
  width: 100%;
  border: 1px solid rgb(229, 229, 229);
  border-radius: 30px;
}

.hp_news_item_date {
  font-size: 90%;
  color: #ccc;
}

.hp_news_item_title {
  /*font-weight: initial;*/
  display: block;
  transition: all 0.3s;
}

.hp_news_item_title:link,
.hp_news_item_title:visited {
  color: black;
}

.hp_news_item_title:hover {
  color: var(--msb-green2);
}

.hp_news_item_read:link,
.hp_news_item_read:visited {
  border: 1px solid #e5e5e5;
  border-radius: 30px;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9f9f9f;
  display: inline-block;
  margin: calc((100% - 108px) / 2);
  padding: 10px 30px;
  transition: all 0.3s;
}
.hp_news_item_read:hover {
  background: #f5f5f5;
}
.hp_news_tg {
  background-image: url(/image/homepage2/bg_lightgreen.jpg);
  color: #fff;
  background-size: cover;
}

.hp_news_tg_title {
  font-size: 45px;
  font-weight: 800;
  line-height: 60px;
  letter-spacing: 0%;
}

.hp_news_tg_txt {
  font-size: 20px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0%;
  text-align: left;
  text-transform: lowercase;
}

.hp_news_tg1 {
  max-width: 827px;
  text-shadow: 1px 2px 9px #00000061;
}

.hp_qform {
  background-size: 130%;
  position: relative;
  background-image: url(/image/homepage2/bg_catalog.jpg);
}

.hp_qform::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0.5; /* Adjust for more or less whiteness */
}

.blink {
  animation: blink-animation 1s steps(2, start) infinite;
  -webkit-animation: blink-animation 1s steps(2, start) infinite;
}

@keyframes blink-animation {
  to {
    visibility: hidden;
  }
}

@-webkit-keyframes blink-animation {
  to {
    visibility: hidden;
  }
}

@media screen and (max-width: 900px) {
  .hp_years_img {
    max-width: 150px;
  }
  .button__w100 {
    width: 100%;
  }

  .hp_news_item {
    height: initial;
  }

  .carousel-indicators {
    left: 10px;
    margin-left: 0;
  }

  .homepage_carousel_container {
    height: 470px;
  }

  .homepage_carousel {
    height: auto;
  }

  .homepage_carousel .carousel-item {
    height: auto;
  }

  .homepage_carousel .carousel-item {
    background-repeat: no-repeat, no-repeat;
    background-size: auto, cover;
    background-position-x: -18000px, 0;
  }

  .homepage_carousel .carousel-caption {
    font-size: 16px;
    line-height: initial;
  }

  .homepage_carousel_header {
    font-size: 20px;
    /*font-weight: 800;*/
    line-height: normal;
  }

  .hp_catalog_title {
    font-size: 40px;
  }

  .hp_moex_text1,
  .hp_moex_text2 {
    max-width: initial;
    border: none;
  }

  .hp_moex_rating {
    background-image: none;
  }

  .hp_moex_rating h3 {
    font-size: 20px;
    line-height: initial;
  }

  .ht_online_service img {
    width: 90%;
  }

  .hp_about_button {
    font-size: 18px;
    line-height: initial;
    padding: 18px;
    border-radius: 20px;
    margin-bottom: 20px;
  }

  .hp_news_tg_title {
    font-size: 20px;
    line-height: initial;
  }

  .hp_catalog_title {
    font-size: 35px;
    line-height: initial;
  }

  .ht_online_service {
    font-size: 14px;
  }

  .ht_online_service h4 {
    font-size: 20px;
    font-weight: 700;
  }

  .ht_online_service1,
  ht_online_service2 ht_online_service3,
  ht_online_service4 {
    width: 100%;
  }
}
