﻿@import url("basestyle.css");

html {
    height: 100%;
}

*, body {
    margin: 0px;
}

body {
    position: relative;
}

select, option {
    -webkit-appearance: none;
}

.main-head {
    grid-area: header;
}

.content {
    grid-area: content;
}

.main-nav {
    grid-area: nav;
}

.main-footer {
    grid-area: footer;
}

.frontpage {
    grid-template-columns: 1fr auto;
    grid-template-rows: 0fr auto 1fr;
    display: grid;
    width: 100%;
    height: 100%;
    grid-template-areas:
        "header"
        "nav"
        "content"
        "footer";
    align-content: space-between;
}

header.navbar-header {
    width: 100%;
    overflow: hidden;
    padding: 0 15px;
    height: initial;
    background-color: var(--primary-navy);
    position: fixed;
    top: 0px;
    z-index: 100;
}

footer {
    padding-top: 20px;
    padding-bottom: 20px;
}

.navbar-header-div {
    max-width: 90%;
}

.item-menu-bar {
    display: flex;
    flex-direction: row;
}

.moblie-logo-banner {
    display: none !important;
}

    .moblie-logo-banner > div > img {
        object-fit: contain;
    }

.item-menu-bar > a, .dropdown-div > a, .button-logout, .nav-link {
    font-family: Poppins,sans-serif !important;
    color: #ffffff !important;
    font-style: normal;
    font-weight: 600;
    cursor: pointer;
}

.section {
    padding: 0rem;
}

.mobile-nav-main {
    background: none;
}

    .mobile-nav-main.scrolled {
        background-color: var(--primary-navy) !important;
        transition: background-color 300ms linear;
    }

.mobile-nav-div > nav {
    position: fixed;
    height: 7rem;
    width: 100%;
    z-index: 80;
    padding: 3rem 3rem;
    display: flex;
    align-items: center;
    align-content: center;
}

#menuToggle {
    display: none;
    position: fixed;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
}

    #menuToggle a {
        text-decoration: none;
        color: #fff;
        transition: color 0.3s ease;
    }

.order-content-detail {
    margin: 3rem 0rem;
    align-self: center;
    color: #fff;
    font-size: calc(60% + 1vmin);
}

#menuToggle input {
    display: block;
    width: 100%;
    position: absolute;
    top: -7px;
    left: -5px;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    -webkit-touch-callout: none;
}

.service-text-detail-about {
    font-size: calc(60% + 1vmin);
}

#menuToggle span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: #ffffff;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0), background 0.5s cubic-bezier(0.77,0.2,0.05,1.0), opacity 0.55s ease;
}

    #menuToggle span:first-child {
        transform-origin: 0% 0%;
    }

    #menuToggle span:nth-last-child(2) {
        transform-origin: 0% 100%;
    }

#menuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #fff;
}


    #menuToggle input:checked ~ span:nth-last-child(3) {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }

    #menuToggle input:checked ~ span:nth-last-child(2) {
        transform: rotate(-45deg) translate(0, -1px);
    }

#menu {
    text-align: center;
    position: fixed;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-content: center;
    margin: -60px 0 0 -30px;
    padding: 25px;
    background: var(--primary-navy);
    list-style-type: none;
    transform-origin: 0% 0%;
    transform: translate(0,-100%);
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

    #menu li {
        padding: 10px 0;
        font-size: 22px;
    }

#menuToggle input:checked ~ ul {
    transform: none;
}

.container {
    display: flex;
    justify-content: space-between;
}

.copyright-text {
    color: var(--primary-navy);
    font-family: Poppins,sans-serif !important;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
}

.container-content {
    width: 100%;
    height: 100%;
    justify-content: center;
}

.mobile-nav-div {
    height: 0px;
}

.section-register {
    padding-top: 10rem;
    width: 80%;
    display: flex;
    align-content: center;
    padding-bottom: 5rem;
    flex-direction: column;
    height: 100%;
}

#form-login {
    min-height: 17rem;
    justify-content: space-around;
}

.page-content {
    background-color: #003863;
    height: 100%;
    box-shadow: inset 0 0 0 2000px #003863d9;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("../../Content/Images/bgP.webp");
}

.section-login {
    width: 80%;
    height: 100%;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;
}

.section-page-content {
    width: 80%;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
}

.check-box-text, .link-login {
    font-size: calc(60% + .5vmin);
}

.align-self-center {
    align-self: center;
}

.d-flex-consent {
    display: flex !important;
}

