body {

	font-size:1em !important;
	background:none !important;

}

h1{
    
    font-size: 1.8rem;
    
}

h2{
    
    line-height: 3rem;
    padding:0rem 1rem;
    
}

h3{

	padding:0em 0.5em;	
	 
}

.mobile-only{
	
        display:block !important;
	
}

.mobile-not, .ipad-not{

	display:none !important;	
	
}

p.div100{

	padding:0.5em;	
	
}


#breadcrumbs{

	padding:0% 1% !important;	
	
}

#push-screen{

	display:none !important;	
	
}

.content p{
    
    float:left;
    font-size:1rem;
    
}

.cont > p{
    
    float:none !important;
    
}

a.div100{
    
    line-height: 1.6rem;
    font-size: 1.3rem;
    
}

#header #header-top, #header-menu-wrap{
    
    width:100%;
    
}

.ico-block-50{
    
    padding:0% 5%;
    
}
.ico-block-50 .text{
    
    line-height: 1.5rem;
    
}

.ico-block-50 .subtext{
    
   padding-bottom: 0.8rem;
    
}

p.subtitle{
    
    /*font-size:3rem !important;*/
    font-size:1.3rem !important;
    padding:1rem;
    
}

#footer #footer-wrap #footer-socials{
		
	position:relative !important;
	width:100% !important;
	float:left !important;
	top: 0px !important;
	right: 0px !important;
	margin-top:1em !important;
	
}

#footer #footer-wrap #footer-socials a{

	width:10% !important;
	float:left !important;
	margin-top:1em !important;
	display:block !important;
	
}

#footer #footer-wrap #footer-socials span{

	width:20% !important;
	float:left !important;
	margin-top:1em !important;
	
}

#footer #footer-wrap #footer-socials a img{}

#footer #footer-wrap #footer-hdr{

	width:100% !important;
	
}

#footer #footer-wrap #footer-credits{

	height:auto !important;
	min-height:2em !important;	
	
}

#footer #footer-wrap #footer-credits span:last-of-type{

	width: 100% !important;
	text-align:center !important;	
	padding: 0.5em 0em !important;
	margin:0em !important;
}

#footer #footer-wrap #footer-hdr span{

/*	width:10em !important;	*/
	
}


.mainpage{

    width:100% !important;

}

.mainpage #header #header-main #logo-box{
	
    margin-left:2rem !important;

}

span.div100{

    min-height:1.6em !important;
    height:auto !important;
    line-height:1.5em !important;
	
}

#opt-nav{

/*    display:none !important;	*/
	
}

.content{
	
    width:100% !important;
    padding: 0.5rem;
	
}

.content > p{
    
    padding:0.5rem !important;
    
}

.content h2{
    
    padding:0rem 1rem;
    
}

#footer #footer-wrap{
	
    width:100% !important;
	
}

.mainpage #footer #foot-links{

		
	
}

.mainpage #footer #socials{


}

.credits-block{
    
    width:50%;
    
}

#obiettivi img{
    
   width: 49%;
   margin-right: 1%;
   padding:5%;
    
}

#obiettivi > .content > div{
    
   width: 48%; 
   margin-top:0rem;
    
}

#obiettivi > .content > div h2{
    
    margin-bottom:0.5rem;
    padding:0.5rem;
    
}

#obiettivi > .content > div p{
    
    padding:0rem;
    
}

#costruzione{
    
    background-size: auto;
    
}

#progetti a{
    
    width: 30%;
    margin:1rem 35%;
    
}

#hdr-h1-container a{
    
    width: 30%;
    
}

#hdr-h1-container a:first-of-type{
    
    
    margin-left: 20%;
    
}
/*
.div50{
    
    width:50% !important;
    
}*/



#obiettivi a span{
    
    height: 108px;
    
}

#banner-bottom{
    
    background-size: cover;
    min-height: 56rem;
}

#banner-bottom .div50{
    
    width: 100% !important;
    
}

#banner-bottom .div50:nth-child(2){
    
    height:568px !important;
    
}

#banner-bottom .div50 iframe{
    
    width:100%;
    
}

#hdr-h1-container h1{
    
    font-size:1.9rem;
    line-height: 2.3rem;
    margin:0.3rem 0rem;
}

#hdr-h1-container a:first-of-type{
    
    width:40%;
    margin-left: 0rem;
    margin:0.5rem 30%;
    
}

#toplev .div50 img{
    
    padding:5rem 11%;

    
}

#articolo .div50{
    
    margin:1% 0%;
}

#articolo .div50 .date{
    
    width:100%;
    max-width: none;
    border:none;
    margin-bottom: 2rem;
    
}

#articolo > h1{
    
    margin:0.2rem 0rem !important;
    line-height: 2.5rem;
    
}

#articolo .div50 .date-text{
    
    width:100%;
    
}

#articolo .div50 .date-text img{
    
    max-width: 300px;
    
}

#articolo .div50 .date-text p{
    
    float:none;
    
}

#logo-box{
    
    display: none;
    
}

@media only screen and (max-device-width: 1024px) and (min-device-width: 768px){
    
    #obiettivi a{
    
        height: 227px;
    
    }
   
}


@media only screen 
  and (min-width: 1024px) and (max-height: 1366px) and (-webkit-min-device-pixel-ratio: 1.5) {
    
   #obiettivi a{
    
        height: 272px;
    
    }
    
    #hdr-h1-container a:first-of-type,#banner-bottom a.btn-yel{
        
        width:25%;
        margin-left: 0rem;
        margin:2rem 37.5%;
        
    }
    
    #obiettivi a{
    
        height: 239px;
    
    }
    
    #obiettivi a span{
        
        height: auto;
        
    }  
    
    p.subtitle{
        
        line-height: 1.75rem;
        
    }
    
    #logo-box{
    
        display: block;
    
    }
    
      
}


/* Smartphones (landscape) ----------- */
@media only screen and (max-device-width: 1024px) and (min-device-width: 768px) and (orientation: landscape){




}
