@font-face {
  font-family: 'Font Awesome 5 Pro';
  font-style: normal;
  font-weight: 900;
  font-display: auto;
  src: url("webfonts/fa-solid-900.eot");
  src: url("webfonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), 
  url("webfonts/fa-solid-900.woff2") format("woff2"), 
  url("webfonts/fa-solid-900.woff") format("woff"), 
  url("webfonts/fa-solid-900.ttf") format("truetype"), 
  url("webfonts/fa-solid-900.svg#fontawesome") format("svg"); }

@font-face {
  font-family: 'Font Awesome 5 Pro';
  font-style: normal;
  font-weight: 400;
  font-display: auto;
  src: url("webfonts/fa-regular-400.eot");
  src: url("webfonts/fa-regular-400.eot?#iefix") format("embedded-opentype"), 
  url("webfonts/fa-regular-400.woff2") format("woff2"), 
  url("webfonts/fa-regular-400.woff") format("woff"), 
  url("webfonts/fa-regular-400.ttf") format("truetype"), 
  url("webfonts/fa-regular-400.svg#fontawesome") format("svg"); }

.far {font-family: 'Font Awesome 5 Pro';font-weight: 400; }
.fa, .fas {font-family: 'Font Awesome 5 Pro'; font-weight: 900; }
    
    

    /*Removes black border around the map frame*/
    .esri-view .esri-view-surface--inset-outline:focus::after{
      outline: none!important;
    }
    
    html, body {
      margin: 0px;
      height: 100%;
      width: 100%;
    }

    #map_canvas {
      height: 100%;
      width: 100%;
      position: absolute;
      top: 0px;
      left: 0px;
      background-color: #F5FFFA;
    }


    #overviewDiv {
      visibility: hidden;
      position: absolute;
      bottom: 70px;
      right: 40px;
      width: 300px;
      height: 200px;
      border: 2px solid black;
      z-index: 997;
      overflow: hidden;
    }

    .overviewMapShrunk {
      top: 209px!important;
      right: 5%!important;
      width: 150px!important;
      height: 100px!important;
    }

    #extentDiv {
      visibility: hidden;
      background-color: rgba(0, 0, 0, 0.5);
      position: absolute;
      z-index: 998;
    }

    #overviewDiv.show {
      visibility: visible;
      position: absolute;
      bottom: 70px;
      right: 40px;
      width: 300px;
      height: 200px;
      border: 2px solid black;
      z-index: 997;
      overflow: hidden;
      -webkit-animation: fadein 2.0s;
      animation: fadein 2.0s;
    }

    #extentDiv.show {
      visibility: visible;
      background-color: rgba(0, 0, 0, 0.5);
      position: absolute;
      z-index: 998;
      -webkit-animation: fadein 2.0s;
      animation: fadein 2.0s;
    }

    #overviewMapSnackbar {
      visibility: hidden;
      width: 200px;
      bottom: 110px;
      right: 50%;
      background-color: #509B29; 
      color: white; /*white*/
      font-size: 16px;
      text-align: center;
      border-radius: 25px; /*rounded edges*/
      padding: 10px;
      position: fixed;
      opacity: 0.9;
      z-index: 9999; /*make sure snackbar appears on top*/
    }

    #overviewMapSnackbar.show{
      visibility: visible;
      -webkit-animation: overviewMapSBFadeIn 0.5s, overviewMapSBFadeOut 0.5s 4s;
      animation: overviewMapSBFadeIn 0.5s, overviewMapSBFadeOut 0.5s 4s;
    }

    /* Animations to fade the snackbar in and out */
    @-webkit-keyframes overviewMapSBFadeIn {  /*Safari 4.0-8.0*/
        from {bottom: 0; opacity: 0;} 
        to {bottom: 110px; opacity: 0.7;}
    }

    @keyframes overviewMapSBFadeIn { /*Standard*/
        from {bottom: 0; opacity: 0;}
        to {bottom: 110px; opacity: 0.7;}
    }

    @-webkit-keyframes overviewMapSBFadeOut { /*Safari 4.0-8.0*/
        from {bottom: 110px; opacity: 0.7;} 
        to {bottom: 0; opacity: 0;}
    }

    @keyframes overviewMapSBFadeOut { /*Standard*/
        from {bottom: 110px; opacity: 0.7;}
        to {bottom: 0; opacity: 0;}
    }


    #selectedAmenities {
      /*visibility: hidden;*/
      width: 200px!important;
      height: 200px;
      position: absolute;
      bottom: 50px!important;
      left: 400px!important;
      display: flex;
      justify-content: flex-end;
      flex-direction: column;
    }

    #selectedAmenities > #wayneCountyOwnedLabel {
      width: 150px;
      margin: 5px;
      color: white;
      background-color: #509B29;
      display: none;
    }

    #selectedAmenities > div {
      width: 28px;
      padding: 5px;
      margin: 2px;
      color: white;
      /* background-color: rgb(49, 49, 49); */
    }

    #topMenuDropdown{
      width: 300px;
    }

    .goToLocation i{
      margin: 0px!important;
      padding-left: 2px!important;
    }

    .aboutApplication i{
      margin: 0px!important;
      padding-left: 5px!important;
    }

    #shrunkSearch{
      display: none; /*hidden when screen width is greater than 650*/
    }

    #clearFiltersButton {
      position: absolute;
      top: 60px;
      left: 15px;
      z-index: 999;
      background-color: #008080; 
      color: white;
      font-size: 14px;
    }

    .pusher > .ui.basic.segment{
      position: absolute;
      top: 50px;
      left: 0px;
      height: 100%!important;
      width: 20%;
      background-color: rgba(255,255,255, 0.0);
    }

    /*Button to show or hide results*/
    #moveResults{
      visibility: hidden;
      position: absolute;
      top: 300px; 
      left: 285px;
      padding-top: 5px;
      padding-bottom: 5px;
      border-radius: 5px; /*rounded edges*/
      color: white;
      background-color: #685B41;
    }

    #moveResults.show{
      visibility: visible;
    }

    /*Results Segment for displaying search results*/
    #resultsSegment{
      visibility: hidden;
      position: absolute;
      top: 50px;
      left: 0px;
      height: 95%;
      width: 16%;
      z-index: 998;
      
      /*background-color: rgba(255,255,255, 0.0);
      color: black;
      overflow: auto;*/
      /*Add animation: Take 1.0 seconds to fade in and out the results segment.
      -webkit-animation: fadeout 1.0s;
      animation: fadeout 1.0s;*/
    }

      /*Results Segment in its native position */
    .rs_home{
      visibility: hidden;
      position: absolute;
      top: 50px;
      left: 0px;
      height: 95%!important;
      width: 16%;
      z-index: 998;
      transition: left 0.35s ease-in;
    }

    /*Results Segment in its position when "pushed" by the sidebar*/
    .rs_animate{
      visibility: hidden;
      position: absolute;
      top: 50px!important;
      left: 350px!important;
      height: 95%!important;
      width: 16%;
      z-index: 998;
      transition: left 0.35s ease-in;
    }

    


    #resultsHeader{
      visibility: hidden;
      width: 100%;
      height: 60px;
      padding-bottom: 0px!important;
      margin-bottom: 0px!important;
    }

    .resultsContent{
      display: block;
      background-color: rgba(255,255,255,0.8)!important;
      height: calc(100vh - 50px)!important;
      overflow-y: auto;
      overflow-x: hidden;
      margin-top: 0px!important;
      border-right: 1px solid #509B29!important;
    }

    .resultsContent.hide{
      display: none;
      background-color: rgba(255,255,255,1.0)!important;
    }


    /*Results Segment when added to the page*/
    #resultsSegment.show {
      visibility: visible;

      /*Add animation: Take 1.0 seconds to fade in and out the results segment.*/
      -webkit-animation: fadein 1.0s;
      animation: fadein 1.0s;
      min-width: 300px!important;
    }

    #resultsHeader.show{
      visibility: visible;
      width: 100%;
      height: 60px;
      background-color: #509B29!important;
      border-top-right-radius: 10px 25%;         /*curved edges*/
      padding-left: 24px!important;
      padding-bottom: -13px!important;
      margin-bottom: -13px!important;
      margin-top: 15px;
      -webkit-animation: fadein 1.0s;
      animation: fadein 1.0s;
    }

    #resultsHeader h2{
      color: white;
    }

    .resultsDiv{
      background-color: #F0F0F0;
      color: white;
      border: white solid 3px !important;
    }

    .resultsDiv:hover {
      border: #509B29 solid 3px !important;
    }


    /* Animations to fade the Results Segment in and out */
    @-webkit-keyframes fadein {
        from {opacity: 0;} 
        to {opacity: 1.0;}
    }

    @keyframes fadein {
        from {opacity: 0;}
        to {opacity: 1.0;}
    }

    /* Animations to fade the Results Segment in and out */
    @-webkit-keyframes fadeout {
        from {opacity: 1.0;} 
        to {opacity: 0;}
    }

    @keyframes fadeout {
        from {opacity: 1.0;}
        to {opacity: 0;}
    }

    /*Turn shutit "x" icon red on hover*/
    .shutit:hover {
        color: red;
        cursor: pointer;
    }

    .sm-shutit:hover{
      color: red;
      cursor: pointer;
    }

    .shutRecPro:hover{
      color: red;
      cursor: pointer;
    }

    /*Styling the popup content when a park is clicked*/
    .parkLocation{
      font-style: italic;
    }

    .parkWebLink{
      overflow-wrap: break-word; /* Added to correct instances where URL spills outside of DIV*/
    }
    
    .parkTypeCards .card .content{
      color: #000;
      /* padding-left: .25em!important;
	    padding-right: .25em!important; */
    }
    
    .parkTypeCards .card .content:hover{
      background-color: #509B29;
      color: white;
    }

    .feature-content{
      padding-top: 10px;
      padding-bottom: 50px;

      /* padding-right: 5px; */
      color: black;
      text-align: left;
      font-weight: normal;
    }

    .feature-icon {
      margin-bottom: 5px;
      font-size: 20px;
      position: absolute;
      left: 10%;
      top: 30%;
    }

    .feature-title {
      position: absolute;
      left: 30%;
      top: 30%;
      right: 10%;
      padding-left: 5px;
    }

    .feature-icon, .feature-title {
      display: inline-block;
      clear: both;
    }


    .sidebarToggleOptions{
      padding-left: .25em!important;
      padding-right: .25em!important;
      width: 276px;
    }

    .wayneCoOwnedSegment{
      margin-top: 20px!important;
    }

    #mapOptionsSegment{
      margin-top: 10px;
      padding-top: 10px;
    }
    
    #featuresLists{
	    padding-top: 0px!important;
    }
    
    
    .featureListGroup .ui.fitted.checkbox .box, .ui.fitted.checkbox label {
	    padding-left: 60px!important;
	}
	
	.featureListGroup .ui.compact.segment{
		width: 100%!important;
		position: relative!important;
	}
	
	.featuresMoreIcon{
		position: absolute; top: 16px; right: 8px; cursor: pointer;
	}
	
	.featuresMoreIcon:hover{
		color: #D50000;
	}

  #startupPopup .startupPopupHeader{
    color: black;
    text-align: center;
    font-size: 28px;
  }

  .resultsPopupHeader{
    color: black;
    text-align: center;
    font-size: 28px;
  }


