/* ================================
   Global Typography
   ================================ */

/* Body and most text use Poppins */
body, .navbar, .dropdown-menu {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}

/* Headings use Prata */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Prata', serif;
  font-weight: 400;
}

/* Nav links slightly bolder */
.navbar-nav .nav-link,
.dropdown-item {
  font-weight: 500;
}

/* ================================
   Top Navbar Layout
   ================================ */

/* Force top navbar dropdowns inline on mobile */
.navbar-top .navbar-nav {
  flex-direction: row !important;
  gap: 0.75rem;
  --bs-nav-link-padding-y: 0.1rem !important;
}

/* Icon buttons (login & socials) */
.navbar-top .icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: none;
  transition: background-color 0.3s ease;
}

/* ================================
   Bottom Navbar Layout
   ================================ */

/* Ensure logo scales nicely with navbar height */
.navbar-logo {
  height: 100%;           /* match container height */
  max-height: 60px;       /* set a reasonable max (adjust if needed) */
  width: auto;            /* keep aspect ratio */
  display: block;
}

/* Allow dropdowns to overlay when navbar is collapsed */
@media (max-width: 991.98px) { /* lg breakpoint */
  /* If clipping occurs during collapse animation, unhide overflow */
  .navbar .nav-item.dropdown { position: relative; }   /* anchor */
  .navbar .dropdown-menu { position: absolute; }     /* overlay */
  .navbar .collapse.show { overflow: visible; }      /* avoid clipping */
}



/* ================================
   Theming with CSS Variables
   ================================ */

/* Default (fallback) theme */
:root {
  --main-color: #333;
  --accent-color: #555;
  --text-on-main: #fff;
  
  --color-primary: rgb(46,211,233);
  --color-dark: rgb(108,40,81);
  --color-ballet: rgb(254,236,170);
  --color-jazz: rgb(250,187,218);
}

/* DIEPPE THEME */
body.dieppe {
  --main-color: rgba(241, 70, 36, 1);
  --accent-color: rgba(156, 22, 97, 1);
  --secondary-color: rgba(249, 167, 43, 1);
  --tertiary-color: rgba(0, 173, 239, 1);
  --text-on-main: #fff;
  --main-color-light: rgba(241, 70, 36, 0.7);
  --accent-color-light: rgba(156, 22, 97, 0.7);
  --secondary-color-light: rgba(249, 167, 43, 0.7);
  --tertiary-color-light: rgba(0, 173, 239, 0.7);
  .gradient-header {
  background: linear-gradient(to right, var(--main-color-light), var(--accent-color-light), var(--secondary-color-light), var(--tertiary-color-light)), url(../img/1920x286_bg1.jpg) no-repeat center;
  background-size: cover;
}
}

/* SACKVILLE THEME */
body.sackville {
  --main-color: rgba(100, 180, 190, 1);
  --accent-color: rgba(108, 40, 81, 1);
  --secondary-color: rgba(254, 236, 170, 1);
  --tertiary-color: rgba(250, 187, 218, 1);
  --text-on-main: #fff;
  --main-color-light: rgba(100, 179, 190, 0.7);
  --accent-color-light: rgb(108, 40, 81, 0.7);
  --secondary-color-light: rgba(254, 236, 170, 0.7);
  --tertiary-color-light: rgba(250, 187, 218, 0.7);
  .gradient-header {
  background: linear-gradient(to right, var(--main-color-light), var(--accent-color-light), var(--secondary-color-light), var(--tertiary-color-light)), url(../img/1920x286_bg2.jpg) no-repeat center;
  background-size: cover;
}
}

/* ================================
   Applying Theme Variables
   ================================ */

.navbar-top {
  background-color: var(--main-color-light);
}

.navbar-top .icon-btn {
  background-color: var(--main-color-light);
  color: var(--text-on-main);
}

.navbar-top .icon-btn:hover {
  background-color: var(--accent-color);
}

/* Main navbar buttons with shadows and smooth hover transitions */
.btn-primary {
  background-color: var(--main-color);
  border-color: var(--main-color);
  color: var(--text-on-main);
  font-weight: 500;
  border-radius: 50px;
  padding: 0.4rem 1rem;
  /* Subtle shadow to lift the button */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: 
    background-color 0.3s ease, 
    border-color 0.3s ease, 
    color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--text-on-main);
  /* Slightly deeper shadow and lift effect */
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transform: translateY(-2px);
}

.navbar-main .btn-outline-primary {
  border-color: var(--main-color);
  color: var(--main-color);
  font-weight: 500;
  border-radius: 50px;
  padding: 0.4rem 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: 
    background-color 0.3s ease, 
    border-color 0.3s ease, 
    color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.2s ease;
}

.navbar-main .btn-outline-primary:hover,
.navbar-main .btn-outline-primary:focus {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--text-on-main);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--text-on-main);
  font-weight: 500;
  border-radius: 50px;
  padding: 0.4rem 1rem;
  /* Subtle shadow to lift the button */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: 
    background-color 0.3s ease, 
    border-color 0.3s ease, 
    color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.2s ease;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--secondary-color-light);
  border-color: var(--secondary-color);
  color: var(--text-on-main);
  /* Slightly deeper shadow and lift effect */
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transform: translateY(-2px);
}

