#map {
  height: 600px;
  width: 800px;
  border: 1px solid black;
  overflow-y: auto;
}
body {
  font-family: sans-serif;
}
#info {
  margin-top: 10px;
}
/* 
The following rule might be too aggressive and hide content 
or interfere with default popup styling.
Consider removing or scoping it if it causes issues.
.dx-popup-content {
  padding: 0 !important;
}
*/

#marker-tooltip {
  display: flex; 
  align-items: center; 
  margin-top: 14px; 
  justify-content: space-between; 
  gap: 10px;
}

.timeline-btn, .marker-btn-icon {
  cursor: pointer; 
  background: none; 
  border: none; 
  padding: 0; 
  font-size: 20px; 
  color: #2130bb;
}

.marker-tooltip-left-icon {
  display:flex; 
  align-items:center; 
  gap:10px;
}

.hidden-fa-copy {
  color: #2130bb;
  font-size: 16px;
}

.copy-btn-hidden {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  display: none;
}

.timeline-date-start {
  margin-bottom: 0; 
  white-space: nowrap; 
  min-width: 90px;
}

.timeline-date-end {
  margin-bottom: 0; 
  white-space: nowrap; 
  min-width: 80px; 
  margin-left: 12px;
}

.mgr-24 {
  margin-right: 24px;
}

.mgr-48 {
  margin-right: 48px;
}

.timeline-date-btn {
  height: 40px; 
  margin-left: 12px; 
  white-space: nowrap;
}

.speed-box {
  width: 250px; 
  padding-right: 10px;
}

#timeline-date-form {
  display: flex; 
  flex-direction: row; 
  align-items: center; 
  gap: 8px; 
  flex-wrap: nowrap; 
  justify-content: flex-start;
}

/*End of popup map */

body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: sans-serif;
}

#content {
  height: calc(100vh - 60px);
  padding: 22px 20px 0 10px;
  /* padding: 25px 25px 0 25px; */
  /* overflow-y: scroll; */
  box-sizing: border-box;
}

.title {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 23px;
  text-transform: uppercase;
  color: #707070;
}

.version {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 15px;
  text-transform: uppercase;
  color: #707070;
}

.welcome-title {
  font-family: "Helvetica Neue","Segoe UI",helvetica,verdana,sans-serif;
}

.welcome-page {
  display: block;
  text-align: center;
}

.logo {
  display: flex;
  margin-right: 30px;
  flex-direction: column;
  justify-content: center;
}
.logo img {
  height: 35px;
}

#menu {
  height: 60px;
  background-color: #425563;
  color: white;
  padding: 0 20px 0 25px; /* Changed: Added 20px right padding */
  display: flex;
  flex-direction: row;
}

#user-menu{
  margin-left: auto !important;
  /*margin-right: 20px;*/
}

#menu .dx-menu-item {
  color: #fff;
}

#menu > div {
  display: flex;
  align-items: center;
  height: 100%;
}

#menu .logo {
  display: flex;
  margin-right: 30px;
  justify-content: center;
  /* background: white; */
  background: #425563; /* Charlemagne */
  padding-right: 30px;
  padding-left: 30px;
}

#menu .logo img {
  height: 35px;
}

#menu .site {
  background-color: #cce4ff;
  height: 36px;
  border: none;
  color : #004ea7;
}

#menu .site.dx-dropdowneditor-button.dx-state-active .dx-dropdowneditor-icon,
#menu .site.dx-dropdowneditor.dx-dropdowneditor-active .dx-dropdowneditor-icon,
#menu .site.dx-dropdowneditor.dx-state-active .dx-dropdowneditor-icon,
#menu .site.dx-dropdowneditor.dx-state-hover:not(.dx-custom-button-hovered) .dx-dropdowneditor-icon {
	background: #cce4ff;
}

#menu .site .dx-dropdowneditor-icon::before {
	color : #004ea7;
}
#menu .site .dx-texteditor-input {
	color : #004ea7 !important;
}
#menu .site.custom-dropdown {
	height: 60%;
}

#menu .account {
  margin: 0 0 0 20px;
}

.dx-icon-edit {
  color: #2130bb !important;
}

