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

    .navbar-nav {
        padding: 1em;
        min-width: 210px;
    }
    /* END OF BASE */

    .below-lg {
        display: block;
    }

    .desktop-only {
        display: none;
    }

    .navbar {
        background-color: transparent;
        left: 0;
    }

    .navbar-brand img {
        width: unset;
        height: 85px;
    }

    .dropdown-abs {
        position: static;
        margin-top: 15px;
    }

    .nav-item {
        padding: 0.5em 0;
    }

    header .nav-link::after {
        height: 6px;
        bottom: -8px;
    }

    header .nav-link {
        font-size: 22px;
    }

    .dropdown-abs .dropdown-menu {
        padding: 0.5em 0;
        width: 60px;
    }

    .carousel-caption {
        right: 15px;
    }

    .back-link {
        font-size: 18px;
    }

    .footer-contact-col {
        margin-top: 3em;
    }

    .feature-row.second {
        flex-direction: column-reverse;
        margin-bottom: 1.5em;
    }

    .home-contact-list {
        margin-bottom: 2em;
        padding: 1em;
    }

    .titles-block {
        margin-bottom: 2em;
    }

    #gallery img {
        height: 260px;
    }

    .gallery-list .row:not(:last-child) {
        margin-bottom: 3em;
    }
}


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


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

    .navbar-brand img {
        height: 60px;
    }

    .carousel-item img {
        height: 320px;
    }

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

    .carousel-btn {
        padding: 0.3em;
        font-size: 12px;
    }

    .carousel-item::after {
        background: linear-gradient(90deg, rgba(255,255,255,0) 20%, var(--custom-blue) 50%);
    }

    .carousel-caption {
        left: 35%;
        top: 25%;
    }

    header .nav-link {
        font-size: 20px;
    }

    .subpage-header {
        height: 250px;
    }

    .subpage-title {
        font-size: 24px;
        left: 40%;
    }

    .subpage-header::before {
        background: linear-gradient(90deg, rgba(255,255,255,0) 20%, var(--custom-blue) 50%);
    }

    .back-link {
        font-size: 16px;
    }

    .contact-elem .contact-value,
    .contact-elem,
    .footer-links,
    .allrights {
        font-size: 17px;
    }

    .allrights {
        flex-direction: column;
    }

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

    .footer-contact-col {
        margin-top: 2em;
    }

    .contact-elem span:first-child {
        width: 80px;
    }

    .container-fluid.half-colored::before {
        display: none;
    }

    .container-fluid.half-colored {
        margin-top: 1.5em;
    }

    .titles-block :nth-child(1) {
        font-size: 20px;
    }

    .titles-block :nth-child(2) {
        font-size: 32px;
    }

    .static-content {
        font-size: 19px;
    }

    .container-fluid.half-colored .static-content {
        background-color: var(--custom-blue);
        padding-top: 1.5em;
        padding-bottom: 1.5em;
    }

    .container-fluid.half-colored {
        padding-left: 0;
        padding-right: 0;
        overflow: hidden;
        margin-bottom: 2em;
    }

    .blue-btn {
        font-size: 17px;
    }

    .home-gallery-list img {
        width: 100%;
    }

    .contact-us-block h3 {
        font-size: 28px;
    }

    .contact-us-block a {
        font-size: 17px;
        width: 300px;
    }

    .section-title {
        font-size: 24px;
    }

    .static-content.unique-li li {
        font-size: 20px;
    }

    #map {
        height: 300px;
    }

    .feature-row.first {
        margin-bottom: 2em;
    }

    .title-line .section-title {
        width: min-content;
    }

    #gallery {
        justify-content: center;
    }

    #contact_form_content_page {
        padding: 1em;
    }

    #contact_form_content_page button,
    #contact_form_content_page input[type="text"],
    #contact_form_content_page textarea {
        font-size: 22px;
    }

    .bordered-row .static-content {
        padding-left: 1em !important;
        padding-right: 1em !important;
    }

    .contact-item .img-container {
        width: 65px;
        height: 65px;
    }

    .contact-item .img-container img {
        transform: scale(.75);
    }

    .contact-info {
        font-size: 20px;
    }

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

    .gallery-content-row {
        margin-bottom: 1em;
    }
}

