/* WPTEAM CUSTOMIZATIONS */




.current-menu-item, .current-menu-parent {  
    border-bottom: 2px solid #333333 !important;
  box-shadow:inset
}

.current-menu-item a:before
{  
    visibility: hidden !important;
}





.site-content {  	border-bottom: 2px solid #DADADA;
}


/* FOOTER LORENZO CASTAGNONE */

#lshowcase_widget-4 {width: 20% !important;}
#lshowcase_widget-4  .lshowcase-boxInner { border-right: 0px solid !important; }

#lshowcase_widget-2 {width: 22% !important;}
#lshowcase_widget-2  .lshowcase-boxInner { border-right: 0px solid !important; }


#lshowcase_widget-5 {width: 35% !important;} l
#lshowcase_widget-5 .lshowcase-boxInner { border-right: 1px solid #c4c4c4;}

#lshowcase_widget-6 {width: 21% !important;  border-right: 1px solid #404041;}



#lshowcase_widget-7 {width: 20% !important; padding-left: 30px;}
#lshowcase_widget-7  .lshowcase-boxInner { border-right: 0px solid !important; }


.lshowcase-boxInner { padding-right: 10px; }



.lshowcase-logos {
    margin-top: 10px;
}






.hidden {
    display: inherit !important;
    font-size: 20px;
    line-height: 28px;
    font-family: "Ubuntu", sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.site-content article {
    padding-bottom: 0px !important;
    margin-top: -25px !important;
}
.loghi_footer img {
  height: 55px;  
}



.entry-title {
  display: none;
}

#textus {
  font-size: 2em; 
}

/* 
	Modifiche del 20/05/2016
*/

body.custom-background {
	background-color: #FFFFFF !important;
}

.current_page_item a, 
.current-menu-parent a, 
.current-post-parent a, 
.current-post-ancestor a, 
.current-menu-ancestor a, 
.current-menu-item a,
.current_page_item a:hover, 
.current-menu-parent a:hover, 
.current-post-parent a:hover, 
.current-post-ancestor a:hover, 
.current-menu-ancestor a:hover, 
.current-menu-item a:hover {
	background: #FFFFFF;
}



.dati_footer {
	margin-top: 15%;
  font-size: 0.8em;
}

.eventi_footer img {
	height: 140px;
}

.footerwidget-left {
	width: 55%;
}

.footerwidget-left:nth-child(2) {
  	border-left: 1px solid #404041;
  	padding-left: 30px;
	width: 320px;
}

.footerwidget-right {
  	clear: right;
	float: right;
  	text-align: right;
  margin-top: 5px;
}

.header-container {
	background: #FFFFFF;
  	border-bottom: 1px solid #DADADA;
  	min-height: 73px;
  	position: fixed;
	width: 100%;
  	z-index: 100;
}

.header-menu {
  	margin: 0 auto;
	/* width: 525px; */
}

#logo {
	float: right;
  	max-width: 26px;
}

.loghi_footer img:first-child {
	margin: 0 0 24px 24px;
}

#masthead {
  	height: 74px;
}


#menubar {
	margin-top: 10px;
}

.nav-menu {
  background: #FFFFFF;
}

#page {
	margin: 0 auto;
}

.site-branding,
#menubar {
  	float: left;
}

.site-content article {
	border-bottom: 0px;
}

.site-header .menu-toggle {
	background: #6d6e71;
}

.site-header .site-branding {
  background-color: #FFFFFF;
  height: 26px;
  margin-top: 15px;
  margin-left: 30%;
  padding-bottom: 5px;
  padding-left: 0px;
  padding-right: 30px;
  padding-top: 5px;
}

.site-footer {
	background: #FFFFFF;
  	color: #6D6E71;
  	padding: 40px 40px;
}

.site-footer input[type="submit"] {
	display: none;
}

.site-footer input[type="search"] {
    border: 1px solid #6d6e71;
	color: #6d6e71;
  	min-height: 20px;
  	min-width: 150px;
}

.sf-menu > li {
	border-right: none;
  	font-size: 16px;
}

.sf-menu li:hover, 
.sf-menu li.sfHover {
	background: #FFFFFF;
  	cursor: grab;
}

.sf-menu a {
  color: #6D6E71;
} 

.sf-menu ul li {
	background: #FFF;  
}

/* 
	*END*	Modifiche del 20/05/2016	*END*
*/

@media screen and (min-width: 272px) {
  
  #logo2 {
	}
  
  #logo1_page, #logo3_page {
    margin-left: 1em;
  }
  
  
  #logo3 {
  }
  
   .sf-menu {
	  float: left;
	  margin-bottom: 0;
	  padding-left: 0;
	  width: 100%;
  }
}

@media screen and (min-width: 378px) {
  
 
  #logo2 {
    margin-right: -1em;
}
  
  #logo3 {
    margin-right: 0em;
  }
  
   .sf-menu {
	  float: left;
	  margin-bottom: 0;
	  padding-left: 0;
	  width: 100%;
  }
}


/* fix dispositivi mobili */

