html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

#viewDiv {
  position: absolute;
  right: 0;
  left: 0;
  top: 60px;
  bottom: 0;
  margin: 0;
}

.header {
  position: absolute;
  top: 0;
  width: 100%;
  height: 10%;
}



.banner-container {

  padding: 0px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  overflow: auto;
}

.banner {
  flex-grow: 4;
  background-color: #407cc9;
  margin: 0px;
  width: 80%;
  height: 60px;
  padding-top: 13px;
  overflow: auto;
  text-align: center;
  margin: auto;
  width: 100%;
  text-align: center;
  vertical-align: middle;
  color: white;
  font-weight: bold;
  font-size: 25px;
  /*background-image: url('./images/Park-Banner.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; */
}


.banner-content {
  flex-grow: 4;
  background-color: #407cc9;
  margin: auto;
  width: 100%;
  padding: 10px;
  overflow: auto;
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: 45px;
   /*opacity: 85%;
 text-shadow: 1px 1px #ee7622*/
}

.img-container {
  flex-grow: 0;
  margin: 1px;
  width: 20%;
  padding: 0px;
  overflow: hidden;
  text-align: center;

}

.esri-search__input:-ms-input-placeholder {
  color: #00827a;
}

.esri-search__input::-webkit-input-placeholder {
  color: #00827a;
}

.esri-search__submit-button {
  border-left: none;
  border-right: solid 1px #00827a;
}

.esri-search__sources-button {
  border-right: none;
  border-left: solid 1px #00827a;
}

.esri-menu .esri-menu__header {

  background-color: #ee7622 !important;

}



.esri-input {
  background-color: #ffffe6;
  border: 1px solid #ffffe6;
  color: #00827a;
  font-family: inherit;
  font-size: 14px;
}

.esri-widget--button {
  font-size: 14px;
  background-color: #ee7622;
  color: #fff;
  width: 32px;
  height: 32px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  transition: background-color 125ms ease-in-out;
}

.esri-menu__list-item--active, .esri-menu__list-item--active:hover, .esri-menu__list-item--active:focus {
  background-color: #ffffe6;
  border-left-color: #ffffe6;
}

.esri-menu__list {
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: #ffffe6;
}

.esri-popup__main-container {
  pointer-events: auto;
  position: relative;
  z-index: 1;
  width: 100px;
  max-height: 1000px;
  background-color: #ffffe6;
  display: flex;
  flex-flow: column nowrap;
  padding: 0px;
  justify-content: center !important;
}

.esri-popup__header-title {
  color: #0000;
  background-color: #d6d6b0;
  display: block;
  margin: auto !important;
  justify-content: center !important;
  font-size: smaller;
  font-weight: bold;
  font-style: italic;
}

.esri-popup__header-container {
  background-color: #ee7622;
  padding: 1px, 1px, 1px, 1px !important;
  justify-content: center !important;
  align-items: center !important;

  width: 100% !important;
  margin: auto !important;
  flex: 1;
  cursor: pointer;
}

.esri-popup__content {
  display: flex;
  flex-flow: column nowrap;
  flex: 1 1 auto;
  font-size: 200 !important;
  border: solid 1px black;
  margin: 10px;
  overflow-y: scroll !important;
  line-height: normal;
  background-color: #ffff !important;
  padding: 10px !important;
  min-height: 400px;
  max-height: 400px;
}

.esri-popup__main-container {
  pointer-events: auto;
  position: relative;

  width: 340px;
  background-color: #ffffe6;
  ;
  display: flex;
  flex-flow: column nowrap;
}

.esri-popup__button:hover {
  color: rgb(175, 29, 29);
  background-color: #ee7622;
}


.esri-view-width-xlarge .esri-popup__main-container,
.esri-view-width-large .esri-popup__main-container,
.esri-view-width-medium .esri-popup__main-container {
  max-height: 4000px !important;
  max-width: 300px !important;
}

.img {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.esri-popup.esri-widget {
  max-height: 100%;
}

.esri-view-width-xlarge .esri-popup__main-container {
  width: 580px;
}

.esri-view-height-less-than-medium .esri-popup__main-container {
  max-height: 500px;
}

#parkDiv {
  background-color: #ee7622;
  border: solid 1px #00827a;
  width: 230px;
  font-family: Arial, Helvetica, sans-serif;
  padding: 16px;
  border-radius: 8px;
}

