/* SINGLES WORKSHOP STYLES */

/* FOLD BLOCK */
#ws-fold {
  padding: 40px 0 40px 40px;
  background: #f5f0df;
  background: linear-gradient(90deg, rgba(245, 240, 223, 1) 0%, rgba(252, 250, 237, 0) 100%);
  border-radius: 20px;
  display: flex;
  flex-wrap: wrap;
}

.ws-fold-a,
.ws-fold-b {
  width: 50%;
  flex-shrink: 0;
}

.ws-fold-b {
  display: flex;
  align-items: end;
  background-color: #f4efdf;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
}

/* host */
.ws-host-entries-wrap {
  display: flex;
  align-items: end;
  overflow: hidden;
  background-size: cover;
}

.ws-host-entries {
  display: flex;
  flex-wrap: nowrap;
  background: rgb(55, 71, 60, 0.8);
  border-radius: 0 20px 0 0;
  padding: 20px 0;
  flex-shrink: 0;
}

.ws-host-entries .ws-host-name {
  color: #fcfaed;
  font-weight: bold;
  font-size: 20px;
}

.ws-host-entries p.ws-host-position {
  color: #fcfaed;
  font-size: 14px;
  padding: 0;
}

.ws-host-entry {
  border-right: 1px solid #fcfaed;
  padding: 10px 30px;
  max-width: 250px;
}

.ws-host-entry:last-child {
  border: none;
}

/* length */
.ws-length {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.ws-length-a {
  width: 40px;
  height: 40px;
  background-color: #5cb3a6;
  text-align: center;
  border-radius: 100px;
  font-size: 30px;
  line-height: 40px;
  color: #fcfaed;
  flex-shrink: 0;
  font-family: "EB Garamond";
  font-style: italic;
}

.ws-length-b {
  font-size: 20px;
  font-weight: bold;
  padding-left: 15px;
}

/* Title */
#ws-fold .ws-title {
  font-weight: bold;
  padding: 0;
  margin-bottom: 10px;
}

/* meta */
.ws-meta {
  margin-bottom: 30px;
}

span.ws-meta-a {
  margin-right: 30px;
  padding-left: 25px;
  position: relative;
}

span.ws-meta-a:before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 20px;
  background: var(--leafy-green);
  left: 0;
  top: calc(50% - 8px);
}

span.ws-meta-b svg {
  margin-right: 8px;
  position: relative;
  top: 3px;
}

/* buttons */
.ws-button {
  margin-bottom: 20px;
}

.ws-button a {
  font-size: 18px;
  font-weight: bold;
  display: inline-block;
  padding: 15px 40px;
  background-color: var(--leafy-green);
  border-radius: 50px;
  color: #fcfaed;
  border: 2px solid var(--leafy-green);
  line-height: 100%;
  -webkit-box-shadow: 0 5px 8px 0 #cccccc;
  box-shadow: 0 5px 8px 0 #cccccc;
}

.ws-button a:hover {
  text-decoration: none;
}

a.ws-button-enroll {
  background-color: #d96f4f;
  border: 2px solid #d96f4f;
  margin-right: 20px;
}

a.ws-button-enroll:hover {
  background-color: #fcfaed;
  color: #d96f4f;
}

a.ws-button-call {
  background-color: #e9dfc6;
  color: var(--leafy-green);
}

a.ws-button-call:hover {
  background-color: #fcfaed;
}

.ws-financial-aid span {
  text-decoration: underline;
  cursor: pointer;
}

.ws-financial-aid span:hover {
  color: #d96f51;
}

#content .ws-button a {
  text-decoration: none;
}

/* Starting Price */
.ws-br-a {
  font-size: 18px;
  color: #7b8377;
  line-height: 100%;
}

span.ws-br-a {
  font-size: 62px;
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: bold;
  letter-spacing: -2px;
  color: var(--leafy-green);
}

/* Faculty Lists */
.fl-list {
  margin-bottom: 40px;
}

.fl-image {
  width: 200px;
  height: 200px;
  border-radius: 10px;
  background-size: cover;
  margin-bottom: 20px;
}

#ws-fl .fl-name {
  font-weight: bold;
  font-size: 28px;
}

#ws-fl .fl-position {
  font-size: 16px;
  color: #7b8377;
}

