/* ===========================
   MODAL (Bootstrap 4)
   =========================== */

/* общие правила для тела страницы при открытом модальном (удерживает прокрутку) */
.modal-open {
  overflow: hidden;
}

/* затемняющая подложка */
.modal-backdrop {
  opacity: .5;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}
.modal-backdrop.show {
  opacity: .5;
}

/* контейнер модального окна */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* показать модал */
.modal.show {
  display: block;
}

/* центрирование диалога по вертикали */
.modal-dialog {
  position: relative;
  width: auto;
  margin: .5rem;
  pointer-events: none;
  max-width: 500px; /* можно менять */
}

/* класс вертикально-центрированного диалога (добавляется при .modal-dialog-centered) */
.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - (.5rem * 2));
}

/* сам контент модального окна */
.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: .3rem;
  outline: 0;
}

/* анимация появления диалога (scale/translate) */
.modal.fade .modal-dialog {
  transition: all 0.3s;
  transform:  translate(-50%, 0);
  top: 10%;
  left: 50%;
}

.modal .modal-dialog,
.modal.show .modal-dialog {
  transform: translate(-50%, 0);
  position: absolute;
  top: 10%;
  left: 50%;
}

/* заголовок, тело и футер модала */
.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #e9ecef;
  border-top-left-radius: .3rem;
  border-top-right-radius: .3rem;
}
.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 1.25rem;
}
.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 1rem;
}
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: .75rem;
  border-top: 1px solid #e9ecef;
}

/* кнопка закрытия */
.close {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .5;
}
.close:hover {
  color: #000;
  text-decoration: none;
  opacity: .75;
}

/* размерные модификаторы */
.modal-sm {
  max-width: 300px;
}
.modal-lg {
  max-width: 800px;
}

/* вертикальная прокрутка содержимого при большом контенте */
.modal-dialog-scrollable {
  display: flex;
  max-height: calc(100% - (.5rem * 2));
}
.modal-dialog-scrollable .modal-content {
  max-height: calc(100vh - 3.5rem);
}
.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
}

/* централизованный пример для backdrop transition */
.modal.fade .modal-backdrop {
  opacity: 0;
  transition: opacity .15s linear;
}
.modal.show .modal-backdrop {
  opacity: .5;
}

/* ===========================
   Вспомогательные классы/поведение
   =========================== */

/* disabled pointer events для неактивных источников */
.tooltip, .popover {
  pointer-events: auto; /* чтобы можно было кликать/наводить если надо */
}

/* задаём z-index-ы: backdrop < modal < popover/tooltip */
.modal-backdrop { z-index: 1040; }
.modal { z-index: 1050; }
.popover { z-index: 1060; }
.tooltip { z-index: 1070; }

.error_top_text {
  display: block;
  position: fixed;
  top: -110px;
  right: 30px;
  z-index: 104400;
  -webkit-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.error_top_text.badge_shake {
  color: #fff;
  background: #c91f1f;
  padding: 15px 30px 20px;
  top: 30px;
  border-radius: 10px;
  -webkit-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.place_for_text {
  font-family: 'Jeko-Bold';
  font-size: 24px;
}

#wait_new,
#wait_kurs,
#wait_zno,
#wait {
  position: fixed;
  top: 30%;
  text-align: center;
  width: 100%;
  color: #fff;
  z-index: 9999;
  display: none;
}

#overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.55;
  background-color: #000;
  display: none;
  transition: opacity ease 0.3s;
  z-index: 9999;
}

#overlay_error {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.55;
  background-color: #000;
  display: none;
  transition: opacity ease 0.3s;
  z-index: 9999;
}

.h_field {
  display: none;
}

.crypto_popup { 
  width: calc(100% - 40px);
  max-width: 1050px; 
  padding: 10px 10px 10px;
  position: fixed;
  bottom: 20px; 
  right: 0;
  left: 0;
  margin: 0 auto;
  z-index: 1000; 
  border-radius: 8px;    
  border: 1px solid #fff;    
  box-shadow: 0 0 24px rgba(0,0,0,0.3);background: #fff; /* РР»Рё Р»СЋР±РѕР№ РґСЂСѓРіРѕР№ С†РІРµС‚ */
}

.crypto_popup.hide {
    display: none;
}

.crypto_popup::after {
  content: '';
  width: 36px;
  height: 40px;
  display: block;
  position: absolute;
  bottom: 20%; right: 10%; 
  background-size: cover;
}

.crypto_popup .title {
  font-weight: normal ;
  font-size: 16px;
  line-height: 26px;
  padding-bottom: 25px;
}

.crypto_popup .close { 
  position: absolute;
  top: 5px; right: 10px;
}

