/*-- Contacts page --*/
.contacts-page-main .title-row p:first-child {
	font-weight: 600 !important;
}
.contacts-page-main .first-screen {
	padding: 100px 0 150px 0;
}
@media (max-width: 992px) {
	.contacts-page-main .first-screen {
		padding: 50px 0 75px 0;
	}
}
@media (max-width: 568px) {
	.contacts-page-main .first-screen {
		padding: 25px 0 35px 0;
	}
}
.contacts-page-main .first-screen .container {
	margin-top: 15px;
	display: flex;
	flex-direction: column;
	position: relative;
}
.contacts-page-main .first-screen .title-row {
	width: 100%;
}
.contacts-page-main .first-screen .title-row::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 80%;
    height: 127px;
    background-image: url(../img/contacts.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: -1;
    -o-object-fit: contain;
    object-fit: contain;
}
@media (max-width: 992px) {
	.contacts-page-main .first-screen .container:before {
		display: none;
	}
}

/* Content */
.contacts-page-main .first-screen .container .content {
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr;
	width: 100%;
}
.contacts-page-main .first-screen .container .content.hidden-block {
	display: none;
}
@media (max-width: 1440px) {
	.contacts-page-main .first-screen .container .content {
		grid-template-columns: 1fr 1.2fr;
	}
}
@media (max-width: 1200px) {
	.home-wrapper .header-frame {
		padding:0 25px;
	}
}
@media (max-width: 900px) {
	.contacts-page-main .first-screen .container .content {
		grid-template-columns: 1fr;
	}
}

/* Left */
.contacts-page-main .first-screen .container .content .left {
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-top: 1px solid #E4E9EA;
	border-bottom: 1px solid #E4E9EA;
	grid-column: 1 / 2;
}
@media (max-width: 900px) {
	.contacts-page-main .first-screen .container .content .left {
		grid-row: unset;
		grid-column: unset;
	}
}
.contacts-page-main .first-screen .container .content .left .contacts-first-h1 {
	font-size: 54px;
	color: #1a2129;
	text-transform: uppercase;
	line-height: 0.889;
	text-align: left;
	margin-top: 0;
	margin-bottom: 60px;
	font-weight:800;
}
@media (max-width: 992px) {
	.contacts-page-main .first-screen .container .content .left .contacts-first-h1 {
		font-size: 44px;
		margin-bottom: 30px;
	}
}
@media (max-width: 568px) {
	.contacts-page-main .first-screen .container .content .left .contacts-first-h1 {
		font-size: 36px;
		margin-bottom: 20px;
	}
}
.contacts-page-main .first-screen .container .content .left .icon-box {
	font-size: 16px;
	line-height: 1.314;
	text-align: left;
}
@media (max-width: 576px) {
	.contacts-page-main .first-screen .container .content .left .icon-box {
		font-size: 14px;
	}
}
.contacts-page-main .first-screen .container .content .left .time {
	color: #1a2129;
	display: block;
	margin-bottom: 35px;
	padding-bottom: 3px;
	border-bottom: 1px solid #1a2129;
	width: fit-content;
}
@media (max-width: 576px) {
	.contacts-page-main .first-screen .container .content .left .time {
		margin-bottom: 21px;
	}
}
.contacts-page-main .first-screen .container .content .left .time span {
	color: green;
}
.contacts-page-main .first-screen .container .content .left .location {
	color: #1a2129;
	display: flex;
}
.contacts-page-main .first-screen .container .content .left .location:before {
	content: '';
	margin-right: 12px;
	width: 25px;
	height: 25px;
	flex: 0 0 25px;
	background-image: url("data:image/svg+xml,%3Csvg width='25' height='25' viewBox='0 0 25 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_15829_563)'%3E%3Cpath d='M21.3125 10.3501C21.3125 17.3501 12.3125 23.3501 12.3125 23.3501C12.3125 23.3501 3.3125 17.3501 3.3125 10.3501C3.3125 7.96315 4.26071 5.67396 5.94854 3.98614C7.63637 2.29831 9.92555 1.3501 12.3125 1.3501C14.6994 1.3501 16.9886 2.29831 18.6765 3.98614C20.3643 5.67396 21.3125 7.96315 21.3125 10.3501Z' stroke='%231A2129' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12.3125 13.3501C13.9694 13.3501 15.3125 12.007 15.3125 10.3501C15.3125 8.69324 13.9694 7.3501 12.3125 7.3501C10.6556 7.3501 9.3125 8.69324 9.3125 10.3501C9.3125 12.007 10.6556 13.3501 12.3125 13.3501Z' stroke='%231A2129' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_15829_563'%3E%3Crect width='24' height='24' fill='white' transform='translate(0.3125 0.350098)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}
.contacts-page-main .first-screen .container .content .left .phone {
	font-size: 16px;
	color: #1a2129;
	font-weight: bold;
	line-height: 1.25;
	text-align: left;
	display: flex;
	align-items: center;
	margin: 0 0 11px;
}
@media (max-width: 576px) {
	.contacts-page-main .first-screen .container .content .left .phone {
		font-size: 14px;
	}
}
.contacts-page-main .first-screen .container .content .left .email {
	color: #1a2129;
	display: flex;
	align-items: center;
}
.contacts-page-main .first-screen .container .content .left .site {
	color: #1a2129;
	display: flex;
	align-items: center;
}
.contacts-page-main .first-screen .container .content .left .site:before {
	content: url("../img/icon-site.png");
	margin-right: 5px;
}
.left-top {
	flex: 1;
	background: #FAB50A;
	padding: 60px 23px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Socials */
.contacts-page-main .first-screen .container .socials {
	display: flex;
	align-items: center;
	padding: 16px 0;
	border-top: 1px solid rgba(195, 199, 201, 0.502);
	width: 477px;
}
@media (max-width: 900px) {
	.contacts-page-main .first-screen .container .socials {
		grid-row: unset;
		grid-column: unset;
	}
}
.contacts-page-main .first-screen .container .socials span {
	font-size: 16px;
	font-weight: 600;
	color: black;
	line-height: 2.143;
	margin-right: 10px;
}
@media (max-width: 576px) {
	.contacts-page-main .first-screen .container .socials span {
		font-size: 14px;
	}
}
.contacts-page-main .first-screen .container .socials a {
	margin: 0 10px;
	color:#F89C1C;
}
.contacts-page-main .first-screen .container .socials a i{
	font-size: 1.7rem;
}
.socials .youtube img {
	width: 70px !important;
	height: auto;
}
@media screen and (max-width: 480px){
	.contacts-page-main .first-screen .container .content .left .socials span{
		display: block;
		width: 100%;
		min-width: 100px;
		margin-bottom: 10px;
	}
	.contacts-page-main .first-screen .container .content .left .socials{
		flex-wrap:wrap;
	}
	.contacts-page-main .first-screen .container .content .left .socials a{
		margin: 0 5px;
	}
}

/* Right / Maps */
.contacts-page-main .first-screen .container .content .right {
	height: 476px;
	grid-column: 1 / 2;
    grid-row: 1 / 2;
}
@media (max-width: 900px) {
	.contacts-page-main .first-screen .container .content .right {
		grid-column: unset;
		grid-row: unset;
		height: auto;
	}
}
.contacts-page-main .first-screen .container .content .right #map1,
.contacts-page-main .first-screen .container .content .right #map2,
.contacts-page-main .first-screen .container .content .right #map3,
.contacts-page-main .first-screen .container .content .right #map4 {
	width: 100%;
	height: 100%;
}
@media (max-width: 900px) {
	.contacts-page-main .first-screen .container .content .right #map1,
	.contacts-page-main .first-screen .container .content .right #map2,
	.contacts-page-main .first-screen .container .content .right #map3,
	.contacts-page-main .first-screen .container .content .right #map4 {
		height: 300px;
		width: 100%;
	}
}
@media (max-width: 576px) {
	#map1,
	#map2 {
		padding-left: 15px;
		padding-right: 15px;
	}
	.contacts-page-main .first-screen .container .content .left {
		border-bottom: none;
	}
}

