@media screen and (min-width: 1200px) {
    .grid-container-pagevertical {
        display: grid;
        grid-template-columns: 100%;
        grid-auto-rows: minmax(275px, auto);
        justify-content: center;
        padding: 0%;
    }

    .mobile-view {
        display: none;
    }

    .row {
        --bs-gutter-x: none;
    }

    .header-banner {
        display: none;
    }

    .footer-wrap-m {
        display: none;
    }

    .grid-item {
        padding: 0;
    }
}

body {
    position: relative;
    /*font-family: 'Roboto', 'Microsoft JhengHei', system-ui, sans-serif, var(--bs-body-font-family);*/
    font-family: 'Roboto', 'Microsoft JhengHei', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"
}

/* HEADER AND NAV CSS */

.header-and-nav {
    padding: 0;
}

.header-container {
    height: 180px;
    background-color: #FFFFFF;
}

.header-container-left {
    padding: 0;
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.header-container-middle {
    background-color: #F37021;
    padding: 0;
    transform: skew(22deg);
    transform-origin: top right;
    z-index: 3;
    transition: 0.2s ease-in-out;
}

@media screen and (min-width: 1200px) {
    .header-container-middle {
        transform: skew(30deg);
        transition: 0.2s ease-in-out;
    }
}

.header-container-right {
    background-color: #F37021;
    padding: 0;
    z-index: 4;
}

.header-container-left-small {
    padding: 0 0 0 40px;
    min-width: 355px;
    width: 100%;
    height: 100%;
    max-width: 400px;
    max-height: 80px;
}

#JC-Clap-Logo {
    height: 100%;
    height: 80px;
    width: 100%;
}

.header-container-right-small {
    padding-top: 50px;
    padding-right: 45px;
}

.header-right-title {
    font-family: 'Raleway', 'Microsoft JhengHei', system-ui, sans-serif;
    font-weight: 800;
    font-size: 30px;
    text-align: right;
    color: #FFFFFF;
    z-index: 5;
    margin-bottom: 0;
}

.header-right-description {
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    text-align: right;
    color: #FFFFFF;
    z-index: 5;
}

.nav-wrap {
    background-color: #FFECE0;
    box-shadow: 3px 3px 10px #0000001a;
}

.navOuterWrap {
    max-width: 1500px;
    margin: auto;
    position: relative;
}

.nav-container {
    color: #f37224;
    align-content: center;
    height: 140px;
    width: 100%;
    max-width: 1000px;
    margin: auto;
}

.header-nav {
    padding: 0;
    flex-wrap: nowrap;
}

.nav-item {
    /* max-width: 288px; */
    /* max-width: 240px; */
    max-width: 220px;
    margin: auto;
    margin-inline: 12px;
}

.nav-link {
    color: #F37021;
    font-family: 'Raleway', 'Microsoft JhengHei', system-ui, sans-serif;
    font-weight: 600;
    font-size: 16px;
    padding: 0;
    text-align: center;
}

.nav-link:hover {
    color: #FF9F65;
}

.nav-lnk:active {
    color: #F37021;
}

.overlayer {
    display: none;
}

.overlayer.show {
    height: 100%;
    width: 100%;
    position: absolute;
    background: #FFF9F4;
    z-index: 6;
    opacity: 0.4;
    display: block;
}

/* MAIN BODY CSS */

.body-container {
    background-color: #FFF9F4;
}

.body-before-container {
    height: 60px;
}

.white-container {
    max-width: 920px;
    margin: 80px auto 0px auto;
    background-color: #FFF9F4;
    padding-right: 0;
    padding-left: 0;
    border-radius: 10px 10px 10px 10px;
}

.new-whitecontainer {
    background: white;
    border-radius: 10px 10px 10px 10px;
}

.white-container-side {
    margin-top: 80px;
    margin-bottom: 80px;
    background-color: #FFF9F4;
}

.white-container-title {
    min-height: 50px;
    padding-top: 10px;
    /* padding-bottom: 10px; */
    border-radius: 10px 10px 0px 0px;
}

.white-container-title-colored {
    /* padding-top: 3px;
    padding-bottom: 3px; */
    background-color: #F37021;
    position: relative;
    margin: 30px auto 0 auto;
}

.white-container-title-colored::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    top: 0;
    right: -29px;
    border-top: 33px solid transparent;
    border-bottom: 33px solid transparent;
    border-left: 30px solid #F37021;
}

.white-container-title-text {
    font-family: 'Raleway', 'Microsoft JhengHei', system-ui, sans-serif;
    font-weight: 600;
    font-size: 24px;
    text-align: center;
    color: #fff;
    padding: 15px 0;
}

.expand-button-div-collapsed {
    min-height: 80px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
}

.expand-button-text-collapsed {
    margin: 0 auto;
    border: none;
    background-color: inherit;
    padding: 14px 28px 14px 0px;
    font-size: 24px;
    font-family: 'Raleway', 'Microsoft JhengHei', system-ui, sans-serif;
    font-weight: bold;
    color: #F37021;
    cursor: pointer;
    display: inline-block;
}

