/* Minification failed. Returning unminified contents.
(17,28): run-time error CSS1039: Token not allowed after unary operator: '-custom-color-blue'
(21,32): run-time error CSS1039: Token not allowed after unary operator: '-custom-color-blue-hover'
(25,28): run-time error CSS1039: Token not allowed after unary operator: '-bar-color-red'
(43,22): run-time error CSS1039: Token not allowed after unary operator: '-custom-color-yellow'
(44,17): run-time error CSS1039: Token not allowed after unary operator: '-custom-color-blue'
(50,17): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(107,17): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(113,17): run-time error CSS1039: Token not allowed after unary operator: '-custom-color-blue'
(127,22): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(128,17): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(146,17): run-time error CSS1039: Token not allowed after unary operator: '-custom-color-blue'
(152,17): run-time error CSS1039: Token not allowed after unary operator: '-custom-color-blue'
(160,17): run-time error CSS1039: Token not allowed after unary operator: '-custom-color-blue'
(174,17): run-time error CSS1039: Token not allowed after unary operator: '-custom-color-blue'
(215,21): run-time error CSS1039: Token not allowed after unary operator: '-custom-color-blue'
(224,17): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(234,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(235,33): run-time error CSS1039: Token not allowed after unary operator: '-bs-white-rgb'
(235,54): run-time error CSS1039: Token not allowed after unary operator: '-bs-bg-opacity'
(239,35): run-time error CSS1046: Expect comma, found '0'
(239,39): run-time error CSS1046: Expect comma, found '/'
(265,26): run-time error CSS1039: Token not allowed after unary operator: '-custom-color-blue'
(271,17): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(278,36): run-time error CSS1046: Expect comma, found '0'
(278,40): run-time error CSS1046: Expect comma, found '/'
(316,17): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(373,28): run-time error CSS1039: Token not allowed after unary operator: '-custom-color-blue'
(374,17): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(406,17): run-time error CSS1039: Token not allowed after unary operator: '-custom-color-blue'
(458,28): run-time error CSS1039: Token not allowed after unary operator: '-bar-color-blue'
(464,28): run-time error CSS1039: Token not allowed after unary operator: '-bar-color-green'
(468,28): run-time error CSS1039: Token not allowed after unary operator: '-bar-color-yellow'
(472,28): run-time error CSS1039: Token not allowed after unary operator: '-bar-color-orange'
(476,28): run-time error CSS1039: Token not allowed after unary operator: '-bar-color-red'
(482,17): run-time error CSS1039: Token not allowed after unary operator: '-primary'
(486,17): run-time error CSS1039: Token not allowed after unary operator: '-bar-color-blue'
(490,17): run-time error CSS1039: Token not allowed after unary operator: '-bar-color-green'
(494,17): run-time error CSS1039: Token not allowed after unary operator: '-bar-color-yellow'
(498,17): run-time error CSS1039: Token not allowed after unary operator: '-bar-color-orange'
(502,17): run-time error CSS1039: Token not allowed after unary operator: '-bar-color-red'
(517,28): run-time error CSS1039: Token not allowed after unary operator: '-bar-color-blue'
(522,28): run-time error CSS1039: Token not allowed after unary operator: '-bar-color-green'
(527,28): run-time error CSS1039: Token not allowed after unary operator: '-bar-color-red'
(538,27): run-time error CSS1039: Token not allowed after unary operator: '-color-secondary-2'
(556,32): run-time error CSS1039: Token not allowed after unary operator: '-color-secondary-2'
(567,32): run-time error CSS1039: Token not allowed after unary operator: '-color-secondary-2'
(577,26): run-time error CSS1039: Token not allowed after unary operator: '-color-secondary-2'
 */


body {
    /*background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)), url(./Images/th_new_building.png) no-repeat;*/
    background: #fafafa;
    background-size: min(100%, 400px) auto;
    background-position: bottom -15px right;
}

.btn-custom-model-y,
.btn-custom-model-n {
    width: 70px;
    color: white;
}

.btn-custom-model-y {
    background-color: var(--custom-color-blue);
}

    .btn-custom-model-y:hover {
        background-color: var(--custom-color-blue-hover);
    }

.btn-custom-model-n {
    background-color: var(--bar-color-red);
}

    .btn-custom-model-n:hover {
        background-color: #f01f1c;
    }

