@font-face {
    font-family: "IBM Plex Sans Thai";
    src: url("../theme/fonts/ibm/IBMPlexSansThai-Bold.woff2") format("woff2"),
    url("../theme/fonts/ibm/IBMPlexSansThai-Bold.woff") format("woff");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Sans Thai";
    src: url("../theme/fonts/ibm/IBMPlexSansThai-Regular.woff2") format("woff2"),
    url("../theme/fonts/ibm/IBMPlexSansThai-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Sans Thai";
    src: url("../theme/fonts/ibm/IBMPlexSansThai-SemiBold.woff2") format("woff2"),
    url("../theme/fonts/ibm/IBMPlexSansThai-SemiBold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: "IBM Plex Sans Thai" !important;
}

/*Login css*/

.cover {
    width: 100%;
    height: 300px;
    background-image: url("../image/TITLE.png");
    background-size: cover;
    background-position: center;
}

.profile {
    width: 84px;
    height: 88px;
    background-image: url("../image/Logo/axons.svg");
    position: relative;
    top: -50px;
    margin: 0 auto;
    background-size: cover;
    background-position: center;
}

.title {
    font-weight: bold;
    font-size: 20pt;
    position: relative;
    top: -50px;
}

.subtitle {
    font-weight: bold;
    font-size: 16pt;
    position: relative;
    top: -50px;
    color: darkgreen;
}

.login {
    text-decoration: underline;
    font-size: 14pt;
    background-color: white !important;
    border: 0px;
}

.radius {
    border-radius: 15px;
}

.btn-register {
    color: white !important;
    background-color: #2b3674 !important;
    border: 1px solid #2b3674;
}

.btn-register:active:focus:hover {
    color: white !important;
    background-color: #414b86 !important;
    border: 1px solid #2b3674;
}

/*otp*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
}

.logo {
    width: 128px;
    height: 128px;
    margin-top: 100px;
}

.otp-description {
    font-size: 16pt;
    margin-top: 14px;
}

.otp-number {
    font-size: 16pt;
    font-weight: bold;
    margin-top: -14px;
}

.otp {
    width: 42px;
    height: 60px;
    font-size: 21pt;
    text-align: center;
}

.otp-group {
    margin: 0 auto;
}

.otp-resend {
    text-decoration: underline !important;
    cursor: pointer;
    font-weight: bold;
}

.confirm {
    background-color: #2b3674 !important;
}

.confirm:hover {
    background-color: #414b86 !important;
}

/*register*/

.cancel {
    border: 1px solid #2b3674;
    color: #2b3674;
}

.form-register {
    border: 1px solid grey;
}

/* condition*/
.container {
    padding: 20px;
}

.context {
    font-size: 40px;
    margin-left: 40px;
}

.headtext {
    font-size: 30px;
}

.decline {
    color: #2b3674 !important;
    border: 2px solid #2b3674;
    background-color: white;
    border-radius: 10px;
    width: 200px;
    height: 45px;
    margin: 5px;
}

.accept {
    color: white !important;
    border: 3px solid #2b3674;
    background-color: #2b3674;
    border-radius: 10px;
    width: 200px;
    height: 45px;
    margin: 5px;
}

/*chooseFarm*/
html {
    position: relative;
    min-height: 100%;
}

.center {
    display: block;
    margin-top: 20px;
    width: 50%;
}

.btn-next,
.btn-next:active:focus:hover {
    height: 40px;
    color: white !important;
    border: 1px solid #2b3674;
    border-radius: 10px;
    background-color: #2b3674;
}

.CHFbtn-cancel {
    height: 40px;
    border-radius: 10px;
    border: 1px solid #2b3674;
    color: #2b3674;
}

.fixed-bottom {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 120px;
    padding: 0px 30px 10px 30px;
    bottom: 20px;
}

.farm {
    height: 35px;
    border: 1px solid #858585;
    border-radius: 6px !important;
}

.qr {
    border: 1px solid #858585;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 6px;
}

.select2-selection__rendered {
    line-height: 35px !important;
}

.select2-container .select2-selection--single {
    height: 35px !important;
}

.select2-selection__arrow {
    height: 35px !important;
}

.stepper-wrapper {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    font-size: 9pt;

    /* @*@media (max-width: 768px) {
          font-size: 12px;
      }
  
      *@ */
}

.stepper-item::before {
    position: absolute;
    content: "";
    border-bottom: 2px solid #ccc;
    width: 100%;
    top: 20px;
    left: -50%;
    z-index: 2;
}

.stepper-item::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid #ccc;
    width: 100%;
    top: 20px;
    left: 50%;
    z-index: 2;
}

.stepper-item .step-counter {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ccc;
    margin-bottom: 6px;
    /* border: 10 solid;
          border-color: #000000 !important; */
}

.stepper-item.active {
    font-weight: bold;
}

.stepper-item.completed .step-counter {
    background-color: #77cbbf;
    color: #ffffff;
}

.stepper-item.completed .step-name {
    color: #77cbbf;
}

.stepper-item.completed::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid #ccc;
    width: 100%;
    top: 20px;
    left: 50%;
    z-index: 3;
}

