* {
    box-sizing: border-box;
}

html {
	font-family: 'Arial';
	margin: 0;
	padding: 0;
	height: 100%;
	background: white;
}

body {
	font-family: 'Arial';
	margin: 0;
	padding: 0;
	width: 100%;
	min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
	text-decoration: none;
	color: black;
}

a:hover {
	color: black;
	text-decoration: underline;
}

img {max-width: 600px; height: auto;}

img.img-article-left {
	max-width: 300px;
	height: auto;
	padding: 0 0px 0px 0;
}

img.img-article-left.thumb {
	max-width: 150px;
	height: auto;
}

div.article-panel {
    background: #686363;
    padding: 5px 10px 5px 10px;
    box-sizing: border-box;
    overflow: hidden;
    color: #555;
}
div.article-panel p.first {
    margin: 0;
    float: left;
	font-size: larger;
}
div.article-panel p.last {
    margin: 0;
    float: right;
}

ul.list-articles {
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.list-articles li {
	border-bottom: 1px solid #ccc;
}

.table-page {
	width: 100%;
	height: 100%;
	vertical-align: top;
}
.table-page tr {height: 100%;}

.clear {clear: both;}

.header {
	background: white;
	display: grid;
	grid-template-columns: auto auto auto auto;
	grid-template-rows: auto auto;
	width: 100%;
	align-content: center;
}

.img_descr {
	text-align: center;
	width: 150%;
}

.septic_descr {
	width: 150%;
	text-align: center;
}

.logo {
	background: url('../images/Septic_logo.png') no-repeat;
	width: 400px;
	height: 250px;
	bottom: 5px;
	border-right: 1px solid lightgray;
}

.logo_mini {
	background: url('../images/Septic_logo.png') no-repeat center;
	background-size: contain;
	width: 200px;
	height: 100px;
	border-right: 1px solid lightgray;
}

.no-images {
	background: url('../images/not_image.png') no-repeat center;
	background-size: contain;
	max-width: 100%;
    height: auto;
}

.copyright {
	font-size: large;
	font-weight: 600;
}

.our_serv {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: large;
	border-right: 1px solid lightgray;
	width: 100%;
	height: 100%;
}

.map_contacts {
  display: flex;
  flex-wrap: wrap; /* Перенос элементов на новую строку */
  align-items: flex-start; /* Выравнивание по верхнему краю */
  justify-content: center;
  background-color: lightgray;
  padding: 10px;
  gap: 15px; /* Единые отступы между элементами */
}

.contacts {
  display: flex; /* Вместо inline — гибкая вёрстка */
  flex-direction: column; /* Вертикальное расположение на мобильных */
  align-items: center;
  text-align: center;
  width: 100%; /* Занимает всю ширину на узких экранах */
  max-width: 400px; /* Ограничение ширины на десктопах */
  margin: 0 auto; /* Центрирование */
}

.phone_st{
	margin: 20px;
	font-size: large;
	font-weight: 700;
	text-align: center;
}

.address {
	font-size: medium;
}

.opn_hrs {
	font-size: medium;
	color: gray;
	margin: 10px;
}

.phone_st.mobile-visible-here {
	display: none;
}

/* Если нужно подкорректировать вложенные элементы */
.phone_st.mobile-visible-here .address,
.phone_st.mobile-visible-here .opn_hrs {
	display: none;
}

.social_menu {
  display: grid;
  position: fixed;
  right: 10px;
  bottom: 170px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 10px;
  border: 1px solid #d1d5db;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-width: calc(100% - 40px);
  min-width: 100px;
}

/* Кнопка-стрелка */
.toggle-btn {
  grid-column: 1 / -1; /* Занимает всю ширину сетки */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  margin: 0 auto;
}

.arrow {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #4b5563;
  transition: transform 0.3s ease;
}

/* Поворот стрелки при раскрытом меню */
#socialMenu[data-expanded="true"] .arrow {
  transform: rotate(180deg);
}

/* Иконки соцсетей */
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #f3f4f6;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: #e5e7eb;
  transform: translateY(-2px);
}

.social_logo{
	width: 50px;
	height: 50px;
}

.vk_logo {
	background: url('../images/VK_logo.png') no-repeat;
	background-size: contain;
}

.max_logo {
	background: url('../images/MAX_logo.png') no-repeat;
	background-size: contain;
}

.wa_logo {
	background: url('../images/WhatsApp_logo.png') no-repeat;
	background-size: contain;
}

.tg_logo {
	background: url('../images/Telegram_logo.png') no-repeat;
	background-size: contain;
}

ul.mainmenu {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: green;
	height: 45px;
	font-size: 20px;
	grid-column: span 4;
	flex-wrap: wrap;
}

ul.mainmenu li.logo {margin: 0;}

ul.mainmenu li.last {float: right;}

ul.mainmenu li a {
	font-size: larger;
	text-decoration: none;
}

ul.mainmenu li a:hover {
	color: white;
}

.panelitems {
	text-align: center;
}

.table-content {
	width: 100%;
	min-height: 100%;
	height: 100%;
}

