/* ----- CUSTOMS -----  */
@font-face
{
	font-family: 'Montserrat';
	src: url('fonts/Montserrat-Regular.ttf');
	font-weight: normal;
}
body {
	font-family: 'Montserrat', Arial;
}
main {
	margin-top: 0;
}
.homepage header.container.scrolled,
header.scrolled {
	background-color: var(--color-main-bg);
}
.page-header .page-title {
	text-shadow: none;
}
.result-search-item {
	box-shadow: none;
}
.title,
.page-title .title-part {
	color: #1A1818;
}
.main-menu .item-menu > a {
	padding: 0 13px;
	text-transform: none;
	font-size: 0.95em;
}
.my_agency .page-header,
.contact .page-header {
	height: 540px;
}
footer.container {
	background: url("../../upload/defaults/default_background_footer.jpg") no-repeat bottom center;
	background-size: cover;
	padding-top: 90px;
}
footer .inner-container:first-of-type {
	margin-bottom: 240px;
}
footer .inner-container:last-of-type {
	padding-bottom: 40px;
}
.social-network-block {
	flex: 0 0 17.33%;
}
.jpageslider {
	min-height: 100vh !important;
}
.homepage header.container {
	background: transparent;
	box-shadow: none;
}
header .inner-container {
	max-width: 1920px;
}
footer .inner-container:first-of-type {
	display: grid;
	grid-gap: 40px;
	grid-template-columns: calc(20% - 32px) calc(20% - 32px) calc(21% - 32px) calc(21% - 32px) calc(18% - 32px);
	grid-template-rows: auto;
}
footer .logo-block-footer {
	grid-column: 1;
	grid-row: 1	/ 3;
	text-align: center;
}
footer .social-network-block.footer {
	grid-column: 2;
	grid-row: 1;
}
footer .contact-block.footer {
	grid-column: 3 / 5;
	grid-row: 1;
}
footer .simple-menu-container {
	grid-column: 5;
	grid-row: 1;
}
footer .footer-bottom-block {
	grid-column: 2 / 6;
	grid-row: 2;
	display: grid;
	grid-template-columns: repeat(4, auto);
	gap: 40px;
}
footer .logo-block-footer img {
	width: 80%;
	height: auto;
	max-height: 250px;
	object-fit: contain;
	margin: auto;
}
footer .footer-bottom-block .partner {
	display: flex;
	align-items: center;
}
footer .footer-bottom-block .block-title {
	align-self: center;
	margin-bottom: 0;
}
footer .footer-bottom-block .partner a {
	display: flex;
	width: auto;
	height: auto;
}
footer .footer-bottom-block .partner svg {
	width: 100%;
	height: auto;
	max-height: 50px;
	margin: auto;
	object-fit: contain;
	fill: #fff;
}
@media (max-width: 1240px) {
	.main-menu .item-menu > a {
		padding: 20px;
	}
}
@media (max-width: 992px) {
	/**** FOOTER */
	footer .inner-container:first-of-type {
		grid-template-columns: repeat(2, calc(50% - 20px));
	}
	footer .logo-block-footer {
		grid-row: 1;
	}
	footer .contact-block.footer {
		grid-column: 1;
		grid-row: 2;
	}
	footer .simple-menu-container {
		grid-column: 2;
		grid-row: 2;
	}
	footer .footer-bottom-block {
		max-width: 768px;
		grid-column: 1 / 3;
		grid-row: 3;
		grid-template-columns: repeat(3, calc(33.33% - 25px));
		grid-template-rows: auto;
		grid-auto-flow: row dense;
	}
	footer .footer-bottom-block .block-title {
		grid-column: 1 / 4;
		grid-row: 1;
		text-align: center;
	}
}
@media (max-width: 768px) {
	/**** FOOTER */
	footer .inner-container:first-of-type {
		display: flex;
	}
	footer .footer-bottom-block {
		display: flex;
		flex-direction: column;
	}
}