.stepper-item:first-child::before {
    content: none;
}

.stepper-item:last-child::after {
    content: none;
}

/*ScanQR Code*/
.wrap-qrcode-scanner {
    margin: 40px;
    position: relative;
}

.QRtext-head {
    color: white;
    margin-top: 30px;
    margin-bottom: 50px;
    font-size: 20px;
    text-align: center;
}

#loadingMessage {
    border-radius: 20px;
    text-align: center;
    padding: 40px;
    background-color: #caede7;
}

#canvas {
    border-radius: 30px;
    display: block;
    width: 100%;
}

.textbtQR {
    color: white;
    font-size: 13px;
    margin-top: 15px;
}

#output {
    border-radius: 15px;
    background: #caede7;
    color: #0e0f0f;
    padding: 10px;
    padding-bottom: 0;
}

#output div {
    padding-bottom: 10px;
    word-wrap: break-word;
}

.QRbtn-cancel {
    margin-top: 10px;
    height: 50px;
    border-radius: 15px;
    background-color: white;
    border: 1px solid #2b3674;
    color: #2b3674;
}

/* Detail */

.locationbooking {
    color: #595959;
}

/* Fail */

.datetime {
    margin-top: 30px;
    color: #595959;
}

.bootstrap-timepicker-widget table td a:hover {
    color: #000;
}

.countdown {
    width: 100%;
}

.time-countdown {
    color: #ad6800;
    font-weight: bold;
    font-size: 36px;
}

.time-label {
    font-size: 13px;
}

.icon-fail {
    text-align: center;
    font-size: 90px;
}

.icon-complete {
    text-align: center;
    font-size: 90px;
}

/* History Booking*/

.navbar,
.navbar-brand {
    font-size: 30px;
    background-color: #48c5b1;
    color: #ffffff;
}

.history-list,
.history-list:hover {
    color: black;
}

.card-dark {
    border: 0;
    background-color: #caede7;
    margin: 16px;
    border-radius: 20px;
}

.card-light {
    border: 0;
    background-color: #edf9f7;
    margin: 16px;
    border-radius: 20px;
}

.card-danger {
    border: 0;
    background-color: #fff1f0;
    margin: 16px;
    border-radius: 20px;
}

.card-warning {
    border: 0;
    background-color: #fef4e6;
    margin: 16px;
    border-radius: 20px;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    color: #48c5b1;
    font-size: 16px;
    text-align: center;
    line-height: 40px;
}

.icon-calendar-danger {
    padding: 0px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #a8071a;
    color: #fff;
    font-size: 20px;
    text-align: center;
    line-height: 45px;
}

.icon-calendar-warning {
    padding: 0px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #f99b1f;
    color: #fff;
    font-size: 20px;
    text-align: center;
    line-height: 45px;
}

/* CheckOut (no longer used) */
.second-navbar {
    background-color: #caede7;
    line-height: 60px;
    padding-left: 16px;
}

.history,
.history:hover {
    text-decoration: underline;
    color: black;
}

