
/*** ELEMENTI PRINCIPALI ***/

#container {
    padding-top: 63px;
}

/*** SLIDESHOW ***/

/* graceful orbit loading state */
 
#slider { 
    background: url(/images/foundation/orbit/spinner.gif) center center #f4f4f4 no-repeat; 
    height: 495px; 
}
#slider img { display: none; }

#slider.orbit { background: none; }
#slider.orbit img { display: block; }

/*** BOX HOME ***/  

#box-home .box {
    min-height: 248px; 
    position: relative;
    border-top: 4px solid #dfdfdf;
    padding-top: 4px;
    margin-bottom: 30px;  
    overflow: hidden;
} 
      
#box-home .bg-pic {
    min-height: 244px; 
    background-position: center center;
    background-size: cover;
} 

#box-home .title {
    color: #cc0000;
    text-transform: uppercase;
    font-size: 22px;
    line-height: 26px;
    font-family: 'Noto Serif', serif;  
    padding: 8px 0 5px;
} 
      
#box-home .title a {
    color: #cc0000;
} 
    
#box-home .pic {
    float: left;
    margin-right: 9px;
} 

#box-home .over-texts {
    background: none repeat scroll 0 0 rgba(255, 255, 255, 0.95);
    bottom: 5%;
    left: 0;
    padding: 3% 3% 3% 4%;
    position: absolute;
    width: 80%;   
    -pie-background: rgba(255, 255, 255, 0.95);
    behavior: url(/PIE.htc);
}  

#box-home .texts {
    overflow: hidden;
} 

#box-home .text { 
    line-height: 20px;  
} 

#box-home .link {
}  
 
/*** RESPONSIVE ***/

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

@media only screen and (max-width: 1024px) { 
    #box-home .title {
        font-size: 20px;
    }
}

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

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

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

@media only screen and (max-width: 767px) { 
    #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;
    } 
}

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

@media only screen and (max-width: 479px) {
    #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: 320px */

@media only screen and (max-width: 320px) {   
    #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;
    }   
}