/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 
 /* Remove margin-bottom for a specific block layout */
.tmpl-custom-block-columns :where(.wp-block-columns) {
    margin-bottom: 0 !important;
}


 
.tmpl-full-width-container {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    /*
    background-color: #f5f5f5;
    */
}
 
 /* Basic layout for content and sidebar */
/* Ensure 66%/33% split on large screens */
.wp-block-columns.has-66-33-columns {
    display: flex;
}

.wp-block-columns.has-66-33-columns .wp-block-column:first-child {
    flex-basis: 66%;
}

.wp-block-columns.has-66-33-columns .wp-block-column:last-child {
    flex-basis: 33%;
}

/* Make columns full-width on small screens */
@media (max-width: 768px) {
    .wp-block-columns.has-66-33-columns .wp-block-column {
        flex-basis: 100%;
    }
    
    .wp-block-columns.has-66-33-columns .wp-block-column:last-child {
      margin-top: 15px;
    }
}


.tmpl-title {
  font-family: "League Gothic", sans-serif;
  text-transform: uppercase;
  margin: 0;
  font-size: 28px;
}

h1.tmpl-title {
  font-weight: normal;
  font-size: 48px !important;
  line-height: 1.1;
  margin-bottom: 25px; 
}

.tmpl_status_highlight {
  color: maroon;
}

.tmpl_status_alert {
  color: red;
}

.tmpl-credits-table td {
  border-bottom: 1px solid #999;
}

