@import url('https://fonts.cdnfonts.com/css/sf-pro-display');

@font-face {
	font-display: swap;
	font-family: 'DrukTextWideCyr-Medium';
	src: url('./assets/fonts/DrukWide/druktextwidecyr-medium.eot'); /* IE 9 Compatibility Mode */
	src: url('./assets/fonts/DrukWide/druktextwidecyr-medium.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
		url('./assets/fonts/DrukWide/druktextwidecyr-medium.woff2') format('woff2'), /* Super Modern Browsers */
		url('./assets/fonts/DrukWide/druktextwidecyr-medium.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
		url('./assets/fonts/DrukWide/druktextwidecyr-medium.ttf') format('truetype'), /* Safari, Android, iOS */
		url('./assets/fonts/DrukWide/druktextwidecyr-medium.svg#druktextwidecyr-medium') format('svg'); /* Chrome < 4, Legacy iOS */
}

@font-face {
	font-display: swap;
	font-family: 'DrukWideCyr-Bold';
	src: url('./assets/fonts/DrukWide/drukwidecyr-bold.eot'); /* IE 9 Compatibility Mode */
	src: url('./assets/fonts/DrukWide/drukwidecyr-bold.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
		url('./assets/fonts/DrukWide/drukwidecyr-bold.woff2') format('woff2'), /* Super Modern Browsers */
		url('./assets/fonts/DrukWide/drukwidecyr-bold.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
		url('./assets/fonts/DrukWide/drukwidecyr-bold.ttf') format('truetype'), /* Safari, Android, iOS */
		url('./assets/fonts/DrukWide/drukwidecyr-bold.svg#drukwidecyr-bold') format('svg'); /* Chrome < 4, Legacy iOS */
}

@font-face {
	font-display: swap;
	font-family: 'RoadNumbers';
	src: url('./assets/fonts/RoadNumbers/RoadNumbers2.0.ttf');
	src: url('./assets/fonts/RoadNumbers/RoadNumbers2.0.otf') format('opentype'),
		url('./assets/fonts/RoadNumbers/RoadNumbers2.0.ttf') format('truetype');
}

body {
	font-family: 'SF Pro Display', serif;
	font-weight: normal;
	font-style: normal;
	font-size: 18px;
	line-height: 25px;
	background-color: #151517;
	padding: 0;
	margin: 0;
	color: #F5F5F5;
}

h1 {
	font-family: 'DrukTextWideCyr-Medium', serif;
	font-weight: normal;
	font-style: normal;
	font-size: 36px;
	line-height: 46px;
	color: #F5F5F5;
	margin: 0;
	padding: 0;
	text-align: center;
}

/* Документы в приложении: светлая схема (фон/текст как в iOS/Android) */
body.for-app.theme-light {
	background-color: #EDEDED;
	color: #1E1E1E;
	color-scheme: light;
}

body.for-app.theme-light h1,
body.for-app.theme-light a,
body.for-app.theme-light a:hover,
body.for-app.theme-light a:focus,
body.for-app.theme-light a:visited {
	color: #1E1E1E;
}

@media (prefers-color-scheme: light) {
	body.for-app:not(.theme-dark) {
		background-color: #EDEDED;
		color: #1E1E1E;
		color-scheme: light;
	}

	body.for-app:not(.theme-dark) h1,
	body.for-app:not(.theme-dark) a,
	body.for-app:not(.theme-dark) a:hover,
	body.for-app:not(.theme-dark) a:focus,
	body.for-app:not(.theme-dark) a:visited {
		color: #1E1E1E;
	}
}

.bx-breadcrumb {
	margin: 10px;
}

.skelet {
	display: flex;
	flex-direction: column;
	height: 100vh;
	max-width: 1280px;
	margin: 0 auto;
}

.drukwide {
	font-family: 'DrukTextWideCyr-Medium', serif;
}

header,
.wrapper {
	max-width: 1280px;
	margin: 0 auto;
	padding: 10px;
}

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #1c1c1e;
	padding: 15px 20px;
	position: relative;
	border-radius: 0 0 10px 10px;
	margin-bottom: 20px;
	width: 100%;
	box-sizing: border-box;
}

footer {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-content: center;
	justify-content: space-between;
	align-items: center;
	font-size: 16px;
	padding: 15px 20px;
	background-color: #1c1c1e;
	border-radius: 10px 10px 0 0;
}

.title {
	text-align: center;
	margin-top: 0;
	font-size: 25px;
	margin-bottom: 35px;
}

.nav-links {
	display: flex;
	align-items: center;
}

.nav-links a {
	font-size: 18px;
	margin: 0 15px;
	text-decoration: none;
	color: #8E8E93;
}

.nav-links a.active {
	color: #FFF;
	font-weight: bold;
}

.nav-links a svg {
	position: relative;
	top: 3px;
}

.nav-links .close_btn {
	display: none;
}

.burger-menu {
	display: none;
	font-size: 24px;
	cursor: pointer;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

.burger-menu:focus {
	outline: none;
}

a,a:hover,a:focus,a:visited {
	color: #FFF;
}

.auth-buttons .donate {
	text-decoration: none;
	color: #FFF;
	background-color: #FF4D00;
	padding: 8px 12px;
	border-radius: 5px;
	font-size: 18px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.wrapper {
	flex: 1;
}

.find_number {
	margin: 0 auto 40px auto;
}

.find_number input:focus{
	outline: none;
}

.find_number__title {
	text-align: center;
	margin-bottom: 20px;
	font-size: 24px;
}

.find_number__buttons button,
.find_number__input {
	width: 305px;
}

.find_number__inputs {
	overflow: hidden;
	height: 57px;
	position: relative;
}

.find_number__inputs.opened {
	overflow: unset;
}

.find_number__input_block {
	position: absolute;
	left: calc(50% - 153px);
	z-index: 100;
}

.find_number__input {
	color: #000;
	display: flex;
	box-sizing: border-box;
	border-radius: 8px;
	text-decoration: none;
	font-family: 'RoadNumbers', Arial, sans-serif;
	background: #fff;
	border: 2px solid #000;
	margin: 0 auto;
}

.find_number__input_number {
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	flex: 0 0 196px;
	height: 56px;
	border-right: 2px solid #000;
	position: relative;
	overflow: hidden;
}

.find_number__input_number input {
	background: #fff;
	height: 100%;
	box-sizing: content-box;
	font-size: 36px;
	text-transform: uppercase;
	border: 0;
	width: 100%;
	padding: 0 14px;
	border-radius: 0;
}

.find_number__input_region {
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	height: 56px;
	flex-direction: column;
}

.find_number__input_region input {
	background: #fff;
	box-sizing: content-box;
	font-size: 24px;
	text-transform: uppercase;
	border: 0;
	width: 40px;
	padding: 0 14px 0 5px;
	border-radius: 0 8px 8px 0;
}

.find_number__input_type {
	background: #fff;
	box-sizing: content-box;
	font-size: 24px;
	text-transform: uppercase;
	border: 0;
	width: 42px;
	height: 56px;
	overflow: hidden;
	border-radius: 8px 0 0 8px;
	cursor: pointer;
	position: relative;
}

.find_number__input_type::before,
.find_number__input_type::after {
	content: '';
	position: absolute;
	width: 10px;
	height: 8px;
	background: #919191;
	left: 5px;
	display: none;
}

.find_number__input_type::before {
	top: calc(50% - 9px);
	clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.find_number__input_type::after {
	top: calc(50% + 1px);
	clip-path: polygon(100% 0, 0 0, 50% 100%);
}

.find_number__input_type_block {
	position: relative;
	left: 2px;
}

.find_number__input_type_img {
	width: 42px;
	height: 56px;
	background-size: 80%;
	background-position: center center;
	background-repeat: no-repeat;
}

.find_number__input_type_img.auto_icon {
	background-image: url('/local/templates/signalis/assets/img/icons/sedan.png');
}

.find_number__input_type_img.moto_icon {
	background-image: url('/local/templates/signalis/assets/img/icons/motorbike.png');
}

.find_number__input_type_img.taxi_icon {
	background-image: url('/local/templates/signalis/assets/img/icons/taxi.png');
}

.find_number__input_type_img.moped_icon {
	background-image: url('/local/templates/signalis/assets/img/icons/moped.png');
}

.find_number__buttons button {
	display: block;
	background: #ff4c00;
	border-radius: 30px;
	padding: 15px 30px;
	color: #fff;
	font-family: 'DrukTextWideCyr-Medium', sans-serif;
	text-align: center;
	margin: 0 auto;
	font-size: 16px;
	box-sizing: border-box;
	border: 0;
	cursor: pointer;
}

.find_number__buttons button:disabled,
.find_number__buttons button[disabled] {
	background: grey;
}

.find_number__desc {
	font-size: 24px;
	text-align: center;
	margin-bottom: 40px;
}

.cards {
	max-width: 580px;
	position: relative;
	scroll-margin-top: 10px;
}

.cards__inner {
	/*display: flex;
	flex-wrap: nowrap;
	justify-content: center;*/
}

.card {
	--flow-space: 0.5em;
	--hsl: var(--hue), var(--saturation), var(--lightness);
	flex: 1 1 100%;
	padding: 1.5em 2em;
	color: #eceff1;
	background-color: #2b2b2b;
	border: 1px solid #eceff133;
	border-radius: 15px;
}

.card:nth-child(1) {
	--hue: 18;
	--saturation: 100%;
	--lightness: 50%;
}

.card:nth-child(2) {
	--hue: 291.34;
	--saturation: 95.9%;
	--lightness: 61.76%;
}

.card:nth-child(3) {
	--hue: 338.69;
	--saturation: 100%;
	--lightness: 48.04%;
}

.flow > * + * {
	margin-top: var(--flow-space, 1.25em);
}

.cta {
	display: block;
	align-self: end;
	margin: 1em 0 0.5em 0;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background-color: #0d0d0d;
	padding: 0.7em;
	border-radius: 10px;
	font-size: 1rem;
	font-weight: 600;
}

.overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	user-select: none;
	opacity: var(--opacity, 0);
	-webkit-mask: radial-gradient(
		25rem 25rem at var(--x) var(--y),
		#000 1%,
		transparent 50%
	);
	mask: radial-gradient(
		25rem 25rem at var(--x) var(--y),
		#000 1%,
		transparent 50%
	);
	transition: 400ms mask ease;
	will-change: mask;
}

.overlay .card {
	background-color: hsla(var(--hsl), 0.15);
	border-color: hsla(var(--hsl), 1);
	box-shadow: 0 0 0 1px inset hsl(var(--hsl));
	box-sizing: border-box;
}

.overlay .cta {
	display: block;
	grid-row: -1;
	width: 100%;
	background-color: hsl(var(--hsl));
	box-shadow: 0 0 0 1px hsl(var(--hsl));
}

:not(.overlay) > .card {
	transition: 400ms background ease;
	will-change: background;
}

:not(.overlay) > .card:hover {
	--lightness: 95%;
	background: hsla(var(--hsl), 0.1);
}

.number_rating {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.number_rating__stars {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	column-gap: 5px;
}

.number_rating__stars i {
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	background: transparent url(./assets/img/star_empty.svg) no-repeat;
	width: 29px;
	height: 29px;
	padding: 0 5px;
}

.number_result__item_rating {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
}

i.star_full {
	width: 20px;
	height: 20px;
	display: block;
}

.number_result__item_rating i {
	width: 20px;
	height: 20px;
	display: block;
	-webkit-tap-highlight-color: transparent;
	background: transparent url(./assets/img/star_empty.svg) no-repeat;
	background-size: contain;
}

.number_rating__stars i, .number_rating__stars i:hover ~ i {
	background: transparent url(./assets/img/star_empty.svg) no-repeat;
	background-size: contain;
}

.number_rating__stars:hover i,
.number_rating__stars i.active,
.number_result__item_rating i.active,
i.star_full {
	background: transparent url(./assets/img/star_full.svg) no-repeat;
	background-size: contain;
}

.number_rating__stars:hover i:nth-child(2) {
	transition-delay: 30ms;
}

.number_rating__stars:hover i:nth-child(3) {
	transition-delay: 60ms;
}

.number_rating__stars:hover i:nth-child(4) {
	transition-delay: 90ms;
}

.number_rating__stars:hover i:nth-child(5) {
	transition-delay: 120ms;
}

.number_review {

}

.number_review textarea {
	font-family: 'SF Pro Display', serif;
	background: transparent;
	border-radius: 8px;
	width: 100%;
	height: 120px;
	box-sizing: border-box;
	outline: none;
	color: #F5F5F5;
	padding: 10px;
	margin-bottom: 10px;
	resize: none;
	font-size: 16px;
}

.number_review .find_number__buttons button {
	width: 100%;
}

.find_number.found .find_number__title {
	display: none;
}

.find_number.found .card > form > .find_number__buttons {
	display: none;
}

.find_number.found .number_review {
	display: block;
}

.find_number.found .find_number__input {
	margin: 0 0 20px 0;
}

.number_result {
	display: none;
	flex-direction: column;
	flex-wrap: nowrap;
	max-width: 580px;
	width: 100%;
	margin: 0 auto;
}

.number_result__item {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
}

.number_result__item {
	position: relative;
	border: 1px solid #eceff133;
	background-color: #1c1c1e;
	padding: 20px;
	border-radius: 15px;
	margin-bottom: 20px;
}

.number_result__item_header {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	padding: 0 0 10px 0;
	margin-bottom: 10px;
	font-size: 16px;
	column-gap: 10px;
	border-bottom: 1px solid #eceff133;
}

.number_result__item_review {
	font-size: 18px;
}

.find_number__input_container {
	/*display: flex;
	align-items: center;
	justify-content: space-around;*/
	margin-bottom: 20px;
}

.find_number__rating {
	display: none;
	align-items: center;
}

.find_number__rating[style*='display: block']{
	display: flex !important;
	align-items: center;
}

.find_number__types {
	display: flex;
	column-gap: 20px;
	justify-content: center;
	align-items: center;
}

.find_number__type_block {
	padding: 5px;
	border: 1px solid #fff;
	border-radius: 10px;
}

.find_number__type {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 50px;
}

.find_number__type img {
	width: 50px;
}

.placeholders_slider {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

.placeholders_slider .placeholder {
	font-family: Arial, serif;
	font-size: 36px;
	padding: 7px 14px;
	border-radius: 5px;
	background: #fff;
}

.number_review__subscription {
	text-align: center;
}

.number_review__subscription label {
	display: block;
	text-align: center;
	font-size: 18px;
}

.number_result__item_subscription_text {
	display: flex;
	column-gap: 10px;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	flex-direction: column;
}

.number_result__item_subscription_text input {
	font-size: 18px;
	border: 2px solid #000;
	border-radius: 5px;
	padding: 12px 10px;
	max-width: 170px;
	margin-bottom: 20px;
}

.number_result__item_subscription_text .find_number__buttons,
.number_result__item_subscription_text .find_number__button {
	width: 100%;
}

#subscribe_checkbox {
	margin-right: 10px;
	width: 15px;
	height: 15px;
}

#subscribe_checkbox:checked {
	accent-color: #ff4c00;
}

.number_review__subscription_form {

}

.number_review__subscription_form .find_number__buttons {
	flex: 1 1 100%;
}

.number_result__item_subscription_agree {
	font-size: 12px;
	margin-top: 10px;
}

.subscribe_error {
	color: red;
	font-size: 16px;
	margin-top: 10px;
	display: none;
}

.number_review__block {
	position: relative;
}

.number_review__mess {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 100;
	text-align: center;
}

.number_review__mess.good {
	display: flex;
	background: rgb(76 138 70);
}

.number_review__mess.error {
	display: flex;
	background: rgb(183, 61, 61);
}

.number_tabs {
	display: none;
}

.number_tabs__header {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	border-bottom: 1px solid #ff4c00;
}

.number_tabs__header > div {
	flex: 1 1 50%;
	cursor: pointer;
	text-align: center;
	font-size: 20px;
	padding: 10px 5px;
	border-radius: 5px 5px 0 0;
}

.number_tabs__header > div.active {
	background-color: #ff4c00;
}

.number_tabs__body > div {
	display: none;
	padding: 20px 0 0 0;
}

.number_tabs__body > div.active {
	display: block;
}

.check_number {
	display: none;
	margin-bottom: 25px;
}

.footer__menu {
	display: flex;
	flex-direction: column;
	row-gap: 0;
	font-size: 14px;
}

.page_404 {
	width: 100%;
	height: 100%;
	background-position: right;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 30px;
	box-sizing: border-box;
	font-family: 'DrukTextWideCyr-Medium', serif;
}

.page_404__title,
.page_404__text {
	text-shadow: 2px 2px #000;
}

.page_404__title {
	font-size: 52px;
	margin-bottom: 40px;
}

.page_404__text {
	font-size: 25px;
	text-align: center;
}

.skelet_404 header {
	margin-bottom: 0;
}

.skelet_404 .wrapper {
	padding: 0;
	margin: 0;
	width: 100%;
}

.text_wrapper {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	background: #1c1c1e;
	border-radius: 10px;
}

.text_wrapper__text {
	position: relative;
	padding: 5px 20px;
	border-radius: 10px;
	color: #fff;
	flex: 1 1 60%;
}

.text_wrapper__img {
	flex: 0 0 40%;
	
}

.text_wrapper__img > div {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	width: 100%;
	height: 100%;
}

.text_wrapper__img > div::after {
	content: "";
	position: absolute;
	width: 50px;
	top: 0;
	left: 0;
	height: 100%;
	background: rgb(28,28,30);
	background: linear-gradient(90deg, rgba(28,28,30,1) 50%, rgba(255,255,255,0) 100%);
}

/*.text_wrapper__text::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('/local/templates/signalis/assets/img/text.jpg');
	background-size: cover;
	background-position: center;
	z-index: -1;
	opacity: 0.2;
	border-radius: 10px;
}*/

ol {
	list-style: none;
	counter-reset: li;
	padding-left: 0;
	margin-left: 0;
}

ol ol {
	padding-left: 12px;
	margin-top: 6px;
}

ol li {
	padding-left: 0;
	position: relative;
}

ol li:before {
	counter-increment: li;
	content: counters(li, ".") ". ";
}

.logo a {
	text-decoration: none;
	display: flex;
	align-items: center;
	column-gap: 10px;
}

.logo img {
	width: 50px;
}

.find_container.finded .find_number__title,
.find_container.finded form#form_find_number .find_number__buttons {
	display: none;
}

.find_container.finded .find_number__rating {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
}

.find_container.finded .number_result,
.find_container.finded .check_number,
.find_container.finded .number_tabs,
.find_container.finded .number_result {
	display: block;
}

.reviews_empty {
	margin-bottom: 40px;
	text-align: center;
}

.auth-buttons {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	gap: 10px;
}

.b24-window-mounts .b24-window-popup {
	z-index: 1100002!important;
}

@media (max-width: 768px) {
	header {
		margin-bottom: 10px;
		padding-left: 10px;
		padding-right: 10px;
	}
	
	.burger-menu {
		display: block;
	}
	
	.nav-links {
		display: none;
		position: absolute;
		flex-direction: column;
		align-items: flex-start;
		width: 100vw;
		height: calc(100vh - 45px);
		top: 55px;
		left: 0;
		z-index: 1000;
		background: #1c1c1e;
		border-radius: 0 0 25px 0;
	}
	
	.nav-links.open {
		display: flex;
	}
	
	.nav-links .close_btn {
		display: inline;
		position: absolute;
		left: 15px;
		top: -50px;
		font-size: 45px;
		padding: 0;
		margin: 0;
		background: #1c1c1e;
		outline: none;
	}
	
	.nav-links a {
		font-size: 18px;
		padding: 17px 10px 17px ;
	}
	
	.nav-links a.active {
		color: #FFF;
	}
	
	.card  {
		padding: 1em;
	}
	
	.title {
		font-size: 18px;
		font-weight: normal;
		margin-bottom: 25px;
		line-height: 24px;
	}
	
	.text_wrapper {
		flex-direction: column;
	}
	
	.text_wrapper__img {
		order: 0;
	}
	
	.text_wrapper__text {
		order: 1;
	}
	
	.text_wrapper__img > div {
		height: 400px;
	}
	
	.text_wrapper__img > div::after {
		width: 100%;
		height: 50px;
		background: linear-gradient(0deg, rgba(28, 28, 30, 1) 50%, rgba(255, 255, 255, 0) 100%);
		bottom: 0;
		top: auto;
	}
}

@media screen and (max-width: 576px) {
	.auth-buttons .donate {
		font-size: 13px;
		padding: 8px 8px;
	}
	
	footer {
		flex-direction: column;
		row-gap: 10px;
		align-items: flex-start;
	}
	
	.footer__copyright {
		order: 1;
	}
	
	.footer__menu {
		border-bottom: 1px solid #eceff133;
		padding-bottom: 10px;
		width: 100%;
	}
	
	h1 {
		font-size: 20px;
		line-height: 25px;
	}
}

@media screen and (max-width: 400px) {
	.card {
		padding: 1em;
	}
}