
/*** ELEMENTI PRINCIPALI ***/

#container {
    padding-top: 63px;
}

#slides-news {
    overflow: hidden;
    z-index: 1;
    position: relative;
}

/*** SLIDES ***/  

#slides {   
    position: relative;
    margin-bottom: 12px;
}    

#slides .slide {
    height: 100%; 
    background-size: cover;  
    background-position: center top;    
    background-repeat: no-repeat;   
}   

#slides .link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0; 
    z-index: 200;
}   

#slides .slidesjs-previous, 
#slides .slidesjs-next { 
    position: absolute;
    top: 50%; 
    width: 20px;
    height: 34px;
    background-position: 0 0;
    background-repeat: no-repeat;
    text-indent:-9999em;
    z-index: 500;
    outline: none;
}

#slides .slidesjs-previous {
    background-image: url(../images/red-left-arrow.png); 
    left: 0.8%; 
}

#slides .slidesjs-next {
    background-image: url(../images/red-right-arrow.png);
    right: 0.8%; 
} 

#slides .slidesjs-play {
    display: none;
}      

#slides .slidesjs-stop {
    display: none;
}

#slides .frase {       
    line-height: 74px;
    color:white;
    position: absolute;
    text-decoration: none;
    left: 3.96%;
    bottom: 13%;   
    z-index: 200;
    font-size: 42px;
    font-weight: bold;
    padding-right: 27%;
}   

#slides .frase * {    
    font-size: 74px;  
    font-weight: bold; 
    line-height: 80px;
}   

#maratona {
    position: absolute;
    top: 35px;
    left: 59px;
    z-index: 200;
}

#data {
    position: absolute;
    top: 260px;
    left: 6px;
    z-index: 200;
    background: #ee0000;
    color: white;
    font-weight: bold;
    font-size: 22px;
    padding: 0 28px 0 80px;
}

#data * {
    font-size: 27px;
    line-height: 55px; 
    font-weight: bold;
}

/*** BOX NEWS HOME ***/

#box-news-home {
    position: absolute;
    bottom: 12px;
    right: 6px;
    width: 26%;
    height: 100%;
    z-index: 200; 
    padding-top: 12px; 
    overflow: hidden;
}

#box-news-home .row {
    margin: 0;
    padding: 0; 
    height: 31%;
    width: 100%; 
    background: none repeat scroll 0 0 rgba(172, 171, 170, 0.65);   
    -pie-background: rgba(144, 212, 241, 0.65);
    behavior: url(/PIE.htc);
}

#box-news-home .nine {   
    height: 100%;
    padding: 0 15% 9% 9.8%;
}
  
#box-news-home .pic {
    height: 86.36%;  
    background-position: center center;
    background-repeat: no-repeat;   
    background-size: cover;
}

#box-news-home .title {
    text-transform: none;
    text-align: center;
    font-size: 18px; 
    height: 13.64%;  
    margin-bottom: 0;
    padding-top: 6px;
}

#box-news-home .box {
    position: absolute;
    right: 0;
}

#box-news-home .box.top {
    height: 7%;
}

#box_news_1 {
    position: absolute;
    bottom: 0;
    right: 0;
}   

#box_news_2 {
    position: absolute;
    bottom: 31%;   
    right: 0;
}     

#box_news_3 {
    position: absolute;
    bottom: 62%;   
    right: 0;
}

#box_news_4 {
    position: absolute;
    bottom: 93%;   
    right: 0;
}

/*** VIDEO IN APERTURA ***/

#black-video-cont {
	width: 100%;
	height: 100%;
	background: black;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10000;
	display: table;
}

#black-video-cont .inner-cont {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

#black-video-cont .inner-cont table {
	margin: 0 auto;
	background: black;
	border: none;
	border-collapse: collapse;
}

#black-video-cont .inner-cont td {
	background: black;
}

#black-video-cont .inner-cont tr:first-child td {
	text-align: right;
}

