﻿html,
body {
  height: 100%;
  font-family: "DM Sans",sans-serif;
  line-height: normal;
}

body.min-width {
  min-width: 1000px;
}

a {
  text-decoration: none;
  color: #333333;
}

.fredoka {
  font-family: "Fredoka",sans-serif;
}

.form-signin {
  max-width: 1000px;
  padding: 15px;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.b-example-divider {
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.form-control-dark {
  border-color: var(--bs-gray);
}
.form-control-dark:focus {
  border-color: #fff;
  box-shadow: 0 0 0 .25rem rgba(255, 255, 255, .25);
}

.text-small {
  font-size: 85%;
}

.dropdown-toggle {
  outline: 0;
}

#div_load button {
  display: none !important;
}

.clickable, .editable {
  cursor: pointer;
}

.table-spacing {
  border-collapse: separate;
}

.modal-90 {
  --bs-modal-width: 90%;
}

.form-switch-big {
  width: 40px !important;
  height: 20px !important;
}

.fa-solid {
  font-size: 18px;
}

.font-17 {
  font-size: 17px;
}

.card-main {
  min-height: calc(100vh - 20px);
}

#maps {
  min-height: calc(100vh - 52px);
}

.card.clickable:hover, .filter-button:hover {
  box-shadow: 0px 0px 6px 0px rgba(13,110,253,0.7) !important;
  -webkit-box-shadow: 0px 0px 6px 0px rgba(13,110,253,0.7) !important;
  -moz-box-shadow: 0px 0px 6px 0px rgba(13,110,253,0.7) !important;
}

.card.clickable.btn-list:hover {
  box-shadow: none !important;
  -webkit-box-shadow:  none !important;
  -moz-box-shadow:  none !important;
  background: white;
  color: #333333;
}

.card.bg-card.clickable:hover {
  background: #EAEAEA !important;
}

.card.bg-warning-subtle.clickable:hover {
  background: #FFEEB9 !important;
}

.card.bg-primary-subtle.clickable:hover {
  background: #C1DAFF !important;
}

.card.bg-success-subtle.clickable:hover {
  background: #C0DED0 !important;
}

.card.bg-info-subtle.clickable:hover {
  background: #AFEDFA !important;
}

.card.bg-search-ai {
  background: #9EC6F3 !important;
}

.card.bg-search-ai.clickable:hover {
  background: #88BAF0 !important;
}

.disabled-content {
  pointer-events: none;
  opacity: 0.4;
}

.disabled-pointer {
  pointer-events: none;
}

#div_load {
  position: relative !important; 
  margin: 0 auto !important;
  width: auto !important;
  height: auto !important;
}

.modal-header .btn-close-white {
  filter: brightness(0) invert(1) !important;
}

.text-bg-dark {
  background: #18435A !important;
}

.text-bg-success {
  background: #17AE91 !important;
}

.text-bg-primary {
  background: #0096C7 !important;
}

.text-bg-secondary {
  background: #D2D2D2 !important;
  color: #000000 !important;
}

.text-bg-warning {
  background: #FBCF00 !important;
}

.text-bg-danger {
  background: #F04242 !important;
}

.text-dark {
  color: #000000 !important;
}

.text-success {
  color: #17AE91 !important;
}

.text-primary {
  color: #0096C7 !important;
}

.text-secondary {
  color: #D2D2D2 !important;
}

.text-warning {
  color: #FBCF00 !important;
}

.text-danger {
  color: #F04242 !important;
}

.text-yellow {
  color: #ffd97d !important;
}

.accordion-button {
  background: #F2F2F2 !important;
  color: black !important;
}

.btn-add, .btn-del, .btn-edit {
  width: 35px;
}

.btn-primary {
  background: #0D85D8;
  border-color: #0D85D8;
}

.btn-primary:hover {
  background: #0C77BE;
  border-color: #0C77BE;
} 

.btn-add {
  background: #00EC82;
  color: white;
  padding: 6px 8px;
}

