/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.coolbox-table {
  display: none;
}
.coolbox-table.active {
  display: table;
}
.coolbox-table,
.coolbox-table td,
.coolbox-table th {
  text-align: left;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}

.coolbox-label {
  display: none;
}
.coolbox-label.active {
  display: table-row;
}

#coolbox-search ul {
  list-style-type: none;
  padding: 0;
  margin-bottom: 3rem;
}
#coolbox-search .coolbox-location {
  position: absolute;
}
#coolbox-search .coolbox-location.coolbox-21 {
  top: 116px;
  left: 200px
}
#coolbox-search .coolbox-location.coolbox-29 {
  top: 116px;
  left: 300px
}
#coolbox-search .coolbox-location::before {
  content: '';
  display: none;
  height: 10px;
  width: 10px;
  border-radius: 100%;
}
#coolbox-search .coolbox-location.active::before {
  background: red;
  display: block;
}

#coolbox-search-form .coolbox-search-form-label {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  margin-top: 2rem;
}
#coolbox-search-form label {
  margin-right: 1rem;
}
#coolbox-search-form input[type="checkbox"],
#coolbox-search-form input[type="radio"] {
  margin-right: 0.5rem;
}
#coolbox-search-form input[type="submit"] {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.coolbox-map {
  position: relative;
  width: 920px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 4rem;
  margin-bottom: 4rem;
}
.coolbox-search-form-response,
.coolbox-calendar-form-response {
  display: none;
}
.coolbox-search-form-response.active,
.coolbox-calendar-form-response.active {
  display: block;
}
.coolbox-modal {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 0;
  visibility: hidden;
  overflow-y: auto;
  align-items: center;
  background-color: rgba(255,255,255,0.9);
}
.coolbox-modal.active {
  display: flex;
  z-index: 999;
  visibility: visible;
}
.coolbox-modal-inner {
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding: 4rem 2rem;
  background-color: white;
  position: relative;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.16));
}
.coolbox-modal-close {
  display: inline-block;
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  width: 25px;
}
.coolbox-modal .grid {
  margin-top: 2rem;
}
.coolbox-modal img {
  margin-bottom: 1rem;
}
@media (min-width: 1024px) {
  .grid {
    display: grid;
  }
  .grid-cols-2 {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .grid-cols-3 {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .grid-cols-4 {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
  .col-span-1 {
    grid-column: span 1 / span 1;
  }
  .col-span-2 {
    grid-column: span 2 / span 2;
  }
  .gap {
    gap: 1rem;
  }
  .gap-md {
    gap: 2rem;
  }
  .coolbox-modal-inner {
    padding: 4rem;
  }
  .coolbox-modal-close {
    width: 30px;
  }
}
@media (max-width: 768px) {
  .responsive-table,
  .responsive-table thead, 
  .responsive-table thead tr, 
  .responsive-table tbody,
  .responsive-table tbody tr.active,
  .responsive-table th,
  .responsive-table td {
    display: block;
    position: relative;
    width: 100%;
  }
  .responsive-table tbody [data-label]::before {
    content: attr(data-label);
    padding-right: 1rem;
    font-weight: 700;
  }
  .responsive-table tbody tr.active {
    display: block !important;
    margin: 1rem 0;
  }
  .responsive-table tbody tr:nth-child(even) {
    background-color: var(--ast-border-color);
  }
  .mobile-hidden {
    display: none !important;
  }
}

.coolbox-calendar {
  margin-bottom: 3rem;
}
.coolbox-calendar-nav {
  background-color: #851b19;
  display: flex;
  font-size: 1.25rem;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  text-align: center;
  color: white;
}
.coolbox-calendar-nav a {
  color: white;
  text-decoration: none !important;
}
.coolbox-calendar-labels {
  background-color: rgba(0,0,0,0.1);
}
.coolbox-calendar ul {
  list-style-type: none;
  display: grid;
  grid-template-columns: repeat(7,minmax(0,1fr));
  margin-top: 0;
  margin-left: 0;
  padding: 0;
}
.coolbox-calendar li {
  border-bottom-width: 1px;
  border-color: rgba(237,237,237);
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.coolbox-calendar li button,
.coolbox-calendar li span {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: block;
  line-height: initial;
  width: 100%;
}
.coolbox-calendar li span {
  text-decoration: line-through;
  opacity: 0.35;
}
.coolbox-calendar li button {
  background: white;
  color: #851b19;
}
.coolbox-calendar li button:hover,
.coolbox-calendar li button:active,
.coolbox-calendar li button:focus {
  background: #851b19;
  color: white;
}

@media (min-width: 1024px) {
  .coolbox-calendar li {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .coolbox-calendar li button,
  .coolbox-calendar li span {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}