/*********************************
*                                *
*            BLOCKS              *
*                                *
**********************************/


/* Basic block with shadow */
.content-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 5px 5px 10px #e0dad5;
	margin: 25px;
	padding: 25px;
}

.content-wrapper img {
	width: 100%;
	height: auto;
	display: block;
}


/* Nesting Blocks */
.content-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.content-block img {
	width: auto;
	height: auto;
}

@media (max-width: 640px) {
	
	.content-wrapper {
		width: 100%;
		border-radius: 0;
	}
	
	.content-block {
		gap: 0;
		border-radius: 0;
	}
	
	.content-wrapper img {
		max-width: 100%;
	}
}



/* Тестовый блок с текстом сбоку (для Пакетов) */

.сс2 {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 0 30px 30px;
	position: relative;
}

.сс2-item:nth-child(1) { /* Заголовок */
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom: 1px solid #ccc;
	margin-bottom: 20px;
}

.сс2-title { /* Заголовок */
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom: 1px solid #ccc;
	margin-bottom: 20px;
}

.сс2-title h2 { 
	font-weight: 200;
	font-size: 26px;
	color: #444;
	padding: 15px;
	margin: 0;
}

.сс2-item:nth-child(1) h2 { 
	font-weight: 200;
	font-size: 26px;
	color: #444;
}

.сс2-item:nth-child(2) { /* Блок с изображением и текстом */
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: space-between;
	gap: 20px;
}

.cc2-img {
	width: 45%;
}

.cc2-img img {
	width: 100%;
	height: auto;
	display: block;
}

.cc2-text {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 65%;
	height: 100%;
	padding-bottom: 40px;
}

.cc2-text p { 
	font-weight: 400;
	font-size: 16px;
	line-height: 30px;
	color: #444;
}

@media (max-width: 640px) {
	
	.сс2-item:nth-child(2) {
		flex-direction: column;
	}
	
	.cc2-img {
		width: 100%;
	}

	.cc2-text {
		width: 100%;
	}

}

/* Block with text */
.block-text {
	width: 100%;
	padding: 30px;
}

.block-text img {
	display: block;
	width: 100%;
	padding-bottom: 15px;
}

.block-no-padding .block-text h2 {
	font-family: 'Manrope';
	font-weight: 400;
	font-size: 25px;
	color: #444;
	line-height: 50px;
	text-align: center;
	text-transform: uppercase;
}

.block-text h3 {
	font-family: 'Manrope';
	font-weight: 600;
	font-size: 20px;
	color: #444;
	line-height: 50px;
	text-align: center;
	text-transform: uppercase;
}

.block-text p {
	font-family: 'Manrope';
	font-weight: 400;
	font-size: 18px;
	color: #444;
	line-height: 30px;
	margin: 1em 0;
	text-indent: 3ch;
}

.block-text strong {
	font-family: 'Manrope';
	font-weight: 600;
	font-size: 18px;
	color: inherit;
} 

.block-text ul {
	font-family: 'Manrope';
	font-weight: 400;
	font-size: 16px;
	padding-left: 50px;
}

.block-text li {
	list-style-type: circle;
}

@media (max-width: 640px) {
	.block-text {
		padding: 30px;
		margin: 0;
	}
	
	.block-text img {
		padding-bottom: 5px;
	}
}


/* Text block on the homepage */

.l {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 0 50px;
	gap: 20px;
}

.l-title {
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom: 1px solid #ccc;
}

.l-title p {
	font-weight: 200;
	font-size: 26px;
	color: #444;
	padding: 20px 0;
}

.l-text {
	width: 100%;
	padding-bottom: 20px;
}

.l-text p {
	font-weight: 400;
	font-size: 17px;
	line-height: 30px;
	text-indent: 1.5em;
	color: #444;
	margin-bottom: 15px;
}

@media (max-width: 640px) {
	.l {
		padding: 0 30px;
		margin: 30px;
	}
}

