﻿body {
    background-color: #f0f0f0;
}

@font-face {
    font-family: 'DBBd';
    src: url('../fonts/db_heavent_bd.ttf') format('truetype');
}

@font-face {
    font-family: 'DB';
    src: url('../fonts/db_heavent.ttf') format('truetype');
}

@font-face {
    font-family: 'DBMed';
    src: url('../fonts/db_heavent_med.ttf') format('truetype');
}

@media (min-width: 576px) {
    .main-con {
        padding-top: 90px;
    }
}


    /* ขนาดหน้าจอ ≥ 576px (sm) */
    @media (min-width: 576px) {
        .label-text {
            font-size: 16px !important;
        }
        .label-value {
            font-size: 16px !important;
        }
    }
    /* ขนาดหน้าจอ ≥ 768px (md) */
    @media (min-width: 768px) {
        .label-text {
            font-size: 18px !important;
        }
        .label-value {
            font-size: 18px !important;
        }
    }
    /* ขนาดหน้าจอ ≥ 992px (lg) */
    /*@media (min-width: 992px) {
        .label-text {
            font-size: 20px;
        }
    }*/
    /* ขนาดหน้าจอ ≥ 1200px (xl) */
    /*@media (min-width: 1200px) {
        .label-text {
            font-size: 22px;
        }
    }*/




.header-tab {
    margin-bottom: 30px;
}

.header-label > img {
    float: left;
    width: 20px;
}

.verifyicon {
    width: 110px;
    margin: auto;
    margin-bottom: 50px;
}

    .verifyicon > img {
        width: 100%;
    }

.header-label > h3 {
    font-family: DBBd;
    font-size: 34px;
    color: #4e1913;
    padding-top: 4px;
}

.header-label-r {
    margin: 25px 0 0 27px;
    max-width: 600px;
}

    .header-label-r > img {
        float: left;
        width: 30px;
    }

    .header-label-r > div {
        font-family: DBBd;
        font-size: 43px;
        color: #4e1913;
        line-height: 50px;
    }

.page-num {
    position: absolute;
    top: 10px;
    right: 30px;
    text-align: right;
    color: #9b9b9b;
}

    .page-num > h5 {
        font-family: DBMed;
        font-size: 22px;
        margin-bottom: 0;
    }

@media (max-width: 576px) {
    .header-tab {
        margin-top: 30px;
    }

    .page-num {
        top: 40px !important;
    }
}

.div-step {
    margin-right: -8px;
}

.selected-step {
    float: left;
    width: 22px;
    height: 6px;
    margin: 0 8px 0 0;
    border-radius: 17px;
    box-shadow: 0 0 2px 0 rgba(226, 226, 226, 0.94);
    background-color: #ff0000;
}

.unselected-step {
    float: left;
    width: 10px;
    height: 6px;
    margin: 0 8px 0 0;
    border-radius: 17px;
    background-color: #d9dde2;
}

.form-box {
    width: 100%;
    background-color: white;
    border-radius: 17px;
    box-shadow: 0 0 16px 0 rgba(226, 226, 226, 0.34);
    padding: 17px;
    margin-bottom: 20px;
}

.form-label {
    float: left;
}

.form-label-s {
    font-family: DBMed;
    font-size: 24px;
    color: #434e5e;
    padding: 4px 0 0 0;
}

    .form-label-s > p {
        margin-bottom: 0 !important;
    }

.form-label-otp {
    width: 100%;
    font-family: DBMed;
    color: #434e5e;
    font-size: 28px;
    text-align: center;
}

    .form-label-otp > p {
        margin-bottom: 0 !important;
    }

.form-label > img {
    float: left;
    width: 40px;
}

.form-label > p {
    font-family: DBMed;
    font-size: 24px;
    color: #434e5e;
    padding: 4px 0 0 50px;
}

.form-label-btn {
    float: right;
}

.Editbtn {
    width: 80px;
    height: 30px;
    margin: 0;
    border-radius: 14px;
    background-color: #fff0f0;
    border: 0;
    color: #ff0000;
    font-family: DBBd;
    font-size: 20px;
}

    .Editbtn:before {
        content: "";
        width: 14px;
        height: 14px;
        display: inline-block;
        vertical-align: middle;
        background-color: transparent;
        background-position: center center;
        background-repeat: no-repeat;
        margin-right: 5px;
    }

