/* 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: 195px; 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: #245828;}
    .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: #245828;
        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%;}
    
    .slide_img {}
    .top {}
    .logo {}
    .container-home {padding-top: 100px;}
    .imghomeleft {}
    .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%;}
    .logo-unipr {height: 90px;}
    .container-top {max-width: 100% !important;}
    .logo img {height: 125px;margin: 10px 2% 10px 0;}
    img.img-sfondo-pr {height: 150px;}
    .banner {margin: 200px 0 0 0;}
    .banner-pages {margin: 200px 0 0 0;}
    .cnt-news {width: 90%;margin:0 auto;} 
    .cnt-news img {width: 100%;}
    .cnt-lang {display: block;}
    .logo img {width: auto;}
    .cnt-pages {margin-top:0px;}
    .row-news .box-home h5 {font-size: 1.5em;}
}
@media screen and (min-width: 1440px) {
    .container-top {max-width: 100% !important;}
    .container {max-width: 80%;}
    .banner-pages {margin: 195px 0 0 0;}
    #slides_pages {height: 400px;}
    .slide_img {}
    .slide_img_pages {height: 400px;}
    .nav-link {padding: .5rem 1.5rem;}
    .logo img {height: 125px;margin: 10px 2% 10px 0;}
    img.img-sfondo-pr {height: 200px;}
    .banner {margin: 195px 0 0 0;}
    img.logo-unipr {height: 90px;}
    .row-news .box-home h5 {font-size: 2em;}
}
@media screen and (min-width: 1600px) {
    .container-top {max-width: 100% !important;}
    .logo img {height: 125px;margin: 10px 2% 10px 0;}
    img.img-sfondo-pr {height: 200px;}
    .banner {margin: 195px 0 0 0;}
    .banner-pages {margin: 195px 0 0 0;}
    img.logo-unipr {height: 90px;}
    .row-news .box-home h5 {font-size: 2em;}
}
@media screen and (min-width: 1920px) {
    .container-top {max-width: 80% !important;}
    .logo img {height: 125px;margin: 10px 2% 10px 0;}
    img.img-sfondo-pr {height: 200px;}
    .banner {margin: 195px 0 0 0;}
    .banner-pages {margin: 195px 0 0 0;}
    img.logo-unipr {height: 90px;}
    .row-news .box-home h5 {font-size: 3em;}
}
@media screen and (min-width: 2560px) {
    .container-top {max-width: 80% !important;}
    .logo img {height: 125px;margin: 10px 2% 10px 0;}
    img.img-sfondo-pr {height: 200px;}
    .banner {margin: 160px 0 0 0;}
    .banner-pages {margin: 195px 0 0 0;}
    img.logo-unipr {height: 90px;}
    .row-news .box-home h5 {font-size: 3em;}
}