
/* .pt-sans-narrow-regular {
  font-family: "PT Sans Narrow", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.pt-sans-narrow-bold {
  font-family: "PT Sans Narrow", sans-serif;
  font-weight: 700;
  font-style: normal;
} */

/* Reset and base styles */
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  line-height: 1.5; /* Line height  */
  letter-spacing: 0.06rem; /* Letter spacing */
  word-spacing: 0.03rem; /* Word spacing */
  background-color: #453f0a;
}

body {
  font-size: 16px; /* set a fixed font size */
  font-size-adjust: none; /* prevent font scaling */
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

h2, h3, h4, h5, h6 {
  display: inline-block;
  background-color: #fdfdfd;
}

.hide {

  display: none;

}

.header-bg {
  background-image: url('../images/heading-bg-line.gif');
  background-repeat: no-repeat; /* prevent repetition */
  background-position: center; /* center the image */
  background-size: contain; /* fit horizontally without clipping */
  overflow: hidden; /* hide the clipped area */
  /*height: 100%; /* optional, sets the div height to 100% of its parent */
  width: 100%; /* optional, sets the div width to 100% of its parent */
  text-align: center;
  margin: 4rem 0 0 0;
}

h1 {
  font-size: 4rem;
  font-family: "Averia Serif Libre", serif;
  font-weight: 700;
  font-style: normal;
}

h2 {
  font-size: 2rem;
  padding: 0 1rem 0 1rem;
}

.h2-feature {
  color: #444;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  background-color: rgba(242, 202, 140, 0.4);
  border-radius: 10px;
  padding: 0.2rem 1rem 0.4rem 1rem;
}

.h2-feature-small-shadow {
  color: #444;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  background-color: rgba(242, 202, 140, 0.4);
  border-radius: 10px;
  padding: 0.2rem 1rem 0.4rem 1rem;
}

h3 {
  font-size: 2rem;
  padding: 0 1rem 0 1rem;
}


#customConfirm .confirmMsg {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  margin: 0 2rem 0 2rem;
}

/* this is the style defintion for the google font playfair. */
.playfair-display-title-fonts {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.required {

  font-size: 1.3rem;
  font-weight: bold;
  color: red;
  margin: 0 0.1rem 0 0;

}
.off-screen-content {

  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap !important; /* optional, for better support */
  border: 0 !important;

}

.page-content {
  width: 95%;
  max-width: 2000px;/*1024px;*/
  margin: 0 auto;
  display: block;
  background-color: #fdfdfd;
  box-shadow: 0 2px 8px rgba(72, 72, 72, 0.5);
}

/* Header styles */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px 0 2px 0;;
  margin: 0;
  height: 65px;
  min-height: 65px;
  width: 100%;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border: 0;
  box-shadow: 0 2px 8px rgba(72, 72, 72, 0.5);
}

#header-links {
  display: flex;
  justify-content: center; /* Horizontal centering */
  align-items: center;     /* Vertical centering */
  height: 100px;           /* Set height to viewport height or desired height */
  color: #000;/*E9D601;*/
}

#header-links a {
  color: #000000;
}

.hidden-field {
  display: none;
}

p {
  font-size: 1.2rem;
  line-height: 1.8rem;
  font-family: "PT Sans Narrow", sans-serif;
  font-weight: 400;
  font-style: normal;
}

p.error-msg {
  font-size: 1rem;
  line-height: 0rem;
  padding: 0.4rem 0 0.2rem 0.4rem;
}

p.field-notes {
  max-width: 80ch;
  padding: 0 0.4rem 0 0;
}

.tickets-date-time {
  font-size: 1.2rem;
  display: inline-block;
  font-weight: bold;
  margin: 0.6rem 0 0 0;
}

