/* Header mobile (to be hidden) */
.wpthemeFrame.mobileFrame .wpthemeHeader {
	display: none;
}
.wpthemeFrame.mobileFrame *.img-vertical-center-helper.mobile-only {
    display: inline-block;
}
/* Collapsible responsive menu */
.wpthemeFrame.mobileFrame .wpthemeBannerPrimaryNavigation .wpthemePrimaryNav .navbar {
	max-width: none;
}
.wpthemeNavToggleBtn {
	width: 50px;
	border-bottom: 0px none;
	background-color: inherit;
	text-align: center;
}
.wpthemeNavToggleBtn img {
	padding: 7px 0px 7px 0px;
	background-clip: padding-box;
	background-position: 0 -1265px;
	background-image: none;
	width: 34px;
	height: 31px;
}
.wpthemeMobileNav.wpthemeMobileSide:nth-of-type(n),
.wpthemeMobileNav.wpthemeMobileSide,
.wpthemeMobileNav > ul.wpthemeExpandNav ul.wpthemeExpandNav ul.wpthemeExpandNav .wpthemeNavListItem,
.wpthemeMobileNav.wpthemeMobileSide:nth-of-type(6),
.wpthemeMobileNav.wpthemeMobileSide:nth-of-type(n) .wpthemeNavListItem.wpthemeAncestor a {
	background: #fff;
}
.wpthemeMobileNav.wpthemeMobileSide:nth-of-type(n) .wpthemeNavListItem a:active, .wpthemeMobileNav.wpthemeMobileSide:nth-of-type(n) .wpthemeNavListItem a {
	background: #fff;
}
ul.wpthemeExpandNav .wpthemeAncestor > a span {
	color: #e43d38;
}
/* Menu tablet */
.wpthemeMobileNav.wpthemeMobileSide + div + .wpthemeMobileNav.wpthemeMobileSide {
    left: 300px !important;
}
/* dropdown part */
.wpthemeMobileNav,
.wpthemeMobileNav > ul.wpthemeExpandNav > .wpthemeNavListItem,
.wpthemeMobileNav.wpthemeMobileSide:nth-of-type(3),
.wpthemeMobileNav ul.wpthemeExpandNav .wpthemeSelected > a,
.wpthemeMobileNav ul.wpthemeExpandNav .wpthemeSelected > a:hover,
.wpthemeMobileNav ul.wpthemeExpandNav .wpthemeSelected > a:active,
.wpthemeMobileNav ul.wpthemeExpandNav .wpthemeSelected > a:focus,
.wpthemeMobileNav > ul.wpthemeExpandNav ul.wpthemeExpandNav .wpthemeNavListItem,
.wpthemeMobileNav.wpthemeMobileSide:nth-of-type(5) {
	background-color: #fff;
}
.wpthemeMobileNav > ul.wpthemeExpandNav > .wpthemeNavListItem a,
.wpthemeMobileNav.wpthemeMobileSide:nth-of-type(3) .wpthemeNavListItem a {
	border-color: #ddd;
	border-bottom: 0px none;
}
.wpthemeMobileNav > ul.wpthemeExpandNav .wpthemeHasChildren a.wpthemeExpandBtn,
.wpthemeMobileNav.wpthemeMobileSide:nth-of-type(3) .wpthemeHasChildren a.wpthemeExpandBtn {
	border-left-color: #e2e2e2;
}
.wpthemeMobileNav .wpthemeNavListItem .wpthemeExpandBtn img {
	width: 12px;
	height: 8px;
	background: none;
}
.wpthemeMobileNav .wpthemeNavListItem .wpthemeExpandBtn {
	text-align: center;
}
.wpthemeMobileNav .wpthemeNavListItem .wpthemeExpandBtn .dropdown-icon {
	background: url('../../images/customTheme85/arrow-up3.png') no-repeat center center transparent;
	    padding-right: 12px;
    border: none;
}
.wpthemeMobileNav .wpthemeNavListItem.wpthemeNavCollapsed .wpthemeExpandBtn .dropdown-icon {
	background-image: url('../../images/customTheme85/arrow-down3.png');
	    padding-right: 12px;
    border: none;
}
.wpthemeMobileNav > ul.wpthemeExpandNav > .wpthemeNavListItem a span {
	padding-right: 0px;
	margin-left: -6px;
}
.wpthemeMobileNav ul.wpthemeExpandNav a {
	color: #e43d38;
	font-weight: normal;
}
.wpthemeMobileNav ul.wpthemeExpandNav .wpthemeSelected > a,
.wpthemeMobileNav ul.wpthemeExpandNav .wpthemeSelected > a:hover,
.wpthemeMobileNav ul.wpthemeExpandNav .wpthemeSelected > a:active,
.wpthemeMobileNav ul.wpthemeExpandNav .wpthemeSelected > a:focus,
.wpthemeMobileNav ul.wpthemeExpandNav a:hover,
.wpthemeMobileNav ul.wpthemeExpandNav a:active,
.wpthemeMobileNav ul.wpthemeExpandNav a:focus {
	color: #676767;
	font-weight: normal;
}
.wpthemeMobileNav > ul.wpthemeExpandNav ul.wpthemeExpandNav .wpthemeNavListItem a,
.wpthemeMobileNav.wpthemeMobileSide:nth-of-type(5) .wpthemeNavListItem a {
	border-color: #a7a5a6;
	border-bottom: 0px none;
	color: #e43d38;
}
.wpthemeMobileNav ul.wpthemeExpandNav .wpthemeSelected > a span {
	border-left: 6px solid #e43d38;
	-webkit-border-image: -webkit-gradient(linear, 0 0, 0 100%, from(#c11919), to(#d13836)) 0 0 0 100%;
	-webkit-border-image: -webkit-linear-gradient(#c11919, #d13836) 0 0 0 100%;
}

.wpthemeMobile {
	top: inherit;
  	position: relative;
}

/* Header Left */
.wpthemeMobile .wpthemeCommonActions.wpthemeLeft {
	margin-left: 0px;
	width: 60px;
	position: relative;
	display: flex;
}

.wpthemeMobile .wpthemeCommonActions.wpthemeLeft img {
	margin-left: -2px;
}

.wpthemeMobile .wpthemeCommonActions.wpthemeLeft > li{
 	margin-right: 5px;
 }

.wpthemeMobile .wpthemeCommonActions.wpthemeLeft > li > span.label-header-casa > a{
	white-space: wrap;
  	text-align: left;
  	font-size: small;
}

/* Header Right */
.wpthemeMobile .wpthemeCommonActions.wpthemeHeaderRight.customCommonActionsContainer {
    margin-right: 5px;
    width: 100px;
    position: relative;
}

.wpthemeBanner .wpthemeMobile ul.wpthemeLeft.wpthemeCommonActions .wpthemeBranding {
	margin: 0px;
	padding-left: 0px;
	width: 60px;

}
.wpthemeBanner .wpthemeMobile .wpthemeBranding .wpthemeBrandingLink {
	height: 58px;      /* equals max image height */
    width: 60px;
    white-space: nowrap;
    
    text-align: center;
}
.wpthemeBanner .wpthemeMobile .wpthemeBranding img {
	display: inline;
	vertical-align: middle;
	max-width: 59px;
	width: 100%;
	height: auto;
}
.wpthemeFrame.mobileFrame .menu-lingue-container {
	display: table;
	margin-top: 0px;
	margin-right: 10px;
	height: 58px;
}
.wpthemeFrame.mobileFrame .menu-lingue-container .menu-lingue {
	display: table-cell;
	vertical-align: middle;
}
/* Mobile progress bar */
.wpthemeMobileBorder {
	display: none;
}
/* Mobile main content */
.wpthemeFrame.mobileFrame .wpthemeLayoutContainers .contentMain,
.wpthemeFrame.mobileFrame .wpthemeLayoutContainers .contentRibbon {
	margin: 0px 10px;
}
/* Mobile top banner */
.wpthemeFrame.mobileFrame .wpthemeLayoutContainers .contentLeader.pre .wpthemeControl {
	margin: 0px;
}
.wpthemeFrame.mobileFrame .wpthemeLayoutContainers .contentLeader.pre .component-container div:first-of-type .wpthemeControl .wpthemeControlBody div div.body {
	margin: 0 10px;
}
/* Mobile breadcrumb */

.wpthemeHeadlineContainer .breadcrumb {
	margin: 0px 0px 5px 0px;
}
/*  Mobile slider */
.promoSlideshow .item.mblView img {
	width: 100% !important;
	height: auto !important;
}
.wpthemeFrame.mobileFrame .wpthemeFooter {
	margin-right: 0px;
	margin-left: 0px;
}
.promoSlideshow .mblPageIndicator,
.contentSlideshow .mblPageIndicator {
	display: none;
}
.immagineAlternativa img {
	width: 100%;
	height: auto;
}
.contenutoAlternativo {
	box-sizing: border-box;
	padding: 10px;
    background: #e43d38;
    color: #fff;
}
.contenutoAlternativo h1 {
    font-weight: bold;
    font-family: sans-serif;
    color: white;
    text-transform: uppercase;
    font-size: 2.6em;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 12px;
    margin-bottom: 12px;
    margin-top: 0;
}
.contenutoAlternativo p,
.contenutoAlternativo a {
    color: #fff;
}
/* Content Ribbon */
.wpthemeFrame.mobileFrame .wpthemeLayoutContainers .contentRibbon {
	margin: 0px;
}
/* RESPONSIVE */
@media all and (max-width: 1440px) {
	.overpopulated-table {
		font-size: 7px !important;
	}
}
@media all and (max-width: 1366px) {
	.slidelink a:after{
		margin-left: -30px;
	}
}
@media all and (max-width: 1160px) {
	.slidelink a:after{
		margin-left: -20px;
	}
	/* Logo */
	.wpthemeBanner ul.wpthemeCommonActions li a.wpthemeBrandingLink,
	.wpthemeBanner ul.wpthemeCommonActions li a.wpthemeBrandingLink:focus,
	.wpthemeBanner ul.wpthemeCommonActions li a.wpthemeBrandingLink:hover,
	.wpthemeBanner ul.wpthemeCommonActions li a.wpthemeBrandingLink:active {
		margin-left: 5px;
	}
	
	/* Menu lang */
	.menu-lingue-container {
		margin-right: 10px;
	}
	/* Primary nav */
	.wpthemeBannerPrimaryNavigation .wpthemePrimaryNav .navbar {
		margin-right: 10px;
	}
	/* Footer */
	.post-footer .wpthemeInner .left {
		max-width: none;
		/* float: right; */
		clear: both;
	}
	.post-footer .wpthemeInner .right {
		max-width: none;
		float: right;
		clear: both;
	}
	.post-footer .wpthemeInner .right {
		padding-top: 2em;
	}
	.wpthemeFooter span {

		line-height: 1.5em;
	}
	.wpthemeFooter a {
		font-size: inherit;
	}
}
@media all and (min-width: 1024px) {
	/* Custom content margin when there is imb toolbar */
	.contentWithToolbar{
		margin-top: 150px;
	}
	/* Custom content margin when there is imb toolbar 
	* es. Login page
	*/
	.contentWithoutToolbar{
		margin-top: 190px;
	}
	.wpthemeLayoutContainers {
		padding: 0px 0px;
	}
}
@media all and (max-width: 1024px) {
	.fullpage-section__scroll{
		display: none;
	}
	.divSocial{
	    bottom: 50px;
	}
	.wpthemeNavListItem.wpthemeNavSearch{
		display: none;
	}
	.displayBlock600px{
		display: none;
	}
	.mainHeaderPositionFixed {
	    position: relative;
	    width: 100%;
	    opacity: 1;
	    top: 0px;
	    z-index: 4;
	}
	
	.wpthemeSearch{
		display: inherit;
	}
	#wpthemeNavRootLink{
		position: absolute;
		right: 0px;
		top: inherit;
	}
	.menu-lingue .sportelli {
	    border-left: none;
	    border-right: none;
	    padding: 0px;
	    margin: 0px;
	    height: auto;
	    position: relative;
	    top: 5px;
	    right: 50px;
	}
		.wpthemeSearch.wpthemeRight,
	.menu-lingue-container {
		
		float: right;
		margin-right: 70px;
	}
	.FAQ,.langMenu,.mailContactMenu{
		display: none;
	}
	.wpthemeMobile .wpthemeCommonActions.wpthemeLeft .wpthemeBranding{
		margin-top: 5px !important;
	}
	header .wpthemeBannerInner .wpthemeInner{
		height: 70px;
	}
	div.titlepage{
		color: #fff;
	    font-size: 2.9em;
	    font-weight: bold;
	    position: relative;
	    top: 60px;
	    width: 95%;
	    max-width: 1024px;
	    margin: 0 auto;
	}
}
@media all and (max-width: 1024px) {
	#myMMMenu{
		top: 45px;
		right: 5px;
		max-width: 150px;
	}
	#myMMMenu:before {
		right:10px;
	}
	#myMMMenu > div > a:link,
	#myMMMenu > div > a:visited{
		color: white;
	}
	.containerContatti .idrico{
		float:none;
		margin-right:50px;
	}
	.containerContatti .containerRight{
		float:left;
		margin-bottom:150px;
	}
	.tableContattiContainer{
	    width:100%;
	}
	.wpthemeSecondaryContainer.wpthemeCol2of12.columnLeftTemplateMedia{
		width: auto !important;
	}
	.columnLeftTemplateMedia .uno, .columnLeftTemplateMedia .due, .columnLeftTemplateMedia .tre{
		width: 30%;
	    float: left;
	}
	.columnLeftTemplateMedia .uno, .columnLeftTemplateMedia .due{
		margin-right: 4%;
	}
	.columnRightTemplateMedia{
		float: left !important;
		width: 100% !important;
		padding-left: 5px !important;
	}
	.mediaBoldRedP{
		margin-top: 0px;
	}
	.mediaContainerLeft{
		width: auto;
	}
	.mmIdricoContainer .img {
	    width: 380px;
	}
	.columnLeftTemplateMedia .due.mmPerMilano, .columnLeftTemplateMedia .uno.mmPerMilano, .columnLeftTemplateMedia .tre.mmPerMilano{
		width: 100%;
	}
	.mmPerMilanoContainer .img {
	    width: 48%;
	    height: 305px;
	    margin-bottom: 50px;
	}
	.areaRiservataMainMenu{
		margin-left: 0px!important;
	}
	.majorProjects, .majorNotizie{
		float:none!important;
	}
	.majorProjectsPON, .majorNotiziePON{
		float:none!important;
	}
	
}
@media all and (max-width: 800px) {
	.slidetitle {
	    color: white;
	    font-family: Ubuntu Bold;
	    font-size: 5em;
	    z-index: 3;
	    padding-left: 15%;
	    padding-top: 80px;
	    width: 45%;
	}
	.wpthemeSearch form #wpthemeSearchBoxInput.activeSearch{
		width: 15em;
	}
	.wpthemeSearch.wpthemeRight form {
	    margin-top: 0px;
	}
	.fa-tintPNG, .fa-homePNG{
		zoom:1.4;
	}
	.slidercontent {
	    margin-top: 0px;
	}
	.wpthemeMobileNav ul.wpthemeExpandNav{
		margin-top: 15px;
	}
	.backgroundImageHomePage{
		min-height: 0px !important;
		background-attachment:  scroll;
	}
	.headerImgTemplate4 {
    	margin: 0px 0 10px 0;
    }
    .wptheme2Col.wpthemeUnequal.wptheme2Row, .wptheme1Col.wptheme2Row.templateProgettiContainer{
    	width: 90%;
    	padding: 0 5%;
    }
    .columnRightTemplate4 {
    	width: 100% !important;
    	margin-left: 0px;
    	padding-right: 0px !important;
	}
	.columnLeftTemplate4 {
    	width: 100% !important;
    	max-width:100%!important;
    	float: none;
    	margin-left: 0px;
	}
	.columnLeftTemplate4Private {
		float: none;
		width: 100% !important;
		margin-left: 0%;
	}
	.columnRightTemplate4Private {
		width: 100% !important;
		margin-left: 0px;
		padding-right: 0% !important;
	}
	.wpthemeRow{
		padding-left: 0px;
	}
	.footerTemplate4 img {
    	width: 100% !important;
    	height: 100%;
	}
	.firstProject .projectImage {
	    float: left;
	    width: 100%;
		}
		.firstProject {
	    float: left;
	    position: relative;
	    width: 100%;
	}
	.otherProjects {
	    float: right;
	    width: 100%;
	    height: 100%;
	}
	.otherProjects .firstRow {
	    float: left;
	    width: 50%;
	}
	.otherProjects .secondRow {
	    float: left;
	    width: 50%;
	}
	.subTitle {
	    margin-top: 10px;
	}
	.slide.rosso .slidelinksContainer {
	    padding-left: 15%;
	    padding-bottom: 100px;
	
	}
	.wpthemeBanner .wpthemeBannerInner .wpthemeInner {
		text-align: left;
	}
	/* Fix for mobile */
	.wpthemeFrame.mobileFrame .wpthemeBanner .wpthemeBannerInner .wpthemeInner {
		text-align: left;
	}
	
	.wpthemeFrame.mobileFrame .wpthemeSearch.wpthemeRight {
		
	}
	.wpthemeFrame.mobileFrame .menu-lingue-container {
		float: right;
	}
	/* Header Left */
	ul.wpthemeCommonActions.wpthemeLeft {
		width: 100%;
	}
	ul.wpthemeCommonActions > li {
		float: none;
	}
	.wpthemeBanner .wpthemeBranding img {
		margin: auto;
	}
	/* Menu */
	.wpthemeBannerPrimaryNavigation .wpthemePrimaryNav .navbar {
		margin-top:20px;
		border-top: 1px solid #eee;
		padding-top: 10px;
		max-width: none;
	}
	/* Breadcrumb */
	.wpthemeHeadlineContainer .breadcrumb {
		margin-right: 10px;
	}
	/* Slider */
	.promoSlideshow.caption.left .slideCaption {
		/* width: 50px !important;
		height: auto !important; */
	}
	.promoSlideshow.caption.left .slideCaption * {
		/* display: none !important; */
	}
	/* QUI C'ERA L'OTTIMIZZAZIONE DELLO SLIDER */
	/* Ribbon */
	.contentRibbon .component-control {
		height: 350px;
	}
	/* Footer */
	.post-footer {
		padding: 20px 20px 45px 20px;
	}
	.majorMajorNotizie {
	    margin-top: 50px;
	    width: 100%;
	    float: none;
	}
	.majorProjects, .majorNotizie {
		width: 99%;
		border-left: 7px SOLID #e43d38;
		box-sizing: border-box;
		max-width:100%;
		float:none;
	}
	.majorProjectsPON, .majorNotiziePON {
		width: 99%;
		border-left: 7px SOLID #08458F;
		box-sizing: border-box;
		max-width:100%;
		float:none;
	}
	.featuredAnnuncementsContainer {
		float:none; 
		max-width:100%; 
	}
	.component-container.wpthemeLeft.columnLeftTemplate4.wpthemeCol.wpthemeSecondaryContainer.ibmDndColumn.wpthemeNarrow.wpthemeCol4of12 .componentBlock.goback img{
		display: none;
	}
	.componentWithAuthor{
		display: none;
	}
	.filterProjects .custom-select{
		margin: 5px auto;
    	width: 200px;
    	display: block;
	}
	.filterProjects .custom-button{
		margin: 5px auto;
    	display: block;
    	width: 200px;
	}
}

