@import url("https://fonts.googleapis.com/css2?family=Abril+Fatface&family=DM+Serif+Text:ital@0;1&display=swap");
html, body {
  overflow-x: hidden;
}

html {
  font-size: 16px;
}

@media (max-width: 768px) {
  html {
    font-size: 12px;
  }
}

body {
  padding: 0;
  margin: 0;
  color: #262262;
  background-color: #f6f8ff;
}

body p, body ul, body li {
  color: #262262 !important;
  font-size: 1.5rem;
  text-wrap: pretty;
}

header {
  background-color: #262262;
}

header .navbar-brand {
  font-family: "DM Serif Text", serif !important;
  font-size: 2.75rem !important;
  color: #FFC857;
}

header .navbar-brand:hover {
  color: #fff;
}

header nav #menu-mainmenu .btn {
  padding: 0;
  background-color: #FFC857;
  border: none;
}

header nav #menu-mainmenu .btn a {
  color: #262262;
}

header nav #menu-mainmenu a {
  font-family: "DM Serif Text", serif !important;
  font-weight: 400;
  font-style: normal;
  font-size: 1.25rem;
  color: #fff;
}

@media (min-width: 1200px) {
  header nav #menu-mainmenu a {
    font-size: 1.15rem;
  }
}

header nav #menu-mainmenu .dropdown-menu a {
  color: #262262;
}

@media (min-width: 769px) {
  header nav #menu-mainmenu .dropdown-menu .current_page_item:after {
    display: none;
  }
}

header nav .current_page_item {
  position: relative;
}

header nav .current_page_item .nav-link {
  color: red;
}

@media (min-width: 769px) {
  header nav .current_page_item:after {
    content: '';
    position: absolute;
    height: 5px;
    background: #FFC857;
    bottom: -32px;
    left: 20px;
    right: 20px;
  }
}

@media (max-width: 991px) {
  header .nav-item {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .menu-item {
    margin: 10px 20px !important;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .menu-item a {
    font-size: 1.4rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    width: 100%;
    text-align: center;
    padding-bottom: 25px;
  }
  #menu-item-1228 {
    margin: 10px 0;
    padding: 10px;
  }
  #menu-item-1228 a {
    margin: 0;
    padding: 10px;
  }
}

footer {
  background: #FFC857;
  font-size: 1.3rem;
}

footer .row:first-child {
  padding: 30px 0;
}

footer h4, footer p, footer a {
  color: #000 !important;
}

footer h4 {
  font-family: "DM Serif Text", serif !important;
  font-size: 2.6rem !important;
  margin: 30px 0;
  color: #262262 !important;
}

footer .footer-col-1 ul li {
  width: 50%;
  display: inline-block;
  float: left;
  line-height: 2.5rem;
}

footer .footer-col-1 ul li a {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-decoration: none;
}

footer .footer-col-1 ul li a:hover {
  text-decoration: underline;
}

footer .footer-col-2 {
  text-align: center;
}

footer .footer-col-3 ul {
  display: block;
  width: 100%;
  margin-top: 30px;
}

footer .footer-col-3 ul li {
  float: left;
  width: 50%;
  padding: 0 0 0 35px;
}

footer .footer-col-3 img {
  max-width: 100%;
}

@media (max-width: 768px) {
  footer .footer-col-1,
  footer .footer-col-2,
  footer .footer-col-3 {
    width: 100%;
    margin-bottom: 60px;
  }
  footer .footer-col-3 {
    text-align: center !important;
  }
}

footer .footer-sub-row {
  text-align: center;
  margin-top: 100px;
}

footer .footer-sub-row img {
  margin-bottom: 30px;
  -webkit-animation: spin 20s linear infinite;
          animation: spin 20s linear infinite;
}

footer .footer-sub-row p {
  text-transform: uppercase;
  font-size: 1rem !important;
}

footer {
  position: relative;
}

@media (min-width: 769px) {
  footer {
    margin-top: 200px !important;
  }
}