.left-chapters {
	margin: 0;
	background: white;
	border-right: 1px solid #ccc;
	text-align: center;
}
.left-chapters ul {
	width: 230px;
	margin: 0;
	padding: 10px 10px 10px 10px;
	list-style: none;
	font-size: xx-large;
}
.left-chapters ul li {
	margin: 20px 0 0 0;
	border: 1px solid black;
  	box-shadow: 2px 2px 4px black;
	border-radius: 5px;
	color: #999;
	transition: 0.5s;
}
.left-chapters ul li.selected {
	color: #CC0000;
	background-color: white;
}
.left-chapters ul li a {
	color: black;
	text-decoration: none;
}
.left-chapters ul li a:hover {
	color: #ff6633;
	cursor: pointer;
}

.cat_count{
	color: white;
	font-size: 16px;
	font-weight: 500;
}

.share-vk {
	background: url('../images/VK_Logo.png') no-repeat 0 0;
	background-size: 100%;
	border: 1px solid black;
	box-shadow: 4px 4px 8px rgb(2, 120, 255);
	border-radius: 15px;
	margin-bottom: 10px;
	transition: 0.3s;
}

p.vk-text{
	color: rgb(2, 120, 255);
	-webkit-text-stroke: 1px black;
	font-weight: 700;
	font-size: x-large;
}

a.share-vk:hover{
	transform: scale(1.5);
	box-shadow: 16px 16px 32px rgb(2, 120, 255);
}

.content {
	padding: 20px 20px 20px 20px;
	width: 100%;
	box-sizing: border-box;
}

ul.breadcrumbs {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 20px;
	font-family: Sans-serif, Arial, Tahoma;
}
ul.breadcrumbs li {
	display: inline-block;
}

ul.control {
	margin: 0;
	padding: 60px 0 0 0;
	list-style: none;
	font-family: Sans-serif, Arial, Tahoma;
	font-size: 18px;
	width: 100%;
}
ul.control li {	float: left; padding: 0 0 0 10px;}
ul.control li.first:before {content: "\2190"; padding: 0 10px 0 0;}
ul.control li.last {float: right; padding: 0 40px 0 0;}
ul.control li.last:after {content: "\2192"; padding: 0 0 0 10px;}
ul.control li a { color: #0059b2; text-decoration: none; }
ul.control li a:hover { color: #CC0000; }

ul.content-table {
	margin: 0;
	padding: 60px 0 0 30px;
	list-style: none;
	font-family: Sans-serif, Arial, Tahoma;
	font-size: 28px;
}
ul.content-table li {
	margin: 0 0 40px 0;
}
ul.content-table li a {
	color: #BB5715;
	text-decoration: none;
}
ul.content-table li a:hover {color: #F0711C;}

.content-text {
	margin: 10px 0 0 10px;
	color: #000;
	font-size: 20px;
	font-family: Yandex Sans Display Light;
}
.content-text h1 {font-size: 32px;}

.quote {
	background: url('../images/blockquote.png') no-repeat 0 10px;
	padding: 5px 5px 5px 70px;
	font-family: Sans-serif, Arial, Tahoma;
	font-style: italic;
}

#footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px 30px;
  box-sizing: border-box;
  background: lightgrey;
  color: black;
  font-size: large;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  justify-items: center;
  align-items: start; /* Выравнивание по верху */
  width: 100%;
  max-width: 100%;
  margin-top: auto;
  padding: 15px 5%;
}

#footer a {
	color: black;
	font-size: medium;
}

.footer_links_1 {
	text-align: center;
}

.footer_links_2 {
	text-align: center;
}

.footer_link {
	text-decoration: underline;
	color: black;
	font-size: small;
	
}

.pers_data {
	font-size: small;
}

.pers_data_link {
	color: red;
	text-decoration: underline;
}

.form-input {
    width: 300px;
    font-size: 16px;
}

.form-label {
    display: inline-block;
    min-width: 150px;
    vertical-align: top;
}

.form-error ul {
    list-style: none;
    padding: 0;
    color: #CC0000;
}

.form-button {
    min-width: 200px;
    font-size: 16px;
}

.list-pages {
	text-align: center;
	margin: 0 0 20px 0;
}
.list-pages ul {
	margin: 100px 0 0 0;
	padding: 0;
	list-style: none;
}
.list-pages ul li {
	display: inline-block;
	margin: 0 20px 0 0;
	color: black;
	background: lightgray;
	box-shadow: 4px 4px 8px lightgray;
}
.list-pages a {
	color: white;
	font-size: 30px;
	text-decoration: none;
}

.list-pages a:hover {
	color: white;
}

.list-pages .page-num, .page-num-selected a {
	display: inline-block;
	width: 60px;
	height: 44px;
	padding: 7px 0 0 0;
	border-radius: 30px;
	transition: 0.3s;
	font-weight: 700;
}
.list-pages .page-num:hover {
	color: white;
	background: green;
	box-shadow: 8px 8px 16px green;
}
.list-pages .page-num-selected {
	border: none;
	color: white;
	font-size: 26px;
	background: green;
	box-shadow: none;
}
.list-pages .page-num-selected:hover {
	box-shadow: none;
	color: #000;
}

.li_content {
    display: inline-block;
	border: 2px solid black;
	border-radius: 30px;
  	box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.4);
    margin: 15px;
    padding: 45px 0 0;
    min-height: max-content;
	height: 450px;
    width: 450px;
    background-color: gray;
    text-align: center;
}
 
