html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

@keyframes opacity-pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

main, article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

img, svg, video, canvas,
audio, iframe, embed, object {
  display: block;
  vertical-align: middle;
}

ul, ol {
  list-style: none;
}

address {
  font-style: normal;
}

a img, :link img, :visited img {
  border: none;
}

b, strong {
  font-weight: bolder;
}

i {
  font-style: italic;
}

em {
  font-style: italic;
}

small {
  font-size: 80%;
}

*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #333;
}

/*
wp-header rgb(0 92 82)
wp-footer #003d37
wp-ending #003832
wp-lightgr #f3f9ef
wp-tan #f1ecce
*/

:root {
  --gaz-accent-color: #134940;
  --gaz-bg-color:     #142828;
  --gaz-bgdark-color: #003832;
  --gaz-text-color: #f1faee;
  --gaz-link-color: #fff;
  --gaz-text-reverse: #ffffff;
  --gaz-button-border: #333333;
  --gaz-category-bg: #004840;
  --gaz-category-active: #007d64;
  --gaz-modal-bg: #005C52;
}

html {
  background-color: var(--gaz-bgdark-color);
  scrollbar-gutter: stable;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--gaz-text-color);
  background-color: var(--gaz-bg-color);
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: underline;
  cursor: pointer;
}

a:link,
a:visited,
a:hover {
  color: var(--gaz-link-color);
  text-decoration: underline;
}

h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}
h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
}

button {
  font-family: 'Helvetica','Arial',sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 10px;
  border-radius: 7px;
  color: #ffffff;
  background-color: var(--gaz-accent-color);
  cursor: pointer;
  border: none;
}

.big-button {
  display: inline-block;
  width: 120px;
  font-family: 'Helvetica','Arial',sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 8px;
  border-radius: 7px;
  color: #f1faee;
  background-color: var(--gaz-accent-color);
  cursor: pointer;
  border: 2px solid #f1faee;
  box-sizing: border-box;
}

.big-input {
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 10px 12px;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  color: #000000;
  background: #ffffff;
  transition: all 0.3s ease;
  outline: none;
  box-sizing: border-box;
  min-width: 0;
}

.search-form
{
  & .input-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
  }

  & .big-input {
    flex: 1;
  }
}

.no-results-hint,
.result-message {
  margin: 20px 10px;
}

.results-loading {
  display: inline-flex;
  line-height: 1;
  margin: 18px 10px;
  font-size: 1.6rem;
  & > svg {
    animation: opacity-pulse 1.1s infinite ease-in-out;
  }
}

.back-area {
  flex-basis: 0px;
}

a.back-home {
  font-size: 2.0rem;
  line-height: 1;
  color: inherit;
  cursor: pointer;
  border: none;
}

a.send {
  color: inherit;
  cursor: pointer;
}

main.home {
  margin-top: 45px;
}

main.account {
  margin: 0px 45px 45px 45px;
}

main.search h2 {
  margin: 0px 0px 30px 30px;
}

.account-panel {
  color: #000;
  background-color: #fff;
  max-width: 500px;
  border-radius: 5px;
  padding: 20px;
  margin-left: auto;
  margin-right: auto;
}

.account-panel a {
  color: inherit;
}

.account-panel h2 {
  font-weight: 700;
}

.account-status {
  margin-bottom: 10px;
}

.account-opts ul {
  margin-bottom: 50px;
}

.account-opts li {
  margin: 5px 0px;
}

.account-opts p {
  margin-bottom: 15px;
}

.account-opts #userfront-logout-button {
  margin-top: 30px;
}

.manage-menu {
  margin-left: 45px;
  margin-bottom: 45px;
}

div.responses {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  margin-right: 5px;
}

button.response {
  font: inherit;
  font-size: 2.5rem;
  line-height: 1;
  padding: 0;
  margin: 0;
  border-radius: 0;
  color: inherit;
  background-color: inherit;
  cursor: pointer;
  border: none;
}

button.favorite-on {
  color: #ed2f2f;
}