.pencilBotton:before {
    background-image: url('../images/pencilicon.png');
    background-size: 14px 14px;
}

.label-text {
    font-family: DBMed;
    font-size: 21px;
    color: #9b9b9b;
    margin-bottom: 0;
    width: 100%
}

.label-value {
    font-family: DBMed;
    font-size: 23px;
    color: #434e5e;
    width: 100%
}

.radius-addon {
    border-radius: 18px !important;
}

.modal-backdrop.show {
    opacity: 0.7;
}

.setblur {
    filter: blur(4px);
}

.form-group {
    margin-bottom: 0 !important;
}

.Mainbtn {
    height: 54px;
    margin: 0;
    padding: 12px 51.8px 12px 52px;
    border-radius: 17px;
    background-color: #ff0000;
    box-shadow: 0 6px 7px 0 rgba(255, 0, 0, 0.38);
    border: 0;
    color: #ffffff;
    font-family: DBBd;
    font-size: 24px;
}

.MainDivBtn {
    float: right;
    text-align: right;
}

.MainDivBtn, MainDivBtnBack {
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    .MainDivBtn {
        width: 100% !important;
    }

        .MainDivBtn > button {
            width: 100% !important;
        }

    .MainDivBtnBack {
        width: 100% !important;
    }

        .MainDivBtnBack > button {
            width: 100% !important;
        }
}

.Mainbtn:after {
    content: "";
    width: 35px;
    height: 35px;
    display: inline-block;
    vertical-align: middle;
    background-color: transparent;
    background-position: center center;
    background-repeat: no-repeat;
    margin-left: 5px;
    margin-top: -4px;
}

.Mainbtn-popup {
    width: 121px;
    height: 42px;
    margin: 0;
    padding: 7px 42px 7px 41px;
    border-radius: 12px;
    background-color: #ff0000;
    box-shadow: 0 6px 7px 0 rgba(255, 0, 0, 0.38);
    border: 0;
    color: #ffffff;
    font-family: DBmed;
    font-size: 22px;
}

.Mainbtn-popup-cancel {
    width: 121px;
    height: 42px;
    margin: 0;
    padding: 7px 42px 7px 41px;
    border-radius: 12px;
    background-color: transparent;
    border: 0;
    color: #ff0000;
    font-family: DBmed;
    font-size: 22px;
}

.RightArrow:after {
    background-image: url('../images/rightarrowicon.png');
    background-size: 35px 35px;
}

.RightCheck:after {
    background-image: url('../images/checkicon.png');
    background-size: 35px 35px;
}

.Mainbtn-Back {
    height: 54px;
    margin-top: 5px;
    text-align: center;
    border-radius: 17px;
    font-family: DBBd;
    font-size: 26px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.21;
    letter-spacing: normal;
    color: #ff0000;
    border: 0;
}

    .Mainbtn-Back:before {
        content: "";
        width: 35px;
        height: 35px;
        display: inline-block;
        vertical-align: middle;
        background-color: transparent;
        background-position: center center;
        background-repeat: no-repeat;
        margin-right: 8px;
        margin-top: -4px;
    }

.LeftArrow:before {
    background-image: url('../images/leftarrowicon.png');
    background-size: 35px 35px;
}


.H-form-group-popup {
    margin: 0 0 0 7px;
    padding: 0 5px 0 5px;
    z-index: 2;
}

.removeline {
    width: 100%;
    height: 5px;
    background-color: white;
    margin-top: -17px;
}

.label-text-popup {
    font-family: DBMed;
    font-size: 19px;
    color: #9b9b9b;
    margin-bottom: 0;
    width: 100%;
    padding: 0 5px 0 5px;
}

@media (max-width: 576px) {
    .label-text-popup {
        margin-bottom: 15px;
    }
}

.D-form-group-popup {
    width: 100%;
    margin-top: -1px;
    font-family: 'DBMed';
    font-size: 20px;
}