.li_content p {
    font-size: large;
    color: #fff;
	margin-right: 30px;
}

.cat_description {
	border: 1px solid gray;
	width: fit-content;
	border-radius: 5px;
  	box-shadow: 4px 4px 8px gray;
	font-size: large;
}

.report_description{
	font-size: x-large;
}

.name_style{
	border-radius: 10px;
	box-shadow: 4px 4px 8px black;
	text-indent: 30px;
	padding: 10px 20px 10px 20px;
	margin: 20px auto;
	width: 400px;
}

.cards {
	display: grid;
	left: 0;
	grid-template-columns: repeat(auto-fill, 270px);
	width: 100%;
	height: 100%;
	justify-content: center;
	justify-items: center; /* Размещаем карточку по центру */
	grid-gap: 50px; /* Отступ между колонками */
	row-gap: 30px; /* Отступ между рядами */
	/* margin: 0 30px;
	padding: 10px; */
}

.card {
	width: 100%;
	border: 1px solid lightgray;
	display: flex;
	flex-direction: column; /* Размещаем элементы в колонку */
	border-radius: 20px;
	transition: 0.2s;
	position: relative;
	text-align: center;
	background-color: white;
	max-height: 480px;
}

/* При наведении на карточку - меняем цвет тени */
.card:hover {
	border: 1px solid lightgray;
  	box-shadow: 16px 16px 32px lightgray;
}

.card__top {
  position: relative;
  overflow: hidden; /* Обязательно для обрезки выходящего контента */
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  min-height: 350px; /* Вместо flex: 0 0 — позволяет расти при необходимости */
}

.card__label,
.septic__label {
  padding: 4px 8px;
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #ff6633;
  border-radius: 4px;
  font-weight: 400;
  font-size: 20px;
  color: #fff;
}

.septic__label {
  position: relative;
  width: fit-content;
}

.card__bottom {
	display: flex;
	height: auto;
	flex-direction: column;
	flex: 1 0 auto;
	padding: 10px;
}

.card__prices {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 5px;
  width: 100%;
}