.checkOut-card {
    position: absolute;
    bottom: 120px;
    top: 200px;
    border: 0;
    right: 0;
    left: 0;
    background-color: #edf9f7;
    margin: 20px;
    border-radius: 20px;
}

.btn-checkOut,
.btn-checkOut:active:focus:hover {
    height: 50px;
    color: white !important;
    border: 1px solid #2b3674;
    border-radius: 10px;
    background-color: #2b3674;
}

.card-time-checkout {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
}

/* Detail CheckIn*/
.btn-Blue,
.btn-Blue:active:focus:hover {
    height: 40px;
    color: white !important;
    border: 1px solid #2b3674;
    border-radius: 10px;
    background-color: #2b3674;
}

.btn-White {
    height: 40px;
    border-radius: 10px;
    border: 1px solid #2b3674;
    color: #2b3674;
}

.btn-his,
.btn-his:active:focus:hover {
    height: 35px;
    width: 90px;
    color: white !important;
    border: 1px solid #34c5b2;
    border-radius: 12px;
    background-color: #34c5b2;
}

/* History CheckIn*/

.icon-check {
    padding: 0px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #2b3674;
    color: #fff;
    font-size: 20px;
    text-align: center;
    line-height: 45px;
}

.icon-check-danger {
    padding: 0px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #a8071a;
    color: #fff;
    font-size: 20px;
    text-align: center;
    line-height: 45px;
}

label.box {
    background: #fff;
    padding: 10px 12px;
    display: flex;
    border-radius: 8px;
    border: 1px solid #a6b0bf;
    cursor: pointer;
    transition: all 0.25s ease;
}

.form input[type="radio"]:checked + label .circle {
    border: 6px solid #042f5f;
    background: #fff;
}

.form input[type="radio"]:checked + label {
    border-color: #042f5f;
    background: #bddbfc;
}

label.box:hover {
    background: #bddbfc;
}

label.box .circle {
    height: 20px;
    width: 20px;
    background: #fff;
    border: 1px solid #667085;
    display: inline-block;
    margin-right: 15px;
    border-radius: 50%;
    transition: all 0.25s ease;
}

label.box div {
    display: flex;
    width: 100%;
    align-items: center;
}

.form input[type="radio"] {
    display: none !important;
}

.custom-input {
    border: 1px solid #a6b0bf;
    border-radius: 8px;
    font-size: 16px;
}

::placeholder {
    color: #8a95a8 !important;
    opacity: 1;
}

::-ms-input-placeholder {
    color: #8a95a8 !important;
}

.header {
    color: #344054;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 0;
}

.subheader {
    color: #344054;
    font-weight: 600;
    font-size: 16px;
}

.step-circle {
    width: 40px;
    height: 40px;
    background-color: #E4E7EC;
    color: #f7fcfa;
    border-radius: 50%;
    font-size: 27px;
    margin: 0 auto;
    text-align: center;
    outline: 8px solid white;
}

.step-circle img {
    filter: invert(50%);
}


.step-circle-current {
    width: 40px;
    height: 40px;
    background-color: #77cbbf;
    color: #f7fcfa;
    border-radius: 50%;
    font-size: 27px;
    margin: 0 auto;
    text-align: center;
    outline: 8px solid white;
}

.step-circle-completed {
    width: 40px;
    height: 40px;
    background-color: #DBEFED;
    color: #f7fcfa;
    border-radius: 50%;
    font-size: 27px;
    margin: 0 auto;
    text-align: center;
    outline: 8px solid white;
    border: 1px solid #77CBBF;
}

.form-label-th {
    font-size: 16px;
    color: #344054;
    line-height: 20px;
}

.form-label-en {
    font-size: 14px;
    color: #344054;
    line-height: 18px;
    margin-bottom: 4px;
}

.dropdown {
    height: 44px;
    border: 1px solid #A6B0BF;
    border-radius: 8px !important;
}

.dropdown option {
    color: #344054;
    font-size: 16px;
}

footer.fixed-bottom {
    background-color: white;
    position: fixed;
    height: auto;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
    padding: 20px;
}

.form-information {
    padding-bottom: 70px;
}