footer:before {
  position: absolute;
  content: '';
  height: 100px;
  top: -60px;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(../img/curve.svg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

@media (min-width: 968px) {
  footer:before {
    top: -70px;
  }
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

.row-breadcrumb {
  margin-bottom: 0 !important;
}

.row-breadcrumb #breadcrumbs {
  font-size: 1rem;
}

.wpcf7-form input[type=email],
.wpcf7-form input[type=number],
.wpcf7-form input[type=password],
.wpcf7-form input[type=tel],
.wpcf7-form input[type=text],
.wpcf7-form input[type=url],
.wpcf7-form textarea {
  border-top: 1px solid #f1f1f1;
  border-left: 1px solid #f1f1f1;
  border-right: 1px solid #f1f1f1;
  border-bottom: 1px solid #262262;
  max-height: 150px;
  font-size: 1rem;
  padding-left: 10px;
}

.wpcf7-submit {
  background-color: #FFC857 !important;
  color: #262262 !important;
  font-family: "DM Serif Text", serif !important;
  font-weight: 400;
  font-style: normal;
  border: none !important;
}

.home .splide__slide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media (max-width: 768px) {
  .home .splide__slide {
    margin-bottom: 100px;
  }
}

.home header {
  position: relative;
  background: transparantize(#ccc4e0, 1);
  -webkit-box-shadow: 0px 30px 20px rgba(0, 0, 0, 0.3);
          box-shadow: 0px 30px 20px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.home #foundation-section-1 h1 {
  font-family: "DM Serif Text", serif !important;
  font-weight: 400;
  font-style: normal;
  line-height: 7.7rem;
  font-size: 9.55rem;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 0 30px #000;
}

@media (max-width: 768px) {
  .home #foundation-section-1 h1 {
    line-height: 4.7rem;
    font-size: 5.55rem;
  }
}

.home #foundation-section-1 p {
  text-wrap: pretty;
  text-transform: uppercase;
  color: #fff !important;
  font-weight: bold;
  letter-spacing: 3px;
  text-shadow: 0 0 30px #000;
}

@media (max-width: 768px) {
  .home #foundation-section-1 p {
    letter-spacing: 0px;
    font-size: 1rem;
  }
}

.home #foundation-section-1 .carousel_hero {
  margin: 0;
  padding: 0;
}

@media (min-width: 769px) {
  .home #foundation-section-1 .carousel_hero li.splide__slide .banner-container * {
    max-width: 80%;
  }
}

.home #foundation-section-1 .carousel_hero li.splide__slide {
  background-position: center left;
}

.home #foundation-section-1 .carousel_hero li.splide__slide:before {
  background-color: #FFC857;
  background-color: transparent !important;
}

@media (min-width: 769px) {
  .home #foundation-section-1 .carousel_hero li.splide__slide {
    background-color: #f1f1f1;
    background-position: center center;
    background-size: cover !important;
    width: 100%;
    height: 60vh;
  }
  .home #foundation-section-1 .carousel_hero li.splide__slide:befored {
    background: -webkit-gradient(linear, left top, right top, color-stop(10%, #99190f), color-stop(15%, #70110b), color-stop(20%, #99190f), color-stop(25%, #70110b), color-stop(30%, #99190f), color-stop(35%, #70110b), color-stop(40%, #99190f), color-stop(45%, #70110b), color-stop(50%, #99190f), color-stop(55%, #70110b), color-stop(60%, #99190f), color-stop(65%, #70110b), color-stop(70%, #99190f), color-stop(75%, #70110b), color-stop(80%, #99190f), color-stop(85%, #70110b), color-stop(90%, #99190f));
    background: linear-gradient(to right, #99190f 10%, #70110b 15%, #99190f 20%, #70110b 25%, #99190f 30%, #70110b 35%, #99190f 40%, #70110b 45%, #99190f 50%, #70110b 55%, #99190f 60%, #70110b 65%, #99190f 70%, #70110b 75%, #99190f 80%, #70110b 85%, #99190f 90%);
    background-size: 200% 100%;
    -webkit-animation: curtain-wave 100s infinite alternate;
            animation: curtain-wave 100s infinite alternate;
  }
}

@-webkit-keyframes curtain-wave {
  from {
    background-position: 0% 0%;
  }
  to {
    background-position: 100% 0%;
  }
}

@keyframes curtain-wave {
  from {
    background-position: 0% 0%;
  }
  to {
    background-position: 100% 0%;
  }
}

.home #foundation-section-2 .col-txt:first-child p {
  position: relative;
}

