/*
 Theme Name:   Divi Child
 Theme URI:    http://elegantthemes.com/
 Description:  Divi Child Theme
 Author:       ElegantThemes
 Author URI:   http://elegantthemes.com
 Template:     Divi
 Version:      0.1.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
 Text Domain:  divi-child-theme
*/

/* ==== Add your own styles below this line ====
 * -------------------------------------------- */
/*PER TOGLIERE IL BORDO NERO DEL PIEDE*/
#footer-bottom {
  background-color: #1f1f1f;
  background-color: rgba(0,0,0,0.32);
  padding: 0!important;
}
/*PER IUBENDA finestrat pop up*/
#iubenda-pp{
	z-index:100000!important;
	top:90px!important;
	position:fixed!important;
}	

/*Allineare l'immagine ai menu in vertical center*/
.divi-image-menu-item img {
display: table-cell;
vertical-align: middle; 
}
/*Remove padding around the menu image*/
.divi-image-menu-item a {
padding: 0!important;
}
/*Remove semitransparent hover effect on the menu image*/
.divi-image-menu-item a:hover {
opacity: 1!important;
}
/*AUMENTARE IL PADDING TRA MENU E HEADER*/
@media only screen and (min-width: 981px) {
  .et_header_style_centered #top-menu > li > a {
    padding-bottom: 31px;
  }
}
/*CUSTOMIZZA IL MENU*/
#top-menu .current-menu-item a::before,
#top-menu .current_page_item a::before {
 content: "";
 position: absolute;
 z-index: 2;
 left: 0;
 right: 0;
}
#top-menu li a:before {
 content: "";
 position: absolute;
 z-index: -2;
 left: 0;
 right: 100%;
 bottom: 50%;
 background: #928B33; /*** COLOR OF THE LINE ***/
 height: 3px; /*** THICKNESS OF THE LINE ***/
 -webkit-transition-property: right;
 transition-property: right;
 -webkit-transition-duration: 0.3s;
 transition-duration: 0.3s;
 -webkit-transition-timing-function: ease-out;
 transition-timing-function: ease-out;
}
#top-menu li a:hover {
 opacity: 1 !important; color:#928B33;
}
#top-menu li a:hover:before {
 right: 0;

}
#top-menu li li a:before {
 bottom: 10%;
}
#top-menu li.current-menu-item > a {
  color: #928B33;
}
/*DA QUI IN POI IL CODICE LO METTO IN QUESTA SEZIONE*/
/*per ridurre lo spazio dalla barra nera al logo*/
@media only screen and (min-width: 981px) {
  .et_header_style_centered #logo {
    max-height: 75%;
    
    margin-top: -10px !important;
  }
}
/*diminurie padding tra foto e testo negli articoli*/
@media only screen and (min-width: 1350px) {
  .et_pb_row {
    padding: 20px 0!important;
  }
}
/*METTE TITOLO ARTICOLO CON LA FONT GIUSTA*/
.et_pb_pagebuilder_layout.single.et_full_width_page:not(.et-tb-has-body) .et_post_meta_wrapper {
  width: 80%;
  max-width: 1080px;
  margin: auto;
  padding-top: 3%;
  font-size: 18px !important;
  font-family: 'Josefin Sans'!important;
	font-weight: 800!important;
}
.et_pb_text_0 h3 {
  font-family: 'Josefin Sans',Helvetica,Arial,Lucida,sans-serif;
  font-weight: 600;
  line-height: 1.8em;
}