/*
Website Design/Build:
Kevin Snell
Formulate Communicative Design
www.formulate.ca
*/

/* CSS VARIABLES */
:root {
 
  /* Colour palette */
  --colour-primary: #0F1138;
  --colour-secondary: #DF7000;
  --colour-text: #6D6D6D;
  --colour-link: #5179EE;
  --colour-link-hover: #DF7000;
  }

/* RESET & BASE STYLES */
   *, *::before, *::after {
  box-sizing: border-box;
}

html, body { 
  margin: 0; 
  padding: 0; 
  color: var(--colour-text);
  font-size: 18px;
  line-height: 1.3;
  font-family: "Inter", "Helvetica Neue", sans-serif;
}

/* Focus styles for accessibility */
/* Default fallback: show focus outline */
:focus {
  outline: 2px solid var(--colour-link);
  outline-offset: 2px;
}

/* Prefer showing outlines only for keyboard-like focus */
:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--colour-link);
  outline-offset: 2px;
}


/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  line-height: 1.2;
  font-weight: 300;
  color: var(--colour-primary);
}

h1 {
  font-size:34px;
}

a { 
  color: var(--colour-link); 
  text-decoration: underline;
}

a:hover { 
  text-decoration: underline; 
  color: var(--colour-link-hover); 
}

em { 
  color: var(--colour-text); 
}

p.shadow {
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
}

p .small {
  font-size:16px;
}

.uk-tooltip {
  font-size:15px;
  line-height:1.25;
  padding:4px 8px;
}

/* BUTTONS */
.uk-button { 
  margin: 15px 0;
  padding:0 20px;
  background: var(--colour-link-hover); 
  color: #fff; 
  font-weight: 400; 
  font-size:20px;
  letter-spacing: 1px; 
  text-transform: uppercase;
  height: 42px; 
  line-height: 42px;
  border-radius: 10px;
}

.uk-button:hover { 
  background: var(--colour-link); 
  color: #fff;
}


/* COMPONENTS */

.uk-totop {
  position:fixed;
  bottom:20px;
  right:20px;
  background:rgba(0,0,0,.4);
  border-radius:50%;
  width:35px;
  height:35px;
  padding-top:12px;
  text-align:center;
}

.uk-totop svg {
  color:#fff;
}

.uk-totop:hover {
  background:var(--colour-link-hover);
}

.uk-modal {
  background:rgba(0,0,0,.8);
}

.uk-modal .uk-modal-dialog {
  border-radius:20px;
  font-size:16px;
  line-height:1.4em;
}

.uk-modal h2 {
  color:var(--colour-primary);
  font-size:34px;
  border-bottom:1px solid #ccc;
  padding-bottom:5px;
  margin:0 0 20px 0;
}

.uk-modal h3 {
  color:var(--colour-primary);
  font-size:18px;
  font-weight:400;
  margin:25px 0 -10px 0;
}

.uk-modal img {
  width:100%;
  margin-top:10px;
}

.uk-slidenav {
  background:rgba(0,0,0,.5);
  border-radius:50%;
  width:40px;
  height:40px;
  text-align:center;
}

.uk-slidenav svg {
  margin-top:3px;
}

#alert {
  background:#DF7000;
  color:#fff;
  text-align:center;
  padding:10px 20px;
  font-size:22px;
  text-transform:uppercase;
}


/* LAYOUT */

.container {
  width:100%;
  max-width:1200px;
  margin:0 auto;
}

.padded {
 padding:0 20px;
}


/* HEADER */

#header {
  background:var(--colour-primary);
  color:#fff;
  font-size:15px;
  padding:15px 0;
  line-height:1em;
  position:sticky;
  z-index:999;
  top:0;
  left:0;
  width:100%;
}

#header a {
    color:#fff;
    text-decoration:none;
    font-size:17px;
}

#header a:hover {
  color:var(--colour-link-hover);
}

#header .nav ul {
    margin:0 15px;
    padding:0;
    list-style:none;
}

#header .nav ul li {
    display:inline;
    padding:0 15px;
}

#header a.location {
  padding-top:1px;
  font-size:15px;
}