.price-wrapper {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Левая колонка (цена со скидкой) */
.price-wrapper.left {
  align-items: flex-start; /* Подпись прижимается к левому краю */
}

/* Правая колонка (обычная цена) */
.price-wrapper.right {
  align-items: flex-end; /* Подпись прижимается к правому краю */
  text-align: right; /* Для многострочных подписей */
}

.card__price {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 30px;
  /* Убираем ::after из .card__price — переносим в HTML */
}

/* Символ ₽ теперь в HTML, не через CSS */
.price-symbol {
  margin-left: 4px;
  font-size: 25px; /* Соразмерен цене */
}

/* Цена со скидкой */
.card__price--discount {
  font-weight: 700;
  color: #414141;
  font-size: 25px;
}

/* Подпись "Со скидкой" — отдельный элемент */
.price-label.discount {
  display: block;
  font-weight: 700;
  font-size: 10px;
  color: gray;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Обычная цена */
.card__price--common {
  font-weight: 400;
  color: #606060;
  font-size: 25px;
  text-decoration: line-through;
}

/* Подпись "Обычная" — отдельный элемент */
.price-label.common {
  display: block;
  font-weight: 400;
  font-size: 10px;
  color: gray;
  text-transform: uppercase;
  margin-top: 4px;
}

.form_card_title{
	display: inline-block;
	align-self: center;
	margin-top: auto;
}

.card__title {
	display: block;
	background-color: white;
	margin: 5px;
	font-weight: 600;
	font-size: 20px;

	border: 1px none #414141;

	transition: 0.2s;
	cursor: pointer;
}

.card__title:hover {
	color: #ff6633;
}

.card__more {
	display: block;
	color: white;
	background-color: green;
	padding: 10px 10px;
	margin: 5px;
	font-weight: 400;
	font-size: 18px;
	border: 1px none #414141;
	border-radius: 20px;
	transition: 0.2s;
	cursor: pointer;
}

.card__more:hover {
	color: white;
	background: #ff6633;
}

.form_cat_title{
	display: flex;
	align-self: center;
}

.cat__selected{
	display: block;
	width: 200px;
	margin-bottom: 20px;
	font-weight: 600;
	font-size: 22px;
	line-height: 150%;
	color: white;
	background: #ff6633;
	box-shadow: 4px 4px 8px #ff6633;
	border: 1px solid #414141;
	border-radius: 5px;
	box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cat__title{
	display: block;
	width: 200px;
	margin-bottom: 20px;
	font-weight: 600;
	font-size: 22px;
	line-height: 150%;
	color: #414141;
	border: 1px solid #414141;
	border-radius: 5px;
	box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	transition: 0.2s;
	cursor: pointer;
}

.cat__title:hover {
	border-radius: 5px;
	color: white;
	background: #ff6633;
	box-shadow: 4px 4px 8px #ff6633;
	transform: scale(1.05);
}

.card__add {
	display: block;
	width: 100%;
	font-weight: 400;
	font-size: 17px;
	color: #70c05b;
	padding: 10px;
	text-align: center;
	border: 1px solid #70c05b;
	border-radius: 5px;
	cursor: pointer;
	transition: 0.2s;
	margin-top: auto;
}

.card__add:hover {
	border: 1px solid #ff6633;
	background-color: #ff6633;
	color: #fff;
}

a.menu-button-style {
	display: inline-block;
	text-decoration: none;
	padding: 7px 8px;
	background: lightgray;
	border: 1px solid lightgray;
	color: black;
	text-decoration: none;
	text-align: center;
	font-size: x-large;
	transition: 0.3s;
	cursor: pointer;
	height: 45px;
}

a.menu-button-style-select {
	background: green;
	color: white;
	border: 1px solid green;
}

a.call-button-style {
	display: inline-block;
	text-decoration: none;
	padding: 10px 10px;
	box-shadow: 4px 4px 8px lightgray;
	border: 1px solid lightgray;
	border-radius: 25px;
	color: white;
	text-decoration: none;
	text-align: center;
	font-size: x-large;
	transition: 0.3s;
	cursor: pointer;
}

.call-button-style-select {
	background: green;
	border: 1px solid green;
	box-shadow: 8px 8px 16px green;
}

.call-button-style:hover {
	color: white;
	background: #ff6633;
	border: 1px solid #ff6633;
	box-shadow: 8px 8px 16px #ff6633;
}

.menu-div{
	position: absolute; 
	top: 0; 
	right: 0;
}

.menu-button-style:hover {
	color: white;
	background: green;
	border: 1px solid green;
	box-shadow: 8px 8px 16px green;
}

.add_edit {
	width: 500px;
	min-height: auto;
	border: 1px solid lightgray;
	box-shadow: 4px 4px 8px lightgray;
	display: flex;
	flex-direction: column;
	border-radius: 5px;
	transition: 0.2s;
	position: relative;
	text-align: left;
	padding: 10px 20px;
	background-color: lightgray;
}

.responsive-form {
  display: flex;
  flex-direction: column;
  gap: 16px; /* Отступы между элементами */
}

.form-fields {
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.input-wrapper {
  width: 100%;
}

/* Для капчи */
.captcha-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Кнопка отправки */
.save-button-style {
  padding: 12px 24px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
}

.save-button-style:hover {
  background-color: #0056b3;
}

/* Текст о персональных данных */
.pers_data {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-top: 16px;
}

.pers_data_link {
  color: red;
  text-decoration: underline;
}

.save-delete-button-style {
	display: inline-block;
	padding: 5px 5px;
	background: green;
	box-shadow: 4px 4px 8px green;
	border: 1px solid green;
	border-radius: 5px;
	color: white;
	text-decoration: none;
	text-align: center;
	font-size: larger;
	transition: 0.3s;
	cursor: pointer;
}

.save-button-style:hover {
	color: white;
	background: #ff6633;
	box-shadow: 4px 4px 8px #ff6633;
	border: 1px solid #ff6633;
}

.show_septic {
	display: inline-block;
	border: 1px solid black;
	border-radius: 5px;
	box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
	padding: 10px 10px;
}

.details {
	position: absolute;
	display: block;
	width: 250px;
	margin: 0 auto 10px;
	background: green;
	border-radius: 5px;
	transition: 0.3s;
	overflow: hidden;
}

.details::after {
	position: absolute;
	right: 24px;
	top: 18px;
	content: "";
	display: block;
	width: 13px;
	height: 13px;
	border-right: 4px solid #ff6633;
	border-bottom: 4px solid #ff6633;
	transform: rotate(-45deg);
	transform-origin: center;
	transition: .3s;
}

.details[open]::after {
  	transform: rotate(45deg);
}

.details[open] {
 	padding-bottom: 100px;
	border: 1px solid black;
	background: white;
	box-shadow: 4px 4px 8px rgb(255, 255, 255);
}

.details[open] .details__title {
  	margin-bottom: 32px;
}

.details__title {
	background: white;
	color: green;
	box-shadow: 4px 4px 8px rgb(255, 255, 255);
	border: 1px solid #000;
	border-radius: 5px;
	padding: 12px 24px;
	font-size: 24px;
	cursor: pointer;
	list-style: none;
	font-weight: 700;
	transition: .3s;
}

.details__title::-webkit-details-marker {
  	display: none;
}

.details_content {
	padding: 0 32px;
	font-size: 24px;
	margin-bottom: -60px;
	color: black;
}

.search1 {
    display: flex;
    gap: 40px; /* Отступы между элементами */
}

.search-wrapper {
    display: flex;
    align-items: center;          /* Вертикальное выравнивание */
    gap: 0;
    border-radius: 4px;
    overflow: hidden;
    min-width: 200px;
}

.search_text {
    flex: 1; /* Занимает всё доступное пространство */
    padding: 10px;
	font-size: 20px;
    border: 1px solid #ccc;
    box-sizing: border-box; /* Уже глобально, но можно продублировать */
}

.search_text::placeholder {
  	color: #bbb;
}

.search_text:focus {
  	box-shadow: 8px 8px 16px green;
  	border-color: green;
  	outline: none;
}

.search-button-style {
	text-indent: -999px;
	overflow: hidden;
	width: 30px;
	margin: 0;
    padding: 12px 16px;
	border: 1px solid transparent;
	border-radius: inherit;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
	cursor: pointer;
	opacity: 0.8;
	background-color: white;
	transition: .3s;
}

.search-button-style:hover {
	opacity: 1;
	transform: scale(1.15);
}

.call_request{
	display: inline-block; 
	font-size: 18px;
	border: 1px solid #000;
    border-radius: 5px;
	box-shadow: 4px 4px 8px black;
}

.about * {
  word-wrap: break-word;
  hyphens: auto;
}

.about {
  display: block; /* Вместо inline-block */
  width: 100%;
  max-width: 600px;
  margin: 0 auto; /* Центрирование */
  padding: 20px;
  box-sizing: border-box;
  
  background-color: lightgray;
  border: 1px solid lightgray;
  border-radius: 5px;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1); /* Более корректный shadow */
  
  /* Адаптивные отступы */
  margin-left: 0;
  margin-right: auto;
}

.about iframe {
  width: 100%;
  max-width: 100%;
  height: auto; 
  border: none;
  display: block;
  margin: 15px auto 0;
  border-radius: 8px;
}

.about_img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 15px; /* Отступ снизу */
}

.is_published{
	position: absolute;
	bottom: 0;
	right: 10px;
	align-self: center;
	font-size: smaller;
	color: gray;
}

@font-face {
	font-family: 'FontAwesome';
	src: url('../fonts/fontawesome-webfont.eot?v=4.7.0');
	src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
	font-weight: normal;
	font-style: normal;
}

.fa {
	display: inline-block;
	align-self: self-start;
	width: 20px;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	transition: 0.3s;
}

.fa-pencil:before {
	content: "\f040";
	color: green;
	position: absolute;
	bottom: 5px;
	left: 10px;
}

.fa-trash:before {
	content: "\f1f8";
	color: red;
	position: absolute;
	bottom: 5px;
	left: 30px;
}

.table {
	min-width: 50%;
	width: 100%;
	min-height: 100%;
	height: 100%;
    border: 3px solid black;
	box-shadow: 4px 4px 8px black;
	font-size: larger;
}

.td_style
{
    text-align: center; 
    vertical-align: middle;
    border: 1px solid black;
}

.th_style
{
	background: lightgray;
    text-align: center; 
    vertical-align: middle;
    border: 2px solid black;
}

.tr_style {
	text-align: center; 
    vertical-align: middle;
    border: 1px solid black;
}

.alert {
  	position: relative;
  	padding: 1rem 1rem;
  	margin-bottom: 1rem;
  	border: 1px solid transparent;
  	border-radius: 0.25rem;
}

.alert-heading {
  	color: inherit;
}

.alert-link {
  	font-weight: 700;
}

.alert-dismissible {
  	padding-right: 3rem;
}

.alert-dismissible .btn-close {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	padding: 1.25rem 1rem;
}

.alert-primary {
	color: #084298;
	background-color: #cfe2ff;
	border-color: #b6d4fe;
}

.alert-primary .alert-link {
  	color: #06357a;
}

.alert-secondary {
	color: #41464b;
	background-color: #e2e3e5;
	border-color: #d3d6d8;
}
.alert-secondary .alert-link {
  	color: #34383c;
}

.alert-success {
	color: #0f5132;
	background-color: #d1e7dd;
	border-color: #badbcc;
}

.alert-success .alert-link {
  	color: #0c4128;
}

.alert-info {
	color: #055160;
	background-color: #cff4fc;
	border-color: #b6effb;
}

.alert-info .alert-link {
  	color: #04414d;
}

.alert-warning {
	color: #664d03;
	background-color: #fff3cd;
	border-color: #ffecb5;
}

.alert-warning .alert-link {
  	color: #523e02;
}

.alert-danger {
	color: #842029;
	background-color: #f8d7da;
	border-color: #f5c2c7;
}

.alert-danger .alert-link {
  	color: #6a1a21;
}

.alert-light {
	color: #636464;
	background-color: #fefefe;
	border-color: #fdfdfe;
}

.alert-light .alert-link {
  	color: #4f5050;
}

.alert-dark {
	color: #141619;
	background-color: #d3d3d4;
	border-color: #bcbebf;
}

.alert-dark .alert-link {
  	color: #101214;
}

.slider {
  width: 100%; /* Вместо auto — полная ширина контейнера */
  max-width: 220px; /* Ограничиваем максимальную ширину */
  overflow: hidden;
  position: relative;
  margin-top: 50px;
  border: 1px solid lightgray;
  border-radius: 5px;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1); /* Более мягкий цвет тени */
  background-color: #fff; /* Явный фон */
}

.slider_card {
  width: 100%;
  max-height: 340px;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: none;
  position: relative; /* Для позиционирования кнопок */
}

/* Контейнер всех слайдов */
.slides {
	display: flex; /* Размещаем слайды в одну линию */
	transition: transform 0.5s ease-in-out; /* Анимация плавного смещения */
}

/* Каждый отдельный слайд */
.slide {
	display: flex;
	width: 100%; /* Занимает всю ширину контейнера */
	flex-shrink: 0; /* Запрещаем уменьшение размера слайдов */
}

/* Стили для изображений */
.slide_img {
	width: 100%; /* Картинки растягиваются на весь слайд */
	height: 330px;
	display: block; /* Убираем пробелы вокруг изображений */
}

.septic_img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: cover;
  display: block;
  /* Добавляем ограничение по высоте для больших изображений */
  max-width: 100%;
}

