/*
Stylesheet for Marion County Stem map
james@jamesbetley.com
version .992
12.04.25
*/

body {
  font-size: 1em;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  color: steelblue;
  background: #031E51;
  margin: 0;
  padding: 0;
}

.title-container {
  margin: 5px;
  text-align: center;
  font-weight: 700;
}

.title {
  padding-left: 15px;
  color: #ffffff;

}

.parent {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 1px;
  grid-row-gap: 2px;
  width: 100%;
  }

/*not doing anything atm - eventually want to use to 
 add background color */
.navigation-div { 
  grid-area: 1 / 1 / 4 / 5;
  width: 100%;
}

.overlay-div {
  grid-area: 1 / 1 / 2 / 5;
}

.nav-one-div {
  grid-area: 2 / 1 / 3 / 5;
}
.nav-one-checkbox-div { 
  grid-area: 2 / 1 / 3 / 3; 
}
.nav-one-radio-div { 
  grid-area: 2 / 3 / 3 / 5; 
}

.nav-two-div {
  grid-area: 3 / 1 / 4 / 5;
}
.nav-two-legend-div { 
  grid-area: 3 / 1 / 4 / 4;
}
.nav-two-subject-div { 
  grid-area: 3 / 4 / 4 / 5;
  min-width: 0;
}

.main-div {
  grid-area: 4 / 1 / 6 / 5;
  display: flex;
}
.main-map-div { 
  grid-area: 4 / 1 / 6 / 4;
}

.sidebar-div { 
  grid-area: 4 / 4 / 6 / 5;
}
.main-info-div { 
  grid-area: 4 / 4 / 5 / 5;
  min-width: 0;
}
.main-analysis-div { 
  grid-area: 5 / 4 / 6 / 5;
  min-width: 0;
}

#navigation {
  display: contents;
}

#overlay-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 15px;
  margin-right: 15px;
  background-color: #ffffff;
  border: 1px solid rgba(192, 193, 199, 1);
  border-radius: .2rem;
  height: 25px;
}

.ctr {
  display: flex;
  align-items: center;
}

#overlay-title {
  font-size: 12px;
  font-weight: 600;
  margin-right:15px;
}

#nav-one {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 15px;
  margin-right: 15px;
}
#nav-one-checkbox-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
  margin-bottom: 5px;
  background-color: #ffffff;
  border: 1px solid rgba(192, 193, 199, 1);
  border-radius: .2rem;
  width: 100%;
  height: 30px;
}
#nav-one-radio-container {
  display:flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
  margin-bottom: 5px;
  background-color: #ffffff;
  border: 1px solid rgba(192, 193, 199, 1);
  border-radius: .2rem;
  width: 100%;
  height: 30px;
}

#nav-two {
  display: flex;
  align-items: center;
  margin-left: 15px;
  margin-right: 15px;
  margin-bottom: 5px;
}
#nav-two-legend-container {
  display:flex;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid rgba(192, 193, 199, 1);
  border-radius: .2rem;
  height: 25px;

}
#legend {
  align-items: center;
  font-size: 10px;
  padding-left: 15px;
  height: 25px;
  width: 600px;
}
#nav-two-subject-container {
  display:flex;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid rgba(192, 193, 199, 1);
  padding-right: 10px;
  border-radius: .2rem;
  width: 100%;
  height: 25px;
}

p {
  font-size: 12px;
  font-weight: 600;
  margin-left: 10px;
}

#main-map-container {
  border-radius: .2rem;
  margin-left:15px;
  background-color: rgba(192, 193, 199, .7);

}
.map {
  height: 800px;
  width: 800px;
  overflow: visible;
  float: left;
  z-index: 97;
}

#sidebar-container {
  margin-left: 5px;
  margin-right: 15px;
}

#main-info-container {
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
  background-color: #ffffff;
  border: 1px solid rgba(192, 193, 199, 1);
  border-radius: .2rem;
  height: 20%;
}

.info-table {
  font-size: 10px;
  border: 1px solid rgba(192, 193, 199, 1);
  width:94%;
  padding:3px;
  margin-bottom: 5px;
  height: 15px;
}

.info-table-header {
  font-weight: 700;
}

.info-table-tr {
  font-weight: 550;
}

.green-square {
  width: 20px;
  height: 20px;
  background-color: #03D166; /* #03C761 #06EF76*/
}

.red-square {
  width: 20px;
  height: 20px;
  background-color: #CC0307; /*  #F02024 */
}

.poly {
  transform: scale(0.7);
  transform-origin: top;
}

.poly-txt {
  transform: translateY(-4px);
}

#main-analysis-container {
  display: flex;
  justify-content: center;
  background-color: #ffffff;
  border: 1px solid rgba(192, 193, 199, 1);
  border-radius: .2rem;
  height: 75%;
  width: 100%;
}

