/* убираем противную рамку вокруг ссылок */
img, a img{outline:none !important;}
a:focus{outline:none !important;}

/* скрываем каптчу гугла */
.grecaptcha-badge {visibility: hidden;}

:root {
	--color-primary: #081F33;
	--color-secondary: #6C7A89;
	--color-success: #2FA59A;
	--color-info: #4A90A4;
	--color-warning: #F0A84E;
	--color-danger: #D9534F;
	--color-light: #E7EDF2;
	--color-dark: #1A2330;

	--color-white: #FFFFFF;
	--color-black: #000000;
}

html, body {
	/* Убирает прокрутку по горизонтале, для мобильной версии */
	overflow-x: hidden;
}

header {
	background-color: var(--color-white);
}

.no-bold-text b, .no-bold-text strong {
	font-weight: normal;
}
.bg-banner {
	background-image: url('/assets/img/bg-banner.webp');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.bg-feedback {
	background-image: url('/assets/img/bg-feedback.webp');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.footer-link,
.footer-link:link,
.footer-link:visited,
.footer-link:active {
	text-decoration: underline !important;
	text-decoration-line: underline !important;
}

.footer-link:hover,
.footer-link:focus {
	text-decoration: none !important;
}

.footer-link-menu,
.footer-link-menu:link,
.footer-link-menu:visited,
.footer-link-menu:active {
	text-decoration: none !important;
}

.footer-link-menu:hover,
.footer-link-menu:focus {
	text-decoration: underline !important;
	text-decoration-line: underline !important;
}

.tostart {
	width: 44px;
	height: 44px;
	background-color: var(--color-primary);
	border-radius: 50%;
	border: 1px solid #fff;
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 10;
	display: none;

	transition:
		filter .25s ease,
		box-shadow .25s ease;
}

.tostart svg {
	width: 24px;
	height: 24px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.tostart:hover {
	cursor: pointer;
	filter: brightness(1.6);
	box-shadow: 0 5px 15px rgba(0, 0, 0, .25);
}

/* стили верхнего меню */
.top-menu {
	font-size: 1rem;
	font-weight: 600;
	z-index: 1000;
	position: relative;
}

.top-menu,
.top-menu ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.top-menu li {
	float: left;
	position: relative;
	height: 100%;
	padding: 0;
}

/* обычные ссылки */
.top-menu li a {
	display: block;
	padding: .5rem .75rem;
	color: var(--bs-primary);
	text-decoration: none;
	text-align: left;
	font-weight: 600;
}

/* активный пункт */
.top-menu li > span {
	display: block;
	padding: .5rem .75rem;
	color: rgba(var(--bs-primary-rgb), .35);
	text-decoration: none;
	text-align: left;
	font-weight: 600;
}

/* родительский пункт с выпадающим меню без ссылки */
.top-menu > li:has(> ul) > span {
	color: var(--bs-primary);
}

/* наведение на обычную ссылку */
.top-menu li a:hover {
	color: var(--bs-primary);
	background-color: var(--bs-warning);
	text-decoration: none;
}

/* наведение на родительский пункт без ссылки */
.top-menu > li:has(> ul):hover > span {
	color: var(--bs-primary);
	background-color: var(--bs-warning);
}

/* выпадающее меню */
.top-menu ul {
	display: none;
	background-color: white;
	position: absolute;
	top: 100%;
	opacity: 0;
	border: 1px solid rgba(0, 0, 0, .25);
}

/* показываем второй уровень */
.top-menu li:hover > ul {
	display: block;
	opacity: 1;
	-webkit-animation: display-none-transition 0.25s both;
	animation: display-none-transition 0.25s both;
}

/* пункты второго уровня */
.top-menu ul li {
	float: none;
	white-space: nowrap;
	padding: 0;
}

/* активный пункт второго уровня */
.top-menu ul li > span {
	display: block;
	padding: .5rem .75rem;
	color: rgba(var(--bs-primary-rgb), .35);
	font-weight: 600;
}

/* фон пунктов */
.top-menu li:hover,
.top-menu ul li:hover {
	background-color: white;
}

@-webkit-keyframes display-none-transition {
	0% {
		opacity: 0;
	}
}

@keyframes display-none-transition {
	0% {
		opacity: 0;
	}
}

.logo-header {
	height: 60px;
}

.case-calculation tbody tr:last-child {
    font-weight: 700;
}

/* =========================================================
 * ПРАЙС-ЛИСТ Таблица
 * ========================================================= */

/* Вторая колонка — "Для чего подходит?" */
.price-table tbody td:nth-child(2) {
	font-size: 80%;
}

/* Третья колонка — "Стоимость" */
.price-table th:nth-child(3),
.price-table td:nth-child(3) {
	text-align: right;
	white-space: nowrap;
}

/* Пропорции фотографий услуг в карточках */
.card-img-top[width="750"][height="460"] {
	height: auto;
}

/* =========================================================
 * АДАПТИВНЫЕ СТИЛИ ПО BREAKPOINTS BOOTSTRAP 5
 * ========================================================= */


/* Устройства X-Small — менее 576px */
@media (max-width: 575.98px) {
	.bg-feedback {
		background-image: url('/assets/img/bg-feedback-mobile.webp');
	}

	body {
		margin-top: 87px;
	}

	.mobile-contacts {
		font-size: .75rem;
	}

	.logo-header {
		height: 45px;
	}
	.mobile-table {
		font-size: 90%;
	}
}


/* Устройства Small — от 576px до 767.98px */
@media (min-width: 576px) and (max-width: 767.98px) {
	body {
		margin-top: 88px;
	}

	.header-responsive,
	.header-responsive .btn {
		font-size: .875rem;
	}

	.mobile-contacts {
		font-size: .75rem;
	}

	.logo-header {
		height: 45px;
	}
	.mobile-table {
		font-size: 90%;
	}
}


/* Устройства Medium — от 768px до 991.98px */
@media (min-width: 768px) and (max-width: 991.98px) {
	body {
		margin-top: 122px;
	}

	.logo-header {
		height: 45px;
	}
}


/* Устройства Large — от 992px до 1199.98px */
@media (min-width: 992px) and (max-width: 1199.98px) {
	body {
		margin-top: 118px;
	}

	.header-responsive,
	.header-responsive .btn {
		font-size: .875rem;
	}
}


/* Устройства X-Large — от 1200px до 1399.98px */
@media (min-width: 1200px) and (max-width: 1399.98px) {
	body {
		margin-top: 118px;
	}
}


/* Устройства XX-Large — от 1400px */
@media (min-width: 1400px) {
	body {
		margin-top: 118px;
	}
}
