
@media screen and (min-width: 816px) {
    
    .work span {
        display: none;
    }

    .work:hover {
        color: #000;   
    }

    .work:hover span {
        display: inline;
    }
    
    .mobileShow {
        display: none;
    }
}

@media screen and (max-width: 815px) {
    
    html,
    #container {
        width: 100vw;
        margin-left: 0;
        overflow-x: hidden ;
    }
    
    body {
        padding-top: 100px;
    }
    
    #home-cycle {
        top: 100px;
    }
    
    #header {
        position: fixed;
        top: 0;
        transition: top 0.2s ease-in-out;
        background: #fff;
        z-index: 1000000;
        padding-bottom: 0;
    }
    
    #header.nav-up {
        top: -120px;
    }
    
    #nav {
        margin-right: -25px;
        width: calc(100vw - 25px) !important;
        background: #fff;
        padding-bottom: 25px;
        padding-right: 25px;
    }
    
    .mobileHide {
        display: none;
    }
    
    #logo {
        max-width: calc(100vw - 150px);
        font-size: 15px;
        line-height: 18px;
    }
    
    #nav-btn {
        position: absolute;
        right: 25px;
        top: 35px;
        display: block;
        width: 25px;
        height: 20px;
        text-decoration: none;
        background: linear-gradient(to bottom, #ffffff 0px,#ffffff 9px,#808080 9px,#808080 11px, #ffffff 11px);
    }
    
    #nav-btn.open {
        background: #fff;
    }
    
    #nav-btn::before {
        transition: 0.3s ease;
        position: absolute;
        display: block;
        content: '';
        width: 25px;
        height: 2px;
        top: 0;
        background: #808080;
    }
    
    #nav-btn::after {
        transition: 0.3s ease;
        position: absolute;
        display: block;
        content: '';
        width: 25px;
        height: 2px;
        bottom: 0;
        background: #808080;
    }
    
    #nav-btn.open::before {
        transform: rotate(-45deg);
        top: 9px;
    }
    
    #nav-btn.open::after {
        transform: rotate(45deg);
        bottom: 9px;
    }
    
    #nav {
        transition: 0.3s ease;
        display: none !important;
        margin-bottom: 20px;
        margin-top: 10px;
    }
    
    #nav.open {
        display: table !important;
    }
    
    #nav .row{
        display: flex;
        flex-direction: column;
    }
    
    #nav li {
        display: block;
        font-size: 20px;
        line-height: 35px;
    }
    #nav .row:first-child li:first-child {
        order: 5;
    }
    #nav .row:first-child li:nth-child(2) {
        order: 4;
    }
    #nav .row:first-child li:nth-child(3) {
        order: 3;
    }
    #nav .row:first-child li:nth-child(4) {
        order: 2;
    }
    #nav .row:last-child li:first-child {
        order: 2;
    }
    #nav .row:last-child li:nth-child(2) {
        order: 1;
    }
    
    #header,
    #footer,
    #footer > div,
    #films .full,
    #films .film-half,
    #films .film-full::after, 
    #films .film-half::after,
    .slide,
    .slide img,
    .slide p,
    .col1_3,
    .col1_3 img,
    .col2_3 {
        width: calc(100vw - 50px) !important;
    }
    
    .col2_3 > div {
        max-width: calc(100vw - 50px) !important;
    }
    
    .col1_3 > a .info {
        padding-bottom: 25px;
    }
    
    #films .full iframe,
    #films .film-half iframe {
        width: 100%;
        height: calc((100vw - 50px) * 0.56);
    }
    
    
    .slide p {
        white-space: normal;
    }
    
    #footer > div {
        padding: 6px 0 !important;
    }
    
    .col2_3,
    .bgbutton,
    .bodytext {
        margin-bottom: 80px;
    }
    
    .emaillink {
        margin-bottom: 5px;
    }
    
    .btn-prev,
    .btn-next {
        margin-top: 40px;
        width: calc(50vw - 25px);
    }
    
    .email {
        max-width: 180px;
        width: calc(100vw - 160px);
    }
    
    .floatleft {
        height: auto;
        padding-bottom: 10px;
    }
    
    .work span {
        display: inline;
    }
    
    .sidebar h4,
    .sidebar h3 {
        display: none;
    }
    
    .sidebar img,
    .sidebar iframe {
        max-width: 100% !important;
    }

    #overlay.gallery #slider {
        margin-top: 0px;
    }
    
    .col2_3 iframe {
        height: calc(64vw - 50px);
    }
}

@media screen and (max-width: 815px) and (orientation: landscape) {
    #slider {
        position: relative;
        top: -30px;
    }
    
    .slide,
    .slide img {
        height: calc(100vh - 150px);
        min-width: auto !important;
        width: auto !important;
    }
    
    .slide p {
        min-width: auto !important;
        width: auto !important;
    }

}

@media screen and (min-width: 680px) and (max-width: 1050px) and (orientation: portrait) {
    
    h1, h2, h3, h4, p, .review p {
        font-size: 18px;    
        line-height: 26px;
    }
    
    .smaller p {
        font-size: 16px; 
        line-height: 22px;
    }
    
    .credits p {
        font-size: 14px; 
        line-height: 20px;
        margin-bottom: 40px;
    }
    
    #header > a {
        transform: scale(1.2);
    }
    
    #header #logo {
        transform-origin: top left;
    }
    
    #header #nav-btn
    #header #slider-btn {
        transform-origin: top right;
    }
}


@media screen and (max-width: 680px) {
    
    .prev,
    .next {
        width: 30px;
        height: 30px;
        background-size: 100% auto;
        top: calc(50vh - 15px);
    }

}