.cat_img {
	height: 100%; /* Картинки растягиваются на весь слайд */
	width: 100%; /* Картинки растягиваются на весь слайд */
	display: block; /* Убираем пробелы вокруг изображений */
}

/* Кнопки «Назад» и «Вперёд» */
.prev, .next {
	position: absolute; /* Позволяет располагать кнопки поверх слайдов */
	top: 50%; /* Размещаем по вертикали по центру */
	transform: translateY(-50%); /* Сдвигаем кнопки вверх на половину их высоты */
	background: rgba(169, 169, 169, 0.5); /* Полупрозрачный фон кнопок */
	color: black; /* Белый цвет текста */
	border: none; /* Убираем границы */
	padding: 10px; /* Отступы внутри кнопки */
	cursor: pointer; /* Изменяем курсор на указатель */
	font-size: 18px; /* Размер шрифта */
	font-weight: bold; /* Делаем текст жирным */
	z-index: 2; /* Размещаем кнопки выше всех элементов */
	border-radius: 3px;
}

.prev_invis, .next_invis {
	visibility: hidden;
}

/* Позиционируем кнопку «Назад» слева */
.prev {
	left: 10px;
}

/* Позиционируем кнопку «Вперёд» справа */
.next {
	right: 10px;
}

.prev:hover,
.next:hover {
	background: #ff6633;
	color: white;
}

