:root {
  /* Bootstrap */
  --primary: #007cff;
  --primary-dark: #0b5ed7;
  --gray: #4c4d4b;
  /* --light-gray: #F0F0F1; */
  --cyan: #00ACE9;

  /* Plyr: видео */
  --plyr-color-main: var(--primary);

  /* LkKadastr */
  --primary-clear: rgba(76, 77, 75, 0.5);
  /* --primary-clear: rgba(0, 124, 255, 0.5); */
  --light-gray: rgba(76, 77, 75, 0.1);

}

@font-face {
  font-family: "fontawesome";
  src: url("../fonts/fontawesome-webfont.woff2") format("woff2");
}

@font-face {
  font-family: "Inter-Regular";
  src: url("../fonts/Inter-Regular.woff") format("woff");
}

@font-face {
  font-family: "Inter-Bold";
  src: url("../fonts/Inter-Bold.otf") format("opentype");
}

body {
  font-family: 'Inter-Regular', 'sans-serif';
  font-optical-sizing: auto;
  font-style: normal;
  background: #f7f7f7;
}

#top-panel {
  background: var(--primary);
}
#top-panel > div > a > span{
  font-size: 14px ;
}

#logo {
  width: 240px;
  height: 38px;
}

#notice-logo {
  width: 180px;
  height: 28.5px;
}

.text-black {
  color: var(--black);
}

.notifications, .publications {
  text-indent: 30px;
  text-align: justify;
}

.notifications {
  font-size: small;
}

.no-indent {
  text-indent: initial!important;
}

.publications > p > strong {
  font-weight: 600;
}

.form_main_img, .main_img {
  background: url('../images/main.jpg') no-repeat;
  background-position-y: center;
  background-size: cover;
  height: calc(100vh - 96px);
}

.form_main_img {
  height: 100vh;
}

input#captcha-input {
  width: 175px;
  height: 45px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

div.main_img_text_block {
  max-width: 420px;

  margin-top: 120px;
  margin-bottom: 12px;

  float:right;
  margin-right: 100px;

  background-color: var(--primary-clear);
}

@media (max-width: 768px) {

  body > div.container {
    padding-left: 0px!important;
    padding-right: 0px!important;
  }

  div.main_img_text_block {
    float:none;
    margin: 0 auto;
    margin-top: 20px;
  }

  input#captcha-input {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
  }
}

div.first_substrate, div.substrate_publication, div.substrate, div.last_substrate {
  width: 100%;
  min-height: calc(100vh - 96px);

  display: flex;
  align-items: center;

  padding-top: 50px;
  padding-bottom: 50px;

  background-image: linear-gradient(180deg, #ffffff 50%, #efefef 100%) !important;
}

div.substrate {
  min-height: 100vh;
}

div.first_substrate{
  padding-top: 0;
  padding-bottom: 0;
}

div.first_substrate,
div.substrate_publication {
  align-items: start !important;
}

div.substrate_publication {
  min-height: calc(100vh - 140px);
}

div.last_substrate {
  min-height: calc(100vh);
}

.trust:hover {

  -webkit-box-shadow: 0px 0px 8px 2px var(--gray);
  -moz-box-shadow: 0px 0px 8px 2px var(--gray);
  box-shadow: 0px 0px 8px 2px var(--gray);

  transition: transform 0.5s ease;
  transform: scaleY(1.1) scaleX(1.1) translateY(10px) translateX(10px) translateY(-10px) translateX(-10px) ;
}
.trust {
  width: 100%;
}

.card-header {
  border-bottom: none;
}

#back-to-top {
  display: none;
  width: 50px;
  position: fixed;
  bottom: 200px;
  right: 0px;
  z-index: 1000;
  padding: 12px 26px 12px 16px;
  background-color: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 18px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s, transform 0.3s;
}

#back-to-top:hover {
  background-color: var(--primary-dark);
  transform: scale(1.1);
}

#back-to-top.show {
  display: block;
  opacity: 1;
}

footer > div {
  background: var(--primary) url('../images/wave.png') no-repeat right bottom / contain ;
}

