/***************************/
/*Root*/
:root {
    --dash-color-blue: #215083;
    --dashcli-fontsize: 12px;
    --dashcli-fontheight: 14px;
    --navbar-height: 60px; /* Default fallback */
    --extrapadding: 12px;
}

/***************************/
/*Keyframes*/
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/***************************/
/*Body*/
body {
    overflow: hidden;
}

/***************************/
/*Dashcontent*/

#dashcontent {
    display: flex;
    height: 100%; /*calc(100vh - 95px);*/
    padding: 0px;
    overflow: hidden;
    position: relative;
}

#dashcontent .ggdash-load {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    z-index: 1000;
    background-color: #ffffffa2;
    transition: all 0.5s;
}

#dashcontent .ggdash-load div.loader {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--chartbtncolor);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    position: absolute;
    animation: spin 1s linear infinite;
}

/***************************/
/*Dashbar*/

#dashbar {
    min-width: 250px;
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 1rem 2rem;
    width: 100%;
}

#dashbar .dashbar-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 0;
}

#dashbar .dashbar-section .dashbar-section-cont {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.0rem;
  border-radius: 50px;
  width: fit-content;
  overflow: visible;
}

#dashbar .dashbar-section .dashbar-section-label {
  font-size: var(--dashcli-fontsize);
  line-height: var(--dashcli-fontheight);
  color: var(--color_c1);
  font-weight: 600;
  margin: 0;
  padding-bottom: 0;           /* Overridden: was 0.8rem in first block */
  display: flex;
  align-items: center;
  white-space: nowrap;        /* Added from second block */
  font-family: 'Montserrat';
}

.dashbar-section-label {
  white-space: normal;       /* Allow text to wrap */
  word-break: break-word;    /* Break long words if needed */
  overflow-wrap: anywhere;   /* Support breaking anywhere */
}


#dashbar .dashbar-section .dashbar-section-label img {
    margin-right: 0.5rem;
    height: fit-content;
}

/***************************/
/*DropdownMenus*/

.dashcli {
    min-height: 40rem;
    height: 100%;
    padding: 0rem 1rem;
}

.dashcli-dropdown {
    font-size: var(--dashcli-fontsize);
    line-height: var(--dashcli-fontheight);
    display: inline-block;
}

.dashcli-dropdown button.dropdown-toggle {
    /*width: 100%;*/
    position: relative;
    text-align: left;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    font-size: var(--dashcli-fontsize);
    line-height: var(--dashcli-fontheight);
    border-radius: 15px;
    white-space: inherit;
}

.dashcli-dropdown button.dropdown-toggle {
  position: relative;
  text-align: left;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  font-size: var(--dashcli-fontsize);
  line-height: var(--dashcli-fontheight);
  border-radius: 15px;

  /* From second block (overrides where applicable) */
  min-width: 0 !important;
  width: 100%;
  box-sizing: border-box;
  white-space: nowrap; /* Overrides white-space: inherit */
  text-overflow: ellipsis;
  overflow: hidden;
  flex-shrink: 1;
}

