/*
Theme Name: Divi Child
Template: Divi
Text Domain: divi-child
*/

@font-face {
    font-family: 'glacial_indifferencebold';
    src: url('fonts/glacialindifference-bold-webfont.woff2') format('woff2'),
         url('fonts/glacialindifference-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'glacial_indifferenceregular';
    src: url('fonts/glacialindifference-regular-webfont.woff2') format('woff2'),
         url('fonts/glacialindifference-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

.gray-bg {
    background: #4f4f54;
    color: #fff;
    padding-top: 60px;
    padding-bottom: 60px;
    width: 100%;
}
.gray-bg h2, .green-bg h2 {
    color: #fff;
}
.green-bg {
    background: #62a141;
    color: #fff;
    padding-top: 60px;
    padding-bottom: 60px;
    width: 100%;
}
.lightgray-bg {
    background: #f7f7f7;
    padding-top: 60px;
    padding-bottom: 60px;
    width: 100%;
}
.cta-btn {
    background: transparent;
    transition: 0.25s ease all;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 5px;
    padding: 5px 20px;
}
.cta-btn:hover {
    background: #fff;
    transition: 0.25s ease all;
    color: #62a141;
    cursor: pointer;
}
.cta-btn-dark {
    background: transparent;
    transition: 0.25s ease all;
    color: #62a141;
    border: 2px solid #62a141;
    border-radius: 5px;
    padding: 5px 20px;
}
.cta-btn-dark:hover {
    background: #62a141;
    transition: 0.25s ease all;
    color: #fff;
    cursor: pointer;
}
#post-8 .et_pb_slide_description a:hover, #post-10 .et_pb_slide_description a:hover, #post-2029 .et_pb_slide_description a:hover {
    font-weight: bold !important;
}
.home-hero {
    width: 100%;
    padding-top: 75px;
    padding-bottom: 75px;
    background-size: cover;
    background-position: top right;
    background-repeat: no-repeat;
    color: #fff;
}
.home-hero p {
    color: #62a141;
    text-align: justify;
}
.custom-homepage {
    font-size: 22px;
    font-family: 'glacial_indifferenceregular', helvetica neue, sans-serif;
    color: #7e7575;
}
.custom-homepage h1, .custom-homepage h2, .custom-homepage h3, .custom-homepage h4 {
    font-family: 'glacial_indifferencebold', helvetica neue, sans-serif;
}
.custom-homepage h1 {
    font-size: 50px;
    color: #62a141;
}
.custom-homepage h2 {
    font-size: 40px;
}
.custom-homepage h3 {
    color: #4f4f54;
    font-size: 34px;
}
.custom-homepage h4 {
    font-size: 20px;
    color: #4f4f54;
}
.custom-homepage .lightgray-bg h3 {
    color: #62a141;
}
.cta-banner {
    color: #fff;
    padding-top: 60px;
    padding-bottom: 60px;
    text-align: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.cta-banner h2 {
    color: #fff;
}
.home-blog {
    -webkit-box-shadow: 0 0 25px 0 rgba(0,0,0,0.15);
    box-shadow: 0 0 25px 0 rgba(0,0,0,0.15);
    border-radius: 5px;
    height: 100%;
}
.blog-img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
    height: 150px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.blog-inner {
    padding: 15px 20px 1px;
}
.client-prev {
    width: 20px;
    height: 52px;
    background: url(img/arrow-left.png) no-repeat center center / cover;
    position: absolute;
    top: 35%;
    left: -30px;
    border: 0;
}
.client-next {
    width: 20px;
    height: 52px;
    background: url(img/arrow-right.png) no-repeat center center / cover;
    position: absolute;
    top: 35%;
    right: -30px;
    border: 0;
}
.client-prev:hover, .client-next:hover {
    cursor: pointer;
}
.slick-track, .slick-slide {
    align-items: center;
    display: flex;
}
.slick-slide {
    padding: 20px;
}
.et_header_style_left .logo_container {
    left: 0;
    padding-left: 30px;
    padding-right: 30px;
}
#et-secondary-nav {
    margin-bottom: 0 !important;
}
#et-info {
    padding-bottom: 0 !important;
}
@media screen and (max-width: 992px) {
    .home-hero {
        background-position: top left;
    }
}

/* =============================================================================
   Gravity Forms
   ============================================================================= */
.gform_wrapper{
    margin: 0 0 40px 0 !important;
}

.gform_heading, .gf-field-group{
    display: none;
}

.gfield--type-honeypot {
    display: none !important;
    visibility: hidden;
    position: absolute;
    left: -9000px;
}

.gform-flex .gform-field-label{
    display: none !important;
}

.mt-10{
    margin-top: 10px !important;
}

.gform_fields{
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

.gfield--type-address .gform-grid-row{
    row-gap: 10px !important;
}

.gfield_radio{
    row-gap: 20px !important;
}

.gform_wrapper select{
    padding: .375rem 2.25rem .375rem .75rem;
    -moz-padding-start: calc(0.75rem - 3px);
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.gform_wrapper input[type="file"]{
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.5rem !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* Style the "Choose File" button itself */
.gform_wrapper input[type="file"]::file-selector-button {
    padding: .375rem .75rem;
    margin: -.375rem .75rem -.375rem -.75rem;
    background-color: #e9ecef;
    border: 0;
    border-right: 1px solid #ced4da;
    border-radius: 0.5rem 0 0 0.5rem;
    color: #212529;
    cursor: pointer;
    transition: background-color .15s ease-in-out;
}

.gform_wrapper input[type="file"]::file-selector-button:hover {
    background-color: #d3d6d9;
}

.gform_fileupload_rules{
    font-size: 0.875rem;
    margin-top: 0 !important;
    color: #6c757d;
}

.gform_wrapper .gfield_label{
    font-size: 18px !important;
    margin-top: 10px;
}

.gform_wrapper.gravity-theme .gfield-choice-input{
    width: 24px !important;
    height: 24px !important;
    margin-right: 6px;
}

.gform_wrapper.gravity-theme .gfield_checkbox label, .gform_wrapper.gravity-theme .gfield_radio label{
    font-size: 18px !important;
}

.gform-flex .gform_fields{
    display: flex !important;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

@media screen and (width <= 991px) {
    .gform-flex .gform_fields{
        flex-direction: column;
    }
}

.gform_fields > div.gfield--type-html{
    flex: 1;
    width: 100%;
}

.gform_fields > div.gfield--type-html > div.gfield--type-html{
    display: none;
}

.gform_fields > div.gfield--type-html {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
}

/* Hide labels (form uses placeholders) */
.gform-flex .gform_wrapper .gfield_label {
    display: none;
}

/* Inputs & textareas */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="number"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="password"],
.gform_wrapper select,
.gform_wrapper textarea {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem !important;
    font-size: 18px !important;
    font-weight: 400;
    line-height: 1.5;
    color: #212529 !important;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #CCCCCC !important;
    border-radius: 0 !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    outline: none;
    font-family: inherit;
}

.gform_wrapper input[type="text"]:focus,
.gform_wrapper input[type="email"]:focus,
.gform_wrapper input[type="tel"]:focus,
.gform_wrapper input[type="number"]:focus,
.gform_wrapper input[type="url"]:focus,
.gform_wrapper input[type="password"]:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(0, 92, 185, 0.25);
}

.gform_wrapper textarea{
    height: 164px !important;
}

/* Field spacing */
.gform_wrapper .gfield {
    margin-bottom: 0rem;
}

.gform_wrapper .gfield:last-of-type {
    margin-bottom: 0;
}

/* Submit button — matches .btn.btn-outline-primary.text-uppercase.px-4 */
.gform_wrapper .gform_footer,
.gform_wrapper .gform_page_footer {
    justify-content: center;
    text-align: center !important;
    margin-top: 1rem;
    padding: 0;
}

.gform_wrapper .gform_button {
    display: inline-block;
    padding: 0.375rem 1.5rem;
    font-size: 18px !important;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    user-select: none;
    background-color: #64a046 !important;
    border: 1px solid #64a046 !important;
    border-radius: 4px !important;
    color: white !important;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    font-family: inherit;
}

.gform_wrapper .gform_button:hover {
    background-color: #64a046 !important;
    color: #fff !important;
}

/* Validation errors */
.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error textarea,
.gform_wrapper .gfield_error select {
    border-color: #dc3545 !important;
}

.gform_wrapper .validation_message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.gform_wrapper .gform_validation_errors {
    color: #dc3545;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.gform-theme--foundation .gform_fields{
    row-gap: 20px !important;
}

/* Confirmation message */
.gform_confirmation_message {
    color: #64a046;
    font-weight: 600;
}

/* Remove default GF chrome */
.gform_wrapper .gform_body,
.gform_wrapper ul.gform_fields {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

.gform_wrapper ul.gform_fields li:before {
    content: none !important;
}

.gf-captcha{
    height: 0 !important;
}

.newsletter-gf-form-divi-wrapper{
    background-color: #64a046 !important;
    padding: 24px !important;

    .form-title h3{
        color: white;
        font-size: 26px;
        font-weight: 400;
        text-align: center;
    }
}

.newsletter-gf-form_wrapper{
    margin: 0 !important;
}

.newsletter-gf-form{
    margin-bottom: 0 !important;

    .gform_button {
        color: #fff !important;
        background-color: transparent !important;
        border: 1px solid #fff !important;
    }

    input[type="email"],
    input[type="text"],
    .gfield textarea {
        color: rgb(153, 153, 153) !important;
        background-color: rgb(238, 238, 238) !important;
        font-size: 14px;
        padding: 16px;
    }

    .gform-footer .gform_footer .top_label{
        justify-content: end;
    }
}

/* =============================================================================
   End Gravity Forms
   ============================================================================= */
