/* стили для таблицы с тарифами */

table.table-service thead tr:first-of-type {
	background-color: var(--main-blue);
	color: #fff;
}

.first-td {
	width: 100px;
}

.rate-types {
	display: flex;
}

.rate-types-item {
	flex-basis: 50%;
	display: flex;
	flex-direction: column;
	margin: 5px;
}

.v-separator {
	flex-basis: 2px;
	background-color: var(--main-blue);
	border-radius: 5px;
	opacity: 0.7;
}
/*
.rate-types-item.adult {
	border-right: 1px solid var(--main-blue);
}
*/

.adult-title, .kid-title {
	color: var(--main-blue);
	font-size: 0.8rem;
	font-weight: bold;
}

.discount-price {
	color: var(--main-red);
}

.old-price {
	font-size: 14px;
	color: var(--main-gray);
	text-decoration: line-through;
}

.table-badge-discount-img {
	background-color: var(--main-red);
	color: #fff;
	padding: 0 6px;
	border-radius: 4px;
	font-size: 12px;
	height: fit-content;
	width: fit-content;
	position: absolute;
	left: 10px;
	top: 15px;
	font-weight: bold;
}

table.table-service thead td {
	position: relative;
	padding-top: 15px;
}

.table-badge-discount {
	background-color: var(--main-yellow);
	color: var(--main-blue);
	padding: 0 6px;
	border-radius: 4px;
	font-size: 12px;
	height: fit-content;
	width: fit-content;
	margin-top: -5px;
	font-weight: bold;
}

.discount-price-elements {
	display: flex;
	gap: 5px;
	align-items: center;
}

.discount-price-elements span {
	white-space: nowrap;
}

.wrapper-discount-price {
	display: flex;
	justify-content: space-between;
	gap: 5px;
}


@media (max-width: 1600px) { 
	.wrapper-discount-price {
		flex-direction: column-reverse;
	}
}

@media (max-width: 565px) {
	.table-badge-discount {
		margin-left: auto;
	}

	.discount-price-elements {
		flex-direction: column;
		gap: 0;
	}
}

.related-service .old-price {
	color: #ffffffcc;
}