.btn-add:hover {
  background: #00D977 !important;
  color: white !important;
}

.btn-del {
  background: #F04242;
  color: white;
  padding: 6px;
}

.btn-del:hover {
  background: #EE2D2D !important;                                  
  color: white !important;
}

.btn-whatsapp {
  background: #30D24E;
  color: white;
  padding: 3px 6px;
}

.btn-whatsapp:hover {
  background: #29BC43 !important;                                  
  color: white !important;
}

.btn-whatsapp.disabled-content {
  pointer-events: auto !important;
  background: grey !important;
}

.btn-search {
  background: #0496FF;
  color: white;
}

.btn-search:hover {
  background: #0085E8 !important;
  color: white !important;
}

.btn-info {
  background: #276D94 !important;
  color: white !important;
  border: none;
}

.btn-info:hover {
  background: #18435A !important;
  color: white !important;
}

.btn-save {
  background: #FFA52B;
  color: white;
  padding: 6px 8px;
}

.btn-save:hover {
  background: #FB9100 !important;
  color: white !important;
}

.btn-chat {
  background: #30befb;
  color: white;
  padding: 6px 8px;
}

.btn-chat:hover {
  background: #04AEF7 !important;
  color: white !important;
}

.btn-send, .btn-accept {
  background: #00EC82;
  color: white;
}

.btn-send:hover, .btn-accept:hover {
  background: #00D977 !important;
  color: white !important;
}

.btn-refuse {
  background: #F04242;
  color: white;
}

.btn-refuse:hover {
  background: #EE2D2D !important;
  color: white !important;
}

.btn-back {
  width: 40px;
  height: 40px;
  margin-top: 2px;
  background: #F2C800;
  color: white;
}

.btn-back:hover {
  background: #DFB800 !important;
  color: white !important;
}

.btn-big {
  width: 40px;
  height: 40px;
  margin-top: 2px;
}

.btn-back-import-pvt {
  width: 28px;
  height: 28px;
  margin-top: 2px;
  background: white;
  color: black;
}

.btn-back-import-pvt:hover {
  background: #E4E4E4 !important;
  color: black !important;
}

.btn-download {
  background: #FFD83B;
  color: white;
}

.btn-download:hover {
  background: #FFCD00 !important;
  color: white !important;
}

.btn-edit {
  background: #FFA52B;
  color: white;
  padding: 7px;
}

.btn-edit:hover {
  background: #FB9100 !important;
  color: white !important;
}

.btn-clear {
  width: 38px;
  padding: 7px;
  background: #ffffff;
}

.btn-clear:hover {
  color: #333333 !important;
}

.btn-clear.btn-arrow {
  padding: 3px;
}

.rounded-card-bottom {
  -webkit-border-bottom-right-radius: 45px;
  -webkit-border-bottom-left-radius: 45px;
  -moz-border-radius-bottomright: 45px;
  -moz-border-radius-bottomleft: 45px;
  border-bottom-right-radius: 45px;
  border-bottom-left-radius: 45px;
}

.rounded-card-top {
  -webkit-border-top-left-radius: 45px;
  -webkit-border-top-right-radius: 45px;
  -moz-border-radius-topleft: 45px;
  -moz-border-radius-topright: 45px;
  border-top-left-radius: 45px;
  border-top-right-radius: 45px;
}

.rounded-3-5, .btn-outline-secondary, .nav-link.rounded-3-5 {
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
}

.text-bg-yellow {
  background: #ffd97d;
}

.border-color-yellow {
 border-color: #ffd97d !important;
}

.text-bg-sand {
  background: #ECE4B7 !important;
}

.border-color-sand {
  border-color: #ECE4B7 !important;
}

.btn-big {
  width: 45px;
  height: 40px;
  margin-top: 2px;
}

.btn-big i, .btn-back i {
  font-size: 27px;
}

.subtitle {
  font-size: 13px;
  color: #AAAAAA;
}

.fs-7 {
  font-size: 14px;
}

