/*
Theme Name:     Crendon Child
Theme URI:      https://www.elegantthemes.com/gallery/divi/
Description:    Child theme for Divi
Author:         ads creative solutions
Author URI:     https://adsoxford.co.uk
Template:       Divi
Version:        2.0.0
*/

.et_pb_code > .et_pb_code_inner {
	height: inherit;
}

@media only screen and (min-width: 981px) and (max-width: 1600px) {
	.ads-menu-header .header-menu li a {
		font-size: 14px;
		padding: 10px 8px;
	}
}

@media (min-width: 1080px) {
	.ads-menu-header .header-menu > li > a {
		border-right: 1px solid #ffea8e;
	}

	.ads-menu-header .header-menu > li:last-child > a {
		border-right: none;
	}
}

.ads-menu-header .header-menu > li:first-child > .sub-menu {
	right: auto;
	left: 0;
}

body .et_pb_button {
	/* 	font-size: 16px !important; */
	min-width: 180px;
	text-align: center;
	text-transform: uppercase !important;
}

header.et-l--header {
	position: relative;
	z-index: 999;
}

.ads-menu-header .cmn-toggle-switch.active {
	top: 10px !important;
}

.newsletters .et_pb_blurb_container {
	vertical-align: middle !important;
}

.newsletters .et_pb_blurb_container .et_pb_module_header {
	padding-bottom: 0;
	margin-bottom: 0;
}

header .ads-menu-header li.current-menu-item > a {
	background-color: #e43824;
	color: #fff !important;
}

header .ads-menu-header li.current-menu-item > span i {
	color: #fff !important;
}

header .header_buttons .et_pb_button_module_wrapper {
	height: 100%;
}

body #page-container #header_buttons .header_button_red {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	text-transform: uppercase !important;
	font-size: 14px !important;
	min-height: 42px;
}

body #page-container #header_buttons #tracker-button {
	position: relative !important;
	overflow: visible !important;
	padding-right: 76px !important;
}

body #page-container #header_buttons #tracker-button::before {
	position: absolute !important;
	content: '' !important;
	opacity: 1 !important;
	width: 76px;
	height: 76px;
	background: url(/wp-content/uploads/2026/04/red.svg) !important;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100%;
	right: 0px;
	/* 	top: calc(50% - 38px); */
	z-index: 99;
	display: flex!important;
	align-items: center;
	visibility: visible !important;
}

/* GRAVITY FORM */

.gfield_label.gform-field-label {
	flex-direction: row !important;
}

input.gform_button.button {
	background-color: #fece00 !important;
	border-color: #fece00 !important;
	color: #333 !important;
	border-radius: 8px !important;
	font-size: 16px !important;
	letter-spacing: 1px !important;
	font-weight: 500 !important;
	padding: 5px 25px !important;
	text-transform: uppercase !important;
}

input.gform_button.button:hover {
	background-color: #e43824 !important;
	border-color: #e43824 !important;
	color: #fff !important;
}


.news-template-default .gform-theme--foundation .gfield--width-half,
.news-template-default .gform-theme--foundation .gfield--width-third,
.case_study-template-default .gform-theme--foundation .gfield--width-half,
.case_study-template-default .gform-theme--foundation .gfield--width-third {
	grid-column: 1/-1 !important;
}

.news-template-default .gform-theme--foundation .gform_fields,
.case_study-template-default .gform-theme--foundation .gform_fields {
	grid-template-columns: 1fr !important;
}

/* HERO SECTION */

.page-hero > .et_pb_column:first-child,
.product-hero > .et_pb_column:first-child,
.branch-hero > .et_pb_column:first-child {
	padding-left: calc((100% - 1440px) / 2);
	padding-top: 50px;
	padding-bottom: 60px;
}

.page-hero .et_pb_column > .et_pb_text,
.product-hero .et_pb_column > .et_pb_text,
.branch-hero .et_pb_column > .et_pb_text {
	max-width: 80%;
}

.page-hero .page-photo,
.product-hero .product-photo,
.branch-hero .branch-photo {
	position: relative;
	width: 100%;
	height: 100%;
}

.page-hero .page-photo .et_pb_image_wrap,
.product-hero .product-photo .et_pb_image_wrap,
.branch-hero .branch-photo .et_pb_image_wrap {
	position: absolute;
	width: 100%;
	height: 100%;
	inset: 0;
}

