html {
    font-size: 14px;
    font-family: 'Kanit', sans-serif;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
    #tfboxnoticaton {
        width: 40%;
        margin-left: 31%;
    }
}
.qr {
    width: 80%
}
.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;
}
.list-item-text {
    background-color: transparent;
    line-height: 1.38;
    text-align: left;
    text-indent: 0;
    border: none;
    padding: 0;
    margin: 8.0pt 8.0pt 8.0pt 0;
}

.bold-text {
    background-color: transparent;
    color: #363636;
    font-family: Arial;
    font-size: 12.0pt;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    text-decoration: none;
    vertical-align: baseline;
}
.custom-span {
    background-color: transparent;
    color: #4a4a4a;
    font-family: Arial;
    font-size: 12.0pt;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    text-decoration: none;
    vertical-align: baseline;
}
.custom-text {
    background-color: transparent;
    line-height: 1.38;
    text-align: left;
    text-indent: 0;
    border: none;
    padding: 0;
    margin: 0;
}
/* กำหนดให้อยู่ตรงกลางแนวนอน */
.centerscreen {
    display: flex;
    justify-content: center; /* กำหนดให้อยู่ตรงกลางแนวนอน */
    align-items: center; /* กำหนดให้อยู่ตรงกลางแนวตั้ง */
    height: 100vh; /* กำหนดความสูงของคอนเทนเนอร์ */
}

/* กำหนดให้อยู่ตรงกลางแนวนอน */
html {
    position: relative;
    min-height: 100%;
   
}



.centertext {
    text-align: center;
}

.img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 40%;
}

/*<!--new css--!>*/
* {
    /*box-sizing: border-box;*/
}

@font-face {
    font-family: ChulaSet;
    src: url(../fonts/CHULALONGKORNREG_0.ttf);
}

@font-face {
    font-family: Sarabun;
    src: url(../fonts/THSarabunChula-Regular.ttf);
}




input[type="text"] {
    border-radius: 8px;
    padding: 4px;
    margin: 4px;
    width: 100%;
    border-width: 1px;
    border-color: silver;
}

    input[type="text"]:focus {
        border: 2px solid #258cfb !important;
        -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset !important;
        -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset !important;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset !important;
        outline: none !important;
    }
/*input[type="number"] {
    border-radius: 8px;
    padding: 4px;
    margin: 4px;
    width: 100%;
    border-width: 1px;
    border-color: silver;
}

    input[type="number"]:focus {
        border: 2px solid #258cfb !important;
        -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset !important;
        -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset !important;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset !important;
        outline: none !important;
    }
*/
input[type="password"] {
    border-radius: 2px;
    padding: 4px;
    margin: 4px;
    width: 100%;
    border-width: 1px;
    border-color: silver;
}

    input[type="password"]:focus {
        border: 2px solid #EA8D9F !important;
        -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset !important;
        -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset !important;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset !important;
        outline: none !important;
    }

@keyframes rotate {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(450deg);
    }
}

@keyframes line {
    0% {
        stroke-dasharray: 2, 85.964;
        transform: rotate(0);
    }

    50% {
        stroke-dasharray: 65.973, 21.9911;
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dasharray: 2, 85.964;
        stroke-dashoffset: -65.973;
        transform: rotate(90deg);
    }
}


.contentBox {
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 0 14px rgba(234, 141, 159, 0.24), 0 0 28px rgba(234, 141, 159, 0.48);
    left: 50%;
    top: 50%;
    min-width: 280px;
    width: 80%;
    position: absolute;
    font-size: 1.50em;
    text-align: center;
    transform: translate(-50%, -50%) translateY(0px);
    transition: transform 0.333s cubic-bezier(0, 0, 0.21, 1) 0.05s;
}

.logoBox {
    padding: 0px 40px 0px 40px;
    display: grid;
    justify-content: center;
    width: 100%;
}

@media only screen and (max-height: 500px) {
    body {
        font-size: 12px;
    }

    .logoBox img {
        width: 80%;
    }
}

.actionBox {
    padding-top: 20px;
    padding-bottom: 20px;
    display: grid;
    row-gap: 5px;
}

.buttonBox {
    padding-top: 0px;
    padding-bottom: 10px;
    display: grid;
    row-gap: 10px;
}


