/* General */
body {
    background: #EDEDED !important;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
a,
p,
li,
td,
th,
label {
    font-family: 'Poppins', sans-serif;
    color: #454545;
}

table th, table td {
    vertical-align: top;
}

.table-xl {
    width: 150%;
}

label {
    font-size: 14px !important;
}

.badge-online {
    background-color: #45C277 !important;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    bottom: 5px;
    right: 15px;
}

/* Grid */
.row {
    --bs-gutter-x: 1rem !important;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}

.row {
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}

/* .row>* {
    padding-right: 0.2rem !important;
    padding-left: 0.2rem !important;
} */

/* Primary */
.bg-primary, .btn-primary {
    background-color: #3E59F1 !important;
}

.bg-primary-50, .btn-primary-50 {
    background-color: #6F82ED !important;
}

.bg-primary-25, .btn-primary-25 {
    background-color: #C6CDF4 !important;
}

/* Bg Secondary */
.bg-secondary, .btn-secondary {
    background-color: #66D5DF !important;
}

.bg-secondary-50, .btn-secondary-50 {
    background-color: #97DCE2 !important;
}

.bg-secondary-25, .btn-secondary-25 {
    background-color: #C4EBEF !important;
}

/* Bg Alternative */
.bg-purple, .btn-purple {
    background-color: #964FFF !important;
}

.bg-info, .btn-info {
    background-color: #47BFFF !important;
}

.bg-success, .btn-success {
    background-color: #45C277 !important;
}

.bg-warning, .btn-warning {
    background-color: #FFC102 !important;
}

.bg-yellow, .btn-yellow {
    background-color: #FFC102 !important;
}

.bg-danger, .btn-danger {
    background-color: #FA394C !important;
}

.bg-white-50, .btn-white-50 {
    background-color: #F7F9FB !important;
}

/* Bg Typography */

.bg-dark-50, .btn-dark-50 {
    background-color: #454545 !important;
}

.bg-grey, .btn-grey {
    background-color: #ADADAD !important;
}

.bg-grey-50, .btn-grey-50 {
    background-color: #DEDEDE !important;
}

/* Bg Table */
.bg-table, .btn-table {
    background-color: #F7F9FB !important;
}

/* Typography */

@media (min-width: 1200px) {
    .h1, h1 {
        font-size: 1.75rem;
    }
    .h2, h2 {
        font-size: 1.4rem;
    }
    .h3, h3 {
        font-size: 1.2rem;
    }
    .h4, h4 {
        font-size: 1rem;
    }
    .h5, h5 {
        font-size: 0.8rem;
    }
    .h6, h6 {
        font-size: 0.7rem;
    }
    p, td, th, a, label {
        font-size: 0.7rem;
    }

    .w-md-35 {
        width: 34% !important;
        margin-right: 1%;
    }

    .w-md-65 {
        width: 65% !important;
    }
}

.text-small {
    font-size: 0.7rem;
}

.text-md {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.2rem !important;
}

.text-light {
    font-weight: 400 !important;
}

.text-bold {
    font-weight: 700;
}

.text-extra-bold {
    font-weight: 800;
}

.text-gray {
    color: #8F8F8F !important;
}

.text-dark {
    color: #454545 !important;
}

.text-white {
    color: #fff !important;
}

.text-primary {
    color: #3E59F1 !important;
}

.text-secondary {
    color: #66D5DF !important;
}

.text-purple {
    color: #964FFF !important;
}

.text-info {
    color: #47BFFF !important;
}

.text-success {
    color: #45C277 !important;
}

.text-warning {
    color: #FFC102 !important;
}

.text-yellow {
    color: #FFC102 !important;
}

.text-danger {
    color: #FA394C !important;
}

.text-white-50 {
    color: #F7F9FB !important;
}

.text-dark-50 {
    color: #454545 !important;
}

/* Button */

.btn {
    min-width: 100px;
    font-weight: 600;
    padding: 0.5rem 0;
    box-shadow: 0px 3px 6px #00000029;
    margin: 4px;
    display: flex;
    font-size: 0.7rem;
    justify-content: space-around;
    align-items: center;
    font-family: 'Poppins', sans-serif;
}

.btn.btn-icon {
    min-width: 30px !important;
    height: 30px !important;
}

.btn-transparent {
    background-color: transparent !important;
    border: unset !important;
    box-shadow: unset !important;
}

.btn-circle.btn-lg {
    min-width: 60px;
    height: 60px;
    border-radius: 100%;
    padding: 0 !important;
}

.btn-lg {
    font-size: 1.2rem !important;
}

.floating-button {
    display: flex;
    position: fixed;
    z-index: 999;
    bottom: 20px;
    right: 20px;
}

.btn-success, .btn-success:hover, .btn-success:focus, .btn-success:active {
    color: #fff;
    border-color: #45C277;
}

.btn-secondary, .btn-secondary:hover, .btn-secondary:focus, .btn-warning:active {
    color: #fff;
    border-color: #66D5DF;
}

.btn-warning, .btn-warning:hover, .btn-warning:focus, .btn-warning:active {
    color: #000;
    border-color: #FFC102;
}

.btn-danger, .btn-danger:hover, .btn-danger:focus, .btn-danger:active {
    color: #fff;
    border-color: #FA394C;
}

.btn-info, .btn-info:hover, .btn-info:focus, .btn-primary:active {
    color: #fff;
    border-color: #47BFFF;
}

.btn-primary, .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    color: #fff;
    border-color: #3E59F1;
}

