

.header__contact_modal {
    display: flex;
    flex-direction: column;
    justify-content: center; /* вирівнює по вертикалі */
    align-items: center;     /* вирівнює по горизонталі */
    padding: 20px 0;         /* відступ зверху і знизу */
}
.header__social li img {
    transition: transform 0.3s ease;
}

.header__social li:hover img {
    transform: scale(1.2);
}


.edit_block{
	background-color: #eee; border: 1px solid #000; padding: 10px; margin-top: 20px;
}
.edit_block u {
	color: #007bff;
	background-color: #f9f9f9;
	padding: 5px 10px;
}
.fixed_popup_btn {
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 9999; /* щоб була над усім */
	padding: 10px 20px;
	background-color: #007bff;
	color: white;
	border: none;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	cursor: pointer;
	transition: background-color 0.2s ease;
  }
  
  .fixed_popup_btn:hover {
	background-color: #0056b3;
  }


/* Заголовок сторінки */
.page__title {
	text-align: center;
	margin: 30px 0;
}

/* Обгортка для прокрутки + базові стилі */
.table {
	width: 100%;
	/* Горизонтальна прокрутка */
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;

	font-family: 'Mulish', sans-serif;
	font-size: 13px;
	color: #003f6b;

	/* Зовнішня рамка і скруглені кути */
	/* border-radius: 15px 15px 0 0; */
	border: 1px solid #c5d3db;
}

/* Внутрішня таблиця */
.table table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	border: 1px solid #c5d3db;
	/* border-radius: 15px 15px 0 0; */
	overflow: hidden;
}

/* Загальні стилі для клітинок */
.table th,
.table td {
	border: 1px solid #c5d3db;
	padding: 12px 16px;
	text-align: center;
	vertical-align: middle;
	word-wrap: break-word; /* перенос слів у фіксованій ширині */
}

/* Перший рядок thead (верхня шапка) */
.table thead tr:first-child th {
	font-size: 16px;
	background-color: #003f6b;
	color: #ffffff;
	font-weight: 600;
}

/* Другий рядок thead (якщо є додаткові підзаголовки) */
.table thead tr:nth-child(2) th {
	font-size: 14px;
	background-color: #e6ecef;
	color: #003f6b;
	font-weight: 600;
}

/* Тіло таблиці */
.table tbody td {
	background-color: #fbfcfd;
	font-weight: 400;
}

/* --- Ширини колонок (десктоп) --- */

/* Перша колонка - ширша, вирівнювання ліворуч */
.table th:first-child,
.table td:first-child {
	min-width: 140px; /* Фіксована ширина першої колонки */
	text-align: left;
}

/* Решта колонок (окрім першої) */
.table th:not(:first-child),
.table td:not(:first-child) {
	min-width: 140px;
}

/* --- Медіа-запит для мобільних пристроїв --- */
@media only screen and (max-width: 600px) {
	.table {
		font-size: 11px;
	}

	.table thead tr:first-child th {
		font-size: 14px;
	}

	.table th,
	.table td {
		font-size: 12px;
		padding: 8px 8px;
	}

	/* Замість фіксованих width -> використовуємо min-width,
     щоб таблиця могла «стискатися» без зламів. */
	.table th:first-child,
	.table td:first-child {
		min-width: 140px;
		text-align: left;
	}

	.table th:not(:first-child),
	.table td:not(:first-child) {
		min-width: 140px;
	}
}

/* Стилізація для клікабельного блоку з кількістю слайдів */
#slideCount {
	display: inline-block;
	text-align: center;
	font-size: 18px;
	background: #ffffe0; /* світло-жовтий фон */
	border: 2px solid #ffcc00; /* яскравий контур */
	padding: 10px;
	margin: 20px auto;
	border-radius: 5px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	transition: background 0.3s, color 0.3s;
}
#slideCount:hover {
	background: #ffcc00;
	color: #fff;
}
.header {
	z-index: 100;
}
/* .hero-slider {overflow: visible;} */

.hero-slider.swiper-slide {
	margin-top: 0 !important;
	padding-top: 0 !important;
}
.hero-slider__image .hero-slider__list {
	margin-top: 0px !important;
}
.hero-slider .my-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
	color: 0, 32, 63, 0.6 !important;
}
.hero-slider .hero-slider .my-pagination .swiper-pagination-bullet::after {
	background: 0, 32, 63, 0.6 !important;
}
.hero-slider .my-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
	color: #4a85aa !important;
}
.hero-slider .my-pagination .swiper-pagination-bullet::after {
	background: #4a85aa !important;
}

.hero-slider {
	z-index: 9;
}
.button-up {
	bottom: 78px;
	right: 24px;
}
.services-item__list li a {
	line-height: 1.7;
	border-bottom: 1px #005b9b solid;
}
.footer__list li a {
	line-height: 1;
	font-size: 0.85em;
}
.form-container {
	padding: 0.75rem 0.625rem;

	position: relative;
	max-width: 32.25rem;
	width: 100%;

	margin: 20px auto;

	border-radius: 1.25rem;
	background: #fff;
	box-shadow: 0.0625rem 0.0625rem 1.25rem 0rem #cddfea;
}
.form-container .form {
	border-radius: 0.9375rem;
	border: 1px dashed #5d7ea3;

	padding: 2rem 2.125rem;
}

@media (max-width: 991.98px) {
	.form-container .form {
		padding: 0.75rem 0.625rem;
	}
}