/* Видео */
  /* Кастомное соотношение сторон */
  .ratio-2x1 {
    --bs-aspect-ratio: calc(1 / 2 * 100%);
  }

  .btn.btn-play-pause {
    width: 60px;
    height: 60px;
    color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    transition:
      opacity 0.3s ease,
      transform 0.2s ease;
    position: absolute;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
  }

  .btn.btn-play-pause:hover {
    background: var(--bs-primary);
    color: white;
  }

  /* Показ кнопки при наведении на контейнер */
  /* #video-container:hover #playPauseBtn { */
  #video-container:hover #playPauseBtn {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1.05);
  }

  /* Стили для иконок */
  .icon-play,
  .icon-pause {
    display: inline;
  }

  /* Скрываем native controls */
  video::-webkit-media-controls,
  video::media-controls {
    display: none !important;
  }

  .numeric_wave_up {
    background: url(../img/numeric_wave_up.png) repeat-x;
    background-repeat: repeat-x;
    background-size: contain;
    background-color: var(--bs-primary);
    height: 200px;
  }

  .select2-container--default .select2-selection--single {
    border-top-right-radius: 0!important;
    border-bottom-right-radius: 0!important;
  }

  .select2-container .select2-selection--single {
    height: 38.5px!important;
  }

  .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px!important;
  }

  .select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none;
  }

  .select2-search--dropdown {
    line-height: 38px!important;
  }

  .select2-container--default .select2-search--dropdown .select2-search__field {
    border: none;
    line-height: 38px!important;
    outline: none!important;
  }

  /* .select2-container--default .select2-search--dropdown .select2-search__field:focus-visible {
    //
  } */

  .input-group > .select2-container {
    width: auto !important;
    flex: 1 1 auto;
  }

  .input-group-sm .select2-selection__rendered {
    padding: 0.5rem 0.5rem !important;
  }

  .select2-search--dropdown {
    padding: 0px!important;
  }

/* ************************************************** */
/* **********************UNUSED********************** */
/* ************************************************** */

.step-item {
  padding: 15px 20px;
  background-color: #f0f0f0;
  margin: 15px;
  min-height: 230px;
  text-align: center;

  border: 2px solid var(--light-gray);
}

.nav-link {
  color: rgba(0,0,0,.55)
}

.bg-primary.nav-item {
  border-left: 1px solid white;
}

.nav-item-enhanced {
  position: relative;
  overflow: hidden;
}

.nav-item-enhanced:hover {
  background: var(--primary);
  color: white!important;
}

.nav-item-enhanced:hover a {
  color: white!important;
}

.bg-primary.nav-item-enhanced a.nav-link{
  color: white!important;
}

.bg-primary.nav-item-enhanced:hover,
.bg-primary.nav-item-enhanced:hover a.nav-link{
  background-color: white!important;
  color: var(--primary)!important;
}

/* Сохраняем текст белым при наведении */
.nav-item-enhanced:hover .bg-primary.nav-link {
  color: #fff !important;
}

/* Select2 Small fix */

.input-group > .select2-container {
    width: auto;
    flex: 1 1 auto;
}

.input-group > .select2-container .select2-selection--single {
    height: 100%;
    line-height: inherit;
    /* padding: 0.5rem 1rem; */
}


.glassmorphism-box {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.3); /* Полупрозрачный белый фон */
    /* backdrop-filter: blur(2px); Размытие только фона */
    z-index: 1;
}

.glassmorphism-content {
    position: relative;
    z-index: 2; /* Текст поверх размытого фона */
    padding: 20px;
    color: #333;
}

/*  */

/* {{url('../images/russia_2026.svg')}} */

.substrate#geography {
  position: relative;
  background-image: url('../images/russia_2026.svg')!important;
  background-size: 150%; /* или contain, по желанию */
  background-position: center bottom; /* стартовая позиция */
  background-repeat: no-repeat;
  transition: background-position 0.3s ease; /* плавное движение */
}

div.card.borderless {
  border: none !important;
}

div.bg-gradient-white {
  background: rgba(255,255,255,0.9);
}

div#geo_substrate {
  padding: 0px;
}

@media (min-width: 1200px) {
  div#geo_substrate {
    max-width: 1440px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

div.modal-footer {
  justify-content: flex-start;
}

div.modal-header, div.modal-footer {
  border: none;
  background: none;
}

div.modal-content {
  background: url(../images/wave.svg) no-repeat bottom right / 50%, var(--primary) no-repeat center / cover;
  /* background: url(../images/wave.svg) no-repeat bottom right / 50%, url(../images/number.png) no-repeat center right / 75%, var(--primary) no-repeat center / cover; */
}

div.modal-dialog {
  position: relative;
  top: 25%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  div.modal-dialog {
    top: 0;
    position: relative;
    margin: .5rem;
  }
}

.pictute-col {
  background-image: url(../images/number.png);
  background-position: left center;
  background-size: 200%;
}