.privacyBox {
    padding: 0px 16px 50px 16px;
    left: 50%;
    top: 45%;
    min-width: 280px;
    width: 100%;
    height: 45%;
    position: absolute;
    font-size: 1.50em;
    text-align: center;
    transform: translate(-50%, -50%) translateY(0px);
    transition: transform 0.333s cubic-bezier(0, 0, 0.21, 1) 0.05s;
    word-wrap: break-word;
}

.inner-privacyBox {
    margin-bottom: 0px;
    background: #fff;
    width: 100%;
    height: 300px;
    border-radius: 16px;
    word-wrap: break-word;
}

.privacy-content {
    padding: 5px 10px 5px 10px;
    width: 100%;
    height: 100%;
    font-size: medium;
    overflow-y: scroll;
    overflow-x: hidden;
    word-wrap: break-word;
}

/**
 * Add dialog
 */
#confirmDialogContainer {
    background: rgba(0, 0, 0, 0.57);
    height: 100%;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    transition: opacity 0.333s cubic-bezier(0, 0, 0.21, 1);
    width: 100%;
    will-change: opacity;
}

    #confirmDialogContainer.visible {
        opacity: 1;
        pointer-events: auto;
        z-index: 600;
    }

.dialog {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.24), 0 14px 28px rgba(0, 0, 0, 0.48);
    left: 50%;
    top: 50%;
    min-width: 280px;
    width: 80%;
    position: absolute;
    font-size: 1.50em;
    text-align: center;
    transform: translate(-50%, -50%) translateY(0px);
    transition: transform 0.333s cubic-bezier(0, 0, 0.21, 1) 0.05s;
}

    .dialog > div {
        padding-left: 24px;
        padding-right: 24px;
    }

.dialog-title {
    font-weight: bold;
    padding-top: 20px;
}

.dialog-body {
    padding-bottom: 10px;
    padding-top: 20px;
    overflow-y: auto;
}

    .dialog-body select {
        width: 100%;
    }

.dialog-buttons {
    color: #fff;
    padding: 20px;
    border-radius: 16px;
}

.dialog .button {
    border: none;
    font-size: 14px;
    text-transform: uppercase;
}

.menu-list {
    height: 100%;
    width: 100%;
}

    .menu-list .view-area {
        padding-bottom: 20%;
    }

.app-header {
    padding-top: 10px;
    width: 100%;
    min-width: 280px;
}

    .app-header .image-home {
        display: inline;
        float: left;
    }

        .app-header .image-home img {
            width: 40%;
        }

    .app-header .language-bar {
        display: inline;
        float: right;
        z-index: 2;
        padding-bottom: 8px;
        padding-right: 8px !important;
    }

.general-btn {
    display: table-cell;
    background-color: #3f51b5;
    color: #ffffff;
    font-size: large;
    font-weight: bold;
    border: none;
    border-radius: 7px;
    padding: 12px;
    float: center;
    margin-top: 8px;
}

.single-btn {
    /*display: table-cell;*/
    padding-bottom: 20px;
    background-color: #EA8D9F;
    color: #ffffff;
    font-size: large;
    font-weight: bold;
    border: none;
    border-radius: 16px;
    padding: 12px;
    float: none;
    width: 100%;
    margin-left: 2px;
    margin-right: 2px;
    text-transform: uppercase;
}

.single-white-btn {
    display: table-cell;
    padding-bottom: 20px;
    background-color: #fff;
    border-color: #EA8D9F;
    color: #EA8D9F;
    font-size: large;
    font-weight: normal;
    border: solid;
    border-width: 1px;
    border-radius: 16px;
    padding: 12px;
    float: none;
    width: 98%;
    margin-left: 2px;
    margin-right: 2px;
    text-transform: uppercase;
}

.double-btn {
    display: table-cell;
    margin-top: 8px;
    background-color: #EA8D9F;
    color: #ffffff;
    font-size: large;
    font-weight: bold;
    border-color: #EA8D9F;
    border: solid;
    border-width: 1px;
    border-radius: 12px;
    padding: 12px 12px 4px 12px;
    width: 48%;
    margin-left: 2px;
    margin-right: 2px;
    text-transform: uppercase;
}

