﻿@font-face {
    font-family: 'krungsri_con-webfont';
    src: url('../fonts/krungsri_con-webfont.ttf') format('truetype');
}


body {
    font-family: 'krungsri_con-webfont';
    color: black;
    padding-bottom: 20px;
}

.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

html {
  font-size: 14px;
}


.readonly-input {
    color: #999 !important;
}

.readonly-label {
    color: #999 !important;
}

.readonly-select {
    color: #999 !important;
}

.hidden-required {
    display: none !important;
}

.readonly-button {
    color: #999 !important;
    cursor: not-allowed !important;
}



@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.steptitle {
    /*    font-size: larger;*/
    font-weight: bold;
}

.stepremark {
    color: red;
    margin-top: 10px;
    font-size: small;
}

/*.ndidbank {
    text-align: center;
    border: solid;
    border-color: #eeeeee;
    border-radius: 10px;
    min-height: 212px;
    padding-top: 15px;
    color: #6f5f5e;
}

    .ndidbank:hover {
        background-color: #ffd400;
        font-weight: bold;
        color: #6f5f5e;
    }*/

.otp-input {
    width: 4rem;
    height: 5rem;
    text-align: center;
    margin: 0 0.5rem;
    font-size: 2rem;
    border: none;
    border-bottom: 2px solid #000;
    outline: none;
}



.bullet-point {
    position: relative;
    padding-left: 15px;
    display: block;
}

    .bullet-point::before {
        content: "•";
        position: absolute;
        left: 0;
        top: 0;
        font-size: 26px;
        color: black;
        line-height: 1;
    }


.bodycolor {
    background-color: #f4f7f6;
}


.footer-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0px;
    padding-right: 0px;
}


#footer_text {
    position: static;
}

/*.footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0px;
    width: 100%;
    text-align: center;
    background-color: white;
}*/


.margein_footer {
    margin-top: 15px;
}

.dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: black;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
}

.btn-next {
    color: #FCD400;
    background-color: #6F5F5E;
    border: 1px solid #FCD400;
}

.btn-next-alt {
    color: #6F5F5E;
    background-color: #FCD400;
    border: 1px solid #FCD400;
    /*    width: 100%;*/
    box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
    font-weight: bold;
}


.btn-next-confirm {
    color: #6F5F5E;
    background-color: #FCD400;
    border-color: #FCD400;
    /*    border: 1px solid #FCD400;*/
    font-weight: bold;
}

.footertxt-position {
    text-align: left;
}


.date-icon {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.card-box {
    padding: 40px;
}



input[type="text"]:not(.form-control):not(.input_date),
input[type="email"]:not(.form-control),
input[type="tel"]:not(.form-control),
input[type="password"]:not(.form-control) {
    width: 100%;
    padding: 12px;
    border-bottom: 1px solid #ccc;
    border-top: 0;
    border-left: 0;
    border-right: 0;
/*    border-radius: 4px;*/
    font-size: 16px;
}


.input_date {
    flex: 1;
    padding: 5px;
    border-bottom: 1px solid #ccc;
    border-top: 0;
    border-left: 0;
    border-right: 0;
/*    border-radius: 4px;*/
    font-size: 16px;
}



select:not(.form-control) {
    width: 100%;
    padding: 12px;
    border-bottom: 1px solid #ccc;
    border-top: 0;
    border-left: 0;
    border-right: 0;
/*    border-radius: 4px;*/
    font-size: 16px;
    background-color: transparent;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
}

select:not(.form-control):focus {
    outline: none;
    border-bottom-color: #FCD400;
}




input:not(.form-check-input):focus {
    outline: none !important;
    border-color: #FCD400 !important;
}

input[type="text"][readonly] {
    color: #999; 
}

.no-style {
    all: unset;
    font: inherit;
}




@media (max-width: 768px) {

    .footertxt-position {
        margin-left: 15px;
    }

    .card-box {
        padding: 10px;
    }

    body.bodycolor {
        background: none;
    }


    #submitfooter {
        margin-bottom: 20px;
        text-align: center;
    }



    footer#footer_text {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        background: #fff;
        z-index: 1030;
        box-shadow: 0 -2px 8px rgba(0,0,0,.08);
        border-top: 1px solid #e9ecef;
    }

    :root {
        --footer-height: 84px;
    }


    body {
        padding-bottom: calc(var(--footer-height) + env(safe-area-inset-bottom, 0px));
    }


    #submitfooter .btn {
        width: 100%;
    }


    .footer-container {
        padding-left: 15px;
        padding-right: 15px;
    }

}


@media (min-width: 768px) {

/*    .form-container {
        max-width: 600px; 
    }

    .account-form {
        padding: 40px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
    }*/



    .card-box {
        max-width: 600px;
        background-color: #ffffff
    }



    #container_box.container.container_maxwith {
        max-width: 100%;
    }


    #footer_text.footer {
        display: block;
    }


    #submitfooter {
        width: 100%;
    }



}


@media (min-width: 769px) {
    #container_box.container.container_maxwith {
        max-width: 600px;
    }


/*    #footer_text.footer {
        display: flex; 
        gap: .5rem;
        flex-wrap: wrap;
    }

    #footer_text.footer {
        margin-top: 15px;
    }
*/



    footer#footer_text {
        position: static;
        box-shadow: none;
        border-top: 0;
    }



    #submitfooter {
        margin: 0;
        text-align: initial;
    }


}



