/* 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 {
        min-height: 250px;
    }
}

@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;
        width: calc(70% - 50px);
    }
    .imghomeleft {
        width: 40%
    }
    .txthomeright {
        width: 58%;
        padding-top: 0;
    }
    .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: 100px 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;
        float: right;
        height: 100px;
        line-height: 100px;
        padding: 0;
        top:0;
        background-color: transparent
    }
    .nav-item {
        width:auto;
        font-size: 1.5em;
        margin: 0;
        font-weight:600;
    }

    /* 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;
        width: auto;
        line-height: 20px;
        margin-left: 5px !important;
        padding: 5px 20px 5px 5px;
        background-color: #0D4EA5;
        /*background:rgba(0,0,0, 1);*/
    }

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

    .tendina li a:hover {
        color: #cecece !important;
    }
    .banner {
        height: 600px;
    }
    #slides {
        height: 600px;
    }
    .slide_img {
        height: 600px;
    }
    .top {
        height: 100px;
    }
    .logo {
        height: 100px;
    }
    .container-home {
        padding-top: 100px;
    }
    .imghomeleft {
        height: 350px;
    }
    .cnt-news {width: 80%;margin:0 auto;} 
    .cnt-news img {max-width: auto;height: 240px;}
}

@media screen and (min-width: 1360px) {
    .container {
        max-width: 80%;
    }
    .banner {
        height: 700px;
        margin: 0px 0 0 0 ;
        background-size: 50%;
    }
    #slides {
        height: 700px;
    }
    .slide_img {
        height: 700px;
    }
    .nav-link {
        padding: .5rem 2rem;
    }
    .txt-home {
        position: absolute;
        width:30%;
        font-size: 1.3em;
        right: 5%;
        top:50%;
    }
    .txt-home h1 {
        font-size: 2em;
        font-weight: 600;
        margin-bottom: 3%;
    }
    .txt-home p {
        font-weight: 600;
    }
}

@media screen and (min-width: 1440px) {
    .container {
        max-width: 80%;
    }
    .banner {
        height: 800px;
        margin: 0px 0 0 0 ;
        background-size: 50%;
    }
    #slides {
        height: 800px;
    }
    .slide_img {
        height: 800px;
    }
    .nav-link {
        padding: .5rem 2rem;
    }
    .txt-home {
        position: absolute;
        width:30%;
        font-size: 1.3em;
        right: 5%;
        top:50%;
    }
    .txt-home h1 {
        font-size: 2em;
        font-weight: 600;
        margin-bottom: 3%;
    }
    .txt-home p {
        font-weight: 600;
    }
}

@media screen and (min-width: 1600px) {
    .container {
        max-width: 80%;
    }
    .banner {
        height: 800px;
        margin: 0px 0 0 0 ;
        background-size: 50%;
    }
    #slides {
        height: 800px;
    }
    .slide_img {
        height: 800px;
    }
    .nav-link {
        padding: .5rem 2rem;
    }
    .txt-home {
        position: absolute;
        width:30%;
        font-size: 1.3em;
        right: 5%;
        top:50%;
    }
    .txt-home h1 {
        font-size: 2em;
        font-weight: 600;
        margin-bottom: 3%;
    }
    .txt-home p {
        font-weight: 600;
    }
}

@media screen and (min-width: 1920px) {
    .container {
        max-width: 80%;
    }
    .banner {
        height: 1100px;
        margin: 0px 0 0 0 ;
        background-size: 50%;
    }
    #slides {
        height: 1100px;
    }
    .slide_img {
        height: 1100px;
    }
    .nav-link {
        padding: .5rem 2rem;
    }
    .txt-home {
        position: absolute;
        width:30%;
        font-size: 1.5em;
        right: 5%;
        top:40%;
    }
    .txt-home h1 {
        font-size: 2.2em;
        font-weight: 600;
        margin-bottom: 3%;
    }
    .txt-home p {
        font-weight: 600;
    }
}

@media screen and (min-width: 2560px) {
    .container {
        max-width: 80%;
    }
    .banner {
        height: 1100px;
        margin: 0px 0 0 0 ;
        background-size: 50%;
    }
    #slides {
        height: 1100px;
    }
    .slide_img {
        height: 1100px;
    }
    .nav-link {
        padding: .5rem 2rem;
    }
}