.button-next,
.btn-next:active:focus:hover {
    height: 48px;
    color: white !important;
    border: 1px solid #074E9F;
    border-radius: 10px;
    background-color: #074E9F;
    font-size: 18px;
    font-weight: 600;
}

.button-cancel {
    height: 48px;
    border-radius: 10px;
    border: 1px solid #074E9F;
    color: #074E9F;
    font-size: 18px;
    font-weight: 600;
}

.step-desc {
    color: #8A95A8;
    font-size: 18px;
    font-weight: normal;
    position: relative;
    top: 16px;
}

.step-desc-current {
    color: #344054;
    font-size: 18px;
    font-weight: bold;
    margin-top: 8px;
    position: relative;
    top: 16px;
}

.step-desc-completed {
    color: #344054;
    font-size: 18px;
    font-weight: normal;
    margin-top: 8px;
    position: relative;
    top: 16px;
}

.step-line {
    position: absolute;
    z-index: -1;
    margin-top: 20px;
    width: 100%;
    height: 1px;
    background-color: grey;
}

.step {
    margin-left: -20px;
    margin-right: -20px;
}

.step .col-6 {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 16px;
}

.supplier-card {
    background-color: #F5FAFE;
    border-radius: 8px;
    margin-bottom: 16px;
    margin-top: 16px;
    padding: 16px;
    box-shadow: 1px 0.5px 4px rgba(10, 10, 16, 0.12);
}

.supplier-card h6 {
    font-weight: bold;
    font-size: 18px;
    color: #344054;
}

.supplier-card button.add-supplier,
.supplier-card button.add-supplier:active:focus:hover {
    margin-top: 24px;
    height: 32px;
    color: white !important;
    border: 1px solid #074E9F;
    border-radius: 10px;
    background-color: #074E9F;
    font-size: 14px;
    font-weight: 600;
}

.supplier {
    margin-top: 16px;
    margin-bottom: 16px;
}

.button-delete {
    border: 1px solid #D92D20;
    border-radius: 8px;
    background: transparent;
    width: calc(2.25rem + 2px);
    height: calc(2.25rem + 2px);
}

.dropdown-container {
    position: relative;
}

.multidropdown {
    position: relative;
}

.dropdown-display {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 8px;
    background-color: #fff;
    border: 1px solid #a6b0bf;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 8px;
}

.chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    background-color: #BDDBFC;
    border: 1px solid #042F5F;
    color: #344054;
    border-radius: 16px;
    padding: 4px 8px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.chip span {
    margin-left: 6px;
    cursor: pointer;
}

.dropdown-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
}

.dropdown-item {
    padding: 8px;
    display: flex;
    align-items: center;
}

.dropdown-item input {
    margin-right: 8px;
}

.dropdown-item:hover {
    background-color: #f1f1f1;
}

.dropdown-arrow {
    position: absolute;
    right: 19px;
    top: 16px;
    cursor: pointer;
    -moz-transition: transform 0.5s;
    -webkit-transition: transform 0.5s;
    transition: transform 0.5s;
}

.show {
    display: block;
}

.please-select {
    color: #8A95A8;
}

.rotate {
    transform: rotate(-180deg);
}

.is-invalid .select2-selection,
.needs-validation ~ span > .select2-dropdown {
    border-color: #D92D20 !important;
}

.form-control.is-invalid {
    background: none;
    border-color: #D92D20 !important;
}

.radio-is-invalid, .select-is-invalid {
    border-color: #D92D20 !important;
}

.no-border {
    border: 0;
}

.dropdown-selected {
    background-color: #BDDBFC !important;
}

.dropdown-unselected {
    background-color: white !important;
}

.multidropdown label {
    margin-top: 8px;
    margin-bottom: 8px;
}

.multidropdown input[type=checkbox] {
    transform: scale(1.3);
    accent-color: #074E9F;
    margin-left: 12px;
    margin-right: 12px;
}

.date-picker {
    background-color: #fff;
    background-image: url('../image/calendar.svg');
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 24px 24px;
}

.time-picker {
    background-color: #fff;
    background-image: url('../image/clock.svg');
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 24px 24px;
}

.form-control.is-invalid-border {
    border-color: #D92D20 !important;
}