p .tickets-body a {
  font-family: "Rubik Moonrocks", sans-serif;
  font-weight: 400;
  font-style: normal;
  display: inline-block;
  background-color: gold;
  padding: 0.6rem 0.8rem 0.6rem 0.8rem;
  border: 3px dotted #938005;
  margin: 1rem 0 1rem 0;
  text-decoration: underline;
  font-size: 1.8rem;
  color: #000;
}


p .tickets-body a:hover {
  color: #000;
}

p .tickets-body a:active {
  color: #000;
}

p .tickets-body a:focus {
  color: #000;
}

.get-tickets-link .tickets-header {
  font-family: "Rubik Moonrocks", sans-serif;
  font-weight: 400;
  font-style: normal;
  display: inline-block;
  background-color: gold;
  padding: 0.3rem 0.7rem 0.3rem 0.7rem;
  border: 3px dotted #938005;
  margin: 0 0 0 0;
  text-decoration: underline;
  font-size: 1.6rem;
}

label {
  margin: 3rem 0;
  font-weight: bold;
}

textarea {
  padding: 0.4rem;
  margin: 0;
}

input[type="text"] {
  padding: 0.4rem;
  margin: 0 0 2rem 0;
}

.full-width-input {
  padding: 0.4rem;
  margin: 0 0 2rem 0;
  width: 100%;
  height: 40px;
  padding: 10px;
  box-sizing: border-box;
}

select {
  padding: 0.4rem;
  margin: 0 0 2rem 0;
}

/* Buttons styles */
.btn {
  padding: 8px 16px;
  margin: 0 0 0 2rem;
  cursor: pointer;
  text-decoration: none;
  /* font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal; */
  font-family: "PT Sans Narrow", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1.6rem;
  color: black;
}

.adminButtons {
  padding: 0.25rem;
  margin: 0 4px;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 1rem;
  color: black;
}

/* Header image styles */
.header-image-container {
  display: block; /* Changed from inline-block to block */
  height: 317px;
  background-size: cover; /* Add this line to make the image fit inside the div */
  background-position: center; /* Add this line to center the image horizontally and vertically */
  background-image: url('../images/header-img_2000.jpg');
  text-align: center;
}

.header-image {
  height: auto;
  width: 1025px;
  max-width: 100%;
  object-fit: contain;
}

/* Main content area */
.main {
  flex: 1; /* fills remaining space, pushes footer down */
  padding: 20px;
  box-sizing: border-box;
  width: 100%;
  /* Add bottom padding to prevent content from being hidden behind footer */
  padding-bottom: 3rem; /* default for desktop */
}

#h1 {
  margin: 10rem 0 0 0;
  text-align: center;
}

.home-nav-but {
  margin: 0 0 0 2rem;
}

#backToHome {
  text-align: center;
}

#backToHome a {
  color: black;
  font-size: 1.4rem;
}

.site-map {
  padding: 0 3rem 3rem 2rem;
  width: 60%;
  line-height: 1.8rem;
}

.page-heading-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-heading-list li {
  padding: 0.4rem;
  margin: 0;
}

.get-tickets-link {
  display: inline-block;
  background: #fff;
  margin: 0 0 0 0;
  color: #000;
}

.get-tickets-link a {
  color: #000;
}

.get-tickets-link a:hover {
  color: #000;
}

.get-tickets-link a:active {
  color: #000;
}

.get-tickets-link a:focus {
  color: #000;
}

/* Fix selector: 'a image' should be 'a img' */
.get-tickets-link a img {
  height: 43px;
  width: 120px;
}

/* Cards styles */
.cards-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 90%;
  margin: 0 auto;
}

.cards-container-left {
  display: flex;
  flex-direction: column;
  align-items:  flex-start;
  gap: 20px;
  width: 90%;
  margin: 0 auto;
}

.cards-container, .cards-container-left h2 {
  padding: 4rem 0 0 0;
}

.page-card {
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 800px;
  padding: 10px;
  padding-bottom: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background-color: #F9ECE5;
}