.form {
	display: flex;
	flex-direction: column;
}

.form-title {
	text-align: center;
	color: #003f6b;
	font-size: 2.25rem;
	font-style: normal;
	font-weight: 800;
	line-height: normal;

	margin: 0;
}

.form-description {
	text-align: center;

	color: #303030;

	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	margin: 0;
}

.form-label {
	margin-bottom: 0.25rem;

	color: #303030;

	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
}

.form-input,
.form-textarea {
	padding: 10px;
	border-radius: 0.625rem;
	border: 1px solid #c5d3db !important;

	font-size: 14px;

	height: 3.125rem;

	transition: 0.3s ease;
}

.form-input {
}

.form-input:focus,
.form-textarea:focus {
	border-color: #003f6b !important; /* Border color on focus */
}

.form-textarea {
	resize: none;
	overflow-y: auto;
	height: 5rem;
}

.form-textarea:focus {
	border-color: #0e4c80; /* Border color on focus */
	outline: none;
	box-shadow: 0 0 5px rgba(14, 76, 128, 0.5); /* Optional shadow on focus */
}

.form-button {
}

.input-file {
	overflow: hidden;
	cursor: pointer;
}
.input-file__field {
	width: 1px;
	height: 1px;
	position: absolute;
	opacity: 0;
	top: 0;
	left: 0;
}
.input-file__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	border-radius: 0.625rem;
	border: 1px solid #c5d3db;
	background: #c5d3db;

	pointer-events: none;

	min-width: 6.3125rem;
	padding: 0 0.5rem;
	height: 2rem;
	flex-shrink: 0;

	position: absolute;
	top: 50%;
	left: 0.625rem;
	transform: translateY(-50%);
	z-index: 20;

	color: #303030;
	font-size: 0.75rem;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
}

.form-button:hover {
	background-color: #ffe082;
	transform: scale(1.05); /* Optional scale effect on hover */
}

.form-container::before,
.form-container::after {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	cursor: pointer;
}

.form-container::before {
	top: 15px;
	right: 15px;
}

.form-container::after {
	bottom: 15px;
	left: 15px;
}

.form-info {
	color: #303030;

	font-size: 12px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
}

.header__link {
	font-size: 14px;
	line-height: 20px;
}
.accordion__content {
	max-width: 100%;
}
.content_scroll {
	max-height: 300px;
	overflow-y: auto;
	border-radius: 40px 5px 5px 40px;
	padding-right: 10px;
	color: #555;
	background-color: #f1f1f1;
	margin: 10px;
}

.content_scroll ol,
.content_scroll ul {
	list-style: none;
	padding: 0;
}

.content_scroll ol {
	counter-reset: my-awesome-counter;
}

.content_scroll ol li {
	margin-bottom: 10px;
	counter-increment: my-awesome-counter;
}

.content_scroll ol li::before {
	content: counter(my-awesome-counter) '. ';
	font-weight: bold;
	margin-right: 10px; /* Збільшуємо відступ */
	color: #003f6b; /* Змінюємо колір */
}

.content_scroll ul li {
	margin-bottom: 10px;
}

.content_scroll ul li::before {
	content: '\2022';
	font-weight: bold;
	margin-right: 10px; /* Збільшуємо відступ */
	color: #003f6b; /* Змінюємо колір */
}

.content_scroll::-webkit-scrollbar {
	width: 10px;
	border-radius: 40px; /* Заокруглення скролу */
}

.content_scroll::-webkit-scrollbar-thumb {
	background-color: #888;
	border-radius: 10px;
}

.content_scroll::-webkit-scrollbar-track {
	background-color: #f1f1f1;
	border-radius: 40px; /* Заокруглення скролу */
}

.header__link {
	font-size: 18px;
}
input.text_cms {
	border: solid 1px #ccc;
}
.hero__title {
	font-size: 30px;
	line-height: 30px;
}
h1 {
	font-size: 1.5em;
}
.navigation__dropdown {
	text-align: left;
}
/*.price_dn, .steps_dn, .faq_dn, .contact_dn {display: none;}*/

.page_dn {
	display: none;
}
.form_modal form {
	width: 100%;
	max-width: 768px;
	display: flex;
	flex-direction: column;
}

.form_modal form label {
	margin-bottom: 10px;
	position: relative;
	border-bottom: 1px solid var(--color-major);
}
.form_modal form input,
.form_modal form textarea {
	width: 100%;
	padding: 14px 0px;
	margin-top: 10px;
	border: none;
	outline: none;
}
.form_modal form input::placeholder,
.form_modal form textarea::placeholder {
	opacity: 0;
}
.form_modal form span {
	position: absolute;
	top: 0;
	left: 0;
	transform: translateY(30px);
	font-size: 1em;
	transition-duration: 300ms;
}
.form_modal form button {
	padding: 14px 0px;
	margin-top: 10px;
	margin-bottom: 10px;
	background: var(--color-major);
	color: #fff;
	border: 1px solid var(--color-major);
	cursor: pointer;
	border-radius: 70px;
}

.form_modal form label:focus-within > span,
.form_modal form input:not(:placeholder-shown) + span,
.form_modal form textarea:not(:placeholder-shown) + span {
	color: var(--color-major);
	transform: translateY(0px);
}

.popup_content {
	padding: 16px;
}
.popup_header {
	padding: 10px;
	font-size: 1em;
}

@media (min-width: 992px) {
	.navigation__dropdown {
		left: -200px;
	}
}