.btn-white-50, .btn-white-50:hover, .btn-white-50:focus, .btn-primary:active {
    color: #454545;
    border-color: #F7F9FB;
}

/* Custom */

.row>* {
    padding-right: calc(1rem * .5);
    padding-left: calc(1rem * .5);
}

#header {
    background-color: #3E59F1;
    z-index: 10;
    /* border-bottom-left-radius: 50px; */
    /* padding-left: 50px !important; */
}

#header .logo span {
    color: #fff !important;
}

#header .logo img {
    width: 120px;
    /* height: 40px; */
    max-height: unset;
}

#header .logo span {
    font-size: 18px;
}

#header .logo {
    min-width: auto;
}

.header-nav .nav-icon {
    font-size: 12px;
}

/* .header .toggle-sidebar-btn {
    padding-left: 40px;
} */

.header-nav .notifications .notification-item h4 {
    font-size: 0.8rem;
}

.dropdown-menu .dropdown-header, .dropdown-menu .dropdown-footer {
    font-size: 0.8rem;
}

.header-nav .notifications .notification-item p {
    font-size: 0.7rem;
}

#main {
    background: #EDEDED;
}

#main {
    margin-top: 0px;
    padding-top: 80px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
}

@media (min-width: 1200px) {
    #main, #footer {
        margin-left: 200px;
    }
}

.sidebar {
    width: 200px;
    z-index: 9999;
}

.sidebar .bottom-navbar {
    position: absolute;
    bottom: 30px;
}

.sidebar-nav .nav-link {
    color: #000000 !important;
    font-size: 0.7rem !important;
    background: #fff !important;
    font-weight: 400;
}

.sidebar-nav .nav-link.active span, .sidebar-nav .nav-link.active i {
    font-weight: 600 !important;
    color: #3E59F1 !important;
}

.sidebar-nav .nav-link.active:hover span, .sidebar-nav:hover .nav-link.active i {
    font-weight: 600 !important;
    color: #3E59F1 !important;
}

.sidebar-nav .nav-content a {
    padding: 10px 0 10px 25px;
    font-weight: 400;
}

@media (min-width: 1200px) {
    .logo {
        width: auto;
    }
}

.sidebar-nav .nav-link i {
    color: #ADADAD !important;
    font-size: 14px !important;
}

.nav-heading {
    font-weight: 400;
    font-size: 0.8rem !important;
}

.border-radius-sm {
    border-radius: 4px;
}

.border-radius-lg {
    border-radius: 25px;
}

.box-custom {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0px 3px 6px #00000029;
}

.box-custom p {
    font-size: 12px !important;
    font-weight: 400;
}

.card .card-header-floating {
    position: absolute;
    display: flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    color: #707070;
    top: -1.25rem;
    background-color: #E9E9E9;
    font-weight: 700;
    min-width: 200px;
    left: 3rem;
}