.subtitle.ellipsis, .username.ellipsis {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.subtitle.two-rows.ellipsis {
  -webkit-line-clamp: 2;
  line-clamp: 2;
  height: 40px;
}

.text-bg-green {
  background: #a5ffd6;
}

.border-color-green {
  border-color: #a5ffd6 !important;
}

.text-bg-blue {
  background: #5aa9e6;
}

.border-color-blue {
  border-color: #5aa9e6 !important;
}

.text-bg-red {
  background: #f56c77;
}

.border-color-red {
  border-color: #f56c77 !important;
}

.text-bg-orange {
  background: #f9b16e;
}

.text-bg-dashboard {
  background: #EDF9FF;
}

.text-bg-fast-pvt {
  background: #E9FEE0;
}

.border-color-orange {
  border-color: #f9b16e !important;
}

.btn-lg {
  min-width: 115px !important;
}

.dropdown-toggle.no-arrow::after,
.dropstart .dropdown-toggle.no-arrow::before {
  display:none;
}

.close-chat {
  position: absolute;
  right: 10px;
}

.tr_age_cli:hover {
  background: #EFEFEF;
  cursor: pointer;
}

.ui-dialog {
  font-size: 14px !important;
}

table.table-gia tr:last-child td {
  border-bottom: none;
}

.card-footer {
  background: #F2F2F2;
}

th {
  background-color: #D2D2D2 !important;
  color: #000000 !important;
}

.form-check-input:checked {
  background-color: #085CF0;
  border-color: #085CF0;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  font-weight: 600 !important;
}

.tbl-pvt thead.text-bg-dark th {
  background: #000000 !important;
  color: #ffffff !important;
}

.table-hover>tbody>tr:hover>* {
  background: #C0DDFF !important;
}

.input-group-text {
  width: 44px;
}

.dropdown-toggle::after {
  display: none;
}

.dropdown-menu {
  padding: 0 !important;
}

.dropdown-menu li a {
  padding: 10px !important;
}

.dashboard-card {
  background-image: linear-gradient(120deg,  #eef0f2 0%, #fdfbfb 100%);
}

.dashboard-header {
  background-image: linear-gradient(to top, #48c6ef 0%, #2D72CE 100%);
  color: #ffffff;
}

.dashboard-header-det {
  background-image: linear-gradient(to left, #48c6ef 0%, #2D72CE 100%);
  color: #ffffff;
}

.img-area {
  max-width: 32px;
}

#usr_logo {
  max-width: 150px;
  max-height: 150px;
}

.card_usr_logo {
  width: 45px;
  height: 45px;
  object-fit: cover;
}

hr.title_separator {
  border: 1px solid #cccccc;
}

tr.disabled td {
  color: #AAAAAA !important;
}

.card.card-chat.selected {
  background: #E3F0F9;
}

.card.card-chat.selected:hover {
  background: #E3F0F9;
}

.card.card-chat:hover {
  background: #EFF1F3;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
}

.card.card-chat .card-body {
  padding: 8px 16px;
}

.custom-tooltip {
  --bs-tooltip-bg: var(--bs-primary);
  z-index: 1200 !important;
}

.drp-selected {
  display: none !important;
}

.drp-calendar th {
  background: white !important;
}

.alert-plus {
  background: #DAFFD2 !important;
  color: #2DDD00 !important;
}

.alert-minus {
  background: #FDDFDF !important;
  color: #F04242 !important;
}

#radialTskCompletati, #radialTskAssegnati {
  position: absolute !important;
  top: -25px !important;
  right: -90px !important;
}

.table-responsive, .bg-card {
  background: #f2f2f2;
}

.table-dashboard {
  padding: 0 12px;
}

.table-dashboard th{
  background: #f2f2f2 !important;
  color: #95A3B0 !important;
  font-size: 18px;
  vertical-align: middle;
  position: sticky;
  top: 0;
  z-index: 1;
  font-weight: normal !important;
  border-color: #B2B2B2 !important;
  padding: 10px !important;
  border-bottom: 0 !important;
}

.table-dashboard td{
  font-size: 14px;
  vertical-align: middle;
}

.table-dashboard-white th{
  background: white !important;
  font-size: 16px !important;;
  padding: 8px !important;
}

.form-select, .form-control  {
  border: 1px solid #dee2e6 !important;
}

.form-select.is-invalid, .form-control.is-invalid {
  border: 1px solid #dc3545 !important;
}

.input-group-text {
  border: 1px solid #dee2e6 !important;
}

.clear-input-btn {
  position: absolute;
  width: 30px;
  font-weight: 550;
  border: none;
  background-color: transparent;
  line-height: 50px;
  left: calc(100% - 90px);
  z-index: 9;
}

.search_mini .clear-input-btn {
  position: absolute;
  width: 30px;
  font-weight: 550;
  border: none;
  background-color: transparent;
  line-height: 35px;
  left: calc(100% - 75px);
  z-index: 9;
}

.clear-input-btn:hover {
  color: blue;
}

.padding-footer {
  padding-bottom: 80px !important;
}

footer img {
  max-height: 45px;
}

footer {
  font-size: 14px;
}

.input-group-text.clickable {
  background: #085CF0;
  color: #ffffff;
}

.input-group-text.clickable:hover {
  background: #064ED2;
}

.field {
  position: relative;
  display: inline-block;
  width: 35px;
  height: 32px;
}

.field-select {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.dragable_touch {
  cursor: move;
}

.py-12px {
  padding-top: 12px;
  padding-bottom: 12px;
}

.search{
  margin-bottom: auto;
  margin-top: auto;
  height: 70px;
  background-color: #fff;
  border-radius: 30px;
  padding: 10px;
}

.search_input{
  border: 0;
  outline: 0;
  background: none;
  width: 0;
  line-height: 50px;
}

.search .search_input{
  padding: 0 10px;
}

.search_icon{
  height: 50px;
  width: 50px;
  float: right;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.search_mini{
  height: 48px;
  background-color: #EFF1F3;
  padding: 7px 10px;
}

.search_icon_mini {
  height: 35px;
  width: 35px;
  float: right;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.cursor-default {
  cursor: default !important;
}

.login-gradient {
  background-image: linear-gradient(to top, #F2F5F9 25%, #a7bed3 100%);
}

.header {
  height: 55px;
  background: #EFF1F3;
}

.header.fixed-top {
  top: -100px;
  transform: translateY(100px);
  /*transition: transform .3s;*/
}

.main-content {
  background: #EFF1F3;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  /*transition: all 0.3s ease;*/
}

:root {
  --sidebar-width: 280px;
  --sidebar-width-collapsed: 90px;
}

.sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  background: #EFF1F3;
  /*transition: all 0.3s ease;*/
}

.sidebar.collapsed {
  width: var(--sidebar-width-collapsed);
}

.sidebar-link {
  color: #888A8B;
  /*transition: all 0.2s ease;*/
  border-radius: 8px;
  margin: 4px 20px;
  white-space: nowrap;
  overflow: hidden;
  height: 45px;
}

.sidebar-link:hover {
  color: #212529;
  background: white;
  /*
  transform: translateX(5px);
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  -webkit-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  -moz-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  */
}

.sidebar-link.active {
  color: #212529;
  background: white;
  /*
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  -webkit-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  -moz-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  */
}

.sidebar-link i{
  width: 26px;
}

.collapsed~.main-content {
  margin-left: var(--sidebar-width-collapsed);
}

.toggle-btn {
  position: absolute;
  right: -15px;
  top: 28px;
  background: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 100;
  cursor: pointer;
  /*transition: transform 0.3s ease;*/
}

.collapsed .toggle-btn {
transform: rotate(180deg);
}

.collapsed .hide-on-collapse {
  opacity: 0;
  visibility: hidden;
  display: none;
}

.collapsed .logo-text {
  opacity: 0;
}

.collapsed .profile-info {
  opacity: 0;
}

.collapsed .sidebar-link {
  text-align: center;
}

.collapsed .sidebar-link i {
  margin: 0 !important;
}

.p-2-5 {
  padding: 12px;
}

.mt-2-5 {
  margin-top: 10px !important;
}

div.dt-layout-cell.dt-layout-end {
  margin: 0 auto !important;
}

div.dt-layout-cell.dt-layout-end .dt-search, .dt-search {
  display: none !important;
}

div.dt-layout-start {
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;    
}

div.dt-layout-end:has(> div.dt-paging) {
  margin: 0 auto !important;
}

div.dt-container .dt-paging .dt-paging-button {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

div.dt-container .dt-paging .dt-paging-button .page-link:focus {
  box-shadow: none !important;
}

div.dt-container .dt-paging .page-link {
  height: 100%;
}

div.dt-length {
  display: none;
}

div.dtcc-dropdown div.dtcc-search > div span.dtcc-search-clear {
  right: 8px !important;
  bottom: 8px !important;
}

div.dtcc-dropdown div.dtcc-list div.dtcc-list-buttons {
  background: #ffffff !important;
}

div.dtcc-list-controls {
  border-bottom: 1px solid #DEE2E6;
  margin: 0px 5px;
}

tr.clickable > * {
  background-color: #FFFFFF !important;
}

tr.clickable:hover > * {
  background-color: #F9F9F9 !important;
}

.badge-icon {
  width: 35px;
  height: 35px;
  background: #113F67;
  color: #FFFFFF;
}

.badge-icon.warning {
  background: #E30D1D;
}

.badge-icon-list {
  width: 45px;
  height: 45px;
  background: #113F67;
  color: #FFFFFF;
}

.text-bg-flg-0 {
  color: #978D71;
  background: #EDECE6;
}

.text-bg-flg-1 {
  color: #4978D8;
  background: #EDF5FF;
}

.text-bg-flg-2 {
  color: #E68B52;
  background: #FFF7ED;
}

.text-bg-flg-3 {
  color: #F34E5F;
  background: #FEE7E9;
}

.text-bg-flg-4 {
  color: #9B7EBD;
  background: #EEE9F3;
}

.text-bg-flg-9 {
  color: #13A56B;
  background: #BFF6C3;
}

.text-bg-flg-stt-tsk-0 {
  color: #978D71;
  background: #EDECE6;
}

.text-bg-flg-stt-tsk-1 {
  color: #4978D8;
  background: #EDF5FF;
}

.text-bg-flg-stt-tsk-2 {
  color: #F31D2F;
  background: #FAD5D5;
}

.text-bg-flg-stt-tsk-9 {
  color: #13A56B;
  background: #BFF6C3;
}

.text-bg-flg-dir-tsk-0 {
  color: #4978D8;
  background: #EDF5FF;
}

.text-bg-flg-dir-tsk-1 {
  color: #FAC502;
  background: #FFF9BD;
}

.text-bg-flg-dir-tsk-2 {
  color: #978D71;
  background: #EDECE6;
}

.text-bg-flg-ctf-eml-0 {
  color: #F31D2F;
  background: #FAD5D5;
}

.text-bg-flg-ctf-eml-1 {
  color: #13A56B;
  background: #BFF6C3;
}

div.dtcc-dropdown button.dtcc-button span.dtcc-button-text {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  font-size: 14px !important;
}

.shadow-md {
  box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.075) !important;
  -webkit-box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.075) !important;
  -moz-box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow-dashboard {
  box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.075) !important;
  -webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.075) !important;
  -moz-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.075) !important;
}

.min-w-130 {
  min-width: 130px;
}

.gj-datepicker .btn-outline-secondary {
  border-color: #DEE2E6;
}

.back-page:hover {
  color: #000000;
}

.px-2-5 {
  padding-left: 12px;
  padding-right: 12px;
}

.modal-dialog:not(.modal-lg):not(.modal-xl):not(.modal-normal) {
  max-width: 325px;
}

textarea {
  resize: none;
}

.select .dt-column-header {
  display: block !important;
}

.table.dataTable .dt-column-header input.dt-select-checkbox {
  display: none;
}

.table.dataTable input.dt-select-checkbox {
  width: 15px;
  height: 15px;
}

table.table.dataTable > tbody > tr.selected > * {
  box-shadow: inset 0 0 0 9999px #33A1E0 !important;
}

.is-invalid+.select2-container--bootstrap-5 .select2-selection .select2-selection__rendered, 
.was-validated select:invalid+.select2-container--bootstrap-5 .select2-selection .select2-selection__rendered {
  background: url('images/invalid.svg');
  background-repeat: no-repeat;
  padding-right: 2.125rem;
  background-position: right 0 center;
  background-size: 18px 18px;
}

.is-valid+.select2-container--bootstrap-5 .select2-selection .select2-selection__rendered, 
.was-validated select:valid+.select2-container--bootstrap-5 .select2-selection .select2-selection__rendered {
  background: url('images/valid.svg');
  background-repeat: no-repeat;
  padding-right: 2.125rem;
  background-position: right 0 center;
  background-size: 18px 18px;
}

.is-valid+.select2-container--bootstrap-5 .select2-selection, 
.was-validated select:valid+.select2-container--bootstrap-5 .select2-selection {
  border-color: #DEE2E6;
}

.select2-container--bootstrap-5 .select2-selection {
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  border-radius: 16px;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected, 
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-selected=true]:not(.select2-results__option--highlighted) {
  color: #212529;
  background-color: #ffffff;
}

.dt-select-checkbox {
  cursor: pointer;
}

#map, #map_list { 
  width: 100%; 
  height: calc(100vh - 50px); 
}

#card_list { 
  height: 83vh; 
}