#ws-fl .fl-bio {
  font-size: 18px;
}

.fl-link {
  padding: 0;
  font-weight: bold;
  text-decoration: underline;
  font-size: 18px;
  cursor: pointer;
  display: inline-block;
}

.fl-link:hover {
  color: #d96f4f;
}

.ws-popup.ws-fl-popup {
  max-width: 1200px;
}

.ws-popup.ws-fl-popup .fl-list {
  margin: 0;
  align-items: start;
}

.fl-full-bio a {
  color: #5cb3a6;
  text-decoration: underline;
}

.fl-full-bio a:hover {
  color: var(--leafy-green);
}

@media (min-width: 600px) {
  .fl-list {
    display: flex;
    flex-wrap: nowrap;
  }

  .fl-image {
    flex-shrink: 0;
    margin-right: 20px;
    margin-bottom: 0;
    width: 150px;
    height: 150px;
  }
}

@media (min-width: 760px) {
  .fl-image {
    width: 280px;
    height: 280px;
  }
}

@media (min-width: 1200px) {
  .fl-list {
    align-items: center;
  }

  #ws-fl .fl-name {
    font-size: 44px;
  }

  #ws-fl .fl-position,
  #ws-fl .fl-bio,
  .fl-link {
    font-size: 20px;
  }

  .fl-image {
    margin-right: 40px;
  }
}

/* Popup */
.ws-popup-cover {
  display: none;
  -webkit-animation: slide-in-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: slide-in-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.ws-popup {
  position: relative;
  max-width: 600px;
  border: 1px solid #e7ddbc;
  background: #fcfaed;
  padding: 40px;
  border-radius: 20px;
  margin: auto auto;
}

.ws-popup-cover.is-open {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 99;
  background: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  display: flex;
  padding: 20px;
}

.ws-popup-close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 30px;
  z-index: 999;
  display: block;
  height: 30px;
  cursor: pointer;
}

.ws-popup-close svg {
  fill: #5cb3a6;
  pointer-events: none;
}

.ws-popup-close:hover svg {
  fill: var(--leafy-green);
}

/* Financial Aid POPUP */
.ws-fa-popup-a {
  margin-bottom: 20px;
}

.ws-fa-popup-a svg {
  width: 60px;
}

.ws-fa-popup-a h4 {
  font-weight: bold;
  margin-bottom: 20px;
}

.ws-fa-popup-b a {
  display: inline-block;
  padding: 18px 40px;
  background: #5cb3a6;
  font-size: 18px;
  color: #fcfaed;
  line-height: 100%;
  border-radius: 10px;
  border: 1px solid #5cb3a6;
}

.ws-fa-popup-b a:hover {
  color: #5cb3a6;
  background: #fcfaed;
  text-decoration: none;
}

/* Accordion */
.mea-workshop-faq details {
  margin-bottom: 10px;
  position: relative;
}

.mea-workshop-faq details:after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: transparent;
  right: 30px;
  top: 26px;
  transform: rotate(-45deg);
  border-right: 3px solid #37463d;
  border-bottom: 3px solid #37463d;
  pointer-events: none;
}

.mea-workshop-faq details[open]:after {
  transform: rotate(45deg);
}

.mea-workshop-faq details[open] summary,
.mea-workshop-faq summary:hover {
  background-color: #e9dfc6;
}

.mea-workshop-faq summary {
  background: #f5f0df;
  font-size: 20px;
  font-weight: bold;
  padding: 18px 50px 18px 30px;
  border-radius: 15px;
  cursor: pointer;
}

.mea-workshop-faq details[open] section {
  padding: 20px 30px;
}

.mea-workshop-faq section p:last-child {
  padding-bottom: 0;
}

.mea-workshop-faq section {
  opacity: 0;
  visibility: hidden;
  transition: opacity 3s ease, visibility 0.3s ease;
}

.mea-workshop-faq section.is-open {
  opacity: 1;
  visibility: visible;
}

/* Agenda */
.ws-agenda-day.empty,
.ws-agenda-day .empty {
  display: none;
}

