body {
    --var-color-primary: white;
    --var-color-secondary-dark: white;
    --var-color-border: #E0E0E0;
    --var-color-grey: #757C8B;
    --var-color-active: #00A0DF;
    --var-color-text-light: black;
    --var-filter-active: invert(57%) sepia(51%) saturate(6694%) hue-rotate(169deg) brightness(99%) contrast(101%);
}

body.bg-dark-body {
    --var-color-primary: #111827;
    --var-color-secondary-dark: #1F2937;
    --var-color-border: #4E5460;
    --var-color-grey: #757C8B;
    --var-color-active: #00A0DF;
    --var-color-text-light: #FFFFFF;
    --var-filter-active: invert(57%) sepia(51%) saturate(6694%) hue-rotate(169deg) brightness(99%) contrast(101%);
}
body.bg-light .menu-left ,.bg-light .info-project,.bg-light .info-map{
    background: #E0E0E0;
}
body.bg-light .menu-left{
    border-color:#4E5460 ;
}
body.bg-light .menu-left img,body.bg-light .icon,.bg-light .title-page img{
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(324deg) brightness(96%) contrast(104%);
}
.courier-prime-regular {
    font-family: "Courier Prime", monospace;
    font-weight: 400;
    font-style: normal;
  }
/* width */
::-webkit-scrollbar {
    width: 4px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: unset; 
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #414652;

  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #414652;

  }
  input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
