#outerMapLegend{
        position: absolute;
        z-index: 1000;
        top:1rem;
        right:1rem;
        background-color: white;
        padding: 1rem;   
         display: none;      
}

@media (max-width: 720px) {
        #outerMapLegend{
                top:unset;
                bottom:1rem;
        }
}

#mapLegend,#speciesLegend{
        display: none;     
}

/* #baseMapLegend{
        position: absolute;
        z-index: 1000;
        bottom:1rem;
        right:1rem;
        background-color: white;
        padding: 1rem;    
} */
#speciesLegend{
        display: block; 
}

.legendTitle{
        font-size:1.5rem;
}
.legendSubtitle{
        font-size:1rem;
}      
.legendNote{
     font-variant: all-petite-caps;
     padding-top: -10px;
}
.legendLine, .speciesLegendLine{
        display:inline-block;
        height: 1.5rem;
        user-select: none;
}
.legendLineLeftMargin{
        margin-left:2.25rem;
}
/* .legendLineHasSwitch{
        margin-left:0.25rem;
} */
.legendLineLabel,.speciesLegendLine{      
        font-size:1rem;  
        position: relative;
        bottom:0.15rem;
        display:inline-block;    
        user-select: none;    
}
.legendColorBox{
        width:1rem;
        height:1rem;
        display:inline-block;
        border-radius: 0.25rem;
}
.legendColorLine{
        width:1.25rem;
        height:0.2rem;
        /* margin-top:0.625rem; */
        margin-bottom:0.35rem;
        display:inline-block;
        border-radius: 0.25rem;
}

.hoverContent>.legendColorLine{
        height:0.15rem;
        margin-bottom:0.2rem;  
        margin-right: 5px;
}

.legendSwitchLine, .speciesLegendSwitchLine{
/*        margin-bottom:0.25rem;*/
position: relative;
bottom:0.15rem;
}
.legendLineHover{
        cursor: pointer;
}
.moreInfoI{
        font-weight: bold;
        font-size: 0.65rem;
        vertical-align: super;
}

.legendColorBox.VeryHighUse{
        background-color: var(--VeryHighUse);        
}
.legendColorBox.HighUse{
        background-color: var(--HighUse);        
}
.legendColorBox.MediumUse{
        background-color: var(--MediumUse);        
}
.legendColorBox.LowUse{
        background-color: var(--LowUse);        
}
.legendColorBox.OneIndividual{
        background-color: var(--OneIndividual);        
}
.legendColorBox.WinterRange{
        background-color: var(--WinterRange);        
}
.legendColorBox.AnnualRange40{
        background-color: var(--AnnualRange40);        
}
.legendColorBox.AnnualRange50{
        background-color: var(--AnnualRange50);        
}
.legendColorBox.AnnualRange99{
        background-color: var(--AnnualRange99);        
}
.legendColorBox.Stopover{
        background-color: var(--Stopover);        
}
.legendColorBox.NeighboringHerds{
        background-color: var(--NeighboringHerds);        
}
.legendColorBox.designatedCorridor{
        background-color: var(--designatedCorridor);        
}
.legendColorBox.Footprint{
        background-color: var(--Footprint); 
        /* border: .15rem solid #000000; */
        box-shadow:inset 0px 0px 0px 1.25px #000000;
}
.legendColorLine.MigrationRoutes{
        background-color: var(--MigrationRoutes);        
}

.legendColorBox.Elk{
        background-color: var(--Elk);        
}

.legendColorBox.Pronghorn {
        background-color: var(--Pronghorn);        
}
.legendColorBox.Bison {
        background-color: var(--Bison);        
}
.legendColorBox.Moose {
        background-color: var(--Moose);        
}
.legendColorBox.MuleDeer {
        background-color: var(--MuleDeer);        
}
.legendColorBox.WhiteTailedDeer {
        background-color: var(--WhiteTailedDeer);        
}
.legendColorBox.LandOwnership {
        border-width: 2px; 
        /* border-color: transparent; */
        border-style: solid;      
        margin-left: 2.25rem; /* switch is width: 1.75rem; margin-right:0.25rem; */
       margin-right: 0.25rem;
        border-radius: 0; 
}