.page-hero .et_pb_image_wrap img,
.product-hero .et_pb_image_wrap img,
.branch-hero .et_pb_image_wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none; 
	user-select: none; 
	-webkit-user-select: none; 
	-webkit-user-drag: none;
}

.page-hero .hero-image-logo,
.product-hero .hero-image-logo,
.branch-hero .hero-image-logo {
	position: absolute;
	width: calc(100% - 60px);
	right: 30px;
	left: 30px;
	bottom: 30px;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
}

.page-hero .hero-image-logo .et_pb_image_wrap,
.product-hero .hero-image-logo .et_pb_image_wrap,
.branch-hero .hero-image-logo .et_pb_image_wrap {
	width: 100%;
	max-width: 240px;
}

/* .page-hero .hero-image-logo,
.product-hero .hero-image-logo,
.branch-hero .hero-image-logo {

} */

@media (max-width: 1480px) {
	.page-hero > .et_pb_column:first-child,
	.product-hero > .et_pb_column:first-child,
	.branch-hero > .et_pb_column:first-child {
		padding-left: 5% !important;
		padding-right: 5% !important;
	}
}

@media (max-width: 980px) {
	.page-hero,
	.product-hero,
	.branch-hero {
		flex-direction: column;
	}
	.page-hero > .et_pb_column:first-child,
	.product-hero > .et_pb_column:first-child,
	.branch-hero > .et_pb_column:first-child {
		width: 100%;
	}
	.page-hero > .et_pb_column.et-last-child,
	.product-hero .et_pb_column.et-last-child,
	.branch-hero .et_pb_column.et-last-child {
		display: none;
	}

	.page-hero .et_pb_column > .et_pb_text,
	.product-hero .et_pb_column > .et_pb_text,
	.branch-hero .et_pb_column > .et_pb_text {
		max-width: 100%;
	}
}

/* NEWS SCROLLER */

.news-slider .news-content {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 2%;
	height: 100%;
}
.news-slider .news-content > div {
	width: 49%;
	height: 100%;
}
.news-slider .news-content img {
	height: 100%;
	width: 100%;
	object-fit: contain;
	object-position: center;
	border-radius: 8px;
	background-color: #e43824;
}
.news-slider .news-content h4 {
	font-size: 18px;
}
.news-slider .news-content .news-date {
	color: #222;
	font-weight: 700;
	margin-bottom: 5px;
}