.dashcli-dropdown:not(.dashcli-button-dropdown) button.dropdown-toggle {
    border: none;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.dashcli-dropdown button.dropdown-toggle::after {
    top: 50%;
    position: absolute;
    right: 1rem;
    border-right: .5em solid transparent;
    border-left: .5em solid transparent;
    transition: all 0.2s;
}

.dashcli-dropdown:not(.dashcli-button-dropdown) button.dropdown-toggle::after {
    border-top: .5em solid var(--dash-color-blue);
}

.dashcli-dropdown button.dropdown-toggle.show::after {
    transform: rotate(180deg);
}

.dashcli-dropdown button.dropdown-toggle.show {
    background-color: #FFF;
    /*box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);*/
    box-shadow: none;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top: 1px solid var(--dash-color-blue);
    border-left: 1px solid var(--dash-color-blue);
    border-right: 1px solid var(--dash-color-blue);
    border-bottom: none !important;
    box-sizing: border-box;
}

.dashcli-dropdown button.dropdown-toggle .dropdown-toggle-label {
    display: none;
    font-size: 10px;
    line-height: 12px;
    text-overflow: ellipsis;
    width: 100%;
    overflow: hidden;
    color: #969696;
}

.dashcli-dropdown button.dropdown-toggle.show .dropdown-toggle-label {
    display: inherit;
}

.dashcli-dropdown button.dropdown-toggle .dropdown-toggle-val {
    display: inline-block;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.dashcli-dropdown button.dropdown-toggle .dropdown-toggle-val span.group {
    color: var(--color_c1);
}

.dashcli-dropdown button.dropdown-toggle.show .dropdown-toggle-val {
    display: none;
}

.dashcli-dropdown .dropdown-menu {
    /*width: 100%;*/
    font-size: var(--dashcli-fontsize);
    line-height: var(--dashcli-fontheight);
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border-top: none;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.2s;
    z-index: 9991;
    margin-top: 0px;

    border-right: 1px solid var(--dash-color-blue);
    border-left: 1px solid var(--dash-color-blue);
    border-bottom: 1px solid var(--dash-color-blue);

    overflow: auto;
}

.dashcli-dropdown .dropdown-menu .dropdown-item {
    white-space: inherit;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.dashcli-dropdown .dropdown-menu .dropdown-item:hover,
.dashcli-dropdown .dropdown-menu .dropdown-item.active {
    background: none;
    color: var(--dash-color-blue);
}

/*Accordion Not Being used for now */
.dashcli-dropdown .dropdown-menu .accordion-item {
    border: none;
}

.dashcli-dropdown .dropdown-menu .accordion-button {
    padding: 0.5rem 0rem;
    font-size: 12px;
    line-height: 14px;
    color: var(--color_c1);
    font-weight: bold;
}

.dashcli-dropdown .dropdown-menu .accordion-button:focus {
    box-shadow: none;
}

.dashcli-dropdown .dropdown-menu .accordion-button:not(.collapsed) {
    background: none;
    box-shadow: none;
}

.dashcli-dropdown .dropdown-menu .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23215083'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.dashcli-dropdown .dropdown-menu .accordion-body {
    padding: 0rem 0rem 0rem 0.5rem;
    list-style: none;
    margin-bottom: 0rem;
}

.dashcli-dropdown .dropdown-menu .accordion-body li.clivarsmenuitem {
    padding: 0.3rem 0rem;
    position: relative;
    cursor: pointer;
}

.dashcli-dropdown .dropdown-menu .accordion-body li.clivarsmenuitem a {
    color: inherit;
    text-decoration: none;
    padding-right: 22px;
}

.dashcli-dropdown .dropdown-menu .accordion-body li.clivarsmenuitem:hover a,
.dashcli-dropdown .dropdown-menu .accordion-body li.clivarsmenuitem.active a {
    color: var(--dash-color-blue);
}

.dashcli-dropdown .dropdown-menu .accordion-body li.clivarsmenuitem::after {
    content: ' ';
    width: 12px;
    height: 12px;
    position: absolute;
    border-radius: 50%;
    background-color: var(--dash-color-blue);
    opacity: 0.1;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.dashcli-dropdown .dropdown-menu .accordion-body li.clivarsmenuitem:hover::after {
    opacity: 0.3;
}

.dashcli-dropdown .dropdown-menu .accordion-body li.clivarsmenuitem.active::after {
    opacity: 0.8;
}

/***************************/
/*Map*/

.dashclidata-chart,
.dashclidata-map {
    margin: 0rem 0rem 1rem 0rem;
    width: 100%;
    height: calc(100% - 2rem);
    position: relative;
    border-radius: 15px;
}

.dashclidata-chart .dashclidata-chart-nodata {
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

}

.dashclidata-chart .dashclidata-chart-nodata p {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: var(--color_c1);
    text-align: center;
}

.row.dashcli {
  display: flex;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.dashcli.row > [class^="col-"],
.dashcli.row > [class*=" col-"] {
  padding-left: 0px;
  padding-right: 12px;
}

.col-lg-5 {
  flex: 5;
  min-width: 0;
  overflow: hidden;
  display: flex;
}

.col-lg-7 {
  flex: 7;
  min-width: 0;
  overflow: hidden;
  display: flex;
}

/***************************/
/* Main Content */
.maincontent {
  max-height: calc(100vh - var(--navbar-height) - var(--extrapadding));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  min-height: 0;
}

/***************************/
/* For smaller screens  */

.dropdown-menu {
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-top: 2px;
  min-width: 100px;
}

.dropdown-item {
  padding: 8px 12px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  display: block;
}

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

.dropdown-divider {
  height: 0;
  margin: 4px 0;
  overflow: hidden;
  border-top: 1px solid #dee2e6;
}

/* Utility classes */
.ms-auto {
  margin-left: auto;
}

/* Smooth transitions */

.dropdown-menu {
  transition: all 0.2s ease-in-out;
}


/***************************/
/* Media Query  */
/* XXXL: ≥1600px */
@media (min-width: 1600px) {
  .col-lg-5,
  .col-lg-7 {
    max-height: 82vh !important;
  }

  /*Dropdowns Solutions*/

  #dashbar {
    gap: 3rem;
  }

  #dashbar .dashbar-section {
    margin-top: 1rem;
    width: 100%;
  }

  #dashbar .dashbar-section .dashbar-section-cont {
    width: 100%;
  }

  #dashcli-datatype button.dropdown-toggle {
    max-width: none; 
  }

  #dashcli-zones button.dropdown-toggle {
    max-width: none;
  }

  #dashcli-levels button.dropdown-toggle {
    max-width: none; 
  }

  #dashcli-vars button.dropdown-toggle {
    max-width: none; 
  }



}