body {
    font-size: 15px;
    background: var(--var-color-primary);
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: stretch;
    /* font-family: "Inter", sans-serif; */
    font-family: "Poppins", sans-serif;
    line-height: 18px;
    color: var(--var-color-text-light);
    padding-top: 70px;
}
header {
    box-shadow: 0px 4px 10px 0px #00000066;
    background: var(--var-color-secondary-dark);
    padding: 17px 35px;
    width: 100%;
    z-index: 1;
    position: absolute;
    top: 0;
}
.logo{
    width: 100px;
    height: 50px;
    object-fit: fill;
}
.bg-light header{
    background: linear-gradient(90deg, #F5F4FD 0%, #F3FCFC 63.09%, #F6F5FD 100%);
}
.btn {
    color: var(--var-color-text-light);
}

header ul {
    margin-left: 30px;
}

header ul .nav-link {
    color: var(--var-color-text-light);
    padding: 11px;
    border-radius: 5px;
    cursor: pointer;
}
header ul .nav-link:hover{
    color: var(--var-color-active);
}
header ul .nav-link.active {
    background-color: var(--var-color-primary);
    font-weight: 700;
}
.bg-light header ul .nav-link.active{
    border:1px solid var(--var-color-active);
}
header .nav {
    gap: 30px;
    align-items: center;
}

.menu-left {
    width: 92px;
    gap: 50px;
    display: none;
    flex-direction: column;
    align-items: center;
    min-height: 100%;
    border-right: 1px solid var(--var-color-border);
    position: relative;
}

.arrow-menu {
    position: absolute;
    top: 50%;
    left: 45px;
    cursor: pointer;
}

.content-right {
    display: flex;
    width: calc(100%);
    justify-content: space-between;
}

.p-35 {
    padding: 35px;
}
.font-30{
    font-size: 30px;
}
.btn-secondary,.btn.show {
    background: unset;
    color: var(--var-color-text-light);
}

header .btn-secondary {
    border: 0;
    font-size: 20px;
    font-weight: 700;
}

header .btn-secondary:hover {
    background: none;
    color: var(--var-color-active);
}

span {
    font-size: 15px;
    color: var(--var-color-grey);
}

.bg-secondary-dark {
    background: var(--var-color-secondary-dark);
}

.info-project {
    max-width: 320px;
    width: 100%;
    /* height: 100%; */
}

.info-project img {
    height: 168px;
    width: 100%;
    background: white;
    object-fit: contain;
    margin: 15px 0;
}

.menu-project {
    list-style: none;
    padding-left: 0;
    gap: 30px;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.menu-project li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
}

.menu-project li p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.menu-project .float-right{
    float: inline-end;
    background: var(--var-color-primary);
    padding: 5px 15px;
    border-radius: 100px;
}
.icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-overview {
    background-image: url("../images/Group\ 8.svg");
}

.icon-upload {
    background-image: url("../images/Group\ 9.svg");
}

.icon-image {
    background-image: url("../images/Group\ 10.svg");
}

.icon-result {
    background-image: url("../images/Group\ 11\ \(2\).svg");
}

.icon-archive {
    background-image: url("../images/Group\ 12.svg");
}

.menu-project a.active {
    background: #111827;
    border: 1px solid var(--var-color-active);
    box-shadow: 0px 0px 10px 0px var(--var-color-active);
    border-radius: 5px;
    color: #00A0DF;
    font-weight: 700;
}

.menu-project a.active .icon {
    filter: var(--var-filter-active);
}
.menu-project a.active .float-right{
    color: var(--var-color-text-light);
    background: #00A0DF;
}
.bg-light .menu-project a.active{
    background: #00A0DF;
    color: white;
}
.bg-light .menu-project a.active .icon {
    filter: invert(0%) sepia(6%) saturate(1%) hue-rotate(28deg) brightness(106%) contrast(100%);
}
.bg-light .menu-project .float-right,.bg-light .menu-project a.active .float-right{
    background: #ECECEC;
}

h2 {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
}

a {
    color: unset;
    text-decoration: none;
}

.info-map {
    min-width: 330px;
}

h4 {
    color: var(--var-color-active);
    font-size: 15px;
    font-weight: 700;
}

.list-group ,.list-diameter{
    list-style: none;
    margin-top: 20px;
    padding-left: 0;
}

.list-group li,.list-diameter li {
    margin-bottom: 15px;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
}
.list-group li.active{
    background: var(--var-color-grey);
}
.list-group .dot {
    width: 20px;
    height: 20px;
    background-color:black;
    border: solid 2px var(--var-color-active);
    border-radius: 50%;
    display: inline-block;
    margin-right: 15px;
    position: relative;
    top: 5px;
}
.list-diameter .dot{
    width: 20px;
    height: 20px;
    background-color:var(--var-color-grey);
    border-radius: 50%;
    display: inline-block;
    margin-right: 15px;
    position: relative;
    top: 5px;
}
.list-group .dot.rect{
    border-radius: 0;
}
.badge {
    float: right;
    color: black;
    background-color: #9CA3AF;
    padding: 5px 7px;
    border-radius: 50%;
}
.form-control,.form-control:focus{
    background: unset;
    border-radius: 3px;
    border-color: var(--var-color-border);
    min-height: 50px;
    outline: none;
    color: var(--var-color-text-light);
}
.search-project {
    margin: 20px 0;
}

.search-project input {
    background: unset;
    border-radius: 3px;
    border-color: var(--var-color-border);
    min-height: 50px;
    outline: none;
    color: white;
}

.search-project input:focus,
.search-project input::selection,.border-none ,.border-none:hover{
    border: none;
    background: none;
    outline: none;
    color: var(--var-color-text-light);
}

.search-project .input-group-text {
    background: var(--var-color-active);
    width: 147px;
    border-color: var(--var-color-active);
    justify-content: center;
    font-size: 15px;
    cursor: pointer;

}

.search-project .input-group-text i {
    margin-right: 10px;
}

.sort-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 30px;
}

.sort-item label {
    font-size: 15px;
    font-weight: 400;
    color: var(--var-color-grey);
    width: max-content;
}

.sort-item .btn-secondary.dropdown-toggle {
    background: unset;
    border: none;
    font-weight: 700;
}

.sort-by {
    border: 1px solid var(--var-color-border);
    padding: 6px;
    border-radius: 3px;
}

.dropdown-menu {
    min-width: unset;
}