.tmpl-button {
    display: inline-block;
    padding: 10px 20px;
    color: #000;
    font-size: 1.4em;
    /* background-color: #0073aa; */
    background-color: #FFC;
    border: 2px solid #555;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

.tmpl-button:visited, .tmpl-button:active, .tmpl-button:focus,
.tmpl-button a:visited, .tmpl-button a:active, .tmpl-button a:focus {   
    color: #000; /* Same color as the default state */
    text-decoration: none; /* Optional: removes underline on hover */
}

.tmpl-button:hover {
  background-color: #FF0;
  border: 2px solid #000;
}

.tmpl-p-row {
    display: flex;
    flex-wrap: wrap; /* This ensures rows wrap correctly */
    margin-bottom: 20px; /* Spacing between rows */
}

.tmpl-p-col {
    flex: 1 1 25%; /* Four columns wide (100% / 4 = 25%) */
    padding: 10px; /* Spacing between columns */
    box-sizing: border-box; /* Ensures padding doesn't add to the width */
}

.tmpl-p-item {
    background-color: #f5f5f5;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    padding: 20px;
    text-align: center;
    border: 2px solid #EEE;
}


.tmpl-p-item:hover {
    background-color: #F8F8F8;
    border: 2px solid #555;
}

.tmpl-sponsor-ul {
  margin: 0;
}

.tmpl-spacer-small {
  height: 20px;
}

.tmpl-sponsor-window {
  margin-top: 7px;
  color: #555;
}

.tmpl-event-surtitle {
  font-style: italic;
  font-size:  22px;
  margin: 0;
  line-height: 1.0;
  padding: 0;
}

.tmpl-event-title {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.1;
  margin: 0;
}

.tmpl-event-subtitle {
  font-style: italic;
  font-size: 22px;
  margin: 5px 0;
  line-height: 1.0;
  padding: 0;
}

.tmpl-event-credits {
  font-size: 110%;
  line-height: 1.2;
  margin-top: 12px;
  margin-bottom: 12px;
  
}

div.tmpl-event-window {

}

.tmpl-event-date {
  font-family: "League Gothic", sans-serif;
  text-transform: uppercase;
  font-size: 36px;
  /* font-weight: bold; */
  line-height: 1.0;
  margin: 0;
}

.tmpl-now-playing-tag {

}

.tmpl-coming-soon-tag {

}

.tmpl-on-sale-tag {

}

.tmpl-polaroid {
  background: #fff;
  padding: 1rem;
  box-shadow: 0 0.2rem 1.2rem rgba(0,0,0,0.2);
  box-sizing: border-box;
}
.tmpl-polaroid > img{
  max-width: 100%;
  height: auto;
}

.tmpl-polaroid-caption {
  font-family: Arial;
  font-weight: bold;
  font-size: 22px;
  text-align: center;
  line-height: 2em;
  box-sizing: border-box;
}

.tmpl-headshot {
  /*width: 90%;*/
  display: inline-block;
  margin-top: 26px;
  filter: grayscale(100%);
  box-sizing: border-box;
}
.tmpl-headshot .tmpl-polaroid:before {
  content: '';
  position: absolute;
  z-index: -1;
  transition: all 0.35s;
}
.tmpl-headshot:nth-of-type(4n+2) {
  transform: scale(0.8, 0.8) rotate(5deg);
  transition: all 0.35s;
}
.tmpl-headshot:nth-of-type(4n+2) .tmpl-polaroid:before {
  transform: rotate(6deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  right: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.4);
}
.tmpl-headshot:nth-of-type(4n+1) {
  transform: scale(0.8, 0.8) rotate(-5deg);
  transition: all 0.35s;
}
.tmpl-headshot:nth-of-type(4n+1) .tmpl-polaroid:before {
  transform: rotate(-6deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  left: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.4);
}
.tmpl-headshot:nth-of-type(4n+4) {
  transform: scale(0.8, 0.8) rotate(3deg);
  transition: all 0.35s;
}
.tmpl-headshot:nth-of-type(4n+4) .tmpl-polaroid:before {
  transform: rotate(4deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  right: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.3);
}
.tmpl-headshot:nth-of-type(4n+3) {
  transform: scale(0.8, 0.8) rotate(-3deg);
  transition: all 0.35s;
}
.tmpl-headshot:nth-of-type(4n+3) .tmpl-polaroid:before {
  transform: rotate(-4deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  left: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.3);
}
.tmpl-headshot:hover {
  filter: none;
  transform: scale(1, 1) rotate(0deg) !important;
  transition: all 0.35s;
}
.tmpl-headshot:hover .tmpl-polaroid:before {
  content: '';
  position: absolute;
  z-index: -1;
  transform: rotate(0deg);
  height: 90%;
  width: 90%;
  bottom: 0%;
  right: 5%;
  box-shadow: 0 1rem 3rem rgba(0,0,0,0.2);
  transition: all 0.35s;
}


.tmpl-feature-frame {
  background-color:#FEC;
  border:solid 2vmin #eee;
  border-bottom-color:#fff;
  border-left-color:#eee;
  border-radius:2px;
  border-right-color:#eee;
  border-top-color:#ddd;
  box-shadow:0 0 5px 0 rgba(0,0,0,.25) inset, 0 5px 10px 5px rgba(0,0,0,.25);
  box-sizing:border-box;
  display:inline-block;
/* 
  margin:10vh 10vw;
  height:80vh;
  width:60vh;
 */
  padding:2vmin;
  position:relative;
/* 
  text-align:center;
 */
/* 
  &:before {
    border-radius:2px;
    bottom:-2vmin;
    box-shadow:0 2px 5px 0 rgba(0,0,0,.25) inset;
    content:"";
    left:-2vmin;
    position:absolute;
    right:-2vmin;
    top:-2vmin;
  }
  &:after {
    border-radius:2px;
    bottom:-2.5vmin;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.25);
    content:"";
    left:-2.5vmin;
    position:absolute;
    right:-2.5vmin;
    top:-2.5vmin;
  }
 */
}

.tmpl-feature-frame > img {
  border:solid 2px;
  border-bottom-color:#ffe;
  border-left-color:#eed;
  border-right-color:#eed;
  border-top-color:#ccb;
  max-height:100%;
  max-width:100%;
}



#marquee { 
  position: relative;
  font-size: 60px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  margin: 25px 0 25px 0;
  max-width: 1024px;
  background-size: 100% 1em;
  background-image: linear-gradient(to right, rgba(150, 150, 150, 0.4), transparent, rgba(150, 150, 150, 0.4)), linear-gradient(to right, transparent, transparent 12.5%, #CCC 12.5%, transparent 12.7%, transparent 25%, #CCC 25%, transparent 25.2%, transparent 37.5%, #CCC 37.5%, transparent 37.7%, transparent 50%, #CCC 50%, transparent 50.2%, transparent 62.5%, #CCC 62.5%, transparent 62.7%, transparent 75%, #CCC 75%, transparent 75.2%, transparent 87.5%, #CCC 87.5%, transparent 87.6%), linear-gradient(to bottom, white, white 25%, #CCC 25%, white 27%, white 75%, #CCC 25%, white 77%);
}

#marquee p {
  margin: 0;
}