#video-close {
	display: none;
	width: 34px;
	height: 34px;
	cursor: pointer;
	position: absolute;
	top: 2%;
	right: 2%;
}

/*** RESPONSIVE ***/

/* RESPONSIVE: max-width: 1280px */

@media only screen and (max-width: 1280px) {  
    #slides .frase * {
      font-size: 68px;
      line-height: 72px;
    }
}

/* RESPONSIVE: max-width: 1199px */

@media only screen and (max-width: 1199px) {  
    #slides .frase * {
      font-size: 64px;
      line-height: 72px;
    }
    #slides .slidesjs-previous, #slides .slidesjs-next {
      top: 330px; 
    }     
}
  
/* RESPONSIVE: max-width: 1099px */

@media only screen and (max-width: 1099px) {  
    #slides .slidesjs-previous, #slides .slidesjs-next {
      top: 340px; 
    }        
    #slides .frase {
        bottom: 6%;
    }
    #slides .frase * {
      font-size: 58px;
      line-height: 62px;
    }
}
 
/* RESPONSIVE: max-width: 1024px */

@media only screen and (max-width: 1024px) { 
    #box-home .title {
        font-size: 20px;
    }    
    #slides .frase * {
      font-size: 54px;
      line-height: 58px;
    }   
}

/* RESPONSIVE: max-width: 959px */

@media only screen and (max-width: 959px) {   
    #slides .frase {
      bottom: 5%;
      top: auto;
    }
    #slides .frase * {
      font-size: 52px;
      line-height: 56px;
    }
}

/* RESPONSIVE: max-width: 930px */

@media only screen and (max-width: 930px) { 
    #box-home .title {
        font-size: 18px;
    }     
    #slideshow .slide-img { 
        background-size: cover;
    } 
    #slides .frase * {
      font-size: 46px;
      line-height: 50px;
    }  
}

/* RESPONSIVE: max-width:849px */

@media only screen and (max-width: 849px) { 
    #slides .frase * {
      font-size: 40px;
      line-height: 44px;
    }       
}

/* RESPONSIVE: max-width: 768px [a partire da IPAD] */

@media only screen and (max-width: 768px) {    
    #slideshow {
        width: 767px;
        height: 350px;
    }
    #slideshow .slide-img {
        height: 350px;  
    } 
    #slideshow .title {
        width: 96%;
        padding: 10px 20px;
        margin-top: 280px; 
        font-size: 20px;
    }   
    #slideshow .title a,
    #slideshow .title span{
        font-size: 20px;
    }       
    #slides .slidesjs-previous, #slides .slidesjs-next {
      top: 290px; 
    }         
    #slides .slidesjs-previous {
        left: 0.7%; 
    }
    #slides .slidesjs-next {
        right: 0.7%; 
    }  
    #maratona {
        position: absolute;
        top: 30px;
        left: 5%;
        width: 25%;
        z-index: 200;
    }  
    #data {
        top: 206px;
        padding: 0 28px 0 7%;
    }  
    #data * {
        font-size: 22px;
        line-height: 35px; 
    }   
    #slides .frase * {
      font-size: 34px;
      line-height: 38px;
    }   
}
 
/* RESPONSIVE: max-width: 767px */

@media only screen and (max-width: 767px) { 
    #box-news-home .title {
        font-size: 15px; 
    }  
    #box-news-home .nine {
      padding: 0 20% 9% 9.8%;
    }
    #box-home .three {
        /*padding: 14px 15.625%;  */
        padding-top: 14px;     
        padding-bottom: 14px;
    }  
    .box-home [class*="column"] + [class*="column"]:last-child {
        float: none;
    }
}