.user-info {
  width: 100%;
}
.user-info-avatar {
  height: 36px;
  width: 36px;
  background-color: #ebebeb;
  border-radius: 50%;
}
.user-info-name {
  font-family: sans-serif;
  margin-right: 10px;
}

.menu_upper {
  text-transform: uppercase;
}

.dx-menu-items-container {
  display: flex;
  height: 100%;
}

.dx-menu-item-wrapper {
  height: 100%;
}

.dx-menu-item {
  height: 100%;
}

#menu .dx-item-content.dx-menu-item-content {
  display: flex;
  align-items: center;
  padding: 0px 25px;
}

.dx-menu .dx-menu-item-has-text .dx-menu-item-text {
  padding: 0;
}

.popupButtonContainer {
  width: 100%;
  display: inline-flex;
  place-content: flex-start;
  margin-top: 25px;
}

.adminconfig {
  padding: 10px;
  float: left;
}

.adminconfigbutton {
  margin-top: 19px;
}

.dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-alt) > td {
  background-color: #ffffff !important;
  color: #232323 !important;
}

.dx-datagrid-table
  .dx-data-row.dx-state-hover:not(.dx-selection):not(.dx-row-inserted):not(.dx-row-removed):not(.dx-edit-row)
  > td:not(.dx-focused) {
  background-color: #ffffff !important;
  color: #333 !important;
}

.dx-header-row {
  background: #999;
  color: white;
  font-weight: bold;
}

.dx-datagrid .dx-header-filter {
  color: white; 
}

.dx-row .dx-data-row .dx-column-lines .dx-row-alt .dx-selection > td {
  background-color: #f5f5f5 !important;
}

.dx-datagrid .dx-link {
  color: #2130bb !important;
}

.dx-datagrid .dx-link.dx-loadvideo {
  color: #9c9c9c !important;
}

.dx-datagrid .dx-link.dx-novideo {
  color: #7796fc !important;
}

.dx-datagrid .dx-link:hover {
  color: #6f6f6f !important;
}

.dx-datagrid-rowsview .dx-selection.dx-row:hover:not(.dx-row-alt) > td,
.dx-data-row:hover {
  background: #fdf3e8 !important;
}

.dx-data-row:hover .dx-selection > td,
.dx-data-row:hover > td {
  background: #fdf3e8 !important;
}

.dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused) > td,
.dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused) > tr > td,
.dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused):hover > td,
.dx-datagrid-rowsview
  .dx-selection.dx-row:not(.dx-row-focused):hover
  > tr
  > td {
  background: #f5f5f5;
}

.custom-dropdown
  .dx-item.dx-menu-item.dx-menu-item-has-text.dx-menu-item-has-submenu.dx-menu-item-expanded {
  background: #4b4b4b;
}

.custom-dropdown .dx-context-menu-container-border {
  border: none;
  box-shadow: none;
}

.dx-menu.custom-dropdown
  .dx-menu-item-has-text.dx-menu-item-has-submenu
  .dx-menu-item-text {
  padding-bottom: 0;
}

.menuSelected,
.menuSelected:hover {
  background: #fff;
  color: #232323 !important;
  height: 100%;
}

.late{
  color: #f00;
}


/* Page - dashboard */

#dashboard-wrapper {
  max-width: 85%;
  margin: auto;
}

/*
#dashboard-wrapper {
  max-width: 8.27in;
  margin: auto;
}
 */ 

#dashboard-wrapper > .chart-buttons > div {
  margin-right: 10px;
}
#dashboard-wrapper > .chart-buttons > div:last-child {
  margin-right: 0;
}

#dashboard-charts, #dashboard-charts-summary {
  width: 100%;
  display: grid;
  gap: 10px;
  justify-content: center;
  margin-bottom: 15px;
}
#dashboard-charts-summary {
  grid-template-columns: 98%;
}
#dashboard-charts {
  grid-template-columns: 98%;
}

/*#dashboard-charts-area .dashboard-chart-item {
  /* box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1); */
  /* display: flex; */
  /* justify-content: center;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 0px; 
}

.chart-container {
  margin-top: 20px; 
  margin-bottom: 30px; 
}*/

