/* 
Theme Name: https://akado-ru.online/
Author:  @stasyatrofimova, @VictoriaBugaeva
Description: Тема для  ООО «Онлайн Сервисы» проект АКАДО провайдер
Tags: accessibility-ready, one-column, custom-menu, featured-images, 
Version: 2023
Tested up to: 6.4
Requires PHP: 7.0
*/

/* Общее */
@import url('css/fonts.css');

/*Стили основных блоков страницы*/
@import url('css/style-blocks/header.css');
/* @import url('css/style-blocks/faq.css'); */
/* @import url('css/style-blocks/advantages.css'); */
/* @import url('css/style-blocks/services.css'); */
/* @import url('css/style-blocks/banner.css'); */
@import url('css/style-blocks/footer.css');
@import url('css/style-blocks/tariffs.css');
@import url('css/style-blocks/checkadress.css');

/* Стили страниц */
/* @import url('css/style-page/page-separate.css'); */

/* Стили попапов */
/* @import url('css/style-popup/popup-new.css'); */
@import url('css/style-popup/popup-float.css');


/* ОБЩИЕ СТИЛИ(START) */

html {
  scroll-behavior: smooth;
}

* {
	margin: 0;
	padding: 0;
	font-family: 'PTSans';
	font-weight: 400;
	box-sizing: border-box;
}


a, p, h1, h2, h3 {
	margin: 0;
	padding: 0;
	text-decoration: none;
}

a {
	color: var(--text);
	text-decoration: underline;
}

.medium {
    font-weight: 600;
}

.d-none {
	display: none !important;
}

:root {
	--text: #0C0B0B;
	--ttk-red: #EF4635;
	--ttk-red-80: #EF4635CC;
	--white: #FFFFFF;
	--white-80: #FFFFFFCC;
	--graphite: #45484C;
	--ttk-grey-1: #52596B;
	--ttk-grey-2: #777F8C;
	--ttk-grey-3: #8091A2;
	--ttk-grey-4: #777F8C0D;
	--ttk-grey-blue: #BBD5E0;
	--ttk-grey-blue-40: #BBD5E066;
	--ttk-grey-blue-50: #BBD5E0CC;
	--ttk-grey-blue-80: #BBD5E0CC;
	--ttk-yellow: #FFC54A;
}

.container {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
}

@media screen and (max-width: 1200px) {
	.container {
		max-width: 1040px;
		padding: 0 16px;
	}
}

.section-wrapper {
	display: flex;
	flex-direction: column;
}

.section-title {
	font-weight: 700;
	font-size: 32px;
	text-align: center;
	color: var(--text);
	margin-bottom: 32px;
}

h1.section-title {
    font-size: 38px !important;
}

@media screen and (max-width: 768px) {
	h1.section-title {
		font-size: 28px;
	}

	h2.section-title {
		font-size: 24px;
	}
}

.white-button {
	padding: 14px 20px 16px;
	border-radius: 4px;
	border: 1px solid var(--ttk-red);
	opacity: 100%;
	color: var(--ttk-red);
	background-color: var(--white);
	font-weight: 700;
	font-size: 16px;
	transition: 0.3s ease;
	cursor: pointer;
}

.white-button:hover {
	opacity: 80%;
}

.white-button:active {
	opacity: 90%;
}

.button-red {
    padding: 14px 40px;
    border: none;
    opacity: 100%;
    color: #FFFFFF;
    background-color: #E42313;
    font-weight: 600;
    font-size: 18px;
	text-decoration: none;
    transition: 0.2s ease;
    cursor: pointer;
}

.button-red:hover {
	background-color: #D41C0B;
}

table {
	border-collapse: collapse;
	width: 100%;
	border: none;
}

table th,
table td {
	/*   border: 2px solid var(--light-blue-5); */
/* 	height: 64px; */
	/*   color: var(--dark-blue); */
/* 	font-size: 20px; */
}

table thead tr {
	border: none;
}

table td:first-child,
table th:first-child {
	border-left: none;
}

table td:last-child,
table th:last-child {
	border-right: none;
}

table tr:last-child td {
	border-bottom: none;
}

table thead tr:first-child th {
	border-top: none;
}

body.no-scroll {
	overflow: hidden;
	height: 100vh;
	touch-action: none;
}


@supports (-webkit-overflow-scrolling: touch) {
	body {
		height: auto;
		min-height: 100vh;
	}
}

.wpcf7-spinner,
.wpcf7-response-output {
	display: none;
}

.wpcf7-not-valid-tip {
	font-size: 10px;
	color: var(--ttk-red-80);
	margin: 2px 0 0;
	padding-left: 4px;
}

/* Скрываем стандартный кружок, но оставляем input кликабельным */
.popup__radio input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 18px;
	cursor: pointer !important;
	z-index: 2;
}

.popup__radio .wpcf7-list-item {
	position: relative;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
}

/* Лейбл/текст радиокнопки */
.popup__radio .wpcf7-list-item-label {
	position: relative;
	padding-left: 28px;
	cursor: pointer;
	font-size: 16px;
	line-height: 1.4;
	user-select: none;
	display: inline-block;
}

@media screen and (max-width: 768px) {
	.popup__radio .wpcf7-list-item-label {
		font-size: 14px;
	}
	
	.popup__radio {
		gap: 26px !important;
	}
	
	.popup__radio .wpcf7-list-item-label {
		width: max-content;
	}
}

/* Внешний бордер и белое поле */
.popup__radio .wpcf7-list-item-label::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	border: 2px solid #8091A266; /* внешний бордер */
	border-radius: 50%;
	background: #fff; /* пустое поле внутри */
	box-sizing: border-box;
	transition: 0.3s;
}

/* Красная точка по центру при выборе */
.popup__radio .wpcf7-list-item-label::after {
	content: "";
	position: absolute;
	left: 9px;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 8px; /* размер красной точки */
	height: 8px;
	background: var(--ttk-red); /* красная точка */
	border-radius: 50%;
	opacity: 0;
	transition: 0.2s;
	pointer-events: none; /* чтобы не мешать клику */
}

/* Показываем красную точку, когда input выбран */
.popup__radio input[type="radio"]:checked + .wpcf7-list-item-label::after {
	opacity: 1;
}