/* XXL: ≥1400px and <1600px */
@media (min-width: 1400px) and (max-width: 1599.98px) {
  .col-lg-5,
  .col-lg-7 {
    max-height: 80vh !important; 
  }

  .dashbar-section {
    min-width: 160px; /* Much smaller since no text */
  }

  #dashbar .dashbar-section {
    margin-top: 1rem;
  }
  
  .dashbar-section-label {
    justify-content: center; /* Center the icon */
  }


  /*Dropdowns Solutions*/
  #dashcli-datatype button.dropdown-toggle {
    max-width: 132px; 
  }

  #dashcli-zones button.dropdown-toggle {
    max-width: 115px;
  }

  #dashcli-levels button.dropdown-toggle {
    max-width: 160px; 
  }

  #dashcli-vars button.dropdown-toggle {
    max-width: 173px; 
  }

}

/* XL: ≥1200px and <1400px → 80% */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .col-lg-5,
  .col-lg-7 {
    max-height: 78vh !important; /* 1000 * 0.80 */
  }

  .nav-link {
    padding: 10px 16px;
    font-size: 14px;
  }

  #dashbar{
    padding: 1rem 12px;
  }

  .dashbar-section {
    min-width: 160px; /* Much smaller since no text */
  }

  #dashbar .dashbar-section {
    margin-top: 1rem;
  }
  
  .dashbar-section-label {
    justify-content: center; /* Center the icon */
  }

  #dashbar .dashbar-section .dashbar-section-cont{
    padding: 0.4rem 0.6rem;
    gap: 0.4rem;
  }

  #dashbar .dashbar-section .dashbar-section-label {
    font-size: 11px;
  }

  #dashbar .dashbar-section .dashbar-section-label img{
    margin-right: 0.2rem;
  }

  /*Dropdowns Solutions*/
  #dashcli-datatype button.dropdown-toggle {
    max-width: 132px; 
  }

  #dashcli-zones button.dropdown-toggle {
    max-width: 115px;
  }

  #dashcli-levels button.dropdown-toggle {
    max-width: 160px; 
  }

  #dashcli-vars button.dropdown-toggle {
    max-width: 173px; 
  }

}