/* Ensure nested submenu positions to the right */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;           /* move it to the right of the parent menu */
  margin-top: -0.125rem; /* align nicely with parent */
  margin-left: 0.1rem;   /* small gap between menus */
  border-radius: 0.25rem;
}

/* ================================
   Optional: Hover effects for nav links
   ================================ */

.navbar-nav .nav-link:hover,
.dropdown-item:hover {
  color: var(--accent-color);
}

/* ================================
   Footer (if used)
   ================================ */
/* -----------------------------------

  13. Footer

------------------------------------- */

#footer[class*="footer"]{
  position: relative;
  background-color: black;
  background-position: center  center;
  background-repeat: no-repeat;
}

  [class*="footer"] .main-footer{
    padding-top: 70px;
  }

  [class*="footer"] .main-footer:not(:last-child){
    margin-bottom: 80px;
  }

  [class*="footer"] .widget{
    padding: 0;
    background: transparent;
  }

  [class*="footer"] .widget:not(:last-child){
    margin-bottom: 30px;
  }

  .footer:not(.style-4) .social-icons{
    justify-content: center;
  }

  .footer-widgets{
    padding: 60px 0 40px;
  }

    [class*="footer"] .widget .widget-title{
      color: #fff;
    }

    .footer:not(.style-3):not(.style-4) .widget .widget-title{
      text-align: center;
    }

    [class*="footer"] .widget p{
      color: #b4b7b9;
      font-size: 14px;
    }

    [class*="footer"] .widget p:not(:last-child){
      margin-bottom: 20px;
    }

  .wrapper{overflow: hidden;}

  .copyright{
    font-size: 14px;
    text-align: center;
    padding: 39px 0;
    color: #b4b7b9;
    font-weight: 300;
    letter-spacing: 1px;
  }

    .copyright a{
      color: #fff;
    }

    .copyright p:not(:last-child){
      margin-bottom: 0;
    }

    .copyright a:hover{
      text-decoration: underline;
    }

[class*="footer"] .entry-box.entry-small.style-2 .entry .entry-title a{
  color: #fff;
}

#footer[class*="footer"].fixed{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

[class*="footer"].fixed .main-footer:not(:last-child){
  margin-bottom: 0;
}

