#card-register-modal .modal-dialog.modal-dialog-centered.modal-sm {
        max-width: 996px !important;
    }

    #card-register-modal .row {
        margin: 0;
    }

    #card-register-modal.full-modal .close {
        top: 10px;
        right: 20px;
        position: absolute;
        opacity: 1;
        z-index: 6;
        background-image: url(/pub/media/sites/Apply-Online/img/Filled.svg);
        background-size: 30px;
        background-repeat: no-repeat;
        background-position: center center;
        width: 40px;
        height: 40px;
    }

    #card-register-modal.full-modal .close.close-mobile {
        top: 5px;
        right: 5px;
        position: absolute;
        opacity: 1;
        z-index: 6;
        background-image: url(/pub/media/sites/Apply-Online/img/icon-x-close-white.svg);
        background-size: 24px;
        background-repeat: no-repeat;
        background-position: center center;
        width: 34px;
        height: 34px;
    }

    #card-register-modal.full-modal .close:hover {
        background-image: url(/pub/media/sites/Apply-Online/img/filter-grey.svg);
    }

    #card-register-modal .modal-content {
        border: unset !important;
    }

    #card-register-modal .modal-content {
        border: unset !important;
        border-radius: 13px;
        margin: 0 !important;
    }

    #card-register-modal.full-modal .modal-body {
        height: auto;
        padding: unset !important;
        margin: 0;
    }

    #card-register-modal.full-modal .modal-body:after,
    #card-register-modal.full-modal .modal-content:after {

        background: unset !important;
        content: unset;

    }

    #card-register-modal .apply-online-bg-modal {
        background: linear-gradient(0deg, #071A32 0%, #154F98 100%);
        backdrop-filter: blur(20px);
        color: white;
        border-radius: 13px 0 0 13px;
        padding: 20px;

    }

    #card-register-modal .apply-online-bg-modal .d-lg-block.grid-around {
        display: grid !important;
        align-content: space-around;
        height: 100%;
    }

    #card-register-modal .apply-online-bg-modal h2.title {
        font-size: 25px;
        line-height: 1.4;
        text-align: center;
        font-family: 'Conv_SukhumvitTadmai_Bol';
    }

    #card-register-modal .apply-online-bg-modal p.sub-title {
        font-size: 18px;
        line-height: 1.4;
        text-align: center;
        font-family: 'Conv_SukhumvitTadmai_Tex';
        margin-bottom: 0;
    }

    #card-register-modal img.qr-code {
        width: 120px;
        height: 120px;
        margin: auto;
        border-radius: 8px;
        padding: 8px;
        background: #ffffff;
    }

    #card-register-modal .description {
        font-size: 18px;
        line-height: 1.4;
        text-align: center;
        font-family: 'Conv_SukhumvitTadmai_Tex';
    }

    #card-register-modal .link-out {
        font-size: 16px;
        line-height: 1.4;
        text-align: center;
        font-family: 'Conv_SukhumvitTadmai_Tex';
        text-decoration: underline;
        color: #ffffff;
    }

    #card-register-modal .link-out:hover {
        text-decoration: none;
    }

    #card-register-modal .header-content h2 {
        font-size: 25px;
        line-height: 1.4;
        text-align: center;
        font-family: 'Conv_SukhumvitTadmai_Bol';
    }

    #card-register-modal .header-content p {
        font-size: 18px;
        line-height: 1.4;
        text-align: center;
        font-family: 'Conv_SukhumvitTadmai_Tex';
    }

    #card-register-modal .content-btn {
        border-radius: 0 13px 13px 0;
        padding: 30px 0px;
    }

    #card-register-modal .left-icon {
        width: 56px;
        height: 42px;
        text-align: center;
    }

    #card-register-modal .card-choice .left-icon img {
        width: 100%;
        height: 100%;
        position: unset;
        top: 50%;
        transform: unset;
    }

    @media only screen and (max-width: 991px) {
        #card-register-modal .modal-dialog.modal-dialog-centered.modal-sm {
            max-width: 100% !important;
        }

        #card-register-modal .apply-online-bg-modal {
            border-top-right-radius: 13px;
            border-top-left-radius: 13px;
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
        }

        #card-register-modal.full-modal .modal-body {
            height: auto;
            max-width: 100%;
        }

        #card-register-modal .apply-online-bg-modal .d-lg-block.grid-around {
            display: none !important;
        }

        #card-register-modal .apply-online-bg-modal .grid-around {
            max-width: 400px;
            margin: auto;
        }

        #card-register-modal .apply-online-bg-modal img.device-img {
            width: 110px;
        }

        #card-register-modal .apply-online-bg-modal h2.title,
        #card-register-modal .apply-online-bg-modal p.sub-title {
            text-align: left;
        }

        .btn-link-out {
            border-radius: 5px;
            width: 100%;
            display: block;
            border: 1px #ffffff solid;
            padding: 8px 16px;
            font-family: 'Conv_SukhumvitTadmai_Bol';
            font-size: 14px;
            text-align: center;
            color: #ffffff;
        }
    }


    @media only screen and (max-width: 600px) {
        #card-register-modal .card-choice .left-icon img {
            width: auto;
            height: 100%;
        }

        #card-register-modal.full-modal .modal-body.container {
            padding: 0 !important;
        }

        #card-register-modal .apply-online-bg-modal .grid-around {
            max-width: 100%;
        }

        #card-register-modal .apply-online-bg-modal h2.title {
            font-size: 20px;
        }

        #card-register-modal .apply-online-bg-modal p.sub-title {
            font-size: 16px;
        }

        #card-register-modal .header-content h2 {
            font-size: 20px;
        }

        #card-register-modal .header-content p {
            font-size: 16px;
        }
    }