/* LG: ≥1024px and <1200px */
@media (min-width: 1024px) and (max-width: 1199.98px) {
  .col-lg-5,
  .col-lg-7 {
    max-height: 80vh !important;
  }

  #dashbar {
    padding-top: 0px;
    flex-wrap: wrap;
    gap: 0px;
  }

  #dashbar .dashbar-section {
    margin-top: 1rem;
  }
  
  .dashbar-section-label {
    justify-content: center; /* Center the icon */
  }

  /*Dropdowns Solutions*/
  #dashbar .dashbar-section .dashbar-section-cont{
    flex-direction: column;
    align-items: flex-start;
    padding: 0.4rem 1.7rem;
    gap: 7px;
    padding-bottom: 6px;
  }

  .dashbar-section-label, .dashcli-dropdown{
    max-width: 210px !important;
    width: 100% !important;
  }

  #dashbar .dashbar-section .dashbar-section-label {
    justify-content: center;
  }

  /*Dropdowns Solutions*/
  #dashcli-datatype button.dropdown-toggle,
  #dashcli-datatype .dropdown-menu {
    max-width: 132px; 

    padding-top: 4px;
    padding-bottom: 5px;

  }

  #dashcli-zones button.dropdown-toggle,
  #dashcli-zones .dropdown-menu {
    max-width: 115px;

    padding-top: 4px;
    padding-bottom: 5px;

  }

  #dashcli-levels button.dropdown-toggle,
  #dashcli-levels .dropdown-menu {
    max-width: 170px;
    padding-top: 4px;
    padding-bottom: 5px;

  }


  #dashcli-vars button.dropdown-toggle,
  #dashcli-vars .dropdown-menu {
    max-width: 192px; 

    padding-top: 4px;
    padding-bottom: 5px;  

  }


  /*Left Map Buttons*/
  .ggclimate-chart .ggchart-tollbar .ggchart-tollbar-item{
    padding: 4px 6px;
  }

  .ggclimate-chart .ggchart-tollbar .ggchart-tollbar-item svg{
    width: 18px !important;
  }


  #dashbar .dashbar-section .dashbar-section-label img {
    height: auto;
    width: 18px;
    margin-right: 0.3rem;
  }

  .ggclimate-chart .ggchart-tabs .list-group-item{
    padding: 0.2rem 0.1rem !important;
  }

  .apexcharts-legend-text{
    font-size: 10px !important;
  }


}

/* MD: ≥768px and <1024px */
@media (min-width: 993px) and (max-width: 1023.98px) {
  .col-lg-5,
  .col-lg-7{
    max-height: 75vh !important;
  }

  .col-lg-7{
    overflow: visible;
  }


  /*dashbar*/

  #dashbar .dashbar-section .dashbar-section-cont {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 2.0rem;
    gap: 5px;
  }
  
  .dashbar-section-label {
    justify-content: center; /* Center the icon */
  }

  #dashbar .dashbar-section .dashbar-section-label{
    padding-bottom: 0rem;
  }
   
  #dashbar{
    gap: 0px;
  }

  #dashbar .dashbar-section {
    margin: 1rem 0.3rem;
  }

  .dashcli-dropdown:not(.dashcli-button-dropdown) button.dropdown-toggle {
    border: none;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  }

  /*Dropdowns Solutions*/
  #dashcli-datatype button.dropdown-toggle,
  #dashcli-datatype .dropdown-menu {
    max-width: 132px; 
  }

  #dashcli-zones button.dropdown-toggle,
  #dashcli-zones .dropdown-menu {
    max-width: 115px;
  }

  #dashcli-levels button.dropdown-toggle,
  #dashcli-levels .dropdown-menu {
    max-width: 160px; 
  }

  #dashcli-vars button.dropdown-toggle,
  #dashcli-vars .dropdown-menu {
    max-width: 173px; 
  }


  /*Left Map Buttons*/
  .ggclimate-chart .ggchart-tollbar .ggchart-tollbar-item{
    padding: 5px;
  }

  #dashbar .dashbar-section .dashbar-section-label img {
    width: 18px;
  }


}

@media(min-width: 769px) and (max-width: 992px){

  /*Cols*/
  .col-lg-5,
  .col-lg-7{
    max-height: 73vh !important;
  }

  .col-lg-7{
    overflow: visible;
  }


  /*Dashbar*/
  #dashbar{
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0px;
  }
  
  #dashbar .dashbar-section .dashbar-section-cont {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 2.0rem;
    gap: 5px;
  }

  /*Dropdowns Sections*/
  #dashbar .dashbar-section{
    margin: 0.5rem 0.2rem;
  }

  /*Dropdowns Labels*/
  #dashbar .dashbar-section .dashbar-section-label {
    width: 100%;
  }

  /*Dropdowns Solutions*/
  #dashcli-datatype button.dropdown-toggle,
  #dashcli-datatype .dropdown-menu {
    max-width: 132px; 
  }

  #dashcli-zones button.dropdown-toggle,
  #dashcli-zones .dropdown-menu {
    max-width: 115px;
  }

  #dashcli-levels button.dropdown-toggle,
  #dashcli-levels .dropdown-menu {
    max-width: 160px; 
  }

  #dashcli-vars button.dropdown-toggle,
  #dashcli-vars .dropdown-menu {
    max-width: 173px; 
  }


  /*Left Map Buttons*/
  .ggclimate-chart .ggchart-tollbar .ggchart-tollbar-item{
    padding: 5px;
  }
}