#featuresBack {
  position: absolute;
  top: 7px;
  right: 8px;
}

[data-tooltip]:before {
  position: relative;
}

#trailsLegend {
  position: absolute;
  right: 5%;
  top: 7%!important;
  z-index: 9999;
  background-color: #F5F0F6;
  padding: 10px;
  filter: drop-shadow(5px 5px 7px gray);
  -webkit-animation: fadein 1.0s;
  animation: fadein 1.0s;
}

 .legend-title {
    text-align: left;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 90%;
    font-size: 16px;
    }

  .legend-scale .legend-labels {
    margin: 0;
    margin-bottom: 5px;
    padding: 0;
    float: left;
    list-style: none;
    }

  .legend-scale .legend-labels .legend-list {
    font-size: 80%;
    list-style: none;
    margin-left: 0;
    line-height: 18px;
    margin-bottom: 2px;
    }

 ul.legend-labels .legend-list .legend-box {
    display: block;
    float: left;
    height: 16px;
    width: 30px;
    margin-right: 5px;
    margin-left: 0;
    border: 1px solid #999;
    }

  #trailsLegendSnackbar {
    visibility: hidden;
    width: 200px;
    bottom: 70px;
    right: 50%;
    background-color: #509B29; 
    color: white; /*white*/
    font-size: 16px;
    text-align: center;
    border-radius: 25px; /*rounded edges*/
    padding: 10px;
    position: absolute;
    opacity: 0.9;
    z-index: 99999; /*make sure snackbar appears on top*/
  }

  #trailsLegendSnackbar.show{
    visibility: visible;
    -webkit-animation: trailsLegendSBFadeIn 0.5s, trailsLegendSBFadeOut 0.5s 4s;
    animation: trailsLegendSBFadeIn 0.5s, trailsLegendSBFadeOut 0.5s 4s;
  }

          /* Animations to fade the snackbar in and out */
    @-webkit-keyframes trailsLegendSBFadeIn {  /*Safari 4.0-8.0*/
        from {bottom: 0; opacity: 0;} 
        to {bottom: 70px; opacity: 0.7;}
    }

    @keyframes trailsLegendSBFadeIn { /*Standard*/
        from {bottom: 0; opacity: 0;}
        to {bottom: 70px; opacity: 0.7;}
    }

    @-webkit-keyframes trailsLegendSBFadeOut { /*Safari 4.0-8.0*/
        from {bottom: 70px; opacity: 0.7;} 
        to {bottom: 0; opacity: 0;}
    }

    @keyframes trailsLegendSBFadeOut { /*Standard*/
        from {bottom: 70px; opacity: 0.7;}
        to {bottom: 0; opacity: 0;}
    }

    #reserveBtn {
      margin-bottom: 20px;
      margin-top: 15px;
      width: 125px;
    }
    
    #contactParks {
      margin-bottom: 20px;
      margin-top: 15px;
      width: 250px;
    }

    #linkContainer, #iframeModal, #reserveBtnContainer {
      text-align: center;
    }

    #iframeModal {
      text-align: center;
      width: 850px;
    }

    i.rsvI {
      display: none;
    }

    span.rsv {
      line-height: 1.5;
    }

    #reserveBtn:hover span.rsv{
      display: none;
    }

     #reserveBtn:hover i.rsvI{
      display: block;
    }

    .aboutHeader {
      /*position: absolute;
      right: 250px;*/
      width: 100%
    }

    .aboutImage{
      padding-top: 20px;
    }

    #commSearchMobileHeader{
      display: none; /*hidden when screen width is greater than 650*/
    }

    #commSearchMobileSegment{
      display: none; /*hidden when screen width is greater than 650*/
    }

    #goToLocationButton{  /* This button is hidden when the screen width is greater than 650*/
      background-color: #3c5241;
      color: white;
    }



    @media only screen and (max-width: 850px){
      #info-modal{
        width: 95%!important;
      }

      .aboutHeader{
        font-size: 18px!important;
        /*left: 78px!important;
        width: 80%!important;*/
      }

      #iframeModal{
        width: 600px;
      }

      #reserveArea{
        width: 575px;
      }
    }

    /*Move Results Segment on mobile*/
    @media only screen and (max-width: 700px){
      #resultsSegment{
        position: fixed!important;
        width: 100%;
        top: 70%;
        left: 0%;
        background-color: saddlebrown;
        

        /*top: 400px;
        z-index: 9999;
        width: 100%*/
      }

      .resultsContent{
        height: calc(30vh)!important;
      }

      .resultsContent{
        width: 100%;
      }

      .resultsDiv{
        width: 100%!important;
      }

      #map_canvas{
        height: 70%!important;
      }

      #sidebarMain{
        height: 70%!important;
      }

      .aboutHeader{
        font-size: 18px!important;
        /*left: 60px!important;
        width: 80%!important;*/
      }

      /*#selectedAmenities{
        visibility: hidden!important;
      }*/

    }

    /*Move Results Segment on mobile (smaller screen)*/
    @media only screen and (max-width: 650px){
      #resultsSegment{
        position: fixed!important;
        left: 0;
        width: 100%;
        top: 70%!important;
        left: 0%!important;
        background-color: saddlebrown;

        /*top: 400px;
        z-index: 9999;
        width: 100%*/
      }

      .resultsContent{
        width: 100%;
      }

      .resultsDiv{
        width: 100%!important;
      }

      #map_canvas{
        height: 70%!important;
      }

      #sidebarMain{
        height: 70%!important;
      }

      #toggle{
        font-size: 20px!important;
        width: 350px!important;
      }

      #iframeModal{
        width: 475px;
      }

      #reserveArea{
        width: 450px;
      }

      


    }


    /*Adjustments for xs screens*/
    @media only screen and (max-width: 501px){

      #parkInfoPopup{
        width: 350px!important;
      }

      #iframeModal{
        width: 350px!important;
        height: 500px!important;
      }

      #municInfoPopup{
        width: 350px!important;
      }

      #toggle{
        left: -2%;
        width: 150px!important;
        font-size: 14px!important;
      }

      #sidebarTop .item .ui.fluid.image{
        height: 150px;
      }

    }