.mb-3 {
  margin-bottom: 3px;
}

.chart-dash-left {
  height: 100%;
  /* width: 75%; */
}

.chart-dash-right {
  /* height: 100%; */
  width: 25%;
}

#btn-close {
  margin-right: 0;
  display: flex;
  margin-left: auto;
}

#btn-container {
  margin-left: 0;
  display: flex;
  margin-right: auto;
}

#tabs-container-emaillist {
  margin-top: 30px;
  border-style: inset;
}

#bottom-layout {
  width: 100%;
  display: flex;
}

#lockercontent {
  display: flex;
  justify-content: center;
  width: 100%;
}

.locker-nav-btn {
  margin: 0 10px 20px 0;
  background-color: #8aa9e0 !important;
  color: #fff;
  background-color: hsl(37deg 83% 91%);
}

.locker-nav-btn.locker-nav-btn-selected {
  background-color: #325ea8 !important;
}

#lockercontent > div {
  display: grid;
  width: 100%;
  grid-auto-columns: minmax(0, 1fr);
  gap: 10px;
}

#lockercontent .locker {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100%;
  min-height: 100%;
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #ddd;
  background-color: #fafafa;
  box-sizing: border-box;
  text-align: center;
  user-select: none;
}

#lockercontent .locker[type="icon"] {
  justify-content: center;
}

#lockercontent .locker[type="locker"] { justify-content: space-between; }


#lockercontent .locker[type="icon"] > img {
  opacity: 0.5;
  max-width: 40%;
  max-height: 40%;
}

#lockercontent .locker .name {
  font-size: 100%;
  font-weight: bold;
}

#lockercontent .locker .content {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: auto auto auto;
  align-items: center;
  justify-items: center;
  text-align: center;
  font-size: 80%;
  max-width: 100%;
  width:100%;
  font-family: courier;
}

#lockercontent .locker .content span {
  display: flex;
  margin: 0 0 5px;
  padding: 3px 3px;
  border-radius: 6px;
  color: #004ea7;
  background-color: #e6f1ff;
  width: 65%;
  height: 65%;
  max-width: 100%;
  align-items: center;
  
}

#custbtn-container {
  margin-top: 15px;
  margin-right: 15px;
  display: flex;
  justify-content: right;
}

#lockercontent .locker .content .expired {
  color: red;
}

#legend {
  font-weight: bold;
  color: black;
}

.legend {
  font-size: 90%;
  color: #2130bb;
  margin-top: 10px;
  margin-right: 15px;
}

#dashboard-chart-pharmacie > div.chart.dx-visibility-change-handler > svg > g.dxc-elements-axes-group > g.dxc-arg-elements > text:nth-child(3),
#dashboard-chart-return > div.chart.dx-visibility-change-handler > svg > g.dxc-elements-axes-group > g.dxc-arg-elements > text:nth-child(3){
  display:none;
}

/* responsive */

@media screen and (max-width: 1700px) {

  .dx-menu {
    font-size: 80%;
  }
}

@media screen and (max-width: 1600px) {

  #menu .dx-item-content.dx-menu-item-content {
    padding: 0px 20px;
  }

  #employee-grid {
    font-size: 80%;
  }

  #lockercontent .locker .content {
    font-size: 75%;
  }
}

@media screen and (max-width: 1500px) {

  #menu .dx-item-content.dx-menu-item-content {
    padding: 0px 15px;
  }

  #employee-grid {
    font-size: 70%;
  }

  #lockercontent .locker .content span {
    margin: 0 0 0px;
    padding: 1px 1px;
    border-radius: 4px;
  }
}

@media screen and (max-width: 1400px) {

  .dx-menu {
    font-size: 70%;
  }

  #menu .dx-item-content.dx-menu-item-content {
    padding: 0px 10px;
  }

  #transaction-grid, #asset-grid, #employee-grid .dx-texteditor-input {
    font-size: 80%;
  }
}