#controls {
  /*display: flex;*/
  display: none;
  position: absolute;
  top: 25px;
  left: 70%;
  transform: translateX(-70%);
  z-index: 5;
  gap: 8px;
}

#search-box {
  width: 250px;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

#refresh-btn {
  position: relative;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  background: #4285F4;
  color: white;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 120px;
}

#refresh-btn.loading {
  cursor: wait;
  opacity: 0.8;
}

.spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #fff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.custom-pin {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  --pin-color: #113F67
}

.custom-pin-circle {
  width: 35px;
  height: 35px;
  background-color: var(--pin-color);
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  font-size: 14px;
  z-index: 1;
}

.custom-pin::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid var(--pin-color);
}

.custom-pin-poi {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  --pin-color: #6CC0FF;
}

.custom-pin-poi-circle {
  width: 35px;
  height: 35px;
  background-color: var(--pin-color);
  /*color: #fff;*/
  font-weight: bold;
  border-radius: 20%;
  font-size: 14px;
  z-index: 1;
}

.custom-pin-poi::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid var(--pin-color);
}

.container-list {
  height: calc(100vh - 185px);
  overflow: auto;
}

#markers_list .container-list {
  height: calc(100vh - 231px);
  overflow: auto;
}

#pmpsta_list .container-list {
  height: calc(100vh - 128px);
  overflow: auto;
}

