/* smartphone verticale gestito col default */
@media screen and (min-width: 320px) {

}
/* smartphone orizzontale */
@media screen and (min-width: 480px) {

}
/* tablet verticale */
@media screen and (min-width: 768px) {
    .imgelencoprog { width: 100%; margin-right: 20px; }
    .box-news-home { float:left;min-height: 200px; width:100%;margin:0 1% 0 0;}
    .cnt-lang {position: absolute;right: 0;top:40%;}
}

@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

}

/* tablet orizzontale e schermi 1024x768 */
@media screen and (min-width: 1024px) {
    .imgelencoprog { position: relative; width: 25%; margin-right: 30px; }
    .titelencoprod { position: relative; }
    .imghomeleft { width: 60% }
    .txthomeright { width: 38%; padding-top: 0; }
    .txthomeright p {line-height: 250%;}
    .img-news {float: left;width: 50%;}
    .txt-news {float: left;width: 70%;}
    .nav-link {padding: .5rem .7rem;}
}
/* schermi moderni grandi */
@media screen and (min-width: 1200px) {
    #imgopenmenu { display: none; }
    .banner {height: 400px;margin: 150px 0 0 0 ;background-size: 70%;}
    .txt-home {width:70%;}
    .cnt-box-partners {position: relative;width: 80%;margin:0 auto;}
    .box-news-home {margin: 0;}
    .menu-mob {display:none;}
    .menu {display: block;position: relative;width: auto;height: 50px;line-height: 50px;padding: 0;top:0; background-color: #005eb8;}
    .nav-item {width:auto;font-size: 1.3em;margin: 0;text-transform: uppercase;font-weight: 400;}

    /* tendina */
    .menu_top .tendina {
        padding-top: 10px
    }

    .tendina {
        position: absolute; 
        z-index:4; 
        width: auto;
        margin-left: -4px;
        /*padding-top: 20px;*/
        display: none;
        text-align: left; 
    }

    .tendina li, .tendina li:first-of-type {
        display: block;
        position: relative;
        width: auto;
        line-height: 120%;
        margin-left: 5px !important;
        padding: 5px 20px 5px 5px;
        background-color: #ffffff;
        font-size: .9em;
        font-weight: 300;
        /*background:rgba(0,0,0, 1);*/
    }

    .tendina li a {
        color: #d7017e !important;
    }

    .tendina li a:hover {
        color: #d6469a !important;
    }
    .tendina li ul.sottotendina {display:none;position: absolute;top:0;left:97%;width:100%;}
    
    .banner {height: 600px;}
    .banner-pages {height: 0px;}
    #slides {height: 600px;}
    .slide_img {height: 600px;}
    .top {height: 150px;}
    .logo {height: 100px;}
    .container-home {padding-top: 50px;}
    .imghomeleft {height: 300px;}
    .row-news .box-home {float: left;width:32%;margin: 10px 0.5% 0 0;}
    .row-news .box-home:nth-child(4) {margin-right: 0;}
    .box-consiglio {width:70%;margin:50px auto;}
    .box-dett {width:50%;}
    .wrapper-home {position: relative;width:100%;height: auto;}
    .row-news .box-home h5 {font-size: 2.5em;}
    .riga-home {width: 40%;}
    a.link-home {}
    .cnt-news {width: 80%;margin:0 auto;} 
    .cnt-news img {max-width: auto;height: 240px;}
}
@media screen and (min-width: 1467px) {
    .container {max-width: 80%;}
    .banner {height: 500px;margin: 150px 0 0 0 ;background-size: 50%;}
    .banner-pages {height: 0px;}
    #slides {height: 500px;}
    #slides_pages {height: 400px;}
    .slide_img {height: 500px;}
    .slide_img_pages {height: 400px;}
    .nav-link {padding: .5rem 1.5rem;}
}
@media screen and (max-width: 1440px) {
    .row-news .box-home h5 {font-size: 2.2em;}
    .slide_img {background-size: 150% 100%;}
}