.home #foundation-section-2 .col-txt:first-child p:first-child {
  font-family: "DM Serif Text", serif !important;
  font-weight: 400;
  font-style: normal;
  font-size: 2rem;
  margin-bottom: 90px;
}

.home #foundation-section-2 .col-txt:first-child p:first-child:after {
  position: absolute;
  content: '';
  width: 20%;
  height: 2px;
  bottom: -40px;
  left: 0px;
  background: #FFC857;
}

.home #foundation-section-2 .col-txt:first-child img {
  width: 100%;
  margin-bottom: 30px;
}

.home #foundation-section-2 .col-txt:nth-child(2) img {
  float: right;
  width: 90%;
  height: auto;
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
          box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  -webkit-transform: rotate(3deg);
          transform: rotate(3deg);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  margin-top: 60px;
}

@media (max-width: 768px) {
  .home #foundation-section-2 .col-txt:nth-child(2) img {
    display: block;
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
    float: none;
    width: 70%;
    margin: 40px auto;
  }
}

.home #foundation-section-2 .col-txt:nth-child(2) img:hover {
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
}

.home #foundation-section-2 .col-txt:nth-child(2) img#fa-flyer {
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
}

.home #foundation-section-3 .splide__slide {
  position: relative;
  overflow: visible;
  margin-right: 10px;
  /* Use !important only if needed */
  padding: 30px 0;
}

.home #foundation-section-3 .splide__slide:after {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  height: 10px;
  background: red;
  border: 1px solid red;
  background: rgba(0, 0, 0, 0.3);
  /* Gray color with transparency */
  -webkit-filter: blur(15px);
          filter: blur(15px);
  /* Apply blur to create the shadow effect */
  content: '';
  /* Required for pseudo-elements */
}

@media (max-width: 768px) {
  .home .foundation-block {
    margin: 40px auto !important;
  }
}

.page-template-page-productions h1,
.page-template-page-builder:not(.home) h1 {
  text-align: center;
  font-family: "DM Serif Text", serif !important;
  font-weight: 400;
  font-style: normal;
  line-height: 7.7rem !important;
  font-size: 5.55rem !important;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 0 30px #000;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 768px) {
  .page-template-page-productions h1,
  .page-template-page-builder:not(.home) h1 {
    line-height: 4rem !important;
    font-size: 3.5rem !important;
  }
}

.page-template-page-productions #carousel_hero,
.page-template-page-builder:not(.home) #carousel_hero {
  margin: 0 0 100px 0;
  padding: 0;
}

@media (max-width: 768px) {
  .page-template-page-productions #carousel_hero,
  .page-template-page-builder:not(.home) #carousel_hero {
    margin: 0 0 30px 0;
  }
}

.page-template-page-productions #carousel_hero li.splide__slide,
.page-template-page-builder:not(.home) #carousel_hero li.splide__slide {
  background-position: top 30% center;
  width: 100%;
  height: 500px;
}

@media (max-width: 768px) {
  .page-template-page-productions #carousel_hero li.splide__slide,
  .page-template-page-builder:not(.home) #carousel_hero li.splide__slide {
    height: 300px;
  }
}

.page-template-page-productions #carousel_hero li.splide__slide h1,
.page-template-page-builder:not(.home) #carousel_hero li.splide__slide h1 {
  color: #fff !important;
}

.page-template-page-productions #carousel_hero li.splide__slide:before,
.page-template-page-builder:not(.home) #carousel_hero li.splide__slide:before {
  display: none;
}

.page-template-page-productions #carousel_hero li.splide__slide .banner-container *,
.page-template-page-builder:not(.home) #carousel_hero li.splide__slide .banner-container * {
  max-width: 100%;
}

.page-template-page-productions p,
.page-template-page-builder:not(.home) p {
  text-wrap: pretty;
}

