/* smartphone verticale gestito col default */
@media screen and (min-width: 320px) and (max-width: 600px) {
    .txt-editor table {width:100% !important;}
    .txt-editor table.no-responsive {width:100% !important;}
    .txt-editor table.no-responsive tr td {display: table-cell !important;}
    .txt-editor table:not(.no-responsive) tr td {display: block;width:100% !important;}
    .txt-editor table tr {max-width: 100%;height: auto !important;}
    .txt-editor table tr td {max-width: 100%;height: auto !important;}
    .txt-editor table tr td img {max-width: 100%;height: auto !important;float:none !important;}
    .txt-editor table tr td iframe {max-width: 100%;}
}
/* 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: 250px; width:32%;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: 30% }
    .txthomeright { width: 68%; padding-top: 0; }
    .txthomeright p {line-height: 150%;}
    .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; }
    .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: #ffad00;}
    .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: #1A3F7A;
        font-size: .9em;
        font-weight: 300;
        /*background:rgba(0,0,0, 1);*/
    }

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

    .tendina li a:hover {
        color: #ffde17 !important;
    }
    .tendina li ul.sottotendina {display:none;position: absolute;top:0;left:97%;width:100%;}
    
    #slides {width: 100%;height: 100%;}
    .slide_img {width: 100%;height: 100%;}
    .top {}
    .logo {}
    .container-home {padding-top: 100px;}
    .imghomeleft {height: 300px;}
    .row-news .box-home {float: left;width:32%;margin: 10px .5% 0 0;}
    .row-news .box-home:nth-child(4) {margin-right: 0;}
    .box-consiglio {width:70%;margin:50px auto;}
    .box-dett {width:50%;}
    .logo-unipr {height: 90px;}
    .container-top {max-width: 100% !important;position: relative;}
    .logo img {height: 80px;margin: 10px 2% 10px 0;width: auto;}
    img.img-sfondo-pr {height: 80px;float: right;width: auto;display: block;margin: 10px 0;}
    .banner {margin: 200px 0 0 0;}
    .banner-pages {margin: 180px 0 0 0;}
    .cnt-news {width: 90%;margin:0 auto;} 
    .cnt-news img {width: 100%;}
    .cnt-social {display: block;position: absolute;height: 100%;right: 0;top:0}
    .cnt-social ul li {display: inline-block;}
    .cnt-social ul li img {height: 30px;margin: 5px 20px 0 0;}
    .box-member {width: 80%;}
    .nav-link {padding: .5rem 1.5rem;}
    .modal-lg {max-width: 99%;}
}
@media screen and (min-width: 1440px) {
    .container-top {max-width: 100% !important;}
    .container {max-width: 80%;}
    .banner-pages {margin: 250px 0 0 0;}
    #slides {width: 100%;height: 100%;}
    #slides_pages {height: 400px;}
    .slide_img {width: 100%;height: 100%;}
    .slide_img_pages {height: 400px;}
    .nav-link {padding: .5rem 1.5rem;}
    .logo img {height: 100px;margin: 10px 0 0;}
    img.img-sfondo-pr {height: 100px;margin: 10px 0;}
    .banner {margin: 250px 0 0 0;}
    img.logo-unipr {height: 90px;}
}
@media screen and (min-width: 1600px) {
    .container-top {max-width: 100% !important;}
    .logo img {height: 100px;margin: 10px 0 0;}
    img.img-sfondo-pr {height: 90px;margin: 10px 0;}
    .banner {margin: 250px 0 0 0;}
    .banner-pages {margin: 250px 0 0 0;}
    img.logo-unipr {height: 90px;}
}
@media screen and (min-width: 1920px) {
    .container-top {max-width: 80% !important;}
    .logo img {height: 100px;margin: 10px 0;}
    img.img-sfondo-pr {height: 90px;margin: 10px 0;}
    .banner {margin: 250px 0 0 0;}
    .banner-pages {margin: 250px 0 0 0;}
    img.logo-unipr {height: 90px;}
}
@media screen and (min-width: 2560px) {
    .container-top {max-width: 80% !important;}
    .logo img {height: 100px;margin: 10px 0;}
    img.img-sfondo-pr {height: 90px;margin: 10px 0;}
    .banner {margin: 250px 0 0 0;}
    .banner-pages {margin: 250px 0 0 0;}
    img.logo-unipr {height: 90px;}
}