@media all and (max-height: 600px) {
    .attached-boxes {
        top: 70vh;
    }
}
@media all and (max-height: 380px) {
    .attached-boxes {
        display: none;
    }
}

@media all and (max-width: 1750px) {
    .hp-prehlednost-text {
        margin-left: 15%;
    }
    .o-nas-vyuziti-frame .text-wrap {
        margin-right: 8%;
        margin-top: 11%;
    }
    .o-nas-vyuziti-frame .monitor-full {
        left: 0%;
    }
}

@media all and (max-width: 1600px) {
    .fake-reference-swiper-button-next {
        right: 0;
        z-index: 9999;
    }
    .fake-reference-swiper-button-prev {
        left: 0;
        z-index: 9999;
    }
    .hp-prehlednost-text {
        margin-left: 13%;
        margin-top: 8%;
    }
    .o-nas-vyuziti-frame .monitor-full {
        left: 2%;
        top: 100px;
        width: 45%;
    }
}

@media all and (max-width: 1500px) {
    .o-nas-vyuziti-frame .text-wrap h2 {
        font-size: 21px;
        margin-top: 15px;
        margin-bottom: 20px;
    }
    .o-nas-vyuziti-frame .text-wrap ul {
        margin: 15px 0 35px 35px;
    }
    .o-nas-vyuziti-frame .text-wrap {
        margin-right: 4%;
        margin-top: 15%;
    }
}

@media all and (max-width: 1400px) {
    .hp-prehlednost-text h2 {
        font-size: 25px;
        margin-bottom: 30px;
    }
    .mobile-full {
        right: 10%;
    }
    .o-nas-vyuziti-frame .monitor-full {
        display: none;
    }
    .o-nas-vyuziti-frame {
        background: #F15E66;
        min-height: auto;
        height: auto;
    }
    .o-nas-vyuziti-frame .text-wrap {
        margin: 35px auto;
        float: none;
    }
}

@media all and (max-width: 1376px) {
    .tablet-frame {
        left: 14%;
    }
    .laptop-frame {
        right: -6.5%;
    }
    .grey-img-desc-wrapper .desc-part {
        -webkit-transform: initial;
                transform: initial;
        -webkit-transform: translateY(-50%);
                transform: translateY(-50%);
        z-index: -1;
    }
}