@media screen and (min-width: 320px) {
  .banner-content {
    font-size: calc(16px + 6 * ((100vw - 320px) / 680));
  }
}
@media screen and (min-width: 1000px) {
  .banner-content {
    font-size: 22px;
  }
}

#legendTitleDiv {
  cursor: pointer;
  width: 200px;
  height: 25px;
  background-color: #ffffe6;
  border: solid 1px #00827a;
  font-family: Arial, Helvetica, sans-serif;
  color: #ee7622;
  font-weight: bold;
  padding: 5px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

#legendTitleDiv:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(238, 118, 34, 0.3);
}

#legendDiv {
  cursor: pointer;
  width: 200px;
  background-color: #ffffe6;
  border: solid 1px #ee7622;
  font-family: Arial, Helvetica, sans-serif;
  padding: 5px;
  display: none;
  border-radius: 8px;
  transform-origin: top left;
  transition: opacity 0.3s ease;
}

/* Legend opening animation - twirl and expand */
@keyframes legendTwirlOpen {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: scale(0.6) rotate(180deg);
    opacity: 0.7;
  }
  100% {
    transform: scale(1) rotate(360deg);
    opacity: 1;
  }
}

/* Legend closing animation - twirl and shrink */
@keyframes legendTwirlClose {
  0% {
    transform: scale(1) rotate(360deg);
    opacity: 1;
  }
  50% {
    transform: scale(0.6) rotate(180deg);
    opacity: 0.7;
  }
  100% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
}

/* Apply animation classes */
#legendDiv.legend-open {
  animation: legendTwirlOpen 0.6s ease-out forwards;
}

#legendDiv.legend-close {
  animation: legendTwirlClose 0.6s ease-in forwards;
}

#loading {
  margin: 0;
  position: absolute;
  top: 0px;
  right:0px;

}

#layerToggle {
  color:white;
  top: 95px;
  left: 60px;
  position: absolute;
  z-index: 99;
  background-color: #ee7622;
  border-radius: 8px;
  padding: 10px;
}

.disclaimer-banner {
  position: fixed;
  
  top: 100px;
  left: 30%;
  right: 10%;
  width: 50%;
  padding: 5px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ee7622;
  border-radius: 5px;
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.close {
  padding:3px;
  min-width: 35%;
  height:50%;
  vertical-align:middle;
  background-color: #ffffe6;
  border: none;
  color: #ee7622;
  border-radius: 2px;
  cursor: pointer;
}

 .info {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            padding: 20px;
            width: 90%;
            max-width: 400px;
            position: fixed;
            left: 50%;
            transform: translateX(-50%);
            border: 1px solid black;
            box-sizing: border-box;
            animation: slideInBounce 1.2s ease-out forwards;
        }

        @keyframes slideInBounce {
            0% {
                top: -500px;
                opacity: 0;
            }
            50% {
                top: 125px;
                opacity: 1;
            }
            65% {
                top: 155px;
            }
            80% {
                top: 125px;
            }
            90% {
                top: 140px;
            }
            100% {
                top: 125px;
            }
        }

        .info p {
            margin: 0 0 10px 0;
        }

        .info strong {
            color: #1976d2;
            font-size: 18px;
        }

        .info ul {
            margin: 10px 0;
            padding-left: 20px;
        }

        .info li {
            margin: 8px 0;
            line-height: 1.5;
            color: #333;
        }

        .community-rink-info {
            background-color: #f0f8ff;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            padding: 15px;
            margin: 10px 0;
            border-left: 4px solid #1976d2;
        }

        .close-section {
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #e0e0e0;
        }

        #iagree {
            margin-right: 8px;
            cursor: pointer;
            width: 18px;
            height: 18px;
            vertical-align: middle;
        }

        label[for="iagree"] {
            cursor: pointer;
            font-weight: 500;
            color: #1976d2;
            vertical-align: middle;
        }

        label[for="iagree"]:hover {
            text-decoration: underline;
        }

        .info.hidden {
            animation: slideOut 0.5s ease-in forwards;
        }

        @keyframes slideOut {
            from {
                top: 125px;
                opacity: 1;
            }
            to {
                top: -500px;
                opacity: 0;
            }
        }

        .content-area {
            margin-top: 520px;
            text-align: center;
        }

  