.radius-top {
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.radius-bottom {
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
}

.bg-blue {
    background: var(--custom-color-yellow);
    color: var(--custom-color-blue);
    padding: 5px;
    position: relative;
}

.menu-label {
    color: var(--color-primary);
    position: absolute;
    font-weight: 600;
    top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 90%;
}

.aleatDot {
    position: absolute;
    right: 0;
    background: rgba(255, 67, 67, 1);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: none;
}

.icon-circle-1 {
    /*background: var(--color-white);
    border-radius: 50%;
    padding: 5px;*/
    width: 25px;
    height: 25px;
}

.icon-menu {
    width: 53px;
    height: 53px;
    /*  border-radius: 50%;
    box-shadow: 2px 0px 20px rgba(0, 0, 0, 0.1);*/
    margin: auto;
    /* margin-bottom:10px;
  background-color: #FFF6E0;
    box-shadow: 0px 4px 4px 0px #00000040;*/
    padding: 10px;
}

.img-doc {
    width: 80px;
    height: 80px;
    background-size: cover;
    border-radius: 50%;
}

.box-myapp {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
}

.label-title {
    padding: 10px 15px 0;
    font-size: 18px;
    color: var(--color-primary);
    font-weight: 600;
}

.label-docname {
    font-size: 16px;
    color: var(--custom-color-blue);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.label-time img {
    margin-right: 5px;
    width: 16px;
}

.box-queue {
    width: 100%;
    height: 60px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 14px;
}

    .box-queue .label-queue-head {
        font-size: 0.8em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .box-queue .label-queue {
        font-size: 1.5em;
        font-weight: 600;
    }

.label-head {
    font-size: 1.3em;
    color: var(--custom-color-blue);
    font-weight: 600;
}

.label-deptname {
    font-size: 14px;
    color: var(--custom-color-blue);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.label-time {
    font-size: 10px;
    color: var(--custom-color-blue);
    display: flex;
    align-items: center;
    background: #F2F5FC;
    padding: 5px 0px;
    border-radius: 14px;
}

    .label-time div {
        margin: 0 5px 0 5px;
    }

.label-secondary {
    font-size: 1.1em;
    color: var(--custom-color-blue);
}

.btn-height-1 {
    height: 95px;
}

.btn-height-2 {
    height: 105px;
}

.btn-height-3 {
    height: 50px;
}

.btn-height-4 {
    height: 160px;
}

.img-menu {
    position: absolute;
    right: 0;
    bottom: 0;
}

.w-60p {
    width: 60%;
}

.w-45p {
    width: 45%;
}

.box-in-menu {
    border-radius: 30px;
    box-shadow: 1px 2px 4px 1px #00000040;
    background: #ffffff;
    border: 1px solid #f2f2f2;
}

    .box-in-menu span {
        color: var(--custom-color-blue);
    }

.boxmenu h5 {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid lightgrey;
    line-height: 0.1em;
    margin: 10px 5px;
    color: var(--color-primary);
    font-weight: 600;
}

    .boxmenu h5 span {
        background-color: white;
        padding: 0 15px;
    }

#boxsubview > div:not(.nobg) {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important;
    padding: 15px;
    border-radius: 14px;
    margin-top: 1rem;
    box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
}

#boxsubview .reminder-title {
    text-align: center;
    font-size: 1.1em;
    margin-top: 10px;
}

#boxsubview table {
    display: contents;
}

#boxsubview .tbstyle-left img {
    width: auto;
}

.btnFilter {
    background: #D9D9D9;
    border-radius: 20px;
    color: #ffffff;
    padding: 5px 20px;
}


    .btnFilter.active {
        background: var(--custom-color-blue);
    }


#boxVisitHistory h5 {
    font-weight: 600;
    color: var(--color-primary);
}

#boxVisitHistory i {
    background: lightgray;
    color: #ffffff;
    border-radius: 50%;
    text-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
    cursor: pointer;
}



#labelDataMax {
    background: #E34017;
    border-radius: 14px;
    padding: 2px 10px;
    width: 50px;
    display: inline-block;
    text-align: center;
    font-size:14px;
    color:#fff;
}

#labelDataMin {
    background: #009C41;
    border-radius: 14px;
    padding: 2px 10px;
    width: 50px;
    display: inline-block;
    text-align: center;
    font-size: 14px;
    color: #fff;
}

.lblqueue {
    position: absolute;
    bottom: 10px;
}

.mnu-recommend {
    background: #ffffff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 2px 2px;
    color: var(--color-primary);
}

.mnu-recommend-text {
    line-height: 1em;
    font-size: 0.8em;
    margin-top: 10px;
}

.mnu-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #EDE8E1;
    padding: 15px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 2px 2px;
    margin: auto;
}

.col-mnu {
    opacity: 0.5;
}

    .col-mnu.active {
        opacity: 1;
    }

#boxfirstapp {
    position: relative;
}