.double-btn-white {
    display: table-cell;
    margin-top: 8px;
    background-color: #ffffff;
    color: #EA8D9F;
    font-size: large;
    font-weight: bold;
    border-color: #EA8D9F;
    border: solid;
    border-width: 1px;
    border-radius: 12px;
    padding: 12px 12px 4px 12px;
    width: 48%;
    margin-left: 2px;
    margin-right: 2px;
    text-transform: uppercase;
}

.default-card {
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    margin: 16px;
    padding: 16px;
    position: relative;
}

.footer {
    position: static;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    line-height: 60px;
}

.backimg {
    left: 50%;
    top: 0%;
    width: 100%;
    height: 70%;
    position: absolute;
    text-align: center;
    transform: translate(-50%, -50%) translateY(0px);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
}

.backcolor {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow-y: scroll;
}

.cbx {
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

    .cbx span {
        display: inline-block;
        vertical-align: middle;
        transform: translate3d(0, 0, 0);
    }

        .cbx span:first-child {
            position: relative;
            width: 27px;
            height: 27px;
            border-radius: 50%;
            transform: scale(1);
            vertical-align: middle;
            border: 1px solid #fff;
            transition: all 0s ease;
        }

            .cbx span:first-child svg {
                position: absolute;
                z-index: 1;
                top: 8px;
                left: 6px;
                fill: none;
                stroke: hotpink;
                stroke-width: 2;
                stroke-linecap: round;
                stroke-linejoin: round;
                stroke-dasharray: 16px;
                stroke-dashoffset: 16px;
                transition: all 0s ease;
                transition-delay: 0s;
                transform: translate3d(0, 0, 0);
            }

            .cbx span:first-child:before {
                content: "";
                width: 100%;
                height: 100%;
                background: none;
                display: block;
                transform: scale(0);
                opacity: 1;
                border-radius: 50%;
                transition-delay: 0s;
            }

        .cbx span:last-child {
            margin-left: 0px;
        }

            .cbx span:last-child:after {
                content: "";
                position: absolute;
                top: 8px;
                left: 0;
                height: 1px;
                width: 100%;
                background: none;
                transform-origin: 0 0;
                transform: scaleX(0);
            }

    .cbx:hover span:first-child {
        border-color: #fff;
    }

.inp-cbx:checked + .cbx span:first-child {
    border-color: hotpink;
    background: none;
    animation: check 0.2s ease;
}

    .inp-cbx:checked + .cbx span:first-child svg {
        stroke-dashoffset: 0;
    }

    .inp-cbx:checked + .cbx span:first-child:before {
        transform: scale(2.2);
        opacity: 0;
        transition: all 0.6s ease;
    }


@keyframes check {
    50% {
        transform: scale(1.2);
    }
}

.button-47-enble {
    align-items: center;
    background: hotpink;
    border: 0 solid #fff;
    box-sizing: border-box;
    color: #fff;
    display: inline-flex;
    font-family: Inter, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    height: 56px;
    justify-content: center;
    line-height: 24px;
    overflow-wrap: break-word;
    padding: 24px;
    text-decoration: none;
    width: auto;
    border-radius: 35px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

    .button-47-enble:hover {
        background-color: pink;
    }

    .button-47-enble:active {
        align-items: center;
        background: hotpink;
        border: 0 solid #fff;
        box-sizing: border-box;
        color: #fff;
        display: inline-flex;
        font-family: Inter, sans-serif;
        font-size: 1rem;
        font-weight: 700;
        height: 56px;
        justify-content: center;
        line-height: 24px;
        overflow-wrap: break-word;
        padding: 24px;
        text-decoration: none;
        width: auto;
        border-radius: 35px;
        cursor: pointer;
        user-select: none;
        -webkit-user-select: none;
        touch-action: manipulation;
    }

.button-47-disable {
    align-items: center;
    background: darkgray;
    border: 0 solid #fff;
    box-sizing: border-box;
    color: #fff;
    display: inline-flex;
    font-family: Inter, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    height: 56px;
    justify-content: center;
    line-height: 24px;
    overflow-wrap: break-word;
    padding: 24px;
    text-decoration: none;
    width: auto;
    border-radius: 35px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}
