body {
    font-family: "Kanit", sans-serif;
    background-color: #f2f1f6;
}

a:focus {
    color: rgb(0, 0, 0);
}

/* icon color */
.logo-green {
    filter: invert(41%) sepia(16%) saturate(1964%) hue-rotate(100deg) brightness(97%) contrast(85%);
}

.logo-red {
    filter: invert(43%) sepia(60%) saturate(6414%) hue-rotate(335deg) brightness(88%) contrast(94%);
}


.logo-primary {
    filter: invert(37%) sepia(65%) saturate(6550%) hue-rotate(213deg) brightness(100%) contrast(105%);
}

.menu-btn-active {
    background-color: #ff6503;
    border: 1px solid #fb8940;
    box-shadow: rgb(17 17 26 / 10%) 0px 4px 16px, rgb(17 17 26 / 5%) 0px 8px 32px;
    color: white;
}

.btn-circle {
    width: 60px;
    height: 60px;
    border-radius: 45px;
    padding: 2.5px;
}

.btn:focus {
    outline: none;
    box-shadow: none;
}

.box-shadow-6 {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.border-r9 {
    border-radius: 9px !important;
}

.border-r19 {
    border-radius: 19px !important;
}

.border-r20 {
    border-radius: 20px !important;
}

.border-r29 {
    border-radius: 29px !important;
}

.border-r25 {
    border-radius: 25px !important;
}

.border-dashed {
    border: 2px dashed #11a3ff !important;
}

.border-r15 {
    border-radius: 15px !important;
}

.border-login {
    border-radius: 10px;
    border: 2px solid #e3e3e3;
}


.scroll-list-menu {
    background-color: transparent;
    overflow: auto;
    white-space: nowrap;
}

.scroll-list-menu-active {
    color: #ff6503 !important;
    border-bottom: 2px solid #ff6503 !important;
}

.scroll-list-menu a {
    display: inline-block;
    color: #a7a9ac;
    text-align: center;
    padding: 14px;
    text-decoration: none;
}

/* .scroll-list-menu a:hover {
    background-color: #777;
} */

.shadow-2 {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.images-list {
    display: flex;
    gap: 0.1rem;
    overflow-x: auto;
    scroll-snap-type: x;
}

.images-list img {
    scroll-snap-align: center;
}

.card-menu {
    padding: .5rem 1rem;
    margin-bottom: 0;
    background-color: rgba(0,0,0,.03);
}

.card-menu-border-bottom{
    border-bottom: 1px solid rgba(0,0,0,.125);
}

.card-list {
    display: flex;
    gap: 0.1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.card-list family {
    scroll-snap-align: center;
}

.txt-white {
    color: white !important;
}

.bold {
    font-weight: bold;
}

.txt-wel {
    font-weight: bolder;
    font-size: 18pt;
}

.floating-no-border {
    border: none;
    border-bottom: 2px solid #c3c4c6;
    border-radius: 0px;
    background-color: transparent !important;
}

.form-floating>.form-select {
    line-height: inherit;
}

.btn-orange {
    background-color: #f3d34e;
    /* color: white; */
}

.border-blue-dc {
    border-color: #11a3ff;
}

.border-orange-dc {
    border-color: #f89f32;
}

.bg-pastel-yellow {
    background-color: #FDFDBD !important;
}

.bg-pastel-blue {
    background-color: #B8E8FC !important;
    color: #06587a !important;
}

.bg-pastel-green {
    background-color: #C8FFD4 !important;
    color: #056019 !important;
}

.bg-pastel-purple {
    background-color: #B1AFFF !important;
    color: #340656 !important;
}

.bg-top-menu {
    position: absolute;
    width: 100%;
    height: 287px;
    background-color: #f3d34e;
    z-index: -1;
    border-bottom-left-radius: 19px;
    border-bottom-right-radius: 19px;
}

.bg-orange-manu {
    background-color: #f89f32;
}
/* 
hr {
    color: red;
} */

.skewed {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background-image: linear-gradient(to left bottom, #63bbfd, #54b5fe, #44affe, #30a9ff, #11a3ff);
    z-index: -1;
    transform: skewY(-6deg);
    transform-origin: top left;
}

.form-floating>.form-select {
    padding-bottom: 0px !important;
}

.bg-menu {
    background-image: linear-gradient(to left bottom, #63bbfd, #54b5fe, #44affe, #30a9ff, #11a3ff);
}

.pointer {
    cursor: pointer;
}

.bd-9 {
    border-radius: 9px;
}

.btn-circle-family {
    width: 20px;
    border-radius: 15px;
    padding: 2.5px;
}


/* .hilight-group > .row {overflow-x: auto;white-space: nowrap;} */
.hilight-group {
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.hilight-group>.row {
    overflow-x: auto;
}

.hilight-group>.row>.col-5 {
    display: inline-block;
    float: none;
}

::-webkit-scrollbar {
    display: none;
}

.news-group>.row {
    overflow-x: auto;
}

.news-group>.row>.col-7 {
    display: inline-block;
    float: none;
}

.card-acute-index {
    border-radius: 19px;
    height: 100%;
    box-shadow: 0px 0px 3px 2px #e3e3e3;
    border: none !important;
}

.img-acute {
    border-radius: 19px 19px 0px 0px;
}

.border-19 {
    border-radius: 19px !important;
}

a,
a:active {
    color: black;
    text-decoration: none;
}

.txt-sub {
    color: #c7c7c7;
    font-size: 8pt;
}

.nav-white {
    background-color: white;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    font-size: 18pt;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.nav-logo {
    padding: 10px;
    background-color: white;
    border-radius: 50px;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 5px;
    box-shadow: rgba(14, 30, 37, 0.12) 0px -5px 16px -5px, rgba(14, 30, 37, 0.32) 0px -5px 16px -5px;
}

.nav-icon {
    color: rgb(180, 180, 180);
}

.menu-disabled {
    color: #a7a9ac !important;
    filter: invert(66%) sepia(6%) saturate(136%) hue-rotate(177deg) brightness(100%) contrast(92%);
}

.menu-active {
    color: #faa21e !important;
    filter: invert(63%) sepia(89%) saturate(852%) hue-rotate(345deg) brightness(102%) contrast(96%);
}

.menu-default {
    color: #5fa1d3 !important;
}

.nav-icon-active {
    color: #faa21e;
}

.txt-label {
    font-size: 14pt;
}

.icon-menu {
    font-size: 30pt;
    color: #11a3ff;
}

.txt-docare-b {
    color: #11a3ff !important;
}

.txt-docare-b-o {
    color: #5fa1d3 !important;
}

.btn-docare-outline-blue {
    background-color: transparent;
    border: 1px solid #11a3ff;
    border-radius: 50px;
}

.btn-image-profile {
    position: absolute;
    right: 40%;
    /* padding: 10px; */
    border-radius: 50px;
    transform: translate(-40%, -60%);
    /* top: 5px; */
    z-index: 1;
    right: 12px;
    top: 10px;
}

.left {
    float: left;
}

.right {
    float: right;
}

input:focus {
    outline: none !important;
    /* border-bottom: 2px solid #f89f32 !important; */
    box-shadow: none !important;
}

input[type="checkbox"]:focus {
    outline: none !important;
    /* border-bottom: 0px solid #f89f32 !important; */
    box-shadow: none !important;
}

select:focus {
    outline: none !important;
    /* border-bottom: 2px solid #f89f32 !important; */
    box-shadow: none !important;
}

.datepicker {
    border-radius: 0px !important;
}

.avatar-upload,
.image-upload {
    display: inline-block;
    position: relative;
    max-width: 205px;
}

.avatar-upload .avatar-edit,
.image-upload .image-edit {
    position: absolute;
    z-index: 1;
}

.avatar-upload .avatar-edit {
    right: 12px;
    bottom: -5px;
}

.image-upload .image-edit {
    right: -13px;
    top: 10px;
}

.avatar-upload .avatar-edit input,
.image-upload .image-edit input {
    display: none;
}

.avatar-upload .avatar-edit input+label,
.image-upload .image-edit input+label {
    display: inline-block;
    width: 34px;
    height: 34px;
    margin-bottom: 0;
    border-radius: 100%;
    background: #ffffff;
    border: 1px solid #11a3ff;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    font-weight: normal;
    transition: all 0.2s ease-in-out;
}

.icon-nav-bar {
    font-size: 14pt;
}

.icon-add-health {
    position: absolute;
    top: 8px;
    right: 14px;
    font-size: 18pt;
    color: #65c593;
}

.icon-qrcode {
    position: absolute;
    top: 4px;
    left: 10px;
    font-size: 18pt;
    color: #65c593;
}

.icon-add-family {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 18pt;
    color: #ffffff;
}

.avatar-upload .avatar-edit input+label:hover,
.image-upload .image-edit input+label:hover {
    background: #f1f1f1;
    border-color: #d6d6d6;
}

.avatar-upload .avatar-edit input+label:after,
.image-upload .image-edit input+label:after {
    content: "\f1fc";
    font-family: "FontAwesome";
    color: #11a3ff;
    border-radius: 100%;
    border-radius: 25px;
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    text-align: center;
    margin: auto;
}

.avatar-upload .preview,
.image-upload .preview {
    width: 152px;
    height: 152px;
    position: relative;
    border: 2px solid #11a3ff;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
    padding: 3px;
}

.avatar-upload .preview {
    border-radius: 100%;
}

.avatar-upload .preview>div,
.image-upload .preview>div {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.avatar-upload .preview>div {
    border-radius: 100%;
}

.preview>div,
.invalid-file {
    display: none;
}


/* loader */

.loader {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 0;
    height: 100vh;
    transition: width 0s 1.4s ease;
}

.loader .loader__icon {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.loader .loader__icon svg {
    transform-origin: 0 0;
}

.loader .loader__tile {
    position: absolute;
    left: 0;
    width: 0;
    height: 20%;
    background-color: #f89f32;
    transition: width 0.7s ease;
}

.loader .loader__tile:nth-child(0) {
    top: calc(-1 * 20%);
    transition-delay: -0.2s;
}

.loader .loader__tile:nth-child(1) {
    top: calc(0 * 20%);
    transition-delay: 0s;
}

.loader .loader__tile:nth-child(2) {
    top: calc(1 * 20%);
    transition-delay: 0.2s;
}

.loader .loader__tile:nth-child(3) {
    top: calc(2 * 20%);
    transition-delay: 0.4s;
}

.loader .loader__tile:nth-child(4) {
    top: calc(3 * 20%);
    transition-delay: 0.6s;
}

.loader .loader__tile:nth-child(5) {
    top: calc(4 * 20%);
    transition-delay: 0.8s;
}

.loader--active {
    width: 100%;
    transition-delay: 0s;
}

.loader--active .loader__icon {
    opacity: 1;
    transition: opacity 0.5s 1.4s ease;
}

.loader--active .loader__tile {
    width: 100%;
}

.loader--active .loader__tile:nth-child(0) {
    transition-delay: -0.2s;
}

.loader--active .loader__tile:nth-child(1) {
    transition-delay: 0s;
}

.loader--active .loader__tile:nth-child(2) {
    transition-delay: 0.2s;
}

.loader--active .loader__tile:nth-child(3) {
    transition-delay: 0.4s;
}

.loader--active .loader__tile:nth-child(4) {
    transition-delay: 0.6s;
}

.loader--active .loader__tile:nth-child(5) {
    transition-delay: 0.8s;
}

.health-normal {
    filter: invert(21%) sepia(77%) saturate(4607%) hue-rotate(152deg) brightness(98%) contrast(80%);
}

.health-danger {
    filter: invert(50%) sepia(59%) saturate(2816%) hue-rotate(323deg) brightness(104%) contrast(101%);
}

.health-warning {
    filter: invert(67%) sepia(74%) saturate(837%) hue-rotate(336deg) brightness(101%) contrast(95%);
}

.btn-docare-blue {
    color: #fff;
    background-color: #11a3ff;
    border-color: #11a3ff;
}

.btn-docare-orange {
    color: #fff;
    background-color: #f89f32;
    border-color: #f89f32;
}

.page-link {
    color: #11a3ff;
}

.page-item.active .page-link {
    background-color: #11a3ff;
    border-color: #11a3ff;
}

.active-list {
    background-color: #CAF0F8;
}

.fs-7 {
    font-size: 7pt !important;
}

.fs-8 {
    font-size: 8pt !important;
}

.fs-9 {
    font-size: 9pt !important;
}

.fs-10 {
    font-size: 10pt !important;
}

.fs-11 {
    font-size: 11pt !important;
}

.fs-12 {
    font-size: 12pt !important;
}

.fs-13 {
    font-size: 13pt !important;
}

.fs-14 {
    font-size: 14pt !important;
}

.fs-15 {
    font-size: 15pt !important;
}

.fs-16 {
    font-size: 16pt !important;
}

.docare-nav {
    color: #ababab !important;
    border-bottom: 3px solid;
    font-size: 13pt;
}

.docare-active {
    color: #faa21e !important;
    border-bottom: 3px solid;
}

.btn-device-connect {
    background-color: #ffffff !important;
    border-color: #dfdfdf;
}

.btn-add-devices,
.btn-add-devices:hover {
    background-color: #ff6503 !important;
    border: 1px solid #fb8940;
    width: 50px;
    height: 50px;
    color: #ffffff;
}

.active:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "" !important;
    /* content: "\f077"; */
}