/********* Block Three images *********/
.three-img {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: space-between;
	width: 100%;
	gap: 50px;
	padding: 0 30px 50px;
}

.three-img-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 400px;
}

.three-img-item img{
	width: 100%;
	height: auto;
}

.three-img-item h3 {
	font-family: 'Manrope';
	font-weight: 600;
	font-size: 18px;
	color: #444;
	padding: 30px 0;
}

.three-img-item p {
	font-family: 'Manrope';
	font-weight: 400;
	font-size: 18px;
	line-height: 35px;
	color: #444;
}

@media (max-width: 640px) {

	.three-img {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 20px;
		padding: 0;
	}
	
	.three-img-item h3 {
		padding: 10px 15px 20px;
	}

	.three-img-item p {
		padding: 0 15px 20px;
	}
}


/* Test block with text on the side (for the Price) */
.d {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 0 30px 30px;
	position: relative;
}

.d-item:nth-child(1) { /* Heading */
	display: flex;
	align-items: center;
	justify-content: center;
	height: 80px;
	border-bottom: 1px solid #ccc;
	margin-bottom: 40px;
}

.d .d-item:nth-child(1) h2 { 
	font-weight: 200;
	font-size: 26px;
	color: #444;
	margin: 0;
	padding: 15px;
}

.d-item:nth-child(2) { /* Block with image and text */
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: space-between;
	gap: 20px;
}

.d-img {
	width: 20%;
}

.d-img img {
	width: 100%;
	height: auto;
	display: block;
}

.d-text {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 80%;
	height: 100%;
	padding-bottom: 40px;
}

.d-text p { 
	font-weight: 400;
	font-size: 16px;
	line-height: 30px;
	color: #444;
}

.table { /* Table */
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: center;
	gap: 8px;
	margin: auto;
	width: 100%;
}


.tb-wrapper {
	display: flex;
	flex-direction: row;
	align-items: end;
	justify-content: start;
	width: 100%;
}

.cell {
	width: 70%;
}


.tb-right {
	display: flex;
	flex-direction: row;
	align-items: end;
	justify-content: space-between;
	width: max-content;
}

.tb-right-top {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	gap: 5px;
	width: 130px;
}

.tb_text { /* Dot color fill='%23 999 (the last three parameters)' */
	display: flex;
	flex: 1;
	background-image: url("data:image/svg+xml,%3Csvg width='6' height='1' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='0' width='1' height='1' fill='%23999' /%3E%3C/svg%3E");
	background-repeat: repeat-x;
	background-position: bottom left;
	background-size: auto 1px;
}

.tb_text p {
  display: inline;
  background-color: white;
  padding: 8px 0;
}

.tb_text-link {
	color: #444 !important;
}

.tb_text-link:hover {
	text-decoration: underline;
}

.bottom {
	width: max-content;
	align-self: end;
}

.dollar {
	font-size: 13px;
}

.time {
	font-size: 16px;
}

.min {
	padding-left: 3px;
	font-size: 15px;
	color: #999;
}

.price {
	font-weight: bold;
	padding-right: 10px;
}

@media (max-width: 640px) {
	.d-item:nth-child(2) {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 20px;
	}
	
	.header-main-title {
		padding: 30px;
	}
	
	.d-img {
		width: 100%;
	}

	.d-text {
		width: 100%;
	}
	
	.table {
		padding: 0 10px;
	}
	
	.tb-wrapper {
		align-items: end;
	}
	
	.tb-right {
		flex-direction: column;
		gap: 0;
	}

	.cell {
		display: flex;
		align-items: end;
		justify-content: space-between;
		padding: 6px 0;
	}

	.bottom {
		align-self: end;
		width: 100%;
	}

	.d-text {
		padding-bottom: 20px;
	}

	.tb_text p {
		display: inline-block;
		width: 100%;
	}
	
	.time {
		font-size: 15px;
	}
	
	.price {
		font-size: 22px;
		font-weight: bold;
	}
}