.crypto_popup .close:focus {
  outline: none;
}

.crypto_popup .btn {
  position: relative;
  z-index: 1;
}



body {
  height: max-content;
}

.header__button,
.header__form-button {
  color: #191919;
}

.header__field input[type=text] {
  background: #fff;
}

.clients__item.swiper-slide .clients__desc {
  line-height: 140%;
}

.consult__select {
  color: #757575;
}

.list-card__cell ul,
.list-card__cell ul li {
  list-style: initial;
}

.list-card__cell ul {
  /* padding: 5px 0 0 15px; */
}

.list-card__cell ul li {
  color: #575757;
  padding-top: 3px;
}

.list-card__cell ul li:first-child {
  padding: 0;
}

.configuration__parameter {
  margin-bottom: 15px;
}

.list-card__cell ul li {
  /* font-size: 15px; */
  /* padding-top: 10px; */
}

.dark--scheme .list-card__cell ul {
  padding: 0;
}

/* .dark--scheme .list-card__cell ul li,
.list-card__grid .list-card__cell ul li {
  line-height: 140%;
  padding: 0 0 10px;
  margin-bottom: 0;
}

.list-card__cell {
  line-height: 140%;
} */

body.body-overflow #orderin-popap {
  display: block;
}

.mt_10 {
  margin-top: 10px;
}

.mt_20 {
  margin-top: 20px;
}

.mt_30 {
  margin-top: 30px;
}

.mt_40 {
  margin-top: 40px;
}

.mt_50 {
  margin-top: 50px;
}

.mt_60 {
  margin-top: 60px;
}

.mb_10 {
  margin-bottom: 10px;
}

.mb_20 {
  margin-bottom: 20px;
}

.mb_30 {
  margin-bottom: 30px;
}

.mb_40 {
  margin-bottom: 40px;
}

.mb_50 {
  margin-bottom: 50px;
}

.mb_60 {
  margin-bottom: 60px;
}

.modal_sm .modal__container {
  max-width: max-content;
}

.modal_sm .modal__body {
  max-width: 590px;
  padding: 55px;
}

.modal_header {
  padding-bottom: 40px;
}

.modal_header .ordering__title {
  padding-bottom: 20px;
}

.modal_header p {
  line-height: 21px;
}

.modal_header p:last-child {
  margin: 0;
}

.modal_sm .modal__body input {
  font-size: 14px;
  margin-bottom: 10px;
}

.modal_sm .modal__body textarea {
  min-height: 150px;
  font-size: 14px;
}

.modal_sm .checkbox-grey {
  margin-bottom: 30px;
}

#success_text {
  font-size: var(--font-size-lg);
  line-height: 140%;
}

.modal__title {
  font-family: avr(--font-family-second);
  font-weight: 800;
  font-size: 32px;
  line-height: 100%;
  color: #000;
}

.modal_footer {
  padding-top: 40px;
}

.button_big {
  font-size: 16px;
  line-height: 20px;
  gap: 85px;
  padding: 15px 30px;
}

.news__list_row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.news_full .about__name {
  max-width: 100%;
}

/* open news section */

.open_news_section {
  margin-bottom: 65px;
}

.open_news_section .title-section {
  padding-bottom: 35px;
}

.open_news_date {
  font-weight: bold;
  font-size: 16px;
  color: #7F7F7F;
  padding-bottom: 45px;
}

.open_news_row {
  display: flex;
  align-items: flex-start;
  font-size: 16px;
  line-height: 24px;
}