/* SM: ≥576px and <768px */
@media (min-width: 576px) and (max-width: 768px) {

  /*Scroll*/
  body {
    overflow-y: scroll;
  }

  .dropdown-lang svg {
    width: 18px;
    height: 18px;
  }

  #dashbar {
    flex-wrap: wrap;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0rem;
    gap: 0px;
  }

  #dashbar .dashbar-section {
    flex: 1 1 100%; /* Full width */
    min-width: unset;
  }

  #dashbar .dashbar-section .dashbar-section-cont {
    width: 100%;
    justify-content: space-between;
  }

  .dashcli-dropdown{
    width: fit-content !important;
  }

  /*Dropdowns Solutions*/
  #dashcli-datatype button.dropdown-toggle,
  #dashcli-datatype .dropdown-menu {
    width: 300px !important;
    max-width: unset;
  }

  #dashcli-zones button.dropdown-toggle,
  #dashcli-zones .dropdown-menu {
    width: 300px !important;
    max-width: unset;
  }

  #dashcli-levels button.dropdown-toggle,
  #dashcli-levels .dropdown-menu {
    width: 300px !important;
    max-width: unset;
  }

  #dashcli-vars button.dropdown-toggle,
  #dashcli-vars .dropdown-menu {
    width: 300px !important;
    max-width: unset;
  }

  /*Maps Responseveness*/
  .row.dashcli {
    display: flex;
    flex-direction: column;
    gap: 12px; /* optional: spacing between dropdowns */
    overflow: visible;
    height: auto;
    padding-bottom: 10px;
  }

  .col-lg-5,
  .col-lg-7 {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column; /* allow children to stack */
    overflow-y: visible;
  }

  .col-lg-5{
    max-height: 500px !important;    
  }

  .ggclimate-chart .ggchart-cont .ggchart-area {
    height: 95%;
  }

  .col-lg-7{
    max-height: 700px !important;
  }

  #dashcontent {
      display: flex;
      flex-direction: column;
      height: fit-content; /* or height: auto */
      padding: 0;
      overflow-y: scroll !important;
      position: relative;
  }

}

/* XS: <576px */
@media (max-width: 575.98px) {
  #dashbar {
    flex-wrap: wrap;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0rem;
    gap: 0px;
  }

  #dashbar .dashbar-section {
    flex: 1 1 100%; /* Full width */
    min-width: unset;
  }

  #dashbar .dashbar-section .dashbar-section-cont {
    width: 100%;
    justify-content: space-between;
  }

  .dashcli-dropdown{
    width: fit-content !important;
  }

  /*Dropdowns Solutions*/
  #dashcli-datatype button.dropdown-toggle,
  #dashcli-datatype .dropdown-menu {
    width: 190px !important;
    max-width: unset;
  }

  #dashcli-zones button.dropdown-toggle,
  #dashcli-zones .dropdown-menu {
    width: 190px !important;
    max-width: unset;
  }

  #dashcli-levels button.dropdown-toggle,
  #dashcli-levels .dropdown-menu {
    width: 190px !important;
    max-width: unset;
  }

  #dashcli-vars button.dropdown-toggle,
  #dashcli-vars .dropdown-menu {
    width: 190px !important;
    max-width: unset;
  }

  /*Maps Responseveness*/
  .row.dashcli {
    display: flex;
    flex-direction: column;
    gap: 12px; /* optional: spacing between dropdowns */
    overflow: visible;
    height: auto;
    padding-bottom: 20px;
  }

  .col-lg-5,
  .col-lg-7 {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column; /* allow children to stack */
    overflow-y: visible;
  }

  .col-lg-5{
    max-height: 450px !important;    
  }

  .ggclimate-chart .ggchart-cont .ggchart-area {
    height: 94%;
  }

  .col-lg-7{
    max-height: 450px !important;
  }

  #dashcontent {
      display: flex;
      flex-direction: column;
      height: fit-content; /* or height: auto */
      padding: 0;
      overflow-y: scroll !important;
      position: relative;
  }
}

