@charset "utf-8";

@media (max-width:1100px) { /* STILE TABLET */
    .pathway, .condividi {
        width: 100% !important;
        margin-bottom: 1em;
    }

    .highlights_sx .img_news {
        background: #dcdcdc;
        width: 100%;
        margin-bottom: 1em;
    }

    .highlights_sx .highlights {
        height: auto;
        max-height: inherit;
        margin-bottom: 1em;
        overflow: hidden;
    }

    .highlights_sx .testo_news {
        max-height: 98px;
        overflow: hidden;
        width: 100%;
        margin-top: 1em;
        clear: both;
        position: relative;
    }

    .highlights_sx .img_news div img {
        max-height: inherit;
        max-width: 100%;
        border: none;
    }

    .info h2 {
        font-size: 1.5em;
        top: -6px;
    }

    .info h1 {
        font-size: 2em;
    }

    .sx.home h2 {
        /*font-size: 3em;*/
    }

    .sx.home img {
        width: 23%;
    }

    .container {
        width: 100%;
    }

    .sede_footer {
        width: 65%;
        font-size: 1.3em;
    }

    .news_home {
        width: 23%;
    }

    .sx, .dx, .sede_footer, .mappa_footer, .centro h1 {
        padding-left: 1em;
        padding-right: 1em;
    }

    .cerca {
        /*top: 218px;*/
    }

    .header_dx {
        /*position: absolute;
right: 0px;
width: 55%;
padding-right: 1em;
top: 125px;*/
    }
}
/* STILI TELEFONINO */
@media (max-width:875px) {
    .logo div.prince h1 {
        position: static;
        float: inherit;
        margin-right: 0px;
    }

    .logo div.prince h2 {
        position: static;
        float: inherit;
    }

    .logo div.prince {
        padding: 1em;
    }

    #content ul.partnership li {
        width: 100%;
    }

    .header_dx table {
        position: static;
        float: none;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
    }

    .logo a {
        font-size: 13px;
    }

    .logo, .header_dx {
        width: 100%;
        text-align: center;
    }

    .campo_form {
        width: 100%;
        padding-right: 0em;
    }

    input[type="checkbox"] {
        margin-left: 5px;
    }

    .sx, .dx, .sede_footer, .mappa_footer, .pathway, .condividi, .boxdettaglio {
        width: 100% !important;
    }

        .boxdettaglio.login {
            border-right: none;
            padding-bottom: 6em;
            border-bottom: 1px solid #e2e0e0;
            min-height: inherit;
        }

        .boxdettaglio .btn {
            bottom: 1.5em;
        }

        .boxdettaglio.login.last {
            border-bottom: none;
        }

    .cerca {
        margin-bottom: 20px;
    }

    .dx.home {
        margin-top: 0px !important;
    }

    .all {
        margin-top: 1em;
        margin-bottom: 1em;
    }

    .highlights {
        max-height: inherit;
    }

    .img_news div img {
        max-height: inherit;
        max-width: 100%;
    }

    .news_home {
        width: 93% !important;
        border-bottom: 1px solid #e2e0e0;
        padding-bottom: 0em;
        margin-bottom: 0em;
        margin-top: 1em;
    }

    .omega {
        margin-right: 0;
        border-bottom: none !important;
    }

    .gray {
        padding-bottom: 0em;
    }

    .vline:before {
        background: white;
    }

    .news_home p {
        text-align: left;
    }

    .data {
        position: relative;
        float: left;
        width: 33%;
        padding-right: 1em;
    }

    .messaggio {
        position: relative;
        float: right;
        width: 60%;
        text-align: left;
    }

    .news_home p.giorno, .news_home p.mese {
        text-align: center;
    }

    .testo {
        height: 50px;
    }

    .new {
        text-align: inherit;
    }

    .more_btn {
        margin-top: 1em;
    }

    .sede_footer {
        margin-bottom: 2em;
    }

    div#content {
        padding-bottom: 0em;
    }

    div#footer {
        height: auto;
        position: relative;
        bottom: 0px;
        padding-top: 4em;
        padding-bottom: 4em;
        margin-top: 2em;
    }
}