@media all and (max-width: 650px) {
	.tableContattiContainer{
	    overflow-y: auto;
	}
	.containerCasaIdrico:after  {
	    clear: both;
	    content: '';
	    display: block;
	}
	.containerContatti .containerCasaIdrico {
	
	     float: none;
	}
	.containerContatti .containerLeft:after {
	     clear: both; 
	    content: '';
	    display: block;
	}
	.containerContatti .idrico, .containerContatti .casa, .containerContatti .containerRight{
		margin-bottom:30px;
	}
}

@media all and (max-width: 600px) {
	.wpthemeSearch form #wpthemeSearchBoxInput.activeSearch {
	    width: 8em !important;
	}
	.wpthemeMobileNav .wpthemeNavListItem.wpthemeNavSearch form{
		display: flex;
	}
	.wpthemeMobileNav ul.wpthemeExpandNav .wpthemeNavListItem {
	   		 white-space: normal;
		}
	.wpthemeMobileNav.wpthemeNavCollapsed{
		display: none;
	}
	.otherProjects .firstRow {
	    float: left;
	    width: 100%;
	}
	.majorMajorProjects{
		overflow: hidden;
	}
	.majorProjects .projectsLink {
		margin-top: 0px;
		float:none;
	}
	.majorProjectsPON .projectsLink {
		margin-top: 0px;
		float:none;
	}
	.slidercontent {
	    margin-top: 0px;
	}
	.otherProjects .secondRow {
	    float: left;
	    width: 100%;
	}
	.slidelinksContainer {
	    padding-left: 10%;
	    padding-bottom: 100px;
	}
	.slidetitle {
		padding-left: 10%;
	    font-size: 2.5em;
	}
	.slide.rosso .slidelinksContainer {
	 	padding-left: 10%;
	    padding-bottom: 100px;
	}
	.subTitle {
	   width: 90%;
	}
	.slidetitle {
	    padding-left: 10%;
	    font-size: 2em;
	}
	.footerDivSmall{
		float: left;
	    width: 100%;
	    margin-bottom: 30px;
	}
	.footerDivLarge{
		float: none;
	    width: 100%;
	}
	.displayBlock600px{
		display: block;
	}
	#content > div.wpthemeFrame.mobileFrame > header > div:nth-child(2) > div > div > div.menu-lingue-container{
		display: none;
	}
	.wpthemeNavListItem.wpthemeNavSearch{
		display: block;
	}
	.wpthemeSearch input.wpthemeSearchText{
		width: 9em;
	}
	.wpthemeFrame .wpthemeFooter .wpthemeFooterCol,
	.wpthemeFrame .contentRibbon .component-control {
		width: 50%;
	}
	.wpthemeFooter .wpthemeInner,
	.contentRibbon .contentConstrain .wptheme1Col {
		padding: 20px 0px;
	}
	div.titlepage {
    	font-size: 2em;
	}
	.wrapperProjects .singleProject{
		width: 98%;
	}
	.firstProject img {
    	height: 100%;
	}
	.allProjectsH3 {
	    margin-left: 3px;
	}
	.columnLeftTemplateMedia .uno, .columnLeftTemplateMedia .due, .columnLeftTemplateMedia .tre{
		width: 100%;
	    float: none;
	}
	.firstImageMedia, .thirdImageMedia {
	    width: 98%;
	    margin-right: 15px;
	    float: left;
	}
	.secondImageMedia, .fourthImageMedia {
	    width: 98%;
	    float: left;
	}
	.firstRowMedia {
	    width: 100%;
	    margin-bottom: 0px;
	}
	
	.mediaContainerRight .img{
		height: 75px;
	    margin-top: 10px;
	}
	.media.download {
	    margin-left: 0px;
	    border-right: 0px;
	    width: 190px;
	    margin-top: 10px;
	    display: inline-block !important;
	    text-align: left;
	    padding: 5px 72px 10px 12px;
	    border: 2px solid #e52b38;
	    border-radius: 0px;
	    font-weight: bold;
	    font-size: 12px;
	    background-color: #e43d38;
	    color: #fff !important;
	    border-right: 0px;
	}
	.media.download:hover {
	    margin-left: 0px;
	    border-right: 0px;
	    width: 190px;
	    margin-top: 10px;
	    display: inline-block !important;
	    text-align: left;
	    padding: 5px 73px 10px 12px;
	    border: 1px solid #e52b38;
	    border-radius: 0px;
	    font-weight: bold;
	    font-size: 12px;
	    background-color: #fff;
	    color: #e43d38 !important;
	    border-right: 0px;
	}
	.mediaContainerLeft{
		width: auto;
	}
	.mediaContainerRight span{
		margin-top: 0px;
	}
	.mediaBoldRedP {
	     margin-top: 40px; 
	}
	.mmIdricoContainer .img {
	    width: 290px;
	}
	.mmPerMilanoContainer .img {
	    width: 98%;
	    height: 75px;
	    margin-bottom: 50px;
	}
	.mmPerMilanoContainer span {
	    width: 100%;
	    display: inline-block;
	    height: 75px;
	    background-color: #dc3439;
	    opacity: 0.8;
	    margin-top: 0px;
	}
}
@media all and (max-width: 480px) {
	.promoSlideshow.caption.left .slideCaption h1 {
		font-size: 1.5em;
	}
	/* Footer */
	.post-footer .wpthemeInner .left {
		float: right;
	}
}