.sort-item .sort-grid a {
    border: 1px solid var(--var-color-border);
    height: 50px;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.sort-item .sort-grid a.active {
    /* border: 1px solid var(--var-color-active); */
    filter: var(--var-filter-active);
}

.sort-item .sort-grid {
    display: flex;
}

.size-20 {
    font-size: 20px;
}

.pagination i {
    padding: 7px 10px;
    border-radius: 50%;
    background-color: var(--var-color-secondary-dark);
    cursor: pointer;
}

.pagination span {
    color: var(--var-color-text-light);
}
.pagination span.disabled {
    opacity: .5;
    cursor: not-allowed;
}
.pagination {
    align-items: center;
    gap: 10px;
}

.menu-mobile {
    display: none;
    margin-top: 10px;
}

.openToggle {
    display: none;
}
.title-page{
    margin-bottom: 20px;
}

.title-page img {
    margin-right: 10px;
    height: 20px;
}
.bg-item{
    background: var(--var-color-secondary-dark);
    border-radius: 5px;
    padding-bottom: 0;
    padding-right: 0;
    margin-bottom: 20px;
}
.bg-light .bg-item{
    border: 1px solid var(--var-color-border);
}
.bg-item ul{
    margin-bottom: 0;
}
.bg-item ul li{
    margin-bottom: 20px;

}
.card-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    margin-right: 35px;
}
.card-title span{
    color: var(--var-color-text-light);
}
.card-title .action-overview a.link span{
    color: var(--var-color-active);
    margin-right:20px ;
}
.rotate-45{
    transform: rotate(-45deg);
}
.bg-item .list-image,.list-image-carousel{
    padding-right: 35px;
}
.list-image{
    display: flex;
    align-content: flex-start;
}
.list-image-carousel{
    padding-bottom: 20px;
    gap: 30px;
    display: grid;
    width: 100%;
}
.list-image-carousel .slick-slide{
    margin:0 15px;
}
.list-image p{
    padding-top: 10px;
}
.list-image img,.list-image-carousel img{
    object-fit: cover;
    width: 210px;
    height: 170px;
    border-radius: 5px;
}
.list-image img{
    width: 100%;
}
hr{
    margin: 10px 0;
    opacity: 1;
}
.scroll-200{
    max-height: 200px;
    overflow: auto;
    padding-bottom:20px;
}
.max-h-55{
    max-height: 55vh;
    overflow: auto;
}
.max-h-50{
    max-height: 50vh;
    overflow: auto;
}
.btn-active,.btn-active:hover{
    width: 100%;
    max-width: 235px;
    height: 50px;
    background: var(--var-color-active);
    border-radius: 5px ;
    color: black; 
    font-size: 15px;
}
.button-file{
    display: flex;
    gap: 20px;
    justify-content: center;
}
.button-file .btn{
    width: 235px;
}
.drop-zone {
    width: 100%;
    min-height: 50vh;
    padding: 10px 15px;
    text-align: center;
    font-family: "Quicksand", sans-serif;
    font-weight: 500;
    font-size: 20px;
    cursor: pointer;
    color: #cccccc;
    border: 2px dashed #FFFFFF33;
    border-radius: 5px;
    display: grid;
  }
  
  .drop-zone--over {
    border-style: solid;
  }
  
  .drop-zone__input {
    display: none;
  }
  
  .drop-zone__thumb {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background-color: #cccccc;
    background-size: cover;
    position: relative;
  }
  
  .drop-zone__thumb::after {
    content: attr(data-label);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px 0;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.75);
    font-size: 14px;
    text-align: center;
  }
  .drop-zone p{
    margin-bottom: 0;
    font-size: 30px;
    font-weight: 500;
    line-height: 36px;
    letter-spacing: 0em;
    text-align: center;
    color: var(--var-color-text-light);
  }
  .drop-zone span{
    font-size: 20px;
    color: var(--var-color-text-light);
  }
  .drop-zone .bg-secondary-dark{
    height: 100%;
    display: flex;
    gap: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
.show-item-pagination{
    position: absolute;
    left: 0;
}
.show-item-pagination button{
    margin-left: 5px;
}
.list-file{
    column-gap: 50px;
    padding-right: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.list-file img.delete-file{
    float: right;
    visibility: hidden;
    cursor: pointer;
}
.list-file div:hover img.delete-file{
    visibility: unset;
}
.list-file div:hover a{
    color: var(--var-color-active);
    text-decoration: underline;
}
.list-file div{
    padding: 10px;
    height: min-content;
    cursor: pointer;
}
.list-file div:hover{
    background: #D9D9D933;
}
.list-project{
    margin:20px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
    min-height: 60vh;
}
.list-project > div{
    padding: 20px;
    border: 1px solid var(--var-color-border);
    border-radius: 5px;
    cursor: pointer;
    align-items: center;
    gap: 10px;
}
.list-project .image-project{
    width: 250px;
    height: 200px;
    object-fit: cover;
}
.list-project .taxomany-project{
    background-color: #F3F4F6;
    padding: 11px;
    border-radius: 5px;
    width: fit-content;
    margin-bottom: 0;
}
.bg-dark-body .list-project .taxomany-project{
    background-color: #373E48;
}
.list-project .title-project{
    margin-bottom: 0;
    font-size: 30px;
    font-weight: 700;
    overflow: hidden;
    display: -webkit-box;
    height: 50px;
    line-height: normal;
    -webkit-line-clamp: 1; /* number of lines to show */
            line-clamp: 1; 
    -webkit-box-orient: vertical;
}
/* Arrows */
.slick-prev{
    left: -25px;
}
.slick-next {
    right: 10px;
}
.slick-prev, .slick-next{
    top:45%
}
.setting-page{
    position: absolute;
    background: white;
    padding: 10px;
    top: 35px;
    left: 70px;
    width: max-content;
    box-shadow: 0px 0px 4px 0px #00000040;
    border-radius: 5px;
    z-index: 1;
    color: black;
    display: none;
}
.setting-page .form-check-input:checked{
    background-color: black;
    border-color: black;
}
.modal-content{
    background: var(--var-color-primary);
}
.modal-footer{
    justify-content: center;
    border-top:1px solid var(--var-color-border);
}
.bg-light .modal-footer{
    background: linear-gradient(90deg, #F5F4FD 0%, #F3FCFC 63.09%, #F6F5FD 100%);
}
.bg-light .modal-footer .btn-secondary{
    border: 1px solid #E0E0E0;  
}
.bg-dark-body .modal-footer{
    background: #1F2937;
}
.modal-header .btn-close{
    color: var(--var-color-text-light);
    opacity: 1;
    font-size: 24px;
    background: unset;
    position: absolute;
    right: 20px;
}
.modal-header {
    justify-content: center;
    border-bottom:1px solid var(--var-color-border);
}
.modal .modal-footer .btn{
    padding: 16px 91px 16px 91px;
}
.modal-dialog{
    max-width: 652px;
}
.modal-footer .btn.btn-primary{
    background: var(--var-color-active);
    border: none;
    color: black;
}
.bg-dark-body .modal-footer .btn-secondary{
    background: var(--var-color-border);
}
label .required{
    color: red;
}
#image-detail{
    display: none;
}
.image-detail{
    height: 67vh;
    margin: auto;
    display: block;
}
canvas{
    border: 1px solid var(--var-color-border);
}
.content-page{
   width: 100%;
    overflow: auto;
   height: 90vh;
   padding-bottom: 0;
}
.table>:not(caption)>*>*{
    background: unset;
    color: var(--var-color-text-light);
}
th, td,.table>:not(caption)>*>*{
    padding: 15px;
}
.input-group-text{color: black;}
.h-50vh{
    height: 47vh;
    overflow: auto;
}
.h-55vh{
    height: 55vh;
    overflow: auto;
}
.fa-solid.active{
    color: var(--var-color-active);
}
.form-switch{
    padding-left: 55px;
    padding-right: 3px;
}
.table-result{
    padding-right: 10px;
    padding-bottom: 10px;
}
.readmore {
    position: absolute;
    bottom: 33%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    padding: 0.25rem 1.25rem 0.25rem 0.75rem;
    background: #2b2d42;
    text-align: center;
    opacity: 1;
    pointer-events: initial;
    color: #fff;
    border-top-right-radius: 0.25rem;
    border-top-left-radius: 0.25rem;
    transition: all ease-in-out 0.325s;
    transition-delay: 0.5s;
    cursor: pointer;
  }
  .readmore:after {
    content: "+";
    font-size: 0.8rem;
    color: #fff;
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
  }
  /* .table-result{
    position: relative;
    overflow: hidden;
    max-height: 100px;
    transition: all ease-in 0.5s;
  } */
  /* .table-result.active {
    max-height: unset;
    height: 100%;
    cursor: initial;
    overflow-y: visible;
    transition: all ease-out 0.5s;
  }
  .table-result:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height:100px;
    box-shadow: inset 0px -10rem 0px 0rem rgba(250, 250, 250, 0.7);
    pointer-events: none;
    transition: all ease-in 0.5s;
}
.table-result.active:before,.table-result.active .readmore{
    display: none;
} */
  .table-result tbody tr td{
    border-right:1px solid
  }
  .table-result tr{
    border: 1px solid;
  }
  .result-table h6{
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--var-color-active);
  }
  .table-result th{border-width:1px ;}