.expand-button-arrow.collapsed {
    height: 32px;
    transform: rotate(180deg);
}

.expand-button-arrow.expanded {
    height: 32px;
    transform: rotate(0deg);
}

.grid-4vidcontainer {
    height: 960px;
    /* margin-bottom: 30px; */
}

.grid-2vidcontainer {
    /* height: 480px; */
}

.row>.vidcontainers {
    padding: 0 !important;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.grid-2vidcontainer.show {
    /* flex-flow: column wrap; */
    flex-flow: column;
    display: flex;
    justify-items: center;
}

.grid-2vidcontainer.show .row {
    min-height: 400px;
}

.flexbox-bigwrap {
    margin: auto;
    max-width: 350px;
    align-items: center;
    box-shadow: 3px 3px 10px #0000001a;
    border-radius: 10px 10px 10px 10px;
}

.flexbox-padding {
    position: relative;
    margin: auto;
    max-width: 350px;
    display: flex;
    align-items: center;
    flex-direction: row;
    border-radius: 10px 10px 10px 10px;
}

.flexbox-shadow {
    background: #B0A89D;
    z-index: 0;
    position: absolute;
    width: 80%;
    height: 110%;
    transition: 0.5s ease-in-out;
    border-radius: 10px 10px 10px 10px;
}

.flexbox-hover {
    display: flex;
    align-items: center;
    flex-direction: row;
    height: 100%;
    position: relative;
    justify-content: center;
    border-radius: 10px 10px 10px 10px;
}

.flexbox-hover:hover .flexbox-shadow {
    background: #F37021;
    z-index: 0;
    position: absolute;
    width: 100%;
    height: 110%;
    transition: 0.3s ease-in-out;
    /* transform: translateX(12.5%); */
}

.flexbox-wrap {
    display: flex;
    flex-direction: column;
    /* z-index: 0; */
    position: relative;
    border-radius: 10px 10px 10px 10px;
}

.flexbox-video {
    background-color: transparent;
    z-index: 1;
    position: relative;
}

.playvideo {
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
    z-index: 2;
    max-height: 196px;
}

.videopopout {
    min-width: 608px;
    min-height: 400px;
}

.videosize {
    width: 100%;
}

.videocss {
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
    /* z-index: 2; */
    max-height: 196px;
}

.video-css {
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
    /* z-index: 2; */
    max-height: 196px;
}

.btn-primary {
    padding: 0;
    background-color: transparent;
    border: 0;
    border-color: transparent;
}

.btn-primary:hover {
    background-color: transparent;
    border-color: transparent;
}


/* playicon css */

.image-stack_item-top {
    z-index: 4;
    height: auto;
    border-radius: 10px 10px 0 0;
    max-height: 200px;
    position: absolute;
    top: 76px;
    left: 44%;
}


/* video text css */

.flexbox-text {
    background-color: #FAFBFD;
    min-height: 130px;
    border-radius: 0 0 10px 10px;
    z-index: 2;
}

.flexbox-text>p {
    padding: 18px 26px 0px 26px;
}

.timer-bigwrap {
    background-color: #FFF9F4;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
}

.timer-container {
    height: 130px;
}

.timer {
    text-align: center;
    margin: 40px 0;
}


/* FOOTER CSS */

.footer-wrap {
    width: 100%;
}

.footer {
    background-color: #FFFFFF;
    height: 100%;
    display: grid;
    grid-template-rows: 40% 50%;
    max-width: 1200px;
    margin: auto;
}

.footer-textbox-left {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
}

.footer-text-left {
    padding-top: 40px;
    padding-left: 20px;
    padding-bottom: 40px;
    margin-left: 70px;
}

.footer-textbox-right {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
}

.footer-text-right {
    padding-top: 40px;
    padding-bottom: 40px;
}

.footer-text {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    color: #212121;
}

.footer-photo-left {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    padding: 20px;
    padding-right: 0;
    margin-left: 70px;
}

.footer-photo-right {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
    padding-top: 20px;
    padding-bottom: 20px;
}

#LogoJCFooter {
    height: 65px;
    vertical-align: top;
}

#LogoCUHKFooter {
    height: 67px;
    vertical-align: top;
}


/* Back To Top CSS */

#backToTopButton {
    position: fixed;
    height: 45px;
    width: 45px;
    bottom: 25px;
    right: 30px;
    display: inline-block;
    z-index: 99;
    border: none;
    border-radius: 50%;
    background-color: #F37021;
    outline: none;
    cursor: pointer;
    padding: 0;
}

.back-to-top-img {
    height: 36px;
    width: 36px;
    transform: rotate(-90deg);
    text-align: justify;
}

.pdfcontainer {
    flex-direction: column;
    align-items: center;
    margin: auto;
    display: flex;
}

.pdfcontainer a {
    margin: 1em;
    text-align: center;
}