/* Mobile menu: <480px */
@media (max-width: 479px) {

  #dashbar {
    flex-wrap: wrap;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0rem;
    gap: 0px;
  }

  #dashbar .dashbar-section {
    flex: 1 1 100%; /* Full width */
    min-width: unset;
    margin-left: 0px;
    margin-right: 0px;
  }

  #dashbar .dashbar-section .dashbar-section-cont {
    width: 100%;
    justify-content: space-between;
  }

  .dashcli-dropdown{
    width: fit-content !important;
  }

  /*Dropdowns Solutions*/
  #dashcli-datatype button.dropdown-toggle,
  #dashcli-datatype .dropdown-menu {
    width: 150px !important;
    max-width: unset;
  }

  #dashcli-zones button.dropdown-toggle,
  #dashcli-zones .dropdown-menu {
    width: 150px !important;
    max-width: unset;
  }

  #dashcli-levels button.dropdown-toggle,
  #dashcli-levels .dropdown-menu {
    width: 150px !important;
    max-width: unset;
  }

  #dashcli-vars button.dropdown-toggle,
  #dashcli-vars .dropdown-menu {
    width: 150px !important;
    max-width: unset;
  }

  /*Maps Responseveness*/
  .row.dashcli {
    display: flex;
    flex-direction: column;
    gap: 12px; /* optional: spacing between dropdowns */
    overflow: visible;
    height: auto;
    padding-bottom: 20px;
  }

  .col-lg-5,
  .col-lg-7 {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column; /* allow children to stack */
    overflow-y: visible;
  }

  .col-lg-5{
    max-height: 450px !important;    
  }

  .ggclimate-chart .ggchart-cont .ggchart-area {
    height: 94%;
  }

  .col-lg-7{
    max-height: 450px !important;
  }

  #dashcontent {
      display: flex;
      flex-direction: column;
      height: fit-content; /* or height: auto */
      padding: 0;
      overflow-y: scroll !important;
      position: relative;
  }
}

@media (max-width: 377px){

  .row.dashcli {
    padding-bottom: 30px;
  }



  #dashbar .dashbar-section {
      width: 108% !important;
      max-width: 108% !important;
  }

  #dashbar .dashbar-section .dashbar-section-label {
    font-size: 9px;
    width: fit-content;
  }

  /*Dropdowns Solutions*/
  #dashcli-datatype button.dropdown-toggle,
  #dashcli-datatype .dropdown-menu {
    width: 150px !important;
    max-width: unset;
  }

  #dashcli-zones button.dropdown-toggle,
  #dashcli-zones .dropdown-menu {
    width: 150px !important;
    max-width: unset;
  }

  #dashcli-levels button.dropdown-toggle,
  #dashcli-levels .dropdown-menu {
    width: 150px !important;
    max-width: unset;
  }

  #dashcli-vars button.dropdown-toggle,
  #dashcli-vars .dropdown-menu {
    width: 150px !important;
    max-width: unset;
  }

}

@media (max-width: 320px){

    #dashbar .dashbar-section {
        width: 115% !important;
        max-width: 115% !important;   
    }

    #dashbar .dashbar-section .dashbar-section-cont {
      gap: 3px !important;
      padding-left: 20px;
      padding-right: 20px;

      flex-direction: column;
      justify-content: flex-start;
    }

    #dashbar .dashbar-section-label span {
      font-size: 9px;
    }

    #dashbar .dashbar-section .dashbar-section-label {
      width: 100%;
      text-align: left;
      align-items: left;
    }

    .dashcli-dropdown {
        width: 100% !important;
    }

    /*Dropdowns Solutions*/
    #dashcli-datatype button.dropdown-toggle,
    #dashcli-datatype .dropdown-menu {
      width: 210px !important;
      max-width: unset;
    }

    #dashcli-zones button.dropdown-toggle,
    #dashcli-zones .dropdown-menu {
      width: 210px !important;
      max-width: unset;
    }

    #dashcli-levels button.dropdown-toggle,
    #dashcli-levels .dropdown-menu {
      width: 210px !important;
      max-width: unset;
    }

    #dashcli-vars button.dropdown-toggle,
    #dashcli-vars .dropdown-menu {
      width: 210px !important;
      max-width: unset;
    }

    #dashcli-levels button.dropdown-toggle {
      text-align: left;
      align-items: left;
    }



}