@media screen and (max-width: 1300px) {

  .dx-menu {
    font-size: 68%;
  }

  #transaction-grid, #asset-grid, #employee-grid, .dx-texteditor-input {
    font-size: 70%;
  }

  #lockercontent .locker .content span {
    margin: 0 0 0px;
    padding: 0px 0px;
    border-radius: 4px;
    width: 80%;
    height: 80%;
  }

  #lockercontent .locker .content {
    font-size: 72%;
  }
}

@media screen and (max-width: 1200px) {

  #menu{
    padding-left: 0px;
  }

  #menu .logo {
    margin-right: 0px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .dx-dropdownlist-popup-wrapper .dx-list:not(.dx-list-select-decorator-enabled) .dx-list-item-content {
    font-size: 65%;
  }

  .dx-texteditor-input{
    font-size: 65%;
  }

  .dx-menu {
    font-size: 65%;
  }

  #menu .dx-item-content.dx-menu-item-content {
    padding: 0px 8px;
  }

  #transaction-grid, #employee-grid, #asset-grid, .dx-texteditor-input {
    font-size: 70%;
  }

  #content {
    padding: 10px 10px 0 10px;
  }

  #lockercontent > div {
    gap: 11px 5px;
  }

  #lockercontent .locker {
    min-height: 112%;
    padding: 2px;
  }

  #lockercontent .locker .name {
    font-size: 90%;
  }

  #lockercontent .locker .content {
    font-size: 75%;
  }
  
  .legend {
    display: inline-block;
    margin-top: 20px;
  }
}

@media screen and (max-width: 1100px) {

  #lockercontent .locker .content {
      font-size: 70%;
  }
}

@media screen and (max-width: 1024px) {

  #menu .logo img {
    height: 28px;
  }

  .dx-menu {
    font-size: 60%;
  }

  #menu .dx-item-content.dx-menu-item-content {
    padding: 0px 6px;
    border-right: 1px solid white;
  }

  #lockercontent > div {
    gap: 10px 5px;
  }

  #lockercontent .locker {
    min-height: 108%;
    padding: 2px;
  }

  .dx-dropdownlist-popup-wrapper .dx-list:not(.dx-list-select-decorator-enabled) .dx-list-item-content {
    font-size: 70%;
  }

  #lockercontent .locker .name {
    font-size: 70%;
  }
  
  #lockercontent .locker .content span {
    width: 70%;
    height: 70%;
  }

  .legend {
    font-size: 80%;
    margin-top: 20px;
  }
}

@media screen and (max-width: 900px) {

  .dx-datagrid-text-content {
    font-size: 80%;
  }

  #menu .logo img {
    height: 20px;
  }

  #menu .logo {
    margin-right: 0px;
    padding-right: 3px;
    padding-left: 3px;
  }

  #menu .dx-item-content.dx-menu-item-content {
    padding: 0px 3px;
  }

  .dx-texteditor-input{
    font-size: 70%;
  }

  .dx-menu {
    font-size: 53%;
  }

  #menu .dx-item-content.dx-menu-item-content {
    padding: 0px 5px;
  }

  #lockercontent > div {
    gap: 7px 3px;
  }

  #lockercontent .locker {
    padding: 0px;
  }

  #lockercontent .locker .name {
    font-size: 62%;
  }

  #lockercontent .locker .content {
    font-size: 62%;
  }

  .legend {
    font-size: 75%;
  }
}

@media screen and (max-width: 768px) {

  #content {
    padding: 5px 5px 0 5px;
  }

  #lockercontent > div {
    gap: 3px 1px;
  }

  #lockercontent .locker .name {
    font-size: 56%;
  }

  #lockercontent .locker .content {
    font-size: 56%;
  }

  .legend {
    font-size: 70%;
    margin-top: 15px;
  }
}

.testImage {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

#dropzone-external {
  border: 1px solid grey;
}

.d-none {
  display: none;
}

#fileUpload {
  margin: 0 0 0 42%;
  display: flex;
}

#submit {
  margin: 0 0 0 46%;
 }

#radio-group-change-layout {
  display: ruby-text;
}

#tx-assets-grid, #accordion {
  margin-top: 40px;
}