.open_news_img {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.open_news_text {
  padding-left: 40px;
}

/* end open news section */

/* articles list section */

.articles_tags_row {
  display: grid;
  grid-auto-flow: column;
  gap: 10px;
  justify-content: flex-start;
  margin-bottom: 35px;
}

.tag {
  display: inline-flex;
  font-size: 16px;
  line-height: 18px;
  padding: 6px 20px;
  background: #F6F6F6;
  border-radius: 50px;
  transition: all 0.3s;
}

.tag.active,
.tag:hover {
  color: #fff;
  background: #6E48F5;
}

.articles_list_row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.articles_preview {
  display: grid;
  grid-template-rows: auto 1fr;
  background: #f5f5f5;
  border-radius: 5px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}

.articles_preview:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.article_preview_img {
  width: 100%;
  height: 295px;
  object-fit: cover;
  display: block;
}

.article_preview_info_box {
  display: grid;
  gap: 15px;
  padding: 15px 20px 30px;
}

.article_preview_info_top_row {
  display: grid;
  grid-auto-flow: column;
  justify-content: space-between;
  color: #8a8a8a;
}

.article_preview_read_time span {
  font-size: 18px;
  line-height: 0;
}

.article_preview_number span {
  font-size: 14px;
  line-height: 0;
}

.articles_preview h4 {
  font-weight: bold;
  margin: 0 0 20px;
}

.articles_preview h4 a {
  text-decoration: none;
}

.article_preview_info_bottom_row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.article_preview_info_tag {
  color: #8a8a8a;
}

.button_sm {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: var(--font-family);
  font-weight: normal;
  line-height: 100%;
  padding: 0 20px;
  border-radius: 20px;
  background: #fff;
  text-decoration: none;
  transition: all .3s ease;
}

.button_sm:hover {
  color: #fff;
  background: #6E48F5;
  transition: all 0.3s;
}

/* end articles list section */

/* article view section */

.article_view_section {
  font-size: var(--font-size-ml);
  line-height: 24px;
  margin-bottom: 120px;
}

.article_view_section .title-section {
  margin-bottom: 40px;
}

.article_info_line {
  display: grid;
  grid-auto-flow: column;
  gap: 15px;
  justify-content: flex-start;
  align-items: center;
  color: #7F7F7F;
  margin-bottom: 35px;
}

.article_author {
  display: grid;
  grid-auto-flow: column;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}

.article_author img {
  width: 50px;
  border-radius: 50px;
}

.article_info_line_box {
  display: inline-flex;
}

.article_info_section {
  display: grid;
  grid-auto-flow: column;
  gap: 30px;
  position: relative;
  margin-bottom: 100px;
}

.article_nav_list {
  height: max-content;
  width: 290px;
  position: sticky;
  top: 80px;
}

.article_nav_list li {
  padding: 5px 0;
}

.article_nav_list li a {
  display: inline-flex;
  color: #7F7F7F;
  padding-left: 10px;
  cursor: pointer;
  border-left: 5px solid transparent;
  transition: all 0.3s;
}

.article_nav_list li a:hover,
.article_nav_list li a.active {
  color: #3C3C3C;
  border-color:#6E48F5;
}

.article_text .article_text_img {
  margin-bottom: 50px;
}

.article_text h2 {
  font-family: var(--font-family-second);
  font-size: var(--font-size-subtitle);
  font-weight: 900;
  line-height: 100%;
  margin-bottom: 20px;
}

.article_text h3 {
  font-family: var(--font-family-second);
  font-size: var(--font-size-3xl);
  font-weight: 900;
  line-height: 100%;
  margin-bottom: 10px;
}

.article_text_anchor {
  margin-top: 50px;
}

.article_text p + h2,
.article_text p + h3 {
  margin-top: 50px;
}

.article_text p {
  margin-bottom: 20px;
}

.article_text ul {
  margin-bottom: 40px;
}

.article_text ul li {
  padding-left: 25px;
  margin-top: 5px;
  position: relative;
}

.article_text ul li:first-child {
  margin-top: 0;
}

.article_text ul li:before {
  content: '';
  height: 10px;
  width: 10px;
  display: block;
  position: absolute;
  top: 6px; left: 7px;
  background: #6E48F5;
  border-radius: 10px;
}

.article_text p + ul,
.article_text b + ul {
  margin-top: 50px;
}

.article_info_section adv {
  display: grid;
  gap: 60px;
  grid-auto-flow: column;
  align-items: center;
  padding: 40px 60px 45px;
  margin-top: 30px;
  background: url(/img/webp/bg-form-2.webp) no-repeat -2px -2px;
  background-size: 101% auto;
  border-radius: 10px;
}

.article_info_section adv .green_banner_text .green_banner_title {
    font-family: var(--font-family-second);
    font-size: var(--font-size-subtitle);
    font-weight: 900;
    line-height: 120%;
    margin-bottom: 5px;
}

.article_info_section adv .green_banner_text p {
  margin: 0;
}

.article_info_section adv .button {
  height: 50px;
  gap: 5px;
  padding: 0 20px;
}

.article_view_section .article_section .articles_list_row .articles_preview:nth-child(4) {
  display: none;
}

/* end article view section */

.dark--scheme .list-card__cell ul {
  width: 100%;
}

.dark--scheme .list-card__cell ul li {
  color: #fff;
}

/* seo section */

.seo_section {
  padding-top: 20px;
  padding-bottom: 80px;
  padding-left: var(--padding-2xl);
  padding-right: var(--padding-2xl);
}

.seo_section .title-section {
  margin-bottom: 10px;
  line-height: 120%;
}

.seo_section h1.title-section {
  font-size: calc(42px + (100vw - 1366px) / 1194 * 10);
}

.seo_section h2.title-section {
  font-size: calc(34px + (100vw - 1366px) / 1194 * 10);
}

.seo_section h3.title-section {
  font-size: calc(26px + (100vw - 1366px) / 1194 * 10);
}

.seo_section h4.title-section {
  font-size: calc(20px + (100vw - 1366px) / 1194 * 10);
}

.seo_section .seo_section_row {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  justify-content: flex-start;
  line-height: 21px;
}

.seo_section .seo_section_box {
  text-align: justify;
}

.seo_section .seo_section_box ul li {
  padding-left: 20px;
  position: relative;
}

.seo_section .seo_section_box ul li::before {
  content: '';
  width: 5px;
  height: 5px;
  display: block;
  position: absolute;
  top: 8px; left: 8px;
  background: #000;
  border-radius: 5px;
}

/* end seo section */

.advantages__videobg {
  height: calc(100% + 4px);
  width: calc(100% + 2px);
  top: -2px; 
}

.ordering__forms .textarea-grey {
  min-height: 100px;
}

.configuration__selection-group {
  /* align-items: start; */
}

.configuration__selection-group-inner {
  /* min-width: 300px; */
}

select.input-grey {
  color: #7f7f7f;
  padding: 13px 16px;
  cursor: pointer;
}



/* responsive */

@media (min-width: 1024px) and (max-width: 2559.98px) {

  .modal__title {
    font-size: calc(32px + (100vw - 1024px) / 1536 * 10);
  }

}

@media (max-width: 1152px) {

  .open_news_img {
    max-width: 450px;
  }

  .services-swiper__card {
    gap: 10px;
  }

  .services-swiper__card-title {
    font-size: 20px;
  }

  .article_info_section adv {
    gap: 30px;
    padding: 30px 40px 35px;
    background-size: 150% auto;
  }

}

@media (max-width: 995px) {

  .wrap {
    width: auto;
    padding-left: var(--padding-container);
    padding-right: var(--padding-container);
  }

  .news__list_row {
    grid-template-columns: repeat(3, 1fr);
  }

  .news__list_row .news__item {
    width: auto;
    height: 225px;
  }

  .open_news_text {
    padding-left: 20px;
  }

  .open_news_img {
    max-width: 400px;
  }

  .article_nav_list {
    width: 250px;
  }

  .services-swiper__card {
    gap: 20px;
  }

  .services-swiper__card-title {
    font-size: 24px;
  }

  .dark--scheme .list-card__grid.four_columns {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .dark--scheme .list-card__cell {
    padding: var(--padding-2xl);
  }

  .dark--scheme .list-card__cell .list-card__link {
    font-size: 14px;
  }

  .article_info_section adv {
    grid-auto-flow: row;
  }

  .seo_section .seo_section_row {
    gap: 30px;
  }

}

@media (max-width: 767px) {

  .open_news_row {
    flex-direction: column;
  }

  .open_news_img {
    max-width: 100%;
  }

  .open_news_text {
    padding-top: 30px;
    padding-left: 0;
  }

  .news__list_row {
    grid-template-columns: repeat(2, 1fr);
  }

  .articles_list_row {
    grid-template-columns: repeat(2, 1fr);
  }

  .article_preview_img {
    height: 240px;
  }

  .article_view_section .article_section .articles_list_row .articles_preview:nth-child(3) {
    display: none;
  }

  .article_info_section {
    grid-auto-flow: row;
    gap: 40px;
  }
  
  .article_nav_list {
    max-width: 100%;
    width: 100%;
    position: relative;
    top: 0;
  }

  .article_text .article_text_img {
    margin-bottom: 30px;
  }

  .article_text p {
    margin-bottom: 10px;
  }

  .article_text_anchor {
    margin-top: 25px;
  }

  .article_text p + h2,
  .article_text p + h3 {
    margin-top: 20px;
  }

  .article_text h2 {
    margin-bottom: 10px;
  }

  .article_info_line {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
  }

  .dark--scheme .list-card__grid.four_columns {
    grid-template-columns: 1fr 1fr;
  }

  .seo_section .seo_section_row {
    gap: 0;
    grid-auto-flow: row;
    grid-template-columns: 1fr;
  }

}

@media (min-width: 600px) {

  .list-card__grid.two_columns {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }

  .list-card__grid.three_columns {
    -ms-grid-columns: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .list-card__grid.four_columns {
    -ms-grid-columns: 1fr 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

}

@media (max-width: 600px) {

}

@media (max-width: 560px) {

  .articles_list_row {
    grid-template-columns: repeat(1, 1fr);
  }

  .article_view_section .article_section .articles_list_row .articles_preview:nth-child(2) {
    display: none;
  }

  .dark--scheme .list-card__grid.four_columns {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 420px) {

  .news__list_row {
    grid-template-columns: repeat(1, 1fr);
  }

}

/* end responsive */

