@import url('font-awesome.min.css');
@import url('layui-reset.css');
@import url('bootstrap-reset.css');

:root, [data-bs-theme=light] {
    --i-blue: #15347e;
    --i-blue-100: #337ab7;
    --i-teal: #65CEA7;
    --i-gray: #424f63;
    --i-gray-100: #353f4f;
    --i-gray-200: #2a323f;
}

html::-webkit-scrollbar,
textarea::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

html::-webkit-scrollbar-thumb,
textarea::-webkit-scrollbar-thumb {
    border-radius: 5px;
    box-shadow: inset 0 0 10px var(--bs-gray-500);
    background: var(--bs-gray-500);
}

html::-webkit-scrollbar-track,
textarea::-webkit-scrollbar-track {
    box-shadow: inset 0 0 10px var(--i-blue);
    border-radius: 0;
    background: var(--i-blue);
}

html,
textarea {
    scrollbar-color: var(--bs-gray-500) var(--i-blue);
    scrollbar-width: thin;
    -ms-overflow-style: none;
}

body {
    background: var(--i-gray);
    font-family: Arial, Helvetica, sans-serif;
    color: var(--bs-body-color);
    overflow-x: hidden;
}

a {
    color: var(--i-teal);
    text-decoration: none;
}

label {
    cursor: pointer;
}

a:focus, a:active, a:hover {
    color: var(--bs-body-color);
    text-decoration: underline;
}

.a-disabled {
    cursor: not-allowed;
    filter: alpha(opacity=65);
    opacity: .65;
    box-shadow: none;
    pointer-events: none;
}

img[src=''], img:not([src]) {
    opacity: 0;
}

.hidden-1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    white-space: normal;
    word-break: break-all;
}

.no-border {
    border-bottom: none;
}

.required {
    color: var(--bs-danger);
    padding-right: 0.25rem;
}