.caption {
	position: absolute; /* Размещаем поверх изображения */
	bottom: 10px; /* Отступ от нижнего края */
	left: 50%; /* Выравниваем по центру */
	transform: translateX(-50%); /* Центрируем по горизонтали */
	background: rgba(0, 0, 0, 0.6); /* Полупрозрачный тёмный фон для читаемости */
	color: white; /* Белый текст */
	padding: 5px 10px; /* Внутренние отступы */
	font-size: 14px; /* Размер шрифта */
	border-radius: 5px; /* Закругляем углы */
}

.reports {
	display: grid;
	grid-template-columns: repeat(auto-fill, 250px);
	width: 100%;
	justify-content: center;
	justify-items: center;
	grid-gap: 10px;
	row-gap: 10px;
}

.reports_edit_del{
	margin-top: 10px;
}

.report {
	display: grid;
	grid-template-columns: repeat(auto-fill, 325px);
	width: 95%;
	justify-content: center;
	justify-items: center;
	grid-gap: 40px;
	row-gap: 100px;
	border: 1px solid black;
	border-radius: 5px;
	box-shadow: 4px 4px 8px black;
	padding: 10px 10px;
}

.report_title{
	font-size: x-large;
	text-align: center;
}

.report_img{
	width: 300px;
	border: 1px solid black;
	border-radius: 5px;
	box-shadow: 4px 4px 8px black;
	transition: 0.2s;
}

.report_img:hover{
	box-shadow: 32px 32px 64px black;
	transform: scale(1.4);
}

.reviews {
	background: white;
	color: green;
	box-shadow: 4px 4px 8px lightgray;
	border: 1px solid lightgray;
	border-radius: 5px;
	font-size: 24px;
	cursor: pointer;
	font-weight: 700;
	width: 230px;
	transition: 0.2s;
}

.reviews:hover {
	transform: scale(1.05);
	box-shadow: 4px 4px 8px white;
}

.reviews__top {
	flex: 0 0 100px;
	position: relative;
	overflow: auto;
}

.reviews__bottom {
	display: flex;
	flex-direction: column;
	flex: 1 0 auto;
	padding: 10px;
}

.review {
	width: 225px;
	min-height: 100px;
	box-shadow: 4px 4px 8px lightgray;
	display: flex;
	flex-direction: column;
	border-radius: 4px;
	transition: 0.2s;
	position: relative;
	text-align: center;
}

.reviews_del{
	margin-top: 5px;
	left: 0;
}

