/* Custom App CSS Below --------------------------------- */
/*Fonts ––––––––––––––––––––––––––––––––––––––––––––––––––*/
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');

/* Main Layout ––––––––––––––––––––––––––––––––––––––––––––––––––*/
body {
  background-color: white;
  color: black;
  margin: 0;
  padding: 0;
}

h1 {
  font-family: "Open Sans";
  font-weight: bold;
  letter-spacing: 2.1px;
  font-size: 40px;
  padding-left: 10px;
  padding-right: 10px;
  background-color: rgba(39, 116, 174, .9);
  color: white;
  padding-top: 15px;
  padding-bottom: 15px;
  text-align: center;
  border: 2px solid rgba(29, 96, 154, 1);
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

h3 {
  font-family: "Open Sans";
  font-weight: bold;
  letter-spacing: 1.7px;
  font-size: 25px;
  padding-left: 10px;
  padding-right: 10px;
  background-color: rgba(39, 116, 174, .9);
  color: white;
  padding-top: 10px;
  padding-bottom: 10px;
  border: 2px solid rgba(29, 96, 154, 1);
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

h2, h5 {
  font-family: "Open Sans";
  font-weight: bold;
  letter-spacing: 2.1px;
  font-size: 21px;
  padding-left: 10px;
  text-align: center;
}

h4 {
  font-family: "Open Sans";
  font-weight: bold;
  letter-spacing: 2.1px;
  font-size: 25px;
  padding-left: 10px;
  padding-right: 10px;
  background-color: rgba(39, 116, 174, .9);
  color: white;
  padding-top: 15px;
  padding-bottom: 15px;
  text-align: center;
  border: 2px solid rgba(29, 96, 154, 1);
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

h6 {
  font-family: "Open Sans";
  font-weight: bold;
  letter-spacing: 2.1px;
  font-size: 30px;
  padding-left: 10px;
  background-color: rgba(39, 116, 174, .9);
  color: white;
  padding-top: 15px;
  padding-bottom: 15px;
  border: 2px solid rgba(29, 96, 154, 1);
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

p {
  font-family: "Open Sans";
  font-weight: 400;
  font-size: 18px;
  padding-left: 10px;
}

a {
  font-family: "Open Sans";
  font-weight: 400;
  font-size: 18px;
}

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

.bg-grey-copy{
  background-color: #f9f9f9;
}

.text-padding{
  padding: 5px;
}

.hljs {
  background: white;
  color: black;
}

ul {
  list-style: none; /* Remove list bullets */
  padding: 0;
  margin: 0;
}

li {
  font-family: "Open Sans";
  padding-left: 50px;
  padding-bottom: 0px;
  color: black; /* Or a color you prefer */
  content: "-";
  font-weight: 400;
  font-size: 18px;
}

li:before {
  content: "-"; /* Insert content that looks like bullets */
  padding-right: 8px;
  color: black; /* Or a color you prefer */
}

/* Graph Layout ––––––––––––––––––––––––––––––––––––––––––––––––––*/
.div-for-charts{
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
}

#guage text {
  font-size: 20px;
  color:rgba(39, 116, 174, .9);
  font-family: "Open Sans";
  font-weight: bold;
}

#guage .jjZFEi .cAPXWV {
  font-size: 30px;
  color:rgba(39, 116, 174, .9);
  font-family: "Open Sans";
  font-weight: bold;
}

.div-for-title{
  /* display: flex;
  flex-direction: column; */
  /* height: 100vh; */
  width: 100%;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 40px;
  padding-bottom: 10px;
}

.div-for-warnings{
  color: red;
}

.required{
  border-color:red;
  border-width: 3px;
}

/* .modebar{
  display: none !important;
} */

#table-filters .dash-filter .input {
  color: red;
}

.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner input:not([type=radio]):not([type=checkbox]){
  color: red!important;
}

#histogram {
  flex-grow: 1 
}
#map-graph {
  flex-grow: 1 
}
.mapboxgl-canvas, .mapboxgl-map {
  min-width: 100%;
}
/* Graph Control Objects ––––––––––––––––––––––––––––––––––––––––––––––––––*/
.div-user-controls {
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 5px;
  padding-bottom: 10px;
  border: 2px solid #d6d6d6;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.div-user-controls h3 {
  font-size: 20px;
  white-space: nowrap;
}
.div-for-dropdown {
  padding-top: 12px;
  padding-bottom: 12px;
}

.div-for-radio {
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 18px;
}

.div-for-slider {
  width: 97%;
  text-align: center;
}
.logo {
  width: 100%;
  max-width: 325px;
  height: auto;
  padding-bottom: 20px;
  margin-left: 8px;
  margin-right: 8px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.warning {
  color: reds;
}

.Select-control, .Select-menu-outer, .Select-multi-value-wrapper, .select-up, .is-open .Select-control {
  background-color: white;
  color: black;
  
}

#bar-selector .Select-multi-value-wrapper{
  max-height: 82px;
  overflow-y: auto;
  margin: 0px 0px -3px 0px;
}

