/**
 * Legacy Pages
 *
 * /register/
 * /register/done/
 * /hotelreservations/
 * /diningreservations/
 * /login/
 * /giving/join/
 */


/* Card Title divider on the legacy Login, Reservations and Guest Register pages */
.card-title-divider {
  text-transform: uppercase;
  line-height: 1.2;
}

/* Card Title on Battery Powered Join page */
.bp-card-title-divider {
  text-transform: uppercase;
  line-height: 1.2;
  margin: 3em 0 1em 0;
  font-family: BentonMod, Times New Roman, serif;
  color: #00853f;
  text-align: center;
}

/* Fixes footer email not being centered */
.footer-email p {
  text-align: center;
}

/* Fixes legacy link issues */
#login_form a,
.main_content .em a {
  color: white;
  text-decoration: underline;
  border-bottom: none;
}

#login_form a:focus,
#login_form a:hover,
.main_content .em a:focus,
.main_content .em a:hover {
  color: white;
  text-decoration: none;
  border-bottom: none;
}

/* Fixes extra margin for select on Login, Register page*/
#login_form select {
  margin-bottom: 0;
}

.input-label {
  text-align: left;
  color: inherit;
  font-style: inherit;
  font-family: BentonModernDisplaySemiBold;
  font-size: 1rem;
}

/* Updates menu styles */

.footer.navigation-powered {
  background: none;
  background-color: #002b45;
}

.navigation {
  position: relative;
  justify-content: space-around;
  display: flex;
  align-items: center;
}

@media (max-width: 850px) {
  .navigation.hide-mobile {
    display: none;
  }
}

.navigation-footer {
  background-color: #002b45;
  color: white;
  fill: white;
}

.navigation-footer p {
  margin: 0;
}

.navigation-powered {
  background-color: #168341
}

.back-to-battery .top-nav {
  transform: skew(5deg);
}

.back-to-battery .top-nav-supporting {
  transform: skew(5deg);
}

.nav-link .top-nav {
  line-height: 1.5;
  display: flex;
  justify-content: center;
  align-items: center;
}
.nav-link:hover .top-nav::before, .nav-link:hover .top-nav::after, .nav-link .nav-link-active .top-nav::before, .nav-link .nav-link-active .top-nav::after {
  content: "";
  cursor: pointer;
  width: 12px;
  border: 1px solid white;
  height: 2px;
  margin: 0 5px 4px;
  box-sizing: border-box;
}

.navigation .nav-link-logo {
  width: 92px;
  flex-grow: 0;
}
.navigation .nav-link-logo *:hover {
  color: white;
}

/* Fixes bouncing dropdown */
.navigation .drop-down-button {
  margin-top: 0;
}

.drop-down-button {
  background-color: #002b45;
  align-self: flex-start;
  height: 200px;
  padding-top: 9px;
}

.drop-down-items {
  display: none;
}

.drop-down-items-visible {
  display: block;
 }

.drop-down-items > .section-button {
  margin-top: 25px;
}

.section-button .top-nav-supporting {
  text-align: center;
}

.mobile-navigation-logo-container {
  display: flex;
}

/* Footer Fixes */
.footer-bottom {
  text-align: center;
  height: 100%;
  min-height: 200px;
  position: relative;
  border-top: 1px solid white;
  padding-top: 2rem;
}