.boxAllergy {
    background: #f9eff1 !important;
}

    .boxAllergy .boxAllergyHead {
        background: #0147A3;
        padding: 8px 10px;
        border-top-left-radius: 14px;
        font-size: 1em;
        font-weight: 600;
        color: white;
        margin: -15px -15px 10px -15px;
        border-top-right-radius: 14px;
    }

.floating-button-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.floating-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--custom-color-blue);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    /*    font-size: 24px;*/
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.icon-setting {
    width: auto;
    height: 100%;
    padding: 7px
}

.floating-menu {
    display: none;
    position: absolute;
    bottom: 60px;
    right: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 200px;
}

.menu-item {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--custom-color-blue);
}

    .menu-item:hover {
        background-color: #a7a7a7;
    }

.progress-container {
    position: relative;
    width: 100%;
    margin: 30px auto 20px;
}

.triangle-pointer {
    position: absolute;
    bottom: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 15px solid #007bff; /* สีของสามเหลี่ยม */
    z-index: 10;
    transition: left 0.2s ease-in-out; /* นุ่มนวล */
}

.progress-bar-container {
    display: flex;
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 10px;
    position: relative;
}

.progress-segment {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.progress-label {
    position: absolute;
    top: -15px;
    color: #000;
    font-size: 12px;
    z-index: 1;
    text-align: center;
    right: -10px;
}

.progress-segment:nth-child(1) {
    background-color: var(--bar-color-blue);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.progress-segment:nth-child(2) {
    background-color: var(--bar-color-green);
}

.progress-segment:nth-child(3) {
    background-color: var(--bar-color-yellow);
}

.progress-segment:nth-child(4) {
    background-color: var(--bar-color-orange);
}

.progress-segment:nth-child(5) {
    background-color: var(--bar-color-red);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.boxPersonalHistory h6 {
    color: var(--primary);
}

.bar-color-blue {
    color: var(--bar-color-blue);
}

.bar-color-green {
    color: var(--bar-color-green);
}

.bar-color-yellow {
    color: var(--bar-color-yellow);
}

.bar-color-orange {
    color: var(--bar-color-orange);
}

.bar-color-red {
    color: var(--bar-color-red);
}

.progress-round-left {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.progress-round-right {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.progress-segment.first {
    flex: 0 0 20%;
    background-color: var(--bar-color-blue);
}

.progress-segment.second {
    flex: 1;
    background-color: var(--bar-color-green);
}

.progress-segment.last {
    flex: 0 0 20%;
    background-color: var(--bar-color-red);
}

#table-clinical {
    overflow-x: scroll !important;
    overflow-y: auto;
    white-space: nowrap;
    border-radius: 14px;
    position: relative;
    max-height: 600px;
    scrollbar-width: auto;
    scrollbar-color: var(--color-secondary-2);
}

    #table-clinical .table td,
    #table-clinical .table th {
        min-width: 120px;
        text-align: center;
    }

        #table-clinical .table td:first-child,
        #table-clinical .table th:first-child {
            position: sticky;
            left: 0;
            z-index: 1;
            background-color: white; /* ให้แน่ใจว่าไม่ถูกบดบัง */
        }

    #table-clinical .table thead th:first-child {
        background-color: var(--color-secondary-2);
    }

    #table-clinical .table thead th:first-child {
        z-index: 99;
    }

    #table-clinical .table thead th {
        position: sticky;
        top: 0;
        z-index: 10;
        background-color: var(--color-secondary-2);
        text-align: center;
    }

    #table-clinical::-webkit-scrollbar {
        height: 20px;
        width: 10px;
    }

    #table-clinical::-webkit-scrollbar-thumb {
        background: var(--color-secondary-2);
        border-radius: 10px;
    }

    #table-clinical::-webkit-scrollbar-track {
        background: #fafafa;
    }


.btn-back {
    z-index: 99;
}

.grid-menu-index {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: 100%;
}

@media only screen and (max-width: 430px) {
    .grid-menu-index > div {
        font-size: 14px;
    }
}

.swiper-pagination-custome {
    position: absolute;
    text-align: center;
    transition: .3s opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
}

    .swiper-pagination-custome .swiper-pagination-bullet {
        width: 15px;
        height: 5px;
        border-radius: 0;
        transition:all 0.1s ease;
        margin: 0 !important;
    }


    .swiper-pagination-custome .swiper-pagination-bullet:first-child {
        border-radius: 10px 0 0 10px;
    }


    .swiper-pagination-custome .swiper-pagination-bullet:last-child {
        border-radius: 0 10px 10px 0;
    }