#header a.location span.uk-icon {
  margin-right:6px;
  position:relative;
  top:-1px;
}

#header .uk-button {
  margin:12px 30px 0 30px;
  padding:0 20px;
  height:32px;
  line-height:32px;
  font-size:16px;
  text-transform:uppercase;
  border-radius:8px;
}

#header .uk-button:hover {
  background:#fff;
  color:var(--colour-link-hover);
}


/* VIDEO */

#video {
  background:#000;
  color:#fff;
  font-size:20px;
  font-weight:300;
  letter-spacing:1px;
  line-height:1.2em;
}

#video p {
  margin:15px 0;
}

#video p.tagline {
  font-size:16px;
  letter-spacing:1px;
  font-weight:300px;
}

#video img.logo {
  width: 70%;
}

#video p a.uk-icon {
  border:2px solid #fff;
  border-radius:50%;
  margin-top:20px;
  padding:3px;
}

#video p a.uk-icon:hover {
  color:var(--colour-link-hover);
  border-color:var(--colour-link-hover);
}

#video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: url('./images/bvg-poster.jpg') center / cover no-repeat;
}


/* INTRO */

#intro {
  background:var(--colour-primary);
  color:#fff;
  font-size:16px;
  text-align:center;
  padding:30px 0 40px 0;
}

#intro h2 {
  color:#fff;
  margin:0 0 15px 0;
  font-size:24px;
  line-height:1.3em;
}

#intro p {
  margin:0 auto;
  width:100%;
  max-width:900px;
  line-height:1.5em;
  font-weight:300;
}


/* MAIN */

.main h1 {
  margin-bottom:12px !important;
}

.main h4 {
  margin:0 0 15px 0;
}

.main p {
  margin:5px 0;
}


/* INFO */

#info.container {
  max-width:1200px;
  padding:50px 0;
}

#info h1 {
  margin:0 0 30px 0;
  padding:0;
  font-size:34px;
  letter-spacing:1px;
  text-transform:uppercase;
  color:var(--colour-primary);
}

#info .text {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top:30px;
}

#info .text.onsale {
  border-radius:12px;
  padding:15px 30px 10px 20px;
  margin-bottom:40px;
  width:fit-content;
  background:#f1f7fd;
  border:1px solid #dfdfdf;
}

#info .text p {
  margin:0 0 5px 0;
  line-height:1.5em;
}

#info .text strong {
  white-space: nowrap;
  font-weight: normal;
  color:#000;
}

#info .text strong small {
  font-size:14px;
  color:#999999;
  padding-left:10px;
}

#info .text span.members {
  color:#844242;
}

#info .text .meta-icon {
  flex: 0 0 auto;
  color:var(--colour-text);
}

#info .text .meta-copy {
  flex: 1 1 auto;
  min-width: 0;
}

#info .text .meta-copy p {
  display: block;
}

#info .text .meta-copy p strong {
  display: inline-block;
  margin-right: 10px;
}

#info .text .meta-copy p .meta-value {
  display: inline;
}

#info .text .meta-copy p + p {
  margin-top: 8px;
}

#info .text ul {
  margin:0;
  padding:0 0 0 18px;
  font-size:16px;
}

#info .text ul li {
  padding:5px 0;
}

#info .text ul li.membership a {
  color:var(--colour-text);
  text-decoration:none;
  border-bottom:1px dotted #666;
}

#info .text ul li.membership a:hover {
  color:var(--colour-link-hover);
  border-bottom:1px dotted var(--colour-link-hover);
}

#info .text .uk-table {
  margin:5px 0 25px 0;
  font-size:16px;
  width:fit-content;
  min-width:320px;
}

#info .text .uk-table-striped tbody tr:nth-of-type(2n+1), #info .text .uk-table-striped > tr:nth-of-type(2n+1) {
  background:#F1F7FD;
  border-color:#eaeaea;
}

#info .text .uk-table-striped tbody tr:nth-of-type(2n):last-child, #info .text .uk-table-striped > tr:nth-of-type(2n):last-child {
  border-color:#eaeaea;
}