.news-slider .news-content .short-text p {
	color: #333;
	overflow: hidden;
	-o-text-overflow: ellipsis;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

@media (max-width: 1079px) {
	.news-slider .news-content > div {
		width: 100%;
		height: auto !important;
	}
	.news-slider .news-content img {
		height: auto;
		aspect-ratio: 1;
	}
}

@media (max-width: 767px) {
	.news-slider .news-content {
		flex-direction: column;
		justify-content: flex-start;
	}
}

/* GALLERY */

.et_pb_gallery_image.landscape {
	aspect-ratio: 3/2;
}

.et_pb_gallery_image.landscape a {
	width: 100%;
	height: 100%;
	display: block;
}

.et_pb_gallery_image.landscape img {
	width: inherit;
	height: inherit;
	object-fit: cover;
	object-position: bottom;
}

.landing-gallery .et_pb_gallery_items {
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.landing-gallery .et_pb_gallery_items .et_pb_gallery_item {
	margin: 0 !important;
	padding: 0 !important;
	min-width: 25%;
	flex: 1 0 auto;
}

/* .gallery {
display: flex;
align-items: stretch;
justify-content: flex-start;
}

.gallery .gallery-item a {
width: 100%;
display: block;
}

.gallery .gallery-item a img {
width: inherit;
height: inherit;
object-fit: cover;
object-position: center;
aspect-ratio: 3 / 2  !important;
}
*/
.gallery {
	margin: 0 -10px !important;
	display: flex !important;
	flex-wrap: wrap;
}

.gallery br {
	display: none !important;
}

.gallery-item {
	float: none !important;
	flex-grow: 1;
}

.gallery-item a {
	width: 100% !important;
	padding: 0 10px;
}

.gallery-item img {
	width: 100%;
	border: none !important;
	aspect-ratio: 1 / 1;
	transition: 0.3s;
	box-shadow: 1.5px 1.5px 5px 2px rgba(0, 0, 0, 0.1) !important;
	object-fit: cover;
	border-radius: 8px;
	overflow: hidden;
}

.gallery-item a:hover img {
	transform: scale(1.02);
}

@media only screen and (max-width: 767px) {
	.gallery-item {
		width: 50% !important;
	}

	.gallery-item a:hover img {
		transform: scale(1.01);
	}
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.333%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.666%;
}


/* LOGO SCROLLER */

.logos-slider {
	margin: 0 -10px;
}

.logos-slider .slick-dots {
	position: relative;
	bottom: -10px;
}

.logos-slider .slick-slide {
	padding: 10px;
}

.logos-slider .slick-slide .img {
	width: 100%;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	overflow: hidden;
}

.logos-slider .slick-slide .img img {
	height: 100%;
	width: auto;
	object-fit: contain;
}


/* PRODUCTS GRID */

.products-items {
	display: flex;
	align-items: stretch;
	justify-content: center;
	flex-wrap: wrap;
	gap: 50px;
}

.products-items .products-item {
	width: calc(33.333% - (100px / 3));
	background-color: #fff;
	border-radius: 12px;
	overflow: hidden;
	transition: transform 300ms ease 0ms, box-shadow 300ms ease 0ms;
	padding-bottom: 60px;
	position: relative;
}

.products-items .products-item:hover {
	transform: translateX(0px) translateY(-4px) !important;
}

.products-items .products-item .products-image {
	aspect-ratio: 3 / 2;
	width: 100%;
	z-index: 9;
	overflow: hidden;
	/* 	margin-bottom: 15px; */
}

.products-items .products-item .products-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.3s;
}

.products-items .products-item .products-logo {
	width: 60%;
	height: 74px;
	padding: 3px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #ef4030;
	position: relative;
	margin-top: -40px;
	margin-bottom: 15px;
	border-radius: 8px;
	overflow: hidden;
}

.products-items .products-item .products-logo img {
	height: auto;
	width: auto;
	max-width: 100%;
	max-height: 100%;
}

.products-items .products-item .products-description {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	z-index: 99;
	position: relative;
	transition: 0.3s;
	padding: 0 20px 20px;
}

/* .products-items .products-item .products-description .et_pb_button {
width: 100% !important;
} */

.products-items .products-item .products-description h3 {
	font-weight: 700;
	font-size: 24px;
	margin: 0;
	padding: 0;
}

.products-items .products-item > .et_pb_button {
	position: absolute;
	bottom: 20px;
	left: 20px;
	right: 20px;
	width: calc(100% - 40px);
}

@media only screen and (max-width: 980px) {
	.products-items {
		gap: 40px;
	}

	.products-items .products-item {
		width: calc(50% - 20px);
	}
}


@media only screen and (max-width: 767px) {
	.products-items .products-item {
		width: 100%;
	}
}

/* DOCUMENTS */

.doc-items {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	justify-content: flex-start;
	margin: 0 -1%;
}

.doc-items a {
	width: 23%;
	margin-left: 1%;
	margin-right: 1%;
	margin-bottom: 26px;
	display: inline-block;
	min-height: 180px;
	border: 2px solid #f5f5f5;
	background: #f5f5f5;
	padding: 20px 15px;
	border-radius: 12px;
	transition: all 0.5s ease;
	overflow: hidden;
	box-shadow: 1.5px 1.5px 5px 2px rgba(0, 0, 0, 0);
	display: flex;
	align-items: flex-start;
	/* 	justify-content: space-between; */
	flex-direction: column;
	/* 	text-align: center; */
}

.doc-items a:hover {
	background: #f5f5f5;
	transition: all 0.5s ease;
	/* 	transform: translate(0px, -5px); */
	box-shadow: 1.5px 1.5px 5px 2px rgba(0, 0, 0, 0.1);
}

.doc-items a .pdf-preview-container {
	width: 100%;
	aspect-ratio: auto 476 / 673;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.doc-items a .pdf-preview-container img.crendon-logo {
	width: 100%;
	height: auto;
	object-fit: contain;
	padding: 20px;
}

.doc-items a .pdf-canvas {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 8px;
	overflow: hidden;
}

.doc-items a .doc-title {
	font-size: 16px;
	font-weight: 700;
	color: #333;
	padding-top: 10px;
}

@media only screen and (max-width: 1080px) {
	.doc-items a {
		width: 31.333%;
	}
}

@media only screen and (max-width: 767px) {
	.doc-items a {
		width: 48%;
	}

	.doc-items a .doc-title {
		font-size: 14px;
	}
}


/* CASE STUDIES */

.case-study-items {
	gap: 50px;
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.case-study-items .case-study-item {
	width: calc(33.333% - (100px / 3));
	background-color: #fff;
	border-radius: 12px;
	overflow: hidden;
	padding: 0 0 61px;
	position: relative;
	flex: 1 1 auto;
}

.case-study-items.column-2 .case-study-item {
	width: calc(50% - (100px / 2));
}

.case-study-items .case-study-item .case-study-image {
	display: flex;
	align-items: center;
	overflow: hidden;
	background: url('/wp-content/uploads/2022/06/Crendon-Logo-White.svg') no-repeat center;
	background-size: 50%;
	background-color: #EF4030;
}

.case-study-items .case-study-item .case-study-image img {
	width: 100%;
	object-fit: cover;
	aspect-ratio: 3/2;
	transition: 0.3s;
}

.case-study-items .case-study-item:hover .case-study-image img {
	transform: scale(103%);
}

.case-study-items .case-study-item .case-study-date {
	margin-top: 10px;
	font-size: 14px;
	color: #9A9A9A;
}

.case-study-items .case-study-item .case-study-title {
	/* 	margin: 5px 0 10px; */
}

.case-study-items .case-study-item .case-study-title span {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	color: #EF4030;
	/* 	padding-bottom: 0;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2; */
}

.case-study-items .case-study-item .case-study-text {
	padding: 20px;
	position: relative;
}

.case-study-items .case-study-item .case-study-text p {
	font-weight: 400;
	line-height: 1.4;
	color: #333;
}

.case-study-items .case-study-item button {
	width: calc(100% - 40px);
	position: absolute;
	bottom: 20px;
	left: 20px;
	right: 20px;
}

@media only screen and (max-width: 1024px) {
	.case-study-items {
		gap: 40px;
	}

	.case-study-items .case-study-item {
		width: calc(50% - 20px);
	}
}

@media only screen and (max-width: 767px) {
	.case-study-items .case-study-item {
		width: 100%;
	}
}

.case-study-gallery {
	margin: 0 -1%;
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.case-study-gallery a {
	width: 31.3%;
	margin: 1%;
	aspect-ratio: 1 / 1;
	border-radius: 12px;
	overflow: hidden;
}

.case-study-gallery a img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

@media only screen and (max-width: 767px) {
	.case-study-gallery a {
		width: 48%;
	}
}

/* Template Images */

.post-template-default .post-content img,
.news-template-default .news-content img,
.case_study-template-default .case-study-content img {
	border-radius: 12px;
	width: 100%;
	box-shadow: 1.5px 1.5px 5px 2px rgba(0, 0, 0, 0.1);
}

/* NEWS */

.news-items {
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 40px;
}

.news-block {
	display: block;
	width: calc((100% / 4) - 30px);
	background: #fff;
	border: 1px solid #eaeaea;
	border-radius: 10px !important;
	transition: all 0.5s ease;
}

.news-block:hover {
	transition: all 0.5s ease;
	transform: translate(0px, -5px);
	box-shadow: 1.5px 1.5px 5px 2px rgba(0, 0, 0, 0.1);
}

.news-block .news-image {
	overflow: hidden;
	border-radius: 10px 10px 0px 0px;
	background-color: #e43824;
	aspect-ratio: 4/3;
	display: flex;
	align-items: center;
	justify-content: center;
}

.news-block .news-image img {
	object-fit: contain;
	height: 100%;
	width: 100%;
}

.news-block .news-content {
	padding: 20px;
}

.news-block .news-title {
	font-size: 18px;
	line-height: 1.3;
	font-weight: 700;
}

.news-block .news-meta {
	font-size: 14px;
	color: #a5a5a5;
	padding-bottom: 10px;
	margin-bottom: 0px;
}


.pagination {
	margin: 30px 0;
	text-align: center;
}

.pagination a,
.pagination span {
	display: inline-block;
	margin: 0 5px;
	padding: 8px 14px;
	border: 1px solid #e43824;
	border-radius: 4px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	color: #e43824;
	transition: all 0.3s ease;
}

.pagination .current {
	background-color: #e43824;
	color: #fff;
}

.pagination a:hover {
	background-color: #e43824;
	color: #fff;
}


@media only screen and (max-width: 1600px) {
	.news-items {
		gap: 30px;
	}

	.news-block {
		width: calc((100% / 3) - 20px);
	}
}

@media only screen and (max-width: 1200px) {
	.news-items {
		gap: 30px;
	}

	.news-block {
		width: calc((100% / 2) - 15px);
	}
}

@media only screen and (max-width: 800px) {
	.news-block {
		width: 100%;
		margin-right: 0;
		margin-bottom: 20px;
	}

	.news-block .news-content {
		padding: 20px;
		height: auto;
	}

	.pagination a,
	.pagination span {
		margin: 0 2px;
		padding: 8px 9px;
		font-size: 12px;
	}
}


/* SLICK SLIDER */

.slick-slider {
	padding: 0 35px;
}

.slick-slider .slick-arrow {
	height: 30px;
	width: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	z-index: 99 !important;
	top: calc(50% - 15px);
	cursor: pointer;
	background-color: #e43824;
	border-radius: 100%;
	border: 2px solid #fff;
}

.slick-slider .slick-arrow i {
	color: #ffcc00 !important;
	font-size: 16px;
}

.slick-slider .slick-arrow:first-child {
	left: 0;
}

.slick-slider .slick-arrow:last-child {
	right: 0;
}

.slick-dotted.slick-slider {
	margin: 0 !important;
	padding: 0 0 40px;
}

.slick-dotted.slick-slider .slick-dots {
	/* 	position: relative; */
	padding: 0;
	bottom: 0;
}

/* HERO SLIDER */

.hero-slider.slick-slider {
	padding-top: 0px;
}

.hero-slider.slick-slider .slick-arrow {
	top: 0;
}

.home-scrollers .et_pb_column {
	overflow: visible !important;
}

.home-scrollers .et_pb_column>div.et_pb_code,
.home-scrollers .et_pb_column>div.et_pb_code>div.et_pb_code_inner {
	height: 100%;
}

.et-fb .testimonial-slider .slide:not(:first-child),
.et-fb .otif-slider .slide:not(:first-child),
.et-fb .news-slider .slide:not(:first-child),
.et-fb .lead-time-slider .slide:not(:first-child) {
	display: none;
}

.otif-slider,
.news-slider,
.lead-time-slider {
	padding: 0;
	height: 100% !important;
}

.slider-title {
	width: 100%;
	text-align: center;
	border-bottom: 2px solid #ffcc00;
	margin-bottom: 15px;
	font-size: 30px;
}

.otif-slider .slick-arrow:first-child,
.news-slider .slick-arrow:first-child,
.lead-time-slider .slick-arrow:first-child {
	left: -38px;
	top: calc(50% + 10px);
}

.otif-slider .slick-arrow:last-child,
.news-slider .slick-arrow:last-child,
.lead-time-slider .slick-arrow:last-child {
	right: -38px;
	top: calc(50% + 10px);
}

.otif-slider .slick-list,
.news-slider .slick-list,
.lead-time-slider .slick-list {
	overflow: visible !important;
}

.news-slider>div.slick-list,
.news-slider>div.slick-list>div.slick-track {
	height: inherit;
}

/* LEAD TIME */

.lead-time-slider .lead-logo {
	width: 100%;
	height: 100px;
	padding: 5px;
	border-radius: 12px;
	overflow: hidden;
	background-color: #ef4030;
	margin-bottom: 15px;
}

.lead-time-slider .lead-logo img {
	height: 100%;
	object-fit: contain;
}

/* OTIF ARCHIVE */

.otif-items {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 20px 0;
	margin: 0 -1%;
}

.otif-item {
	width: 18%;
	/* 	flex: 1 1 18%; */
	margin: 0 1%;
	display: flex;
	justify-content: flex-start;
	background-color: #f5f5f5;
	border-radius: 6px;
	overflow: hidden;
}

.otif-percentage {
	width: 70px;
	background-color: #ef4030;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	display: flex;
	align-items: center;
	padding: 8px 7px;
	justify-content: center;
}

.otif-title {
	width: calc(100% - 70px);
	font-size: 15px;
	color: #333;
	font-weight: 400;
	text-align: center;
	padding: 8px 7px;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media only screen and (max-width: 1170px) {
	.otif-items {
		gap: 15px;
	}

	.otif-item {
		width: calc(33% - 10px);
	}

	.otif-title {
		font-size: 18px;
		margin-bottom: 10px;
	}
}

@media only screen and (max-width: 980px) {
	.otif-items {
		gap: 20px;
	}

	.otif-item {
		width: calc(50% - 10px);
	}
}

@media only screen and (max-width: 767px) {
	.otif-item {
		width: 100%;
	}
}

/* BRANCHES */

.branches-items {
	display: flex;
	align-items: stretch;
	justify-content: center;
	flex-wrap: wrap;
	gap: 50px;
}

.branches-items .branch-item {
	width: calc(50% - 25px);
	background-color: #fff;
	border-radius: 12px;
	overflow: hidden;
	transition: transform 300ms ease 0ms, box-shadow 300ms ease 0ms;
	flex: 1 1 auto;
}

.branches-items .branch-item .branch-image {
	width: 44%;
}

.branches-items .branch-item .branch-description {
	width: 54%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}

.branches-items .branch-item .branch-description p span {
	color: #e43824
}

.branches-items .branch-item .et_pb_button {
	width: 49%;
	text-align: center;
	font-weight: 700;
}

.branches-items .branch-item:hover {
	transform: translateX(0px) translateY(-4px) !important;
}

.branches-items .branch-item .branch-image {
	aspect-ratio: 1;
	z-index: 9;
	overflow: hidden;
	border-radius: 12px;
	margin: 0 !important;
}

.branches-items .branch-item .branch-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.3s;
}

@media only screen and (max-width: 1180px) {
	.branches-items .branch-item .branch-image {
		width: 30%;
	}
	.branches-items .branch-item .branch-description {
		width: 68%;
	}
	.branches-items .branch-item .branch-row-2 {
		gap: 15px;
	}
	.branches-items .branch-item .branch-row-2 .et_pb_button {
		width: 100%;
	}
}

@media only screen and (max-width: 979px) {
	.branches-items {
		gap: 30px;
	}
	.branches-items .branch-item {
		width: 100%;
	}
	.branches-items .branch-item .branch-description {
		width: 100%;
	}
	.branches-items .branch-item .branch-image {
		display: none;
	}
}

.branches-items .branch-item .ttj-block {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	height: 100%;
	padding: 15px;
}

.branches-items .branch-item .ttj-block img {
	max-height: 240px;
}

.branches-items .branch-item .ttj-block .et_pb_button {
	width: 100% !important;
	max-width: 550px;
}

/* TESTIMONIALS */

.testimonial-items {
	display: flex;
	/* 		flex-direction: column; */
	row-gap: 30px;
	flex-wrap: wrap;
	margin: 0 -1%;
}

.testimonial-items .testimonial-block {
	width: 48%;
	margin: 0 1%;
	padding: 15px;
	background-color: #f5f5f5;
	transition: all 0.5s;
	border-radius: 12px;
	flex: 1 1 auto;
}

.testimonial-items .testimonial-block p {
	font-size: 18px;
	line-height: 1.4em;
}

.testimonial-items .testimonial-content p {
	/* 		font-size: 22px !important; */
	line-height: 1.4em !important;
}

.testimonial-items .testimonial-name {
	font-weight: 700;
	color: #e43824;
	padding: 10px 0 0;
}

@media only screen and (max-width: 700px) {
	.testimonial-items .test-block p {
		font-size: 18px !important;
		line-height: 1.2em !important;
	}
}

/* Contacts Map */

.imp-tooltip {
	box-shadow: 1.5px 1.5px 5px 2px rgba(0, 0, 0, 0.2) !important;
	border: 1px solid #f5f5f5;
}

body.page .imp-tooltips-container.is-fullscreen .imp-fullscreen-tooltip .imp-tooltip-content a.button,
.imp-tooltip .imp-tooltip-content a.button {
	width: 100% !important;
	display: block !important;
	transition: 0.3s;
}

.imp-tooltip .imp-tooltip-content a.button:hover {
	filter: brightness(110%);
}

body.page .imp-tooltips-container.is-fullscreen .imp-fullscreen-tooltip .imp-tooltip-content {
	pointer-events: all !important;
	max-width: 330px;
}

body.page .imp-tooltips-container.is-fullscreen .imp-fullscreen-tooltip .imp-tooltip-content img {
	max-width: 300px;
	align-self: center;
}


/* SEARCH */

.custom-search-scope .search-result-item {
	border: none !important;
}
/* .custom-search-scope .pagination a, 
.custom-search-scope .pagination span {
font-weight: 700 !important;
} */

.custom-search-scope .pagination a:hover {
	color: #fff !important;
	background-color: #ef4030 !important;
}