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

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

@font-face {
	font-family: 'Roboto Flex';
	src: url('/assets/fonts/RobotoFlex-VF.ttf') format('truetype supports variations'),
		url('/assets/fonts/RobotoFlex-VF.ttf') format('truetype-variations');
	font-weight: 400 700;
	font-stretch: 25% 151%;
	font-display: swap;
}


:root {
	--bs-body-bg: #f8fafc;
	--bs-body-color: #0f172a;
	
	--bs-primary: #1e3a8a;
	--bs-secondary: #475569;
	
	--bs-success: #166534;
	--bs-info: #0369a1;
	--bs-warning: #facc15;
	--bs-danger: #b91c1c;
	
	--bs-light: #ffffff;
	--bs-dark: #020617;
}

body {
	font-family: 'Roboto Flex', sans-serif;
	color: var(--color-black);
	font-size: 1rem;
	margin-top: 50px;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-weight: 700;
}


/*

a:link, a:visited, a:active {
	color: #000000;
	text-decoration: underline;
}

a:hover {
	color: #000000;
	text-decoration: none;
	transition-duration: .3s;
}

*/

/* таблица в плитке */
.my-card-table td:first-child {
	padding-left: 0;
}
.my-card-table td:last-child {
	padding-right: 0;
	text-align: right;
}

/* таблица с ценами на главной */
.my-price-table {
	
}

/* ссылки в футере */
a.my-footer-link:link, a.my-footer-link:visited, a.my-footer-link:active {
	color: #ffffff;
	text-decoration: none;
}
a.my-footer-link:hover {
	color: #ffffff;
	text-decoration: underline;
	transition-duration: .15s;
}

.bg-banner {
	/*background-image: url(/assets/img/bg-banner.webp);*/
	background-image: url(https://fakeimg.pl/1920x500/);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

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

/* Стили предупреждения о cookie
 * Bootstrap Cookie Alert by Wruczek
 * https://github.com/Wruczek/Bootstrap-Cookie-Alert
 * Released under MIT license
 */
.cookiealert {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	margin: 0 !important;
	z-index: 1001;
	opacity: 0;
	visibility: hidden;
	border-radius: 0;
	transform: translateY(100%);
	transition: all 500ms ease-out;
}
.cookiealert.show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0%);
	transition-delay: 500ms;
}
/* кнопка наверх */
.tostart {
	width: 3rem;
	height: 3rem;
	background-color: var(--bs-warning);
	border-radius: 50%;
	position: fixed;
	right: 2rem;
	bottom: 2rem;
	z-index: 1002;
	display: none;
	opacity: 1;
}
.tostart:hover {
	cursor: pointer;
	opacity: .75;
	transition-duration: .15s;
}
.img-to-top {
	width:2rem;
	margin:0 auto;
	display:block;
	position:absolute;
	left: 8px;
	top: -3px;
}

/* аккордеон */
/* удираем нижний марджинг последнего абзаца */
.accordion-body p:last-child {
	margin-bottom: 0;
}

/* стили кнопок в слайдере */
.my-prev, .my-next {
	position: absolute;
	top: calc(50% - 1.25rem);
	color: var(--color-warning);
	background-color: #fff;
	height: 2.5rem;
	width: 2.5rem;
	border-radius: 50%;
	text-align: center;
	line-height: 2.5;
	z-index: 1000;
	cursor: pointer;
	box-shadow: 0px 8px 16px rgba(78, 80, 85, 0.12);
}
.my-next {
	right: 0px;
}
.my-next >svg {
	height: 1.5rem;
	padding-left: 3px;
}
.my-prev > svg {
	height: 1.5rem;
	padding-right: 3px;
}

/* стили верхнего меню*/
.top-menu {
  display: flex;
  justify-content: center !important;
  align-items: center;
  gap: 2rem;

  width: 100%;
  margin: 0;
  padding: .75rem 1rem;

  list-style: none;
  background: var(--bs-dark);
}

.top-menu li {
  position: relative;
  margin: 0;
  padding: 0;

  color: var(--bs-warning);
  font-weight: 600;
  line-height: 1.4;
}

.top-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;

  padding: .35rem 0;

  color: var(--bs-warning);
  text-decoration: none;

  transition: color .2s ease;
}