#footer_text, #footer_text * {
    box-sizing: border-box;
}


.p-12 {
    font-size: 12px;
}

.mb-0 {
    margin-bottom: 0;
}




#container_box.container.container_maxwith {
    max-width: 600px; 
    margin-left: auto; 
    margin-right: auto;
}



/*
.selectable-option:has(.option-radio:checked) {
    border-color: #FCD400;
    background: rgba(#FCD400, .05);
}

.selectable-option:focus-within {
    outline: 2px solid #FCD400;
    outline-offset: 2px;
}


.selectable-option:hover {
    background-color: rgba(var(#FCD400), 0.08);
    cursor: pointer;
}*/



.option-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.selectable-option {
    border: 1px solid var(#FCD400);
    border-radius: .5rem;
    transition: background-color .2s ease, border-color .2s ease;
}

    .selectable-option:hover {
        background-color: rgba(252, 212, 0, .6);
        border-color: #ffc107;
        cursor: pointer;
    }

    .selectable-option:has(.option-radio:checked) {
        background-color: rgba(252, 212, 0, .6);
        border-color: #ffc107;
        transition: background-color .2s ease, border-color .2s ease;
    }

.selectable-option,
.selectable-option:hover,
.selectable-option:has(.option-radio:checked) {
    border-bottom-width: 1px !important;
}



.is-checked {
    background-color: rgba(252, 212, 0, .6);
    border-color: #ffc107;
    transition: background-color .2s ease, border-color .2s ease;
}



#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050; 
}

.overlay-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.overlay-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}




.form-check-input.chk-solid {
    width: 18px;
    height: 18px;
}

.form-check-input.chk-solid:checked {
    background-color: #7e7472; 
    border-color: #7e7472;
}

.form-check-input.chk-solid:focus {
    box-shadow: none !important;
    outline: none !important;
}



.progress-wrapper {
    position: relative;
    height: 8px;
}

.progress-line {
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: #dcdcdc; 
    border-radius: 5px;
}

.progress-filled {
    position: absolute;
    height: 8px;
    background-color: #FFD400;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.progress-check {
    width: 24px;
    height: 24px;
    background-color: #6F5F5E;
    color: white;
    font-size: 14px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
}


.otp-input-2 {
    width: 3rem !important;
    height: 3rem !important;
    text-align: center;
    font-size: 2rem !important;
    border: none;
    outline: none;
}

    .otp-input-2:focus {
        outline: none;
        border-color: #FCD400;
        border-bottom: 2px solid #FCD400c2;
    }

.hidden {
    display: none;
}

.p_line {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}




.radio-yellow .btn {
    width: 100%;
    border: 2px solid #FFD400;
    background: #fff;
    border-radius: 999px;
    padding: .6rem 1rem;


    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis;
}

.radio-yellow .btn-check:checked + .btn {
    background-color: #FFD400;
    border-color: #FFD400;
}

.radio-yellow .btn:hover {
    background-color: rgba(255, 212, 0, 0.15);
}

.radio-yellow .btn-check:focus + .btn {
    box-shadow: 0 0 0 .2rem rgba(255, 212, 0, 0.35);
}


.radio-yellow .btn {
    display: block; 
}

.select2-container {
    width: 100% !important;
}

.select-like + .select2-container .select2-selection--single {
    width: 100%;
    height: auto;
    padding: 12px;
    border-bottom: 1px solid #ccc;
    border-top: 0;
    border-left: 0;
    border-right: 0;
   /* border-radius: 4px;*/
    font-size: 16px;
    background-color: transparent;
    box-shadow: none;
}

.select-like + .select2-container .select2-selection__rendered {
    padding-left: 0;
    padding-right: 28px;
    line-height: 1.4;
    color: inherit;
}


.select-like + .select2-container .select2-selection__arrow {
    width: 28px;
    height: 100%;
    right: 0;
    top: 0;
}


    .select-like + .select2-container .select2-selection__arrow b {
        display: none;
    }


.select-like + .select2-container .select2-selection--single {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
}


    .select-like + .select2-container .select2-selection--single:focus,
    .select-like + .select2-container .select2-selection--single.select2-selection--focus {
        outline: none;
        border-bottom-color: #86b7fe;
    }


.select-like + .select2-container .select2-selection__placeholder {
    color: #6c757d;
}




.form-check-input:checked {
    background-color: #6f5f5e !important;
    border: 0;
}

.form-check-input:focus, .label::after, label.form-check-label:focus, .form-check-input::after, .form-check-input:not(:disabled):not(.disabled):active:focus {
    outline: 0;
    border: 0;
    box-shadow: 0 0 0 0.1rem #6f5f5e !important;
}

/*.btn-outline-warning {
    border-width: 2px;
    font-weight: 500;
}*/

.radio-box {
    border-width: 2px;
    font-weight: 500;
    padding: 10px;
    border: 1px solid #ffc800;
    border-radius: 10px;
}


.btn-check:checked + .radio-box {
    background-color: #ffd400;
    border-color: #ffc800;
}


.chev {
    color: #888;
    transition: transform .2s ease;
}

.chev.rotate {
    transform: rotate(180deg);
}


.list-group-item:first-child {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.list-group-item:last-child {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}



.head_text {
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.subhead_text {
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}




.head_codition {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}


.title_codition {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}




.choices__input {
    pointer-events: none;
}



.margin-text {
    margin-left: 12px;
}


.modal-content {
    max-height: 90vh;
    overflow-y: auto;
}
