body{margin:0; padding:0;font-family:'open_sansregular'; font-size:14px; color:#000; background:url(../images/bg.jpg) no-repeat center 0 fixed;}

/*** IE FONT ***/
@font-face {font-family:'open_sansregular';
    src: url('../fonts/opensans-regular-webfont.eot');
    src: url('../fonts/opensans-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/opensans-regular-webfont.woff') format('woff'),
         url('../fonts/opensans-regular-webfont.ttf') format('truetype'),
         url('../fonts/opensans-regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;}
@font-face {font-family:'open_sansbold';
    src:url('../fonts/opensans-bold-webfont.eot');
    src:url('../fonts/opensans-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/opensans-bold-webfont.woff') format('woff'),
         url('../fonts/opensans-bold-webfont.ttf') format('truetype'),
         url('../fonts/opensans-bold-webfont.svg#open_sansbold') format('svg');
    font-weight:normal;
    font-weight:normal;}
strong{font-family:'open_sansbold';}

/*** COMMON CSS ***/
#main{margin:0 auto; width:100%;}
img{border:0;}
h1, h2, h3, h4, h5{margin:0; padding:0; line-height:normal; width:100%; font-weight:normal;font-family:'open_sansbold';}
ul{margin:0; padding:0; width:100%; float:left;}
ul li{list-style:none; float:left;}

.details_holder{ width:1000px; margin:0 auto;}

/*** HEADER ****/
.header{ width:100%; float:left; margin:30px 0 0 0; background:url(../images/header.jpg) repeat-x; height:104px; text-align:center; box-shadow:0 0 10px #000; }
.logo{ width:436px; float:left;}
.navigation{ width:282px; float:left;font-family:'open_sansbold'; font-size:20px;}
.navigation ul li{width:50%; text-align:center;}
.navigation ul li a{color:#fff; text-decoration:none; display:block; float:left;  height:60px; padding:35px 0 0 0; border-bottom:9px solid #90b929; width:96%; margin:0 2%;}
.navigation ul li a:hover{border-bottom:9px solid #fff;}
.navigation ul li .select{border-bottom:9px solid #fff;}

/*** BANNER ***/
.banner_holder{width:100%; float:left; height:410px; padding:44px 0 0 0;}
#slides { width:990px; margin:0 auto; border:5px solid #779827; box-shadow:0 0 10px #000; clear:both;}
.next_prv_holder{width:100%; float:left; top:0; left:0; position:relative; z-index:15; margin-top:-260px; text-align:center;}
.next_prv_holder .next{ width:42px; float:right;}
.next_prv_holder .prev{ width:42px; float:left;}
.pagination {width:100px; float:right; margin-top:-25px; z-index:50; top:0; left:0; position:relative; padding:0 25px 0 0;}
.pagination li {float:left;margin:0 5px;list-style:none;}
.pagination li a {display:block;width:15px;height:15px;background-image:url(../images/pagination.png);background-position:0 0;float:left;overflow:hidden; text-indent:-999px;}
.pagination li.current a {background-position:0 -27px;}
.slides_control{width:565px; float:left;}
.slides_container {width:990px;display:block; height:auto; float:left;overflow:hidden; z-index:5; top:0; left:0; position:relative;}
.slide_details{width:990px; float:left; height:363px;}

.welcome_content{width:100%; float:left; background:url(../images/white.png); box-shadow:0 0 10px #000; margin-bottom:108px;}

.welcome_text{ width:900px; float:left; padding:30px 50px 0 0; line-height:15px;}
.welcome_text h1{font-size:24px; color:#779827; font-weight:bold; font-weight:bold; padding:0 0 10px 0;}

.certificate{width:305px; float:left; text-align:center; background:url(../images/white2.png); padding:30px 0; font-size:24px; color:#779827; font-weight:bold; text-shadow:1px 1px 1px #000;font-family:'open_sansbold';}

.common_content{width:100%; min-width: 1000px; height:327px; float:left; background:url(../images/patch.png) no-repeat center 0;}

.next_prv_holder{width:100%; float:left; top:0; left:0; position:relative; z-index:15; margin-top:-260px; text-align:center;}
.next_prv_holder .next{ width:42px; float:right;}
.next_prv_holder .prev{ width:42px; float:left;}
.pagination {display:none;}
.slides_control{width:100%; float:left;}
.slides_container {width:100%;display:block; height:auto; float:left;overflow:hidden; z-index:5; top:0; left:0; position:relative;}
.slide_details{width:990px; float:left; height:363px;}

#small_slides { width:317px; float:left; padding-right: 3px;}
.small_next_prv_holder{width:100%; float:left; top:0; left:0; position:relative; z-index:15; margin-top:-330px; text-align:center;}
.small_next_prv_holder .next{ width:15px; float:right; margin:0 10px 0 0;}
.small_next_prv_holder .prev{ width:15px; float:left; transform: translateX(-10px);}
.small_slide_details{width:320px; float:left; height:363px;}

.ultime_notizie{width:290px; float:left; padding:20px 15px 0 15px;} 
.ultime_notizie .title{width:100%; float:left; font-size:13px; color:#526e10;}
.ultime_notizie .title strong{font-size:15px;}
.ultime_notizie .title span{font-family:'open_sansbold'; font-size:19px; color:#779827;}
.ultime_notizie .img_holder{width:100%; float:left; padding:8px 0;}
.ultime_notizie .img_holder img{border:3px solid #779827;}
.ultime_notizie .text_holder{width:100%; float:left; font-size:11px; line-height:12px;}

.services{ width:320px; float:left; padding:0 20px;}
.services .title{width:310px; float:left; padding:10px 0 20px 10px;font-family:'open_sansbold'; font-size:19px; color:#779827;}
.services .services1{width:299px; float:left; padding:0px 10px 0px 9px; margin-left: 1px; background:url(../images/white2.png); font-size:16px; font-weight:bold; line-height:18px;}
.services .services1 img{float:right; border:2px solid #779827;}
.services .services2{width:299px; float:left; padding:0px 10px 0px 9px; background:url(../images/white2.png); font-size:16px; font-weight:bold; text-align:right; margin:20px 0; margin-left: 1px;  line-height:18px;}
.services img{float:left; border:2px solid #779827;}

.la_nostra_sede{width:290px; float:left; padding:20px 15px 0 15px;}
.la_nostra_sede h2{font-family:'open_sansbold'; font-size:19px; color:#779827; padding:0 0 15px 0;}
.la_nostra_sede ul li{width:100%; float:left; margin-bottom:15px;}
.la_nostra_sede ul li img{border:3px solid #779827;}

/*** FOOTER ****/
.footer{ width:100%; float:left; text-align:center; font-size:12px; color:#fff; padding:25px 0;}
.footer a{color:#fff; text-decoration:none;}

.row{
    float: left;
    clear: both; 
    width: 100%;
}

    .row-w{
        width: 1000px;
        margin:0px auto;
        margin-top: 10px;

    }

        .row-w h1{
            color: #02814e;
            padding: 15px 10px;
            font-weight: 600;
            display: block;
            background-color: #fff;
            font-family:'open_sansbold';
            font-size: 19px;
            width: 980px;
        }

        .row-w h2.servizi_title{
            color: #02814e;
            font-weight: 600;
            display: block;
            background: url("../images/white.png") 0 0;
            font-family:'open_sansbold';
            font-size: 18px;
            width: 29%;
            display: inline-block;
            border-radius: 20px 20px 0px 0px;
            text-align: center;
            padding: 20px 2%;
            margin-top: 20px;
            height: 150px;
            overflow: hidden;
        }

        .row-w h2.servizi_title img{
            width: 100%;
            margin-top: 10px;
        }


.generic-text{
    color: #000;
    font-size: 15px;
    line-height: 22px;
    font-family:'open_sansregular';
    padding: 15px;
    margin: 0px;
}

    .link-1, .link-1:visited{
        color: #02814e;        
        font-family:'open_sansbold';
        border-bottom: 2px solid #02814e;
        text-decoration: none;
    }

    .link-1:hover{
        color: #000;
        border-color: #000;
    }

.transp-text{
    background: url("../images/white.png") 0 0;
}


#contact-p{
    height: 180px;
}

#realizzazioni-container{

    width: 100%;    
}

    .nomargin-l{
        margin-left: 0px !important;
    }

    
    .single-block{
        width: 242px;
        height: 300px;
        overflow: hidden;
        float: left;
        display: block;
        margin-top: 25px;
        margin-left: 10px;

        -webkit-transition: all 160ms ease-out;
        -moz-transition: all 160ms ease-out;
        -ms-transition: all 160ms ease-out;
        -o-transition: all 160ms ease-out;
        transition: all 160ms ease-out;

        cursor: pointer;
    }

    .single-block:hover{
        z-index: 99;

        -webkit-transition: all 160ms ease-out;
        -moz-transition: all 160ms ease-out;
        -ms-transition: all 160ms ease-out;
        -o-transition: all 160ms ease-out;
        transition: all 160ms ease-out;

        -webkit-box-shadow: 0 2px 12px 1px rgba(0,0,0,0.7);
box-shadow: 0 2px 12px 1px rgba(0,0,0,0.7);

        -moz-transform: scale(1.2);
        -webkit-transform: scale(1.2);
        -o-transform: scale(1.2);
        -ms-transform: scale(1.2);
        transform: scale(1.2);
    }

     .single-block:hover p{
        background: #fff;
     }

     .single-block a{
        color: #02814c;
        font-family:'open_sansbold';
        border-bottom: 2px solid #02814c;
        text-decoration: none;
     }


        .single-block h2{   
            color: #097d4e;
            font-family:'open_sansbold';
            font-size: 16px;
            background-color: #fff;
            padding: 5px 0px 5px 0px;
            display: block;
            text-indent: 10px;
        }

    .single-block p{
        background: url("../images/white.png") 0 0;
        padding: 10px;
        color: #000;
        font-size: 12px;
        line-height: 17px;
        font-family:'open_sansregular';
        margin-top: 0px;
        margin-bottom: 0px;
        height: 122px;
    }    

    .single-block img{
        width: 100%;
    }

#overlay-thumbs{
    background: url("../images/white.png") 0 0;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 998;
    cursor: pointer;
    display: none;
}

#realizzazioni-slider-container{
    width: 1000px;
    position: absolute;
    top: 0px;
    left: 50%;
    margin-left: -500px;
    display: none;
}

.thumbs-container{
    width: 960px;
    clear: both;
    overflow: hidden;
    display: none;
    position: absolute;
    top: 200px;
    background: #fff;
    padding: 20px;
    z-index: 999;
    -webkit-box-shadow: 0 2px 22px 1px rgba(0,0,0,0.7);
    box-shadow: 0 2px 22px 1px rgba(0,0,0,0.7);
}

    #close-thumbs{
        position: absolute;
        left: 964px;
        top: 160px;
        z-index: 998;
        cursor: pointer;
        display: block;
    }

    .thumbs-container a{    
        display: block;
        float: left;
        height: 70px;
        width: auto;
        margin-right: 20px;
        margin-bottom: 20px;
        -webkit-box-shadow: 0 1px 3px 1px rgba(0,0,0,0.7);
        box-shadow: 0 1px 3px 1px rgba(0,0,0,0.7);

        -webkit-transition: all 160ms ease-out;
        -moz-transition: all 160ms ease-out;
        -ms-transition: all 160ms ease-out;
        -o-transition: all 160ms ease-out;
        transition: all 160ms ease-out;
    }

    .thumbs-container a:hover{    
        -webkit-transition: all 160ms ease-out;
        -moz-transition: all 160ms ease-out;
        -ms-transition: all 160ms ease-out;
        -o-transition: all 160ms ease-out;
        transition: all 160ms ease-out;

        -moz-transform: scale(1.2);
        -webkit-transform: scale(1.2);
        -o-transform: scale(1.2);
        -ms-transform: scale(1.2);
        transform: scale(1.2);
    }

@media (max-width: 1024px) {

    .footer{
        background: #02804d no-repeat center 0 fixed;
    }

    .footer,
    .row{
        float: none;
        clear: both;
        padding-top: 10px;
    }

    .thumbs-container{
        position: fixed;
        width: 100%;
        top: 10px;
        left: 0;
        box-sizing: border-box;
        max-height: 80vh;
        overflow-y: auto;
    }

    .header{
        height: 214px;
        background-repeat: repeat;
    }

    .navigation{
        font-size: 16px;
    }

    .details_holder{
        width: 100%;
        position: relative;
    }

        .navigation{
            position: absolute;
            width: 50%;
            top: 110px;
        }

        .details_holder div:nth-child(1){
            left: 0;
        }

        .details_holder div:nth-child(3){
            right: 0;
        }

    .logo{
        top: 0;
        position: absolute;
        width: 100%;
    }

    .logo img{
        max-width: 100%;
    }

    .welcome_content{
         box-sizing: border-box;
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 8px;
    }

    #small_slides{
        width: 100%;
        box-sizing: border-box;
    }

    .small_slide_details{
        width: 100%;
        height: 100px;
    }

    #small_slides .slides_control{
        height: 100px !important;
    }

    .ultime_notizie{
        
    }

    .small_next_prv_holder{
        position: absolute;
        margin-top: 0;
        top: 40px;
    }

    .common_content{
        min-width: 0;
        box-sizing: border-box;
        padding-left: 15px;
        padding-right: 15px;
        background-image: none;
        background-color:rgba(255,255,255,0.8);
        height: auto;
    }

    .details_holder,
    .services,
    .la_nostra_sede{
        box-sizing: border-box;
        width: 100%;
    }

    .services .title{
        float: none;
        width: 100%;
        padding-left: 0;
    }

    .services{
            padding: 0 15px;
    }

    .services .services1,
    .services .services2{
        width: 33%;
        box-sizing: border-box;
        margin: 20px auto;
        height: 100px;
        padding: 12px;
    }

    .la_nostra_sede ul li{
        width: 50%;
    }

    .banner_holder{
        height: auto;
        margin-bottom: 20px;
    }

    #slides{
        width: 100% !important;
        position: relative;
        box-sizing: border-box;
    }

     
         #slides .slides_control,
         #slides .slide_details{
            height: 35vw !important;
            width: 100% !important;      
            box-sizing: border-box;  
        }

        #slides .slide_details img{
            max-width: 100%;
        }
    
    .next_prv_holder{
        position: absolute;
        top: 50%;
        margin-top: -85px;
    }

    .row-w,
    .row-w h1{
        width: 100%;
         box-sizing: border-box;    
    }

    .single-block{
        width: 33%;
        height: auto;
         box-sizing: border-box;    
         margin: 0px !important;
         border: 6px solid transparent;
         transform: none !important;
    }

    #realizzazioni-slider-container{
        width: 100%;
        left: 0;
        margin-left: 0;
    }

    #close-thumbs {
        position: fixed;
        left: 10px;
        bottom: 10px;
        top: auto;
    }

}

@media (max-width: 992px) {

    #contact-p {
        height: auto;
        overflow: hidden;
        text-align: center;
    }

    #contact-p img{
        float: left !important;
        width: 50%;
        height: auto !important;
        margin: 0 !important;
        margin-bottom: 10px !important;
    }

    .row-w h2.servizi_title{
        width: 50%;
        box-sizing: border-box;    
        float: left;
        border: 6px solid transparent;
    }

    .la_nostra_sede h2,
    .title{
        text-align: center;

    }

    .services .services1, .services .services2{
        height: auto;
        text-align: center;
    }

    .services img{
        display: block;
        margin: 15px auto;
        float: none !important;

    }
    
}

@media (max-width: 767px) {

    .row-w h2.servizi_title{
        width: 100%;
        height: auto;
        border-radius: 10px;
        margin-top: 5px;
    }

    .single-block{
        width: 50%;
    }

    .la_nostra_sede ul li,
    .services .services1, .services .services2{
        width: 100%;
        text-align: center;
    }

    .navigation{
        width: 100%;
    }

    .details_holder div:nth-child(3){
        top: 160px;
    }

    .navigation ul li a{
        height: 30px;
        padding: 15px 0 0 0;
    }
    
}

@media (max-width: 480px) {
     .single-block{
        width: 100%;
    }

     #contact-p img{
       width: 100%;
    }
    
}