.footer-content {
  padding: 0;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.footer-content a {
  font-family: BentonModernDisplaySemiBold;
  font-size: 10pt;
  color: white;
  text-decoration: underline;
  font-style: italic;
}
.footer-content a:hover {
  text-decoration: none;
}

.footer-bottom .footer-social {
  border: none;
}

.footer-social {
  margin-top: 1rem;
}

.footer-social a {
  color: white;
}

.footer-social > a {
  color: white;
  padding: 0.5rem;
}
.footer-social > a:hover {
  color: #698799;
}
.footer-social > a *:hover {
  color: inherit;
}

.footer-social svg {
  margin: inherit;
}

.footer-links {
  font-family: BentonModernDisplaySemiBold;
  font-style: italic;
  display: flex;
  justify-content: center;
  margin: 1rem 0 0.5rem;
}

.footer-link > a {
  font-size: 10pt;
  color: white;
  text-decoration: underline;
}
.footer-link > a:hover {
  text-decoration: none;
}
.footer-link::after {
  content: " / ";
  padding: 0 0.5em;
  opacity: 0.75;
}
.footer-link:last-child::after {
  display: none;
}

/* Fixes issue where no menu was being shown at 850px viewport width */
@media (min-width: 850px) {
  .mobile-navigation.show-mobile {
    display: flex;
  }
}

@media (min-width: 851px) {
  .mobile-navigation.show-mobile {
    display: none;
  }
}


/* Hotel Reservation Rates Viewer via Login page */

.hotel-rates-title {
  font-size: 1.5rem;
}

.hotel-rates-subtitle {
  font-family: TradeGothicBoldCondensed;
  font-size: 10pt;
  letter-spacing: 1pt;
  text-transform: uppercase;
}

.hotel-rates-description {
  font-size: .875rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hotel-rates-viewer-table {
  width: 100%;
}

.hotel-rates-picker-wrapper {
  display: flex;
}

.hotel-rates-picker {
  color: white;
  width: 100%;
}

.hotel-rates-input-error-wrapper {
  margin: 0 0 1.5rem 0;
  padding: .5rem .75rem;
  color: white;
  background-color: rgba(0, 161, 255, 0.1);
  border-radius: 3px;
  margin-bottom: 1.5rem;
  list-style: none;
  font-size: .875rem;
}

.hotel-rates-input-error + .hotel-rates-input-error {
  margin-bottom: 1rem;
}

.hotel-rates-picker input.hotel-rates-picker-error {
  border-color: red;
}

.hotel-rates-picker + .hotel-rates-picker {
  margin-left: 1px;
}

.hotel-rates-viewer-amount {
  text-align: right;
}

.hotel-rates-viewer-navigation {
  display: flex;
  justify-content: center;
  position: relative;
}

.hotel-rates-viewer-navigation-prev,
.hotel-rates-viewer-navigation-next {
  margin: 0;
  background: none;
  text-align: center;
  cursor: pointer;
  width: 0;
  padding: 0;
  border: .45rem solid transparent;
  z-index: 1;
  height: 10px;
  width: 10px;
  text-indent: -999em;
  overflow: hidden;
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
}

.hotel-rates-viewer-navigation-prev:focus,
.hotel-rates-viewer-navigation-next:focus {
  outline: none;
}

.hotel-rates-viewer-navigation-prev {
  left: 0;
  border-right-color: white;
}

.hotel-rates-viewer-navigation-prev:focus {
  border-right-color: gray;
}

.hotel-rates-viewer-navigation-next {
  right: 0;
  border-left-color: white;
}

.hotel-rates-viewer-navigation-next:focus {
  border-left-color: gray;
}

/* Date Picker Overrides */
.hotel-rates-picker .react-datepicker-wrapper,
.hotel-rates-picker .react-datepicker__input-container {
  display: block;
}

.hotel-rates-picker .react-datepicker__input-container input {
  text-align: center;
}

#hotel-rates .hotel-rates-picker a.react-datepicker__navigation {
  border-bottom: transparent solid .45rem;
}

.hotel-rates-picker .react-datepicker {
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
}

.hotel-rates-picker .react-datepicker-popper {
  z-index: 6;
}


/* Makes sure the Hotel Rates on the Login page sits side-by-side with the login */
.login-container {
  display: flex;
}

.login-fieldset {
  margin: 0 auto;
}

.login-hotel-rates {
  flex-basis: 46%;
  flex-shrink: 0;
  margin-left: 3rem;
}

@media (max-width: 1000px) {
  .login-container {
    flex-direction: column;
  }

  .login-fieldset,
  .login-hotel-rates {
    flex-basis: 100%;
    margin: 0;
  }
}

.batterypowered-nav-menu .mobile-menu-switch-link a {
  color: #002b45;
}

.mobile-menu-footer {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.mobile-menu-footer > *:not(:last-child) {
  margin-right: 1rem;
}

/* Accessibility updates */
.off-screen-content {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
