@import url("table.css");
@import url("itc-slider.css");

.doc-card .container {
	position: relative;
}

.doc-card .flow {
	display: flex;
	max-width: 1200px;
	gap: 47px 62px;
	flex-wrap: wrap;
}



.block {
	width: 100%; 
	max-width: 490px; 
	height: 1px;

}

.doc-card .flow:first-child {
	position: absolute;  
	flex-wrap: nowrap; 
	flex-direction: row; 
	width: 100%; 
	/* max-width: none; */
	left: 50%; 
	transform:  translateX(-50%);
	z-index: 1;
}

.doc-card .main-title {
	font-size: 42px;
}

.doc-card__header {
	margin-bottom: 40px;
}

.doc-card .card {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 490px;
}

.doc-card .card-body {
	aspect-ratio: 0.8167;
	padding: 0;
}

.doc-card .doc__photo img {
	display: block;
	object-fit: cover;
	object-position: center;
	width: 100%;
	position: relative;
}

.doc-card__content {
	position: relative;
	padding-top: 60px;
	flex: 1;
}

.doc-card__header {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 20px;
	flex-shrink: 0;
	flex-wrap: nowrap;
	width: 100%;
	max-width: 630px;
	

}

.doc-card .telegram,
.doc-card .social .icon {
	display: none;
}

.doc-card .social .icon-s {
	display: block;
}

.doc-card .icon-s {
	width: 28px;
	height: 28px;
	color: var(--first_color);
	fill: transparent;
}

.doc-card__description {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.doc-card__experience, 
.doc-card__practice,
.doc-card__schedule-title {
	display: flex;
	gap: 13px;
	align-items: flex-start;
}

.doc-card .table__col:last-child {
	text-align: center;
}

.doc-card .schedule .schedule__header,
.doc-card .schedule .add-info {
margin-bottom: 16px;
}

.doc-card .price__list {
	flex: 1 0 100%;
}

.schedule__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.doc-card .price__list .title {
	margin-bottom: 15px;
}

.doc-card .price__list .table {
	margin-bottom: 22px;
}


.doc-card__practice ul {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.doc-card .certificates {
	
	padding: 0 30px;
}

.doc-card .itc-slider {
	max-width: 244px;
	max-height: 166px;
}

.doc-card .itc-slider-item {
	max-width: none;

}

.doc-card  .itc-slider-btn-prev::before {
  background-image: url(../img/doc-card/arrow_prev.svg);
}

.doc-card  .itc-slider-btn-next::before {
  background-image: url(../img/doc-card/arrow_next.svg)
}

.doc-card .itc-slider-btn {
	background-color: transparent;
	
}

.doc-card .itc-slider-btn-prev  {
	left: -40px;
}

.doc-card .itc-slider-btn-next  {
	right: -40px;
}

.doc-card .itc-slider-btn::before {
	width: 24px;
	height: 24px;
	top: 0;
	left: 0;
}



									/* ===== MEDIA ===== */

@media screen and (max-width: 1140px) {
	.block {
		display: none;
	}

	.doc-card .flow:first-child {
	position: relative;  
	flex-wrap: nowrap; 
	flex-direction: row; 
	width: 100%; 
	left: auto; 
	transform:  none
	}

	.doc-card__header {
		max-width: none;
		justify-content: center;
	} 

	.doc-card .schedule {
		max-width: 648px;
		width: 100%;
		margin: 0 auto;
	}


}

@media screen and (max-width: 1147px) {
	.doc-card .flow {
		flex-direction: column;
		align-items: center;
	}

	.doc-card__content {
		padding-top: 20px;
	}
}

@media screen and (max-width: 768px) {
	.doc-card .schedule .table__col:nth-child(2) {
			display: block;

		}

	.doc-card .table__col:not(:last-child) {
    flex: 4;
	}

	.doc-card .main-title {
		font-size: 32px;
	}
	}