/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/





/* =========================
   CONTENITORE FORM
========================= */
.wpcf7-form {
    max-width: 100%;
    margin: 0 auto;
    font-family: sans-serif;
}

/* =========================
   GRID 2 COLONNE
========================= */
.wpcf7-form p {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0;
}

/* =========================
   RESET CF7
========================= */
.wpcf7-form br {
    display: none;
}

.wpcf7-form-control-wrap {
    width: 100%;
    display: block;
}

/* =========================
   TEXTAREA FULL WIDTH
========================= */
.wpcf7-form p span[data-name="messaggio"] {
    grid-column: span 2;
}

/* =========================
   BOTTONE FULL ROW
========================= */
.wpcf7-form p .form-send-button {
    grid-column: span 2;
    justify-self: end;
}

/* =========================
   INPUT / TEXTAREA / SELECT
   (ESCLUSI CHECKBOX, RADIO, SUBMIT)
========================= */
.wpcf7-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 18px 20px;
    border: 1px solid #5fa9b3;
    border-radius: 20px;
    font-size: 14px;
    color: #5fa9b3;
    background: transparent;
    outline: none;
    box-sizing: border-box;

    /* RESET STILI NATIVI */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* =========================
   PLACEHOLDER
========================= */
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #5fa9b3;
    opacity: 1;
}

/* =========================
   TEXTAREA
========================= */
.wpcf7-form textarea {
    border-radius: 30px;
    height: 180px;
    resize: none;
    margin-top: 20px;
}

/* =========================
   SELECT CUSTOM
========================= */
.wpcf7-form select {
    cursor: pointer;
    padding-right: 50px;
    text-transform: uppercase;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235fa9b3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px;
}

/* =========================
   FOCUS
========================= */
.wpcf7-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    border-color: #3b8e99;
}

/* =========================
   CHECKBOX
========================= */
.wpcf7-form input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    accent-color: #5fa9b3;
    cursor: pointer;
}

.wpcf7-form .wpcf7-checkbox {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.wpcf7-form .wpcf7-list-item {
    margin: 0;
}

.wpcf7-form .wpcf7-list-item-label {
    color: #5fa9b3;
    font-size: 14px;
}

/* =========================
   RADIO
========================= */
.wpcf7-form input[type="radio"] {
    accent-color: #5fa9b3;
    margin-right: 8px;
    cursor: pointer;
}

/* =========================
   BOTTONE SUBMIT
========================= */
.form-send-button {
    width: unset !important;
    padding: 12px 65px !important;
    border-radius: 20px !important;
    border: 2px solid #5fa9b3 !important;
    background: transparent !important;
    color: #5fa9b3 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

/* HOVER */
.form-send-button:hover {
    background: #5fa9b3 !important;
    color: #fff !important;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

    /* 1 COLONNA */
    .wpcf7-form p {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* RESET GRID SPAN */
    .wpcf7-form p span[data-name="messaggio"],
    .wpcf7-form p .form-send-button {
        grid-column: span 1;
    }

    /* INPUT MOBILE */
    .wpcf7-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
    .wpcf7-form textarea,
    .wpcf7-form select {
        padding: 14px 16px;
        font-size: 15px;
    }

    /* TEXTAREA */
    .wpcf7-form textarea {
        height: 160px;
        margin-top: 0;
    }

    /* BOTTONE */
    .form-send-button {
        width: 100% !important;
        max-width: 300px;
        justify-self: center !important;
    }
}
#footer-main .footer-contact-info p a{
    color: #3B8794 !important;
}

#footer-main .footer-contact-info p a:hover{
    color: #2e666b !important;
}