/* NAVBAR */
@media (max-width: 991.98px) {
    /* BASE */
    #navbarSupportedContent {
        position: absolute;
        top: 65px;
        right: 0;
        background-color: var(--custom-blue);
        z-index: 15;
    }

    .navbar-nav {
        padding: 1em;
        padding-bottom: 0;
    }

    .language-menu {
        padding: 1em;
        padding-top: .5em;
        width: 100%;
        text-align: center;
    }

    /* END OF BASE */

    .darkgrey-block {
        margin-left: 15px;
        margin-right: 15px;
    }

    .contact-page .contact-row {
        flex-direction: column-reverse;
    }

    .contact-page .contact-row form {
        margin-bottom: 4em;
    }

    .inner-gallery,
    .image-row {
        margin-top: 1.5em;
    }

    .image-row > div {
        margin-bottom: 2em;
    }

    .navbar-nav .dropdown-menu {
        position: absolute;
    }
}


@media (max-width: 575.98px) {
    /* BASE */
    .static-content ul {
        columns: 1;
    }
    /* END OF BASE */

    .carousel-caption {
        left: 15px;
        right: 15px;
        top: 8%;
        width: unset;
    }

    #carouselTop img {
        height: 400px;
    }

    .carousel-caption h1 {
        font-size: 35px;
    }

    .carousel-caption p {
        font-size: 15px;
    }

    .carousel-caption a {
        margin-top: 0;
    }

    .general-padding {
        padding-top: 2em;
        padding-bottom: 2em;
    }

    .small-title,
    .content h2 {
        margin-bottom: 1em;
    }

    .buildings a {
        width: 165px;
        bottom: 25px;
        padding-top: .4em;
        padding-bottom: .4em;
    }

    .bottom-section img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        margin-top: 1em;
    }

    .heading {
        min-height: 160px;
    }

    .heading h1 {
        font-size: 35px;
    }

    .contact-row h2 {
        font-size: 32px;
    }

    .gallery-item img {
        height: 250px;
    }

    .gallery-img-list .gallery-img-block {
        width: calc(88% - 20px);
    }

    .gallery-img-block img {
        height: 200px;
    }

    .gallery-title .small-title {
        margin: 0px 1em;
        font-size: 25px;
    }

    .text-part h3,
    .text-part .desc {
        height: unset;
    }

    .top-img {
        height: 170px;
    }

    .inner-gallery .gallery-img-block img,
    .image-row img {
        height: 250px;
    }

    .contact-text {
        text-align: center;
        font-size: 22px;
        margin-bottom: 1em;
    }

    .form-img-block img {
        width: 90%;
        margin-bottom: 2.5em;
    }

    .contact-footer {
        margin-top: 1.5em;
    }

    .footer-logo{
        margin-bottom: 1.5em;
    }

    .allrights {
        margin-top: 1em;
    }
}

/* SM */
@media (min-width: 576px) and (max-width: 767.98px) {
    .contact-col {
        margin-top: 2em;
        margin-bottom: 1em;
    }

    footer .container .row {
        justify-content: center;
    }

    .general-padding {
        padding-top: 3em;
        padding-bottom: 3em;
    }

    .side-img {
        height: 315px;
    }

    .small-title,
    .content h2 {
        margin-bottom: 1em;
    }

    .buildings a {
        width: 200px;
        bottom: 30px;
    }

    .carousel-caption {
        left: 15px;
        right: 15px;
        top: 10%;
        width: unset;
    }

    #carouselTop img {
        height: 500px;
    }

    .carousel-caption h1 {
        font-size: 60px;
    }

    .carousel-caption p {
        font-size: 19px;
    }

    .gallery-item img {
        height: 280px;
    }

    .gallery-img-list .gallery-img-block {
        width: calc(50% - 20px);
    }

    .gallery-img-block img{
        height: 210px;
    }

    .top-img {
        height: 200px;
    }

    .inner-gallery .gallery-img-block img,
    .image-row img {
        height: 250px;
    }

    .contact-text {
        text-align: center;
        font-size: 22px;
        margin-bottom: 1em;
    }

    .form-img-block img {
        width: 75%;
        margin-bottom: 2.5em;
    }
}

/* MD */
@media (min-width: 768px) and (max-width: 991.98px) {
    .carousel-caption {
        left: 6%;
        top: 18%;
    }

    .side-img {
        height: 315px;
    }

    .general-padding {
        padding-top: 3em;
        padding-bottom: 3em;
    }

    #carouselTop img {
        height: 650px;
    }

    .gallery-item img {
        height: 280px;
    }

    .gallery-img-list .gallery-img-block {
        width: calc(33% - 20px);
    }

    .gallery-img-block img{
        height: 210px;
    }

    .text-part .desc {
        height: 107px;
    }

    .top-img {
        height: 220px;
    }

    .contact-text {
        text-align: center;
        margin-bottom: 1em;
    }

    .form-img-block img {
        width: 65%;
        margin-bottom: 2em;
    }
}

/* LG */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .darkgrey-block {
        margin-left: -15px;
        margin-right: 15px;
    }

    .buildings>div:nth-child(2n) {
        padding-right: 7.5px;
    }

    .buildings>div:nth-child(2n+1) {
        padding-left: 7.5px;
    }

    .gallery-item img {
        height: 250px;
    }

    .gallery-img-list .gallery-img-block {
        width: calc(25% - 20px);
    }

    .gallery-img-block img{
        height: 210px;
    }

    .text-part h3 {
        height: 70px;
    }

    .text-part .desc {
        height: 128px;
    }

    .blue-block {
        height: 300px;
    }

    .image-row {
        margin-bottom: 2.5em;
    }
}

/* XL */
@media (min-width: 1200px) {
    .darkgrey-block {
        margin-left: -15px;
        margin-right: 15px;
    }

    .buildings>div:nth-child(2n) {
        padding-right: 7.5px;
    }

    .buildings>div:nth-child(2n+1) {
        padding-left: 7.5px;
    }

    .blue-block {
        height: 300px;
    }

    .image-row {
        margin-bottom: 2.5em;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .darkgrey-block .content {
        padding-right: 6rem;
    }
}

@media (min-width: 1400px) {
    .darkgrey-block .content {
        padding-right: 10rem;
    }
}