@media screen and (max-width: 480px) {
  
  .eventi_footer {
  	max-width: 85%;
  }
  
  .eventi_footer img {
    height: 90px;
  }
  
  #page {
  	width: 100% !important;
    overflow-y: scroll;
    overflow-x: hidden;
  }
  
  .site-header .site-branding {
    margin-top: 0px !important;
  }
}

@media screen and (min-width: 600px) {

  #logo3_page {
   margin-left: 6em;
}
  #logo3 {
    margin-left: 11em;
  }
  
   .sf-menu {
	  float: left;
	  margin-bottom: 0;
	  padding-left: 0;
	  width: 100%;
  }

}

/*
@media screen and (min-width: 725px) {

  #logo_page {
     margin-left: 6em;
  } 

}
*/





@media screen and (min-width: 900px) {
#logo_page {
    margin-left: 0em;
  }

  #logo2 {
      margin-left: 0px;
  }
  
  #logo3 {
    margin-right: 0;
  }
  
   .sf-menu {
	  float: left;
	  margin-bottom: 0;
	  padding-left: 0;
	  width: 100%;
  }
}





/* 
	Modifiche del 20/05/2016
*/



@media screen and (max-width: 810px) {  
  .site-branding, 
  #menubar {
  	 width: 100%;
  }
  
  .footerwidget-left,
  .footerwidget-right {
  	 float: none;
     margin: 0 auto;
     text-align: center;
     margin-bottom: 10px;
  }
  
  .footerwidget-left:nth-child(2) {
     border: none;
     padding-left: 0;
  }  
  .lshowcase-boxInner {padding-right: 0px;}
  .lshowcase-wrap-responsive {width: 100%;}
  #lshowcase_widget-6 { width: 50% !important; border-right: 0px solid #404041;}
  #lshowcase_widget-4 { width: 50% !important; }
  #lshowcase_widget-2 { width: 50% !important; }
  #lshowcase_widget-5 { width: 50% !important; }
  #lshowcase_widget-7 { width: 50% !important; padding-left: 0px; }


}



@media screen and (max-width: 960px) {
  
  	.header-container {
    	border-bottom: none;
  		position: static;
  	}
  
	#logo,
  	#menubar,
  	.site-branding {
  		float: none;
    	margin: 0 auto;
  	}

    .header-menu {
        width: 100%;
    }  
  
	#menubar {
    	margin-top: 0px;
  		width: 100%;
  	}
  
  	.site-header .site-branding {
  		margin-top: 2px;
    	margin-left: auto;
    	padding-right: 0px;
  	}
  
  	.site-branding {
        max-width: 60px;
    	margin: 0 auto;
    	margin-bottom: 0px;
  	}
  
  	.site-header .menu-toggle {
  		background: #404041;
  	}
}




@media screen and (max-width: 1090px) {
  	.footerwidget-right {
  		clear: left;
    	float: none;margin: 0 auto;
     	text-align: center;
  	}
  
	.footerwidget-right form {
  		position: relative;
    	top: 30px;
  	}
}
/* 
	*END*	Modifiche del 20/05/2016	*END*
*/




/* non far vedere i quattro loghi fino a... */
@media screen and (max-width: 1279px) {
    #logo1, #logo4 {
    display: none;
  }
  
  #logo2_page {
    margin-left: 0em;
  }
}

@media screen and (min-width: 1700px) {
  .site-header .site-branding {
    	margin-left: 33%;
  	}
}

@media screen and (min-width: 1800px) {
  .site-header .site-branding {
    	margin-left: 35%;
  	}
}

@media screen and (min-width: 2000px) {
  .site-header .site-branding {
    	margin-left: 38%;
  	}
}

@media screen and (min-width: 4000px) {
  .site-header .site-branding {
    	margin-left: 42%;
  	}
}

/* 
	Modifiche del 06/08/2016 **  START **
*/

.footerimg {
 
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    height: 72px; 
  
}


/*
@media screen and (min-width: 1280px) {
#logo2_page {
    margin-left: 10em;
  }
   .sf-menu {
	  float: left;
	  margin-bottom: 0;
	  padding-left: 15em;
	  width: 84.00%;
  }
}


@media screen and (min-width: 1600px) {
  #logo_page {
    margin-left: 13em;
  }
   #logo1 {
	margin-left: 16em
  }
  
  #logo2_page {
    margin-left: 13em;
}
  
   .sf-menu {
	  float: left;
	  margin-bottom: 0;
	  padding-left: 28em;
	  width: 84.00%;
  }
}


@media screen and (min-width: 1800px) {
  #logo_page {
    margin-left: 28em;
  }
  
 #logo1 {
    margin-left: 14em;
    margin-right: 10em;
}

#logo3 {
    margin-right: 15em;
}

.sf-menu {

	float: left;
	margin-bottom: 0;
	padding-left: 40em;
	width: 70.66%;
}
*/


  /* LINK HOVER */

.menu-temporaneo-container a:hover {
  color: #333333;
}

.menu-temporaneo-container a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #000;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}


.menu-temporaneo-container a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

.sub-menu {border-left: 1px solid #333333;
    border-right: 1px solid #333333;}



