
.pd5r{
    padding-right: 5px;
}
.pd5l{
    padding-left: 5px;
}

.text-uppercase{
    text-transform: uppercase;
}

/* CAROUSEL */
[data-carousel-control]{
    cursor: pointer;
    z-index: 2;
}
.carousel {
    display: block;
    position: relative;
    width: 100%;
}
.carousel .item{
    display: block;
    position: relative;
    width: 100%;
    min-height: 300px;
    max-height: 450px;
    overflow: hidden;
}
.carousel .item .item-box{
    display: block;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 25px 200px;
    background: rgba(255,255,255,0.3);
    z-index: 2;
}
.carousel .item .item-box p{
    margin: 0;
}
.carousel .item img{
    width: auto;
    width: 100%;
    height: 100%;
    margin: auto;
    z-index: 1;
}

/* CAROUSEL INDEX */

body.index .carousel .item{
    max-height: 600px;
}
body.index .sticky-wrapper {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
}
body.index .carousel-control .glyphicon-chevron-left, 
body.index .carousel-control .glyphicon-chevron-right, 
body.index .carousel-control .icon-prev, 
body.index .carousel-control .icon-next {
    margin-top: 32px;
}

.macchine table,
.macchine_scheda table{
    display: table;
    width: 100%;
    border: none;
}

.macchine table tr,
.macchine_scheda table tr{
    
}

.macchine table tr td,
.macchine_scheda table tr td{
    font-family: Raleway, sans-serif;
    font-size: 14px;
    font-weight: normal;
    color: #333;
    
    padding: 10px;
    background-color: #FFF;
    
    border: none;
    border-bottom: 1px solid #DDD;
}

.macchine table tr td:first-child,
.macchine_scheda table tr td:first-child{
    background: #F9F9F9;
    font-weight: bold;
    width: 30%;
} 



/** PICONS */
.picon{
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    margin: 5px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    
}
.picon.picon-condotte{
    background-image: url('../images/features/icona-condotte.png');
}
.picon.picon-demolizioni{
    background-image: url('../images/features/icona-demolizioni.png');
}
.picon.picon-movimento_terra{
    background-image: url('../images/features/icona-movimento_terra.png');
}
.picon.picon-strade{
    background-image: url('../images/features/icona-strade.png');
}
.service-wrap-2 a:hover .picon.picon-hover.picon-condotte,
.picon.picon-hover.picon-condotte:hover{
    background-image: url('../images/features/icona-condotte-over.png');
}
.service-wrap-2 a:hover .picon.picon-hover.picon-demolizioni,
.picon.picon-hover.picon-demolizioni:hover{
    background-image: url('../images/features/icona-demolizioni-over.png');
}
.service-wrap-2 a:hover .picon.picon-hover.picon-movimento_terra,
.picon.picon-hover.picon-movimento_terra:hover{
    background-image: url('../images/features/icona-movimento_terra-over.png');
}
.service-wrap-2 a:hover .picon.picon-hover.picon-strade,
.picon.picon-hover.picon-strade:hover{
    background-image: url('../images/features/icona-strade-over.png');
}


/* FB SETUP */
#fb-root {
    display: none;
}

/* To fill the container and nothing else */

.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
    width: 100% !important;
}


/*    MEDIA QUERIES    */
@media (max-width: 1200px) {

}

@media (max-width: 1150px) {

}

@media (max-width: 1000px) {
    .carousel .item .item-box{
        padding: 25px 150px;
    }
}

@media (max-width: 992px) {
    .pd5r{
        padding-right: 0;
    }
    .pd5l{
        padding-left: 0;
    }
    .col-md-1,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10,
    .col-md-11,
    .col-md-12{
        margin-bottom: 25px;
    }
    .col-md-1:last-child,
    .col-md-2:last-child,
    .col-md-3:last-child,
    .col-md-4:last-child,
    .col-md-5:last-child,
    .col-md-6:last-child,
    .col-md-7:last-child,
    .col-md-8:last-child,
    .col-md-9:last-child,
    .col-md-10:last-child,
    .col-md-11:last-child,
    .col-md-12:last-child{
        margin-bottom: 5px;
    }
}

@media (max-width: 800px) {
    
    
    .navbar-nav > li > a {
        padding: 32px 10px 28px;
    }
    .carousel .item .item-box{
        padding: 25px 100px;
    }

}

@media (max-width: 768px) {


}

@media (max-width: 680px) {
    .carousel .item .item-box{
        padding: 25px 50px;
    }
}

@media (max-width: 650px) {
    
}

@media (max-width: 544px) {
    .carousel .item .item-box{
        padding: 25px 30px;
    }
}

@media (max-width: 420px) {
}