.analysis-table {
  font-size: 10px;
  border: 1px solid rgba(192, 193, 199, 1);
  width:94%;
  padding:3px;
  margin-bottom: 5px;
  height: 15px;
}

caption {
  font-size: 14px;
  font-weight: 600;
  padding-bottom: 3px;
  padding-top: 3px;
}

.analysis-table-tr-header {
  height: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-align: center;
}

.analysis-table-tr-val {
  height: 15px;
  font-weight: 500;
  text-align: center;
}

.analysis-table-tr {
  justify-content: center;
  font-weight: 600;
  height: 20px;
}

.row {
  display:flex;
}

#program-search {
  width: 15em;
}

/* maplibre overrides */
/* override default to hide tip */
.maplibregl-popup-tip {
  display: none;
  width: 0px;
  height: 0px;
  box-shadow: none !important;
}

/* add popup table styling */
.maplibregl-popup table {
  border: 1px solid rgba(56,104,144, .5);
  padding: 5px; 
  font: 10px 'Inter', sans-serif;
  font-weight: bold;
  color: steelblue;
  text-align: center;
  width: 100%;
}

/* Popup styling */
#offerlist {
  text-align: left !important;;
}

#row-mid-line {
  position: relative;
  overflow: hidden;
  height: 10px;
}

#row-mid-line:before {
  content: '';
  position: absolute;
  bottom: 50%;
  left: 16%;
  width: 66%;
  height: 1px;
  background-color: steelblue;
}

.optext {
  font-size: 10px;
}

select {
  background: none;
  border: 1px solid #b4b4b4;
  border-radius: .5rem;
  box-sizing: border-box;
  color: steelblue;
  font-size: .75rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

#subjectSelect  {
  margin-left: 25px;
  padding: .3rem .3rem;
  background-color: #ffffff;
  height: 25px;
  width: 50%;
}

select option {
  color: steelblue;
}

select:hover {
  background-color: #c0c1c7;
}

select:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

#multi-checkbox-title {
  font-size: 12px;
  font-weight: 600;
  margin-right: 5px;
}

/* multiselect checkbox labels */
.multiselect-dropdown label {
  font-size: 10px;
} 

/* Basic Checkboxes */
/* Multi-checkbox styling is in multiselect-dropdown.js */
.checkbox-wrapper *,
.checkbox-wrapper ::after,
.checkbox-wrapper ::before {
  box-sizing: content-box;  /* border-box */
}
.checkbox-wrapper .cbx {
  position: relative;
  margin-left: 8px;
  display: block;
  float: left;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid #b4b4b4;
  transition: all 0.15s ease;
}
.checkbox-wrapper .cbx svg {
  position: absolute;
  top: 3px;
  left: 3px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: #fff;
  stroke-width: 2;
  stroke-dasharray: 17;
  stroke-dashoffset: 17;
  transform: translate3d(0, 0, 0);
}
.checkbox-wrapper .cbx + span {
  float: left;
  margin-left: 3px;
}
.checkbox-wrapper {
  user-select: none;
}
.checkbox-wrapper label {
  display: inline-block;
  cursor: pointer;
  font-size: 11px;
  line-height: 18px
}
.checkbox-wrapper input[type="checkbox"] {
  display: none;
  visibility: hidden;
}
.checkbox-wrapper input[type="checkbox"]:checked + .cbx {
  background-color: #606062;
  background-image: linear-gradient(#255cd2, #1d52c1);
}
.checkbox-wrapper input[type="checkbox"]:checked + .cbx svg {
  stroke-dashoffset: 0;
  transition: all 0.15s ease;
}

/* Radio Buttons */
.radio-wrapper input[type=radio] {
  display: none;
  appearance: none;
}
.radio-wrapper input[type=radio] + label {
font-size: 11px;
font-weight: 600;
}
.radio-wrapper input[type=radio] + label:before {
  content: "";
  background: #f4f4f4;
  border-radius: 100%;
  border: 1px solid #b4b4b4;
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  position: relative;
  top: -0.1em;
  margin-right: .2em;
  margin-left: .8em;
  vertical-align: middle;
  cursor: pointer;
  text-align: center;
  /* transition: all 250ms ease; */
}
.radio-wrapper input[type=radio]:checked + label:before {
  background-color: #3197EE;
  box-shadow: inset 0 0 0 4px #f4f4f4;
}
.radio-wrapper input[type=radio]:checked + label {
  font-weight: 800;
}

.radio-wrapper input[type=radio]:focus + label:before {
  outline: none;
  border-color: #3197EE;
}
.radio-wrapper input[type=radio]:disabled + label:before {
  box-shadow: inset 0 0 0 4px #f4f4f4;
  border-color: #b4b4b4;
  background: #b4b4b4;
}
.radio-wrapper input[type=radio] + label:empty:before {
  margin-right: 0;
}