@media (max-width: 767px) {
    body {
        font-size: 13px !important;
    }
    .container {
        max-width: 100%;
    }
    #navbar {
        height: 100%;
    }
    .navbar-toggle {
        position: fixed;
        right: 0;
        z-index: 101;
        top: 15px;
        padding: 9px 10px;
        margin-top: 8px;
        margin-right: 15px;
        margin-bottom: 8px;
        background-color: rgba(255,255,255,0.8);
        background-image: none;
        border: 1px solid transparent;
        border-radius: 4px;
        border-color: #CCC;
        transition-property: background-color;
        transition-duration: 0.4s;
    }
    .navbar-toggle:hover, .navbar-toggle:focus {
        background-color: rgba(220,220,220,0.8);
    }
    .navbar-toggle .icon-bar {
        background-color: #CCC;
    }
    .navbar-toggle .icon-bar {
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 1px;
    }
    .mainmenu {
        width: 100%;
        right: 100%;
        height: 100vh;
        background-color: #FFF;
        top: 0;
        overflow: scroll
    }
    .mainmenu .navbar-brand {
        display: block;
    }
    #navbar {
        display: block;
    }
    .mainmenu li a {
        font-size: 1em !important;
    }
    .navbar-nav > li > a {
        padding-bottom: initial;
    }
    .navbar-nav ul ul a {
        padding-left: 40px !important;
    }
    #navbar .dropdown-menu > li.parent > a {
        font-weight: bolder;
        font-size: 13px !important;
    }
    .mainmenu {
        position: fixed;
        z-index: 100;
        background-color: #FFF;
    }
    .mainmenu .nav-child {
        display: block;
        width: 100%;
        position: relative;
        left: 0;
        box-shadow: none;
        border: none;
    }
    b.caret {
        display: none;
    }
    .news-big h2, .news-small h2 {
        font-size: 2.0em;
        line-height: 1.25em;
        margin: 0;
    }
    .brevi ul {
        width: 100%;
    }
    .brevi ul li {
        border-right: 0;
    }
    .stream, .stream li {
        width: 100% !important;
    }
    .gallery h3 {
        margin-top: 15px;
    }
    .brevi ul li, ul.thumbnails li {
        margin-left: 0;
        width: 100%;
    }
    .partner {
        padding: 0;
    }
    .partner > li {
        width: auto;
        display: block;
        border: 0;
        border-bottom: 1px solid #CCC;
    }
    .partner > li:last-child {
        width: auto;
        display: block;
        border-bottom: 0;
    }
    .separatore.grigio.pull-right {
        text-align: center;
    }
    .stream li .section-thumb {
        padding-right: 7px;
    }
    .stream li.dcsns-instagram .section-thumb img {
        margin: 0 !important;
    }
    ul.breadcrumb {
        overflow: scroll hidden;
    }
    #icagenda_calendar td div {
        width: 100% !important;
    }
    #dati {
        text-align: left;
        margin: 20px 0;
        color: #043846;
        display: block;
        border-top: 1px solid #043846;
    }
    #dati span {
        display: block;
    }
    #dati span.nome {
        font-weight: bolder;
    }
    .col-md-9 > .separatore {
        margin-bottom: 0;
    }
}
@media (min-width: 768px) and (max-width: 979px) {
    body {
        font-size: 13px !important;
    }
    #navbar {
        top: 35px;
        position: absolute;
    }
    .navbar-brand {
        position: relative;
        height: 120px;
        display: inline-block;
        padding: 0;
    }
    .navbar-brand > img {
        display: inline-block;
        margin-right: 15px;
    }
    a.navbar-brand span {
        position: absolute;
        left: 100%;
        bottom: 3px;
        width: 100%;
    }
    .mainmenu {
        position: relative;
        height: 110px;
    }
    .mainmenu .navbar-brand {
        display: none;
    }
    #fontsize h3 {
        display: none;
    }
    .brevi {
        font-size: 10px;
    }
    .brevi .col-sm-4 {
        padding-top: 5px;
        padding-bottom: 15px;
    }
    ul.thumbnails {
        width: 100%;
    }
    .loghi {text-align
        }
        .loghi br {
        display: none;
    }
    ul.breadcrumb {
        overflow: scroll hidden;
    }
    #icagenda_calendar td div {
        width: auto !important;
    }
    #icagenda_calendar th, #icagenda_calendar td {
        overflow: hidden;
        width: 22.5px !important;
        padding: 0 !important;
    }
    #dati {
        text-align: center;
        margin: 20px 0;
        display: block;
        border-top: 1px solid #043846;
    }
    #dati span {
        margin-right: 5px;
    }
    #dati span.hidden-xs {
        margin-right: 0;
    }
    #dati span.nome {
        font-weight: bolder;
        display: block;
        margin-right: 0;
    }
}
@media (min-width: 980px) {
    #navbar {
        top: 35px;
        position: absolute;
    }
    .navbar-brand {
        position: relative;
        height: 120px;
        display: inline-block;
        padding: 0;
    }
    .navbar-brand > img {
        display: inline-block;
        margin-right: 15px;
    }
    a.navbar-brand span {
        position: absolute;
        left: 100%;
        bottom: 3px;
        width: 100%;
    }
    .mainmenu {
        position: relative;
        height: 110px;
    }
    .mainmenu .navbar-brand {
        display: none;
    }
    .navbar-nav > li {

        font-size: 85%;
    }
    .social-icons a {
        max-width: 18%;
    }
    #MTImageGallery .item {
        min-height: 575px;
    }
    .stream li {
        width: 220px !important;
    }
    #dati {
        text-align: center;
        margin: 20px 0;
        display: block;
        border-top: 1px solid #043846;
    }
    #dati span.hidden-xs {
        margin-right: 0;
    }
    #dati span {
        margin-right: 5px;
    }
}
@media (min-width: 1200px) {
    #navbar {
        top: 50px;
        position: absolute;
    }
    .navbar-nav > li {
        font-size: inherit;
    }
    #MTImageGallery .item {
        min-height: 675px;
    }
    .stream li {
        width: 214px !important;
    }
}