.card {
    border-radius: 10px;
    box-shadow: 0px 0px 15px #00000012;
    margin-bottom: 10px;
}

.card-title {
    font-size: 16px !important;
    font-weight: 700;
}

.custom-tooltip-dashboard {
    --bs-tooltip-bg: #FFF;
    --bs-tooltip-color: #000;
}

.card-title svg path {
    fill: #000;
    stroke: #000;
}

.search-bar {
    /* min-width: 300px; */
    padding: 0px 0 0 0;
    margin: 0 0;
    border-radius: 8px;
    box-shadow: 0px 3px 6px #00000029;
}

.search-bar .search-form {
    width: 100%;
}

.search-form input {
    border: 0;
    font-size: 14px;
    color: #012970;
    padding: 7px 20px 7px 8px;
    border-radius: 8px;
    transition: 0.3s;
    width: 100%;
}

.search-form input:focus {
    border: none;
    outline: none;
}

.search-form button {
    border: 0;
    padding: 0;
    margin-left: -30px;
    background: none;
}

/* General */
.rounded-lg {
    border-radius: 1rem !important;
}

input.form-control, textarea.form-control {
    font-family: "Poppins", sans-serif;
    font-size: 0.7rem;
    box-shadow: 0px 3px 6px #00000029;
    border: 1px solid #BFBFBF;
}

input[type="file"].form-control-file {
    font-family: "Poppins", sans-serif;
    font-size: 0.8rem;
}

input[type="file"].form-control-file::-webkit-file-upload-button {
    display: none;
}

input[type="file"].form-control-file::before {
    content: "Choose file";
    color: #454545;
    display: inline-block;
    background: #fff;
    border: 1px solid #BFBFBF;
    border-radius: 4px;
    padding: 3px 6px;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor: pointer;
    text-shadow: 1px 1px #fff;
    font-size: .8rem;
    margin-right: 10px;
}

.input-group-text {
    font-size: .7rem;
    border: none;
}

input[type="text"]::placeholder, input[type="email"]::placeholder, input[type="password"]::placeholder, input[type="number"]::placeholder, input[type="tel"]::placeholder, input[type="url"]::placeholder, input[type="search"]::placeholder, input[type="date"]::placeholder, input[type="time"]::placeholder, input[type="datetime"]::placeholder, input[type="datetime-local"]::placeholder, input[type="month"]::placeholder, input[type="week"]::placeholder, textarea::placeholder {
    color: #ADADAD !important;
    border-radius: 8px;
    font-size: 0.7rem;
    font-family: "Poppins", sans-serif;
}

select.form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: 5px;
    border: 1px solid #dfdfdf;
    border-radius: 8px;
    font-family: "Poppins", sans-serif;
    color: #ADADAD;
    font-size: 0.7rem;
    background-color: #fff;
}

input.form-control-grey, textarea.form-control-grey {
    box-shadow: unset;
    border: 1px solid #BBBBBB;
    background-color: #EEEEEE;
}

.input-group {
    border: 1px solid #BFBFBF;
    border-radius: 8px;
    overflow: hidden;
}

.input-group input.form-control {
    border: none;
}

input.form-check.form-lg {
    width: 18px;
    height: 18px;
}

input.form-control:read-only {
    border: none;
    cursor: not-allowed;
}

img.object-cover {
    object-fit: cover;
}

/* Table */

#tableUTResult {
    width: 120%;
}

.table-120 {
    width: 120%;
}

#tableUTResult th {
    background-color: #E7F3FF;
}

#tableUTResult.table-striped > tbody > tr:nth-child(2n+1) > td, .table-striped > tbody > tr:nth-child(2n+1) > th {
    background-color: #F7F9FB !important;
    border: unset;
}

#tableUTResult.table-striped > tbody > tr:nth-child(2n) > td, .table-striped > tbody > tr:nth-child(2n) > th {
    background-color: #fff !important;
    border: unset;
}

#tableUTResult input {
    width: 60px;
}

.table-border-white td, .table-border-white th {
    border-bottom: 3px solid #fff !important;
}

.table {
    font-size: 0.7rem;
}

.table td, .table th {
    border: unset;
}