/* Contact Tabs */
.contact-tabs {
	display: flex;
	gap: 8px;
	align-items: stretch;
	padding: 33px 0px;
	font-size: 16px;
	line-height: 140%;
	flex-wrap: wrap;
}
@media (max-width: 768px) {
	.contact-tabs {
		gap: 30px;
		font-size: 14px;
		line-height: 17px;
	}
}
@media (max-width: 576px) {
	.contact-tabs {
		padding: 13px 15px;
	}
}
.contact-tab {
    flex: 1 1 calc(45% - 5%);
    min-width: 0;
    min-height: 80px;
    box-sizing: border-box;
    transition: all .3s ease;
    padding: 12px 16px;
    font-weight: 600;
    color: #1A2129;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 13px;
    line-height: 140%;
    border-radius: 7px;
}
@media (min-width: 769px) {
    .contact-tab {
        flex: 1 1 0;
        font-size: 16px;
    }
}
.contact-tab.active {
    background: #FAB50A;
    color: #1A2129;
    font-weight: 600;
}
.contact-tab.active::after {
    display: none;
}
.contact-tab__place {
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
}
.contact-tab__time {
    display: block;
    width: 100%;
    font-weight: 400;
    font-size: 12px;
    line-height: 140%;
    color: #1A2129;
    margin-top: 12px;
}
@media (max-width: 768px) {
    .contact-tab__time {
        font-size: 12px;
    }
}
.contact-tab__map-link {
    font-size: 12px;
    color: #FAB50A;
    text-decoration: underline;
    margin-top: 12px;
    line-height: 140%;
    font-weight: 400;
}
@media (max-width: 768px) {
    .contact-tab__map-link {
        margin-top: 6px;
    }
}
.contact-tab.active .contact-tab__map-link {
    color: #fff;
}

/* Bottom Row */
.left-bottom {
	padding: 60px 23px;
}
.left-bottom .icon-box.phone {
	font-weight: 700;
}
@media (max-width: 576px) {
	.left-bottom {
		padding: 21px 15px;
	}
	.left-top {
		padding: 50px 15px;
	}
	.contacts-page-main .container {
		padding: 0;
	}
	.contacts-page-main .first-screen .container .socials {
		padding-left: 15px;
		padding-right: 15px;
		border-bottom: none;
	}
}
.bottom-row {
    grid-column: 1 / 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 23px 0px 0px;
    border-bottom: 1px solid #E4E9EA;
    margin-top: 20px;
}
.bottom-row .socials {
    border-bottom: none;
    padding: 0;
    width: auto;
    grid-column: unset;
    grid-row: unset;
}
.bottom-row .left-bottom {
    padding: 0;
    display: flex;
    gap: 31px;
    flex-shrink: 0;
    white-space: nowrap;
}
@media (max-width: 768px) {
    .bottom-row {
        flex-direction: column-reverse;
        gap: 12px;
        padding: 24px 0px 16px 0px;
        border-bottom: 0px;
        margin-top: 0px;
    }
    .bottom-row .left-bottom {
        flex-direction: column-reverse;
        background: #F0F0F0;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
        padding: 20px 12px 20px 12px;
    }
    .bottom-row .socials {
        border: 0px;
        width: 100%!important;
    }
}