@media screen and (max-width:800px) {
    .cerca {
    }

        .cerca input[type="text"] {
        }

    .giorno {
        font-size: 6em;
    }

    .mese {
        font-size: 1em;
    }

    .dx .img_news {
        height: auto;
        width: 100% !important;
        display: table;
        position: relative;
        float: left;
        margin-right: 0em !important;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        background-color: rgba(0, 0, 0, 0.03);
        margin-bottom: 2em;
        padding: 0.5em;
    }

        .dx .img_news div img {
            width: 100%;
            height: auto;
            border: none;
            border: 1px solid #ddd;
            margin-bottom: 0em;
            margin-right: 0em;
        }

    nav.principale ul li {
        font-size: 16px !important;
        margin-bottom: 0.1em !important;
    }

    nav.secondario ul li {
        font-size: 14px !important;
        margin-bottom: 0.1em !important;
        min-height: inherit !important;
    }

    .dx_home div.fadehover {
        width: 100% !important;
        height: 235px;
    }

    .testo_news {
        width: 100% !important;
        max-height: 150px;
    }

    .menusup .logo img {
        width: 23% !important;
    }

    .green .box img {
        width: 100% !important;
        margin-bottom: 1em;
    }

    .camera_caption > div {
        padding: 0.5em;
    }

    .list-members li {
        width: 45%;
    }

        .list-members li figure {
            height: 206px;
        }

    .fluid_container.ambient {
        height: 400px !important;
    }

        .fluid_container.ambient img {
            height: 400px !important;
        }

    .grid li {
        width: 100% !important;
        margin-right: 0em !important;
    }

    .testo_news {
        width: 65% !important;
        margin-bottom: 1em !important;
        overflow: hidden;
        max-height: 155px;
    }

    .dx .news {
        padding-bottom: 1em !important;
    }

    .boxdettaglio iframe {
        height: 260px !important;
    }

    .boxdettaglio {
        height: 260px !important;
    }

    .testo_news {
        width: 100% !important;
    }

    #header .logo img {
    }

    .header_dx {
    }

        .header_dx a {
            font-size: 1.5em !important;
        }

        .header_dx img {
        }

    .cerca {
    }

    .testo {
        margin-top: 20px;
    }

    .header_dx {
        width: 50%;
        text-align: right;
        padding: 0px 10px;
    }
}

@media screen and (max-height:768px) {
}

@media screen and (max-width:500px) {
    .header_dx {
        width: 100%;
        text-align: right;
    }

    .cerca {
    }

        .cerca input[type="text"] {
        }

    .riepilogo_news .img_news {
        height: auto;
        width: 100%;
        display: table;
        position: relative;
        float: left;
        margin-right: 1em;
        background: white;
    }

    .corpo .sx .riepilogo_news .img_news div img {
        max-height: inherit;
        max-width: 100%;
        border: none;
        margin-bottom: 1em;
    }

    .centro h1 {
        font-size: 2.5em !important;
    }

    .giorno {
        font-size: 4em;
    }

    .mese {
        font-size: 1em;
    }

    .sede_footer img {
        position: relative;
        float: left;
        height: auto;
        margin-right: 0em;
        width: 100%;
        margin-bottom: 1em;
    }

    .sede_footer {
        text-align: center;
    }

    .mappa_footer iframe {
        height: 300px;
    }

    .testo {
        margin-top: 10px;
    }

    .testo_news {
        max-height: 90px;
        overflow: hidden;
        clear: both;
    }

    .more_btn {
        font-size: 1em;
        margin-top: 0.5em;
    }

    .dx .img_news {
        height: auto;
        width: 100% !important;
        display: table;
        position: relative;
        float: left;
        margin-right: 0em !important;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        background-color: rgba(0, 0, 0, 0.03);
        margin-bottom: 2em;
        padding: 0.5em;
    }

    .testo_news h1 {
        font-size: 1.5em !important;
    }

    .dx .img_news div img {
        width: 100%;
        height: auto;
        border: none;
        border: 1px solid #ddd;
        margin-bottom: 0em;
        margin-right: 0em;
    }

    header {
        margin-bottom: 0px;
    }

    #header .container {
        overflow: hidden;
    }

    .sx.home h1 {
    }

    .sx.home h2 {
    }

    .sx.home img {
        width: 46% !important;
    }

    .gray h1, .centro h1 {
    }

    .gray ul {
        padding-bottom: 2em;
    }

    .sx.home p {
        top: inherit;
        bottom: 1em;
    }

    #header .logo img {
        height: 47px;
    }

    .header_dx {
        /*width: 60% !important;
padding-right: 1em;
top: 45px !important;*/
    }

        .header_dx a, .header_dx span {
            font-size: 0.9em !important;
        }

        .header_dx img {
            width: 33px;
        }

    #topnav #navbtn {
        padding: 0em !important;
        margin-bottom: 4em !important;
    }

    .corpo .sx {
        width: 100%;
        padding: 0px 20px;
    }

    .gallery a {
        width: 100%;
        margin: 0%;
        margin-bottom: 20px;
    }
}