#info .text .uk-table th {
  padding:5px 12px;
  border:none;
  text-align:center;
  font-size:14px;
  color:#535353;
  font-weight:500;
}

#info .text .uk-table td {
  padding:5px 12px;
  border:none;
  text-align:center;
}

#info .text .uk-table small {
  font-size:13px;
  color:#999999;
  padding-left:3px;
}

#info .text .uk-table a:hover {
  color:var(--colour-link-hover);
}

#info .text .uk-table .uk-icon {
  position:relative;
  top:-1px;
  left:-2px;
  margin-right:4px;
  color:blue;
}

#info .text .uk-table .uk-icon:hover {
  color:var(--colour-link-hover);
}


/* TICKETS */

#tickets {
  width:100%;
  max-width:600px;
  text-align:center;
  border-radius:12px;
  overflow:hidden;
  margin:30px auto 0 auto;
  /* Ensure hash navigation (/#tickets) isn't hidden under the sticky header */
  scroll-margin-top: 90px;
}

#tickets h2 {
  background:var(--colour-link-hover);
  color:#fff;
  font-size:24px;
  text-transform:uppercase;
  margin:0;
  padding:10px 0;
  letter-spacing:1px;
}

#tickets .padded {
  padding:20px 20px 5px 20px;
}

#tickets h3 {
  font-size:20px;
  color:#000;
  font-weight:400;
  letter-spacing:1px;
}

#tickets .month-block + .month-block {
  margin-top: 22px;
}

#tickets .month-name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #000;
}

#tickets .calendar-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

#tickets .calendar-table th {
  font-size: 12px;
  font-weight: 600;
  color: #7a7a7a;
  padding: 6px 0;
  border-top:1px solid #D9D9D9;
  border-bottom:1px solid #D9D9D9;
}

#tickets .calendar-table td {
  padding: 2px;
}

#tickets .calendar-table td.is-empty {
  background: transparent;
}

#tickets .calendar-table .cal-day {
  display: block;
  padding: 10px 0;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  color:#ACACAC;
  font-size:16px;
  background: transparent;
}

#tickets .calendar-table button.cal-day {
  width: 100%;
  border: 0;
  margin: 0;
  font: inherit;
}

#tickets .calendar-table .cal-day.is-on-sale {
  background: #E9F4FF;
  color: #6D6D6D;
}

#tickets .calendar-table .cal-day.is-past {
  background: #F0F0F0;
  color: #777;
  opacity: 1;
  -webkit-text-fill-color: #777;
}

#tickets .calendar-table .cal-day.is-on-sale:hover {
  background: var(--colour-link-hover);
  color:#fff;
}

#tickets .calendar-table button.cal-day.is-on-sale {
  cursor: pointer;
}

#tickets .calendar-table button.cal-day:disabled {
  cursor: default;
}

#tickets .back-to-calendar {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 14px;
  text-decoration: none;
  color: var(--colour-link);
}

#tickets .back-to-calendar:hover {
  color: var(--colour-link-hover);
}

#tickets .selected-date {
  margin: 0 0 12px 0;
}

#tickets .no-times {
  margin: 0 0 20px 0;
  font-size: 15px;
  color: #6D6D6D;
}

#tickets .times {
  font-size:16px;
}

#tickets .times a {
  text-decoration:none;
}

#tickets .times span.is-sold-out {
  color:#c00;
  text-decoration: line-through;
  opacity:.7;
}
#tickets .times span.is-sold-out small {
  color: inherit !important;
  text-decoration: inherit !important;
}

#tickets .times span.is-yoga-locked {
  color:#6D6D6D;
  opacity:.35;
  cursor: not-allowed;
}

#tickets .times .is-low-availability {
  color:#FF7F00;
}

#tickets .times.padded {
  padding:10px 0 15px 0;
}

#tickets .times .date-title {
  padding:5px 20px;
}

#tickets .times .date-title h3.selected-date {
  font-size:18px;
  color:#6D6D6D;
  text-transform:uppercase;
  margin:0;
}

#tickets .times .date-title a.back-to-calendar {
  font-size:15px;
}