.ws-agenda-day {
  border: 1px solid var(--leafy-green);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

.ws-agenda-day table,
.ws-agenda-day td,
.ws-agenda-day th,
.ws-agenda-day tr {
  border: none;
}

.ws-agenda-day td,
.ws-agenda-day th {
  font-size: 15px;
  text-align: center;
  font-weight: bold;
}

.ws-agenda-day tr {
  border-bottom: 1px solid #e9dfc7;
}

.ws-agenda-day th {
  font-size: 18px;
}

.ws-agenda-day td,
.ws-agenda-day th {
  padding: 8px 15px;
  border-bottom: 1px solid #e9dfc7;
}

.ws-agenda-day td:last-child,
.ws-agenda-day th:last-child {
  border-bottom: none;
}

.ws-agenda-day td:last-child {
  border: none;
}

.ws-agenda-day th {
  background-color: var(--leafy-green);
  color: #fcfaed;
}

@media (min-width: 520px) {
  .ws-agenda {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .ws-agenda-day {
    width: calc(50% - 12px);
    margin: 0;
  }
}

@media (min-width: 640px) {
  .ws-agenda-day .empty {
    display: block;
  }
  .ws-agenda-day {
    width: calc(33.33% - 16px);
  }
}

@media (min-width: 960px) {
  /* 3 days */
  .length-3 .ws-agenda-day,
  .length-5 .ws-agenda-day {
    width: calc(33.33% - 16px);
  }

  /* 4 days */
  .length-4 .ws-agenda-day {
    width: calc(25% - 18px);
  }
}

@media (min-width: 1200px) {
  .ws-agenda {
    border: 1px solid var(--leafy-green);
    border-radius: 20px;
    overflow: hidden;
    gap: 0;
  }

  .ws-agenda-day.empty {
    display: block;
    opacity: 0.5;
  }

  .length-3 .ws-agenda-day,
  .length-4 .ws-agenda-day,
  .length-5 .ws-agenda-day,
  .ws-agenda-day {
    width: 14.28%;
    border: none;
    border-radius: 0;
  }

  .ws-agenda-day table {
    border-right: 1px solid #e9dfc7;
  }

  .ws-agenda-day:last-child table {
    border-right: none;
  }
}

/* Testimonials */
.thrive-display-testimonials {
  overflow: hidden;
}

/* CHANGE COLORS BASED ON PILLAR */
:root .length-3,
:root .length-4 {
  --tcb-color-12: var(--ow);
}

:root .length-5 {
  --tcb-color-12: #d96f4f;
}

/* ------- */
.length-3 .ws-length-a,
.length-3 .ws-agenda-day th,
.length-3 span.ws-meta-a:before,
.length-3 .ws-agenda-day th,
.length-4 .ws-length-a,
.length-4 .ws-agenda-day th,
.length-4 span.ws-meta-a:before,
.length-4 .ws-agenda-day th {
  background-color: var(--ow);
}

.length-3 span.ws-meta-b svg,
.length-4 span.ws-meta-b svg {
  fill: var(--ow);
}

.length-3 svg.tcb-icon,
.length-4 svg.tcb-icon,
.length-3 .tve_sc_icon,
.length-4 .tve_sc_icon {
  color: var(--ow) !important;
}

.length-3 .change-bg a,
.length-4 .change-bg a,
.length-3 .change-bg,
.length-4 .change-bg,
.length-3 .btn-change-bg a,
.length-4 .btn-change-bg a {
  background-color: var(--ow) !important;
}

/* ------- */
.length-5 .ws-length-a,
.length-5 .ws-agenda-day th,
.length-5 span.ws-meta-a:before {
  background-color: #d96f4f;
}

.length-5 span.ws-meta-b svg {
  fill: #d96f4f;
}

.length-5 svg.tcb-icon,
.length-5 .tve_sc_icon {
  color: #d96f4f !important;
}

.length-5 .change-bg a,
.length-5 .btn-change-bg a {
  background-color: #d96f4f !important;
}

/************************************************/
/* TO BE DELETED SOON ONCE NEW TEMPLATE IS FULLY IMPLEMENTED ON ALL WORKSHOPS */
/************************************************/
/*
* The custom close button
*/
.tve_p_lb_background .tve_p_lb_content .tve_p_lb_close.close-btn {
  position: relative;
  left: 0;
  top: 0;
  width: auto;
  margin-left: 0;
  background: transparent;
}

.tve_p_lb_background .tve_p_lb_content .tve_p_lb_close.close-btn:hover {
  transform: scale(1);
}

/* Force last paragraph to not have padding at the bottom in singles */
.single-workshop .tcb-style-wrap p:last-child {
  padding-bottom: 0;
}

/* Workshop Singles Facilitators section */

#faculty-entries a {
  text-decoration: none;
}

.faculty-entry {
  margin-bottom: 40px;
}

.faculty-image {
  width: 100%;
  height: 400px;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  max-width: 300px;
  border-radius: 20px;
  margin-bottom: 20px;
}

p.faculty-link {
  text-decoration: underline;
  font-style: italic;
  font-size: 18px;
}

#faculty-entries a:hover .faculty-link {
  color: var(--midday-sun);
}