.card-consent {
    background: #FFFFFF;
    padding: 2rem 3rem 3rem 3rem;
    overflow: hidden;
    box-shadow: 5px 5px 10px 5px rgba(0, 0, 0, 0.1);
    color: #FFFFFF;
    background: var(--primary-navy);
    font-size: calc(60% + 1vmin);
    margin-top: 1.5rem;
    border: 1px solid #FFFFFF !important;
}

.text-consent-title {
    font-weight: 900;
    text-align: center;
    font-size: calc(60% + 1.2vmin);
}

.upperline {
    border-top: 1px solid #FFFFFF !important;
}

.consent-paragraph {
    overflow-y: scroll;
    --webkit-overflow-scrolling: touch;
    max-height: 450px;
    padding-right: 1rem;
}

    .consent-paragraph h1 {
        word-break: break-all !important;
        line-height: 1.6em;
        font-size: calc(60% + 1.15vmin) !important;
        margin-top: 10px !important;
    }

    .consent-paragraph a {
        color: lightskyblue !important;
    }

    .consent-paragraph p {
        word-break: break-all !important;
        line-height: 1.6em;
        padding-bottom: 1.5rem;
    }

    .consent-paragraph li {
        word-break: break-all !important;
        line-height: 1.6em;
        font-family: Poppins, sans-serif !important;
        padding-bottom: 1rem;
    }

.progress-container {
    width: 4px;
    height: 100%;
    background: #FFFFFF;
}

.paragraph-progress-bar {
    height: 0%;
    background: var(--primary-orange);
    width: 4px;
}

.readonly {
    opacity: 0.5 !important;
    pointer-events: none !important;
}

.div-input-register {
    width: 49%;
}

.input-text-error-div {
    background: rgba(255, 0, 0, 0.5);
    border: 1px solid #FFFFFF;
}

.table-text-service {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.text-over-space {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 30%;
}

.message-error, .message-findNotEmail-error {
    text-align: center;
    height: fit-content;
    position: absolute;
    width: 100%;
}

.register-checkbox {
    vertical-align: top;
}

.container-checkbox {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-top: -3px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .container-checkbox input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    border: 2px solid;
}

.container-checkbox input:checked ~ .checkmark {
    background: none;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.container-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.container-checkbox .checkmark:after {
    left: 8px;
    top: 5px;
    width: 6px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.div-button-back {
    display: flex;
    position: fixed;
    bottom: 40px;
    right: 25%;
    justify-content: flex-end;
}

.h1, .h2, .h3, h1, h2, h3 {
    margin-bottom: 10px;
    margin-top: 10px;
}

.login-error-tag {
    position: relative;
    bottom: 5rem;
}

.paginate_button {
    color: #fff !important;
}

.card-content-result-order {
    padding: 5rem;
    width: 60%;
    box-shadow: 0px 0px 20px 3px #403d3d66;
    border-radius: 10px;
    background-color: #003863d4;
    display: flex;
    align-items: center;
    flex-direction: column;
    min-width: 550px;
}

    .card-content-result-order p {
        font-size: calc(60% + 1vmin);
    }

    .card-content-result-order h1 {
        font-size: calc(60% + 3vmin);
    }

    .card-content-result-order h3 {
        font-size: calc(60% + 1.5vmin);
    }

#2c2p-payment-form {
    min-height: 15rem;
    justify-content: space-between;
}

.expiration-div > .div-cardyear-form {
    margin: 0 10px;
}

.card-condition {
    background: #FFFFFF;
    padding: 2rem 4rem 3rem 4rem;
    overflow: hidden;
    box-shadow: 5px 5px 10px 5px rgba(0, 0, 0, 0.1);
    color: #FFFFFF;
    background: var(--primary-navy);
    font-size: calc(60% + 1vmin);
    margin-top: 3rem;
    border: 1px solid #FFFFFF !important;
}

#term-and-condition-content {
    color: #fff;
    margin-top: 95px;
    padding: 0 5rem 5rem 5rem;
}

    #term-and-condition-content h1 {
        font-size: calc(60% + 1.15vmin);
        text-align: center;
        font-weight: 600;
        color: #fff;
        line-height: 1.6em;
        margin: 1.5rem 0 !important;
    }

    #term-and-condition-content h2 {
        font-size: calc(60% + 2vmin);
        text-align: center;
        font-weight: 600;
        color: #fff;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    #term-and-condition-content p {
        line-height: 1.6em;
        padding-bottom: 1.5rem;
    }

    #term-and-condition-content a {
        color: lightskyblue !important;
        line-height: 1.6em;
        padding-bottom: 1.5rem;
    }

    #term-and-condition-content li {
        line-height: 1.6em;
        font-family: Poppins, sans-serif !important;
        padding-bottom: 0.5rem;
    }


