.main-background {
  /* background-color: #18385c; */
 
  /* min-height: 100vh; */
  background-image: url('/img/301.jpg'); 
  background-size: cover;
  background-position: center;
  padding: 80px 10px;

}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Noto Sans', 'Arial', sans-serif;
  background-color: #f5f5f5;
  color: #333;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}
.mobile-only-breaks {
    display: none;
  }

  @media screen and (max-width: 768px) {
    .mobile-only-breaks {
      display: inline;
    }
  }
#text-with-blog{
  font-family: 'Noto Sans', 'Arial', sans-serif;
  margin-left: 350px; /* Отступ слева */
  margin-right: 350px;
}
.tabs {
  font-family: 'Noto Sans', 'Arial', sans-serif;
  margin-left: 350px; /* Отступ слева */
  margin-right: 350px;
}

[role="tablist"] {
  display: flex;
  gap: 10px;
  width: 100%;
}
.form-group select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  background-color: white;
  font-size: 16px;
  color: #333;
  appearance: none; /* Для скрытия стандартного стрелочного индикатора */
}

.form-group select:focus {
  border-color: #094672;
  outline: none;
}

[role="tab"] {
  padding: 5px 10px;
  border: 1px solid hsl(219deg 1% 72%);
  border-bottom: none;
  background: hsl(220deg 20% 94%);
  cursor: pointer;
  font-weight: bold;
  max-width: 22%;
  outline: none;
  border-radius: 5px 5px 0 0;
}

[role="tab"][aria-selected="true"] {
  background: hsl(220deg 43% 99%);
  border-top: 6px solid rgb(36 116 214);
  border-bottom: 2px solid hsl(220deg 43% 99%);
}

[role="tab"]:hover span.focus,
[role="tab"]:focus span.focus,
[role="tab"]:active span.focus {
  padding: 2px 4px;
  border: 2px solid rgb(36 116 214);
  border-radius: 3px;
}

[role="tabpanel"] {
  padding: 10px;
  border: 2px solid hsl(219deg 1% 72%);
  background: hsl(220deg 43% 99%);
  border-radius: 0 5px 5px 5px;
  min-height: 10em;
}

[role="tabpanel"].is-hidden {
  display: none;
}
.question-form {
  margin-top: 20px;
  padding: 10px;
  border: 2px solid #094672;
  border-radius: 5px;
  background-color: #f5f5f5;
}

.question-form h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #094672;
}

.form-group {
  margin-bottom: 10px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.form-group textarea {
  resize: vertical;
}

button[type="submit"] {
  background-color: #094672;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

button[type="submit"]:hover {
  background-color: #072f4e;
}
.separator_menu2 {
  width: 100%;
  height: 80px;
  background-color: #094672;
  text-align: center;
  display: table;
  margin-bottom: 55px;
}

.separator_menu2 p {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.separator_third {
  margin-bottom: 0;
  width: 100%;
  border: none;
  border-top: 5px solid #c59d79;
}

.zh2 {
  text-align: center;
  color: white;
}
.checkbox-wrapper-29 {
  --size: 1rem;
  --background: #fff;
  font-size: var(--size);
  margin-bottom: 35px;
}

.checkbox-wrapper-29 *,
.checkbox-wrapper-29 *::after,
.checkbox-wrapper-29 *::before {
  box-sizing: border-box;
}

.checkbox-wrapper-29 input[type="checkbox"] {
  visibility: hidden;
  display: none;
}

.checkbox-wrapper-29 .checkbox__label {
  width: var(--size);
}

.checkbox-wrapper-29 .checkbox__label:before {
  content: ' ';
  display: block;
  height: var(--size);
  width: var(--size);
  position: absolute;
  top: calc(var(--size) * 0.125);
  left: 0;
  background: var(--background);  
}

.checkbox-wrapper-29 .checkbox__label:after {
  content: ' ';
  display: block;
  height: var(--size);
  width: var(--size);
  border: calc(var(--size) * .14) solid #000;
  transition: 200ms;
  position: absolute;
  top: calc(var(--size) * 0.125);
  left: 0;
  background: var(--background);  
}

.checkbox-wrapper-29 .checkbox__label:after {
  transition: 100ms ease-in-out;
}

.checkbox-wrapper-29 .checkbox__input:checked ~ .checkbox__label:after {
  border-top-style: none; 
  border-right-style: none;
  -ms-transform: rotate(-45deg); /* IE9 */
  transform: rotate(-45deg);
  height: calc(var(--size) * .5);
  border-color: green;
}

.checkbox-wrapper-29 .checkbox {
  position: relative;
  display: flex;
  cursor: pointer;
  /* Mobile Safari: */
  -webkit-tap-highlight-color: rgba(0,0,0,0);   
}

.checkbox-wrapper-29 .checkbox__label:after:hover,
.checkbox-wrapper-29 .checkbox__label:after:active {
   border-color: green; 
}

.checkbox-wrapper-29 .checkbox__label {
  margin-right: calc(var(--size) * 0.45);
}
.separator_text a{
  color: #fff;
  font-size: 15px;
}
.rImg-text {
  padding-top: 60px;
  display: flex; /* Используем Flexbox */
  flex-direction: column; /* Ставим элементы в колонку */
  align-items: center; /* Выравнивание по горизонтали */
  justify-content: center; /* Выравнивание по вертикали */
}

.rImg-text img {
 
  height: auto; /* Сохранить пропорции */
  border-radius: 3px; /* Если нужно, округлим края */
}

#check_anonym {
  font:
    0.9rem 'Fira Sans',
    sans-serif;
}

#for_check{
  padding-bottom: 35px;
}
#text_rector_second{
  padding-bottom: 35px;
}