#tickets .times .select {
  margin:10px 0 15px 0;
  padding:17px 0 0 0;
  border-top:1px solid #D9D9D9;
  font-size:16px;
}

#tickets .times .select h4 {
  margin:0 0 10px 0;
  font-size:17px;
  color:#000;
}

#tickets .times .select small {
  font-size:14px;
  color:#999999;
  padding-left:5px;
}

#tickets .times .select .uk-icon {
  position:relative;
  top:-1px;
  margin-right:7px;
  color:var(--colour-link);
}

#tickets .times .select .uk-icon:hover {
  color:var(--colour-link-hover);
}

#tickets div.or {
  width:100%;
  border-top:1px solid #d9d9d9;
  line-height:1em;
  margin-top:-3px;
}

#tickets div.or span {
  background:#fff;
  display:block;
  position:relative;
  top:-9px;
  width:fit-content;
  margin:0 auto;
  padding:0 10px;
  font-size:15px;
}

#tickets .times .time-links {
  width:80%;
  margin:0 auto;
}

#tickets .times .time-links small {
  color:#999999;
  font-size:14px;
  padding-left:3px;
}

#tickets .times .legend {
  border-top: 1px solid #d9d9d9;
  margin-top:20px;
  padding-top:20px;
  text-align:center;
}

#tickets .times .legend img {
  width:100%;
  max-width:250px;
}

p.ticketing {
  margin:30px 0 0 0;
  text-align:center;
  font-size:13px;
  color:#9d9d9d;
}



/* PRESENTERS */

#presenters {
  border-top:2px dotted #c6c6c6;
  text-align:center;
  width:fit-content;
  margin:0 auto;
  padding:40px 0;
}

#presenters h3 {
  margin:0 0 5px 0;
  padding:0;
  color:var(--colour-primary);
  font-size:22px;
}

#presenters img {
  margin:15px;
  max-height: 75px !important;
  object-fit: contain;
  display:inline-block;
}



/* CONTENT */

.about {
  background:var(--colour-primary);
  color:#fff;
  line-height:1.9em;
  font-size:16px;
}

.about .uk-cover-container {
  min-height: 260px;
}

.about .uk-cover-container > img[uk-cover] {
  object-fit: cover;
}

.about .uk-padding {
   padding:30px 20px 8% 20px; 
}

.about .text {
  text-align:justify;
  width:100%;
}

.about .text h2 {
  color:#fff;
  letter-spacing:1px;
  font-size:30px;
  text-align:left;
}

.about .text img {
  width:100%;
  max-width:300px;
  margin-bottom:15px;
}

.about .text p {
  margin:0;
}


/* CTAS */

#ctas {
  margin:2px 0;
}

#ctas img {
  width:100%;
}

#ctas .gallery {
  padding-bottom:2px;
}

#ctas .uk-button {
  white-space: nowrap;
}

@media only screen and (max-width: 420px) {
  #ctas .uk-button {
    font-size: 18px;
    padding: 0 16px;
    letter-spacing: 0.5px;
  }
}

#ctas .cta-overlay {
  /* Default: keep buttons bottom-centered (via uk-position-bottom-center) */
  width: auto;
}


/* PLAN */

#plan .plan-map {
  min-height: 200px;
  height: 100%;
  overflow: hidden;
}

#plan .plan-map > img[uk-cover] {
  object-fit: cover;
}

#plan .uk-padding {
 padding:30px 20px 8% 20px; 
}

#plan .plan-text {
  line-height:1.5em;
  text-align:justify;
  font-size:16px;
}

#plan .plan-text h2 {
  margin:0 0 15px 0;
  padding:0;
  font-size:34px;
  letter-spacing:1px;
  color:var(--colour-primary);
}

#plan .plan-text p {
  margin:15px 0;
}

#plan .plan-text .location {
  text-decoration:none;
  color:var(--colour-primary);
}

#plan .plan-text .location .uk-icon {
  position:relative;
  top:-1px;
  margin-right:5px;
}

#plan .plan-text ul {
  margin:0;
  padding:0;
  list-style:none;
}

