/* Глобальні */
._b-contacts{
	display: grid;
	/* max-width: 1280px; */
	width: calc(100% - var(--page-hor-padding) * 2);
	padding: 0 var(--page-hor-padding);
	grid-template-columns: auto auto auto;
	/* grid-template-rows: auto 1fr auto;
	grid-template-areas: 	"contacts contacts-requisites contacts-staff"
							"contacts-slider contacts-slider contacts-slider"; */
	grid-template-columns: auto 1fr;
	grid-template-areas: 	"contacts 				contacts-staff"
							"contacts-requisites	contacts-slider";
	align-items: start;
	justify-content: center;
	gap: 20px;
}

._b-contacts > div{
	display: flex;
	padding: 10px 15px;
	background-color: #fff;
	border-radius: var(--r-1);
	flex-direction: column;
	align-items: center;
	gap: 15px;
}

._b-contacts > div > h2{
	width: calc(100% - 20px);
	padding: 0 10px;
	margin: 0;
	border-bottom: 1px solid var(--bgrey-60);
	text-align: center;
	text-transform: uppercase;
	font-size: 30px;
	font-weight: 300;
	color: var(--bgrey-40);
}

._b-contacts .__table.__type-1{
	width: 100%;
}
._b-contacts .__table.__type-1 > div{
	display: grid;
	grid-template-columns: auto 1fr 1.3em;
	gap: 15px;
}
._b-contacts .__table.__type-1 > div > div{
	white-space: nowrap;
}
._b-contacts .__table.__type-1 > div > .__link{
	--icon-size: 1.15em;
}
._b-contacts .__table.__type-1 > div > span > .multi{
	display: flex;
	align-items: center;
	gap: 5px 10px;
	flex-wrap: wrap;
}



/* Контакти */
._b-contacts .contacts-contacts{
	grid-area: contacts;
}

._b-contacts .contacts-contacts > address{
	font-style: normal;
}



/* Реквізити */
._b-contacts .requisites{
	grid-area: contacts-requisites;
}

._b-contacts .requisites .comment{
	font-style: italic;
	font-size: 0.9em;
	color: var(--grey-50);
}

._b-contacts .requisites .download{
	width: 100%;
}

._b-contacts .requisites .download > table{
	width: 100%;
}

._b-contacts .requisites .download > table > tbody td{
	/* background-color: #fff; */
}

._b-contacts .requisites .download > table > tbody td:first-child{
	text-align: left;
}

._b-contacts .requisites .download > table > tbody td:last-child > div{
	display: flex;
	gap: 15px;
	align-items: center;
	justify-content: flex-end;
}


/* Маршруты */
._b-contacts > .routes{
	grid-area: contacts-slider;
}
._b-contacts > .routes > .slider > div > ul > li > img{
	display: flex;
	user-select: none;
	pointer-events: none;
}
._b-contacts > .routes > img{
	display: inline-block;
	max-width: 1263px;
	width: 100%;
}


/* Штат */
._b-contacts > .staff{
	grid-area: contacts-staff;
}

._b-contacts .staff .inner{
	display: flex;
	grid-column: 1 / 3;
	grid-template-columns: auto auto;
	grid-template-rows: auto auto;
	justify-content: center;
	flex-wrap: wrap;
	gap: 30px;
	font-size: 14px;
}

._b-contacts .staff .inner > div{
	display: grid;
	width: 240px;
	padding: 10px;
	background: linear-gradient(180deg, #000, var(--green));
	border-radius: var(--r-1);
	box-shadow: var(--box-shadow-0);
	overflow: hidden;
	grid-template-rows: auto auto;
	grid-template-columns: 1fr;
	justify-items: center;
	gap: 10px;
	color: #fff;
}

._b-contacts .staff .inner .data{
	display: flex;
	width: 100%;
	flex-direction: column;
	align-items: flex-start;
	gap: 7px;
}

._b-contacts .staff .inner .tel{
	display: flex;
	width: 100%;
	padding-bottom: 5px;
	border-bottom: 1px solid #fff;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}

._b-contacts .staff .inner .tel > div{
	display: flex;
	align-items: center;
	gap: 10px;
}

._b-contacts .staff .inner .img{
	display: flex;
	width: 240px;
	height: calc(240px * 1.25 + 49px);
	position: relative;
	background-color: #000;
	border-radius: var(--r-0);
	overflow: hidden;
	align-items: end;
}

._b-contacts .staff .inner .img > img{
	width: 100%;
	position: absolute;
	top: 0;
	transition: opacity 300ms ease;
}
._b-contacts .staff .inner .img > img:nth-child(2){
	opacity: 0;
}

._b-contacts .staff .inner .header{
	display: flex;
	width: 100%;
	z-index: 1;
	background-color: var(--bgrey-160);
	transition: transform 200ms ease;
	transform: translateY(calc(100% - 50px));
	flex-direction: column;
}
._b-contacts .staff .inner .header > h3{
	margin: 0;
	padding: 5px 10px 0 10px;
	font-weight: 300;
	font-size: 1.6em;
	color: #000;
}
._b-contacts .staff .inner .header > span{
	padding: 0 10px;
	font-style: italic;
	color: var(--bgrey-60);
}

._b-contacts .staff .inner .functions{
	width: 100%;
	margin-top: 5px;
	padding: 5px 10px 0 10px;
	background: linear-gradient(180deg, #000 -450%, var(--green));
	color: #fff;
}
._b-contacts .staff .inner .functions > .__list{
	--color: #fff;
}

._b-contacts .staff .inner > div:hover .img > img:nth-child(1){
	opacity: 0;
}
._b-contacts .staff .inner > div:hover .img > img:nth-child(2){
	opacity: 1;
}

._b-contacts .staff .inner > div:hover .img > .header{
	background-color: rgba(var(--bgrey-160-rgb),0.9);
	transform: none;
}



/* Мапа */
._b-contacts-map{
	min-height: 300px;
	width: 100%;
	height: 400px;
	overflow: hidden;
}
._b-contacts-map > iframe{
	width: 100%;
	height: 100%;
	border: none;
}