.faculty-bio {
  display: none;
}

#faculty-entries .faculty-name {
  font-weight: bold;
}

a#faculty-popup-trigger {
  display: none;
}

#pop-faculty-image {
  width: 100%;
  height: 100%;
  position: absolute;
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 20px;
}

#pop-faculty-name {
  font-weight: bold;
}

#pop-faculty-position {
  opacity: 0.7;
  font-size: 18px;
}

@media (min-width: 460px) {
  .faculty-image {
    width: 100%;
    max-width: 100%;
    max-height: 400px;
  }
}

@media (min-width: 576px) {
  #faculty-entries.col-x {
    display: flex;
    flex-wrap: wrap;
  }

  .col-x .faculty-entry:nth-child(odd) {
    width: calc(50% - 10px);
    margin-right: 20px;
    flex-shrink: 0;
  }

  .col-x .faculty-entry:nth-child(even) {
    flex-grow: 1;
  }
}

@media (min-width: 960px) {
  #faculty-entries.col-x {
    margin: 0 -10px;
  }

  .col-x .faculty-entry:nth-child(even),
  .col-x .faculty-entry:nth-child(odd) {
    width: calc(33.33% - 20px);
    margin: 0 10px 40px;
    flex-grow: 0;
  }
}

@media (min-width: 1300px) {
  #faculty-entries.col-x {
    margin: 0 -20px;
  }

  .col-x .faculty-entry:nth-child(even),
  .col-x .faculty-entry:nth-child(odd) {
    width: calc(33.33% - 40px);
    margin: 0 20px 40px;
    flex-grow: 0;
  }
}

/* One column facilitator */
.col-1 .faculty-entry {
  margin: 0;
}

.col-1 .faculty-bio {
  display: block;
}

.col-1 .faculty-image {
  max-width: 100%;
}

.col-1 .faculty-position {
  padding: 0;
}

@media (min-width: 900px) {
  #faculty-entries.col-1 .faculty-entry {
    display: flex;
    flex-wrap: nowrap;
  }

  #faculty-entries.col-1 .faculty-entry .faculty-image {
    width: calc(50% - 20px);
    flex-shrink: 0;
    order: 2;
    max-height: 100%;
    height: auto;
    margin: 0 0 0 40px;
  }
}

/* MISC */
.dot-list {
  position: relative;
  padding: 3px 0 3px 30px;
}

.dot-list:before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: var(--midday-sun);
  border-radius: 100px;
  left: 5px;
  top: 15px;
}

.meta-2 .dot-list:before {
  top: 10px;
}

.enroll-btn.sold-out span {
  text-transform: uppercase;
  font-size: 16px;
  color: var(--leafy-green);
  display: inline-block;
  padding: 14px 30px;
  border: 1px solid #e9dfc7;
  border-radius: 100px;
  background-color: #e9dfc7;
}

.enroll-btn a {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 16px;
  color: var(--crema-de-leche);
  display: inline-block;
  padding: 14px 30px;
  border: 1px solid #c74b2a;
  border-radius: 100px;
  background-color: #c74b2a;
  text-decoration: none !important;
}

.enroll-btn .waitlist-btn {
  background-color: #a74188;
  border-color: #a74188;
  font-size: 14px;
}

.enroll-btn a:hover {
  background-color: transparent;
  color: var(--leafy-green);
  text-decoration: none;
  border: 1px solid var(--leafy-green);
}

span.fa-available a {
  text-decoration: underline !important;
}

span.fa-available a:hover {
  color: #c74b2a !important;
}