#msal-button .dx-button-content {
  margin: 0;
  height: 200px;;
  width: 200px;
  background-image: url(/images/logo.png);
  background-size: 100px;
  background-repeat: no-repeat;
  background-position: center center;
  font-weight: bold;
  font-family: sans-serif;
  display: flex;
  justify-content: center;
  align-items: end;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
}

#msal-button-hint {
  font-size: 14px;
  font-family: sans-serif;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  text-align: center;
}

#msal-button-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.75);
}

#msal-container {
  background-color: white;
  /* background-image: url(/images/logo.png), linear-gradient(white, white);  */
  background-size: 250px, cover;
  background-position: top 50px center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* laval style */
.relative { position: relative; }
.absolute { position: absolute; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.h-full { height: 100%; }
.w-full { width: 100%; }
.max-w-350 { max-width: 350px; }
.m-auto { margin: auto; }

.background-white { background-color: white; }

.mt-10 { margin-top: 10px; }
.mt-5 { margin-top: 5px; }
.mr-5 { margin-right: 5px; }
.mr-10 { margin-right: 10px;}
.mb-20 { margin-bottom: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-45 { margin-bottom: 45px; }
.ml-5 { margin-left: 5px; }

.mb-5 { margin-bottom: 5px;}
.p-10 { padding: 10px;}
.p-5 { padding: 5px; }
.p-0 { padding: 0px; }
.py-10 { padding-top: 10px; padding-bottom: 10px; }
.px-10 { padding-left: 10px; padding-right: 10px; }
.px-5 { padding-left: 5px; padding-right: 5px; }
.pr-5 { padding-right: 5px; }
.pr-10 { padding-right: 10px; }
.pl-10 { padding-left: 10px; }
.pb-20 { padding-bottom: 20px; }
.pb-40 { padding-bottom: 40px; }
.pt-10 { padding-top: 10px; }
.pt-45 { padding-top: 45px; }
.d-flex { display: flex; }
.flex-grow { flex-grow: 1; }
.flex-shrink { flex-shrink: 1; }
.flex-basis-0 { flex-basis: 0; }
.justify-start { justify-content: start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: end; }
.justify-around { justify-content: space-around; }
.justify-between { justify-content: space-between; }
.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.items-center { align-items: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.card-10 { box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.25); }
.bg-white { background-color: white;}
.bg-light-white { background-color: rgba(255, 255, 255, 0.5);}


.border-t-1 { border-top-width: 1px; border-style: solid;}
.border-r-1 { border-right-width: 1px; border-style: solid; }
.border-b-1 { border-bottom-width: 1px; border-style: solid; }
.border-l-5 { border-left-width: 5px; border-style: solid;}

.border-1 { border-width: 1px; border-style: solid;}
.border-black {
  border-color: black
}

.text-red { color: red; }
.text-red-light { color: rgb(252, 48, 48); };
.text-orange { color: orange; }
.text-oranged { color: orangered; }
.text-green { color: green; }
.text-yellow { color: yellow; }

.card-5 {
  box-shadow: 0px 0px 5px  rgba(0, 0, 0, 0.12);
}

.font-bold { font-weight: bold; }
.font-familly-sans-serif { font-family: sans-serif; }

.etk-dxdatagrid-export-btn .dx-button {
  font-size: 18px;  /* Adjust to your desired size */
  padding: 10px 20px;  /* Adjust padding if necessary */
}


.border-color-rd-0 { border-color: rgba(23, 40, 55, 0.25); }
.border-color-rd-1 { border-color: rgba(89, 96, 104, 0.25); }
.border-color-rd-2 { border-color: rgba(12, 13, 37, 0.25); }
.border-color-rd-3 { border-color: rgba(9, 41, 51, 0.25); }
.border-color-rd-4 { border-color: rgba(13, 16, 54, 0.25); }
.border-color-rd-5 { border-color: rgba(18, 49, 141, 0.25); }
.border-color-rd-6 { border-color: rgba(13, 27, 66, 0.25); }
.border-color-rd-7 { border-color: rgba(37, 80, 124, 0.25); }
.border-color-rd-8 { border-color: rgba(11, 13, 28, 0.25); }
.border-color-rd-9 { border-color: rgba(5, 9, 47, 0.25); }
.border-color-rd-10 { border-color: rgba(11, 14, 116, 0.25); }
.border-color-rd-11 { border-color: rgba(7, 9, 148, 0.25); }
.border-color-rd-12 { border-color: rgba(11, 60, 89, 0.25); }
.border-color-rd-13 { border-color: rgba(7, 11, 52, 0.25); }
.border-color-rd-14 { border-color: rgba(17, 37, 67, 0.25); }
.border-color-rd-15 { border-color: rgba(9, 36, 122, 0.25); }
.border-color-rd-16 { border-color: rgba(1, 2, 5, 0.25); }
.border-color-rd-17 { border-color: rgba(2, 28, 83, 0.25); }
.border-color-rd-18 { border-color: rgba(97, 102, 109, 0.25); }
.border-color-rd-19 { border-color: rgba(48, 55, 56, 0.25); }

.chart-container {
  width: 100%;
}
#dashboard-charts {
  margin: auto;
  max-width: 297mm;
}

#allChartsTitle {
  text-align: center !important; /* Center the text horizontally */
  justify-content: center !important; /* Center the text horizontally */
  align-items: center !important; /* Center the text vertically */
}