button.checkin-on {
  color: #1455ba;
}

.listing-message {
  font-family: 'Helvetica','Arial',sans-serif;
  font-size: 1.0rem;
  font-weight: 400;
  max-width: 320px;
}

.only-narrow {
  display: initial;
}

.only-wide {
  display: none;
}

dialog {
  width: min(100%, 900px);
  height: min(100%, 700px);
  max-width:  inherit;
  max-height: inherit;
  border-radius: 20px;
  margin-top: 50px;
  padding: 0;
  filter: drop-shadow(5px 5px 25px #00000066);
  color: var(--gaz-text-color);
  background-color: var(--gaz-modal-bg);
}

dialog::backdrop {
  background: rgb(0 0 0 / 15%);
}

.card-nav {
  font-size: 2.5rem;
  justify-content: space-between;
}

.card-nav > div {
  flex-basis: 120px;
}

.card-nav a {
  padding: 15px 15px;
}

.card-nav .fave-toggle {
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
}

.card-nav .count {
  font-size: 1.5rem;
  min-width: 1rem;
}

main {
  margin: 0 auto 0 auto;
}

header {
  display: flex;
  flex-direction: row;
  padding: 0px 30px 10px 20px;
}

header.directory {
  background-color: #e7ce9a;
}

header .bg-stripe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 95px;
  background-color: #005c52;
}

header .activity {
  flex: 1;
  display: flex;
  margin-top: 25px;
  z-index: 10;
  flex-direction: column;
}

header .activity .titles {
  margin-left: 10px;
}

header .activity .title {
  font-size: 1.2rem;
  font-weight: 600;
}

header .partners {
  font-size: 0.9rem;
  margin-top: 5px;
}

header .map-hint {
  font-size: 0.9rem;
  line-height: 1.0rem;
  margin-top: 3px;
  max-width: 300px;
}

header .filtering {
  flex-direction: row;
  align-items: flex-start;
  margin-top: 50px;
  gap: 20px;
}

header .refine {
  margin-top: 15px;
}

header .filtering a {
  font-size: 0.9rem;
}

header .contrib-filter {
  color: #000;
  max-width: 450px;
}

header .topic-filters {
  display: flex;
  flex-direction: row;
  flex-basis: 420px;
}

header .topic-filters .layout {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 7px;
  row-gap: 7px;
}

header .toggle-filters {
  display: flex;
  flex-direction: row;
  flex-basis: 220px;
}

header .toggle-filters .layout {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 7px;
  row-gap: 5px;
}

header .areas {
  margin-top: 15px;
  margin-right: 25px;
  display: flex;
  flex-direction: column;
  row-gap: 5px;
  z-index: 10;
  font-size: 1.0rem;
  font-weight: 500;
}

header .areas .upper {
  display: flex;
  flex-direction: column;
  row-gap: 3px;
}

header .areas .lower {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: 20px;
}

header .areas .marker {
  font-size: 2rem;
}

header .area-dot {
  display: inline;
  height: 9px;
  width: 9px;
  margin-bottom: 3px;
  margin-right: 6px;
}

header .refine-filter {
  opacity: 0.9;
  color: #000;
  font-size: 0.9rem;
  max-width: 360px;
}

header .logo-right {
  z-index: 10;
}

header .logo-right .logo-container {
  position: relative;
}

header .logo-right .logo-container .bg-circle {
  position: absolute;
  top: 0;
}

header .logo-right img {
  position: relative;
  height: 144px !important;
  width:  144px !important;
  aspect-ratio: 1/1;
  z-index: 5;
}

header a:link,
header a:visited {
  text-decoration: none;
}
header a:hover {
  text-decoration: underline;
}

