/****************************************
* Body
****************************************/

body {
  background-color: #FFFFFF;
}

hr {
  border: none;
  border-top: 1px solid #424245;
}

hr.alt {
  border: none;
  border-top: 1px solid #424245;
}

/****************************************
* Typography
****************************************/

h1 {
  color: #ffffff;
  font: normal 900 45px/1em 'Montserrat';
  text-transform: uppercase;
  text-shadow: none;
  letter-spacing: 1px;
}

h2 {
  color: #E1E1E1;
  font: italic 500 22px/1.4em 'Montserrat';
  text-transform: none;
  letter-spacing: 0px;
}

h3 {
  color: #ffffff;
  font: normal bold 24px/1em 'Montserrat';
  text-transform: uppercase;
}

h4 {
  color: #ffffff;
  font: normal 500 18px/1.4em 'Montserrat';
  text-transform: uppercase;
  letter-spacing: 0px;
}

h5 {
  color: rgba(0, 0, 0, 0.05);
  font: normal normal 22px/1.2em 'Montserrat';
  text-transform: none;
  letter-spacing: 0px;
}

p,
li,
label,
legend {
  color: #BEBEBE;
  font: normal 300 16px/1.5em 'Montserrat';
  text-transform: none;
}

a {
  color: #f2e2b3;
  font-weight: bold;
  text-decoration: none;
}

p > a {
  font-weight: 700;
}

a:focus,
a:hover {
  color: #D2A011;
  text-decoration: none;
}

nav a,
a[href^="tel"] {
  text-decoration: none;
}

ol {
  margin-left: 1rem;
}

s {
  color: #666666;
}

.discount-title {
  color: #ff0000;
  font-size: 15px;
  font-weight: 600;
}

* + img,
h3 + h2,
ol + h2,
ol + h3,
ol + h4,
ol + h5,
ul + h2,
ul + h3,
ul + h4,
ul + h5,
p + h2,
p + h3,
p + h4,
p + h5,
p + ol,
p + ul,
p + a.button,
content + h2,
content + h3,
content + h4,
content + .packages,
.main-content-box + .packages {
  margin-top: 2rem;
}

h1 + h2,
h1 + p,
h1 + hr,
h1 + content,
h2 + h3,
h2 + hr,
h2 + p,
h2 + ul,
h2 + ol,
h3 + h2,
h3 + h4,
h3 + p,
h3 + ul,
h3 + ol,
h3 + .bulleted,
h4 + p,
h4 + li,
hr + h2,
p + p,
p + ul,
p + ol,
a + img,
img + img,
input + label,
.small + .small,
.button + .button,
.bulleted + .register-now {
  margin-top: 1rem;
}

.about + .staff-section .grid {
  padding-top: 0;
}

.sidebar-box + content {
  margin-top: 2rem;
  display: block;
}

ul + p,
ol + p {
  margin-top: 1rem;
}

content {
  display: block;
}

content > p > img {
  margin-top: 2rem;
}

.bulleted li:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0;
  height: 0;
  padding: 2px;
  background-color: #888888;
  border-radius: 100%;
}

ol {
  list-style: decimal;
}

.bulleted ol > li {
  padding-left: .25rem;
}

.bulleted ol > li:before {
  padding: 0;
}

/****************************************
* Ribbon
****************************************/

.ribbon {
  background: #161617;
  text-align: center;
}

.ribbon .grid {
  max-width: 1140px;
}

.ribbon h1,
.ribbon h2,
.ribbon h3,
.ribbon h4,
.ribbon h5,
.ribbon h6 {
  color: #ffffff;
  font-weight: bold;
  font-size: 24px;
  font-family: 'Montserrat';
  line-height: 1.2em;
  text-transform: uppercase;
}

/****************************************
* Cards
****************************************/

.cards.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 700px;
}

@media (min-width: 1400px) {
  .cards.grid {
    grid-template-columns: 1fr 1fr;
    max-width: 1400px;
  }

  .cards.grid h2 {
    grid-column: span 2;
  }
}

.card {
  display: grid;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, .2);
  border-radius: 8px;
  background-color: #000000;
  overflow: hidden;
}

@media (min-width: 600px) {
  .card {
    grid-template-columns: 1fr 2fr;
  }
}

.card.no-overflow {
  overflow: visible;
}

.card.no-border {
  box-shadow: none;
  border-radius: 0;
  border: none;
}

.card .image-wrapper {
  position: relative;
  min-height: 147px;
  overflow: hidden;
}