main h3,
main h4 {
  color: #262262 !important;
  font-family: "DM Serif Text", serif !important;
}

.loading-message {
  position: fixed;
  bottom: 20px;
  /* Center vertically */
  left: 50%;
  /* Center horizontally */
  -webkit-transform: translate(-50%, 50%);
          transform: translate(-50%, 50%);
  /* Adjust position for perfect centering */
  background: #262262;
  /* Yellow background */
  color: #ffc107;
  /* Black text for contrast */
  text-align: center;
  padding: 20px 30px;
  /* Add padding */
  font-size: 1.5rem;
  border-radius: 5px;
  /* Optional: Rounded corners */
  display: none;
  /* Hidden by default */
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
  z-index: 1000;
}

.loading-message.visible {
  display: block;
  /* Show when active */
  opacity: 1;
}

.card-img-top {
  height: 300px;
  /* Set a consistent height */
  width: 100%;
  /* Ensure the width fits the card */
  -o-object-fit: cover;
     object-fit: cover;
  /* Crops the image while preserving aspect ratio */
  mask-image: -webkit-gradient(linear, left top, left bottom, from(black), to(black));
  mask-image: linear-gradient(black, black);
  /* Ensures proper masking if needed */
  -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(black), to(black));
  -webkit-mask-image: linear-gradient(black, black);
  /* For WebKit browsers */
}

/* Initial state for all cards */
.card {
  opacity: 1;
  /* Default for initial cards */
  -webkit-transform: none;
          transform: none;
  /* No animation for initial cards */
}

/* Transition effect for dynamically loaded cards */
.card.loaded {
  opacity: 0;
  -webkit-transform: translateY(10px);
          transform: translateY(10px);
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease, -webkit-transform 0.3s ease;
}

.card.loaded.fade-in {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

h5.card-title {
  font-family: "DM Serif Text", serif !important;
  font-weight: 400;
  font-style: normal;
  font-size: 1.5rem !important;
}

.card-text {
  font-size: 1rem;
  margin-bottom: 0;
}

.page-booking-office main img {
  -webkit-box-shadow: none;
          box-shadow: none;
}

.page-booking-office main .col-lg-4 img {
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
          box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

img {
  max-width: 100%;
  height: auto;
}

#carousel_hero {
  position: relative;
}

#carousel_hero:after {
  position: absolute;
  content: '';
  height: 70px;
  bottom: 0px;
  left: 0;
  right: 0;
  bottom: -2px;
  background-image: url(../img/curve-white.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center bottom;
}

h2 {
  font-family: "DM Serif Text", serif !important;
  font-weight: 400;
  font-style: normal;
  font-size: 4rem !important;
  margin: 30px 0;
  color: #262262 !important;
  margin-bottom: 30px !important;
}

@media (max-width: 768px) {
  h2 {
    font-size: 2.8rem !important;
  }
}

h3 {
  margin-top: 30px !important;
}

p.intro {
  font-family: "DM Serif Text", serif !important;
  font-weight: 400;
  font-style: normal;
  font-size: 2rem;
  margin: 30px 0;
}

.navbar-toggler {
  border-color: #FFC857 !important;
}

.navbar-toggler .navbar-toggler-icon {
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.current_page_item a {
  color: #FFC857 !important;
}

.splide__pagination {
  bottom: 40px !important;
}

.splide__pagination__page {
  width: 20px !important;
  height: 20px !important;
  opacity: 1;
}

.splide__pagination__page.is-active {
  -webkit-transform: unset !important;
          transform: unset !important;
}

@media (max-width: 1400px) {
  header .navbar-brand {
    font-size: 1.55rem !important;
  }
  header nav #menu-mainmenu a {
    font-size: 0.85rem;
  }
}

.foundation-block-carousel .splide__slide {
  -webkit-transform: scale(90%) !important;
          transform: scale(90%) !important;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.foundation-block-carousel .splide__slide:hover {
  -webkit-transform: rotate(0deg) scale(100%) !important;
          transform: rotate(0deg) scale(100%) !important;
  z-index: 999999;
}
/*# sourceMappingURL=st-giles-panto-society.css.map */