@media only screen and (min-width: 768px) and (max-width: 991px) {
    #logo {
        margin: auto;
    }
    #logo img {
        width: 340px;
        margin-bottom: 10px;
        margin-top: 10px;
    }
    .logo-padding {
        padding-top: 10px;
        padding-bottom: 20px;
    }
    header #main-nav .navbar-nav {
        padding-left: 0px;
    }
    .main-menu-li {
        font-size: 10px !important;
    }
    .bx-wrapper .bx-viewport {
        min-height: 256px;
        margin-top: 0px;
        margin-bottom: 0px;
    }
    #foscari-logo {
        width: 60px;
        right: 40px;
        bottom: 6%;
        z-index: 999;
    }
    #slide-left-icon {
        margin-left: -290px;
    }
    #slide-right-icon {
        margin-right: -310px;
    }
    #slide-left-icon img, #slide-right-icon img{
        width: 35px;
        float: left;
        margin-right: 20px;
        opacity: 0.45;
    }
    #boxes-title h2 {
        font-size: 22px;
        font-weight: 600;
    }
    #boxes-title p {
        font-size: 17px;
        font-weight: 600;
        padding-bottom: 20px;
    }
    #three-box {
        padding-bottom: 20px;
    }
    #three-box #translate-box a {
        margin-top: 20px;
    }
    .box {
        margin-top: 10px;
        margin-bottom: 0px;
    }
    #big-blockquote blockquote {
        font-size: 22px;
    }
    .sx-hand {
        position: absolute;
        top: -4px;
        left: 0px;
        width: 120px;
        opacity: 0.7;
    }
    .dx-hand {
        position: absolute;
        top: -4px;
        right: 0px;
        width: 120px;
        opacity: 0.7;
    }
    #uci {
        margin-right: 0px;
    }
    #partners {
        height: 310px;
    }
    #regione-veneto img {
        width: 100%;
        padding-bottom: 15px;
    }
    #footer-social li {
        margin-right: 6px;
    }
    footer input[type="text"] {
        margin-right: 5px;
    }
    .main-product-banner {
        height: 380px;
        background-attachment: scroll !important;
    }
    #services-page .box-container  {
        min-height: 0;
    }
    #about-page .main-product-banner img {
        position: absolute;
        width: 260px;
        top: 50%;
        margin-top: -20px;
        left: 50%;
        margin-left: -130px;
    }
    #about-page #foscari-logo {
        top: 190px;
    }
    #tour-page blockquote, #live-page blockquote {
        background-attachment: scroll;
    }
    #tour-page .main-product-banner #tour-screen-1, #live-page .main-product-banner #live-screen-1, #translate-page .main-product-banner #translate-screen-1 {
        width: 600px;
    }
    #tour-page .main-product-banner #tour-screen-2, #live-page .main-product-banner #live-screen-2, #translate-page .main-product-banner #translate-screen-2 {
        left: 620px;
    }
    #live-page .video {
        width: 690px;
        height: 388px;
        top:40px;
        left: 15px;
    }
    body[lang=it] #live-box a {
        margin-top: 20px;
    }
    body[lang=en] #live-box a {
        margin-top: 20px;
    }
    body[lang=it] #translate-box a {
        margin-top: 20px;
    }
    body[lang=en] #translate-box a {
        margin-top: 20px;
    }
    #contacts-page {
        overflow: visible;
    }
    #contacts-page aside {
        position: relative;
        width: auto;
        left:0px;
        top: 0px;
        margin-top: 0px;
        margin-left: 0px;
        box-shadow: none;
        margin-bottom: 20px;
    }
    #sub-services .bx-viewport {
        height: 310px !important;
    }
    #sub-services figure img {
        width: 125px;
        margin: auto;
    }
    #sub-services blockquote {
        font-size: 18px;
        text-align: center;
        padding-top: 15px;
    }
    #sub-services li {
        margin-top: 30px;
    }
    /* P Controller */
    #tour-page #first-p {
        min-height: 0; 
    }
    body[lang=it] #tour-page #second-p {
        min-height: 0;
    }
    body[lang=en] #tour-page #second-p {
        min-height: 0;
    }
    body[lang=it] #live-page #first-p {
        min-height: 0;
    }
    body[lang=en] #live-page #first-p  {
        min-height: 0;
    }
    #live-page #second-p {
        min-height: 0;
    }
    #video-frame {
        top: 50% !important;
        left: 50% !important;
        width: 90% !important;
        height: 80% !important;
        margin-left: -45% !important;
        margin-top: -30% !important;
    }
}