.grade_stars{
	font-size: 30px;
	color: #ff6633;
}

/* Расположите контейнер изображения (необходимо расположить стрелки влево и вправо) */
.container {
  	position: relative;
}

/* Скрыть изображения по умолчанию */
.mySlides {
	display: none;
	min-height: 350px;
	text-align: center;
}

.mySlides_img{
	display: inline-block;
	width: 270px;
	margin: auto;
	border-radius: 5px;
	transition: 0.3s;
}

.mySlides_img:hover{
	cursor: pointer;
	box-shadow: 16px 16px 32px lightgray;
	transform: scale(1.3);
}

.cursor {
  	cursor: pointer;
}

/* Далее и предыдущие кнопки */
.prev1,
.next1 {
	cursor: pointer;
	position: absolute;
	top: 40%;
	width: auto;
	margin-top: -50px;
	color: black;
	background: rgba(0, 0, 0, 0.5); /* Полупрозрачный фон кнопок */
	color: white; /* Белый цвет текста */
	border: none; /* Убираем границы */
	padding: 10px; /* Отступы внутри кнопки */
	font-size: 18px; /* Размер шрифта */
	font-weight: bold; /* Делаем текст жирным */
	z-index: 2; /* Размещаем кнопки выше всех элементов */
}

.next1 {
	right: 0;
	border-radius: 3px;
}

.prev1 {
	left: 0;
	border-radius: 3px;
}

/* Контейнер для текста изображения */
.caption-container {
	text-align: center;
	background-color: #222;
	padding: 2px 10px;
	color: white;
	font-weight: 700;
}

.caption_invis{
	visibility: hidden;
}

.row:after {
	content: "";
	display: table;
	clear: both;
}

/* Шесть колонн бок о бок */
.column {
	float: left;
	width: fit-content;
}

/* Добавить эффект прозрачности для миниатюрных изображений */
.demo {
	opacity: 0.6;
	width: 100px;
	height: 130px;
}

.active,
.demo:hover {
  	opacity: 1;
}

.alert {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  margin: 10px 0;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
}

.map {
	width: 100%; 
	height: 100%; 
	position:relative
}

/* Стиль для ошибок (красный вариант) */
.alert-error {
  background-color: #f8d7da; /* Светло‑красный фон */
  color: #721c24;         /* Тёмно‑красный текст */
  border: 1px solid #f5c6cb; /* Бордюр */
}

/* Иконка в ошибке — делаем её красной */
.alert-error .bi-exclamation-triangle-fill {
  color: #dc3545; /* Насыщенный красный */
}

/* Кнопка закрытия (опционально) */
.close-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: inherit;
  font-size: 1.2rem;
  cursor: pointer;
}

.captcha-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#refresh-captcha {
  padding: 4px 8px;
  font-size: 1.85rem;
  line-height: 1;
}

.toggle-text {
    color: black;
	background-color: lightgray;
    text-decoration: none;
    font-size: 1.0em;
    margin-left: 5px;
    cursor: pointer;
}

.toggle-text:hover {
	color: white;
	background-color: green;
    text-decoration: underline;
}

.text-full {
    display: none;
}

.text-truncated, .text-full {
    transition: opacity 0.3s ease;
}

.text-expanded .text-truncated {
    display: none;
}
.text-expanded .text-full {
    display: inline;
}

.burger-container {
    display: none; 
}

.burger-menu {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.burger-menu span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: green;
    transition: all 0.3s ease;
}

/* Содержимое бургер-меню */
.burger-menu-content {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 70%;
    height: 100vh;
    background-color: white;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
    overflow-y: auto;
    padding-top: 60px;
}

.burger-menu-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.burger-menu-content li {
    width: 100%;
    border-bottom: 1px solid #eee;
}

.burger-menu-content a,
.burger-menu-content form {
    display: block;
    padding: 12px 16px;
    text-align: left;
    width: 100%;
    text-decoration: none;
    color: #333;
}

.burger-menu-content a:hover {
    background-color: #f5f5f5;
}


