/**
 * Theme Name: Sarah Zambello
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* MENU */
div[data-sticky="slide"] #header-menu-1,
div[data-sticky="slide"] #header-menu-2,
div[data-sticky="slide"] .ct-header-socials,
div[data-sticky="slide"] .ct-header-text,
div[data-sticky="slide"] .site-branding {
	visibility:hidden;
}

/* CF7 */
.wpcf7 .wpcf7-spinner {
    display: block;
    margin: 10px auto 20px;
    text-align: center;
}
@media (min-width: 999.99px) {
    .wpcf7 .wpcf7-form {
        display: grid;
        grid-template-columns: auto auto;
        row-gap: 20px;
        column-gap: 40px;
    }
}
.wpcf7 .wpcf7-form label {
	font-weight:normal!important;
}
.wpcf7 .wpcf7-submit  {
    float: none!important;
}
.wpcf7 .wpcf7-form a {
    background-color: inherit!important;
    color: inherit!important;
    padding: inherit!important;
}
.wpcf7 .wpcf7-file {
    margin-top: 10px!important;
}
input[type="file"]::file-selector-button {
    border: var(--theme-button-border);
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--theme-button-min-height);
    padding: var(--theme-button-padding);
    background-color: var(--theme-button-background-initial-color);    
    transition: all .12s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    color: var(--theme-button-text-initial-color);   
    text-transform: uppercase;
}
input[type="file"]::file-selector-button:hover {
    color: var(--theme-button-text-hover-color);
    border-color: var(--theme-button-border-hover-color);
    background-color: var(--theme-button-background-hover-color);
    cursor: pointer;
}
div.wpcf7-response-output {
    grid-column: span 2;
}
.wpcf7 form .wpcf7-response-output {
    margin: 2em 0.5em 1em;
    padding: 0.2em 1em;
    border: 2px solid var(--theme-palette-color-3);
}
 
.wpcf7 form.init .wpcf7-response-output {
    display: none;
}
 
.wpcf7 form.sent .wpcf7-response-output {
    border-color: var(--theme-palette-color-3);
}
 
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    border-color: var(--theme-palette-color-3);
}
 
.wpcf7 form.spam .wpcf7-response-output {
    border-color: var(--theme-palette-color-3);
}
 
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: var(--theme-palette-color-3);
}

/* FORM CONTATTI GENERICO */
@media (min-width: 999.99px) {
    #cf7-contact p:nth-of-type(5),
    #cf7-contact p:nth-of-type(6),
    #cf7-contact p:nth-of-type(7),
    #cf7-contact p:nth-of-type(8),
    #cf7-contact p:nth-of-type(9),
    #cf7-contact p:nth-of-type(10),
    #cf7-contact p:nth-of-type(11) {
        grid-column: span 2;
    }
}
#cf7-contact p:nth-of-type(6),
#cf7-contact p:nth-of-type(7),
#cf7-contact p:nth-of-type(8),
#cf7-contact p:nth-of-type(9),
#cf7-contact p:nth-of-type(10),
#cf7-contact p:nth-of-type(11) {
	text-align:center;
}
#cf7-contact p:nth-of-type(7),
#cf7-contact p:nth-of-type(8),
#cf7-contact p:nth-of-type(9),
#cf7-contact p:nth-of-type(10),
#cf7-contact p:nth-of-type(11) {
    margin-bottom: 0;
}

/* RECAPTCHA */
.grecaptcha-badge { visibility: hidden; }