.marquee_image {
  flex-shrink: 0; /* Prevent the image from shrinking */
}

.marquee_image img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  margin-top: 10px;
  margin-left: 10px;
}

.marquee_content {
  font-family: "League Gothic", sans-serif;
  text-align: center;
  text-transform: uppercase;
  color: black;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
}

.marquee_message {
  margin-top: 0.5em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.marquee_sm_row, .marquee_sm_row p, .marquee_lg_row, .marquee_lg_row p, {
    margin: 0;
}

.marquee_lg_row p {
  font-size: 1em;
  line-height: 1;
  box-sizing: border-box;
}


.marquee_sm_row {
  font-size: 0.5em;
  box-sizing: border-box;
  line-height: 1;
  text-align: center;
/* 
  display: flex;
  justify-content: space-between;
 */
  box-sizing: border-box;
}

.marquee_spacer {
  height: 0;
  margin-bottom: 0.5em;
}

.evsponsor {
  margin-top: 0.5em;
}

.evsponsor p {
    white-space: nowrap; /* Prevent line breaks between words */
    word-break: keep-all;
    overflow-wrap: normal;
    display: flex;
    justify-content: center; /* Center align items horizontally */
    flex-wrap: wrap; /* Allows content to wrap within the container */
    text-align: center;
    align-items: center;
    
}

span.bull_mark {
    white-space: normal; /* Allow line breaks at the spans */
    /* display: inline-block; */ /* Allows breaking on bullet points */
    padding: 0 5px; /* Adjust spacing around the bullet */
    position: relative;
}



.marquee_event_status {
  color: maroon;
 }

.marquee_footer {
  display: flex;
  align-items: flex-end;
  margin: 0 auto;
}

.marquee_right { 
  margin-left: auto; /* Pushes the button to the far right */
}

.marquee_button {
  margin: 10px 3px 3px 3px;
  padding: 4px 10px;
  background-color: #FFC; /* Background color for visibility */
  
  font-family: "League Gothic", sans-serif;
  font-size: 24px; 
    
  text-align: right; /* Ensure the text is right-aligned */
  border: 2px solid black;
  border-radius: 5px;
  
  cursor: pointer;
}


.marquee_button:hover {
    background-color: #FF5; /* Background color for visibility */
}

@media screen and (max-width: 768px) {

    #marquee {
      height: auto;
    }

    .marquee_content {
        flex-direction: column;
        align-items: flex-start;
    }

    .marquee_image {
        width: 100%; /* Make image full width */
        margin-bottom: 0px; /* Space below image */
        text-align: center;
    }
   
    .marquee_message {
/* 
      margin-left: 20px;
 */
      width: 100%;
      margin-top: 0;
    }
    
    .marquee_lg_row {
      /* width: 100%; */
    }
  
    .marquee_sm_row {
      text-align: center;
    }
    
    .marquee_footer {
       /*  width: 100%; */ /* Adjust width to the container */
      box-sizing: border-box; /* Include padding in width calculation */
      align-self: flex-end;
    }
    
    .tmpl-full-width-container {
      padding-left: -10px;
      padding-right: -10px;
    }
}

.neon_bar {
  left: 0;
  right: 0;
  height: 20px;
  position: absolute;
  background-color: #111;
}
.neon_bar.top {
  top: -20px;
}
.neon_bar.bottom {
  bottom: -20px;
}
.neon_bar:after, .neon_bar:before {
  height: 5px;
  content: " ";
  display: block;
  position: absolute;
  box-shadow: 0px 0px 6px 0px black;
  border-radius: 5px;
  background-color: #320f42;
  -webkit-animation-name: tmpl-flicker;
          animation-name: tmpl-flicker;
  -webkit-animation-delay: 1.4s;
          animation-delay: 1.4s;
  -webkit-animation-duration: 4s;
          animation-duration: 4s;
  -webkit-animation-direction: normal;
          animation-direction: normal;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  -webkit-animation-iteration-count: 3;
          animation-iteration-count: 3;
  -webkit-animation-timing-function: ease-in-out;
          animation-timing-function: ease-in-out;
}
.neon_bar:after {
  top: 2px;
  left: -5px;
  right: -5px;
  bottom: 5px;
}
.neon_bar:before {
  top: 10px;
  left: -5px;
  right: -5px;
  bottom: 5px;
}