@media all and (max-width: 1200px) {
    .main-header .menu ul li {
        text-align: center;
        font-size: 17px;
    }
    .footer-links {
        text-align: center;
    }
    .footer-links-kontakty table {
        margin: 0 auto;
    }
    .reference-backgrounds div {
        position: static;
        transform: initial;
        margin: 15px auto;
    }
    .reference-swiper {
        padding-bottom: 50px;
    }

    .reference-backgrounds {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 0;

        display: none;
    }

    .mobile-frame-content, .tablet-frame-content, .pc-frame-content, .laptop-frame-content {
        position: relative;
        top: initial;
        left: initial;
        right: initial;
        bottom: initial;
        transform: initial;
        margin: 15px auto;
    }

    .mobile-frame-content .responsive-bg, .tablet-frame-content .responsive-bg, .pc-frame-content .responsive-bg, .laptop-frame-content .responsive-bg {
        display: block;
    }

    .mobile-frame-content {
        max-width: 92px;
    }
    .mobile-frame-content > img {
        position: absolute;
        left: 50%;
        top: 24px;
        width: 85%;
        transform: translateX(-50%);
    }

    .tablet-frame-content {
        max-width: 186px;
    }
    .tablet-frame-content > img {
        position: absolute;
        left: 50%;
        top: 17px;
        width: 80%;
        transform: translateX(-50%);
    }

    .pc-frame-content {
        max-width: 525px;
    }
    .pc-frame-content > img {
        position: absolute;
        left: 50%;
        top: 19px;
        width: 92%;
        transform: translateX(-50%);
    }

    .responsive-only {
        display: block;
    }

    .laptop-frame-content {
        max-width: 390px;
    }
    .laptop-frame-content > img {
        position: absolute;
        left: 50%;
        top: 19px;
        width: 68%;
        transform: translateX(-50%);
    }

    .reference-swiper-pagination {
        position: static;
        margin-top: 75px;
    }

    .hp-topimg {
        order: 2;
        margin-top: 0;
        position: static;
    }
    .footer-spoluprace h2 {
        margin: 25px auto 45px;
    }
    .x-co-nabizime-- .hp-topheader h2, .x-co-nabizime-- .hp-toptext {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .x-co-nabizime-- .hp-toptext {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .x-co-nabizime-- .hp-topimg {
        display: none;
    }
    .main-header .menu ul li.active_exact_match:not(:first-child)::after {
        display: none;
    }
    nav.main-menu {
        display: none;
        position: fixed;
        left: 0;
        top: 88px;
        width: 100%;
        height: auto;
        max-height: 70vh;
        max-width: 100vw;
        overflow: auto;
        background: #fff;
    }
    .main-header .menu ul li {
    margin: 0 30px;
    padding: 10px 0;
    }
    .main-header .menu ul li img {
        top: initial;
    }
    .main-header .menu ul {
        float: none;
        margin-top: 0;
    }
    .main-header .menu ul li {
        display: block;
    }
    .main-header .menu ul li:before {
        display: none;
    }
    .main-header .menu ul li:not(:first-child):hover {
        padding-left: 10px;
    }
    #menu-icon {
        display: block;
    }
    .main-header {
        padding-top: 10px;
    }
    .hp-topimg {
        text-align: center;
        width: 100%;
        float: none;
    }
    .hp-topheader, .hp-toptext, .hp-topdesc {
        float: none;
        margin: 15px 0 35px 0;
        width: 100%;
    }
    #hp-rozcestnik .rozcestnik-part {
        float: none;
        margin: 15px auto;
        width: 100%;
    }
    .hp-vypis-clanku {
        margin-top: 30px;
    }
    #hp-rozcestnik {
        width: 75%;
        margin: 0 auto;
    }
    .hp-vypis-clanku .tree_listing_items {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    }
    .hp-vypis-clanku .list_item {
        width: calc(50% - 60px);
        margin: 30px;
        max-width: 350px;
    }
    .mobile-full {
        display: none;
    }
    .main-header .menu ul li:hover:not(:first-child) a::before {
        display: none !important;
    }
    .hp-prehlednost-frame {
        background: #F15E66;
        height: auto;
        min-height: auto;
    }
    .hp-prehlednost-text {
        margin: 35px auto;
    }
    .footer-spoluprace img {
        float: none;
        padding: 0;
        margin-bottom: 10px;
    }
    #page-layout-box-inner--footer--footer-spoluprace-- {
        text-align: center;
    }
    .footer-swiper-button-prev {
        left: 0;
    }
    .footer-swiper-button-next {
        right: 0;
    }
    .img-desc-wrapper h2 {
        font-size: 31px;
    }
    .img-desc-wrapper .right-part-desc h3 {
        font-size: 27px;
    }
    .img-desc-wrapper .right-part-desc .desc {
        margin-top: 25px;
        font-size: 19px;
        line-height: 29px;
    }
    #rozcestnik-sluzby ul {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -ms-flex-pack: distribute;
            justify-content: space-around;
        margin: 0;
    }
    #rozcestnik-sluzby ul li {
        margin: 0 15px;
    }
    .popis-part button {
        margin: 10px 0 25px !important;
    }
    .reference-rozcestnik ul {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
    }
    .reference-rozcestnik ul li {
        margin: 0 15px;
    }
    .main-heading h2 {
        margin: 25px 0 60px;
    }
    .backbtn-breadcrumb-wrapper {
        margin-top: 5px;
    }
    #rozcestnik-sluzby::after {
        display: none;
    }
}

@media all and (max-width: 992px) {
    .detail-reference-left, .detail-reference-right {
        padding: 0;
    }
    .inner-content-width {
        padding: 0;
    }
    .grey-img-desc-wrapper .desc-part {
        position: static;
        -webkit-transform: initial;
                transform: initial;
    }
}

