* {
    padding: 0;
    margin: 0;
    font-size: 14px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: NotoSansMedium;
}

@font-face {
    font-family: 'NotoSansMedium';
    src: URL('../font/NotoSansThai-Medium.ttf') format('truetype');
}

#mainpage {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.blurBack {
    -webkit-filter: blur(5px);
    filter: blur(5px);
    pointer-events: none
}

.flex-center {
    display: flex;
    align-items: center;
}

.flex-end {
    display: flex;
    justify-content: end;
}

.grow-parent {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Navbar */
.navbar {
    color: #006838;
    box-shadow: inset 0 0 8px rgb(73 73 73 / 24%);
    background: #ffffff;
}

.navbar-brand {
    color: #006838;
    font-weight: bold;
    font-size: 1.25rem;
    line-height: 1.15rem;
    padding: 0.5rem 0.25rem 0rem 0.75rem;
}

.navbar-brand .md {
    font-size: 1.4rem;
    letter-spacing: 0.025rem;
}

.navbar-brand .sm {
    font-size: 0.53rem;
    text-transform: uppercase;
}

.sub-brand {
    display: flex;
    flex-wrap: wrap;
    border-left: 0.2rem solid #0068387a;
    padding: 0.25rem 0 0.25rem 1.5rem;
}

.sub-brand span {
    font-size: 1.25rem;
}

.navbar-nav>div {
    margin: 0.4rem 0.75rem;
}

.nav-act {
    display: flex;
    align-items: center;
    line-height: initial;
    cursor: pointer;
    user-select: none;
    font-weight: bold;
    padding: 0.1rem;
    text-wrap: nowrap;
}

.nav-act .fa-caret-down {
    font-size: 1rem;
}

.nav-act .fa-circle-user {
    font-size: 1.7rem;
}

.nav-act .fa-warehouse {
    font-size: 1.25rem;
}

.nav-act .fa-bell,
.nav-act .fa-floppy-disk,
.nav-act .fa-globe {
    font-size: 1.375rem;
}

.nav-act span {
    margin: 0 0.5rem;
}

.nav-act:hover i {
    opacity: 100% !important;
}

.nav-act:hover span {
    opacity: 75%;
}

.nav-act.dropdown-toggle::after {
    display: none;
}

.nav-act img {
    height: 2rem;
    width: auto;
}

.user-inside {
    padding: 0.5rem 0.375rem;
    margin-bottom: 1rem;
    background: #ebf6f3;
    border-radius: 0.5rem;
    pointer-events: none;
    text-wrap: wrap;
    word-break: break-word;
}

.dropdown-item i, .dropdown-item img {
    width: 1.5rem;
    text-align: center;
    margin-right: 0.2rem;
}

.dropdown-item img {
    object-fit: contain;
}

.dropdown-item:focus, .dropdown-item:hover {
    color: #1e2125;
    background-color: #e9ecef;
}

.logo-brand, .logo-brand img {
    height: 3.25rem;
}

.offcanvas-body .dropdown-item {
    padding: 0.5rem;
}

.offcanvas-body .dropdown-item i, .offcanvas-body .dropdown-item img {
    width: 1.85rem;
    font-size: 1.35rem;
    margin-right: 0.5rem;
}

.offcanvas-body .h-1-25 {
    height: 1.4rem;
}

.offcanvas-body .dropdown-item span, .offcanvas-body .nav-menu span {
    font-size: 1.1rem;
}

/*  */
.offcanvas-body .nav-menu {
    font-weight: 100;
    align-items: center;
    justify-content: flex-start;
    padding: 0.375rem 0.75rem;
}

.offcanvas-body .nav-menu i {
    font-size: 1.5rem;
    color: #ff9e3e;
}

.offcanvas-body .nav-menu.active {
    background: #ebf6f3;
    border-radius: 0.25rem;
}

.offcanvas-body .nav-menu.active i {
    font-size: 1.7rem;
}

.offcanvas-body .nav-menu.active span {
    font-size: 1.2rem;
    font-weight: bold;
    color: #006838;
}

/* Nav menu */
.nav-menu-group {
    display: grid;
    grid-template-columns: repeat(3, auto);
    line-height: initial;
    text-align: center;
    z-index: 1;
    padding: 0.5rem 0.25rem;
    box-shadow: inset 0 0.2rem 0.5rem #c7781045, 0 0.2rem 0.5rem #c7781045;
    background: radial-gradient(ellipse at top, #fab067, #fed28d63), radial-gradient(ellipse at bottom, #ffac12, #ffa93245);
    border-bottom: 0.2rem solid #ffffff26;
}

.nav-menu-group select {
    background: #ffffff4f url(../img/angle-down.svg) calc(100% - 0.75rem) 50% no-repeat;
    background-size: 1.1rem !important;
    border: 0.15rem solid #ffffff1c;
    color: #006838;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    cursor: pointer;
    line-height: initial;
    width: 100%;
    text-align: center;
    border-radius: 0.25rem;
}

.nav-menu {
    display: flex;
    justify-content: center;
    color: #222a35;
    font-weight: bold;
}

.nav-menu span {
    font-size: 1.25rem;
    padding: 0.4rem;
    margin: 0 0.2rem;
    cursor: pointer;
    border-radius: 0.25rem;
    min-width: 75%;
    max-width: 100%;
}

.nav-menu span:hover {
    background: linear-gradient(180deg, #ffffff12 0%, #ffffff42 100%) !important;
}

.nav-menu-group>div:nth-child(2) {
    border-left: 0.2rem solid #ffffff96;
    border-right: 0.2rem solid #ffffff96;
}

.nav-menu-group .nav-menu.active span {
    /* background: #ffffff42; */
    color: #006838;
    background: linear-gradient(0deg, #ffffff12 0%, #ffffff42 100%);
}


/* Content */
#content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: auto;
    background: linear-gradient(180deg, #f9aa63 -3%, #ffe287 42%, #ffeca9 100%);
}

.content-inside {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.content-inside.user {
    padding: 2rem 5rem;
}

/* Fire Alert */
.alert-page {
    overflow: auto;
}

.alert-img, .alert-img, .cnt-map, .cnt-map iframe {
    border-radius: 2rem;
    min-height: 15rem;
}

.alert-img, .cnt-map {
    display: flex;
    position: relative;
    max-height: 100%;
}

.alert-img img, .cnt-map iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0.4rem solid #ffffff57;
}

.cnt-map {
    position: relative;
    max-width: 100%;
}

.cnt-map, .cnt-map iframe {
    width: 100%;
    z-index: 1;
}

.alert-img img {
    border-radius: 0.4rem;
}

.alert-img img:hover {
    box-shadow: 0 0 0.5rem 0 rgb(105 50 50 / 14%);
    border: 0.75rem solid #ffffff57;
}

.box-style-1 {
    padding: 2rem 1rem;
    border-radius: 2rem;
    background: #ffffff;
    box-shadow: 0 0 0.8rem 0 rgb(105 50 50 / 19%);
    width: fit-content;
    min-width: 20rem;
    max-width: 100%;
    user-select: none;
    border: 0.5rem solid #ffffff;
}

.box-style-1[type='button']:hover {
    border: 0.5rem solid #fff4d0;
    box-shadow: inset 0 0.2rem 0.4rem #c5ac5696, 0 0.2rem 0.5rem #c7781045;
}

.box-style-1[type='button']:hover .circle-img {
    box-shadow: 0.2rem 0.2rem 0.375rem 0 rgb(233 217 166 / 86%), inset 0.2rem 0.2rem 0.375rem 0 rgb(233 217 166 / 86%);
}

.circle-img {
    background: #fff4d0;
    border-radius: 100%;
    width: 8rem;
    height: 8rem;
    padding: 0.85rem;
    box-shadow: 0.2rem 0.2rem 0.375rem 0 rgb(233 217 166 / 86%);
}

.circle-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.txt-1 {
    font-size: 1.4rem;
}

.txt-2 {
    font-size: 1.25rem;
}

.txt-3 {
    font-size: 1.1rem;
}


/* Main */
.main-page {
    padding: 1rem;
}

.main-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    border-bottom: 0.12rem dashed #ffe5918a;
}

.main-title {
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 0.02rem;
    text-shadow: 0 0 0.2rem #0000005c;
}

.main-title img {
    height: 1.85rem;
    margin-right: 0.5rem;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.466);
    border-radius: 100%;
    padding: 0.1rem;
    box-shadow: 0.15rem 0.15rem 0.15rem #e1a755a3;
}

.group-list {
    display: grid;
    align-content: baseline;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: 2.25rem;
    flex-grow: 1;
    overflow: auto;
    padding: 0.5rem;
}

.group-list .box-style-1 {
    display: flex;
    flex-direction: column;
    text-align: center;
    text-wrap: wrap;
    padding: 1.5rem;
    min-width: unset;
    width: 100%;
    position: relative;
}

.group-list .box-style-1 .txt-3 {
    color: #364345;
    font-weight: bold;
}


/* Main inside */
.main-page-inside .main-title {
    display: flex;
    align-items: baseline;
    /* justify-content: center; */
    flex-wrap: wrap;
}

.btn-back {
    display: flex;
    align-items: center;
    padding: 0.34rem 1.5rem 0.4rem 0.55rem;
    border: 0;
    font-size: 1.1rem;
    background: #ffffff3d;
    color: #a55809;
    line-height: initial;
    font-weight: bold;
    border-radius: 5rem;
    box-shadow: 0.15rem 0.15rem 0.15rem #e1a755a3;
}

.btn-back i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.main-inside {
    flex-grow: 1;
    overflow: auto;
    background: #ffffff3b;
    border-radius: 0.4rem;
}

.circle-blue {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 100%;
    background: #bad7d3;
    display: flex;
    box-shadow: 0.15rem 0.15rem 0.15rem #23818d42;
    color: #23818d;
    margin-right: 1rem;
    padding: 0.65rem;
}

.circle-blue i {
    margin: auto;
    font-size: 1.5rem;
}

.circle-blue img {
    object-fit: contain;
    width: 100%;
    height: auto;
}

.mi-group {
    display: flex;
    margin-top: 1.5rem;
}

.mi-content {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    overflow: auto;
}

.mi-content .input-style-2 {
    background-color: #ffffffa6;
    border: 0.15rem solid #ffffff00;
}

.mi-group-parent {
    overflow: auto;
    height: 100%;
}

.mi-info-group {
    width: calc(100% - 4.25rem);
    padding-top: 1rem;
}

.mi-info {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    /* flex-wrap: wrap; */
    margin-bottom: 0.75rem;
}

.sub-txt {
    font-size: 1.15rem;
    padding: 0.1rem;
}

.popover {
    max-width: 90%;
}

.box-style-2 {
    text-align: center;
    border-radius: 2rem;
    background: #ffffff;
    box-shadow: 0 0 0.8rem 0 rgb(105 50 50 / 19%);
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    height: fit-content;
    padding: 2rem;
}

.result-txt {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
}

.result-box {
    display: flex;
    border-radius: 100%;
    width: 12.25rem;
    height: 12rem;
    padding: 0.85rem;
    margin: 1.25rem auto;
    color: #ffffff;
}

.result-box span {
    margin: auto;
    font-size: 4rem;
    padding-top: 0.25rem;
}

.rs-1 {
    background: linear-gradient(90deg, #15914f 0%, rgb(89 153 31) 100%);
    box-shadow: inset 0.2rem 0.2rem 0.575rem 0 rgb(37 117 74 / 50%);
}

.rs-2 {
    background: linear-gradient(90deg, #bf9000 0%, rgb(236 196 72) 100%);
    box-shadow: inset 0.2rem 0.2rem 0.575rem 0 rgb(188 149 28 / 64%);
}

.rs-3 {
    background: linear-gradient(90deg, #ee2302 0%, rgb(238 125 14) 80%);
    box-shadow: inset 0.2rem 0.2rem 0.575rem 0 rgb(188 94 28 / 64%);
}

/* Contact */
.contact-page {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    overflow: auto;
    flex-grow: 1;
    padding: 0.5rem 1rem;
    max-width: 100%;
}

.cnt-info {
    display: flex;
    flex-direction: column;
    border-radius: 2rem;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 0 0 0.4rem #ffffff57;
    padding: 1rem;
}

.cnt-group-top {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem 0.5rem;
    margin: 2rem 0 1rem;
}

.cnt-btm {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, auto));
    gap: 1.25rem 0.5rem;
    background: #eef3f6;
    padding: 1.575rem 2rem;
    border-radius: 0 0 2rem 2rem;
}

.cnt-group {
    display: flex;
    align-items: center;
}

.circle-icon {
    display: flex;
    padding: 0.2rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 100%;
    margin-right: 0.75rem;
    color: #c0ca67;
    background: #47484d;
}

.circle-icon i {
    margin: auto;
}


/* User */
.box-white {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: auto;
    border-radius: 0.5rem;
    background: #ffffff;
    box-shadow: 0 0 0.8rem 0 rgb(105 50 50 / 19%);
}

.user-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    padding: 0.5rem 1.5rem;
    overflow: auto;
}

.user-title {
    font-size: 1.25rem;
    font-weight: bold;
    padding: 1.5rem 2rem 0;
}

.user-title i {
    font-size: 1.4rem;
    margin-right: 0.4rem;
}

.form-group {
    display: grid;
    align-items: baseline;
    align-content: baseline;
    text-wrap: nowrap;
    gap: 0.75rem 1.25rem;
}

.form-group .head {
    opacity: 50%;
    font-size: 0.9rem;
    padding-left: 0.2rem;
}

.form-header-dash {
    display: flex;
    align-items: baseline;
    font-weight: bold;
    padding: 0.25rem 0.5rem;
    border-bottom: 0.12rem dashed #D7D7D7;
    margin-bottom: 0.75rem;
    margin-top: 2rem;
    color: #006838;
}

.form-header-dash i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.btm-btn-group {
    padding-bottom: 0.5rem;
}

.btm-btn {
    display: flex;
    justify-content: end;
    padding: 0.75rem 1rem;
    background: #f9f6e9;
}

.device-list-box {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    width: 100%;
    min-height: 6.4rem;
    border-radius: 0.4rem;
    padding: 0.4rem;
    background: linear-gradient(90deg, #FDFAE3 25%, rgb(248 235 225) 100%);
}

.device-box {
    display: flex;
    padding: 0.1rem 0.1rem 0.1rem 0.75rem;
    color: #008dcc;
    border-radius: 0.4rem;
    background: white;
    margin: 0.2rem 0.3rem;
    line-height: initial;
    text-wrap: wrap;
    box-shadow: 0px 0px 0.25rem 0px rgb(214 204 181);
    width: 100%;
    justify-content: space-between;
}

.device-box button {
    color: #dc3545;
    background: #f8f5dd;
    border-radius: 0 0.25rem 0.25rem 0;
    padding: 0.5rem 0.75rem;
}

.no-doc {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: initial;
    height: 100%;
    width: 100%;
    padding: 0.5rem;
}

.no-doc span {
    opacity: 30%;
}

.no-lt {
    text-align: center;
    margin: auto;
    opacity: 40%;
    color: #674a2f;
}

.no-lt i {
    font-size: 5rem;
}

.no-lt .txt {
    margin-top: 1rem;
    font-size: 1.2rem;
}

.user-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 1.75rem;
    padding: 0.375rem 0.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(180deg, #f9cc65 0%, #fed08a 100%);
}

.label {
    display: flex;
    align-items: center;
    margin: 0.25rem 0.75rem;
    cursor: pointer;
    line-height: initial;
    user-select: none;
}

.label span {
    margin-left: 0.4rem;
}

/* Suggestion */
.suggestion-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.5rem 0.5rem 1rem;
    color: #364345;
}

.suggestion-title {
    text-align: center;
    padding: 0.5rem;
    background: #ffffff69;
    margin-bottom: 0.75rem;
    border-radius: 0.25rem;
    font-weight: bold;
    color: #364345;
}

.suggestion-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, auto));
    gap: 0.4rem;
}