/* PURPLE */
/* 
@-webkit-keyframes tmpl-flicker {
  35%, 37%, 39%, 41%, 100% {
    background: #d000d0;
    box-shadow: 0px 0px 6px 0px #d000d0;
    background-color: #d000d0;
    background-image: linear-gradient(#6a006a, #d000d0, #6a006a);
  }
  0%, 34%, 36%, 36%, 38%, 40% {
    background: #320f42;
    box-shadow: 0px 0px 6px 0px black;
    background-color: #d000d0;
    background-image: linear-gradient(black, #320f42, black);
  }
}

@keyframes tmpl-flicker {
  35%, 37%, 39%, 41%, 100% {
    background: #d000d0;
    box-shadow: 0px 0px 6px 0px #d000d0;
    background-color: #d000d0;
    background-image: linear-gradient(#6a006a, #d000d0, #6a006a);
  }
  0%, 34%, 36%, 36%, 38%, 40% {
    background: #320f42;
    box-shadow: 0px 0px 6px 0px black;
    background-color: #d000d0;
    background-image: linear-gradient(black, #320f42, black);
  }
}
*/

/* GOLD */
@-webkit-keyframes tmpl-flicker {
  35%, 37%, 39%, 41%, 100% {
    background: #FFCC00;
    box-shadow: 0px 0px 6px 0px #FFCC00;
    background-color: #FFCC00;
    background-image: linear-gradient(#786000, #FFCC00, #786000);
  }
  0%, 34%, 36%, 36%, 38%, 40% {
    background: #320f42;
    box-shadow: 0px 0px 6px 0px black;
    background-color: #FFCC00;
    background-image: linear-gradient(black, #320f42, black);
  }
}

@keyframes tmpl-flicker {
  35%, 37%, 39%, 41%, 100% {
    background: #FFCC00;
    box-shadow: 0px 0px 6px 0px #FFCC00;
    background-color: #FFCC00;
    background-image: linear-gradient(#786000, #FFCC00, #786000);
  }
  0%, 34%, 36%, 36%, 38%, 40% {
    background: #320f42;
    box-shadow: 0px 0px 6px 0px black;
    background-color: #FFCC00;
    background-image: linear-gradient(black, #320f42, black);
  }
}




.tmpl-display-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center the rows */
  gap: 10px; /* Space between the items */
/* 
  padding: 20px;
 */
  vertical-align: center;

}

.tmpl-display-upcoming-event {
  background-color: #FDFDFD;
  padding: 20px;
  border: 1px solid #ccc;
/* 
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  line-height: 1.1;
 */
  height: 100%;
  border-radius: 10px;
  -webkit-border-radius: 10px;
}

.tmpl-display-content1 {
  background-color: #FDFDFD;
  padding: 20px;
  text-align: center;
  border: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  line-height: 1.1;
  height: 100%;
}

.tmpl-display-upcoming-event:hover, 
.tmpl-display-content1:hover,
.tmpl-display-castmember:hover,
.tmpl-display-crewmember:hover
{
  background-color: #FFE;
  border: 1px solid #555;
}


.tmpl-display-castmember {
  background-color: #FAFAFA;
  padding: 20px;
  text-align: center;
  border: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.1;
  height: 100%;
  border-radius: 10px;
  -webkit-border-radius: 10px;
}

.tmpl-display-castmember img {
  border: 1px solid black;
}

a .tmpl-display-castmember {
  color: #333;
}


.tmpl-display-crewmember {
  background-color: #FAFAFA;
  padding: 20px;
  text-align: center;
  border: 1px solid #DDD;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.1;
  height: 100%;
  border-radius: 10px;
  -webkit-border-radius: 10px;
}

.tmpl-display-crewmember img {
  border: 1px solid #555;
}

a .tmpl-display-crewmember {
  color: #333;
}


.tmpl-display-item-4col {
  flex: 1 1 calc(24.9% - 10px); /* Four items per row, accounting for the gap */
  box-sizing: border-box;
  max-width: calc(24.9% - 10px); /* Ensure max-width fits within the row */
  width: calc(24.9% - 10px); /* enforce equal sizing... */
  /* height: calc(100% - 10px); */
/* 
  align-items: stretch;
 */
}

.tmpl-display-item-3col {
  flex: 1 1 calc(33.333% - 10px); /* Three items per row, accounting for the gap */
  box-sizing: border-box;
  max-width: calc(33.333% - 10px); /* Ensure max-width fits within the row */
  width: calc(33.333% - 10px); /* enforce equal sizing... */
  /* height: calc(100% - 10px); */
  align-items: stretch;
}


.tmpl-display-item-2col {
  flex: 1 1 calc(49.99% - 10px); /* Three items per row, accounting for the gap */
  box-sizing: border-box;
  max-width: calc(50% - 10px); /* Ensure max-width fits within the row */
  width: calc(50% - 10px); /* enforce equal sizing... */
  /* height: calc(100% - 10px); */
  align-items: stretch;
}


/* Ensure full-width when less than 4 items */
/* 
.tmpl-display-container .tmpl-display-item-4col:nth-last-child(1):nth-child(4),
.tmpl-display-container .tmpl-display-item-4col:nth-last-child(2):nth-child(3),
.tmpl-display-container .tmpl-display-item-4col:nth-last-child(3):nth-child(2),
.tmpl-display-container .tmpl-display-item-4col:nth-last-child(4):nth-child(1) {
  flex: 1 1 calc(100% - 10px); 
  max-width: calc(100% - 10px); 
}
 */



/* Ensure full-width when less than 3 items */
/* 
.tmpl-display-container .tmpl-display-item-3col:nth-last-child(1):nth-child(3),
.tmpl-display-container .tmpl-display-item-3col:nth-last-child(2):nth-child(2),
.tmpl-display-container .tmpl-display-item-3col:nth-last-child(3):nth-child(1) {
  flex: 1 1 calc(100% - 10px); 
  max-width: calc(100% - 10px); 
}
 */


@media screen and (max-width: 1200px) {
  .tmpl-display-item-4col {
    flex: 1 1 calc(33.333% - 10px); /* Condense to two items per row, accounting for the gap */
    max-width: calc(33.333% - 10px); /* Ensure max-width fits within the row */
  }
  
  .tmpl-display-container .tmpl-display-item-4col:nth-last-child(1):nth-child(3),
  .tmpl-display-container .tmpl-display-item-4col:nth-last-child(2):nth-child(2),
  .tmpl-display-container .tmpl-display-item-4col:nth-last-child(3):nth-child(1) {
    flex: 1 1 calc(33% - 10px); /* Full width if it's the only item in the row */
    max-width: calc(33% - 10px); /* Ensure max-width fits within the row */
  }
  
  
}

@media screen and (max-width: 1025px) {
  .tmpl-display-item-2col {
    flex: 1 1 calc(100% - 10px); /* Condense to two items per row, accounting for the gap */
    max-width: calc(100% - 10px); /* Ensure max-width fits within the row */
  }
}

@media screen and (max-width: 768px) {
  .tmpl-display-item-4col, .tmpl-display-item-3col {
    flex: 1 1 calc(49.9% - 10px); /* Condense to two items per row, accounting for the gap */
    max-width: calc(50% - 10px); /* Ensure max-width fits within the row */
  }
  
  /* Ensure full-width when less than 2 items */
  .tmpl-display-container .tmpl-display-item-4col:nth-last-child(1):nth-child(2),
  .tmpl-display-container .tmpl-display-item-4col:nth-last-child(2):nth-child(1),
  
  .tmpl-display-container .tmpl-display-item-3col:nth-last-child(1):nth-child(2),
  .tmpl-display-container .tmpl-display-item-3col:nth-last-child(2):nth-child(1) {
      flex: 1 1 calc(100% - 10px); /* Full width if it's the only item in the row */
      max-width: calc(100% - 10px); /* Ensure max-width fits within the row */
  }  
    
}

@media screen and (max-width: 450px) {
  .tmpl-display-item-4col, .tmpl-display-item-3col, .tmpl-display-item-2col {
    flex: 1 1 calc(100% - 10px); /* Condense to two items per row, accounting for the gap */
    max-width: calc(100% - 10px); /* Ensure max-width fits within the row */
  }
}
