.tariff_info_block {
	/*display: flex;*/
	display: none;
	flex-direction: column;
	width: 100%;
}

.tariff_info_block_inactive {
	display: none;
}

.tariff_page__name_block {
	margin-top: 20px;

	display: flex;
	flex-direction: row;
	justify-content: center;

	font-family: 'Roboto';
	font-style: normal;
	font-weight: 500;
	font-size: 22px;
	line-height: 26px;
	/* identical to box height */
	text-align: center;

	color: #FFFFFF;
}

.tariff_page__info_block {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 20px;
	width: 100%;

	gap: 15px;
}

.tariff_page__description_block {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;

	background: var(--blocks-background-color);
	border-radius: 20px;

	width: calc(100% - 16px);
}

.tariff_page__description_block > .about_the_tariff_block {
	margin-top: 20px;
	margin-left: 20px;
	display: flex;
	flex-direction: row;
	justify-content: start;
	align-items: center;

	font-family: 'Roboto';
	font-style: normal;
	font-weight: 700;
	font-size: 16px;
	line-height: 19px;

	color: var(--about-the-tariff-text-color);
}

.tariff_page__description_text_block {
	margin-left: 20px;
	margin-bottom: 20px;
	display: flex;
	flex-direction: column;
}

.tariff_page__description_inner_text {
	/* Описание тарифа */

	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 140%;

	color: var(--tariff-description-text-color);


	background-color: var(--tariff-description-text-color);
	/*background-color: rgb(42, 165, 160);
	background-image: linear-gradient(0deg, white, black, black);*/
	-webkit-text-fill-color: transparent;
	background-clip: text;


	height: 60px;
	max-height: 60px;
	transition: max-height 0.15s ease-out;

	text-overflow: ellipsis;
	box-orient: vertical;
	-webkit-box-orient: vertical;
	width: 89%;
	overflow: hidden;
}

.tariff_page__description_text_block[show_full="0"] > .tariffs_page__description_shape {
	position: absolute;
	height: 60px;
	width: 89%;

	background: var(--tariff-description-text-shape);
}

.tariff_page__description_text_block[show_full="1"] > .tariffs_page__description_shape {
	background: none;
}

.tariff_page__description_text_block[show_full="1"] > .tariff_page__description_inner_text {
	height: 100%;
	max-height: 100%;
	width: 90%;

	transition: max-height 0.25s ease-in;
	animation-duration: 300ms;
}

.tariff_page__description_text_block[show_full="1"] > .show_all_description > .show_full_description_blue_arrow {
	transform: rotate(180deg);
}

.show_all_description {
	/* Развернуть */
	margin-top: 4px;
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 130%;

	text-align: right;

	color: #007AFF;

	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 5px;

	cursor: pointer;
}

.show_all_description[is_active="1"] > .show_full_description_blue_arrow {
	transform: rotate(180deg);
}

.you_access_will_inner_text {
	margin-top: 20px;
}

.resources_block {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;

	background: var(--blocks-background-color);
	border-radius: 20px;

	width: calc(100% - 16px);
}

.you_access_will {
	/* Вы получите доступ */
	margin-left: 23px;
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 700;
	font-size: 16px;
	line-height: 19px;
	display: flex;
	align-items: center;

	color: var(--resources-access);
}

.resources_list {
	margin-top: 9px;
	margin-bottom: 20px;
	margin-left: 23px;
	gap: 9px;
}

.resource {
	display: flex;
	flex-direction: row;
	gap: 10px;
}

.resource_name_inner_text {
	/* Наименование ресурса*/
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 140%;
	color: var(--resource-name-color);
}

.method_type, .additional_method_info, .method_info_block {
	cursor: pointer;
}

.help_btn {
	cursor: pointer;
}

.payment_method_element {
	user-select: none;
}

.terms_url {
	font-family: Roboto;
	font-size: 12px;
	font-weight: 400;
	line-height: 16.8px;
	text-align: left;
	color: var(--terms-text-color);
}


/*
 * БЛОК С ГАЛОЧКАМИ ПОДТВЕРЖДЕНИЯ
 */

 .accept_terms_block {
	display: flex;
	flex-direction: column;
	gap: 10px;

	background-color: var(--blocks-background-color);
	padding-top: 19px;
	padding-left: 0px;
	padding-bottom: 19px;
	border-radius: 20px;

	width: calc(100% - 16px);
}

.accept_element {
	display: flex;
	flex-direction: row;
	margin-left: 23px;
}

.custom-checkbox {
	position: absolute;
	z-index: -1;
	opacity: 0;
}

/* для элемента label, связанного с .custom-checkbox */
.custom-checkbox+label {
	display: inline-flex;
	align-items: center;
	user-select: none;
}

/* создание в label псевдоэлемента before со следующими стилями */
.custom-checkbox+label::before {
	content: '';
	display: inline-block;
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	flex-grow: 0;
	/*border: 1px solid #adb5bd;*/
	border-radius: 0.25em;
	margin-right: 0.5em;
	background-repeat: no-repeat;
	background-position: center center;
	background-color: #E7E6EB;
}

/* стили при наведении курсора на checkbox */
.custom-checkbox:not(:disabled):not(:checked)+label:hover::before {
	/*border-color: #b3d7ff;*/
}

/* стили для активного чекбокса (при нажатии на него) */
/*.custom-checkbox:not(:disabled):active+label::before {
	background-color: #b3d7ff;
	border-color: #b3d7ff;
}*/

/* стили для чекбокса, находящегося в фокусе */
.custom-checkbox:focus+label::before {
	/*box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);*/
}

/* стили для чекбокса, находящегося в фокусе и не находящегося в состоянии checked */
.custom-checkbox:focus:not(:checked)+label::before {
	/*border-color: #80bdff;*/
}

/* стили для чекбокса, находящегося в состоянии checked */
.custom-checkbox:checked+label::before {
	border-color: #0b76ef;
	background-color: #0b76ef;
	background-image: url('data:image/svg+xml,<svg width="16" height="11" viewBox="0 0 16 11" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.58331 4.63334L5.89797 9.58334L14.4166 1.33334" stroke="white" stroke-width="2.01667" stroke-linecap="round" stroke-linejoin="round"/></svg>');
	/*background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");*/

	/*
	
	<svg width="16" height="11" viewBox="0 0 16 11" fill="none" xmlns="http://www.w3.org/2000/svg">
		<path d="M1.58331 4.63334L5.89797 9.58334L14.4166 1.33334" stroke="white" stroke-width="2.01667" stroke-linecap="round" stroke-linejoin="round"/>
	</svg>

	
	*/
}

/* стили для чекбокса, находящегося в состоянии disabled */
.custom-checkbox:disabled+label::before {
	background-color: #e9ecef;
}

.terms_label, .recurrent_label {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	font-size: 12px;
	line-height: 140%;

	color: var(--terms-text-color);
	/*max-width: 280px;*/
}

.label_for_checkbox {
	width: 90%;
}