#footer a {
  color: #fff;
}

  .logo{
    display: block;
    width: 280px;
  }

    /* Our info */

  .our-info .info-item{
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
    color: #777;
  }

  .our-info:not(.vr-type) .info-item:not(:last-child){
    margin-right: 18px;
  }

    .our-info .info-item > i{
      color: #f9a72b;
      float: left;
      line-height: 26px;
      margin-right: 8px;
      padding-left: 1px;
    }

    .our-info .info-item a.link-text{
      text-transform: uppercase;
      color: #f14624;
      font-size: 12px;
      letter-spacing: 1px;
      font-weight: normal;
    }

    .info-item a:not(.link-text){
      color: #f14624;
      font-weight: 300;
    }

    .our-info .info-item a:not(.btn):hover{
      text-decoration: underline;
    }

    .info-item .info-cat{
      font-size: 14px;
      font-weight: 300;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .info-item .info-title{
      padding-top: 13px;
    }

    .info-item .social-icons{
      margin-top: 13px;
    }

    .pre-header .info-item a:not(.link-text){
      color: #777;
    }

  .our-info.style-2 .info-item,
  .our-info.style-2 .info-item a:not(.link-text){
    color: #f1f1f1;
  }

    .our-info.style-2 .info-item i{
      color: #fff;
      opacity: 0.5;
    }

  .our-info.vr-type .info-item{
    display: block;
  }

    .our-info.vr-type .info-item:not(:last-child){
      margin-bottom: 13px;
    }

    .our-info.vr-type.var2 .info-item:not(:last-child){
      margin-bottom: 36px;
    }

  .our-info.style-3 .info-item a,
  .our-info.style-3 .info-item i{
    color: #fff;
  }

  .our-info.style-3 .info-item a:hover{
    text-decoration: underline;
  }

  .parallax-section .our-info .info-item{
    font-size: 14px;
  }
  
  [class^="icon-"]:before, 
  [class*="icon-"]:before{
    width: auto;
    margin: 0;
    padding: 0;
  }



/* ================================
   Main Page Styles
   ================================ */
/* HERO SECTION */
.hero-slide {
  position: relative;
  height: 60vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 1rem;
}

.hero-content h1 {
  font-family: 'Prata', serif;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p.lead {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.hero-content .text-bg {
  background: rgba(0, 0, 0, 0.5); /* semi-transparent dark background */
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  display: inline-block;
}

/* If you prefer a light background instead: */
.hero-content .text-bg {
  background: rgba(255, 255, 255, 0.6);
  color: #000; /* switch text to dark for better contrast */
}

/* CONTENT SECTION */
.main-sections {
  min-height: 5vh; /* takes remaining screen height, adjust as needed */
}

.page-section {
  padding: 100px 0;
}

[class*="page-section"] {
    padding: 120px 0;
    position: relative;
}

.section-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px; /* set a minimum height for content */
  padding: 2rem;
  text-align: center;
  font-weight: 500;
  /* Example alternating backgrounds for visibility */
}

.section-box:nth-child(1) { background-color: var(--main-color-light); color: var(--text-on-main); }
.section-box:nth-child(2) { background-color: var(--accent-color-light); color: var(--text-on-main); }
.section-box:nth-child(3) { background-color: var(--secondary-color-light); color: var(--text-on-main); }
.section-box:nth-child(4) { background-color: var(--tertiary-color-light); color: var(--text-on-main); }

.section-box.active {
  box-shadow: inset 0 0 0 3px whitesmoke, 0 0 10px rgba(0,0,0,0.2);
  font-weight: 600; /* optional to emphasize text */
  transition: box-shadow 0.3s ease;
}

#content{
  position: relative;
}

[class*="page-section"]{
  padding: 120px 0;
  position: relative;
}

[class*="page-section"].no-bts{
  padding-bottom: 0;
}

[class*="page-section"].type2{padding: 60px 0;}

[class*="page-section"].type3{padding: 100px 0 130px;}

[class*="page-section"].type4{padding: 120px 0 107px;}

.page-section-bg{background: #f9f9f9;}

.content-element:not(:last-child){margin-bottom: 100px;}

.content-element1:not(:last-child){margin-bottom: 13px;}

.content-element2:not(:last-child){margin-bottom: 23px;}

.content-element3:not(:last-child){margin-bottom: 26px;}

.content-element4:not(:last-child){margin-bottom: 39px;}

.content-element5:not(:last-child){margin-bottom: 50px;}

.content-element6:not(:last-child){margin-bottom: 60px;}

.content-element8:not(:last-child){margin-bottom: 80px;}

.content-element10:not(:last-child){margin-bottom: 106px;}

.section-pre-title,
.section-pre-title a{
  position: relative;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 300;
  color: #9c1661;
  letter-spacing: 1px;
  padding-left: 60px;
}

.section-pre-title:not(.style-2):before{
  content: '';
  left: 0;
  top: 50%;
  background: #baa5ba;
  height: 1px;
  width: 40px;
  position: absolute;
  display: block;
}

.section-pre-title:not(:last-child),
.sub-title:not(:last-child){
  margin-bottom: 13px;
}

.section-pre-title.style-2,
.section-pre-title.style-2 a{
  padding-left: 0;
}

.parallax-section,
.media-holder{
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover; 
  -moz-background-size: cover; 
  -o-background-size: cover; 
  background-size: cover; 
}

.parallax-section{
  background-attachment: fixed;
}

.bg-section-2{
  background: #915291; /* Old browsers */
  background: -moz-linear-gradient(left, #915291 0%, #f9a72b 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #915291 0%,#f9a72b 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #915291 0%,#f9a72b 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

.bg-section{
  background: #f9a72b; /* Old browsers */
  background: -moz-linear-gradient(left, #f9a72b 0%, #915291 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #f9a72b 0%, #915291 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #f9a72b 0%, #915291 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

/* Half cols bg */

.half-bg-col{
  position: relative;
}

.half-bg-col.var2 .row{
  margin: 0 -65px;
}

.half-bg-col.var2 .row > [class*="col-"]{
  padding: 0 65px;
}

.col-bg{
  position: absolute;
  top: 0;
  left: 0;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
  background-size: cover;
}

[class*="img-col"]{
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
}

.img-col-left{
  left: 0;
}

.img-col-right{
  right: 0;
}

.half-col-wrap{
  max-width: 540px;
}

.col-bg.phone{
  max-width: 445px;
  max-height: 468px;
  right: 100px;
  left: auto;
  bottom: 0;
  top: auto;
  background-attachment: inherit;
}

.with-phone-img.half-bg-col{
  padding: 160px 0;
}


  /*----------- Callouts --------------*/

  .call-out{
    color: #f1f1f1;
    padding: 60px 0;
    font-size: 18px;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
  }

  .call-out span{
    font-size: 14px;
    letter-spacing: 0.5px;
  }

  .call-out.size-2{
    padding: 120px 0;
  }

  .call-out.wide{
    margin: 0 50px;
  }

  .call-out .call-title{
    color: #fff;
  }

  .call-out p{
    letter-spacing: 0.5px;
  }

  .call-title.var2:not(:last-child){
    margin-bottom: 9px;
  }

  h2.call-title:not(:last-child){
    margin-bottom: 30px;
  }

  .call-out.newsletter{
    background: #f14624;
    font-size: 16px;
  }

    .call-out.newsletter .call-title:not(:last-child){
      margin-bottom: 0;
    }

    .call-out.newsletter .newsletter input{
      height: 52px;
    }

  .call-out .text-size-small{
    font-size: 16px;
    line-height: 26px;
  }

  .call-out p.text-size-small:not(:last-child){
    margin-bottom: 39px;
  }

/* Info boxes */

.info-box .box-img:not(:last-child){
  margin-bottom: 35px;
}

.info-boxes.style-2 .info-box{
position: relative;
padding: 60px 40px 70px;
color: #f1f1f1;
-webkit-background-size: cover;
background-size: cover;
background-repeat: no-repeat;
}

.info-boxes.style-2 .info-box .box-title{
  position: relative;
  padding-left: 60px;

  -webkit-transition: all .45s ease;
  -o-transition: all .45s ease;
  transition: all .45s ease;
}

.info-boxes.style-2 .info-box .box-title a{
  color: #fff;
}

.info-boxes.style-2 .info-box .box-title:before{
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  height: 1px;
  width: 40px;
  background: #fff;
  opacity: .5;

  -webkit-transition: all .45s ease;
  -o-transition: all .45s ease;
  transition: all .45s ease;
}

.info-boxes.style-2 .info-box:hover .box-title{
  padding-left: 0;
  padding-right: 60px;

}

.info-boxes.style-2 .info-box:hover .box-title:before{
  left: calc(100% - 40px);
}

.info-boxes.style-2 .info-box > p,
.info-boxes.style-2 .info-box > .btn{
  opacity: 1;
  visibility: visible;
}

.info-boxes.style-3 .info-box{
  position: relative;
  padding: 60px 40px 70px;
  color: #f1f1f1;
  -webkit-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
}

  .info-boxes.style-3 .info-box .box-title{
    position: relative;
    padding-left: 60px;
    color: #fff;

    -webkit-transition: all .45s ease;
    -o-transition: all .45s ease;
    transition: all .45s ease;
  }

  .info-boxes.style-3 .info-box .box-title:before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    height: 1px;
    width: 40px;
    background: #fff;
    opacity: .5;

    -webkit-transition: all .45s ease;
    -o-transition: all .45s ease;
    transition: all .45s ease;
  }

  .info-boxes.style-3 .info-box:hover .box-title{
    padding-left: 0;
    padding-right: 60px;

  }

  .info-boxes.style-3 .info-box:hover .box-title:before{
    left: calc(100% - 40px);
  }

  .info-boxes.style-3 .info-box > p,
  .info-boxes.style-3 .info-box > .btn{
    opacity: 1;
    visibility: visible;
    -webkit-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;

  }

  /* Custom grid cols */

.flex-row{
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  flex-wrap: wrap;
}

.flex-row[class*="item-col-"]:not(.no-gutters){
  margin: 20px -15px -26px;
}

.flex-row[class*="item-col-"]:not(.no-gutters) > *{
  padding: 0 15px 26px;
}

.item-col-1 > *{
  width: 100%;
}

.item-col-2 > *{
  width: 50%;
}

.item-col-3 > *{
  width: 33.3333%;
}

.item-col-4 > *{
  width: 25%;
}

.item-col-5 > *{
  width: 20%;
}

.item-col-6 > *{
  width: 16.6666%;
}

.row.row-2{
  margin: 0 -30px;
}

.row.row-2 > [class*="col-"]{
  padding: 0 30px;
}


  /* ================================
  Index Page Styles
  ================================ */
    body .index { height: 100%; overflow: hidden; color: #fff; }

    /* Background layer */
    .bg-wrap {
      position: fixed; inset: 0; z-index: -2; background: #000; overflow: hidden;
    }
    .bg-wrap video, .bg-wrap img {
      position: absolute; top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      min-width: 100%; min-height: 100%;
      width: auto; height: auto; object-fit: cover; filter: brightness(.9);
    }
    .veil {
      position: fixed; inset: 0; z-index: -1;
      background: rgba(0,0,0,.45);
    }

    /* Two equal vertical panels */
    .stage {
      display: grid; grid-template-rows: 1fr 1fr;
      min-height: 100svh; /* mobile-friendly viewport */
    }

    .panel {
      display: grid; place-items: center; text-align: center;
      padding: clamp(16px, 4vw, 48px);
      border-bottom: 1px solid rgba(255,255,255,.25);
    }
    .panel:last-child { border-bottom: 0; }

    .title { 
      text-shadow: 0 2px 6px rgba(0,0,0,.35);
      font-weight: 700;
      font-size: clamp(22px, 3.2vw + 8px, 40px);
      margin-bottom: .25rem;
    }

    .subtitle { 
      text-shadow: 0 1px 4px rgba(0,0,0,.35);
      opacity: .95;
      font-size: clamp(14px, 1.4vw + 8px, 18px);
      margin-bottom: 1rem;
    }

    .choose { 
      color: #fff;
    }

    @media (max-height: 560px) {
      html, body { overflow: auto; } /* allow slight scroll on ultra-short screens */
    }
    @media (prefers-reduced-motion: reduce) {
      .bg-wrap video { display: none; }
    }

/* ================================
   Classes Page Styles
   ================================ */
  .outer
{
    width:100%;
    text-align: center;
}
.inner
{
    display: inline-block;
}

sup {
    vertical-align: super;
    font-size: smaller !important;
}


/* ================================
   Events Page Styles
   ================================ */
  .object-fit-cover { 
    object-fit: cover; 
  }
  .hero-thumb { 
    max-height: 360px; 
    object-fit: cover; 
  }

/* ================================
   Fees Pages Styles
   ================================ */
.table {
    margin: .5rem 0 1.5rem 0
}

.table table.unstriped {
    border: none
}

.table table.unstriped tbody {
    border: none
}

.table table.unstriped tbody tr {
    border-bottom: 1px solid #cbcad1
}

.table table.unstriped .heading {
    border: none;
    background-color: var(--main-color);
}

.table table.unstriped .heading th {
    padding: .5rem .625rem;
    font-weight: 700;
    color: white
}

.table table.unstriped th {
    padding: .5rem .625rem 0 .625rem;
    font-weight: 700;
    text-align: left
}

/* ================================
   Schedule Page Styles
   ================================ */
.agenda-item {
  padding: .75rem;
  border-radius: .25rem;
  margin-bottom: .5rem;
}
.agenda-item.ballet { background-color: var(--color-ballet); }
.agenda-item.jazz { background-color: var(--color-jazz); }
.agenda-item.hiphop { background-color: rgba(46,211,233,0.3); }
.agenda-item.lyrical { background-color: rgba(108,40,81,0.2); }
.agenda-item.contemporary { background-color: rgba(254,236,170,0.3); }
.agenda-item.tap { background-color: rgba(248, 159, 174, 0.3); }
.agenda-item.acro { background-color: rgba(248, 160, 102, 0.3); }
.agenda-item.technique { background-color: rgba(250, 48, 48, 0.479); }
.agenda-item.cancelled { background-color: rgb(151, 151, 151); }
.agenda-item.other { background-color: rgba(250,187,218,0.3); }


.mini-calendar td { cursor:pointer; }
.mini-calendar td.today { background-color: var(--color-primary); color:#fff; font-weight:bold; border-radius:.25rem; }
.mini-calendar td:hover { background-color: rgba(46,211,233,0.1); }

/* ===== Mini‑calendar header and buttons ===== */
.card-header {
  background-color: var(--color-dark); /* dark background */
  color: #fff; /* text (month name) is white */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
}

/* Make sure arrows are visible */
#prevMonthBtn,
#nextMonthBtn {
  color: #fff;
  border-color: #fff;
}

#prevMonthBtn:hover,
#nextMonthBtn:hover {
  background-color: rgba(255,255,255,0.2);
  color: #fff;
}

/* ================================
   Gallery Page Styles
   ================================ */
/* Masonry effect using CSS columns */
.masonry {
  column-count: 4;
  column-gap: 1rem;
}
@media (max-width: 992px) {
  .masonry { column-count: 3; }
}
@media (max-width: 576px) {
  .masonry { column-count: 2; }
}
.masonry-item {
  display: inline-block;
  margin-bottom: 1rem;
  width: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
  position: relative;
}
.masonry-item img,
.masonry-item video {
  width: 100%;
  display: block;
  height: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.masonry-item:hover img,
.masonry-item:hover video {
  transform: scale(1.05);        /* slight zoom */
  filter: brightness(0.8);       /* darken a bit */
}

.masonry-item.video::after {
  content: "\f04b"; /* play icon if using Font Awesome, or use a Unicode */
  font-family: "Font Awesome 6 Free"; /* adjust if using a different set */
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: rgba(255,255,255,0.9);
  pointer-events: none;
}

/* ================================
   Media Section Styles
   ================================ */
/* Masonry effect using CSS columns */

main {
  padding: 30px;
}

main .msg {
  display: flex;
  align-items: center;
  margin: 15px 0 0 0;
  padding: 15px;
  font-weight: 500;
  box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.1);
}

main .msg p {
  margin: 0;
  padding: 0 15px;
  font-size: 14px;
  flex: 1;
}

main .msg i.fa-times {
  align-self: flex-end;
  justify-content: flex-end;
  cursor: pointer;
}

main .msg i.fa-times:hover {
  opacity: .9;
}

main .msg.success {
  background-color: #C3F3D7;
  border-left: 4px solid #51a775;
  color: #51a775;
}

main .msg.success i {
  color: #51a775;
}

main .msg.error {
  background-color: #f3c3c3;
  border-left: 4px solid #a75151;
  color: #a75151;
}

main .msg.error i {
  color: #a75151;
}

main .content-block {
  margin: 0 auto;
  padding: 5px;
}

main .content-title {
  border-bottom: 1px solid #dbdddf;
  display: flex;
}

main .content-title h2 {
  flex: 1;
}

main .content-title .btn {
  height: 36px;
}

main .content-title .title {
  flex: 1;
  display: flex;
  align-items: center;
  padding-bottom: 15px;
}

main .content-title .title i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #2f3947;
  color: #fff;
  width: 52px;
  height: 42px;
  border-radius: 4px;
  margin-right: 12px;
  font-size: 18px;
}

main .content-title .title i.alt {
  background-color: #7c8394;
}

main .content-title .title h2 {
  padding: 0 0 3px 0;
}

main .content-title .title p {
  margin: 0;
  font-size: 14px;
  color: #99999a;
  font-weight: 500;
}

main .content-title .title a {
  padding: 0 15px;
  text-decoration: none;
  color: #5a5a5a;
  font-weight: 500;
  font-size: 16px;}

main .content-header {
  display: flex;
  justify-content: space-between;
}

main .content-header form {
  display: flex;
  justify-content: space-between;
}

main .content-header form .search input, main .content-header form > select {
  background-color: transparent;
  outline: none;
  border: none;
  height: 40px;
  width: 220px;
  border-bottom: 1px solid #d0d3d5;
  padding-right: 25px;
  margin-left: 10px;
}

main .content-header form .search input:hover, main .content-header form .search input:active, main .content-header form > select:hover, main .content-header form > select:active {
  border-bottom: 1px solid #b5b9bd;
}

main .content-header form > select {
  width: 150px;
}

main .content-header form > a {
  text-decoration: none;
  display: inline-flex;
  color: #676d72;
  justify-self: center;
  align-items: center;
  padding: 0 5px;
}

main .content-header form > a:hover {
  color: #4f5357;
}

main .content-header .search label {
  position: relative;
}

main .content-header .search i {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 0;
  font-size: 14px;
  margin-top: auto;
  margin-bottom: auto;
  color: #b5b9bd;
}

main .content-header .filters {
  display: flex;
  position: relative;
  margin-right: 10px;
  margin-bottom: 3px;
  align-items: center;
}

main .content-header .filters a {
  text-decoration: none;
  font-weight: 600;
  color: #4a5361;
  white-space: nowrap;
}

main .content-header .filters a:hover {
  color: #343a44;
}

main .content-header .filters .list {
  display: none;
  top: calc(100% + 5px);
  width: 180px;
  flex-flow: column;
  position: absolute;
  background-color: #fff;
  padding: 10px;
  box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.1);
}

main .content-header .filters .list label {
  padding-bottom: 5px;
  font-size: 14px;
}

main .content-header .filters .list input {
  margin-right: 10px;
}

main .content-header .filters .list select {
  width: 100%;
  margin-bottom: 10px;
  font-size: 14px;
  padding: 3px;
  border: 1px solid #dedfe1;
}

main .content-header .filters .list button {
  background: #4a79b4;
  border: 0;
  color: #FFFFFF;
  padding: 5px 0;
  font-size: 12px;
  font-weight: 600;
  margin-top: 5px;
  cursor: pointer;
  border-radius: 4px;
}

main .content-header .filters .list button:hover {
  background: #4672a9;
}

.videos {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
}

.video {
  width: 270px;
  margin-bottom: 40px;
}

.thumbnail {
  width: 100%;
  height: 170px;
  position: relative;
}

.thumbnail img {
  object-fit: contain;
  height: 94%;
  width: 100%;
  transition: .5s ease;
  backface-visibility: hidden;
}

.thumbnail img.icon {
  object-fit: contain;
  height: 22px;
  vertical-align: text-bottom;
}

.text{
  color: white;
  padding: 4px 8px;
}

.text form input[type="button"]{
  font-size: 12px;
}

.details {
  display: flex;
}

.middle {
  position: absolute;
  width: 100%;
  bottom: -15%;
  left: 0%;
  text-align: center;
}

.middle .text{
  display: inline-flex;
  color: white;
  padding: 4px 4px;
  width: 90%;
  justify-content: center;
}

.middle .text .filename{
  background-color: white;
  color: black;
  font-size: 12px;
  padding: 4px 0px 4px 8px;
}

.middle .text .photobtn {
  padding: 2px 8px 2px 8px;
  border: none;
  border-radius: 50%;
}

.author {
  width: 50px;
}

.author img {
  object-fit: contain;
  height: 40px;
  width: 40px;
  margin-right: 10px;
}

.video-title {
  display: flex;
  flex-direction: column;
}

.video-title h3 {
  color: rgb(3, 3, 3);
  line-height: 18px;
  font-size: 14px;
  margin-bottom: 6px;
  margin-top: 6px;
}

.video-title a, .video-title span {
  text-decoration: none;
  color: rgb(96, 96, 96);
  font-size: 12px;
}

.video-title a.purchase {
  padding-top: 7px;
}

.video-title .purchase span {
  text-decoration: none;
  color: white;
  font-size: 12px;
  border-radius: 10px;
  padding: 3px;
}

.video-title span.purchased {
  padding-top: 7px;
  text-decoration: none;
  color: rgb(1, 141, 8);
  font-size: 12px;
  border: 2px solid rgba(0, 141, 0, 0.7);
  border-radius: 10px;
  padding: 3px;
}

main .pagination {
    display: flex;
    align-items: center;
    padding: 25px 0;
}

.pagination {
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem;
}

main .pagination a {
    display: inline-flex;
    text-decoration: none;
    background-color: #758497;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    border-radius: 4px;
    padding: 7px 10px;
}

main .pagination a:first-child {
    margin-right: 10px;
}
main .pagination a:last-child {
    margin-left: 10px;
}

main .pagination span {
    font-weight: 600;
    margin-left: 10px;
    margin-right: 10px;
}

/* ================================
   Nutcracker Page Styles
   ================================ */
    .section-quote { padding-top: 4rem; padding-bottom: 4rem; }
    .section-quote .blockquote { margin: 0; }

/* ================================
   Registration Page Styles
   ================================ */
/* Container lays out space for the absolutely positioned icon */
.services .service-item {
  position: relative;
  padding-left: 40px;   /* room for the 32px icon + gutter */
}

/* Icon element – gets the Linearicons class and visual styles */
.services .service-item .service-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;         /* ensure a box to place the glyph */
  line-height: 32px;    /* vertically center the glyph */
  font-size: 30px;
  display: inline-block;

  /* Gradient text */
  background: linear-gradient(to right, #f9a72b 0%, #f9a72b 35%, #955492 75%, #955492 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Optional: keep your normal text using your site’s font */
.services .service-item .service-text {
  font-family: inherit;
}

/* ================================
   Registration Page Styles
   ================================ */
/* ====== Custom Checkbox Styling ====== */
.form-check-input {
  width: 1.3em;
  height: 1.3em;
  border-radius: 0.25em;
  border: 2px solid var(--main-color);
  background-color: #fff;
  transition: all 0.2s ease;
}

.form-check-input:checked {
  background-color: var(--main-color);
  border-color: var(--main-color);
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.15rem rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

.form-check-label {
  margin-left: 0.4rem;
  font-weight: 500;
  cursor: pointer;
}

.form-label {
  font-weight: 500;
}

/* Hover effect on label */
.form-check:hover .form-check-input:not(:checked) {
  border-color: var(--accent-color);
}

/* ====== Custom Submit Button ====== */
form button[type="submit"] {
  background-color: var(--main-color);
  border-color: var(--main-color);
  color: var(--text-on-main);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

form button[type="submit"].purchase {
  background-color: var(--main-color);
  border-color: var(--main-color);
  color: var(--text-on-main);
  font-weight: 600;
  padding: 0rem 0rem 0.3rem 0rem;
  border-radius: 50px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

form button[type="submit"]:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

form button[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

/* ================================
   Studios Page Styles
   ================================ */
/* Video section */

.video-poster img { transition: transform .3s ease; }
.video-poster:hover img { transform: scale(1.02); }
.play-btn svg { transform: translateX(2px); } /* nudge triangle to center visually */
.object-fit-cover { object-fit: cover; }


/* ================================
   Summer Camp Styles
   ================================ */
  /*----------- Blockquotes --------------*/

  .blockquote-holder:not(:last-child){margin-bottom: 26px;}

  blockquote{
    color: #333;
    font-size: 18px;
    line-height: 30px;
  }

  blockquote .author{
    font-size: 18px;
    color: #333;
    font-weight: 500;
    line-height: 30px;
  }

  .blockquote-holder{
    position: relative;
    overflow: hidden;
    color: transparent;
    border: 2px solid #ab619a;  
    border-image-source: linear-gradient(#f9a72b, #ab619a);
    border-image-slice: 20;
  }

  .blockquote-holder blockquote{
    padding: 40px 40px;
  }

  .blockquote-holder.with-bg{
    background: #f9a72b;
    border: none;
  }

  .blockquote-holder.with-bg blockquote,
  .blockquote-holder.with-bg blockquote .author{
    color: #fff;
  }

  .blockquote-holder blockquote p:not(:last-child){
    margin-bottom: 13px;
  }

.content-element:not(:last-child){margin-bottom: 100px;}

.content-element1:not(:last-child){margin-bottom: 13px;}

.content-element2:not(:last-child){margin-bottom: 23px;}

.content-element3:not(:last-child){margin-bottom: 26px;}

.content-element4:not(:last-child){margin-bottom: 39px;}

.content-element5:not(:last-child){margin-bottom: 50px;}

.content-element6:not(:last-child){margin-bottom: 60px;}

.content-element8:not(:last-child){margin-bottom: 80px;}

.content-element10:not(:last-child){margin-bottom: 106px;}

  .entry-box.list-type:not(:last-child){
    margin-bottom: 30px;
  }

    .entry-box.list-type .entry{
      overflow: hidden;
      padding-bottom: 26px;
    }

    .entry-box.list-type > *:not(:last-child){
      margin-bottom: 26px;
    }

      .entry-box.list-type .entry .thumbnail-attachment:not(.full){
        float: left;
      }

      .entry-box.list-type.half-col .entry .thumbnail-attachment:not(.full){
        max-width: 50%;
        width: 100%;
      }

      .entry-box.list-type .entry .thumbnail-attachment:not(:last-child){
        margin-bottom: 0;
        position: relative;
      }

      .entry-box.list-type .entry .entry-body{
        overflow: hidden;
        padding-top: 11px;
        padding-left: 30px;
      }

      .entry-box.list-type .entry .our-info:not(:last-child){
        margin-bottom: 13px;
      }

  .entry-box.entry-small.list-type{
    display: block;
    margin: 0;
  }

  .entry-box.entry-small.list-type > .entry{
    padding: 26px;
    background: #f9f9f9;
    margin: 0;
    position: relative;
  }

  .entry-box.entry-small.list-type.style-2 > .entry{
    padding-right: 70px;
  }

  .entry-box.entry-small.list-type > .entry .entry-icon{
    font-size: 30px;
    color: #999;
    position: absolute;
    right: 26px;
    top: 50%;

    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  .entry-box.entry-small.list-type > .entry .entry-icon.check{
    color: #f14624;
  }

  .entry-box.entry-small.list-type > .entry .entry-icon:not(.check):hover{
    color: #333;
  }

  .entry-box.entry-small.list-type > .entry:not(:last-child){
    margin-bottom: 13px;
  }

    .entry-box.entry-small.list-type .entry > *{
      padding: 0;
    }



/* ================================
   Troupe Page Styles
   ================================ */
.custom-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.custom-list[class*="type-"] li::before {
    content: "\e934";
    display: inline-block;
    vertical-align: top;
    margin-right: 10px;
    font-family: 'linearicons';
    color: #f9a72b;
    font-size: 20px;
    list-style-type: none;
}

.custom-list > li {
    position: relative;
    font-weight: 300;
}

.services .service-item:before {
    content: "\e959";
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    text-align: center;
    font-size: 30px;
    line-height: 32px;
    font-family: 'Linearicons';
    background: #955492;
    background: -moz-linear-gradient(left top, #f9a72b 0%, #f9a72b 35%, #955492 75%, #955492 100%);
    background: -webkit-linear-gradient(left top, #f9a72b 0%, #f9a72b 35%, #955492 75%, #955492 100%);
    background: linear-gradient(to right, #f9a72b 0%, #f9a72b 35%, #955492 75%, #955492 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: initial;
}

/* ================================
   Merch Store Page Styles
   ================================ */
/* Hover animation for product cards */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Product Carousel Styles */
/* Uniform carousel height (tweak the clamp values if you like) */
#productCarousel .carousel-inner { 
  height: clamp(260px, 70vh, 520px);
}

/* Make each slide fill the inner height */
#productCarousel .carousel-item { 
  height: 100%;
  background: #555;
}

/* Make images fill and crop consistently */
#productCarousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;       /* use 'contain' if you prefer letterboxing over cropping */
  object-position: center; /* keep the crop centered */
}


/* Sale ribbon */
.ribbon {
  position: absolute;
  top: 35px;
  left: -29px;
  background: var(--accent-color);
  color: #fff;
  padding: 5px 15px;
  font-size: 0.8rem;
  font-weight: bold;
  transform: rotate(-45deg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 10;
  pointer-events: none;
}

.card.h-100:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.color-swatch{
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid #dee2e6; cursor: pointer; display: inline-block;
  background: var(--swatch);
}

.color-swatch.disabled,
.btn.disabled {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none !important;
}

input[name="color"]:checked + .color-swatch{
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
}

.thumb-select {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
}
.thumb-select.active-thumb {
  border: 2px solid var(--secondary-color);
}

.table td, .table th {
  vertical-align: middle;
}

.btn-outline-danger i {
  pointer-events: none;
}

.btn-outline-secondary.btn-sm, .btn-outline-danger.btn-sm {
  padding: 0.25rem 0.5rem;
}
.btn-check:checked+.btn {
    color: var(--white);
    background-color: var(--tertiary-color-light);
    border-color: var(--tertiary-color-light);
}
.btn-outline-size {
  border-color: var(--tertiary-color);
  color: var(--tertiary-color);
  font-weight: 500;
  border-radius: 50px;
  padding: 0.4rem 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: 
    background-color 0.3s ease, 
    border-color 0.3s ease, 
    color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.2s ease;
}

.btn-outline-size:hover,
.btn-outline-size:focus {
  background-color: var(--tertiary-color);
  border-color: var(--accent-color);
  color: var(--text-on-main);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

h1, h4 {
  font-family: 'Prata', serif; /* your chosen heading font */
}

.list-group-item {
  font-size: 0.95rem;
}

.list-group-item.fs-5 {
  font-weight: 600;
}


/* Staff Page styling */
/* Tiny helper for alternating layout on md+ screens */
@media (min-width: 768px) {
  .staff-list .staff-card:nth-child(even) .col-img { order: 2; }
  .staff-list .staff-card:nth-child(even) .col-text { order: 1; }
}
.staff-name { margin-bottom: .25rem; }
.staff-role { margin-bottom: 1rem; }

/* Teacher Page styling */
.modal-lg-custom {
  max-width: 900px;
}
.modal-body .left-col {
  width: 40%;
}
.modal-body .right-col {
  width: 60%;
}
.modal-body .left-col img {
  width: 100%;
  height: auto;
}

/* ================================
   Account Page styling
   ================================ */
  .links {
    display: flex;
    padding: 0 15px;
    font-size: 18px;
  }

  .links a.active {
    border-bottom: 3px solid #3274d6;
    color: #3274d6;
  }

  .links a {
    color: #9da3ac;
    text-decoration: none;
    display: inline-flex;
    padding: 0 10px 10px 10px;
    font-weight: 500;
}