.sidebar {
  position: fixed;
  top: 58px; /* Décalage depuis le haut */
  left: 0;
  width: 180px; /* Largeur par défaut */
  height: calc(100vh - 62px); /* Hauteur complète moins l'espace en haut */
  background-color: #f4f4f4;
  overflow: hidden;
  transition: transform 0.3s ease; /* Animation fluide */
  z-index: 1000;
  padding-top: 60px;
  padding-left: 20px;
  transform: translateX(-100%);
  padding-right: 15px; /* Charlemagne */
  padding-left: 5px; /* Charlemagne */
}
.sidebar:not(.collapsed) {
  transform: translateX(0); /* Visible quand non collapsed */
}


.dashboard-container {
  position: relative;
  height: 100vh;
  width: 100vw;
  padding: 0;
  overflow: hidden;
  
}

.sidebar.collapsed ~ .map-container {
  left: 0;
}

#sidebar-content .dx-list-item.dx-state-hover,
#sidebar-content .dx-list-item.dx-state-active,
#sidebar-content .dx-list-item.dx-state-focused {
  background-color: #E98A25 !important;
  transition: background-color 0.3s ease;
}



/* Couleur de sélection */
#sidebar-content .dx-list-item.dx-list-selected {
  background-color: #E98A25 !important;
  border-left: 4px solid #FFFFFF;
}

/* Animation de clic */
#sidebar-content .dx-list-item:active {
  transform: scale(0.98);
  opacity: 0.9;
}




.dx-button.dx-state-hover,
.dx-button.dx-state-focused {
  background-color: #E98A25 !important;
  border-color: #E98A25 !important;
}




.radio-icon {
  display: inline-flex;
  flex-direction: column; /* Empile l'icône et le texte verticalement */
  align-items: center; /* Centre horizontalement */
  gap: 6px; /* Espace entre l'icône et le texte */
  padding: 12px 15px; /* Ajustement du padding */
}

.map-icon-text {
  font-size: 0.8em;
  font-weight: 500;
  color: #10b80a;
  white-space: nowrap;
}

.radio-icon.selected .map-icon-text {
  color: white; /* Couleur du texte quand sélectionné */
}

.radio-icon {
  padding: 10px;
  border: 2px solid #dee2e6;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.radio-icon.selected {
  border-color: #E98A25;
  background-color: #E98A25;
  color: white;
}

.radio-icon:hover {
  background-color: #e9ecef;
  color: #E98A25; /* Charlemagne */
  cursor: pointer; /* Charlemagne */
  /* Charlemagne */
  .map-icon-text {
    color: #E98A25; 
  }
}

.radio-icon i {
  font-size: 1.4em;
}

.dx-map {
  height: 100% !important;
  width: 100% !important;
}

.z-2000 {
  z-index: 2000;
}