.Select-control{
  border: 0.5px solid #dbdbdb44;
}

.has-value.Select--single>.Select-control .Select-value .Select-value-label, .has-value.is-pseudo-focused.Select--single>.Select-control .Select-value .Select-value-label {
  color: black;
}
._dash-app-content {
  overflow-x: hidden;
  overflow-y: hidden;
  position: relative;
}
.has-value.Select--single>.Select-control .Select-value .Select-value-label, .has-value.is-pseudo-focused.Select--single>.Select-control .Select-value .Select-value-label{
  color: black;
  font-weight: 400;
  font-size: 14px;
}

._dash-undo-redo {
  display: none;
}

/* For Mobile Phones and small screens ––––––––––––––––––––––––––––––––––––––––––––––––––*/
@media only screen and (max-width: 768px) {
  .four, .eight {
      min-width: 100%;
 }
  h2, h3, p {
      text-align: left;
 }
  body {
      display: block;
      margin: 0px;
      overflow-y: scroll;
  }
  .div-for-charts {
      padding: 4px;
      /* padding-left: 55px;
      padding-right: 55px; */
      /* width: 100%; */
      /* text-align: center; */
 }

 .div-user-controls {
    padding: 4px;
    border: 2px solid #d6d6d6;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
 }
 
 .side-by-side{
    display: inline-block;
    width: 100%;
  }

   
 .side-by-side-right{
    display: inline-block;
    width: 100%;
    float:right;
  }
  .div-for-charts{
    margin: 0px;
  }
} 

/* hide scrollbar */
/* ::-webkit-scrollbar {
  display: none !important;  
} */

/* width */
::-webkit-scrollbar {
  width: 10px !important;
  display: block !important;
  background: rgba(39, 116, 174, .9) !important; 
}

/* Hide scrollbar for IE, Edge and Firefox */
 /* .container { 
  -ms-overflow-style: none;  /* IE and Edge 
  scrollbar-width: none;  /* Firefox 
} */

/* Track */
::-webkit-scrollbar-track {
  background: white !important; 
  border-radius: 5px !important;
  display: block !important;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgba(39, 116, 174, .9); 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #89ccff !important; 
}

.CalendarMonth_table td {
  padding: unset;  
}

/* styling for tabs */

.custom-tabs-container {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.custom-tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 0; /* remove divider line under tab headers */
}

.custom-tab {
  padding: 12px 18px;
  color: #586069;
  border: 1px solid #d1d5da;
  border-radius: 3px 3px 0 0;
  border-bottom: none;
  margin-right: 5px;
  margin-bottom: 0;
  white-space: nowrap;
  text-align: center;
  flex: 0 1 auto;  /* Allow tabs to grow/shrink based on content */
  min-width: min-content;  /* Set minimum width to content size */
  transition: all 0.3s ease;
  font-weight: bold;
  font-size: 1.2rem;  /* Increased font size */
  position: relative;
  z-index: 1;
}

/* Position the content properly relative to tabs */
.dash-tab-content {
  display: block !important;
  padding: 20px;
  border: none; /* remove border around tab content */
  background: white;
  position: relative;
  z-index: 0;
}

.custom-tab:hover {
  background-color: rgba(39, 116, 174, 0.1);
  cursor: pointer;
}

.custom-tab--selected {
  color: white;
  background-color: rgba(39, 116, 174, .9);
  border-color: #d1d5da;
  border-bottom: none;
  font-size: 1.2rem;  /* Ensure selected tab has same font size */
}

.custom-tab-filters--selected {
  color: white;
  background-color: rgba(39, 116, 174, .9);
  border-color: #d1d5da;
  border-bottom: none;
  font-size: 1.2rem;  /* Ensure selected tab has same font size */
}

.custom-tab-instructions--selected {
  color: white;
  background-color: rgba(39, 116, 174, .9);
  border-color: #d1d5da;
  border-bottom: none;
  font-size: 1.2rem;  /* Ensure selected tab has same font size */
}

/* Make sure tab content takes full width */
.custom-tab-content {
  padding: 16px;
  border: none; /* remove border around tab content */
  width: 100%;
  display: block;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Add a background color to the active tab */
.tab-content {
  display: block;
  visibility: visible !important;
  opacity: 1 !important;
}

.tab-content.active {
  display: block;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .custom-tab {
    padding: 8px 10px;
    font-size: 0.9rem;
  }
  
  .custom-tabs {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .custom-tab {
    flex: 1 0 auto;
    margin-bottom: 5px;
    border-radius: 3px;
  }
  
  .custom-tabs {
    flex-direction: column;
    width: 100%;
  }
}