.card .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease-in;
}

a.card:hover .image-wrapper img {
  transform: scale(1.1);
}

.card > .flex {
  flex-direction: column;
}

.card .details {
  flex-grow: 1;
  padding: 1rem;
}

.card .details ul li {
  text-align: left;
}

.card .details + button {
  border-radius: 0;
}

.card .buttons {
  display: flex;
  gap: 1px;
}

.card .buttons .button {
  margin: 0;
  width: 100%;
  border-radius: 0;
}

/****************************************
* Main content
****************************************/

.main-content {
  background: #000000 ;
  background-repeat: repeat;
}

@media (min-width: 1008px) {
  .main-content .grid {
    grid-template-columns: 1fr 1fr;
  }
}

.main-content-box + .main-content-box {
  margin-top: 2rem;
}

/****************************************
* Sidebar
****************************************/

.sidebar-box {
  margin: 0 auto;
  padding: 2rem;
  box-shadow: none;
  background: #161617 ;
  border-radius: 10px;
}

.sidebar-box h3 {
  color: #ffffff;
}

.sidebar-box p,
.sidebar-box li,
.sidebar-box label,
.sidebar-box legend {
  color: #BEBEBE;
  font-size: 15px;
}

.sidebar-box hr {
  border-top: 1px solid #434343;
}

.sidebar-box + .sidebar-box,
.sidebar-box + .course-widget-packages,
.sidebar-box + .course-widget-service,
.course-widget-packages + .sidebar-box,
.course-widget-packages + content {
  margin-top: 2rem;
}

.sidebar-box.no-shadow {
  box-shadow: none;
  padding: 0;
}

/****************************************
* Facebook
****************************************/

section.facebook {
  background-color: #fafafa;
}

@media (min-width: 800px) {
  section.facebook .grid {
    grid-template-columns: 1fr 1fr;
  }
}

section.facebook p.links a:first-of-type {
  display: inline-block;
  margin-right: 2rem;
}

section.facebook img.post {
  max-height: 350px;
}

section.facebook a {
  display: block;
  word-wrap: anywhere;
}