/* SM */
@media (min-width: 576px) and (max-width: 767.98px) {
    .general-padding {
        padding-top: 3em;
        padding-bottom: 3em;
    }

    .carousel-item img {
        height: 380px;
    }

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

    .carousel-btn {
        padding: 0.3em;
        font-size: 15px;
    }

    .carousel-item::after {
        background: linear-gradient(90deg, rgba(255,255,255,0) 25%, var(--custom-blue) 55%);
    }

    .carousel-caption {
        left: 45%;
        top: 25%;
    }

    .subpage-header {
        height: 300px;
    }

    .subpage-title {
        font-size: 31px;
        left: 48%;
    }

    .subpage-header::before {
        background: linear-gradient(90deg, rgba(255,255,255,0) 25%, var(--custom-blue) 50%);
    }

    .contact-elem .contact-value,
    .contact-elem,
    .footer-links,
    .allrights {
        font-size: 19px;
    }

    .allrights {
        flex-direction: column;
    }

    .container-fluid.half-colored::before {
        top: 14em;
        right: 10%;
    }

    .container-fluid.half-colored .static-content {
        padding-top: 2em;
    }

    .static-content {
        font-size: 21px;
    }

    .container-fluid.half-colored {
        margin-top: 2em;
    }

    .titles-block :nth-child(1) {
        font-size: 22px;
    }

    .titles-block :nth-child(2) {
        font-size: 40px;
    }

    .contact-us-block h3 {
        font-size: 32px;
    }

    .contact-us-block a {
        font-size: 19px;
        width: 325px;
    }

    .section-title {
        font-size: 28px;
    }

    .static-content.unique-li li {
        font-size: 22px;
    }

    #map {
        height: 300px;
    }

    .blue-btn {
        font-size: 19px;
    }

    #contact_form_content_page {
        padding: 1.5em;
    }

    #contact_form_content_page button,
    #contact_form_content_page input[type="text"],
    #contact_form_content_page textarea {
        font-size: 24px;
    }

    .bordered-row .static-content {
        padding-left: 1em !important;
        padding-right: 1em !important;
    }

    .contact-item .img-container {
        width: 75px;
        height: 75px;
    }

    .contact-item .img-container img {
        transform: scale(.85);
    }

    .gallery-list img {
        height: 300px;
    }
}

/* MD */
@media (min-width: 768px) and (max-width: 991.98px) {
    .general-padding {
        padding-top: 3em;
        padding-bottom: 3em;
    }

    .carousel-item img {
        height: 450px;
    }

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

    .carousel-btn {
        padding: 0.5em;
        font-size: 18px;
    }

    .carousel-item::after {
        background: linear-gradient(90deg, rgba(255,255,255,0) 30%, var(--custom-blue) 55%);
    }

    .carousel-caption {
        left: 48%;
        top: 25%;
    }

    .subpage-header {
        height: 340px;
    }

    .subpage-title {
        font-size: 38px;
        left: 48%;
    }

    .subpage-header::before {
        background: linear-gradient(90deg, rgba(255,255,255,0) 25%, var(--custom-blue) 50%);
    }

    .allrights {
        font-size: 21px;
    }

    .container-fluid.half-colored {
        margin-top: 3em;
    }

    .container-fluid.half-colored::before {
        top: 14em;
        right: 10%;
    }

    .container-fluid.half-colored .static-content {
        padding-top: 2em;
    }

    .static-content {
        font-size: 21px;
    }

    .contact-us-block h3 {
        font-size: 33px;
    }

    .contact-us-block a {
        font-size: 22px;
    }

    .section-title {
        font-size: 33px;
    }

    .static-content.unique-li li {
        font-size: 23px;
    }

    .feature-row {
        row-gap: 1em;
    }

    .blue-btn {
        font-size: 20px;
    }
}

/* LG */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .carousel-caption {
        right: unset;
    }

    .navbar-brand img {
        width: 170px;
    }

    .carousel-item img {
        height: 600px;
    }

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

    .carousel-btn {
        padding: 0.5em;
        font-size: 21px;
    }

    .subpage-header {
        height: 380px;
    }

    .subpage-title {
        font-size: 41px;
    }

    .contact-elem .contact-value, .contact-elem {
        font-size: 18px;
    }

    .footer-links,
    .allrights {
        font-size: 21px;
    }

    .home-contact-list {
        padding: 1em;
    }

    #gallery img {
        height: 260px;
    }
}

/* XL */
@media (min-width: 1200px) {

}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .carousel-caption {
        right: unset;
    }

    .navbar-brand img {
        width: 210px;
    }
}

@media (min-width: 992px) {
    .bordered-row > div:nth-child(1) {
        padding-right: 45px;
        border-right: 2px solid #3A3A3A;
    }

    .bordered-row > div:nth-child(2) {
        padding-left: 45px;
    }
}
