/* ElementUtil.css */

body:has(dialog[open]) {
  overflow: clip;
}

a.not-available {
  opacity: 0.5;
}

.ga-row {
  display: flex;
  flex-direction: row;
}

/* CatalogView.css */

.catalog {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 320px) {
  .catalog {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 620px) {
  .catalog {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 920px) {
  .catalog {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1150px) {
  .catalog {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 1400px) {
  .catalog {
    grid-template-columns: repeat(6, 1fr);
  }
}

.catalog .item {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
}

.catalog .item-canceled .when {
  text-decoration: line-through;
}

.catalog .item .pic img {
  object-fit: cover;
  aspect-ratio: 1 / 1;
  width: 100%;
  height: 100%;
}

.catalog .info {
  position: relative;
  z-index: 2;
}

.catalog .pic {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #d8d8d8;
}

/* CheckingInPopup.css */

.checkin-cover {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #000000bb;
  z-index: 15;
}

.checkin-middle {
  margin-top: 60px;
  margin-left: auto;
  margin-right: auto;
  width: 380px;
  border-radius: 15px;
  background-color: #ffffff;
  z-index: 20;
}

.checkin-text {
  padding: 45px 45px 30px 45px;
  font-size: 2rem;
  line-height: 1.1;
  text-align: center;
}

.checkin-action {
  padding-top: 15px;
  padding-bottom: 45px;
  text-align: center;
}

.checkin-action button {
  min-width: 100px;
}

/* DirectoryView.css */

.gaz-directory .description {
  margin-top: 10px;
  margin-bottom: 10px;
}

.gaz-directory .name {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.1;
}

.directory-unit h1.name {
  font-size: 2.3rem;
  font-weight: 600;
}

.directory-unit .details .link,
.directory-unit .details .email {
  word-break: break-all;
}

.directory-unit {
  margin: 30px;
}

.gaz-unit-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-size: 2.6rem;
}

.gaz-unit-nav a {
  padding: 15px 20px 15px 15px;
  cursor: pointer;
}

.gaz-unit-nav a.not-available {
  opacity: 0.5;
}

.gaz-unit-nav .prev-next {
  display: flex;
  flex-direction: row;
}

.gaz-modal-cover .fave-toggle {
  display: flex;
  flex-direction: row;
  align-items: center;
}

/* GridView.css */

.grid-layout {
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-columns: none;
  grid-auto-rows: 7px;
  grid-template-rows: none;
}

.grid-places {
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-columns: none;
}

/* GroupedView.css */

.gaz-group {
  margin-left: 15px;
  margin-right: 15px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.gaz-group .item-row {
  display: flex;
  flex-direction: row;
  margin-top: 15px;
  margin-bottom: 30px;
}

.gaz-group .item-row .pic {
  margin-right: 30px;
}

.gaz-group h2 {
  font-weight: bold;
}

.gaz-group .basic > div {
  margin-top: 3px;
  margin-bottom: 3px;
}

.gaz-group .basic div.title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.gaz-group .time {
  font-weight: bold;
}

.gaz-group .description {
  padding-top: 5px;
  max-width: 620px;
}

.gaz-group .place-addr a {
  color: inherit;
  text-decoration: none;
}

.gaz-group .place-addr {
  font-size: 0.9rem;
}

.gaz-group .item-row .splitter {
  flex-grow: 1;
}

@media (min-width: 650px) {

  .gaz-group {
    /* margin-left: 90px; */
  }

  .gaz-group .item-row .splitter {
    display: flex;
    flex-direction: row;
    gap: 15px;
  }

  .gaz-group .item-row .splitter .basic {
    flex: 3;
  }

  .gaz-group .item-row .splitter .description {
    flex: 3;
  }

}

/* ItemView.css */

.gaz-item-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-size: 2.6rem;
}

.gaz-item-nav a {
  cursor: pointer;
}

.gaz-item-nav a.not-available {
  opacity: 0.5;
}

.gaz-item-nav .prev-next {
  display: flex;
  flex-direction: row;
}

.gaz-modal-cover .fave-toggle {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.gaz-modal-cover .fave-toggle .count {
  padding-top: 10px;
  font-size: 1.7rem;
}

.item-splitter {
  display: flex;
  flex-direction: column;
}

.item-details {
  padding: 15px 15px;
}

.item-side {
  display: none; /* not on mobile */
}

.item-video-below {
  display: initial;
}

.item-side > div {
  margin-bottom: 30px;
}

.item-side .fill {
  width: 100%;
  aspect-ratio: 1/1;
  background-color: #d8d8d8;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.item-side .fill img {
  object-fit: cover;
  aspect-ratio: 1/1;
}

.item-topper .fill {
  width: 100%;
  background-color: #d8d8d8;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.item-topper .fill img {
  object-fit: cover;
  aspect-ratio: 1/1;
}

.item-canceled .listing-when {
  text-decoration: line-through;
}

.item-details > div {
  margin-bottom: 20px;
}

.item-details .item-titles {
  margin-bottom: 20px;
  font-weight: 500;
}

.item-details .item-title {
  font-size: 2.5rem;
  line-height: 1.05;
  font-weight: 700;
}

.item-details .item-subtitle {
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 700;
  margin-top: 5px;
}

.item-details .tickets-row {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  column-gap: 10px;
}

.item-details .ticket-single {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  column-gap: 10px;
  margin-top: 5px;
}

.item-details .listings > div {
  margin-top: 15px;
  margin-bottom: 15px;
}

.item-details .listing-canceled {
  color: #f55;
  font-size: 1.3rem;
  font-weight: 500;
}

.item-details .start-date {
  font-size: 1.6rem;
  font-weight: 500;
}

.item-details .start-time {
  font-size: 1.3rem;
  font-weight: 500;
}

.item-details .place-name {
  font-size: 1.5rem;
  font-weight: 500;
}

.item-details .place-addr {
  margin-top: 3px;
  font-size: 1.2rem;
  font-weight: 500;
}

.item-details .place-addr a {
  color: inherit;
}

.item-details .item-description {
  font-size: 1.1rem;
  line-height: 1.5;
}

.item-details .item-description > p {
  margin-top: 15px;
  margin-bottom: 15px;
}

@media (min-width: 650px) {

  .item-splitter {
    flex-direction: row;
  }

  .item-details {
    flex: 1;
    padding: 5px 20px 20px 10px;
  }

  .item-side {
    display: initial;
    flex: 1;
    margin: 0px 20px 10px 30px;
  }

  .item-topper {
    display: none;
  }

  .item-video-below  {
    display: none;
  }

}

.item-sponsors-single {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
}

.item-sponsors-double {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.item-sponsors-triple {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.item-sponsors .sponsor-pic {
  display: flex;
  justify-content: center;
}

@media (min-width: 820px) {
  .item-sponsors {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.item-sponsors .item-sponsors img {
  object-fit: cover;
  aspect-ratio: 1 / 1;
  width: 100%;
  height: 100%;
}