/* login */
.login-body {
    background: var(--i-blue);
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-sign-in {
    max-width: 430px;
    margin: 0 auto;
    background: var(--bs-white);
    border-radius: var(--bs-border-radius);
    padding: 20px;
}

.sign-title {
    font-size: 1.7rem;
    text-align: center;
    width: 100%;
    font-weight: bold;
    margin-bottom: 2rem;
}

.form-sign-in .captcha-box {
    display: flex;
    position: relative;
}

.form-sign-in .captcha-box img {
    width: 120px;
    height: 33px;
    cursor: pointer;
    position: absolute;
    left: 2px;
    top: 4px;
}

.form-sign-in .captcha-box input {
    padding-left: 130px;
}

.form-sign-in .btn-login {
    background: var(--i-blue);
    color: var(--bs-white);
}

.form-sign-in .btn-login:hover {
    background: var(--i-blue);
}

/* left side */
.left-side {
    width: 255px;
    position: absolute;
    top: 0;
    left: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-x: hidden;
    overflow-y: auto;
}

.left-side a {
    text-decoration: none;
}

.left-side::-webkit-scrollbar {
    display: none;
}

.sticky-left-side {
    position: fixed;
    height: 100%;
    overflow-y: auto;
    z-index: 1010;
    background: var(--i-gray);
}

.left-side-collapsed .sticky-left-side {
    overflow-y: visible;
}

.logo {
    height: 52px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 255px;
    z-index: 1010;
    background: var(--i-gray);
}

.logo a {
    margin-top: 11px;
    font-size: 1.3rem;
    color: var(--bs-white);
    display: inline-block;
}

.logo-icon {
    display: none;
}

.logo-icon > a > img {
    width: 48px;
    height: 35px;
    margin-left: 2px;
}

.left-side-collapsed .logo-icon {
    height: 52px;
    margin-top: -54px;
    padding-top: 9px;
    display: block !important;
}

.left-side-inner {
    padding: 0;
    margin-bottom: 50px;
}

.left-side-inner > .nav {
    display: block;
    margin-top: 50px;
    margin-bottom: 10px;
}

.custom-nav > li > a {
    color: var(--bs-white);
    padding: 12px 20px;
    border-radius: 0;
    display: flex;
    align-items: center;
}

.custom-nav > li > a:hover,
.custom-nav > li > a:active {
    background-color: var(--i-gray-100);
    color: var(--i-teal);
    border-radius: 0;
}

.custom-nav > li.nav-hover {
    position: relative;
}

.custom-nav > li.menu-list > a {
    background: transparent url(../images/plus-white.png) no-repeat 93% center;
}

.custom-nav > li.menu-list > a:hover {
    background-color: var(--i-gray-100);
    background-image: url(../images/plus.png);
}

.custom-nav > li.nav-active > a {
    background-color: var(--i-gray-100);
    background-image: url(../images/minus.png);
    color: var(--i-teal);
}

.custom-nav > li.nav-active > a:hover {
    background-image: url(../images/minus.png);
}

.custom-nav > li.nav-active > ul {
    display: block;
}

.custom-nav li .fa {
    vertical-align: middle;
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.custom-nav .sub-menu-list {
    list-style: none;
    display: none;
    margin: 0;
    padding: 0;
    background: var(--i-gray-100);
}

.custom-nav .sub-menu-list > li > a {
    color: var(--bs-white);
    display: block;
    padding: 10px 5px 10px 50px;
}

.custom-nav .sub-menu-list > li > a:hover,
.custom-nav .sub-menu-list > li > a:active,
.custom-nav .sub-menu-list > li > a:focus {
    color: var(--i-teal);
    background: var(--i-gray-200);
}

.custom-nav .sub-menu-list > li.active > a {
    color: var(--i-teal);
    background-color: var(--i-gray-200);
}

/* left side collapsed */
.left-side-collapsed .logo {
    display: none;
}

.left-side-collapsed .header-section {
    margin-left: 0;
}

.left-side-collapsed .left-side {
    width: 52px;
    top: 52px;
}

.left-side-collapsed .left-side-inner {
    padding: 0;
}

.left-side-collapsed .custom-nav {
    margin: 2px 0 20px 0;
}

.left-side-collapsed .custom-nav li a {
    text-align: center;
    padding: 16px;
    position: relative;
    background-image: none;
}

.left-side-collapsed .custom-nav li a span {
    position: absolute;
    background: var(--i-blue);
    padding: 12px;
    left: 52px;
    top: 0;
    min-width: 173px;
    text-align: left;
    z-index: 1010;
    display: none;
}

.left-side-collapsed .custom-nav li a span:after {
    right: 100%;
    top: 50%;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(0, 0, 0, 0);
    border-right-color: var(--i-teal);
    border-width: 6px;
    margin-top: -6px;
}

.left-side-collapsed .custom-nav ul,
.left-side-collapsed .custom-nav .menu-list.nav-active ul {
    display: none;
}

.left-side-collapsed .custom-nav .menu-list.nav-hover ul {
    display: block !important;
}

.left-side-collapsed .custom-nav > li.nav-hover > a,
.left-side-collapsed .custom-nav > li.nav-hover.active > a {
    background: var(--bs-white);
    color: var(--i-gray);
}

.left-side-collapsed .custom-nav li.nav-hover a span {
    display: block;
    color: var(--bs-white);
}

.left-side-collapsed .custom-nav li.nav-hover.active a span {
    background: var(--i-teal);
    color: var(--bs-white);
}

.left-side-collapsed .custom-nav li.nav-hover ul {
    display: block;
    position: absolute;
    top: 48px;
    left: 53px;
    margin: 0;
    min-width: 172px;
    background: var(--i-gray-100);
    z-index: 1010;
    border-radius: 0 0 2px 0;
}

.left-side-collapsed .custom-nav ul a {
    text-align: left;
    padding: 10px;
}

.left-side-collapsed .custom-nav ul a:hover {
    background: var(--i-gray-200);
}

.left-side-collapsed .custom-nav li a i {
    margin-right: 0;
    width: 100%;
}

.left-side-collapsed .main-content {
    margin-left: 52px;
}

.left-side-collapsed .left-side {
    overflow: visible !important;
}

/* header section */
.sticky-header .header-section {
    position: fixed;
    top: 0;
    left: 255px;
    width: 100%;
    z-index: 1010;
    background: var(--bs-white);
    display: flex;
    justify-content: space-between;
}

.sticky-header .main-content {
    padding-top: 50px;
}

.sticky-header .right-menu {
    margin-right: 270px;
}

.sticky-header.left-side-collapsed .header-section {
    left: 52px;
}

.sticky-header.left-side-collapsed .right-menu {
    margin-right: 67px;
}

.toggle-btn {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--bs-body-color);
}

.toggle-btn:hover {
    background: var(--i-blue);
    color: var(--bs-white);
    text-decoration: none;
}

.right-menu-ul {
    list-style: none;
    height: 52px;
    margin-bottom: 0;
    background: var(--bs-white);
}

.right-menu-ul > li {
    height: 52px;
    display: inline-block;
    position: relative;
    float: left;
}

.right-menu-ul a {
    text-decoration: none;
}

.right-menu-ul > li > a > i {
    margin-top: 6px;
}

.right-menu-ul .dropdown-toggle {
    padding: 12px 10px;
    background: var(--bs-white);
    border-radius: 0;
    border: none;
}

.right-menu-ul .dropdown-toggle:hover,
.right-menu-ul .dropdown-toggle:focus,
.right-menu-ul .dropdown-toggle:active,
.right-menu-ul .dropdown-toggle.active,
.right-menu-ul .open .dropdown-toggle.dropdown-toggle {
    background: var(--i-gray);
    color: var(--i-teal);
}

.right-menu-ul > li:nth-of-type(-n+4) .dropdown-toggle::after {
    content: none;
}

.right-menu-ul .info-number {
    padding: 12px 15px;
    height: 52px;
}

.right-menu-ul .info-number .badge {
    background: var(--bs-danger);
    border-radius: 2px;
    font-size: 0.65rem;
    font-weight: normal;
    line-height: 13px;
    padding: 2px 5px;
    position: absolute;
    right: 4px;
    top: 10px;
}

.right-menu-ul .dropdown-toggle img {
    margin-right: 5px;
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 2px;
}

.right-menu-ul .username-box {
    display: flex;
    align-items: center;
}

.right-menu-ul .avatar-box {
    position: relative;
}

.right-menu-ul .online-status {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 8px;
    top: -2px;
    right: 2px;
}

.right-menu-ul .online-status-0 {
    background-color: var(--bs-danger);
}

.right-menu-ul .online-status-1 {
    background-color: var(--bs-success);
}

.right-menu-ul .dropdown-menu {
    border: 0;
    border-radius: 2px 0 2px 2px;
    box-shadow: none;
    padding: 0;
    min-width: 300px;
    transform: translate3d(0px, 50px, 0px) !important;
}

.right-menu-ul .dropdown-menu:after {
    border-bottom: 6px solid var(--i-blue);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    content: "";
    display: inline-block;
    right: 10px;
    position: absolute;
    top: -6px;
}

.right-menu-ul .dropdown-menu .title {
    background: var(--i-blue);
    color: var(--bs-white);
    padding: 15px;
    font-size: 0.8rem;
    margin: 0;
}

.right-menu-ul .dropdown-list {
    border: 1px solid var(--bs-gray-300);
    border-top: 0;
    padding: 0;
}

.right-menu-ul .dropdown-list li {
    display: flex;
    padding: 15px;
    overflow: hidden;
    border-bottom: 1px solid var(--bs-gray-400);
}

.right-menu-ul .dropdown-list li:last-child {
    border-bottom: 0;
    padding: 10px 15px;
}

.right-menu-ul .dropdown-list li a {
    font-size: 0.8rem;
    color: var(--bs-body-color);
    display: flex;
    align-items: center;
}

.right-menu-ul .dropdown-list li a:hover {
    background: none;
    color: var(--i-teal);
}

.right-menu-ul .dropdown-list li i {
    font-size: 0.7rem;
}

.right-menu-ul .dropdown-list li a span.badge {
    margin-right: 10px;
    padding: 5px;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
}

.right-menu-ul .dropdown-user-menu {
    background: var(--i-blue);
    min-width: 200px;
    padding: 5px;
}

.right-menu-ul .dropdown-user-menu a {
    color: var(--bs-white);
    display: block;
    padding: 6px 10px;
    font-size: 0.8rem;
}

.right-menu-ul .dropdown-user-menu a:hover {
    border-radius: 4px;
    background: var(--i-gray-100);
}

.right-menu-ul .dropdown-user-menu i {
    margin-right: 5px;
}

/* main content */
.main-content {
    margin-left: 255px;
    background: var(--bs-gray-200);
    min-height: 100vh;
    border: 1px solid transparent;
}

.page-heading {
    padding: 1rem;
}

.page-heading .breadcrumb {
    margin: 0;
}

.page-heading .breadcrumb a {
    color: var(--bs-gray);
}

.page-heading .breadcrumb li.active {
    color: var(--i-teal);
}

.wrapper {
    padding: 0 1rem;
}

/* tabs */
.custom-tab {
    background: var(--bs-gray-300);
    border-radius: var(--bs-border-radius) var(--bs-border-radius) 0 0;
    border-bottom: none;
}

.custom-tab li a:hover {
    background: var(--bs-white);
    color: var(--i-teal) !important;
}

.custom-tab .nav-tabs .nav-link.active {
    color: var(--i-teal);
}

.custom-tab .nav > li > a {
    border-width: 0;
    border-radius: 0;
    text-decoration: none;
    cursor: pointer;
    color: var(--bs-gray);
    padding: 13px 13px 10px 13px;
}

.custom-tab .nav > li:first-child > a,
.custom-tab .nav > li:first-child.active > a,
.custom-tab .nav > li:first-child > a:hover {
    border-radius: var(--bs-border-radius) 0 0 0 !important;
}

/* form */
.admin-form .form-group {
    border-bottom: 1px solid var(--bs-gray-200);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.admin-form .form-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.admin-form .form-group .help-block {
    margin-bottom: 0;
}

/* checkbox & radio button*/
.admin-form .form-group .icheck {
    display: flex;
}

.icheck div, .icheck .disabled {
    display: flex;
    align-items: center;
}

.flat-green input {
    display: none;
}

/* scroll to top */
.scroll-to-top {
    cursor: pointer;
    display: none;
    position: fixed;
    z-index: 1000;
    right: 25px;
    bottom: 80px;
    width: 26px;
    height: 62px;
    background: url(../images/rocket.png) no-repeat 0 0;
}

.scroll-to-top:hover {
    background: url(../images/rocket.png) no-repeat 0 -62px;
}

/* loader animation */
.loader-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999999999;
    background-color: var(--bs-gray-200);
    overflow: hidden;
}

.loader-container div {
    background: var(--i-blue);
}

.section-container {
    visibility: hidden;
}

/* login modal */
#_loginModal .captcha-box {
    display: flex;
    position: relative;
}

#_loginModal .captcha-box img {
    width: 120px;
    height: 32px;
    cursor: pointer;
    position: absolute;
    left: 2px;
    top: 4px;
}

#_loginModal .captcha-box input {
    padding-left: 128px;
}

/* coordinate modal */
#_coordinateModal #_coordinateModalMapBox {
    border-radius: var(--bs-border-radius);
    border: 1px solid var(--bs-gray-300);
    height: 35rem;
}
