@media screen and (max-width: 1024px) {
    .icon-box {
        width: 20vw !important;
    }

    #resizeText {
        font-size: 0.6rem !important;
    }

    .icon-box-title {
        font-size: 0.8rem !important;
    }
}

/* Custom CSS (All prefixed with css- as to not conflict with predefined css themes)*/

.css-row-flex {
    display: flex;
    width: 100%;
}

.css-row {
    width: 100%;
}

.css-col-6 {
    width: 50%;
}

.css-bg-overlay {
    background-color: rgba(0, 0, 0, 0.85);
}

.css-width-100 {
    width: 100%;
}

.css-outermost-container {
    padding: 5vh;
}

.css-content-header {
    margin-top: 0px;
    margin-bottom: 1vw;
}

.css-content-container {
    height: 100%;
}

.css-article-container {
    flex: 1;
    width: 100%;
}

.css-article-box {
    width: 100%;
    border: solid 2px rgba(180, 180, 180, 0.5);
    border-radius: 15px;
    padding: 1vw;
    display: flex;
}

.css-operating-hours-container {
    width: 100%;
    border: solid 1px rgba(0, 0, 0, 0.4);
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2px;
    margin-bottom: 10px;
}

.css-operating-hours-content {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: "Roboto Slab", serif;
    color: #fff;
    margin-bottom: 0;
}

.css-bold {
    font-size: 1.4rem;
    font-weight: 600;
}

.css-flex-column {
    display: flex;
    flex-direction: column;
}

.css-grid-4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1vw;
}

.css-article-img-col {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: right;
}

.css-icon {
    display: block;
    font-size: 4.5vw;
}

.css-article-text-col {
    width: 70%;
    display: flex;
    flex-direction: column;
    padding-left: 1vw;
    align-content: center;
    justify-content: center;
}

.css-article-text-col>h4 {
    font-size: 1.5vw;
}

.css-article-text-col>p {
    font-size: 1vw;
}

.css-bg-img-1 {
    background-image: url("../images/pattern/pt18.jpg");
}

.css-bg-img-2 {
    background-image: url("../images/pattern/p8.png");
    background-size: 35vw;
    background-repeat: repeat;
}

.css-bg-light-overlay {
    background-color: rgba(0, 0, 0, 0.25);
}

.css-font-italic {
    font-style: italic;
}

.css-gallery-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5vw;
    row-gap: 0.5vw;
    user-select: none;
}

.css-thumb-container {
    position: relative;
    cursor: pointer;
    display: flex;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.2);
}

.css-thumb-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 0.6s;
}

.css-thumb-container:hover::before,
.css-thumb-container:hover * {
    background-color: rgba(0, 0, 0, 0.5);
}

.css-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
}

.css-full-overlay {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: 1100;
    background-color: rgba(0, 0, 0, 0.9);
    user-select: none;
}

.css-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 2vw;
    height: 2vw;
    cursor: pointer;
    z-index: 1200;
    user-select: none;
}

.css-close-btn::before,
.css-close-btn::after {
    content: "";
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: white;
    transform: translate(-50%, -50%) rotate(45deg);
}

.css-close-btn::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.css-magnified {
    position: absolute;
    max-width: 80vw;
    max-height: 80vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    user-select: none;
}

.css-gallery-page {
    display: none;
    user-select: none;
}

.css-hidden {
    display: none;
}

.css-active {
    display: flex !important;
    user-select: none;
}

.css-prev-button,
.css-next-button {
    position: absolute;
    top: 50%;
    width: 3vw;
    height: 3vw;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 100;
    user-select: none;
}

.css-prev-button:hover,
.css-next-button:hover {
    background-color: rgba(0, 0, 0, 0.6);
    transition: 0.6s;
}

.css-prev-button {
    left: 0;
    transform: translate(-1vw, -50%);
}

.css-next-button {
    right: 0;
    transform: translate(1vw, -50%);
}

.css-prev-button::before {
    content: "";
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 15px solid white;
    transform: translate(-50%, -50%);
}

.css-next-button::before {
    content: "";
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid white;
    transform: translate(-50%, -50%);
}

div.funfact.text-center {
    padding: 10px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.5);
}

div.funfact-content>p {
    margin-bottom: 0;
}

* {
    caret-color: transparent;
}

.css-gallery-overlay {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 0.5vw !important;
    max-width: 100vw;
    width: calc((270px * 4) + (0.5vw * 5));
    position: relative;
}

.css-contact-sizing {
    height: min-content;
}

@media screen and (max-width: 425px) {

    body > div#wrapper {
        overflow-x: hidden !important;
    }

    #whyChooseUs div.css-col-6.img-hidden-md {
        display: none;
    }

    #whyChooseUs div.css-col-6.css-bg-overlay.css-outermost-container {
        width: 100%;
    }

    #whyChooseUs div.css-article-container.css-row.css-grid-4 {
        display: block;
    }

    .css-article-img-col {
        width: auto;
        justify-content: left;
        margin-left: 10px;
        margin-right: 10px;
    }

    .css-article-box {
        margin-bottom: 5px;
    }

    .css-icon {
        font-size: 70px;
    }

    .css-article-text-col h4.icon-box-title.mt-5.mb-5.text-uppercase {
        font-size: 20px !important;
    }

    .css-article-text-col p {
        font-size: 16px;
    }

    #about div.section-content div.col-md-5 {
        display: none;
    }

    section#facilities {
        display: none;
    }

    section.divider.parallax.layer-overlay.overlay-dark-8.mobile-parallax div.row.equal-height div.container {
        padding: 0px;
    }

    #gallery {
        display: none;
    }

    #services {
        display: none;
    }
}