/* currently no rules here, the following rule is just there so the minifier won't choke on an empty result */
/* .page-home #middle{	margin-top: 0;} */
/*.page-home #middle {	margin-top: 0;	margin-bottom: 0;}*/
/* .page-home h1 {	text-align: center;	font-size: 2.4rem;	margin: 2rem auto;} */
/* .page-home h2 {	text-align: center;	font-size: 2rem;	margin: 2rem auto;} */

#content .half-width, #content .inset-width, #content .standard-width, #content .full-width {
    margin: 0 auto;
}

h1 {
    font-size: 3.3rem;
    font-weight: 700;
    line-height: normal;
}

h2 {
    font-size: 3rem;
    font-weight: 700;
}

h3 {
    font-size: 2.7rem;
    font-weight: 600;
}


p, li {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.8rem;
}

/* Contact form */
body {
    overflow-x: hidden;
}

#middle {
    position: unset;
    padding-bottom: 0;
}

@media only screen and (min-width: 1185px) {
    #banner_gallery_0.jsGallery img
    {
        height: auto;
        min-height: 675px;
        object-fit: cover;
    }
}

.homepage-contact-form-wrapper {
    width: 100%;
    margin: 0 auto;
    position: absolute;
    z-index: 1;
    top: 280px;
    left: 50%;
    transform: translate(-50%);

    display: flex;
    justify-content: flex-end;
    padding: 0;
}

#homepage-contact-form {
    max-width: 500px;
    width: 100%;
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    margin-right: 30px;
}

#homepage-contact-form input,
#homepage-contact-form select {
    border-radius: 10px;
    padding: 10px 30px;
    font-size: 1.2rem;
}

#homepage-contact-form form.cms-form #form-bottom {
    display: block;
}

#homepage-contact-form button {
    text-align: left;
}

#homepage-contact-form #personal_data_disclaimer {
    display: none;
}

#homepage-contact-form .title {
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    line-height: normal;
}

@media only screen and (max-width: 1185px) {
   .homepage-contact-form-wrapper {
        position: unset;
        top: unset;
        left: unset;
        transform: unset;
    }

    #homepage-contact-form
    {
        margin: 0 auto;
    }
}

/* Contact form end */


/* logos-bar start */

.logos-bar {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    align-items: center;
    justify-content: space-around;
    background: #f4f4f4;
    padding: 30px;
    margin: 45px 0;
    border-radius: 10px;
}

@media only screen and (max-width: 1024px) {
    .logos-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 450px) {
    .logos-bar {
        grid-template-columns: repeat(1, 1fr);
    }
}

.professional-heating {
    background-color: var(--brand-blue);
    padding: 120px 0 160px;
}

.professional-heating h2,
.professional-heating p {
    color: white;
}

.professional-heating h2 {
    max-width: 650px;
}



/* boxes section start*/

.four-boxes {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.four-boxes {
    justify-content: center;
    margin-top: 90px;
}

#box {
    max-width: 400px;
    min-width: 30%;
    width: 100%;
    line-height: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid white;
    border-radius: 20px;
    overflow: hidden;
}

.four-boxes #box {
    max-width: 400px;
    min-width: 20%;
    width: 100%;
}

#box .text-area {
    padding: 30px;
    height: 100%;
}

#box .text-area {
    background-color: var(--brand-blue);
}

#box .text-area p {
    margin-bottom: 20px;
}

#box .image-area img {
    width: 100%;
}

#box .text-and-button {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

#box .header {
    font-weight: 600;
    font-size: 1.5rem;
}

#box .text p {
    font-size: 1.1rem;
    font-weight: 200;
    line-height: 1.8rem;
    margin: 0;
}

#box .button .cms-button-a {
    padding: 1.5rem 2rem;
}

@media only screen and (max-width:1200px) {

    .four-boxes {
        flex-wrap: wrap;
    }
    
}


/* boxes section end*/