@media (width < 800px) {
  header {
    flex-direction: column-reverse;
    padding: 5px 5px 10px 5px;
  }
  header .activity {
    margin-top: 0px;
  }
  header .activity .titles {
    margin-top: 10px;
    margin-left: 15px;
  }
  header .areas {
    flex-direction: row;
    justify-content: space-between;
    row-gap: 5px;
    margin-top: 0px;
    margin-right: 5px;
  }
  header .areas .lower {
    align-items: flex-end;
  }
  header .partners {
    margin-top: 2px;
  }
  header .filtering {
    padding-top: 0px;
    margin-top: 20px;
  }
  header .areas .lower {
    margin-top: 0;
  }
  header .bg-circle {
    display: none;
  }
  header .bg-stripe {
    height: 230px;
  }
  header .logo-right img {
    height: 94px !important;
    width:  94px !important;
  }
}

footer {
  display: flex;
  flex-direction: row;
  font-size: 0.875rem;
  color: #fff;
  background-color: var(--gaz-bgdark-color);
  padding-top: 40px;
  padding-bottom: 80px;
  justify-content: center;
}

footer .layout {
  flex: 0 1 1000px;
  display: flex;
  flex-direction: column;
  margin-left: 30px;
  margin-right: 30px;
}

footer .socials {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

footer .partnership {
  margin-top: 15px;
  margin-bottom: 15px;
}

footer .layout .contact {
  display: grid;
  grid-template-columns: auto auto auto auto;
  opacity: 0.8;
}

@media (width < 800px) {
  footer .layout .contact {
    grid-template-columns: auto auto;
  }
}

footer .contact .title {
  color: #fff;
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 15px;
}

footer .contact .text {
  line-height: 21px;
}

a.category-filter {
  font: inherit;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.1;
  padding: 6px 12px;
  margin: 0;
  border-radius: 18px;
  background-color: var(--gaz-category-bg);
  border: 2px solid var(--gaz-category-bg);
  color: var(--gaz-text-color);
  cursor: pointer;
  text-decoration: none;
}

a.category-filter:hover {
  border: 2px solid var(--gaz-category-active);
  text-decoration: none;
}

a.category-active {
  background-color: var(--gaz-category-active);
  border: 2px solid var(--gaz-category-active);
}

a.favorites-button {
  font: inherit;
  font-size: 1.0rem;
  font-weight: 500;
  line-height: 1.1;
  padding: 4px 10px;
  margin-left: 10px;
  margin-top: 7px;
  margin-right: 10px;
  border-radius: 6px;
  border: 1.5px solid #e59500;
  color: var(--gaz-text-color);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

a.favorites-button:hover {
  text-decoration: none;
}

a.favorites-active {
  color: #000;
  background-color: #e59500;
  border: 2px solid #e59500;
}

a.travel-button {
  color: #e59500;
  align-self: center;
  margin: 1px 0;
}

a.area-link {
  /* color: #e59500; */
}

a.ticket {
  font-family: 'Helvetica','Arial',sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px;
  border-radius: 4px;
  color: #ffffff;
  background-color: var(--gaz-accent-color);
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.catalog {
  gap: 10px;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 60px;
}

.catalog .item {
  font-weight: 500;
  line-height: 1.15;
}

.catalog .item .info {
  display: flex;
  flex-direction: column;
  margin-left: 2px;
  margin-top: 7px;
  margin-bottom: 20px;
}

.catalog .item .info .listings {
  order: 1;
}

.catalog .item .info .titles {
  order: 2;
}

.catalog .item .info .subtitle {
  order: 3;
}

.catalog .item h3.title {
  font-size: 1.0rem;
  font-weight: 500;
  line-height: 1.15;
  margin-top: 4px;
  margin-bottom: 0;
}

.catalog .item .subtitle {
  font-size: 0.9rem;
  font-weight: 400;
  margin-top: 2px;
}

.catalog .item .when {
  color: #e59500;
  margin-top: 2px;
  margin-bottom: 2px;
  font-size: 0.9rem;
}

.catalog .item .and-more {
  font-size: 0.8rem;
}

.catalog a:link {
  color: var(--gaz-text-color);
  text-decoration: none;
}
.catalog a:visited {
  color: var(--gaz-text-color);
  opacity: 0.5;
}
.catalog a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.catalog .pic,
.catalog .pic img {
  border-radius: 5px;
}

.catalog .pic .favorite {
  color: #ffffff;
  font-size: 2.5rem;
  position: absolute;
  bottom: 5px;
  right: 5px;
}

.catalog .overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.catalog .overlay .ribbon {
  color: #000;
  background-color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 1px 0 0 0;
  width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.catalog .overlay .ribbon {
  transform-origin: bottom left;
  transform: translate(0px, 50px) rotate(-40deg);
}

main.item {
  position: relative;
  margin-top: 45px;
  max-width: 1000px;
}

.acgg .item-side .fill {
  aspect-ratio: 1/1;
}

.acgg .item-side .fill img {
  aspect-ratio: 1/1;
  width: 100%;
}

.acgg .item-topper .fill img {
  aspect-ratio: 1/1;
  width: 100%;
}

.acgg .item-video-below {
  padding-bottom: 50px;
}

main.item ul.related {
  line-height: 1.5;
}

main.item ul.related li {
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 18px;
  line-height: 1.2;
}

main.item ul.related li::before {
  content: "￭";
  color: #5E7C41;
  margin-left: -12px;
  margin-right: 5px;
}

.item div.correction {
  margin-top: 40px;
}

.gaz-directory {
  background-color: #e7ce9a;
}

.gaz-directory .directory-bg {
  background-image: url("https://gazebo.b-cdn.net/events/ACGG/comcal/web/directory-bg-1600b.webp");
}

.gaz-directory .directory-flow {
  background-color: #e7ce9abb;
  display: grid;
  padding: 20px;
  gap: 20px;
}

.gaz-directory .contributor {
  background-color: var(--gaz-modal-bg);
  padding: 20px;
  border-radius: 5px;
}

.sponsors-below {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 15px;
  padding-bottom: 30px;
}

.sponsors-below .col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.gaz-directory .sponsors-below {
  color: #000;
}

@media (width >= 1200px) {
  .directory-flow {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (width < 1200px) {
  .directory-flow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width < 930px) {
  .directory-flow {
    grid-template-columns: repeat(1, 1fr);
  }
}

main.unit {
  position: relative;
  max-width: 800px;
}

.directory-unit .splitter {
  display: flex;
  flex-direction: row;
  gap: 25px;
}

.directory-unit .splitter  .name {
  flex: 1;
}

.directory-unit .splitter .name-image {
  max-width: 300px;
}

.directory-unit .details {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 30px;
  row-gap: 15px;
}

.directory-unit .details .label {
  font-weight: 600;
}

@media (width < 600px) {
  .directory-unit .splitter {
    flex-direction: column-reverse;
    gap: 15px;
  }
  .directory-unit .details {
    margin-top: 15px;
    grid-template-columns: 1fr;
  }
}

main.saved .no-favorites {
  margin: 30px 15px;
  padding-bottom: 100px;
  font-size: 1.8rem;
  text-align: center;
}

main.saved .finish-message {
  margin: 30px 15px;
  font-size: 1.2rem;
  text-align: center;
}

main.saved .send-message {
  max-width: 450px;
}

main.saved .mailing-ask {
  max-width: 430px;
  font-size: 0.9rem;
}

main.saved .send-form {
  margin: 15px;
}

main.saved .send-form .input-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 15px;
}

main.saved .send-form input.email {
  flex: 1;
  max-width: 350px;
  font-size: 1.2rem;
  color: fieldtext;
  background-color: field;
  border: 1px solid #000;
  border-radius: 5px;
  padding: 8px;
}

main.saved .send-form input.fullname {
  flex: 1;
  max-width: 350px;
  font-size: 1.2rem;
  color: fieldtext;
  background-color: field;
  border: 1px solid #000;
  border-radius: 5px;
  padding: 8px;
}

main.saved .send-form input.check {
  margin: 5px 10px;
  accent-color: #789958;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  cursor: pointer;
}

main.saved .send-form button {
  font-size: 1.0rem;
  padding: 10px;
  border-radius: 5px;
}

main.error {
  border-radius: 10px;
  padding: 30px;
  font-size: 1.2rem;
}

main.search {
  border-radius: 10px;
  padding: 30px;
  font-size: 1.2rem;
}

.input-group textarea,
.input-group input {
  font-family: 'Montserrat', sans-serif;
}

.input-group.is-free input::after {
  content: "Free Event";
  font-size: 0.9rem;
  color: #f1faee;
  padding-left: 30px;
  white-space: nowrap;
}

main.map {
  color: #000;
  background-color: #222;
}

main.map .map-status {
  color: #fff;
  position: absolute;
  inset: 100px 100px 100px 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

main.map #gaz-map-container {
  position: absolute;
  inset: 96px 0 0 0;
}

main.map #locate-btn {
  display: none;
  position: absolute;
  top: 125px;
  left: 10px;
  z-index: 5;
  background-color: #fff;
}

main.map #locate-btn .fa-solid {
  font-size: 1.5rem;
  padding: 10px;
}

main.map #locate-btn.running .fa-solid {
  color: #ff6d00;
}

.map-area .named-marker-inner {
  font-size: 0.8rem;
  line-height: 1;
  text-align: center;
  padding: 4px 5px;
  box-shadow: 3px 3px 7px #0002;
  border-radius: 5px;
}

.map-area .named-marker-inner .name {
  font-size: 0.75rem;
  font-weight: 500;
}

.map-area .named-marker-outer {
  max-width: 110px;
  display: flex;
  flex-direction: column;
  border-radius: 5px;
  z-index: 4;
  color: #585858;
  background-color: #ffffff;
  box-shadow: 1px 1px 10px rgb(0 0 0 / 25%);
}

.map-area .named-marker-outer::after {
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff;
  content: "";
  height: 0;
  left: 50%;
  position: absolute;
  top: 95%;
  transform: translate(-50%);
  width: 0;
  z-index: 4;
  border-top-color: #ffffff;
}

.map-area .named-marker-outer.present-listings {
  color: #000000;
  background-color: #f1ecce;
}

.map-area .named-marker-outer.present-listings::after {
  border-top-color: #f1ecce;
}

.map-info-box {
  display: flex;
  flex-direction: column;
}

.map-info-box .preview img {
  max-width: 120px;
  max-height: 120px;
}

.map-info-box.venue .name {
  text-align: left;
}

.map-info-box .name {
  font-size: 1.0rem;
  font-weight: 500;
  /* line-height: 1.1; */
  margin-bottom: 3px;
}

.map-info-box .info {
  font-size: 1.0rem;
  line-height: 1.0;
  margin-bottom: 5px;
}

.map-info-box .info p {
  margin-bottom: 0;
  margin-left: 10px;
  font-weight: 600;
  text-align: right;
}

.map-info-box .search {
  font-size: 0.8rem;
  line-height: 1.0;
  margin-bottom: 10px; /* also for weird scrollbar */
}

.map-info-box .search a {
  color: inherit;
}

.map-info-box em {
  font-style: italic;
}

.map-info-box .navigate {
  margin-top: 5px;
  text-align: center;
}

.map-info-box .navigate a {
  color: inherit;
}

.map-info-box .navigate div,
.map-info-box .navigate span {
  font-size: 1.75em;
  cursor: pointer;
  margin: 2px 5px;
}

@media (min-width: 620px) {
  .catalog {
    gap: 30px;
    margin-left: 30px;
    margin-right: 30px;
  }
}

/*
 * larger screen
 */
@media (min-width: 620px) {

  nav.gaz .layout {
    padding-left: 30px;
    padding-right: 30px;
  }

  nav.gaz .view-name {
    font-size: 0.9rem;
  }

  main.saved .send-form {
    margin-left: 90px;
  }

  .back-area {
    flex-basis: 45px;
  }

  .only-narrow {
    display: none;
  }

  .only-wide {
    display: initial;
  }

}