.top-menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -.2rem;

  width: 0;
  height: 2px;

  background: var(--bs-warning);
  border-radius: 999px;

  transform: translateX(-50%);
  transition: width .25s ease;
}

.top-menu a:hover,
.top-menu a:focus {
  color: var(--bs-light);
}

.top-menu a:hover::after,
.top-menu a:focus::after {
  width: 100%;
}

.top-menu ul {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 1000;

  min-width: 14rem;
  margin: .75rem 0 0;
  padding: .5rem 0;

  list-style: none;
  background: var(--bs-dark);
  border: 1px solid rgba(var(--bs-warning-rgb), .25);
  border-radius: var(--bs-border-radius-lg);
  box-shadow: var(--bs-box-shadow);

  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(.5rem);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.top-menu li:hover > ul,
.top-menu li:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.top-menu ul a {
  display: block;
  padding: .55rem 1rem;
  white-space: nowrap;
}

.top-menu ul a:hover,
.top-menu ul a:focus {
  background: rgba(var(--bs-warning-rgb), .08);
}

/* стили mmenu */
.mm-spn--light {
	/* background: #fff; */
}
.mm-spn {
	color: var(--color-primary);
}
.mm-spn a {
	color: var(--color-primary);
}
.mm-spn a:active, .mm-spn a:focus {
	/* color: var(--color-danger);*/
}

/*votes*/
.votes {
	padding: 60px 40px;
	background-color: rgba(21, 81, 229, 0.08);
}
.votes .title {
	margin-bottom: 24px;
	font-size: 24px;
	font-weight: 500;
	text-transform: uppercase;
	text-align: center;
}
.votes .block-btn {
	display: flex;
	align-items: center;
	justify-content: center;
}
.votes .block-result {
	text-align: center;
}
.vote-btn {
	border: 0;
	outline: none;
}
.vote-btn:active {
	border: 0;
	background-color: unset;
	border-color: unset;
}
.vote-btn:hover {
	opacity: .5;
}
.vote-btn:disabled {
	color: unset;
	background-color: unset;
	border-color: unset;
	border: 0;
}
/* Устройства X-Small (портретные телефоны, менее 576 пикселей) */
@media (max-width: 575.98px) {
	.hyphens p, .hyphens li {
		text-align: left;
		hyphens: none;
		-moz-hyphens: none;
		-webkit-hyphens: none;
		-ms-hyphens: none;
	}
	.tostart {
		width: 2rem;
		height: 2rem;
		right: 1.25rem;
		bottom: 1.25rem;
	}
	.img-to-top {
		width: 1.25rem;
		left: .4rem;
		top: -1px;
	}
	/* мобильная млоденная версия таблицы */
	.my-price-table {
		border: 0;
	}
	.my-price-table thead {
		display: none;
	}

	.my-price-table tr {
		margin-bottom: 1rem;
		display: block;
		border-bottom: 1px solid var(--color-black);
	}

	.my-price-table td {
		display: block;
		text-align: right;
		border-bottom: 1px dotted var(--color-black);
		border-right: 1px solid transparent;
	}
	.my-price-table td:last-child {
		border-bottom: 0;
	}

	.my-price-table td:before {
		content: attr(data-label);
		float: left;
		font-weight: bold;
	}
}

/* Устройства Small (телефоны с горизонтальной ориентацией, менее 768 пикселей) */
@media (min-width: 576px) and (max-width: 767.98px) {
	.hyphens p, .hyphens li {
		text-align: left;
		hyphens: none;
		-moz-hyphens: none;
		-webkit-hyphens: none;
		-ms-hyphens: none;
	}
	.tostart {
		width: 2rem;
		height: 2rem;
		right: 1.25rem;
		bottom: 1.25rem;
	}
	.img-to-top {
		width: 1.25rem;
		left: .4rem;
		top: -1px;
	}

}
/* Устройства Medium (планшеты, менее 992 пикселей) */
@media  (min-width: 768px) and (max-width: 991.98px) {

}


/* Устройства Large (настольные компьютеры, менее 1200 пикселей) */
@media  (min-width: 992px) and (max-width: 1199.98px) { 

}

/* Устройства X-Large (большие настольные компьютеры, менее 1400 пикселей) */
@media  (min-width: 1200px) and (max-width: 1399.98px) {

}