.card-title {
  margin: 0 0 10px 0;
  font-size: 1.5em;
}

.page-card .card-img {
  width: auto;
  height: auto;
  max-width: 750px;
  max-height: calc(100vh - 300px); /* calculate the height as window height minus 20px */
  border-radius: 4px;
  margin-bottom: 10px;
  object-fit: contain; /* add object-fit to prevent image from exceeding the height */
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.8);
}

.page-card .card-img-full {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 300px); /* calculate the height as window height minus 20px */
  border-radius: 4px;
  margin-bottom: 10px;
  object-fit: contain; /* add object-fit to prevent image from exceeding the height */
}

.event-name-for-tickets {
  font-size: 1.2rem;
  display: inline-block;
  font-weight: bold;
  margin: 0.6rem 0 0 0;
}

/* Apply margin to all page-cards except the first one */
div .page-card:not(:first-of-type) {
  margin: 6rem 0 0 0;
}

.card-image {
  text-align: center;
  margin: 2rem 0 0 0;
}

.event-ticket-div {
  display: flex;
  width: 100%;
}

.ticket-area-div {
  display: flex;
  margin: 0 0 1rem 0;
}

.ticket-area-p {
  padding: 0.4rem;
  font-size: 1rem;
  text-align: center;
}

.event-ticket-area-note {
  flex: 0 0 60%;
  background-color: #fefefe;/*F7EEA3;*/
  margin: 0 0 1rem 0;
  border: 1px solid #e0dce1;
}

.ticket-area-p-note {
  padding: 0.4rem;
  font-size: 1.2rem;
  text-align: left;
}

.card-time-dates {
  font-size: 0.8rem;
  padding: 1rem;
  margin: 0 0 0 0;
  box-shadow: 0 2px 8px rgba(72, 72, 72, 0.5);
  background-color: #F2F2F2;
}

.card-description {
  font-size: 1.6em;
  margin-top: auto;
  padding: 1rem 1rem 0.6rem 1.4rem;
}

.event-ticket-area {
  flex: 0 0 40%;
  background-color: #E0DCE1;/*e5f0fe;*/
  margin: 0 0 1rem 0;
}

.event-note {
  flex: 0 0 60%;
  background-color: #F7EEA3;
  margin: 0 0 1rem 0;
}


.data-table {
  border-collapse: collapse; /* Remove cell spacing */
  width: 100%; /* Optional: full width, adjust as needed */
}

.data-table th,
.data-table td {
  border: 1px solid #000; /* 1px solid borders, black color */
  padding: 8px; /* Optional: padding inside cells */
  text-align: left; /* Optional: text alignment */
}

.data-table thead th {
  background-color: #ddd; /* Header background color */
  color: #222;
}

.formFieldText {
  margin: 2rem 0 0 0;
  text-align: left;

}

.production-details-p {
  display: inline-block;
 /* padding: 0.4rem 0.4rem 0.4rem 0.4rem;/*0.4rem 1.6rem 0.4rem 1.6rem;*/
  background-color: rgba(176,204,209,0.9);/*rgba(255,255,255,0.9);/*#fff;*/
  border-radius: 5px;
  padding: 0.4rem 2rem 0.4rem 2rem;
}

.production-details-p a {
  color: black;
  font-weight: bold;
  font-size: 1.8rem;
  letter-spacing: 2px;
}

/* Footer default - fixed on large screens */
footer {
  background-color: #f8f9fa;
  height: 150px; /* Fixed height for calculation */
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  max-width: 2000px;
  padding: 0;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
  /* Default: fixed at bottom for desktops */
  position: sticky;
  bottom: 0;
  overflow-y: hidden;
}

/* Footer inner layout */
footer .footer-columns {
  display: flex;
  width: 100%;
  justify-content: space-around;
  font-size: 1rem;
  margin: 0.6rem 0 0 0;
}

footer .footer-columns h2 {

  font-size: 1rem;
  font-weight: bold;

}

