/**
* Styling for the Contact Form Block
* Created By: RubicoTech (Philip Pradeep)
* @Package SBX Genesis Collection
*/
.module_in-touch {
    background-color: var(--teal-50);
}

.module_in-touch.contact_us {
    background-color: transparent;
}

.module_in-touch .grid-wrap {
    padding: var(--module-spacing) calc(var(--module-spacing) - 10px);
}

.module_in-touch.contact_us .grid-wrap {
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

.module_in-touch .col_desc p {
    margin-bottom: var(--text-spacing--l);
}

.module_in-touch .col_desc a {
    text-decoration: none;
    margin-top: var(--text-spacing--m);
    justify-content: flex-start;
}

.module_in-touch .col_desc a:hover {
    color: var(--dark-teal-100);
}

.module_in-touch .col_desc a > span,
.module_in-touch .col_desc .info_address > span {
    display: inline-block;
    margin-right: 20px;
}

.module_in-touch .col_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.module_in-touch .wpcf7-form {
    display: flex;
    flex-wrap: wrap;
}

.module_in-touch .wpcf7-form > * {
    width: 100%;
}

.module_in-touch .col_desc {
    grid-column: 1 / 13;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.module_in-touch.contact_us .col_desc {
    display: block;
    text-align: left;
}

.module_in-touch .col_form,
.module_in-touch .col_desc .contact_info {
    display: none;
}

.module_in-touch.contact_us .col_form,
.module_in-touch.contact_us .col_desc .contact_info {
    display: block;
}

.module_in-touch.contact_us .col_desc .btn-primary {
    display: none;
}

/* .module_in-touch .info_address {
	display: none;
} */
.module_in-touch .info_address {
    display: flex;
    align-items: flex-start;
}

.module_in-touch .info_address address {
    margin-bottom: 0;
    font-style: normal;
}

.module_in-touch .info_address img {
    max-width: initial;
}

.module_in-touch .col_form {
    margin-top: var(--module-spacing);
}

/* Media Breakpoints */
@media (min-width: 768px) {
    .module_in-touch .grid-wrap {
        padding: var(--module-spacing);
    }

    .module_in-touch .col_desc p {
        max-width: 515px;
    }

    .module_in-touch .col_form {
        grid-column: 1 / 13;
    }

    .module_in-touch .form_volunteer {
        display: flex;
        flex-wrap: wrap;
    }

    .module_in-touch .form_volunteer > p {
        width: 100%;
    }

    .module_in-touch .wpcf7-form > p:nth-of-type(1),
    .module_in-touch .wpcf7-form > p:nth-of-type(2),
    .module_in-touch .form_volunteer > p:nth-child(1),
    .module_in-touch .form_volunteer > p:nth-child(2),
    .module_in-touch .form_volunteer > p:nth-child(3),
    .module_in-touch .form_volunteer > p:nth-child(4) {
        width: 50%;
    }

    .module_in-touch .wpcf7-form > p:nth-of-type(1),
    .module_in-touch .form_volunteer > p:nth-child(1),
    .module_in-touch .form_volunteer > p:nth-child(3) {
        padding-right: 20px;
    }

    .module_in-touch .wpcf7-form > p:nth-of-type(2),
    .module_in-touch .form_volunteer > p:nth-child(2),
    .module_in-touch .form_volunteer > p:nth-child(4) {
        padding-left: 20px;
    }
}

@media (min-width: 1024px) {
    .module_in-touch .col_desc {
        grid-column: 1 / 5;
        grid-row: 1 / auto;
        display: block;
        text-align: left;
    }

    .module_in-touch .col_form {
        grid-column: 6 / 13;
        grid-row: 1 / auto;
        display: block;
        margin-top: 0;
    }

    .module_in-touch .col_desc p {
        max-width: initial;
    }

    .module_in-touch .col_desc .contact_info {
        display: block;
    }

    .module_in-touch .col_desc .btn-primary {
        display: none;
    }
}