#plan .plan-text ul li {
  padding:3px 0;
}

#plan .tourism {
  margin-top:40px;
}

#plan .tourism .images {
  text-align:center;
}

#plan .tourism .images img {
  border-radius:12px;
  width:100%;
  max-width:350px;
}

#plan .tourism .copy p {
  margin:15px 0 15px 0;
}

#plan .tourism .copy h3 {
  margin:0;
  padding:0;
  font-size:26px;
  letter-spacing:1px;
  color:var(--colour-primary);
  text-align:left;
}

#plan .tourism .copy span {
  padding:0 5px;
  color:var(--colour-link);
}


/* GALLERY */

#gallery {
  margin-top:2px;
  background:#000;
}

#gallery img {
  width:100%;
}

#photo_gallery .uk-grid {
  margin-top:30px;
}

#photo_gallery .uk-grid > div > a {
  display:block;
  aspect-ratio: 3 / 2;
  overflow:hidden;
  border-radius:6px;
}

#photo_gallery .uk-grid > div > a > img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:6px;
  margin-top:0;
}


/* POLICIES */

#policies.container {
  max-width:1200px;
  padding:50px 0;
}

#policies h3 {
  border-bottom:1px solid #ccc;
  padding-bottom:8px;
  margin-top:40px;
  margin-bottom:25px;
  font-weight:400;
}

#policies ul li, #policies ol li {
  padding:5px 0;
}


/* FAQs */

#careers.container,
#faqs.container {
  max-width:1200px;
  padding:50px 0;
}

#faqs h3 {
  border-bottom:1px solid #ccc;
  padding-bottom:8px;
  margin-top:40px;
  margin-bottom:25px;
  font-weight:400;
}

#faqs .uk-accordion {
  font-size:18px;
  line-height:1.3em;
}

#faqs .uk-accordion li {
  margin-top:15px;
}

#faqs .uk-accordion p {
  margin:7px 0 15px 0;
}

#faqs .uk-accordion .uk-accordion-title {
  font-size:19px;
  text-decoration:none;
  margin:0;
}

#faqs .uk-accordion li.uk-open .uk-accordion-title {
  color:var(--colour-primary);
}

#faqs .uk-accordion .uk-accordion-title:hover {
  color:var(--colour-link-hover);
}

#faqs .uk-accordion .uk-accordion-content {
  margin:0;
}

#faqs .uk-subnav {
  padding-top:30px;
}

#faqs .uk-subnav-pill a {
  background:#3a60cc;
  color:#fff;
  text-decoration:none;
  border-radius:20px;
  font-size:14px;
  padding:8px 18px;
  margin:0;
  display:block;
  text-align:center;
}

#faqs .uk-subnav-pill a:hover {
  background:var(--colour-link-hover);
}

/* FAQ pill nav layout: tight (fit-content) pills, max 4 per row */
#faqs .faq-pill-nav {
  display:none;
  grid-template-columns:repeat(2, max-content);
  justify-content:center;
  gap:12px;
  margin-left:0;
}

#faqs .faq-pill-nav > li {
  padding-left:0;
}

@media (min-width: 960px) {
  #faqs .faq-pill-nav {
    grid-template-columns:repeat(4, max-content);
  }
}

/* Sticky on tablet+ (s and up) */
@media (min-width: 640px) {
  #faqs .faq-pill-nav {
    display:grid;
    position: sticky;
    top: 60px;
    background: #fff;
    padding: 20px 0;
  }
}


/* FOOTER */

#footer {
  background:var(--colour-primary);
  color:#fff;
  padding:35px 0 0 0;
  font-size:16px;
  line-height:2em;
}

#footer p {
  margin:0 0 15px 0;
}

#footer p small {
  color:#9BA0B6;
  font-size:12px;
}

#footer a {
  color:#fff;
  text-decoration:none;
}

#footer a.link {
  color:#91C6FF;
}

#footer a:hover {
  color:var(--colour-link-hover);
}

#footer .uk-button {
  margin:5px 0 0 0;
}

#footer .uk-button:hover {
  color:#fff;
}