.toggle-sidebar {
  position: absolute; /* Charlemagne */
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
  background-color: #ffffff;
  width: 25px;
  height: 55px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: none;
  color: rgb(7, 7, 7);
  font-size: 22px;
  font-weight: 600;
  border-top-right-radius: 10px; /* Arrondir le coin supérieur droit */
  border-bottom-right-radius: 10px; /* Arrondir le coin inférieur droit */
}

.toggle-sidebar::before {
  content: "‹";
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.toggle-sidebar.collapsed::before {
  content: "›";
}

.toggle-sidebar:hover {
  background-color: #E98A25;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transform: translateY(-50%) scale(1.1);
}

.toggle-sidebar:active {
  transform: translateY(-50%) scale(0.95);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.toggle-sidebar.collapsed {
  left: 0;
  background-color: rgba(255, 255, 255, 0.9);
}

.toggle-sidebar.collapsed:hover {
  background-color: #E98A25;
  color: white;
}

/* Ajout d'une légère rotation pour l'effet d'ouverture/fermeture */
.toggle-sidebar:not(.collapsed)::before {
  transform: rotate(-10deg);
}

.toggle-sidebar.collapsed::before {
  transform: rotate(10deg);
}

.toggle-sidebar:hover::before {
  transform: rotate(0deg) scale(1.2);
  opacity: 0.9;
}

#static-map-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#static-map-container.visible {
  opacity: 1;
}

#static-map-container.visible #static-map-image {
    transform: scale(1);
}

#static-map-image {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
  border-radius: 8px;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

#map-content {
  position: absolute !important;
  top: 2px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  opacity: 1;
}

.map-container {
  position: relative;
  left: 182px; 
  height: 100vh;
  transition: left 0.3s ease;

  height: calc(100vh - 60px - 0px) !important; 
  z-index: 0;
  margin-left: -25px; /* Charlemagne */
  margin-right: -25px; /* Charlemagne */
  margin-top: -25px; /* Charlemagne */
}


/* Cartes imbriquées */  
.map-container > div {
  position: absolute;
  top: 5px;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s ease;
}

#asset-search {
  position: absolute;
  left: 20px;
  z-index: 1000;
  padding: 8px;
  width: 250px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.search-container {
  position: relative;
  margin: 10px;
  max-width: 250px;
}

.search-results {
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px#E98A25;
  display: none;
  top: 40px;
  left: 20px;
  position: relative;
  z-index: 1001 !important;

}

