@media screen and (min-width: 768px) and (max-width: 992px) {
    html {
        font-size: 0.9rem;
    }
    .modal-dialog{
        max-width: 80%;
    }
    .top-block-content {
        min-height: 100vh;
        height: auto;
    }
    /* .nav_map, .nav_main {
        display: none;
    } */
    /* .nav_menu {
        display: unset;
    } */
    /* .main-block-buttons {
        display: none;
    } */
    .work_clocks {
        display: none;
    }
    .small-button-container {
        display: none;
    }
    .tel_icon img {
        height: 12vh;
        width: 12vh;
    }
    .nav_icon img {
        height: 1.5em;
        width: auto;
        margin-bottom: 0.2em;
    }
    nav {
        max-height: 13vh;
    }
    .block_title {
        margin-bottom: 5vh;
    }

    /* .carousel-row-elem {
        min-height: 30vh;
    } */
    .carousel-row-elem {
        min-width: 90vw;
        min-height: calc(60vw / 1.1);
    }

    .image_container {
        width: 70%;
        height: 90%;
    }

    .menu_button {
        width: 100%;
        height: 15vh;
        margin-top: 2vh;
    }

    #myMap {
        height: 70vh;
    }
}

@media screen and (min-width: 576px) and (max-width: 767px) {
    html {
        font-size: 0.8rem;
    }
    .work_clocks, .nav_main {
        display: none;
    }
    .nav_menu {
        display: block;
    }
    .nav_icon img {
        height: 1.5em;
        width: auto;
        margin-bottom: 0.2em;
    }
    .main-block-buttons {
        display: none;
    }
    .menu_button {
        height: 15vh;
    }

    .carousel-row-elem {
        min-height: 30vh;
    }

    .small-button-container {
        display: none;
    }
    .tel_icon img {
        height: 12vh;
        width: 12vh;
    }
    #myMap {
        height: 100vh;
    }
}

/* IPAD */
@media screen and (min-width: 576px) and (max-width: 768px) and (max-height: 960px) {
    .nav_menu {
        display: none;
    }
    .main-block-buttons {
        display: block;
    }
    .carousel-row-elem {
        min-height: 300px;
        min-width: 100%;
        display: inline-block;

    }
    .image_container {
        width: 400px;
        height: 300px;
    }
    .small-button-container {
        display: none;
    }
}
@media screen and (min-width: 993px) and (max-width: 1024px) {
    .carousel-row-elem {
        min-height: 100px;
    }
    .image_container {
        width: 400px;
        height: 300px;
    }
    .small-button-container {
        display: none;
    }
}
/* IPAD */

/* PHONES */
@media screen and (max-width: 575px) {
    html {
        font-size: 0.7rem;
    }
    .modal-body {
        font-size: 0.75rem;
    }
    .top-block-content {
        height: auto;
    }

    .image_container {
        height: 90%;
    }
    .carousel-row-elem {
        min-width: 70vw;
        min-height: calc(70vw / 1.1);
    }
    #video-bg {
        visibility: hidden;
    }
    #top_block {
        background-color: #fafafa;
    }
    .work_clocks, .nav_main {
        display: none;
    }
    .nav_icon img {
        height: 2em;
        width: auto;
        margin-bottom: 0.5em;
    }
    .small-button-container {
        display: block;
    }

    .swiper-container {
        height: 35vh;
      }
}
/* PHONES */