.gm-style-iw-c {
  padding: 0 !important;
  margin: 0 !important;
  border-top: none !important;
  background: transparent !important;
  border-radius: 16px !important;
}

.gm-style-iw-d {
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.gm-ui-hover-effect {
  display: none !important;
}

.gm-style-iw {
  margin: 0 !important;
  padding: 0 !important;
  border-top: none !important;
  background: transparent !important;
}

.gm-style-iw-chr {
  display: none;
}

.infowindow-container {
  width: 300px;
  background: #ffffff;
  overflow: hidden;
}

.infowindow-header {
  color: white;
}

.infowindow-circle {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.25);
  border: 2px solid rgba(255,255,255,0.3);
}

.infowindow-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 235px;   
}

.infowindow-subtitle {
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;  
}

.infowindow-body {
  background: #ffffff;
  margin-top: -32px;  
}

.badge-icon-card {
  width: 35px;
  height: 35px;
  background: #9BFBF9;
  font-size: 13px;
}

.img-card-list {
  width: 18px;
  height: 18px;
}

.accordion-tpp .accordion-button::after {
  content: none !important;
}

.accordion-tpp .accordion-button {
  box-shadow: none !important;
}

.thumb-tsk {
  width: 40px;
  height: 40px;
}

.rounded-top-accordion {
  border-radius: 16px 16px 0px 0px !important;
  -webkit-border-radius: 16px 16px 0px 0px !important;
  -moz-border-radius: 16px 16px 0px 0px !important;  
}

