@media only screen and (max-width: 1200px) {
    #menuToggle {
        display: block;
    }
    .menu {
        display: none;
    }
    .menu-logo {
        display: flex;
        position: absolute;
        top: 0;
        left: 0;
        padding: 0;
        margin: 0;
        width: 100vw;
        height: 70px;
        z-index: 8100;
        // justify-content: center;
        // align-items: center;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.6033263647255778) 0%, rgba(233, 203, 179, 1) 25%, rgba(233, 203, 179, 0.9226540958180147) 72%, rgba(233, 203, 179, 0.7) 100%);
    }
    .menu-logo img {
        display: block;
        width: auto;
        margin-top: 5px;
        height: 60px;
        max-height: 100%;
    }
    .menu-logo2 {
        display: none;
    }
    .pano,
    .frameframe,
    .boxbox,
    .search-display {
        width: calc(100% - 0%);
        left: 0;
        top: 0;
    }
    .foto2 {
        width: calc(100% - 10px);
        height: calc(100% - 10px);
        top: 5px;
        left: 5px;
    }
    .foto-box {
        width: calc(65% - 0.8vw);
        height: calc(100% - 0.8vw);
        top: 0.0vw;
        left: 0.4vw;
    }
    .foto-menu {
        width: 35%;
        height: 100%;
        top: 0px;
        right: 0px;
    }
    .foto-menu-close,
    .foto-menu-close:active {
        width: 4vw;
        height: 4vw;
        top: calc(4px + 1.4vw);
        right: 1.4vw;
        z-index: 7900;
    }
    .foto-menu h1 {
        padding: 2vw 7vw 0 2vw;
        // font-family: NotoSerif-Regular;
        // font-size: 2.0vw;
        // line-height: 2.3vw;
        color: #000000;
        font-weight: 600;
        //text-shadow: 2px 2px 4px #000000;
    }
    .foto-menu-text {
        padding: 2vw 2vw 5vw 2vw;
        //font-size: 1.6vw;
        //line-height: 2.2vw;
    }
}

@media only screen and (orientation:portrait) and (max-width: 1200px) {
    .foto-box {
        width: calc(100% - 1vw);
        height: calc(100% - 36vh);
        left: 0.5vw;
        top: 0.5vw;
    }
    .foto-menu {
        width: 100%;
        height: 36vh;
        top: auto;
        bottom: 0;
        right: 0;
    }
    .foto-menu-close,
    .foto-menu-close:active {
        width: 8vw;
        height: 8vw;
        top: calc(4px + 2.9vw);
        right: 2.9vw;
        z-index: 7900;
    }
    .foto-menu h1 {
        padding: 5vw 5vw 0 5vw;
        //font-size: 4.0vw;
        //line-height: 4.2vw;
    }
    .foto-menu-text {
        padding: 3vw 5vw 7vw 5vw;
        //font-size: 3.3vw;
        //line-height: 4.3vw;
    }
}

@media only screen and (orientation:portrait) and (max-width: 600px) {
    .main-logo {
        position: absolute;
        right: 5vw;
        bottom: 4vw;
        // background-color: #000000;
        width: 90vw;
        height: auto;
        opacity: 0.8;
    }
}

@media only screen and (max-width: 800px) {
    .search-display {
        width: 95%;
    }
    #search-display .obraz_opis p {
        //    font-size: 12px;
        //  line-height: 14px;
    }
    .frameframe1 {
        display: block;
        //background-color: #ffddff;
        width: 90%;
        margin: 80px auto;
        border: 0px;
        //clear: both;
    }
    a.film-box {
        width: 90%;
    }
    .film-box-text p {
        margin: 0 0 0 0;
        padding: 0 10px 0 10px;
        //width: 100%; 
        //background-color: #564088;
        //font-family: 'Cabin-Regular';
        // font-size: 22px;
        // line-height: 27px;
        font-size: 1.0em;
        line-height: 1.0em;
        font-weight: 400;
        color: #6a6a6a;
    }
}

@media only screen and (orientation:portrait) and (max-width: 400px) {
    // #search-display .obrazcont {
    //     width: 100%;
    //     height: 31vw;
    //     //background-color: #777222;
    //     // margin: 3px;
    // }
    // #search-display .obraz {
    //     width: 100%;
    //     height: 30vw;
    //     float: left;
    //     // background: rgba(0,0,0,0.1);
    //     margin: 0 0px 0px 0;
    //     /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+76&0.23+0,0+76 */
    //     background: -moz-linear-gradient(-15deg, rgba(0, 0, 0, 0.23) 0%, rgba(0, 0, 0, 0) 76%);
    //     /* FF3.6-15 */
    //     background: -webkit-linear-gradient(-15deg, rgba(0, 0, 0, 0.23) 0%, rgba(0, 0, 0, 0) 76%);
    //     /* Chrome10-25,Safari5.1-6 */
    //     background: linear-gradient(165deg, rgba(0, 0, 0, 0.23) 0%, rgba(0, 0, 0, 0) 76%);
    //     /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    //     filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#3b000000', endColorstr='#00000000', GradientType=1);
    //     /* IE6-9 fallback on horizontal gradient */
    //     position: relative;
    //     transition: all 0.16s ease;
    //     -webkit-transition: all 0.16s ease;
    //     z-index: 2490;
    //     overflow: hidden;
    // }
    // #search-display .obraz222 {
    //     width: 30vw;
    //     height: 30vw;
    //     border: 0px solid #ffaa00;
    //     margin: 0;
    //     background: rgba(0, 0, 0, 0.4);
    //     transition: all 0.16s ease;
    //     -webkit-transition: all 0.16s ease;
    // }
    // #search-display .obraz_linkdoobrazu {
    //     display: block;
    //     position: absolute;
    //     top: 17vw;
    //     right: 3vw;
    //     width: 10vw;
    //     height: 10vw;
    //     // background-color: #dab128;
    //     background: url('img/ico_lupa2.png') no-repeat left top, #dab128;
    //     -webkit-background-size: cover;
    //     -moz-background-size: cover;
    //     -o-background-size: cover;
    //     background-size: cover;
    //     z-index: 2500;
    //     border-radius: 5vw;
    //     opacity: 0.35;
    //     transition: all 0.16s ease;
    //     -webkit-transition: all 0.16s ease;
    //     cursor: pointer;
    // }
    // #search-display .obraz:hover .obraz_linkdoobrazu {
    //     right: 3vw;
    // }
    // #search-display .obraz_linkdoobrazu:hover {
    //     opacity: 0.95;
    //     // background-color: #fcac22;
    //     background: url('img/ico_lupa2.png') no-repeat left top, #fcac22;
    //     -webkit-background-size: cover;
    //     -moz-background-size: cover;
    //     -o-background-size: cover;
    //     background-size: cover;
    // }
    // #search-display .obraz_opis {
    //     display: block;
    //     position: absolute;
    //     top: 3vw;
    //     left: 32vw;
    //     width: calc(100% - 45vw);
    //     //background-color: #ffaa00;
    // }
    // #search-display .obraz_opis p {
    //     float: none;
    //     padding: 0 5px 0 5px;
    //     margin: 0px;
    //     color: #a9a9a9;
    //     font-size: 2.9vw;
    //     line-height: 3.1vw;
    //     font-weight: 400;
    //     font-family: 'NotoSerif-Regular', serif;
    //     text-align: left;
    //     font-style: normal;
    //     transition: all 0.36s ease 0.2s;
    //     -webkit-transition: all 0.36s ease 0.2s;
    // }
}