/*
Theme Name: Divi Child
Theme URI: https://diviextended.com/
Version: 1.0
Description: Child Theme of Divi
Author: Divi Extended
Template: Divi
*/
@import url("../Divi/style.css");

/* General */
/* --------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
    margin-bottom: .5em;
}

h1 {
    font-size: 48px;
}

h2, .h2 {
    font-size: 36px;
}

h3, .h3 {
    font-size: 24px;
}

.et_pb_button {
    font-weight: 400;
}

.entry-featured-image-url,
.frame .et_pb_image_wrap {
    overflow: hidden;
}

.entry-featured-image-url:after,
.frame .et_pb_image_wrap:after {
    content: '';
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    position: absolute;
    top: 15px;
    left: 15px;
    border: 1px solid #fff;
}

.entry-featured-image-url img,
.frame .et_pb_image_wrap img {
    transition: all ease-in-out .2s;
}

.entry-featured-image-url:hover img,
.frame .et_pb_image_wrap:hover img {
    transform: scale(1.05);
}

.et_pb_equal_columns > .et_pb_column {
    margin-top: auto;
    margin-bottom: auto;
}

/* Header */
/* --------------------------------------------------------------------- */



/* Footer */
/* --------------------------------------------------------------------- */

#footer-bottom {
    background: linear-gradient(90deg, rgba(35, 75, 35, 1) 0%, rgba(145, 165, 145, 1) 100%);
}

#footer-widgets {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-widget {
    text-align: center;
}

#footer-widgets .et_pb_widget {
    float: none;
}

#footer-info {
    width: 100%;
    text-align: center;
}

/* Image back shade */
.ibs {
    display: inline-block;
    position: relative;
    font-size: 0;
}

.ibs img,
.ibs:after {
    border-radius: 8px;
    transition: all ease-in-out .2s;
}

.ibs img {
    position: relative;
    z-index: 2;
}

.ibs:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(35, 75, 35, 1) 0%, rgba(145, 165, 145, 1) 100%);
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
}

.ibs:hover img {
    transform: translate(10px, 10px);
}

.ibs:hover:after {
    transform: translate(-10px, -10px);
}

/* Top-bottom shade */
.tbs {
    position: relative;
}

.tbs:after {
    content: '';
    position: absolute;
    z-index: 0;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0) 90%, rgba(255, 255, 255, 1) 100%);
}

.tbs > .container {
    z-index: 2;
}


/* Home */
/* --------------------------------------------------------------------- */

.slogan p {
    font-size: 28px;
    line-height: 1.5;
    color: #fff;
}

/* Blog */
/* --------------------------------------------------------------------- */

.et_pb_blog_grid .et_pb_post {
    border: none;
    padding: 0;
    background-color: transparent;
}

.et_pb_blog_grid .et_pb_image_container {
    margin: 0 0 30px;
}

.et_pb_blog_slider .post-content-inner,
.et_pb_blog_grid .post-content-inner {
    margin-bottom: 5.82%;
}

.et_pb_blog_grid h2 {
    font-size: 24px;
}

.et_pb_blog_slider .et_pb_post {
    width: 30.333%;
    margin-left: 1.5%;
    margin-right: 1.5%;
}

/* Contact */
/* --------------------------------------------------------------------- */

p.et_pb_contact_field {
    padding: 0 0 0 4%;
    margin-bottom: 4%;
}

p.et_pb_contact_field br {
    display: none;
}

.et_contact_bottom_container {
    float: none;
    justify-content: center;
    padding-left: 3%;
    margin: 0;
}

.et_pb_contact p input,
.et_pb_contact p textarea {
    padding: 12px;
    border: 1px solid #444;
    background: #fff;
    color: #444;
}

.et_pb_contact p input:focus,
.et_pb_contact p textarea:focus {
    border: 1px solid #234B23;
    background: #FFF7EB;
    color: #234B23;
}

.et_button_no_icon .et_pb_contact_submit {
    padding: 10px 30px !important;
    background: #234B23 !important;
    color: #fff !important;
}

.et_button_no_icon .et_pb_contact_submit:hover {
    padding: 10px 30px !important;
    background: #000 !important;
}

.wpcf7-response-output {
    text-align: center;
}

/* Responsive */
/* --------------------------------------------------------------------- */

@media (min-width: 981px) {
    .et_pb_gutters3 .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3,
    .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3 {
        width: 30.667%;
        margin-right: 4%;
    }

    .footer-widget p {
        text-align: left;
    }

    .slogan p {
        font-size: 48px;
    }

    #home-menu .et_pb_menu__menu,
    #home-menu .et-menu-nav {
        width: 100%;
    }

    #menu-home-menu {
        width: 100%;
        justify-content: space-evenly;
        margin: 0;
    }
}

@media (max-width: 980px) {
    .reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }

    h1 {
        font-size: 36px;
    }

    h2, .h2 {
        font-size: 28px;
    }

    h3, .h3 {
        font-size: 22px;
    }
}