.suggestion-group>div {
    padding: 1rem;
    border-radius: 0.5rem;
}

.suggestion-group li {
    margin-bottom: 0.25rem;
}

/* Table */
.border_table {
    min-height: 15rem;
    flex-grow: 1;
    overflow: auto;
    border-radius: 1rem;
    border: 0.375rem solid #ffd577;
    background: linear-gradient(180deg, #ffd577 0%, #ffffff 14%);
}

table:not(.table-condensed) {
    white-space: nowrap;
    width: 100%;
    color: #0a0c3a;
    /* color: #333332; */
}

table:not(.table-condensed) tr th, table:not(.table-condensed) tr td {
    vertical-align: top;
    text-align: center;
    line-height: initial;
}

table:not(.table-condensed) tr th {
    position: sticky;
    top: 0;
    white-space: nowrap;
    z-index: 2;
    padding: 0.375rem 1.75rem 0.75rem;
    /* background: linear-gradient(180deg, #f9b067 0%, #fee18a 100%); */
    background: linear-gradient(180deg, #e9720a 0%, #ffd577 0%);
}

table:not(.table-condensed) tr td {
    padding: 0.5rem 1.75rem;
    border-bottom: 0.15rem solid #fff3cb;
    background-color: #fff;
}


table:not(.table-condensed) .end-group, table:not(.table-condensed) .end-group td {
    border-bottom: 0.4rem solid #ffffff;
}

table:not(.table-condensed) tbody tr:nth-child(even),
table:not(.table-condensed) tbody tr:nth-child(even) td {
    background-color: #fffaeb;
    border-bottom: 0.15rem solid #fff2cc;
}

table:not(.table-condensed) tbody tr:nth-child(odd),
table:not(.table-condensed) tbody tr:nth-child(odd) td {
    background-color: #fff;
    border-bottom: 0.15rem solid #fff2cc;
}

table.table-left tr th,
table.table-left tr td {
    text-align: left;
}




/* Input */
button:focus,
select:focus,
input:focus,
textarea:focus {
    outline: none !important;
}

::placeholder {
    opacity: 40%;
}

select {
    appearance: none;
}

select:focus {
    box-shadow: none !important;
    border: none;
}

.input-style-1, .input-style-2 {
    border: 0.15rem solid #D9D9D9;
    color: #333332;
    box-shadow: 0 0.1rem 0.4rem 0 #20407311 inset;
    line-height: normal;
}

.input-style-1 {
    padding: 0.3rem 1rem;
    border-radius: 4rem;
}

.input-style-2 {
    padding: 0.3rem 1rem;
    border-radius: 0.375rem;
}

.input-style-2:disabled, input.input-style-2:not(.i-date):read-only {
    box-shadow: unset;
    opacity: 1;
    background-color: rgb(238 238 238);
    color: #5d5d5d;
    border: 0.15rem solid #e4e4e4;
}

input:not(:disabled, :read-only, .no-focus, .i-search, [type='radio'], [type='checkbox'], [type='range']):focus,
textarea:focus, textarea.input-style-2:focus, .filter-text-group:focus-within,
select:not(:disabled, .no-focus, .navbar-brand):focus {
    box-shadow: inset 0 0 0 0.04rem #faaf66 !important;
    border: 0.15rem solid #fab067;
}

.filter-select {
    padding: 0.3rem 2.25rem 0.3rem 0.5rem;
    width: 100%;
}

.i-arrow-down {
    background: url(../img/angle-down.svg) calc(100% - 0.75rem) 50% no-repeat;
    color: #333332;
    cursor: pointer;
    line-height: initial;
    padding-right: 2.5rem;
}

.i-search {
    background: #ffffffa6 url(../img/search-solid.svg) 1rem 48% no-repeat;
    width: 100%;
    max-width: 100%;
    padding: 0.3rem 1rem 0.3rem 3rem;
    border: 0.15rem solid #ffffff00;
}

.i-date {
    background: #ffffffa6 url(../img/calendar-days-solid.svg) 1rem 45% no-repeat;
    /* min-width: 15rem; */
    padding: 0.3rem 1rem 0.3rem 3rem;
    max-width: 100%;
    border: 0.15rem solid #ffffff00;
    cursor: pointer;
}

.i-search:focus {
    box-shadow: inset 0 0 0 0.04rem #fae966 !important;
    border: 0.15rem solid #ffe89a !important;
}

.i-search, .i-date, .i-filter, .i-arrow-down {
    background-size: 1.1rem !important;
}

.filter-text-group .filter-select {
    border: 0;
}

.filter-text-group {
    display: flex;
    border: 0.15rem solid #D9D9D9;
    box-shadow: 0 0.1rem 0.4rem 0 #20407311 inset;
    border-radius: 5.375rem;
}

.filter-text-group input {
    border: 0;
}

.filter-text-group input:focus {
    box-shadow: none !important;
    border: none;
}

.filter-text-group.disabled {
    background: #f0f0f0;
    pointer-events: none;
    opacity: 75%;
}

.filter-icon-header {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ff8e22;
    padding-left: 1rem;
    padding-bottom: 0.1rem;
}

.filter-icon-header i {
    font-size: 1.1rem;
}

input[type='radio'], input[type='checkbox']:not(:disabled) {
    cursor: pointer !important;
}

input:read-only, input[type='checkbox']:disabled+span {
    cursor: default;
}

input[type='radio'], input[type='checkbox'] {
    width: 1.1rem;
    height: 1.1rem;
    vertical-align: middle;
    position: relative;
    bottom: 0.05rem;
}

/* See password */
.form-group-btn {
    display: flex;
}

.form-group-btn input, .form-group-btn textarea, .form-group-btn select {
    border-right-color: #fab067;
    border-radius: 0.4rem 0 0 0.4rem;
}

.form-group-btn button, .unit-end {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    border-radius: 0 0.4rem 0.4rem 0;
    border: 0;
    min-width: 2.75rem;
    background: linear-gradient(90deg, #fab067 0%, #FFB347 100%);
}

.form-group-btn button i {
    color: #333332;
}

.form-group-btn input:disabled, .form-group-btn.disabled input {
    border-right: 0;
}

.form-group-btn button:disabled, .form-group-btn.disabled button {
    background: linear-gradient(90deg, rgb(142 142 142 / 71%) 0%, rgba(165, 165, 165, 1) 100%);
}

.form-group-btn.disabled {
    pointer-events: none;
}

/* Button */
.btn-trans {
    border: 0;
    background-color: transparent;
}

button:not(:disabled):active, [type='button']:not(:disabled):active {
    opacity: 75% !important;
}

.btn-style-1 {
    border: 0;
    padding: 0.3rem 1.75rem;
    border-radius: 5rem;
    line-height: inherit;
    text-wrap: nowrap;
    box-shadow: 0 0.1rem 0.4rem 0 #2040731a inset, 0 0.1rem 0.25rem 0 #20407311;
    border: 0.15rem solid #ffffff00;
    background: white;
}

/* Modal */
body.modal-open #mainpage {
    -webkit-filter: blur(5px);
    filter: blur(5px);
    pointer-events: none;
}

.popup_icon, .check_icon, .info_icon {
    font-size: 3rem;
    margin: 1rem 0;
}

.popup_icon {
    color: orange;
}

.check_icon {
    color: #20a969;
}

.btn-close:focus {
    box-shadow: unset !important;
}


/* ETC */
.h-1-25 {
    height: 1.25rem;
}

.h-max-30 {
    max-height: 30rem !important;
}

.p-0125 {
    padding: 0.125rem !important;
}


/* Color */
.color-1 {
    color: #006838 !important;
}

.color-2 {
    color: #23818d !important;
}

.color-3 {
    color: #dfa315 !important;
}

.gradient-color-1 {
    background: linear-gradient(180deg, #f9aa63 -3%, #ffc40c 100%);
}

.gradient-color-1 {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0.05rem;
}

.bg-1 {
    background-color: #e1eed8 !important;
}

.bg-2 {
    background-color: #fef1cb !important;
}

.bg-3 {
    background-color: #fecbcb !important;
}

/* Daterangepicker */
.daterangepicker {
    width: auto !important;
    color: #204073;
    box-shadow: 0 0 0.4rem 0 #b3b3b391;
}

.daterangepicker .drp-calendar.left, .daterangepicker .drp-calendar.right {
    padding: 1rem 0.4rem !important;
}

.daterangepicker .calendar-table .next span, .daterangepicker .calendar-table .prev span {
    border-width: 0 0.1rem 0.1rem 0 !important;
    padding: 0.2rem !important;
}

.daterangepicker .calendar-table th, .daterangepicker .calendar-table td {
    min-width: 2rem !important;
    width: 2.5rem !important;
    height: 2rem !important;
    line-height: 2rem !important;
}

.daterangepicker select {
    background: #fff url(../img/angle-down.svg) calc(100% - 0.5rem) 50% no-repeat !important;
    background-size: 0.9rem !important;
    appearance: none;
    cursor: pointer !important;
    border: 0.15rem solid #D9D9D9;
    box-shadow: 0 0.1rem 0.4rem 0 #d9d9d9 inset;
    border-radius: 4rem;
    /* padding-left: 0.75rem !important; */
    padding: 0.25rem 1.5rem 0.25rem 0.75rem !important;
    line-height: initial;
}

.daterangepicker td.active, .daterangepicker td.active:hover, .daterangepicker .ranges li.active {
    color: #333332;
    background: linear-gradient(90deg, #FDCB0A 0%, #FFB347 100%);
}

.daterangepicker td.in-range {
    background-color: #fffbde;
}

.daterangepicker .drp-selected {
    vertical-align: middle !important;
    padding-right: 0.4rem !important;
    font-weight: bold;
}

.daterangepicker .drp-buttons .btn {
    margin-left: 0.2rem !important;
    padding: 0.2rem 0.4rem !important;
    font-weight: 500 !important;
}

.daterangepicker .ranges li {
    padding: 0.75rem 1rem !important;
}

.daterangepicker .calendar-table .prev span {
    transform: rotate(135deg) translateX(-43%) !important;
}

.daterangepicker .calendar-table .next span {
    transform: rotate(-45deg) translateY(-37%) !important;
}

.daterangepicker .next.available {
    margin-left: 0.4rem;
}

.daterangepicker, .daterangepicker select, .daterangepicker .calendar-table th, .daterangepicker .calendar-table td, .daterangepicker .drp-selected, .daterangepicker .drp-buttons .btn, .daterangepicker .ranges li {
    font-size: 0.9rem !important;
}

.daterangepicker .drp-calendar {
    max-width: 300px !important;
}

/** webkit scrollbar */
::-webkit-scrollbar {
    width: 0.95rem;
    height: 0.95rem;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
    border: 0.1rem solid white;
}

::-webkit-scrollbar-thumb {
    background: #edad6f;
    border-radius: 10px;
    border: 0.2rem solid white;
}

::-webkit-scrollbar-thumb:hover {
    background: #d5cdbd;
}

::-webkit-scrollbar-corner {
    background: #f1f1f1;
    border: 0.1rem solid white;
}


/* Loading */
.sm-loader {
    margin: 4em auto;
    font-size: 0.5rem !important;
    width: 1.23em;
    height: 1.1em;
    border-radius: 50%;
    position: relative;
    text-indent: -9999em;
    -webkit-animation: load5 1.1s infinite ease;
    animation: load5 1.1s infinite ease;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

#loader {
    z-index: 30000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    /* background-color: rgba(0, 0, 0, 0.5); */
}

#loader>div {
    font-size: 1.2rem;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    text-indent: -9999em;
    -webkit-animation: load5 1.1s infinite ease;
    animation: load5 1.1s infinite ease;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    top: 50%;
    left: 50%;
}

@-webkit-keyframes load5 {

    0%,
    100% {
        box-shadow: 0em -2.6em 0em 0em #ff8e22, 1.8em -1.8em 0 0em rgba(255, 142, 34, 0.2), 2.5em 0em 0 0em rgba(255, 142, 34, 0.2), 1.75em 1.75em 0 0em rgba(255, 142, 34, 0.2), 0em 2.5em 0 0em rgba(255, 142, 34, 0.2), -1.8em 1.8em 0 0em rgba(255, 142, 34, 0.2), -2.6em 0em 0 0em rgba(255, 142, 34, 0.5), -1.8em -1.8em 0 0em rgba(255, 142, 34, 0.7);
    }

    12.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 142, 34, 0.7), 1.8em -1.8em 0 0em #ff8e22, 2.5em 0em 0 0em rgba(255, 142, 34, 0.2), 1.75em 1.75em 0 0em rgba(255, 142, 34, 0.2), 0em 2.5em 0 0em rgba(255, 142, 34, 0.2), -1.8em 1.8em 0 0em rgba(255, 142, 34, 0.2), -2.6em 0em 0 0em rgba(255, 142, 34, 0.2), -1.8em -1.8em 0 0em rgba(255, 142, 34, 0.5);
    }

    25% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 142, 34, 0.5), 1.8em -1.8em 0 0em rgba(255, 142, 34, 0.7), 2.5em 0em 0 0em #ff8e22, 1.75em 1.75em 0 0em rgba(255, 142, 34, 0.2), 0em 2.5em 0 0em rgba(255, 142, 34, 0.2), -1.8em 1.8em 0 0em rgba(255, 142, 34, 0.2), -2.6em 0em 0 0em rgba(255, 142, 34, 0.2), -1.8em -1.8em 0 0em rgba(255, 142, 34, 0.2);
    }

    37.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 142, 34, 0.2), 1.8em -1.8em 0 0em rgba(255, 142, 34, 0.5), 2.5em 0em 0 0em rgba(255, 142, 34, 0.7), 1.75em 1.75em 0 0em #ff8e22, 0em 2.5em 0 0em rgba(255, 142, 34, 0.2), -1.8em 1.8em 0 0em rgba(255, 142, 34, 0.2), -2.6em 0em 0 0em rgba(255, 142, 34, 0.2), -1.8em -1.8em 0 0em rgba(255, 142, 34, 0.2);
    }

    50% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 142, 34, 0.2), 1.8em -1.8em 0 0em rgba(255, 142, 34, 0.2), 2.5em 0em 0 0em rgba(255, 142, 34, 0.5), 1.75em 1.75em 0 0em rgba(255, 142, 34, 0.7), 0em 2.5em 0 0em #ff8e22, -1.8em 1.8em 0 0em rgba(255, 142, 34, 0.2), -2.6em 0em 0 0em rgba(255, 142, 34, 0.2), -1.8em -1.8em 0 0em rgba(255, 142, 34, 0.2);
    }

    62.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 142, 34, 0.2), 1.8em -1.8em 0 0em rgba(255, 142, 34, 0.2), 2.5em 0em 0 0em rgba(255, 142, 34, 0.2), 1.75em 1.75em 0 0em rgba(255, 142, 34, 0.5), 0em 2.5em 0 0em rgba(255, 142, 34, 0.7), -1.8em 1.8em 0 0em #ff8e22, -2.6em 0em 0 0em rgba(255, 142, 34, 0.2), -1.8em -1.8em 0 0em rgba(255, 142, 34, 0.2);
    }

    75% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 142, 34, 0.2), 1.8em -1.8em 0 0em rgba(255, 142, 34, 0.2), 2.5em 0em 0 0em rgba(255, 142, 34, 0.2), 1.75em 1.75em 0 0em rgba(255, 142, 34, 0.2), 0em 2.5em 0 0em rgba(255, 142, 34, 0.5), -1.8em 1.8em 0 0em rgba(255, 142, 34, 0.7), -2.6em 0em 0 0em #ff8e22, -1.8em -1.8em 0 0em rgba(255, 142, 34, 0.2);
    }

    87.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 142, 34, 0.2), 1.8em -1.8em 0 0em rgba(255, 142, 34, 0.2), 2.5em 0em 0 0em rgba(255, 142, 34, 0.2), 1.75em 1.75em 0 0em rgba(255, 142, 34, 0.2), 0em 2.5em 0 0em rgba(255, 142, 34, 0.2), -1.8em 1.8em 0 0em rgba(255, 142, 34, 0.5), -2.6em 0em 0 0em rgba(255, 142, 34, 0.7), -1.8em -1.8em 0 0em #ff8e22;
    }
}