/* Адаптивные стили */
@media screen and (max-width: 768px) {
  .separator_menu {
    display: flex;
    justify-content: center; /* Выравнивание по центру */
    gap: 10px; /* Расстояние между элементами */
  }
  
  .separator_text a {
    color: inherit; /* Наследует цвет родителя */
  }

  .foto_main {
    padding: 10px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .foto_main img {
    width: 200px; /* Уменьшение фото для сохранения качества */
    height: auto;
    margin-bottom: 10px;
  }

  #text-with-blog {
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
  }

  .tabs {
    margin-left: 10px;
    margin-right: 10px;
  }

  [role="tablist"] {
    flex-wrap: wrap;
    gap: 5px;
  }

  [role="tab"] {
    font-size: 14px;
    max-width: 100%;
    padding: 5px;
  }

  [role="tabpanel"] {
    padding: 5px;
    font-size: 14px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 14px;
    padding: 6px;
  }

  button[type="submit"] {
    font-size: 14px;
    padding: 8px 16px;
  }

  #check_anonym {
    font-size: 0.8rem;
  }

  .rImg-text img {
    width: 50%; /* Уменьшаем размер изображения на 70% от родительского контейнера */
    margin: 0 auto; /* Центрируем изображение */
    display: block;
  }

  .separator_menu2 {
    height: auto;
    padding: 10px;
    font-size: 14px;
  }

  .zh2 {
    font-size: 12px;
  }

  /* Выравнивание "Рус", "Каз", "Eng" по горизонтали */
  .language_switcher {
    display: flex;
    justify-content: center; /* Выравнивание по центру */
    align-items: center; /* Выравнивание по вертикали */
    gap: 10px; /* Расстояние между кнопками */
    margin-top: 5px;
  }

  .language_switcher button {
    font-size: 14px;
    padding: 5px 10px;
    line-height: 1; /* Чтобы кнопки были одинаковой высоты */
  }
}

@media screen and (max-width: 480px) {
  .separator_menu {
    height: auto;
    padding: 10px 0;
  }

  .foto_main img {
    width: 150px; /* Ещё меньше для маленьких экранов */
    height: auto;
  }

  #text-with-blog {
    margin: 0 10px;
    font-size: 14px;
  }

  .tabs {
    margin: 0 10px;
  }

  [role="tab"] {
    font-size: 12px;
    padding: 5px;
  }

  [role="tabpanel"] {
    padding: 5px;
    font-size: 12px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 12px;
    padding: 4px;
  }

  button[type="submit"] {
    font-size: 12px;
    padding: 6px 12px;
  }

  

  .separator_menu2 p {
    font-size: 12px;
  }

  /* Рус Каз Eng на одной высоте и выровнены по горизонтали для маленьких экранов */
  .language_switcher {
    gap: 5px; /* Уменьшение отступа */
  }

  .language_switcher button {
    font-size: 12px;
    padding: 4px 8px;
  }
}
.statistics-table {
  margin: 0;
  padding: 0;
  width: auto; /* Отключение фиксированной ширины */

}

.statistics-table td {
  padding: 10px 15px;
  vertical-align: middle;
}

.month {
  text-align: right;
  font-size: 14px;
  color: #333;
  font-weight: bold;
}

.bar-container {
  display: flex;
  align-items: center;
}

.bar {
  height: 30px;
  background-color: #5687FA;
  color: #fff;
  text-align: right;
  line-height: 30px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 5px;
  flex-shrink: 0;
}
#result_bar{
  padding-bottom: 50px;
}

   