/* special case of .legendColorBox.LandOwnership, keep left  */
.blmLegendItem{
        margin-left: 0rem !important;
}

.legendColorBox.WhiteTailedDeer {
        background-color: var(--WhiteTailedDeer);        
}

/*--WinterRange: #4B7FC1; 
    --AnnualRange: #d7e205; 
    --Stopover: #231F20; 
    --Footprint: #CACACA; */

    

/* switch holder. The box around the switch */
.legendSwitch {
  position: relative;
  display: inline-block;
  width: 1.7rem;
  height: 0.8rem;
  margin-right:0.25rem;
  top:0.125rem;
  user-select: none;    
}
/* hides the default checkbox */
.legendSwitch input {
  opacity: 0;
  width: 0;
  height: 0;
}
/* background of the switch area */
.legendSlider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

/* this is the round item that slides */
.legendSlider:before {
  position: absolute;
  content: "";
  height: 0.65rem;
  width: 0.65rem;
  left: 0.125rem;
  bottom: 0.075rem;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}
/* color if checked  */
input:checked + .legendSlider {
  background-color: #1C476A;
}

/* Additional CSS for the disabled state */
.BLMInputSwitch:disabled .legendSlider {
        cursor: not-allowed !important;
        background-color: #e0e0e0; /* Change background color if desired */
      }

/* color if focused  */
input:focus + .legendSlider {
  box-shadow: 0 0 1px #1C476A;
}
/* the action when it slides  */
input:checked + .legendSlider:before {  
  transform: translateX(0.85rem);
}
/* Rounded sliders */
.legendSlider.round {
  border-radius: 34px !important;
}
.legendSlider.round:before {
  border-radius: 50% !important;
}
#currentZoom{
        height: 1rem;
        font-size: .75rem;
        font-weight: bold;
        text-align: right;
        float: right;
}

hr {
        display: block;
        height: 1px;
        border: 0;
        border-top: 1px solid #ccc;
        margin: 0.25em 0;
        padding: 0;
      }

      /* opacity/transparency slider */
#transparencySliderInfo{
        max-width:100%;
        margin-top: .65rem;
        display: flex;
        justify-content: left;
        font-size: small;
    }
#transparencySlider {
        /*    accent-color: var(--footprint_color);*/
        accent-color: #86878a; /* light enough? */
        cursor: -webkit-grab;
        height: .3rem;
        cursor: grab;
        vertical-align: baseline;
        width: 75%;
        /*    margin-left: 2rem;*/
}

 /* not working - reduce slider thumb size */
 /* input#transparencySlider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 5px !important;
        height: 5px !important;
      } 
#transparencySlider::-moz-range-thumb {
        width: 5px !important;
        height: 5px !important;
      }  */

#transparencySlider:active {
        height: .3rem;
        cursor: -webkit-grabbing;
        /* accent-color: var(--footprint_color); */
        accent-color: #86878a; /* light enough? */
        cursor: -webkit-grab;
        cursor: grab;
        vertical-align: baseline;
        width: 75%;
        /*    margin-left: 2rem;*/
}
 

#rangeValue{
        margin-left: .5rem;
        margin-top: -0.4rem;
/* vertical-align: baseline; */
}
#rangePercent{
        /*    margin-right: .5rem;*/
        margin-top: -0.4rem;
        /* vertical-align: baseline; */
}

#speciesLegend:not([style*="display: none"]) ~ #mapLegend .NeighboringHerds {
    display: inline-block !important;
    visibility: visible !important;
}

.childMigrationRouteContainer {
    display: block;
    width: 100%;
}

/* Prevent consecutive br tags from displaying in the legend */
#mapLegend br + br,
#speciesLegend br + br {
    display: none;
}