#footer ul {
  width:100%;
  margin:0;
  padding:0;
  list-style:none;
  text-align:inherit;
}

#footer ul li {
  display:inline;
  padding:0 10px;
}

#footer ul li a {
  font-size:18px;
}

#footer ul.social {
  margin:15px 0 0 0;
}

#footer ul.social li {
  padding:0 5px;
}

#footer p.acknowledgement {
  color:#9BA0B6;
  margin:20px 0 30px 0;
  font-size:15px;
  line-height:1.5em;
}

#footer .copyright {
  padding:10px 0 11px 0;
  text-align:center;
  background:#111e41;
  color:#535C82;
  font-size:14px;
  line-height:1.3em;
}

#footer .copyright span.spacer {
  padding:0 15px;
}

#footer .copyright .credit img {
  opacity:.3;
  width:20px;
  height:20px;
  position:relative;
  top:-1px;
  margin-right:2px;
}

#footer .copyright a {
  color:#535C82;
  line-height:2em;
}

#footer .copyright a span {
  border-bottom:1px dotted #8998D9;
}

#footer .copyright a:hover {
  color:var(--colour-link-hover);
}

#footer .copyright a:hover span {
  border-color:var(--colour-link-hover);
}


/* MEDIA QUERIES */
@media only screen and (min-width: 640px) {  
  
  .padded {
    padding:0 30px;
  }

  #header a {
    font-size:20px;
  }

  #header .uk-button {
    margin:0 30px;
  }
  
  #video {
    font-size:24px;
  }
  
  #video p.tagline {
    font-size:18px;
  }
  
  #video img.logo {
    width: 70%;
  }
  
  #presenters .presenters-logos {
    max-width:100%;
  }

  .about {
    font-size:17px;
  }
  
  .about .uk-padding {
    padding:30px 30px 8% 30px; 
  }
  
  #ctas .gallery {
    padding-bottom:0;
  }

  #ctas .gallery .uk-inline {
    padding-right:1px;
  }

  #ctas .yoga .uk-inline {
    padding-left:1px;
  }

  #plan .uk-padding {
   padding:30px 30px 8% 30px; 
  }

  #plan .plan-map {
    min-height: 300px;
  }

}

@media only screen and (min-width: 960px) {

  /* CTAs: centered on mobile, left/right on desktop (@m) */
  #ctas .cta-overlay--left {
    left: 0 !important;
    right: auto !important;
    transform: none !important;
  }

  #ctas .cta-overlay--right {
    right: 0 !important;
    left: auto !important;
    transform: none !important;
  }
  
  #video {
    font-size:34px;
  }
  
  #video p.tagline {
    font-size:22px;
  }
  
  #intro {
    font-size:18px;
  }
  
  #intro h2 {
    font-size:28px;
  }

  #tickets {
    margin-top:0;
  }

  #presenters img {
    padding:0 20px;
  }

  .about {
    font-size:19px;
  }
  
  .about .uk-cover-container {
    min-height: 0;
  }
  
  .about .uk-padding {
    padding:30px 50px 8% 50px; 
  }
  
  #plan .plan-text {
    font-size:17px;
  }
  
  #plan .plan-map {
    min-height: 0;
  }
  
  #plan .uk-padding {
   padding:30px 50px 8% 50px; 
  }

}

@media only screen and (min-width: 1024px) {
  
  #tickets {
    min-width:320px;
  }
  
}

@media only screen and (min-width: 1200px) { 
  
  #video img.logo {
    width:100%;
    max-width: 700px;
  }
  
  #video p.tagline {
    font-size:26px;
  }
  
  #intro {
    font-size:20px;
  }
  
  #intro h2 {
    font-size:30px;
  }

  #tickets {
    min-width:360px;
  }
  
  #plan .plan-text {
    font-size:18px;
  }
    
}

@media only screen and (min-width: 1400px) {
  
  .about .text {
    padding-left:60px;
    padding-bottom:10%;
    max-width:1000px;
  }
  
  #plan .plan-text {
    padding-left:60px;
    padding-bottom:10%;
    max-width:1000px;
  }
}

@media only screen and (min-width: 1600px) {
}