.form-group-popup {
    margin-bottom: 15px !important;
}

.form-group-popup-noneH {
    margin: 15px 0 15px 0 !important;
    font-size: 20px;
    font-family: 'DBMed';
}

@media (min-width: 576px) {
    .form-group-popup {
        display: -ms-flexbox;
        display: flex;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        -ms-flex-align: center;
        align-items: center;
        margin-bottom: 0;
    }
}

.d-input-popup {
    border-radius: 12px !important;
    border: solid 1px #c7c7c7 !important;
    font-size: 20px;
    color: #9b9b9b;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

    .d-input-popup::placeholder {
        color: #9b9b9b;
    }

.dropdown-custom {
    position: relative;
    font-family: 'DBMed';
}

    .dropdown-custom select {
        display: none;
    }

.select-selected {
    background-color: transparent;
}

    /*style the arrow inside the select element:*/
    .select-selected:after {
        position: absolute;
        content: "";
        top: 17px;
        right: 14px;
        width: 0;
        height: 0;
        border: 6px solid transparent;
        border-color: #838383 transparent transparent transparent;
    }

    /*point the arrow upwards when the select box is open (active):*/
    .select-selected.select-arrow-active:after {
        border-color: transparent transparent #fff transparent;
        top: 7px;
    }

/*style items (options):*/
.select-items {
    position: absolute;
    background-color: white;
    top: 45px;
    left: 0;
    right: 0;
    z-index: 99;
    border: 1px solid #dbdbdb;
    border-radius: 9px;
    padding: 9px 0 9px 0;
    max-height: 300px;
    overflow: auto;
}

    .select-items::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
        background-color: #F5F5F5;
    }

    .select-items::-webkit-scrollbar {
        width: 4px;
        background-color: #F5F5F5;
    }

    .select-items::-webkit-scrollbar-thumb {
        background-color: #d40000;
    }

.select-hide {
    display: none;
}

.select-items div:hover, .same-as-selected {
    background-color: rgba(100, 100, 100, 0.1);
    color: #555555 !important;
}

.select-selected {
    color: #9b9b9b;
    padding: 6px 13.7px 6px 15px;
    border: 1px solid transparent;
    border: solid 1px #c7c7c7;
    cursor: pointer;
    user-select: none;
    border-radius: 12px;
    margin-top: -1px;
}

.select-items div {
    color: #9b9b9b;
    padding: 4px 13.7px 8px 15px;
    border: 0;
    cursor: pointer;
    user-select: none;
    height: 39px;
    margin-top: -1px;
}

.Second-headder {
    margin-left: 8px;
    font-family: DBMed;
    font-size: 26px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    color: #434e5e;
}

.Error-message-ex {
    padding: 5px 0 0 15px;
    font-family: DBMed;
    font-size: 22px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: normal;
    text-align: left;
    color: #ff3939;
}

button:focus {
    outline: none !important;
}


.checkbox {
    display: grid;
    grid-template-columns: min-content auto;
    grid-gap: 0.5em;
    font-size: 2rem;
    color: #ff3939;
}

.checkbox--disabled {
    color: #959495;
}

.checkbox__control {
    display: inline-grid;
    width: 29px;
    height: 29px;
    border-radius: 8px;
    border: solid 1px #c7c7c7;
}

    .checkbox__control svg {
        transition: transform 0.1s ease-in 25ms;
        transform: scale(0);
        transform-origin: bottom left;
    }

.checkbox__input > * {
    grid-area: checkbox;
}

.checkbox__input input {
    display: none;
    width: 1em;
    height: 1em;
}

    .checkbox__input input:focus + .checkbox__control {
        box-shadow: 0 0 0 0.05em #fff, 0 0 0.15em 0.1em currentColor;
    }

    .checkbox__input input:checked + .checkbox__control svg {
        transform: scale(1);
        background-color: #ffefef;
        border-radius: 30%;
    }

    .checkbox__input input:disabled + .checkbox__control {
        color: #ff3939;
    }

