:root {
    --h-padding-margin: 1.5%;
    --thin-padding-margin: 2.5%;
    --hover: #aaa;
    --dark-color: #333;
    --borderRadius: 30px;
}

/*body*/
#sp-main-body {
    padding: 0 0 30px 0px;
}

.article-details .article-ratings-social-share.d-flex {
    padding: 0;
    margin: 0;
}

body .article-ratings-social-share {
    display: none !important;
}

.row {
    align-items: center;
}

.button, .readmore a  {
    display: block;
    font-size: 1.5em;
    padding: 10px 30px;
    color: white !important;
    background-color: coral;
    margin: 50px auto;
    border: 1px solid var(--dark-color);
    border-radius: var(--borderRadius);
    transition: cubic-bezier(0.785, 0.135, 0.15, 0.86);
    text-align: center;
    width: 50%;
}

.button:hover, .readmore a:hover {
    background-color: var(--dark-color);
    border-color: coral;
}


/*header*/
#sp-top-bar a {
    color: white
}

#sp-top-bar a:hover {
    color: var(--hover);
}

/*section */
.section h1,
.section h2,
.section h3 {
    text-align: center;
    margin: 30px 0;
}

.section p {
    text-align: center;

}

.section li, .footer ul{
    list-style-type: none;
}


.section {
    padding: var(--thin-padding-margin) 0;
}

/*main-intro*/

.main-intro p {
    font-size: 25px;
}

/*banner-img*/
.banner {
    position: relative;
    padding: 0;
}
.section+.banner {
    padding: 0;
}

.banner-img {
    width: 100%;
    height: auto;
}


.banner-content {
    background-color: rgba(253, 250, 250, 0.614);
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translate(0, -50%);
    width: 50%;
    padding: var(--h-padding-margin);
    border-radius: var(--borderRadius);
    box-shadow: 1px 1px 24px 0px var(--dark-color);
}

.main-intro .banner:nth-child(odd) .banner-content {
    right: unset;
    left: 5%;
}
 .main-intro .section:first-child{
    padding: 0 0 30px 0;
}

/* .banner-space {
    width: 100%;
}
 */
/*goals*/
.goals .row {
    justify-content: center;
}

/*tile*/

.tile {
    width: 20%;
    height: 300px;
    padding: 10px;
    border-radius: var(--borderRadius);
    margin: 50px 20px;
    text-align: justify;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 1px 1px 24px 0px var(--dark-color);
}

.service .tile{
    height: 350px;
    width: 30%;
}


/*testimonial*/
.testimonial,
.owl-carousel,
.reviews-block__slide,
.reviews-block__text,
.reviews-block__person-role {
    color: white;
    background: var(--dark-color);
    font-family: lato, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}




/*Form*/
.formContainer {
    width: 800px;
    margin: 0 auto;
}

.rsform-input-box,
.rsform-text-box,
.rsform-select-box{
    border: 1px solid var(--dark-color);
}

.contactPage .container {
    padding: var(--h-padding-margin) 0;
}

.contactPage .form {
    background: var(--dark-color);
    color: beige;
}

input[type="text"]:not(.form-control),
.rsform-captcha-box {
    border: 1px solid var(--dark-color);
}



.rsform-submit-button {
    background-color: darkcyan;

}

/* services and service */


.services .banner-content,
.service .banner-content {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.services .section,
.service .section {
    position: relative;
    text-align: center;
}


.services .section:first-child {
    display: block;
}

.services .row:nth-child(even) {
    flex-direction: row-reverse;
}

.service .backgr-img {
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
}

.service .testimonials {
    background-color: #333;
    color: white;
}



/* kitchens*/

/*kitchen*/
.kitchen .backgr-img {
    background-image: url('/images/Ilustration/kitchen-fitter-mitcham.webp');
}

.kitchen-form {
    margin: 5% 0;
}

/*carpentry*/
.carpentry .backgr-img {
    background-image: url('/images/Ilustration/carpentry-services-london.webp');

}

/* windows-floor*/
.windows-doors .backgr-img {
    background-image: url('/images/Ilustration/windows-doors-fitter-in-surrey.webp')
}

/*floor*/
.floors .backgr-img {
    background-image: url('/images/Ilustration/wooden-floor-surrey.jpg');
}




/*footer*/


/*joinery*/
.joinery .backgr-img {
    background-image: url('/images/Ilustration/Houes-extensions.webp');
}

.footer ul {
    columns: 3;
}

.footer .address{
    font-size: 19px;
}


/*BLOG*/
.BLOG .BLOG {width: 80%;
margin: auto;}

.BLOG .BLOG .row:nth-child(odd) {
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
}



@media screen and (max-width: 768px) {
    body {
        text-align: justify;
        font-size: 14px;
    }

    .button {
        width: 100%;
    }

    h1 {
        font-size: 19px;
    }
h2{font-size: 17px;}
h3{font-size: 15px;}
h4{font-size: 16px;}
    .section p,
    .section h4 {
        width: 90%;
        margin: 0 auto;
    }

    .button{
        font-size: 1.25rem;
    }
.main-intro p{
    font-size: unset;
}
    .section+.contact, .section .contact {
        width: 90%;
        margin: 0 auto;
    }

    .formContainer {
        width: unset;
    }

    .section h3 {
        margin: 20px 0;
    }


    .banner-content {
        position: static;
        width: 100%;
        padding: 20px 5px;
        border-radius: unset;
        transform: unset;
        box-shadow: unset;
    }

    .tile, .service .tile {
        width: 80%;
        height: auto;
        margin: 20px 10px;
    }


    .service .row{
        height: auto;
justify-content: center;    }
    

    .services .banner-content,
    .service .banner-content {
        transform: unset;
    }

    .section ul {
        text-align: start;
    }

    .footer ul {
        columns: 1;
    }
}