/* Footer columns styling */
.footer-column {
  text-align: center;
  flex: 1;
  padding: 0 10px;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  line-height: 1.3rem;
  margin: 0.2rem 0 0 0;
}

footer ul li a {
  color: black;
}

footer H2 {
  font-size: 1rem;
  padding: 0;
  margin: 0;
}

@media(max-height: 700px) {

  footer {
    position: static; /* footer flows with content */
    height: auto;     /* height adjusts to content */
    flex-direction: column; /* stack vertically */
    padding: 1rem 0;
  }

}

/* Responsive styles for smartphones/tablets (max-width: 768px) */
@media(max-width: 768px) {

  .page-content {
    width: 100%;
  }

  .site-map {
    padding: 0 3rem 1rem 1rem;
    width: 60%;
    line-height: 1.8rem;
  }

  footer {
    position: static; /* footer flows with content */
    height: auto;     /* height adjusts to content */
    flex-direction: column; /* stack vertically */
    padding: 1rem 0;
  }

  footer .footer-columns {
    flex-direction: column;
    align-items: center;
    font-size: 1.2rem;
  }

  footer .footer-columns h2 {

    font-size: 1.2rem;
    font-weight: bold;
    margin: 1rem 0 0 0;
    
  }

  .footer-column {
    width: 95%;
    margin-bottom: 1rem;
    padding: 0 10px;
  }

  footer ul li {
    margin: 0.8rem 0 0 0;
  }

  /* Remove bottom padding from main when footer is static */
  .main {
    padding-bottom: 3rem;
  }

  /* Cards styles */
  .cards-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
}

  .cards-container-left {
    display: flex;
    flex-direction: column;
    align-items:  flex-start;
    gap: 20px;
    width: 90%;
    margin: 0 auto;
  }

  .page-card .card-img {
    max-width: 90%;
  }
  
  /* Buttons styles */
  .btn {
    padding: 8px 16px;
    margin: 0 4px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.6em;
    text-decoration: none;

  }

  .home-nav-but {
    margin: 0 0 0 1rem;
  }

  .card-description {
    font-size: 1.4em;
    margin-top: auto;
    padding: 0.6rem 0 0 0.4rem;
  }

  /* Fix selector: 'a image' should be 'a img' */
  .get-tickets-link a img {
    height: 38px;
    width: 108px;
  }

  .event-ticket-div {
    display: block;
    width: 100%;
  }

  .event-ticket-area {
    margin: 0;
  }

  .event-note {
    display: block;
    margin: 0;
  }

  .ticket-area-p {
    padding: 0.4rem;
    font-size: 1rem;
    text-align: center;
    margin: 0;
  }

  .event-ticket-area-note {
    flex: 0 0 0;
    background-color: #fefefe;
    margin: 0 0 2rem 0;
    border: 1px solid #e0dce1;
  }

  .ticket-area-div {
    display: flex;
    flex-direction: column;
    margin: 0 0 0 0;
  }

}

/* Responsive styles for smartphones/tablets  */
@media(max-width: 550px) {

}

/* Responsive styles for smartphones/tablets  */
@media(max-width: 500px) {

}

/* Additional: ensure the main always has enough bottom padding on desktop */
@media(min-width: 769px) {

  .main {
    padding-bottom: 3rem; /* same as footer height + some margin */
  }

  #h1 {
    margin: 3rem 0 0 0;
  }
  
}


/* HEIGHT MEDIA */

/* Additional: ensure the main always has enough bottom padding on desktop */
@media( max-height: 800px ) {

  .page-card .card-img {
    width: auto;
    height: auto;
    max-height: 500px;/*calc(100vh - 300px); /* calculate the height as window height minus 20px */
    border-radius: 4px;
    margin-bottom: 10px;
    object-fit: contain; /* add object-fit to prevent image from exceeding the height */
  }

}