.fb-like {
  display: block;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/****************************************
* Two column packages
****************************************/

.full-width-packages .title {
  padding-bottom: 0;
}

.full-width-packages .packages {
  padding-top: 0;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .full-width-packages .packages {
    grid-template-columns: 1fr 1fr;
  }
}

/****************************************
* Rules and resources
****************************************/

@media (min-width: 900px) {
  .rules .grid {
    grid-template-columns: 2fr 1fr;
  }
}

/****************************************
* About
****************************************/

.about .grid {
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .about .grid {
    grid-template-columns: 2fr 1fr;
  }
}

/****************************************
* FAQs
****************************************/

.main-content > .title {
  padding-bottom: 0;
}

.faqs.grid {
  padding-top: 0;
}

@media (max-width: 799px) {
  .faqs.grid {
    grid-gap: 0;
  }
  
  .faqs.grid > div + div {
    margin-top: 2rem;
  }
}

@media (min-width: 1008px) {
  .faqs.grid {
    grid-template-columns: 1fr 1fr;
  }
}

/****************************************
* Accordion
****************************************/

details {
  position: relative;
  list-style-type: '\f13a';
}

details:not([open]) + details {
  border-top: 1px solid #424245;
}

details summary {
  padding: 1rem 50px 1rem 0;
  cursor: pointer;
  list-style: none;
}

/* Safari compatibility */
details summary::-webkit-details-marker {
  display: none;
}

details::before {
  content: '\f13a';
  position: absolute;
  top: 20px;
  right: 10px;
  font: bold normal 36px/0.5em 'Font Awesome 6 Pro';
  color: #f2e2b3;
  transition: all 0.5s;
  pointer-events: none;
}

details:hover::before {
  color: #D2A011;
}

details[open]::before {
  transform: rotate(180deg);
}

details > div {
  background-color: #161617;
  padding: 1rem;
}

/****************************************
* Packages
****************************************/

ul.packages > li {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #424245;
}

ul.packages > li:first-child {
  margin-top: 0;
}

.register-now {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0;
}

.register-now > .button {
  display: inline-block;
}

.register-now > p.price {
  display: inline-block;
  margin: 0;
  color: #ffffff;
}

/* Variations */

.packages-bordered > li + li {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #424245;
}

.packages-two-column {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-right: -1rem;
  margin-left: -1rem;
}

.packages-two-column > li {
  width: 50%;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

ul.packages {
  margin-left: 0;
}

ul.packages > li {
  margin: 0 0 2rem 0;
}

ul.packages > li::before {
  display: none;
}

.bulleted > ul.packages {
  padding: 0;
}

/****************************************
* Instructors / Associations
****************************************/

ul.instructors,
ul.associations {
  padding: 0;
  list-style: none;
}

.bulleted ul.instructors li:before,
.bulleted ul.associations li:before {
  display: none;
}

ul.instructors > li,
ul.associations > li {
  margin: 0;
  padding: 1.5rem 0;
  border-bottom: 1px solid #424245;
  font-size: 0;
}

ul.instructors > li:last-of-type,
ul.associations > li:last-of-type {
  padding-bottom: 0;
  border-bottom: none;
}

ul.instructors > li .wrapper,
ul.instructors > li .image-wrapper,
ul.associations > li .wrapper,
ul.associations > li .image-wrapper {
  display: inline-block;
  vertical-align: top;
}

ul.instructors > li .image-wrapper,
ul.associations > li .image-wrapper {
  padding-right: 1.5rem;
  width: 33.3333%;
}

ul.instructors > li .wrapper,
ul.associations > li .wrapper {
  padding-left: 1.5rem;
  width: 66.666%;
}

ul.instructors > li .wrapper > :last-child,
ul.associations > li .wrapper > :last-child {
  margin-bottom: 0;
}

/****************************************
* Testimonials
****************************************/

.testimonials .grid {
  grid-template-columns: 1fr;
}

@media (min-width: 1140px) {
  .testimonials .grid {
    grid-template-columns: 2fr 1fr;
  }
}

/****************************************
* Contact
****************************************/

.contact.grid {
  grid-template-columns: 1fr;
}

@media (min-width: 1200px) {
  .contact.grid {
    grid-template-columns: 2fr 1fr;
  }
}

.contact .offices.grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  max-width: 100%;
  padding: 1rem 0 0 0;
  grid-gap: 2rem;
}

.contact .office p {
  margin-bottom: 1rem;
}

.contact .embed-map {
  margin-top: auto;
}

.contact .sidebar-boxes.grid {
  margin-left: -1rem;
  margin-right: -1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding: 0;
  grid-gap: 0;
}

.contact .sidebar-box,
.contact .sidebar-box + .sidebar-box {
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (max-width: 1139px) {
  .contact .sidebar-box,
  .contact .sidebar-box + .sidebar-box {
    box-shadow: none;
  }
}

@media (min-width: 1140px) {
  .contact .sidebar-boxes {
    margin-left: 0;
    margin-right: 0;
  }

  .contact .sidebar-box,
  .contact .sidebar-box + .sidebar-box {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

form .button {
  display: block;
}

.contact form p {
  white-space: nowrap;
}

.contact fieldset {
  display: flex;
  align-items: center;
  margin: 1rem 0;
}

.contact fieldset input + label {
  margin: 0;
}

.error-text {
  color: #dd0000;
  font-weight: 500;
}

.error-text:empty {
  display: none;
}

/****************************************
* Staff
****************************************/

.staff-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media(min-width: 576px) {
  .staff-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

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

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

.staff-grid .staff {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  background-color: #F2F2F2;
  overflow: hidden;
}

.staff-grid .staff .image-wrapper {
  overflow: hidden;
}

.staff-grid .staff img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-grid .staff .details {
  padding: 1rem;
}

.staff-grid .staff h3 + p {
  margin-top: 0.25rem;
}

.staff-grid .staff h3,
.staff-grid .staff p {
  text-align: center;
}

.staff-grid .staff p + .button {
  display: block;
  margin: 1rem auto 0 auto;
  padding: .75rem;
}

.staff-grid .staff .bio {
  display: none;
}

.staff.overlay .wrapper {
  max-width: 800px;
}

.staff.overlay .grid {
  gap: 0;
  padding: 0;
}

.staff.overlay .grid > div:first-of-type {
  display: none;
}

@media (min-width: 576px) {
  .staff.overlay .grid > div:first-of-type {
    display: unset;
  }

  .staff.overlay .grid {
    grid-template-columns: 200px 1fr;
    gap: 2rem;
  }
}

@media (min-width: 1140px) {
  .staff.overlay .grid {
    grid-template-columns: auto 1fr;
  }
}

.staff.overlay h3 + p {
  margin: 0 0 1rem 0;
  font-weight: bold;
}

.staff.overlay h3,
.staff.overlay p {
  color: #000000;
}

/****************************************
* Attribution
****************************************/

.attribution {
  background: rgba(0, 0, 0, 0.2);
  padding: .5rem .5rem calc(.5rem + env(safe-area-inset-bottom));
}

.attribution a,
.attribution p {
  margin: 0;
  font: normal normal 11px/1.5em 'Montserrat';
  text-align: center;
  color: #ffffff;
}

.attribution a {
  color: inherit;
  text-decoration: none;
}

.attribution a:focus,
.attribution a:hover {
  text-decoration: underline;
}

/******************************
* Buttons
*******************************/

.button,
input[type='submit'] {
  display: block;
  margin: 0px;
  padding: .75rem 1rem;
  border-radius: 5px;
  background: #f2e2b3;
  width: auto;
  height: auto;
  color: #000000;
  font: normal 400 14px/1em 'Montserrat';
  text-transform: capitalize;
  letter-spacing: 1px;
}

.button:focus,
.button:hover,
input[type='submit']:focus,
input[type='submit']:hover {
  background: #D2A011;
  color: #000000;
}

svg {
  fill: #f2e2b3;
}

a:focus svg,
a:hover svg {
  fill: #D2A011;
}

.button.alt,
input[type='submit'].alt {
  display: block;
  padding: 21px;
  background: #000000;
  color: #ffffff;
  border: 1px solid #fbba16;
  border-radius: 6px;
  font: normal normal 20px/1em 'Montserrat';
  text-transform: uppercase;
  text-shadow: 2px 2px 5px #000000;
}

.button.alt:focus,
.button.alt:hover,
input[type='submit'].alt:focus,
input[type='submit'].alt:hover {
  border: 1px solid #000000;
  background: #ffffff;
  color: #000000;
}

/****************************************
* Forms
****************************************/

label {
  display: block;
}

label.invalid {
  color: #dd0000;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="number"],
select,
textarea {
  border: 1px solid #CCCCCC;
  border-radius: 0px;
  background-color: rgba(255, 255, 255, 0.3);
  padding: 3px 6px;
  width: 100%;
  height: 34px;
  font: normal 300 16px/1.5em 'Montserrat';
  color: #ffffff;
  text-transform: none;
}

input[type="submit"] {
  border-radius: 5px;
}

textarea {
  resize: vertical;
  height: 100%;
  min-height: 80px;
  max-height: 200px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 1px solid rgba(255, 255, 255, 0.8);
  background-color: rgba(255, 255, 255, 0.8);
}

input.invalid,
select.invalid,
textarea.invalid {
  border: 1px solid #dd0000;
}

input[type='radio'] + label,
input[type='checkbox'] + label {
  line-height: 0.25em;
  cursor: pointer;
}

input[type='radio'].invalid:not(:checked) + label:before,
input[type='radio'].invalid ~ input[type='radio']:not(:checked) + label:before,
input[type='checkbox'].invalid ~ input[type='radio']:not(:checked) + label:before,
input[type='checkbox'].invalid:not(:checked) + label:before {
  border-color: #dd0000;
}

/****************************************
* Misc
****************************************/

.des-wrapper .des-create-modify {
  padding-top: 50px;
}

.inner-grid [class*='col']:first-of-type {
  padding-left: 0;
}

.inner-grid [class*='col']:last-of-type {
  padding-right: 0;
}

iframe {
  width: 100%;
  height: 100%;
  margin-bottom: 1rem;
}

.no-padding {
  padding: 0 !important;
}

.no-margin {
  margin: 0 !important;
}

.anchor {
  margin-top: -125px;
  margin-bottom: 125px;
  display: block;
}

.inline {
  display: inline-block;
}

/****************************************
* Overlay
****************************************/

button[data-overlay] {
  padding: 0;
}

button[data-overlay] p {
  margin-top: .5rem;
  font-size: 12px;
  color: #000000;
}

.overlay {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  overflow: auto;
}

.overlay > .wrapper {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  margin: auto;
  border-radius: 5px;
  background-color: #ffffff;
  width: calc(100% - 2rem);
  max-width: 700px;
  max-height: 85vh;
  padding: 2rem;
  overflow-y: scroll;
}

#register .overlay > .wrapper {
  max-width: 528px;
}

.overlay .close-overlay {
  position: absolute;
  top: 0;
  right: 18px;
  margin: 0;
  background-color: transparent;
  padding: 0;
  font-size: 30px;
  color: #000000;
  cursor: pointer;
}

.overlay .close-overlay:focus,
.overlay .close-overlay:hover {
  color: #DD0000;
}

.overlay img {
  margin: 0 auto 1rem auto;
}

.overlay content + .button {
  margin-top: 1rem;
}

/****************************************
* Featured packages group
****************************************/

.featured-packages-group {
  margin-top: 2rem;
}

.featured-packages-group h3 {
  margin-bottom: .25rem;
}

.featured-packages-group + .featured-packages-group {
  margin-top: 2rem;
  padding-top: 2rem;
}

.featured-packages-group + .featured-packages-group {
  border-top: 1px solid #424245;
}

.featured-packages-group .button {
  display: inline-block;
}

/****************************************
* Horizontal scroll container
****************************************/

.scroll-master {
  position: relative;
  margin: 0 auto;
  padding: 2rem 4rem;
  max-width: 1800px;
}

.scroll-container {
  display: flex;
  gap: 1rem;
  padding: 1px 1rem;
  overflow-x: scroll;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.scroll-container .control {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 0;
  font-size: 19px;
}

.scroll-container .control.disabled {
  pointer-events: none;
  opacity: .2;
}

.scroll-container .control.prev {
  left: 12px;
}

.scroll-container .control.next {
  right: 12px;
}

.scroll-container .button + .button {
  margin-top: 0;
}

.scroll-item {
  flex: 0 0 300px;
  margin: 0;
  scroll-snap-align: start;
}

@media(max-width: calc(299.98px + 7rem)) {

  .reviews {
    border-bottom: 4px solid #f2e2b3;
  }

  .scroll-master {
    padding: 0;
  }

  .scroll-item {
    border: none;
    flex: 0 0 100vw;
  }

  .reviews .scroll-container > .scroll-item {
    padding-left: 42px;
    padding-right: 42px;
    border-radius: 0;
  }

  .scroll-container .control {
    width: 32px;
    height: 64px;
    border-radius: 0;
    font-size: 19px;
  }

  .scroll-container .button + .button {
    margin-top: 0;
  }

  .scroll-container .control.prev {
    left: 0;
  }

  .scroll-container .control.next {
    right: 0;
  }
}

@media(min-width: 1140px) {
  .scroll-container {
    gap: 2rem;
  }
}

/****************************************
* Reviews
****************************************/

.reviews {
  background-color: #000000;
}

.reviews .scroll-item {
  background-color: #161617;
  padding: 2rem;
  border-radius: 18px;
}

.reviews .stars {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .25rem;
  margin-bottom: 1rem;
  color: #f2e2b3;
}

.reviews .review {
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 18px;
}

.reviews .review.expanded {
  display: block;
  line-clamp: none;
  -webkit-line-clamp: none;
}

.reviews .read-more {
  margin-top: .25rem;
  font-size: 16px;
  background-color: transparent;
  color: #f2e2b3;
  padding: 0;
}

.reviews .read-more:hover {
  color: #D2A011;
}

.reviews .read-more + p {
  margin-top: 1rem;
}

/****************************************
* Calendar
****************************************/

.sidebar-box .periods-calendar {
  background-color: #333336;
}

.sidebar-box .periods-calendar .action {
  width: 30px;
  height: 30px;
  background-color: #f2e2b3;
}

.sidebar-box .periods-calendar .action:focus,
.sidebar-box .periods-calendar .action:hover {
  background-color: #d2a011;
}

.sidebar-box .periods-calendar .action svg {
  width: 15px;
  height: 15px;
  fill: #000000;
}

.sidebar-box .periods-calendar .cell,
.sidebar-box .periods-calendar .cell.title,
.sidebar-box .periods-calendar .date-text {
  color: #ffffff;
}

.sidebar-box .periods-calendar .cell.title:focus,
.sidebar-box .periods-calendar .cell.title:hover,
.sidebar-box .periods-calendar .cell.title {
  background-color: #222222;
}

.sidebar-box .periods-calendar .cell.unavailable {
  color: #0d0d0d;
}

.sidebar-box .periods-calendar .cell:focus,
.sidebar-box .periods-calendar .cell:hover {
  background-color: #101010;
}

.sidebar-box .periods-calendar .months > div + div {
  border-color: #5a5a5a;
}

.sidebar-box .periods-calendar .popup {
  background-color: #333336;
  border: 1px solid #5a5a5a;
}

.sidebar-box .periods-calendar .popup p {
  color: #ffffff;
}