.text-white {
    color: #fff;
}

@media (max-width: 1440px) {
    .div-button-back {
        display: flex;
        position: fixed;
        bottom: 40px;
        right: 10%;
        justify-content: flex-end;
    }
}

@media (max-width: 1024px) {
    .item-menu-bar > a, .item-menu-bar > a, .dropdown-div > a {
        font-size: calc(60% + .5vmin);
    }

    .checkmark {
        position: absolute;
        top: 0;
        left: 0;
        height: 15px;
        width: 15px;
        border: 1px solid;
    }

    .container-checkbox {
        padding-left: 15px;
        margin-top: 0px;
    }

        .container-checkbox .checkmark:after {
            left: 4px;
            top: 1px;
            width: 6px;
            height: 9px;
        }
}

/* tablets */
@media (max-width:768px) {
    .input-text-error-div {
        margin-bottom: 0rem;
    }

    .div-input-register {
        width: 100%;
    }

    .logo-image {
        max-width: 80px;
    }

    header.navbar-header {
    }

    .container {
        width: 100% !important;
    }

    .register-form-input {
        flex-direction: column;
        gap: 10px;
        min-height: 102px;
    }

    .register-form-input {
    }

    .section-login {
        justify-content: flex-start;
        padding-top: 10rem;
    }

    .register-form-input > input, .register-form-input > select {
        width: 100%;
    }

    .expiration-div {
        flex-direction: column;
        min-height: 16rem;
    }

        .expiration-div > .div-cardyear-form {
            margin: 0 !important;
        }

    form#form-register {
        gap: 0px !important;
    }

    #2c2p-payment-form {
        min-height: 28rem;
    }

    .div-button-back {
        width: 80%;
        justify-content: center;
    }

    .login-error-tag {
        position: relative;
        top: -30px;
    }

    .form-input-content-div {
        margin-top: 3rem;
    }
}

@media (max-width: 574px) {
    .card-consent {
        padding: 1rem 2rem 2rem 2rem;
    }

    .card-condition {
        padding: 1rem 2rem 2rem 2rem;
    }
}

@media (max-width:550px) {
    .card-condition {
        margin-top: 2rem;
    }

    #menu-member {
        display: none;
    }

    .section-login {
        margin-top: 0rem;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: row;
        align-content: center;
        padding-top: 0rem
    }

    .moblie-logo-banner {
        display: block !important;
    }

    .navbar-header {
        display: none !important;
    }

    #menuToggle {
        display: block !important;
    }

    .item-menu-bar > a, .item-menu-bar > a, .dropdown-div > a {
        font-size: calc(60% + 1vmin);
    }

    .form-input-content-div {
        width: 80%;
        margin-top: 3rem;
    }

    .section-register {
        padding-top: 0rem;
    }

    .order-content-detail {
        width: 100%;
    }

    .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .header-login {
        width: 80%;
        position: absolute;
        margin-top: 5rem;
        top: 0;
    }

    h2.contact-header {
        margin-top: 5px;
    }

    .login-error-tag {
        top: 0px;
    }

    .section-register > div > .moblie-logo-banner, .section-register > .moblie-logo-banner {
        margin-top: 5rem;
    }

    #memberorder-list_info {
        display: none !important;
    }

    .div-button-back {
        bottom: 20px;
    }

    .content-result-order {
        justify-content: center !important;
    }

    .card-content-result-order {
        padding: 2rem;
    }

        .card-content-result-order img {
            width: 50%;
        }

    .card-content-result-order {
        width: 100%;
        min-width: 0px;
    }

    .page-content {
        background-image: url("../../Content/Images/bg-page-mb.webp")
    }

    .copyright-text {
        text-align: center;
        font-size: 8px;
    }

    #term-and-condition-content {
        padding: 0 2rem;
        margin-top: 60px;
    }
}
/* smartphones, iPhone*/
@media (max-width:425px) {
}
/* smartphones, iPhone*/
@media (max-width:375px) {
}

/* smartphones, iPhone*/
@media (max-width:320px) {
    .banner-text-header-div {
        padding-top: 3rem;
    }
}