/* Headers BEGIN */
h1, .bbs2-h1 {
  font-weight: 700;
  margin-bottom: 0rem;
  letter-spacing: -2px;
}

h2, .bbs2-h2 {
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -1px;
}

h3, .bbs2-h3 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

h4, .bbs2-h4 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0;
}

h5, .bbs2-h5 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0;
}

h6, .bbs2-h6 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0;
}
/* Headers END */

/* Maps BEGIN */
.bbsuite2-map-canvas,
.bbsuite2-map-instance {
  height: 100%;
  width: 100%;
}
/* Maps END */

/* Inline Links BEGIN */
.ct-text-block a,
.ct-inner-content a {
  font-weight: 700;
  text-decoration: underline;
}
.ct-text-block a:hover,
.ct-inner-content a:hover {
  text-decoration: none;
}
/* Inline Links END */

/* Pagination BEGIN */
.oxy-repeater-pages {
  justify-content: flex-start !important;
}
.oxy-repeater-pages-wrap {
  padding-left: 20px;
  padding-right: 20px;
  margin-top: 20px !important;
}
/* Pagination END */

/* Ninja Forms BEGIN */
.nf-form-fields-required {
  display: none;
}
.nf-form-content label {
  font-family: "Google Sans Flex", sans-serif !important;
  font-weight: 400 !important;
  font-size: inherit !important;
}
.nf-form-content .listcheckbox-wrap li, .nf-form-content .listradio-wrap li {
  line-height: normal !important;
}
/*
.nf-form-content input:not([type=button]):not([type=submit]),
.nf-form-content .list-select-wrap .nf-field-element>div,
.nf-form-content textarea {
    background: #ffffff !important;
}
*/
.nf-form-content input[type=submit] {
  border-radius: 4px !important;
  padding: 12px 36px !important;
}
#ninja_forms_required_items, .nf-field-container {
  margin-bottom: 10px !important;
}
.nf-form-content input:not([type=button]), 
.nf-form-content textarea {
  border: 0 !important;
}
.nf-form-content {
  padding: 0 !important;
}
/* Ninja Forms END */


/* Tribe Events BEGIN */
.tribe-events-pg-template,
.tribe-common-l-container {
  padding-top: 0 !important;
  max-width: none !important;
}
.tribe-events-event-meta.primary,
.tribe-events-event-meta.secondary {
  width: 100%;
  gap: 20px;
}
.tribe-events-venue-map>div, 
.tribe-events-venue-map>iframe {
  max-height: 350px;
}
.tribe-events-header__title,
.tribe-events-header__breadcrumbs {
  display: none !important;
}
/* Tribe Events END */


/* PDF Viewer BEGIN */
.pdfemb-viewer {
  margin-top: 40px !important;
}
/* PDF Viewer END */


/* Accessibility Toolbar BEGIN */
.a11y-toolbar {
  bottom: 10px;
  top: unset;
}
/* Accessibility Toolbar END */


.bbsuite2carteloisir-card {
  --r: 24px;         /* corner radius */
  --slant-top: 10%;  /* top-left drop */
  --slant-btm: 3%;   /* bottom-left rise */

  width: 100%;
  background: #d97757;
  border-radius: var(--r); /* fallback */

  clip-path: shape(
    from 0 calc(var(--slant-top) + var(--r)),
    curve to var(--r) calc(var(--slant-top) - 2px) with 0 var(--slant-top),
    line  to calc(100% - var(--r)) 2px,
    curve to 100% var(--r) with 100% 0,
    vline to calc(100% - var(--r)),
    curve to calc(100% - var(--r)) calc(100% - 1px) with 100% 100%,
    line  to var(--r) calc(100% - var(--slant-btm) + 1px),
    curve to 0 calc(100% - var(--slant-btm) - var(--r)) with 0 calc(100% - var(--slant-btm)),
    close
  );
}

.bbsuite2carteloisir-card-flipped {
  --r: 24px;         /* corner radius */
  --slant-top: 10%;  /* top-right drop */
  --slant-btm: 3%;   /* bottom-right rise */

  width: 100%;
  background: #d97757;
  border-radius: var(--r); /* fallback */

  clip-path: shape(
    from 100% calc(var(--slant-top) + var(--r)),
    curve to calc(100% - var(--r)) calc(var(--slant-top) - 2px) with 100% var(--slant-top),
    line  to var(--r) 2px,
    curve to 0 var(--r) with 0 0,
    vline to calc(100% - var(--r)),
    curve to var(--r) calc(100% - 1px) with 0 100%,
    line  to calc(100% - var(--r)) calc(100% - var(--slant-btm) + 1px),
    curve to 100% calc(100% - var(--slant-btm) - var(--r)) with 100% calc(100% - var(--slant-btm)),
    close
  );
}

.bbsuite2carteloisir-angled-bottom-card {
  --lift: 20%;   /* how much higher the bottom-right corner sits */

  width: 100%;
  background: #d97757;

  clip-path: polygon(
    0    0,                      /* top-left */
    100% 0,                      /* top-right */
    100% calc(100% - var(--lift)),  /* bottom-right, lifted */
    0    100%                    /* bottom-left */
  );
}

.bbsuite2carteloisir-angled-top-card {
  --lift: 20%;   /* how much higher the bottom-right corner sits */

  width: 100%;
  background: #d97757;

  clip-path: polygon(
    0 0,                      /* top-left */
    100% calc(0% + var(--lift)),                      /* top-right */
    100%    100%,  /* bottom-right, lifted */
    0    100%                    /* bottom-left */
  );
}

.bbs-listing-highlight .bbs2carteloisir-selector-arrow {
  display: block !important;
}

.bbs2carteloisir-icon > svg {
  width: 70px !important;
  height: 70px !important;
}

/* TODO: MAKE SURE THIS APPLIES... */
/* Firefox fallback — only where ::-webkit-scrollbar isn't supported */
@supports not selector(::-webkit-scrollbar) {
  .bss2-scroll-y {
    scrollbar-width: thin;
    scrollbar-color: #888 transparent;
  }
}

/* Chrome, Edge, Safari */
.bss2-scroll-y::-webkit-scrollbar {
  width: 10px;
}

.bss2-scroll-y::-webkit-scrollbar-track {
  background: transparent;
}

.bss2-scroll-y::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 9999px;
}

.bss2-scroll-y::-webkit-scrollbar-thumb:hover {
  background-color: #6e6e6e;
}

/* Custom Select BEGIN */
.bbsuite2-archive-controls-select select {
    display: none;
}
.bbsuite2-custom-select {
    position: relative;
}
/* Custom Select END */