.table thead.bg-primary th {
    color: #fff;
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
    --bs-table-accent-bg: #F7F9FB;
}

.table-striped > tbody > tr:nth-child(2n) > td, .table-striped > tbody > tr:nth-child(2n) > th {
    background-color: #fff !important;
    border: unset;
}

/* Chart */
.customChartPie {
    margin-top: -50px;
}

.chart-vertical-label {
    font-weight: 700;
    color: #000;
    font-size: 0.7rem;
    position: absolute;
    left: 10px;
    top: 60%;
    transform: rotate(270deg);
    transform-origin: 0 0;
}

/* tabs */
.nav-tabs .nav-item {
    font-size: 0.7rem;
}

.nav-tabs-bordered .nav-link.active {
    color: #000000;
    border-bottom: 3px solid #4154f1;
}

.banner-dashboard {
    background: transparent linear-gradient(191deg, var(--unnamed-color-6f82ed) 0%, #34B5A9 100%) 0% 0% no-repeat padding-box;
    background: transparent linear-gradient(191deg, #6F82ED 0%, #34B5A9 100%) 0% 0% no-repeat padding-box;
    height: 150px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.back-button {
    font-size: 18px;
    font-weight: 700;
}

.margin-top-minus {
    margin-top: -70px;
}

/* custom timeline */
.ul-widget__body {
    margin-top: 10px;
}

.ul-widget-s7__items {
    display: flex; }

  .ul-widget-s7__item-circle {
    margin: 0 1rem; }

  .ul-widget-s7__item-circle i {
    font-size: 16px;
    font-weight: 900; }

  .ul-widget-s7 {
    position: relative;
    padding: 15px 0; }

  .ul-widget-s7:before {
    content: "";
    position: absolute;
    width: 1;
    height: 100%;
    background-color: #ced4da;
    width: 0.241rem;
    /* top: 0; */
    left: 23px;
    top: 22px; }

  p.ul-widget7__big-dot {
    height: 8px;
    width: 8px;
    margin: 0;
    position: relative;
    z-index: 1; }

  .ul-widget-s7__item-time {
    font-size: 1.2rem;
    font-weight: 500;
    color: #70657b; }
    .ul-widget-s7__item-time.ul-middle {
      display: flex;
      align-items: center; }

  .ul-widget-s7__item-text {
    font-size: 1rem;
    color: #70657b; }

  .ul-widget-s7:last-child:before {
background-color: transparent; }

.ul-widget-s7__item-text a {
    font-size: 0.7rem;
    color: #606060;
}
.ul-widget-s7__item-text.active a {
    font-weight: 800;
}

p.ul-widget7__big-dot {
    height: 8px;
    width: 8px;
    margin: 0;
    position: relative;
    z-index: 1;
}

p.ul-widget7__big-dot {
    height: 18px !important;
    width: 18px !important;
}

.badge-dot-success-custom {
    height: 8px;
    width: 8px;
    background-color: #606060;
    border: 3px solid #DDDDDD;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
}

.badge-dot-success-custom.active {
    border: 3px solid #18B985 !important;
}

.badge-lg {
    font-size: 0.7rem;
}

.overflow-y-scroll {
    overflow-y: scroll;
}

.overflow-hidden {
    overflow: hidden;
}
.sidebar-map {
    height: 100vh;
    width: 250px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 999;
    background-color: #28304591;
    padding: 20px;
    border-radius: 12px;
}

.sidebar-map .icon-container {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sidebar-map .icon-container.bg-primary {
    background-color: #00505140 !important;
}

.sidebar-map .icon-container.bg-warning {
    background-color: #916E0C40 !important;
}

.sidebar-map .icon-container.bg-purple {
    background-color: #9E3CD640 !important;
    color: #CEA7FB !important;
}

.sidebar-map .icon-container.bg-indigo {
    background-color: #3C6DB240 !important;
    color: #97B6E8 !important;
}

.leaflet-popup-content-wrapper {
    background-color: #FFFFFF57 !important;
    border-radius: 12px !important;
}

.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    background-color: #05364999 !important;
    /* set blur */
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.popup-marker i, .popup-marker h6, .popup-marker p, .popup-marker small {
    font-size: 12px;
    color: #FFF !important;
}

.popup-marker p.text-yellow, .popup-marker small.text-yellow {
    color: #FFE5BE !important;
}

.popup-marker p {
    font-size: 10px;
}

.avaibility-icon-success {
    background-color: #1DFF1D;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    display: inline-block;
}

/* Breadcump */
.breadcump ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 10px;
}

.breadcump ul li a {
    font-size: 0.8rem;
}

.breadcump ul li a.active {
    font-weight: 700;
}

/* add content after .breadcump not in last child */
.breadcump ul li::after {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 0.8rem;
    margin-left: 5px;
}

.breadcump ul li:last-child:after {
    content: "";
}

/* Border */
.border-right {
    border-right: 1px solid #DDDDDD;
}

.border-left {
    border-left: 1px solid #DDDDDD;
}

.border-top {
    border-top: 1px solid #DDDDDD;
}

.border-bottom {
    border-bottom: 1px solid #DDDDDD;
}

/* Select2 */
.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #dfdfdf;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #ADADAD;
    line-height: 28px;
    font-size: 12px;
}

.select2-results__option {
    padding: 3px 6px;
    font-size: 12px;
}

.select2-search--dropdown .select2-search__field {
    padding: 4px 4px;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    font-size: 12px;
    outline: none;
}

.select2-search--dropdown .select2-search__field:focus {
    border: 1px solid #dfdfdf;
}

/* Modal */
.modal-xl {
    max-width: 80% !important;
}

/* Scroll */
.overflow-y-scroll::-webkit-scrollbar {
    width: 8px;
    cursor: pointer;
}

.overflow-y-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.overflow-y-scroll::-webkit-scrollbar-thumb {
    background: #007580;
}

.overflow-y-scroll::-webkit-scrollbar-thumb:hover {
    background: #FFF;
}

.main-dashboard {
    background-image: url(../img/bg-dashboard.png) !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 100vh;
}

.no-border {
    border: none !important;
}

.card-glasses {
    background: rgba(0, 0, 0, 0.54);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(13.9px);
    -webkit-backdrop-filter: blur(13.9px);
}

.tt_name_sm{
    color: #FFF !important;
}

.card-glasses .card-title {
    color: #fff !important;
}

.border-dash-end-white {
    border-right: 1px dashed #fff;
}

.border-dash-end-dark {
    border-right: 1px dashed #000;
}

.border-dash-bottom-white {
    border-bottom: 1px dashed #fff;
}

.sidebar-banner {
    background: #65656580 0% 0% no-repeat padding-box;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 9;
    top: 0;
    left: 100%;
}

.sidebar-banner .content {
    padding-top: 60px;
    background: #fff;
    min-height: 100vh;
}

.sidebar-banner .content .header {
    background: #6374CA;
    padding: 30px;
    height: auto !important;
}

.sidebar-banner .content .body {
    padding: 10px 30px;
    height: calc(80vh);
    overflow-y: scroll;
}

.sidebar-banner.active {
    left: 0;
}

/* add animation when .sidebar-banner's position is move */
.sidebar-banner {
    transition: left 0.5s;
}

.minimize-sidebar-banner {
    height: 100vh;
    background-color: transparent;
    cursor: pointer;
}

.nav-tabs {
    border-bottom: 1px solid #CACACA;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link {
    color: #000;
    padding: 8px 24px;
    font-size: 14px;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-color: transparent;
    color: #4357BD;
    font-weight: 700;
    border-color: transparent;
    border-bottom: 2px solid #4357BD !important;
}

.sidebar-summary {
    width: 41.32%;
    height: calc(100vh - 330px);
    position: absolute;
    right: 0;
    top: 0;
    z-index: 999;
}

.summary-top-ten {
    height: calc(100vh - 330px);
    width: 100%;
    background-color: #FFFFFF90;
}

.summary-throughput {
    height: calc(100vh - 330px);
    width: 100%;
    background: transparent linear-gradient(22deg, #B1FFD080 0%, #0006B980 100%) 0% 0% no-repeat padding-box;
}

.bottom-bar-summary {
    height: 180px;
    width: 100%;
    background-color: #1A1A1A80;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 999;
}