@keyframes load5 {

    0%,
    100% {
        box-shadow: 0em -2.6em 0em 0em #ff8e22, 1.8em -1.8em 0 0em rgba(255, 142, 34, 0.2), 2.5em 0em 0 0em rgba(255, 142, 34, 0.2), 1.75em 1.75em 0 0em rgba(255, 142, 34, 0.2), 0em 2.5em 0 0em rgba(255, 142, 34, 0.2), -1.8em 1.8em 0 0em rgba(255, 142, 34, 0.2), -2.6em 0em 0 0em rgba(255, 142, 34, 0.5), -1.8em -1.8em 0 0em rgba(255, 142, 34, 0.7);
    }

    12.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 142, 34, 0.7), 1.8em -1.8em 0 0em #ff8e22, 2.5em 0em 0 0em rgba(255, 142, 34, 0.2), 1.75em 1.75em 0 0em rgba(255, 142, 34, 0.2), 0em 2.5em 0 0em rgba(255, 142, 34, 0.2), -1.8em 1.8em 0 0em rgba(255, 142, 34, 0.2), -2.6em 0em 0 0em rgba(255, 142, 34, 0.2), -1.8em -1.8em 0 0em rgba(255, 142, 34, 0.5);
    }

    25% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 142, 34, 0.5), 1.8em -1.8em 0 0em rgba(255, 142, 34, 0.7), 2.5em 0em 0 0em #ff8e22, 1.75em 1.75em 0 0em rgba(255, 142, 34, 0.2), 0em 2.5em 0 0em rgba(255, 142, 34, 0.2), -1.8em 1.8em 0 0em rgba(255, 142, 34, 0.2), -2.6em 0em 0 0em rgba(255, 142, 34, 0.2), -1.8em -1.8em 0 0em rgba(255, 142, 34, 0.2);
    }

    37.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 142, 34, 0.2), 1.8em -1.8em 0 0em rgba(255, 142, 34, 0.5), 2.5em 0em 0 0em rgba(255, 142, 34, 0.7), 1.75em 1.75em 0 0em #ff8e22, 0em 2.5em 0 0em rgba(255, 142, 34, 0.2), -1.8em 1.8em 0 0em rgba(255, 142, 34, 0.2), -2.6em 0em 0 0em rgba(255, 142, 34, 0.2), -1.8em -1.8em 0 0em rgba(255, 142, 34, 0.2);
    }

    50% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 142, 34, 0.2), 1.8em -1.8em 0 0em rgba(255, 142, 34, 0.2), 2.5em 0em 0 0em rgba(255, 142, 34, 0.5), 1.75em 1.75em 0 0em rgba(255, 142, 34, 0.7), 0em 2.5em 0 0em #ff8e22, -1.8em 1.8em 0 0em rgba(255, 142, 34, 0.2), -2.6em 0em 0 0em rgba(255, 142, 34, 0.2), -1.8em -1.8em 0 0em rgba(255, 142, 34, 0.2);
    }

    62.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 142, 34, 0.2), 1.8em -1.8em 0 0em rgba(255, 142, 34, 0.2), 2.5em 0em 0 0em rgba(255, 142, 34, 0.2), 1.75em 1.75em 0 0em rgba(255, 142, 34, 0.5), 0em 2.5em 0 0em rgba(255, 142, 34, 0.7), -1.8em 1.8em 0 0em #ff8e22, -2.6em 0em 0 0em rgba(255, 142, 34, 0.2), -1.8em -1.8em 0 0em rgba(255, 142, 34, 0.2);
    }

    75% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 142, 34, 0.2), 1.8em -1.8em 0 0em rgba(255, 142, 34, 0.2), 2.5em 0em 0 0em rgba(255, 142, 34, 0.2), 1.75em 1.75em 0 0em rgba(255, 142, 34, 0.2), 0em 2.5em 0 0em rgba(255, 142, 34, 0.5), -1.8em 1.8em 0 0em rgba(255, 142, 34, 0.7), -2.6em 0em 0 0em #ff8e22, -1.8em -1.8em 0 0em rgba(255, 142, 34, 0.2);
    }

    87.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(255, 142, 34, 0.2), 1.8em -1.8em 0 0em rgba(255, 142, 34, 0.2), 2.5em 0em 0 0em rgba(255, 142, 34, 0.2), 1.75em 1.75em 0 0em rgba(255, 142, 34, 0.2), 0em 2.5em 0 0em rgba(255, 142, 34, 0.2), -1.8em 1.8em 0 0em rgba(255, 142, 34, 0.5), -2.6em 0em 0 0em rgba(255, 142, 34, 0.7), -1.8em -1.8em 0 0em #ff8e22;
    }
}