.sorting-block {
    margin: 10px 0;
    padding-top: 10px;
    background-color: lightgray;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.sorting-block h4 {
    margin-top: 0;
    margin-bottom: 1px;
    color: black;
    font-size: 1rem;
}

.sorting-options {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sorting-options li {
    margin-bottom: 5px;
}

.sorting-options a {
    display: block;
    padding: 5px 5px;
    color: green;
	background-color: lightgray;
	font-size: 1.2rem;
    border-radius: 4px;
	border-color: lightgray;
    transition: all 0.3s;
}

.sorting-options a:hover {
    background-color: green;
	box-shadow: 8px 8px 16px green;
	color: white !important;
}

.sorting-options a.active {
    background-color: green;
    color: white;
}


@media (min-width: 769px) {
  .toggle-btn {
    display: none !important;
  }
}

@media (max-width: 767.98px) {

	.logo {
		background: url('../images/Septic_logo.png') no-repeat center;
		background-size: contain;
		width: 100%;
		height: 100%;
		bottom: 5px;
		border-right: 1px solid lightgray;
	}

	.logo_mini {
		background: url('../images/Septic_logo.png') no-repeat center;
		background-size: contain;
		width: 180px;
		height: 85px;
		border-right: 1px solid lightgray;
	}

	.header {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.search-wrapper {
		display: flex;
		flex-direction: row; /* Явно задаём */
		align-items: center;
		gap: 0;       /* На всю ширину */
    }

	.search_text{
		margin-top: 3px;
		font-size: 23px;
		width: 90%;
		border-radius: 10px;
	}

	.search-button-style {
		border-radius: 0;
        height: auto;               /* Снимаем фиксированную высоту */
        padding: 12px 16px; 
		border-top: none;
        margin-top: -1px; 
	}

	.cards {
		grid-template-columns: 1fr;
		grid-gap: 30px;
		padding: 0 15px;
	}
	
	.card__top {
		flex: 0 0 250px;
	}

	.phone_st{
		display: none;
	}

	.address {
		display: none;
	}

	.opn_hrs {
		display: none;
	}

	.phone_st.mobile-visible-here {
		display: block;
		padding: 10px;
		font-size: 0.9rem;
		margin: 5px 0;
	}
	
	.phone_st.mobile-visible-here .phone,
	.phone_st.mobile-visible-here .address,
	.phone_st.mobile-visible-here .opn_hrs {
		display: block;
		margin: 5px 0;
		line-height: 1.4;
	}

	a.call-button-style {
		font-size: large;
		width: 100%;
	}

    ul.mainmenu {
        display: none;
    }

	.search1{
		width: fit-content;
	}

	.our_serv {
        display: none;
    }

	.left-chapters {
        display: none;
    }

    .burger-container {
        display: block;
    }

    .burger-menu-content.open {
        display: flex;
        flex-direction: column;
    }

	a.menu-button-style {
		padding: 8px 8px;
	}	
	.card_price_center_div{
		min-width: 30%;
		width: auto;
	}

	.card_price_center_div1{
		min-width: 30%;
		width: auto;
	}

	.copyright {
		font-size: small;
		font-weight: 400;
		width: fit-content;
	}

	#footer {
		padding: 15px 3%; /* Уменьшаем боковые отступы */
		grid-template-columns: 1fr; /* Одна колонка на мобильных */
		align-items: center;
		text-align: center;
	}

	.footer_links_1 {
		display: none;
	}

	.footer_links_2 {
		width: fit-content;
	}

	.add_edit {
		width: 100%;
	}

	.map_contacts {
		padding: 5px;
		gap: 10px;
	}

	.contacts {
		display: flex;
		justify-content: center;  /* Горизонтальное центрирование */
		align-items: center;     /* Вертикальное центрирование */
		height: 100px;   
	}

	.social_menu {
		max-width: 320px; /* Максимальная ширина меню */
		bottom: 80px;
		gap: 5px;
		padding: 10px;
		transform: translateX(calc(100%)); /* Сдвиг = ширина меню + отступ */
	}

	#socialMenu[data-expanded="true"] {
		transform: translateX(0);
	}
  
	.toggle-btn {
		position: absolute;
		left: -48px;
		top: 50%;
		transform: translateY(-50%);
		width: 48px;
		height: 48px;
		border: none;
		background: transparent;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		z-index: 1100;
		opacity: 1;
		visibility: visible;
	}

  /* Стрелка */
	.arrow {
		width: 0;
		height: 0;
		border-top: 12px solid transparent;
		border-bottom: 12px solid transparent;
		border-right: 16px solid green;
		transition: transform 0.3s ease;
		position: relative;
		z-index: 1;
	}

	/* Поворот стрелки */
	#socialMenu[data-expanded="true"] .arrow {
		transform: rotate(180deg);
	}

	/* Иконки */
	.social-link {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 38px;
		height: 38px;
		border-radius: 30%;
		background-color: #f3f4f6;
		transition: all 0.3s ease;
		text-decoration: none;
		color: transparent;
	}

	.social_logo{
		width: 30px;
		height: 30px;
	}

	.social-link:hover {
		background-color: #e5e7eb;
		transform: translateY(-2px);
	}

	.prev1,
	.next1 {
		top: 28%;
	}

	.demo {
		width: 60px;
		height: 80px;
	}


	.caption-container {
		font-size: 15px; /* Размер шрифта */
	}

	.about {
		max-width: 100%; /* На всю ширину экрана */
		padding: 10px;
		margin: 5px auto;
	}

	.about iframe {
		height: 300px; /* Уменьшаем высоту на мобильных */
		margin: 10px auto 0;
	}

	.list-pages a {
		font-size: 22px;
	}

	.list-pages .page-num, .page-num-selected a {
		width: 45px;
		height: 30px;
		padding: 3px 0 0 0;
		border-radius: 20px;
	}
	.list-pages .page-num:hover {
		color: white;
		background: green;
		box-shadow: 8px 8px 16px green;
	}
	.list-pages .page-num-selected {
		font-size: 24px;
		padding: 2px 0 0 0;
	}
}