.Rectangle {
    width: 20px;
    height: 20px;
    margin: 3px 15px 18px 0;
    border-radius: 8px;
    border: solid 1px #d9dbe5;
    background-color: #f7f8fa;
}

    .Rectangle:checked {
        width: 29px;
        height: 29px;
        margin: 3px 15px 18px 0;
        border-radius: 8px;
        border: solid 1px #d9dbe5;
        background-color: #f7f8fa;
    }

.chk-label {
    padding-top: 13px;
    font-family: DBMed;
    font-size: 22px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-align: left;
    color: #565c64;
}

.para-form {
    font-family: DBMed;
    font-size: 22px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.11;
    letter-spacing: normal;
    text-align: left;
    color: #9b9b9b;
}

.H-final {
    font-family: DBBd;
    font-size: 30px;
    color: #4e1913;
    padding-top: 0px;
    margin-bottom: -10px;
}

@media (min-width: 991px) {
    .H-final {
        font-size: 26px;
    }
}

.SH-final {
    font-family: DBMed;
    font-size: 22px;
    color: #9b9b9b;
}

.bg100 {
    width: 100%;
}

.divRespond {
    position: absolute;
    width: 992px;
    top: 50%;
    left: 50%;
    margin: -330px 0 0 -496px;
    z-index: 1;
}

.divRespondT {
    position: absolute;
    width: 992px;
    top: 50%;
    left: 50%;
    margin: -330px 0 0 -496px;
    z-index: 2;
}

.TLTlogo {
    width: 200px;
    margin: 60px 0 0 60px;
}

@media (max-width: 991px) {
    .divRespond {
        width: 550px;
        margin: -184px 0 0 -275px;
    }

    .divRespondT {
        width: 550px;
        margin: -184px 0 0 -275px;
    }

    .TLTlogo {
        width: 150px;
        margin: 30px 0 0 30px;
    }

    .header-label-r {
        margin: 10px 0 0 15px;
        max-width: 300px;
    }

        .header-label-r > img {
            width: 25px;
        }

        .header-label-r > div {
            font-size: 28px;
            line-height: 30px;
        }
}

@media (max-width: 575px) {
    .divRespond {
        width: 1100px;
        top: 100%;
        left: 100%;
        margin: -1173px 0 0 -1060px;
        position: fixed;
    }

    .divRespondT {
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        margin: 0;
    }

    .TLTlogo {
        width: 180px;
        margin: 40px 0 0 30px;
    }

    .header-label-r {
        margin: 30px 0 0 0;
        padding-right: 20px;
        width: 100%;
        max-width: 100%;
    }

        .header-label-r > img {
            width: 25px;
        }

        .header-label-r > div {
            font-size: 43px;
            line-height: 30px;
        }
}

.btn_OTP {
    text-align: center;
    margin-top: 100px;
}

.form-group-otp {
    margin: 15px 0 15px 0 !important;
    height: 45px;
    font-size: 20px;
    font-family: 'DBMed';
}

    .form-group-otp > div {
        margin-left: -10px;
        width: 360px;
        margin: auto;
    }

        .form-group-otp > div > div {
            float: left;
            width: 50px;
            margin-right: 10px;
        }

@media (min-width: 576px) and (max-width: 767px) {
    .form-group-otp {
        margin: 15px 0 15px 0 !important;
        height: 30px;
        font-size: 16px;
        font-family: 'DBMed';
    }

        .form-group-otp > div {
            margin-left: -10px;
            width: 270px;
            margin: auto;
        }

            .form-group-otp > div > div {
                float: left;
                width: 35px;
                margin-right: 10px;
            }

    .otp-align {
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .form-group-otp {
        margin: 15px 0 15px 0 !important;
        height: 30px;
        font-size: 16px;
        font-family: 'DBMed';
    }

        .form-group-otp > div {
            margin-left: -10px;
            width: 270px;
            margin: auto;
        }

            .form-group-otp > div > div {
                float: left;
                width: 35px;
                margin-right: 10px;
            }

    .otp-align {
        text-align: center !important;
    }
}


.txt-otp {
    font-family: DBBd;
    text-align: center;
    font-size: 24px;
}

.addfont {
    font-family: DBBd;
    font-size: 22px;
}


