/* Header */
img.logo{
  max-width: 80%;
}
.header_logo_title {
  color: #005194;
}
.header_logo_title {
  font-size: 0.8em;
  padding-left: 14px;
}
.slogan-first {
  text-align: left;
  padding-left: 50px;
  padding-top: 15px;
}
.slogan {
  color: #005194;
  font-size: 1.5em;
  font-style: italic;
}
.slog-red {
  color: red;
}
.slogan-three {
  text-align: left;
  padding-left: 214px;
}

/* / Header */
/* Слайдер */
.banner-area h2 {
  font-size: 60px;
  line-height: 1.1;
  font-weight: 600;
  margin-bottom: 30px;
  letter-spacing: -.03em;
}
.navbar-brand {
  padding: 5px 5px;

}
input[type="checkbox"],
input[type="radio"] {
  accent-color: #015294;
  width: 20px;
  height: 20px;
  margin: 0px;
}
.thumbnail {
  border: 0px solid #ddd;

}
.uslugi ul li {
  position: relative;
}
.uslugi ul li::after {
  left: -19px;
  top: 0px;
  position: absolute;
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  color: #015294;
}
.item-desc li {
  position: relative;
}
.item-desc li::after {
  left: -19px;
  top: 0px;
  position: absolute;
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  color: #015294;
}


/* Кнопка */
/* .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #007bff;
    color: white;
    transition: 0.3s;
} */

.btn-close {
    background: #ff4757;
    margin-top: 15px;
}

/* Затемнение фона */
dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}

/* Само модальное окно */
dialog {
  /* Сбрасываем стандартные отступы браузера */
  border: none;
  padding: 0;
  background: transparent; /* Делаем фон диалога прозрачным, чтобы видеть только контент */
  
  /* Центрирование самого элемента диалога */
  width: 100vw;
  height: 100vh;
  max-width: 100%;
  max-height: 100%;
  
  /* Flexbox для центрирования modal-content внутри диалога */
  display: none; /* По умолчанию скрыто */
  align-items: center;
  justify-content: center;
}

/* Когда диалог открыт (браузер добавляет атрибут [open]) */
dialog[open] {
  display: flex; 
}

/* Белый блок с информацией */
.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  text-align: center;
  max-width: 500px;
  animation: fadeIn 0.3s ease-out;
  display: block;
  width: 100%;
  
  /* Анимация появления */
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
.d-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header_modal h3 {
  margin: 0px;
}

#closeModal {
font-size: 3em;
  cursor: pointer;
  color: rgb(131, 131, 131);
}
.input-group[class*="col-"] {
  width: 100%;
}
.checkbox input[type="checkbox"] {
  margin-left: 0px;
}
.checkbox label, .radio label {
  min-height: 20px;
  padding-left: 24px;
  margin-bottom: 0;
  font-weight: 400;
  cursor: pointer;
}
.info_zakaz {
  position: relative;
  padding: 10px 15px;
  margin: 10px 15px;
}
.info_zakaz::after {
position: absolute;
  content: '';
  height: 1px;
  display: block;
  width: 100%;
  bottom: 0px;
  background: #b5b9b8;
  left: 0px;
}
/* Validate */
.invalid {
  color: rgb(226, 2, 2);
}
.success {
  color: rgb(2, 116, 40);
}
/* Validate */


/* MEDIA */
@media (min-width: 768px) {
  .navbar-right {
    float: right !important;
    margin-right: -24px;
  }
}