@media all and (max-width: 860px) {
    .detail-reference-swiper-button-prev, .detail-reference-swiper-button-next {
        display: none !important;
    }

    .hp-prehlednost-text table tr td {
        margin: 15px auto;
        width: auto;
        display: block;
        text-align: center;
    }
    .hp-vypis-clanku .tree_listing_items {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    .hp-vypis-clanku .list_item {
        width: 100%;
        margin: 30px 0;
    }
    .hp-vypis-clanku .list_item h3, .hp-vypis-clanku .list_item .info, .hp-vypis-clanku .list_item .perex-body {
        height: auto;
        min-height: auto;
        max-height: auto;
        width: 100%;
        padding: 0 15px;
    }
    .hp-vypis-clanku .list_item .moreparts {
        height: 60px;
        position: relative;
    }
    .heading-text-wrapper-inner h3 {
        font-size: 29px !important;
        margin-bottom: 33px !important;
    }
    .heading-text-wrapper-inner .text-wrap {
        font-size: 18px !important;
        line-height: 30px !important;
    }
    .img-desc-wrapper {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    .sc-btn {
        width: auto;
        margin: 25px 0;
        padding: 7px 35px;
    }
    article table tr td {
        display: inline-block;
    }
    .sluzby-tab-part .contents-wrapper {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    .obrazek-part.napravo {
        -webkit-box-ordinal-group: initial;
            -ms-flex-order: initial;
                order: initial;
    }
    .obrazek-part, .popis-part {
        width: auto !important;
        height: auto !important;
        padding: 0 15px !important;
        margin: 15px 0 !important;
    }
    .actual_gallery, .gallery-hidden-loaded-inner {
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -ms-flex-pack: distribute;
            justify-content: space-around;
    }
    .actual_gallery a, .gallery-hidden-loaded-inner a {
            width: 47%;
            margin: 8px;
    }
    .clanek-detail-bottom-banner .desc .left-part {
        display: none;
    }
    .clanek-detail-bottom-banner .desc {
        left: 50%;
    }
    .clanek-detail-bottom-banner {
        margin: 60px 0 60px;
    }
    .nejnovejsi-projekty-gallery h2 {
        margin: 25px 0 45px;
    }
    .two-columns-wrapper {
        margin: 75px 0 40px;
    }
    .two-columns-wrapper-inner {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    .two-columns-wrapper-inner .column-part ul {
        margin: 0;
    }
    .detail-reference-top {
        display: block;
    }
    .detail-reference-top-inner, .detail-reference-right {
        width: 100%;
        margin: 0 auto;
        max-width: 550px;
    }
    .detail-reference-gallery-inner .gallery_show a {
        margin: 0 5px 5px;
        width: 45%;
    }
    .detail-reference-gallery-inner .gallery_show {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-flow: row wrap;
                flex-flow: row wrap;
    }
    .reference-vypis {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }
    .reference-vypis .mo {
        width: 100%;
        max-width: 650px;
    }
}

@media all and (max-width: 760px) {
    .magazin-vypis .list_item h3, .magazin-vypis .list_item .info, .magazin-vypis .list_item .perex-body {
        height: auto !important;
        min-height: auto !important;
        max-height: auto !important;
        width: 100% !important;
        padding: 0 15px !important;
    }
    .magazin-vypis .list_item .moreparts {
        height: 60px !important;
        position: relative !important;
    }
}

@media all and (max-width: 660px) {
    #rozcestnik-sluzby ul, .reference-rozcestnik ul {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }
    #rozcestnik-sluzby ul li, .reference-rozcestnik ul li {
        margin: 5px 15px;
    }
    #rozcestnik-sluzby ul li::after, .reference-rozcestnik ul li::after {
        bottom: 0px;
    }
    #rozcestnik-sluzby {
        margin: 55px auto 15px;
    }
    #rozcestnik-sluzby::after {
        display: none;
    }
    .actual_gallery, .gallery-hidden-loaded-inner {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    .actual_gallery a, .gallery-hidden-loaded-inner a {
            width: auto;
    }
    .backbtn-breadcrumb-wrapper {
        display: none;
    }
}