/*
 Theme Name:  AHC
 Theme URI:    https://aquahomecare.co.uk
 Description:  Child Theme
 Author:       Mohamed Habib Mesbah
 Author URI: https://mesbah.art/
Template: Divi
Version: Updated for Divi 4
*/

/*****Add any custom CSS below this line*****/
* {
	-webkit-box-sizing: border-box;
    box-sizing: border-box;
	text-rendering: auto;
	text-rendering: optimizeSpeed;
	text-rendering: optimizeLegibility;
	text-rendering: geometricPrecision;
}

.preloader {
	position: fixed;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background-color: #fff;
   z-index: 100000;
   height: 100%;
   width: 100%;
   overflow: hidden !important;
} 

.preloader .sprite {
width: 96px;
height: 96px;
position: absolute;
left: 50%;
top: 50%;
margin: -48px 0 0 -48px;
background-image : url(../../uploads/2025/09/favicon.png);
	background-size: contain;
	background-repeat: no-repeat;
}

* {
	margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    word-wrap: break-word;
	font-smooth: auto;
}

::placeholder {
	opacity: 1;
}

input:focus::placeholder, textarea:focus::placeholder {
  opacity:0;
}

.service_blurb .et_pb_main_blurb_image {
	margin-bottom:1em;
	overflow: hidden;
}
.service_blurb .et_pb_main_blurb_image img {
	transform: scale(1);
	transition: all .4s ease-out;
}
.service_blurb:hover .et_pb_main_blurb_image img {
	transform: scale(1.12);
}
.service_blurb .et_pb_module_header {position: relative}
.service_blurb .et_pb_module_header:after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 6px;
	width: 60px;
	height: 3px;
	background-color: #6CE08D;
}

.info_blurb a {
	border: solid 1px white;
	color: white;
	background-color: #4CA9EE;
    padding: .4em .8em;
    border-radius: 1.2em;
    transition: all .3s ease-out;
}
.info_blurb a:hover {
	background-color: white;
	color: #4CA9EE;
}

.support_blurb .et_pb_blurb_container {
	display: table-cell;
	vertical-align: middle;
}

#aqua-testimonial .wpmtst-testimonial {
	border: none;
	position: relative;
}

#aqua-testimonial .testimonial-inner {
	border: none;
	background: linear-gradient(180deg, rgba(35, 136, 120,0) 23px, rgba(35, 136, 120,.9) 24px);
	border-radius: 0 0 20px 20px;
	padding-top: 72px;
	overflow: hidden;
}
#aqua-testimonial .testimonial-heading {display:none}
#aqua-testimonial .testimonial-name {
	color: #6CE08D;
	text-align: center;
}
#aqua-testimonial p {
	color: white;
	line-height: 1.5em;
	text-align: center;
	font-weight: 400;
}

#aqua-testimonial .wpmtst-testimonial:after {
	content:"";
	width: 48px;
	height: 48px;
	background: url(../../uploads/2025/09/dialog.svg) center no-repeat;
	background-size: cover;
	position: absolute;
	top: 0;
	left: calc(50% - 24px);
}

.et_pb_contact_field_options_title {
	color: #238878;
}
.et_contact_bottom_container {
	margin-top: 10px;
}

.et_pb_success_message {
	color: #238878;
	font-size: 18px;
}

.et_pb_g_recaptcha {
	justify-content: flex-start;
}

.google-maps {
        position: relative;
        padding-bottom: 56.25%; 
        height: 0;
        overflow: hidden;
    }
.full-google-maps {
        position: relative;
        padding-bottom: 50vh; 
        height: 0;
        overflow: hidden;
    }    
.google-maps iframe, .full-google-maps iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
    }

/*** BLOG ***/

@media all and (min-width: 981px) {
	.category-blog .entry-featured-image-url {
		width: 40%;
		float: left;
		margin-right: 30px;
	}
	.heateor_sss_sharing_container {
		margin-top: 2em;
	}
}