/*-- -------------------------- -->
<---          Services          -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #services-1900 {
    padding: var(--sectionPadding);
    /* 200px - 300px - leaving extra space for the navigation */
    padding-top: clamp(12.5rem, 31.95vw, 18.75rem);
    background-color: #ffffff;
    overflow-x: clip;
    position: relative;
  }
  #services-1900 .cs-container {
    width: 100%;
    max-width: 107.5rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* 100px - 229px */
    gap: clamp(6.25rem, 16vw, 14.3125rem);
  }
  #services-1900 .cs-content {
    width: 100%;
    max-width: 80rem;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
  }
  #services-1900 .cs-title {
    max-width: 20ch;
    color: var(--bodyTextColorWhite);
  }
  #services-1900 .cs-play {
    /* 80px - 120px */
    width: clamp(5rem, 14vw, 7.5rem);
    height: clamp(5rem, 14vw, 7.5rem);
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9;
    transition: opacity 0.3s, transform 0.3s;
    backdrop-filter: blur(8px);
  }
  #services-1900 .cs-play.cs-hide {
    opacity: 0;
    transform: scale(0);
  }
  #services-1900 .cs-icon {
    width: 1.25rem;
    height: auto;
  }
  #services-1900 .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    /* 16px - 20px */
    gap: clamp(1rem, 2.5vw, 1.25rem);
  }
  #services-1900 .cs-item {
    text-align: left;
    list-style: none;
    width: 100%;
    /* 160px - 320px */
    height: clamp(10rem, 32vw, 20rem);
    margin: 0;
    /* prevents padding and border from affecting height and width */
    box-sizing: border-box;
    padding: 0;
    background-color: #000;
    /* clips background image corners */
    overflow: hidden;
    box-shadow: 0px 12px 80px 0px rgba(26, 26, 26, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    grid-column: span 12;
    position: relative;
    z-index: 1;
  }
  #services-1900 .cs-item:hover .cs-item-background img {
    opacity: 0.4;
    transform: scale(1.3);
  }
  #services-1900 .cs-item:hover .cs-h3 {
    color: var(--primary);
  }
  #services-1900 .cs-item:before {
    content: "";
    width: 100%;
    height: 100%;
    /* prevents border from affecting height and width */
    box-sizing: border-box;
    /* prevents the mouse from interacting with it so when you hover hover the other elements inside the card it doesn't block your mouse from hovering over them */
    pointer-events: none;
    opacity: 1;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
  }
  #services-1900 .cs-link {
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
  }
  #services-1900 .cs-h3 {
    /* 20px - 25px */
    font-size: clamp(1.25rem, 2.5vw, 1.5625rem);
    font-weight: bold;
    line-height: 1.2em;
    text-align: inherit;
    margin: 0;
    /* 16px - 32px */
    padding: clamp(1rem, 2vw, 2rem);
    color: var(--bodyTextColorWhite);
    transition: color 0.3s;
  }
  #services-1900 .cs-item-text {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.5em;
    max-width: 28.125rem;
    margin: 0;
    padding: 0;
    color: var(--bodyTextColorWhite);
  }
  #services-1900 .cs-item-background {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #services-1900 .cs-item-background:before {
    /* background color overlay */
    content: "";
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    opacity: 0.24;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }
  #services-1900 .cs-item-background:after {
    /* background color overlay */
    content: "";
    width: 100%;
    height: 35%;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, #000000 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, #000000 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #000000 100%);
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
  }
  #services-1900 .cs-item-background img {
    width: 100%;
    height: 100%;
    /* Makes img tag act as a background image */
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.6s, opacity 0.3s;
  }
  #services-1900 .cs-video-wrapper {
    width: 100%;
    /* changes to 90% at tablet, then back to 100% at desktop */
    height: 32%;
    min-height: 32.5rem;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
  }
  #services-1900 .cs-video-wrapper:hover {
    cursor: pointer;
  }
  #services-1900 .cs-video-wrapper video,
  #services-1900 .cs-video-wrapper .cs-picture {
    width: 100%;
    height: 100%;
    /* makes image act as a background image */
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
  #services-1900 .cs-video-wrapper video img,
  #services-1900 .cs-video-wrapper .cs-picture img {
    width: 100%;
    height: 100%;
    /* makes image act as a background image */
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
  #services-1900 .cs-graphic {
    width: 100%;
    min-width: 80rem;
    height: auto;
    object-fit: cover;
    position: absolute;
    top: -1px;
    left: 50%;
    z-index: 0;
    transform: translateX(-50%);
  }
  #services-1900 .cs-dark {
    display: none;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #services-1900 .cs-card-group {
    margin: 0;
  }
  #services-1900 .cs-item {
    grid-column: span 4;
  }
  #services-1900 .cs-item:nth-of-type(4),
  #services-1900 .cs-item:nth-of-type(5) {
    grid-column: span 6;
  }
  #services-1900 .cs-video-wrapper {
    /* changes back to 100% at desktop */
    height: 60%;
  }
}
/* Desktop - 1200px */
@media only screen and (min-width: 75rem) {
  #services-1900 .cs-video-wrapper {
    height: 80%;
  }
  #services-1900 .cs-card-group {
    grid-template-columns: repeat(5, 1fr);
  }
  #services-1900 .cs-item {
    grid-column: span 1;
  }
  #services-1900 .cs-item:nth-of-type(4),
  #services-1900 .cs-item:nth-of-type(5) {
    grid-column: span 1;
  }
  #services-1900 .cs-box {
    bottom: 3rem;
  }
}
/*-- -------------------------- -->
<---   Side By Side Reverse     -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #sbsr-1814 {
    padding: var(--sectionPadding);
    /* 100px - 200px */
    padding-bottom: clamp(6.25rem, 8vw, 12.5rem);
    /* clips anything overflowing */
    overflow: hidden;
    position: relative;
    z-index: 1;
  }
  #sbsr-1814 .cs-container {
    width: 100%;
    /* changes to 1280px at desktop */
    max-width: 34.375rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #sbsr-1814 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    max-width: 33.875rem;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
    position: relative;
    z-index: 3;
  }
  #sbsr-1814 .cs-text {
    margin-bottom: 1rem;
  }
  #sbsr-1814 .cs-text:last-of-type {
    margin-bottom: 2rem;
  }
  #sbsr-1814 .cs-ul {
    width: 100%;
    max-width: 39.375rem;
    margin: 0 0 2rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    row-gap: 1rem;
    column-gap: 0.75rem;
  }
  #sbsr-1814 .cs-li {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    grid-column: span 4;
    /* 16px - 20px */
    gap: clamp(1rem, 2.5vw, 1.25rem);
  }
  #sbsr-1814 .cs-li-picture {
    /* 60px - 80px */
    width: 3rem;
    height: 3rem;
    margin: 0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* prevents flexbox from squishing it */
    flex: none;
    position: relative;
    z-index: 1;
  }
  #sbsr-1814 .cs-li-picture:before {
    /* background color */
    content: '';
    width: 100%;
    height: 100%;
    background: var(--primary);
    opacity: 0.1;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #sbsr-1814 .cs-li-icon {
    width: 1.5rem;
    height: auto;
    display: block;
  }
  #sbsr-1814 .cs-h3 {
    /* 13px - 16px */
    font-size: clamp(0.8125rem, 2vw, 1rem);
    line-height: 1.2em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: left;
    margin: 0 0 0.75rem 0;
    color: var(--bodyTextColor);
  }
  #sbsr-1814 .cs-li-text {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2em;
    text-align: left;
    margin: 0;
    color: var(--headerColor);
  }
  #sbsr-1814 .cs-button-solid {
    font-size: 1rem;
    /* 46px - 56px */
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin: 0;
    color: #fff;
    min-width: 9.375rem;
    padding: 0 1.5rem;
    background-color: var(--primary);
    border-radius: 0.25rem;
    display: inline-block;
    position: relative;
    z-index: 1;
    /* prevents padding from adding to the width */
    box-sizing: border-box;
  }
  #sbsr-1814 .cs-button-solid:before {
    content: '';
    position: absolute;
    height: 100%;
    width: 0%;
    background: #000;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    border-radius: 0.25rem;
    transition: width 0.3s;
  }
  #sbsr-1814 .cs-button-solid:hover:before {
    width: 100%;
  }
  #sbsr-1814 .cs-image-group {
    /* scales the whole section down and ties the font size to the vw and stops at 75% of the vale of 1em, changes at desktop */
    font-size: min(2.1vw, .70rem);
    /* everything inside this box is in ems so we can scale it all down proportionally with a font size */
    width: 40.1875em;
    height: 38em;
    position: relative;
    z-index: 1;
  }
  #sbsr-1814 .cs-picture {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    object-fit: cover;
  }
  #sbsr-1814 .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  #sbsr-1814 .cs-mask {
    width: 101%;
    height: 101%;
    object-fit: cover;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
  }
  #sbsr-1814 .cs-graphic {
    width: 100%;
    min-width: 75rem;
    height: auto;
    object-fit: cover;
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: 1;
    transform: translateX(-50%);
  }
  #sbsr-1814 .cs-dark {
    display: none;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #sbsr-1814 .cs-container {
    max-width: 80rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  #sbsr-1814 .cs-image-group {
    /* set to inherit at Large Desktop */
    font-size: min(1.1vw, 1rem);
    flex: none;
    /* sends it to the right in the 2nd position */
    order: 2;
  }
  #sbsr-1814 .cs-image-group:before {
    display: block;
  }
  #sbsr-1814 .cs-content {
    width: 51%;
  }
}
/* Desktop - 1300px */
@media only screen and (min-width: 81.25rem) {
  #sbsr-1814 .cs-image-group {
    font-size: inherit;
  }
  #sbsr-1814 .cs-li {
    flex-direction: row;
  }
}
/* Large Desktop - 2000px */
@media only screen and (min-width: 125rem) {
  #sbsr-1814 {
    /* pushes down when the screen size gets too big and the graphic starts getting too tall and creeps up on the content above it */
    padding-bottom: 9vw;
  }
}
/*-- -------------------------- -->
<---           Events           -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #events-1764 {
    /* centers buttons */
    text-align: center;
    padding: var(--sectionPadding);
    position: relative;
    z-index: 1;
  }
  #events-1764 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #events-1764 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: center;
  }
  #events-1764 .cs-title {
    /* max width of 18 characters, includes spaces between words */
    max-width: 18ch;
    margin: 0;
  }
  #events-1764 .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    /* changes to a grid on desktop */
    display: flex;
    flex-flow: wrap row;
    justify-content: center;
    grid-template-columns: repeat(12, 1fr);
    /* 16px - 20px */
    gap: clamp(1rem, 1.5vw, 1.25rem);
  }
  #events-1764 .cs-item {
    text-align: left;
    list-style: none;
    width: 100%;
    max-width: 25.8125rem;
    background-color: #f7f7f7;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    grid-column: span 12;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.3s, border-color 0.3s;
  }
  #events-1764 .cs-item:hover {
    box-shadow: 0px 4px 120px 0px #0000001f;
    border-color: none;
  }
  #events-1764 .cs-item:hover .cs-picture img {
    opacity: 0.3;
    transform: scale(1.1);
  }
  #events-1764 .cs-item:hover .cs-h3 {
    color: var(--primary);
  }
  #events-1764 .cs-picture {
    width: 100%;
    /* 280px - 320px */
    height: clamp(17.5rem, 22vw, 20rem);
    background-color: #1a1a1a;
    overflow: hidden;
    display: block;
    position: relative;
    z-index: 1;
    /* prevents flexbox from squishing it */
    flex: none;
  }
  #events-1764 .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.6s, opacity 0.3s;
  }
  #events-1764 .cs-info {
    height: 100%;
    /* prevents padding and border from affecting height and width */
    box-sizing: border-box;
    /* 24px - 28px vertical */
    /* 16px - 28px sides */
    padding: clamp(1.5rem, 2vw, 1.75rem) clamp(1rem, 2vw, 1.75rem);
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 2;
  }
  #events-1764 .cs-h3 {
    /* 20px - 31px */
    font-size: clamp(1.25rem, 3vw, 1.9375rem);
    font-weight: 700;
    line-height: 1.2em;
    text-align: inherit;
    margin: 0 0 1.25rem 0;
    color: var(--headerColor);
    transition: color 0.3s;
  }
  #events-1764 .cs-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  #events-1764 .cs-opening,
  #events-1764 .cs-time {
    font-size: 0.875rem;
    line-height: 1.5em;
    color: var(--bodyTextColor);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.25rem;
  }
  #events-1764 .cs-icon {
    width: 1.5rem;
    height: auto;
  }
  #events-1764 .cs-bold {
    font-weight: 700;
  }
  #events-1764 .cs-bar {
    width: 100%;
    height: 0.5rem;
    margin: 1.5rem 0;
    background-color: #fdd2d2;
    position: relative;
  }
  #events-1764 .cs-bar::after {
    content: "";
    /* percent of the bar filled */
    width: 65%;
    height: 100%;
    background-color: var(--primary);
    position: absolute;
    top: 0;
    left: 0;
  }
  #events-1764 .cs-instructor {
    /* 24px - 28px vertical */
    /* 16px - 28px sides */
    padding: clamp(1.5rem, 2vw, 1.75rem) clamp(1rem, 2vw, 1.5rem);
    border-top: 1px solid #dadada;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Add this line to center the content */
  }
  #events-1764 .cs-instructor-info {
    display: flex;
    flex-direction: column;
  }
  #events-1764 .cs-portrait {
    width: 3.75rem;
    height: 3.75rem;
    margin-right: 0.75rem;
    /* hides overflow from border-radius */
    overflow: hidden;
    border-radius: 3.75rem;
    position: relative;
  }
  #events-1764 .cs-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
  #events-1764 .cs-name {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2em;
    margin: 0;
    color: var(--headerColor);
  }
  #events-1764 .cs-job {
    font-size: 1rem;
    line-height: 1.5em;
    color: var(--bodyTextColor);
  }
  #events-1764 .cs-price {
    font-size: 1.9375rem;
    font-weight: 900;
    line-height: 1.2em;
    margin-left: auto;
    color: var(--headerColor);
  }
}
/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #events-1764 .cs-card-group {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
  }
  #events-1764 .cs-item {
    grid-column: span 4;
  }
}
/* Dark Mode */
@media only screen and (min-width: 0rem) {
  body.dark-mode #events-1764 .cs-title,
  body.dark-mode #events-1764 .cs-h3,
  body.dark-mode #events-1764 .cs-opening,
  body.dark-mode #events-1764 .cs-time,
  body.dark-mode #events-1764 .cs-price,
  body.dark-mode #events-1764 .cs-name,
  body.dark-mode #events-1764 .cs-job {
    color: var(--bodyTextColorWhite);
  }
  body.dark-mode #events-1764 .cs-opening,
  body.dark-mode #events-1764 .cs-time,
  body.dark-mode #events-1764 .cs-job {
    opacity: 0.8;
  }
  body.dark-mode #events-1764 .cs-item {
    background-color: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
  }
  body.dark-mode #events-1764 .cs-item:before {
    opacity: 0.3;
  }
  body.dark-mode #events-1764 .cs-icon {
    filter: brightness(0) invert(1);
  }
  body.dark-mode #events-1764 .cs-picture {
    border-color: #fff;
  }
  body.dark-mode #events-1764 .cs-instructor {
    border-color: rgba(255, 255, 255, 0.1);
  }
}
.cs-button-5 {
  text-align: center;
  font-size: 1rem;
  line-height: 3.5rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.05em;
  min-width: 10.875rem;
  margin: 0;
  color: #1a1a1a;
  padding: 0 1.5rem;
  /* prevents padding and border from affecting height and width */
  box-sizing: border-box;
  background-color: transparent;
  border: 2px solid #1a1a1a;
  display: inline-block;
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}
.cs-button-5 .cs-button-text {
  display: block;
  /* we translate it up so it looks centered in the white space. The black :before element takes up space at the bottom and makes it looks off-center */
  transform: translateY(-0.125rem);
  transition: transform 0.3s, color 0.3s, letter-spacing 0.3s;
}
.cs-button-5:before {
  content: "";
  width: 100%;
  height: 0.375rem;
  background: #1a1a1a;
  opacity: 1;
  position: absolute;
  display: block;
  bottom: 0;
  left: 0;
  transition: height 0.3s;
  z-index: -1;
}
.cs-button-5:hover .cs-button-text {
  color: #fff;
  letter-spacing: 0.15em;
}
.cs-button-5:hover .cs-button-text {
  transform: translateY(0);
}
.cs-button-5:hover:before {
  height: 100%;
}