#plumbing-emergency-banner {
    display: flex;
    align-items: center;
    background-color: var(--brand-a);
    border-radius: 20px;
    gap: 5vw;
    justify-content: flex-end;

    max-width: var(--standard-width);
    width: 100%;
    margin: 0 auto;

    margin-top: -200px;

    text-align: left;
}

#plumbing-emergency-banner h2 {
    color: var(--brand-blue);
}

#plumbing-emergency-banner .header p {
    padding: 20px;
    max-width: 550px;
    margin: 0;
    font-size: 3rem;
    font-weight: 700;
    line-height: normal;
    color: var(--brand-blue);
}

#plumbing-emergency-banner .image {
    min-width: 250px;
}

#plumbing-emergency-banner .image img {
    width: 100%;
}

#plumbing-emergency-banner .cms-button-a.blue {
    font-size: 1.5rem;
    padding: 2rem;
}

@media only screen and (max-width:1200px) {

   #plumbing-emergency-banner {
        gap: 20px;
    }

    #plumbing-emergency-banner .header p {
        font-size: 2.5rem;
    }
    
}

@media only screen and (max-width:1024px) {

    #plumbing-emergency-banner .header p {
        font-size: 1.8rem;
        line-height: 2.5rem;
    }

    #plumbing-emergency-banner .cms-button-a.blue {
        font-size: 1.3rem;
        padding: 1.5rem;
    }
    
}

@media only screen and (max-width:870px) {

     #plumbing-emergency-banner {
        padding: 20px;
    } 

    #plumbing-emergency-banner .image {
        display: none;
    }   
    
    #plumbing-emergency-banner .header p {
        text-align: center;
    }
}

@media only screen and (max-width:640px) {
     #plumbing-emergency-banner {
        flex-direction: column;
    } 
}


/* testimonials-section start */

.testimonials-wrapper {
    text-align: center;
}

.testimonials-wrapper {
    padding: 5rem 1rem 3rem;
    background: url(uploads/content/testimonials-bg.jpg) center no-repeat;
    background-size: cover;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
}

.cmsDebug .testimonials-wrapper {
    background-image: url(../../uploads/content/testimonials-bg.jpg);
}


.testimonials-section {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    padding: 30px;
    border: 1px solid rgb(192, 192, 192);
    border-radius: 10px;
    justify-content: space-around;
    position: relative;
    min-height: 350px;
    background-color: white;
}

.testimonials-section .img {
    position: absolute;
    left: 30px;
    top: 30px;
}

.testimonials-section .img-stars {
    position: absolute;
}

.testimonials-section .testimonials {
    margin-left: 75px;
    display: flex;
    align-items: center;
}

.testimonials-section .tagged-testimonial {
  background: transparent;
  color: black;
  text-align: right;
  font-size: 1rem;
  font-style: normal;
  padding: 10px;
  padding-top: 50px;
}

.testimonials-section .tagged-testimonial p {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 2rem;
}

.testimonials-section .testimonial-name {
  padding: 20px 20px 0 0;
  font-weight: 300;
  font-size: 1.4rem;
}

.testimonials-section a {
  font-size: 0.9rem;
}

.testimonials-section > div > p {
  margin: 0;
}

.testimonials-section a.left.carousel-control,
.testimonials-section a.right.carousel-control,
.testimonials-section ol.carousel-indicators {
    display: none;
}

.testimonials-section .col-sm-9 {
    margin: 0;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 1186px) {

    .testimonials-section {
        padding: 30px;
    }

    .testimonials-section .img {
        left: 30px;
        top: 30px;
    }
}

@media (max-width: 800px) {

    .testimonials-section .img,
    .testimonials-section .img-stars {
        position: unset;
    }


    .testimonials-section {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .testimonials-section .testimonials {
        margin-left: unset;
    }

    .testimonials-section .tagged-testimonial p {
        font-size: 1.2rem;
        line-height: 1.8rem;
    }
}

/* testimonials-section end */


@media only screen and (max-width: 1185px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 2rem;
    }

}