.search-results img {
  width: 16px !important;
  height: 16px !important;
}
.search-item {
  padding: 8px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.search-item:hover {
  background-color: #f8f9fa;
}

.result-number {
  font-weight: bold;
  color: #E98A25;
  margin-bottom: 4px;
}

.result-address {
  font-size: 0.9em;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.no-results {
  padding: 8px;
  color: #666;
  text-align: center;
}


/* Déplacer le bouton "Map/Satellite" */
.gm-style-mtc {
  right: -320px !important;
  
}

/* Déplacer les boutons de zoom */
/* Changer la couleur des icônes d'édition */
.dx-icon-edit::before {
  color: #2130bb  !important;
}

/* Pour les versions récentes utilisant des SVG */
.dx-datagrid-edit-button svg.dx-icon-edit {
  fill: #2130bb  !important;
}
/* Pour l'icône de recherche standard */
.dx-icon-search::before {
  color: #E98A25 !important;
}

/* Version SVG (composants modernes) */
.dx-icon-search svg {
  fill: #E98A25 !important;
}

/* Si c'est dans une barre de recherche spécifique (comme dans DataGrid) */
.dx-datagrid-search-panel .dx-icon-search::before {
  color: #E98A25 !important;
}

/* Pour les champs de recherche de type TextBox */
.dx-texteditor-container .dx-icon-search::before {
  color: #E98A25 !important;
}

/* Centrer tout le contenu des cellules */
.dx-datagrid .dx-datagrid-content .dx-row > td {
  vertical-align: middle !important;
}

.dx-datagrid-pager {
  min-height: 40px !important;
}

.gm-style .gm-style-iw {
  font-weight: 300;
  font-size: 13px;
  overflow: hidden;
}

.gm-style {
  font: 400 11px Roboto, Arial, sans-serif;  
  text-decoration: none;
}

.gm-style .gm-style-iw-a {
  position: absolute;
  width: 9999px;
  height: 0;
}

.gm-style .gm-style-iw-t {
  position: absolute;
  width: 100%;
}

.gm-style .gm-style-iw-c {
  position: absolute;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow: hidden;
  top: 0;
  left: 0;
  -webkit-transform: translate3d(-50%,-100%,0);
  transform: translate3d(-50%,-100%,0);
  background-color: white;
  border-radius: 8px;
  padding: 12px;
  padding-top: 12px;
  -webkit-box-shadow: 0 2px 7px 1px rgba(0,0,0,.3);
  box-shadow: 0 2px 7px 1px rgba(0,0,0,.3);
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  flex-direction: column;
}

.gm-style-iw-chr {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  height: 18px; /* Charlemagne */
}

.gm-style-iw-ch {
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  flex-grow: 1;
  -webkit-flex-shrink: 1;
  flex-shrink: 1;
  padding-top: 17px;
  overflow: hidden;
}

.gm-ui-hover-effect {
  opacity: .6;
}

.gm-ui-hover-effect > span {
  background-color: #000;
}

.gm-style .gm-style-iw-d {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/*  */
.gm-style-iw {
  overflow: hidden !important;
  max-height: none !important;
  padding-bottom: 15px !important;
  padding-right: 15px !important;
}

.gm-style-iw > .gm-style-iw-d {
  overflow: hidden !important;
  max-height: none !important;
}

.gm-style-iw::-webkit-scrollbar {
  display: none !important;
}
/*  */

.gm-style .gm-style-iw-tc {
  -webkit-filter: drop-shadow(0 4px 2px rgba(178,178,178,.4));
  filter: drop-shadow(0 4px 2px rgba(178,178,178,.4));
  height: 12px;
  left: 0;
  position: absolute;
  top: 0;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 25px;
}

.gm-style-mtc-bbw {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

.gm-style-mtc-bbw .gm-style-mtc:first-of-type > button {
  border-start-start-radius: 2px;
  border-end-start-radius: 2px;
}

.gm-control-active > img:nth-child(1) {
  display: block;
}

.gm-style img {
  max-width: none;
}

.gm-control-active > img {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  display: none;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 50%;
  -webkit-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}

#map-type-container {
  margin: 0 auto;
  width: 50%;
}

#showPopupBtn {
  margin-left: 120px;
}
#map-container {
  width: 100%;
  height: 100%;
  position: relative;
}
#map {
  width: 100%;
  height: 100%;
  max-width: 1540px;
  max-height: 1200px;
  aspect-ratio: 1540 / 1200;
  margin: auto;
}
#info {
  bottom: 10px;
  left: 10px;
  background: white;
  padding: 5px;
  z-index: 1000;
}
.map-type-icons .radio-icon {
  cursor: pointer;
  padding: 5px;
}
.map-type-icons .selected {
  background-color: #e0e0e0;
}

#language-switcher:hover {
  background-color: rgba(0,0,0,.04);
  cursor: pointer;
}

/* Animation for blinking marker */
@keyframes blink-marker {
  0% { filter: brightness(2) drop-shadow(0 0 8px #fff); }
  50% { filter: brightness(0.7) drop-shadow(0 0 16px #2196f3); }
  100% { filter: brightness(2) drop-shadow(0 0 8px #fff); }
}
.leaflet-marker-icon.blinking {
  animation: blink-marker 1s infinite;
  z-index: 9999 !important;
}

#historyTabsContent {
  height: calc(100% - 45px); /* Adjust height to account for tabs */
  display: flex;
  flex-direction: column;
}

#history-page-actuelle-content, #history-nouvelle-page-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#grid-content, #device-list-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#grid-content .dx-datagrid-pager, #device-list-content .dx-datagrid-pager {
  flex-shrink: 0; /* Prevent pager from shrinking */
}

#summary {
  color: #f00;
}

#licenseButton {
  background-color: rgb(173, 173, 173) !important;
  color: white !important;
  opacity: 1.0;
}