/*
 Theme Name:   Divi-Child-Theme
 Description:  Divi Child Theme
 Author:       InSiteYou
 Template:     Divi
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
*/

/* --- Footer_Centrato_su_3_Righe --- */
#footer-info {
    text-align: center !important;
}

/* Nascondi tutti gli elementi che flottano-sopra il margine destro */
#et-main-area { 
	overflow: hidden;
} 

/* ------------------------- */
/* --- Padding Voci Menu --- */
/* ------------------------- */
.et_mobile_menu li a {
   padding: 5px 5%;
}

/* ----------------------------------- */
/* --- Menu Responsive x SubFields --- */
/* ----------------------------------- */
#main-header .et_mobile_menu .menu-item-has-children > a { background-color: transparent; position: relative; }
#main-header .et_mobile_menu .menu-item-has-children > a:after { font-family: 'ETmodules'; text-align: center; speak: none; font-weight: normal; font-variant: normal; text-transform: none; -webkit-font-smoothing: antialiased; position: absolute; }
#main-header .et_mobile_menu .menu-item-has-children > a:after { font-size: 16px; content: '\37'; padding-left: 10px; /*top: 13px; right: 10px;*/ }
#main-header .et_mobile_menu .menu-item-has-children.visible > a:after { content: '\36'; }
#main-header .et_mobile_menu ul.sub-menu { display: none !important; visibility: hidden !important;  transition: all 1.5s ease-in-out;}
#main-header .et_mobile_menu .visible > ul.sub-menu { display: block !important; visibility: visible !important; }

/* =================================== */
/* ===  Header - Info Mail e Phone === */
/* =================================== */
@media only screen and ( max-width: 479px ) {
.bottom-nav li, #et-info a, #et-info-phone, #et-info-email {
 display: block;
 width: 250px !important;
 margin: 0px auto;
 line-height: 18px;
 height: 18px;
 margin-top: 5px;
 color: #000 !important;
 font-size: 12px !important;
 cursor: pointer;
-webkit-border-radius: 5px;
 -moz-border-radius: 5px;
 border-radius: 5px;
background: #ffffff; /* Old browsers */
 background: -moz-linear-gradient(top, #ffffff 0%, #f3f3f3 50%, #ededed 51%, #ffffff 100%); /* FF3.6+ */
 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(50%,#f3f3f3), color-stop(51%,#ededed), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
 background: -webkit-linear-gradient(top, #ffffff 0%,#f3f3f3 50%,#ededed 51%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
 background: -o-linear-gradient(top, #ffffff 0%,#f3f3f3 50%,#ededed 51%,#ffffff 100%); /* Opera 11.10+ */
 background: -ms-linear-gradient(top, #ffffff 0%,#f3f3f3 50%,#ededed 51%,#ffffff 100%); /* IE10+ */
 background: linear-gradient(to bottom, #ffffff 0%,#f3f3f3 50%,#ededed 51%,#ffffff 100%); /* W3C */
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}}

/* ================================== */
/* ===  Logo - Aumento Dimensione === */
/* ================================== */
 /* Aumenta Dimensione Logo */
 /*
@media only screen and ( min-width: 981px ){            
       .et_header_style_centered #logo { max-height: 100% !important; }                                                                                                          
}
*/
/* ============================= */
/* === Customizzazione Logo  === */
/* ============================= */
/*
@media only screen and (max-width: 979px) {
     #logo { min-height: 60px; }
     #top-menu-nav, #top-menu {
              line-height: 1 !important;
              padding-left: 25px;
              padding-right: 25px;
     }
}

@media only screen and (min-width: 980px) and (max-width: 1023px) {
      #et-top-navigation { padding-left: 120px !important; }
      #logo { min-height: 70px; }
      #top-menu-nav, #top-menu {
              line-height: 1 !important;
              padding-left: 25px;
              padding-right: 25px;
     }   
}

@media only screen and (min-width: 1024px) and (max-width: 1199px) {
     #et-top-navigation { padding-left: 120px !important; }
     #logo { min-height: 80px; }
      #top-menu-nav, #top-menu {
              line-height: 1 !important;
              padding-left: 25px;
              padding-right: 25px;
     }   
}

@media only screen and (min-width: 1200px) {
     #logo { min-height: 120px; }
      #top-menu-nav, #top-menu {
              line-height: 1 !important;
              padding-left: 25px;
              padding-right: 25px;
     }   
}
*/
/* ======================= Menu ================= */
/* ===== Effetto - Bordo in Basso - Slide in ==== */
/* ============================================== */
#top-menu a {
	padding: 8px 0;
}

/* Colore Linea background: #ab131c */

#top-menu a::before {
    position: absolute;
    top: 50%; 
    left: 0;
    width: 100%;
    height: 3px;                                        /* Spessore Riga */
    background: #ab131c;                                /* Colore */
    content: '';
    opacity: 0;
   -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
   -moz-transition: opacity 0.3s, -moz-transform 0.3s;
   transition: opacity 0.3s, transform 0.3s;
   -webkit-transform: translateY(10px);
   -moz-transform: translateY(10px);
   transform: translateY(10px);
}

#top-menu a:hover::before,
#top-menu a:focus::before {
   opacity: 1;
   height: 3px;                                         /* Spessore Riga */
   -webkit-transform: translateY(0px);
   -moz-transform: translateY(0px);
   transform: translateY(0px);
}

/*___Sottolinea_Voce_Attiva___*/
/*
#top-menu .current-menu-item a:before {     
   position: absolute;
   top: 100%; 
   left: 0;
   width: 100%;
   height: 3px;                                                  
   background: #ab131c;                               
   content: '';
   opacity: 1;
}*/

/*___NASCONDI_Effetto_A_Voci_Del_SubMenu___*/
/*#top-menu .sub-menu a:before { display: none !important; }*/

/*___Voci Sub_Menu____*/
#top-menu .sub-menu a:before {                    /* Posizione Iniziale Bordo - Riga in Basso  */
   position: absolute;
   top: 100%; 
   left: 0;
   width: 100%;
   height: 3px;                                   /* Spessore Riga */
   background: #ab131c;                           /* Colore */
   content: '';
   opacity: 0;                                   /* Trasparente Inizialmente */
   /*__Tipo_Transizione__*/
   -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
   -moz-transition: opacity 0.3s, -moz-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
   -webkit-transform: translateY(10px);
   -moz-transform: translateY(10px);
    transform: translateY(10px);

}

/*___Voci Sub_Menu____Hover____ */
#top-menu .sub-menu a:hover::before,
#top-menu .sub-menu a:focus::before {
   opacity: 1;
   height: 3px;                                 /* Spessore Riga */
   -webkit-transform: translateY(0px);
   -moz-transform: translateY(0px);
   transform: translateY(0px);
}

/*____Freccia_Sub_Menu____*/
#top-menu .menu-item-has-children > a:first-child:after, #et-secondary-nav .menu-item-has-children > a:first-child:after{
 top: 8px !important; 
}