.container {
    min-width: 90%;
}

.re-header, .re-menu {
    display: none;
}

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

    .header a {
        font-size: 13px;
    }

}

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

    body {
        padding: 65px 0 0 0;
    }

    .header {
        display: none;
    }

    .re-header {
        display: block;
        padding: 0 15px 0 15px;
        background-color: rgba(255, 255, 255, 0.98);
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 65px;
        z-index: 2000;
        border-bottom: solid 1px #ddd;
    }

    .re-header .row {
        height: 60px;
    }

    .re-header a {
        color: #222;
        text-decoration: none;
    }

    .menu-open {
        display: inline-block;
        cursor: pointer;
    }

    .menu-close {
        display: none;
        cursor: pointer;
    }

    .re-menu {
        display: block;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        height: 100%;
        padding-bottom: 200px;
        overflow-x: scroll;
        left: 0;
        top: -100%;
        z-index: 1800;
        position: fixed;
        transition: all 0.3s ease 0s;
        opacity: 0;
    }

    .re-menu.show {
        top: 65px;
        opacity: 1;
    }

    .re-menu ul {
        margin: 0;
        padding: 0;
    }

    .re-menu ul li a {
        margin: 0 !important;
        color: #222;
        font-weight: bolder;
        text-decoration: none;
        width: 100%;
        display: block;
        padding: 15px;
        border-bottom: solid 1px #A91322;
    }

    .re-menu ul li a.active {
        color: #A91322;
    }

    .re-menu ul li a.sub-cate {
        border-bottom: none;
    }

    .re-menu ul li a.cate-lv2 {
        margin: 0 !important;
        color: #222;
        text-decoration: none;
        width: 100%;
        display: block;
        padding: 5px 15px 5px 33px;
        border-bottom: none;
        font-size: 15px;
        position: relative;
    }

    .re-menu ul li a.cate-lv2:after {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #222;
        position: absolute;
        left: 20px;
        top: 50%;
        margin-top: -3px;
    }

    .re-menu ul li a.cate-lv2.active:after {
        background: #A91322;
    }

    .re-menu ul li a.cate-lv2:last-child {
        border-bottom: solid 1px #A91322;
        padding: 5px 15px 15px 33px;
    }

    .re-menu ul li a.cate-lv2:last-child:after {
        margin-top: -8px;
    }

    .re-menu ul li a.cate-lv2.active {
        color: #A91322;
    }

    .re-menu a {
        color: #222;
        opacity: 1;
        text-decoration: none;
    }

    .re-menu a.active {
        color: #A91322;
    }

    .re-menu a:hover {
        color: #222;
    }

    h4 {
        font-size: 1rem !important;
    }

    h3.home-page-title {
        font-size: 1.25rem !important;
    }

    .home-banner-content h5 {
        font-size: 1rem !important;
    }

    .footer ul li:first-child a {
        font-size: 17px;
    }

    .footer ul li a {
        font-size: 12px;
    }

    .card-box {
        margin-top: 20px;
    }

    .subpage-banner {
        height: 250px;
        background-size: 100% auto;
        background-repeat: repeat-y;
        background-position: top center;
    }

    .no-banner {
        margin-top: -250px;
    }

    .subpage-banner h2 {
        font-size: 2.5em;
    }

    .table-responsive-wrapper {
        max-height: 600px;
    }

    .past-winner-table, .alternating-table {
        font-size: 14px;
    }

    .past-winner-table th, .alternating-table th,
    .past-winner-table td, .alternating-table td {
        padding: 8px 6px;
        min-width: 120px;
    }

    /* Ensure table doesn't get too cramped */
    .past-winner-table, .alternating-table {
        min-width: 800px;
    }

}

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

    .no-banner {
        margin-top: -250px;
    }

    .welcome-member, .member-nav {
        padding: 30px;
    }

    .grid-container {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, auto);
    }
}

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

    .height-full-page {
        height: auto;
    }

    .table-area {
        width: auto;
    }

    .footer ul {
        width: 49%;
    }

    .social-media-icons img {
        width: 38px;
    }

    .home-banner {
        height: 380px;
    }

    .content-scroll {
        height: 280px;
    }

    .home-banner-content {
        padding: 25px 15px;
    }

}

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

    .submitSuccess, .submitFail {
        padding: 5% 7%;
    }

    .footer ul {
        width: 49%;
    }

    .contactus-area iframe {
        height: 250px;
    }

    .subpage-banner {
        height: 180px;
    }

    .no-banner {
        margin-top: -180px;
    }

    .subpage-banner h2 {
        font-size: 2.0em;
    }

    .filter-btn-area ul {
        justify-content: center;
    }

    .past-winner-table, .alternating-table {
        font-size: 12px;
        min-width: 600px;
    }

    .past-winner-table th, .alternating-table th,
    .past-winner-table td, .alternating-table td {
        padding: 6px 4px;
        min-width: 100px;
    }

    .welcome-member, .member-nav {
        padding: 20px;
    }

    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        padding: 15px;
    }

    .grid-item {
        min-height: 120px;
        padding: 10px;
    }

    .grid-image {
        width: 50px;
        height: 50px;
        aspect-ratio: 1 / 1;
    }

    .grid-text {
        font-size: 13px;
    }

    .uploadReceipt, .loginIndex, .forgetPassword, .resetForm {
        padding: 45px 40px;
    }
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .grid-item {
        min-height: 100px;
        padding: 10px;
    }

    .grid-image {
        width: 40px;
        height: 40px;
        aspect-ratio: 1 / 1;
    }
    .uploadReceipt, .loginIndex, .forgetPassword, .resetForm{
        padding: 30px 25px;
    }
}