@media only screen and (max-width: 639px) {        
    #data {
        top: 145px;
    }  
    #data * {
        font-size: 21px;
        line-height: 35px; 
    }      
    #slides .frase {
        padding-right: 0;
    }   
    #slides .frase * {
        font-size: 34px;
        line-height: 38px;
    }
    #slides .slidesjs-previous, #slides .slidesjs-next {
      top: 225px; 
    }
    #data {
        top: 170px;
    }               
    #box-news-home {
      bottom: auto;
      height: auto;
      position: relative;
      right: auto;
      width: auto;   
     /* padding: 14px 15.625%;          */  
        padding-top: 14px;     
        padding-bottom: 14px;
    }        
    #box-news-home .row { 
        height: auto;
        width: 100%;
        background: none repeat scroll 0 0 rgba(255, 255, 255, 0.85);   
        -pie-background: rgba(255,255,255,0.85);
        behavior: url(/PIE.htc);
    }
    #box-news-home .box {
      position: relative;
    } 
    #box-news-home .nine {
      height: 100%;
      padding: 0 9.8% 7%;
    } 
    #box-news-home .pic {
      height: 200px;
    }  
    #box-news-home #box_news_1 {
      padding-top: 30px;
    }     
    #box-news-home #box_news_4 {
      display: none;
    } 
    #box-news-home .title {
        font-size: 18px; 
    }
}    

/* RESPONSIVE: max-width: 550px */

@media only screen and (max-width: 550px) {      
    #data {
        top: 125px;
    }   
    #data * {
        font-size: 19px;
        line-height: 30px; 
    }    
    #slides .frase * {
      font-size: 32px;
      line-height: 35px;
    }
    #slides .slidesjs-previous, #slides .slidesjs-next {
      top: 185px; 
    }
    #data {
        top: 150px;
    }       
}

/* RESPONSIVE: max-width: 479px */

@media only screen and (max-width: 479px) { 
    #maratona {
        top: 15px;
    }   
    #slides .slidesjs-previous, #slides .slidesjs-next {
      top: 155px; 
    }
    #data {
        top: 120px;
    }   
    #data * {
        font-size: 17px;
        line-height: 26px; 
    }    
    
    #slides .frase * {
      font-size: 28px;
      line-height: 30px;
    }  
    #slideshow {
        height: 250px;
    }
    #slideshow .slide-img {
        height: 250px;   
    } 
    #slideshow .title {   
        margin-top: 180px;  
        font-size: 18px;  
        padding: 8px 20px;
    }   
    #slideshow .title a,
    #slideshow .title span {
        font-size: 18px;
        line-height: 20px;
    }    
}

/* RESPONSIVE: max-width: 429px */

@media only screen and (max-width: 429px) {   
    #data {
        top: 58px;
    }  
    #data * {
        font-size: 15px;
        line-height: 21px; 
    }    
    #slides .frase * {
      font-size: 24px;
      line-height: 26px;
    } 
    #slides .slidesjs-previous, #slides .slidesjs-next {
        position: absolute;
        top: 53%;
    }          
}

/* RESPONSIVE: max-width: 380px */

@media only screen and (max-width: 380px) { 
    #maratona {
        top: 10px;
    }     
    #data {
        top: 95px;
    }  
    #data * {
        font-size: 15px;
        line-height: 21px; 
    }    
    #slides .frase * {
      font-size: 20px;
      line-height: 22px;
    } 
    #slides .slidesjs-previous, #slides .slidesjs-next {
        position: absolute;
        top: 65%;
    }    
}

/* RESPONSIVE: max-width: 320px */

@media only screen and (max-width: 320px) {  
    #maratona {
        top: 8px;
    }     
    #data {
        top: 70px;
    }  
    #data * {
        font-size: 14px;
        line-height: 19px; 
    }    
    #slides .frase * {
      font-size: 18px;
      line-height: 20px;
    }  
    #slideshow {
        height: 200px;
    }
    #slideshow .slide-img {
        height: 200px;
    } 
    #slideshow .title {   
        margin-top: 130px;  
        font-size: 16px;  
        padding: 5px 10px;
    } 
    #slideshow .title a,
    #slideshow .title span {
        font-size: 16px;
        line-height: 18px;
    }   
}