@media (min-width: 1600px) {
    * {
        font-size: 18px;
    }
}

@media (max-width: 992px) {
    .mi-group-parent {
        overflow: unset;
        height: auto;
    }

    .circle-img {
        width: 6rem;
        height: 6rem;
    }

    .ellipsis-2 {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box !important;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
}

@media (min-width: 992px) {
    .ellipsis-1 {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box !important;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }
}


@media (max-width: 768px) {
    .result-box {
        width: 11.25rem;
        height: 11rem;
    }

    .result-box span {
        font-size: 3.25rem;
    }

    table:not(.table-condensed) tr th, table:not(.table-condensed) tr td {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 576px) {
    * {
        font-size: 13.5px;
    }

    .w-50-576 {
        width: calc(50% - 0.5rem) !important;
        max-width: 30rem;
    }

    .sub-brand {
        border-left: 0;
        padding: 0.7rem 0 0.4rem 0.5rem;
    }

    .sub-brand span {
        font-size: 1.175rem;
    }

    .nav-menu span {
        font-size: 1rem;
    }

    .content-inside.user {
        padding: 1rem;
    }

    .circle-img {
        /* width: 6rem;
        height: 6rem; */
        position: absolute;
        opacity: 10%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: 75%;
        width: auto;
        background: transparent;
    }

    .txt-1 {
        font-size: 1.2rem;
    }

    .txt-2, .txt-3 {
        font-size: 1rem;
    }

    .sub-txt {
        font-size: 1rem;
    }

    .group-list {
        gap: 1rem;
    }

    .group-list .box-style-1 {
        padding: 0.75rem;
        border-radius: 1rem;
    }

    .result-box {
        width: 7.25rem;
        height: 7rem;
    }

    .result-box span {
        font-size: 2rem;
    }

    .mi-info {
        flex-wrap: wrap;
    }

    .circle-blue {
        width: 2.2rem;
        height: 2.2rem;
        margin-right: 0.75rem;
    }

    .circle-blue i {
        font-size: 1rem;
    }
}

@media (max-width: 320px) {
    * {
        font-size: 12px;
    }

    .sub-brand span {
        font-size: 1rem;
    }
}

@media (min-width: 240px) {
    .modal, .modal-sm {
        --bs-modal-width: 34rem;
    }

    .modal-dialog {
        margin-right: auto;
        margin-left: auto;
    }

    .modal-xl, .modal-lg, .modal-35, .modal-85 {
        --bs-modal-width: 95%;
        max-width: 95%;
    }

    .modal-35 {
        width: 35rem;
    }

    .modal-85 {
        width: 85rem;
    }
}

.filter-dropdown{
    background-color: #ffffffa6;
}