.rounded-bottom-accordion {
  border-radius: 0px 0px 16px 16px !important;
  -webkit-border-radius: 0px 0px 16px 16px !important;
  -moz-border-radius: 0px 0px 16px 16px !important;  
}

.nav-filter .nav-link.active {
  background: white; 
  color: #333333;
}

.nav-filter .nav-link:not(.active):hover {
  background: #EAEAEA; 
  color: #333333;
}

.ms-sidebar {
  margin-left: 3px !important;
}

#data_missions {
  height: calc(100vh - 170px);
  overflow-x: hidden;
  overflow-y: auto; 
}

#data_profile_mission {
  height: calc(100vh - 110px);
  overflow-x: hidden;
  overflow-y: auto; 
}

#stats {
  height: calc(100vh - 155px);
  overflow-x: hidden;
  overflow-y: auto;  
}

#barcode_container {
  height: calc(100vh - 255px);
  overflow-x: hidden;
  overflow-y: auto; 
}

.textarea_search {
  height: auto;
}

.textarea_search .search_input {
  resize: none;
  overflow: hidden;
  line-height: 30px;
  max-height: 125px;
}

#dash_npa_sed {
  border-left: 0 !important;
}

@media (min-width: 992px) {
  #date-range {
    width: 260px;
  }
}

