/*
 Theme Name:     Sistema Fisioterapia
 Description:    #
 Author:         AS designer studio
 Author URI:     https://www.asdesigner.it
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* GENERAL
------------------------------------------------------- */
 
 /* Registrazione Font Como */
 
 /* Regular */
 @font-face {
     font-family: 'Como';
     src: url('fonts/Como.woff') format('woff');
     font-weight: 400;
     font-style: normal;
     font-display: swap;
 }
 
 /* Medium */
 @font-face {
     font-family: 'Como';
     src: url('fonts/Como-Medium.woff') format('woff');
     font-weight: 500;
     font-style: normal;
     font-display: swap;
 }
 
 /* Bold */
 @font-face {
     font-family: 'Como';
     src: url('fonts/Como-Bold.woff2') format('woff2'),
          url('fonts/Como-Bold.woff') format('woff');
     font-weight: 700;
     font-style: normal;
     font-display: swap;
 }
 
 /* Extra Bold */
 @font-face {
     font-family: 'Como';
     src: url('fonts/Como-ExtraBold.woff2') format('woff2'),
          url('fonts/Como-ExtraBold.woff') format('woff');
     font-weight: 800;
     font-style: normal;
     font-display: swap;
 }
 
 
 
/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {
	 .reverse-columns {
        display: flex;
        flex-direction: column-reverse;
    }
}
 
/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {

}
 
/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {
  h1 {
        font-size: 50px!important;
    }
    h2 {
        font-size: 42px!important;
    }
    h3 {
        font-size: 36px!important;
    }
    h4 {
        font-size: 30px!important;
    }
    h5, h2.entry-title.et_pb_module_header, h3.et_pb_module_header {
        font-size: 26px!important;
    }
    h6 {
        font-size: 22px!important;
    }
	
	.et_pb_module.et_pb_post_content h1 {
    font-size: 40px !important;
}
.et_pb_module.et_pb_post_content h2 {
    font-size: 35px !important;
}
.et_pb_module.et_pb_post_content h3 {
    font-size: 30px !important;
}
.et_pb_module.et_pb_post_content h4 {
    font-size: 25px !important;
}
.et_pb_module.et_pb_post_content h5 {
    font-size: 22px !important;
}
.et_pb_module.et_pb_post_content h6 {
    font-size: 22px !important;
}
	    .et_pb_post_title_0_tb_body .et_pb_title_container h1.entry-title {
        font-size: 30px !important;
    }
}

body {
    font-weight: 400;
}

strong {
    font-weight: 600;
}

/* Nascondi la sidebar */
#sidebar {
    display: none;
}

/* Estendi il contenuto alla larghezza completa */
.et_pb_column_2_3 {
    width: 100% !important;
}

ul.sub-menu li a {
    line-height: 1.4em;
}

header .nav li li {
    padding: 5px 20px!important;
}

/* COLUMN
------------------------------------------------------- */

.flexible-column >.et_pb_column {
display: flex;
flex-direction: column;
justify-content: center;
}

.centra-verticale
{
display: flex;
justify-content: center;
align-items: center; /* opzionale, per centrare orizzontalmente */
}

/* IFRAME APPUNTAMENTI
------------------------------------------------------- */

.ga-booking-iframe {
    border-radius:20px;
}

/* BLOG
------------------------------------------------------- */

.et_pb_row.et_pb_row_7.blog-slider-image {
    padding: 0px !important;
}

.et_pb_row.et_pb_row_8.blog-slider-content h2 {
    color: #1f365a !important;
}

.wp-pagenavi a, .wp-pagenavi span {
    text-decoration: none;
    border: 0px solid #BFBFBF;
    padding: 5px 10px;
    margin: 2px;
    background: #fff;
	border-radius: 3px;
}

/* Filtri blog */

.blog-filters {
    text-align: center;
    margin-bottom: 20px;
}
.filter {
    margin: 0 10px;
    padding: 10px 20px;
    cursor: pointer;
    background-color: #35454f; /* Cambia in base al tuo stile */
    color: #fff;
    border: none;
}
.filter:hover {
    background-color: #a4b2b2; /* Colore hover */
}


.single-post h2 {
     margin-top: 40px;
 }

.single-post h3 {
    margin-top: 20px;
}

.single-post h4 {
    margin-top: 15px;
}


.single-post h2, .single-post h3, .single-post h4 {padding-bottom: 20px;}

/* POPUP
------------------------ */

/****** Lightbox Styling *******/
[class*="lightbox-trigger-"] {cursor:pointer;}
[class*="lightbox-content-"] {position:relative; z-index: unset !important;}
[class*="lightbox-content-"] .mfp-close {color:#999999 !important;}
[class*="lightbox-content-"] .mfp-close:active {top:0px !important;}

.mfp-bg.mfp-ready {
    z-index: 1000001;
}

.mfp-wrap {
    z-index: 1000002;
}


/* --- STILE MODULO CONVENZIONI SISTEMA FISIOTERAPIA --- */

/* 1. Etichette (Label) */
.wpcf7 label {
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1F3659; /* Blu Istituzionale */
    display: block;
    margin-bottom: 0px;
}

/* 2. Campi Input (Testo, Email, Telefono, Select) */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: #fff; /* Grigio chiarissimo quasi bianco */
    border: 1px solid #d1d9e6; /* Grigio bluastro tenue */
    border-radius: 6px; /* Arrotondamento moderno */
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Evita che il padding sbordi */
    margin-bottom: 0px;
}

/* 2b. Effetto Focus (quando clicchi sul campo) */
.wpcf7 input:focus,
.wpcf7 select:focus {
    border-color: #1F3659; /* Diventa Blu Istituzionale */
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(31, 54, 89, 0.1); /* Alone blu leggerissimo */
}

/* 3. Checkbox Privacy */
.wpcf7-list-item {
    margin: 0;
}
.wpcf7-acceptance label {
    font-weight: 400; /* Privacy non in grassetto */
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px; /* Spazio tra quadratino e testo */
}
.wpcf7 input[type="checkbox"] {
    accent-color: #1F3659; /* Checkbox Blu se supportato dal browser */
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.wpcf7-form p {
    padding-bottom: 10px;
}

.wpcf7-acceptance span.wpcf7-list-item-label {
    line-height: 15px;
}

/* 4. Bottone Invia */
.wpcf7 input[type="submit"] {
    background-color: #1F3659; /* Blu Istituzionale */
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 15px 30px;
    border: none;
    border-radius: 50px; /* Pill shape (molto moderno) */
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    width: auto; /* O 100% se lo vuoi a tutta larghezza */
    min-width: 150px;
    display: block;
    margin-top: 10px;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #162a47; /* Blu leggermente più scuro */
    transform: translateY(-2px); /* Effetto sollevamento */
    box-shadow: 0 4px 12px rgba(31, 54, 89, 0.25);
}

/* 5. Messaggi di Errore/Successo CF7 */
.wpcf7-not-valid-tip {
    font-size: 12px;
    color: #dc3232;
    margin-top: 0px;
    margin-bottom: 0px;
    display: block;
}

.wpcf7-response-output {
    border-radius: 6px;
    font-size: 14px;
    padding: 15px !important;
    font-family: 'Montserrat', sans-serif;
}

/* Box campo manuale (che appare/scompare) */
#box-manuale {
    background-color: #fff;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    animation: fadeIn 0.4s ease;
}

#box-manuale br {
    display: none;
}

#box-manuale input {
    margin-bottom: 5px; /* Meno margine perché c'è il box */
    background-color: #ffffff;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}