.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.min-width-0 {
  min-width: 0;
}

.tracking-container {
  max-width: 1100px;
}

#tracking_search, #tracking_result {
  min-height: 340px;
}

.tracker-container {
  max-width: 800px;
  margin: 0 auto;
}

.tracker-step {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tracker-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 9px;
  left: calc(50% + 10px);
  width: calc(100% - 20px);
  height: 3px;
  background-color: #d1d5db;
  z-index: 0;
}

.tracker-step:not(.inactive):not(:last-child)::after {
  background-color: #113F67;
}

.tracker-step:not(.inactive):has(+ .tracker-step.inactive)::after {
  background: linear-gradient(to right, #113F67 50%, #d1d5db 50%);
}

.tracker-dot {
  width: 20px;
  height: 20px;
  background-color: #113F67;
  border-radius: 50%;
  margin: 0 auto 10px;
  box-shadow: 0 0 0 4px white;
  position: relative;
  z-index: 1;
}

.tracker-label {
  color: #113F67;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

.tracker-step.inactive .tracker-dot {
  background-color: #d1d5db;
}

.tracker-step.inactive .tracker-label {
  color: #6b7280;
}

.sidebar-profili {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: #EFF1F3;
  transition: right 0.3s ease;
  z-index: 1040;
  overflow-y: auto;
  padding: 1rem;
}

.sidebar-profili.open {
  right: 0;
}

.main-content {
  transition: margin-right 0.3s ease;
}

.main-content.sidebar-profili-open {
  margin-right: 300px;
}

.nav-link {
  color: #AAAAAA !important;
}

.nav-link:hover {
  background-color: #F2F2F2  !important;
  color: #333333 !important;
}

.nav-link.active {
  background-color: #F2F2F2  !important;
  color: #333333 !important;
}

@media (max-width: 768px) {
  .tracker-label {
    font-size: 11px;
  }
  
  .tracker-dot {
    width: 16px;
    height: 16px;
  }

  .tracker-step:not(:last-child)::after {
    top: 7px;
    left: calc(50% + 8px);
    width: calc(100% - 16px);
  }
}