/* ==========================================================================
   Global Typography & Premium Styles (NEO/GEO )
   ========================================================================== */
body p {
    font-size: 1.2rem;
    line-height: 1.6;
}

h1, .h1 {
    font-size: 2.2rem;
    font-weight: bold;
    color: #1f3f94; /* Brand blue for top-level headers */
}

h2, .h2 {
    font-size: 1.6rem;
}

/* Unified White Card Style */
.pc-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid #1f3f94;
}

/* Unified Contact Card Style */
.pc-contact-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 2.5rem;
    height: 100%;
    border-top: 4px solid #1f3f94;
    display: flex;
    flex-direction: column;
}
.pc-contact-card h3 {
    color: #1f3f94;
    margin-top: 0;
    font-weight: bold;
    font-size: 1.4rem;
}
.pc-contact-card p {
    flex-grow: 1; /* Pushes the button to the bottom evenly */
}

/* ==========================================================================
   Original Global Styles
   ========================================================================== */
#wrapper-iframe { 
    padding: 10px;
}

#subscribe-with-stripe-btn {
    /* same size as paypal button */
    width: 300px;
    height: 45px;
    border-radius: 23px;
    font-size: 18px;
}

/* a container we can put around a google signin button to make it smaller and centered. */
.g-signin-centered {
    text-align: center;
}
.g-signin-centered .g_id_signin {
    display: inline-block;
}

#ez-sidebar-wall-right, #ez-sidebar-wall-left {
    display: none;
}

.btn-pp-gold {
    color: black;
    background: #ffc439;
    border-color: #fff;
}

.btn-pp-gold:hover {
  color: #333;
  background-color: #ffd459;
}

.alert {
    margin: 6px;
}

.sidebar-brand a {
    /* increase size of 'presale.codes' logo in top right */
    font-size: 24px;
}

.form-horizontal .row {
    margin-top: 10px;
    margin-bottom: 10px;
}

.well.locked {
    font-size:1.08em; 
    line-height: 1.37em;
}

.border-radius-20px {
    border-radius: 20px;
}

.border-radius-23px {
    border-radius: 23px;
}

/* spinner like bs5 */
@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: -0.125em;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: .75s linear infinite spinner-border;
    animation: .75s linear infinite spinner-border;
}

.spinner-border-md {
    width: 1.5rem;
    height: 1.5rem;
    border-width: 0.2em;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

/* helper like bs5 */
.d-none {
    display: none;
}

.fw-bold {
    font-weight: bold;
}

.fst-italic {
    font-style: italic;
}

/* this is supposed to be, with $spacer=1 :
1 - $spacer * .25  
2 - $spacer * .5
3 - $spacer
4 - $spacer * 1.5
5 - $spacer * 3 */

.fs-17px {
    font-size: 17px;
}

.fs-34px {
    font-size: 34px;
}

.fs-4 {
    font-size: 1.5em;
}

.me-1 {
    margin-right: 0.5em;
}

.ms-2 {
    margin-left: 1em;
}

.mb-1 {
    margin-bottom: 0.5em;
}

.mb-2 {
    margin-bottom: 1em;
}

.mb-3 {
    margin-bottom: 1.5em;
}

.mb-4 {
    margin-bottom: 2em;
}

.mb-5 {
    margin-bottom: 3em;
}

.mt-0 {
    margin-top: 0em;
}

.mt-1 {
    margin-top: 0.5em;
}

.mt-2 {
    margin-top: 1em;
}

.mt-3 {
    margin-top: 1.5em;
}

.mt-4 {
    margin-top: 2em;
}

.mt-5 {
    margin-top: 3em;
}

.my-0 {
    margin-top: 0;
    margin-bottom: 0;
}

.my-1 {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.my-3 {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.my-5 {
    margin-top: 3em;
    margin-bottom: 3em;
}

.sticky-top {
    position: sticky;
    top: 0;
}

/* in bs5 these helper classes all have !important. do we want that here? we need it for p-0 to clear table padding... */
.p-0 {
    padding: 0 !important;
}

.p-1 {
    padding: 0.5em;
}

.p-2 {
    padding: 1em;
}

.py-2 {
    padding-top: 1em !important; /* important needed when used in table th */
    padding-bottom: 1em !important;
}

.py-3 {
    padding-top: 1.5em !important; /* important needed when used in table th */
    padding-bottom: 1.5em !important;
}

.pt-2 {
    padding-top: 1em;
}

.pt-3 {
    padding-top: 1.5em;
}

.m-0 {
    margin: 0;
}

.px-2 {
    padding-left: 1em;
    padding-right: 1em;
}

.px-3 {
    padding-left: 1.5em;
    padding-right: 1.5em;
}

.px-5 {
    padding-left: 3em;
    padding-right: 3em;
}

.mb-0 {
    margin-bottom: 0px;
}

.ps-0 {
    padding-left: 0px;
}

.ps-1 {
    padding-left: 0.5em;
}

.ps-3 {
    padding-left: 1.5em;
}

.ps-5 {
    padding-left: 3em;
}

.pt-1 {
    padding-top: 0.5em;
}

.pb-1 {
    padding-bottom: 0.5em;
}

.pb-2 {
    padding-bottom: 1em;
}

.pb-3 {
    padding-bottom: 1.5em;
}

.pb-4 {
    padding-bottom: 2em;
}

.pb-5 {
    padding-bottom: 3em;
}

.w-0 {
    width: 0;
}

.w-100 {
    width: 100%;
}

.bg-white {
    background-color: white;;
}

.border {
    border: 1px solid black;
}

.border-danger {
    border-color: red;
}

.vertical-align-middle {
    vertical-align: middle !important; /* important needed for table td/th. */
}

/* remove margin from .row, in combination with the sidebar it expands past its parents & it adds a horizontal scrollbar. */
#page-content-wrapper .row {
    margin-left: 0px;
    margin-right: 0px;
}

/* pagination */
/* align "this weeks presales/presales for {month} {year}" text with pagination buttons */
h3.tableHeader {
     margin-bottom:15px; 
     margin-top:15px;
}

/* right-align pagination buttons */
.paginationContainer {
    text-align: right;
}

/* position "pages:" label nicely next to buttons */
.paginationContainer .pageLabel {
    position: relative;
    padding-right: 6px;
}
#topPaginationContainer .pageLabel {
    top: -22px;
}
#bottomPaginationContainer .pageLabel {
    top: -11px;
}

/* remove margin around pagination control */ 
#topPaginationContainer ul.pagination {
    margin: 4px 0px 12px 0px;
}
#bottomPaginationContainer ul.pagination {
    margin: 0px;
}

/* presale table */
#presaleTable {
    /* fit more information into the grid */
    font-size:.8em;
}
#presaleTable tbody td {
    /* middle-align text in presale table cells */
    vertical-align: middle;
}

/* delete above once new button is working */
.pp-container {
    display: table; 
    width: auto; 
    margin: 0px auto;
    padding: 15px; 
    border: 1px solid #333; 
    background-color: floralwhite; 
    text-align: center;
}
.pp-container .footer {
    margin: 30px 0px 0px;
}
.pp-choices {
    margin-top: 10px;
    margin-bottom: 30px;
}
.pp-choice-row {
    margin-bottom: 10px;
    border-bottom: 1px solid #f4efdb;
}
.pp-button-container {
    width: 300px;
    margin: 0px auto;
}
.pp-cards {
    height: 24px;
    margin-top: 10px;
}
.pp-spinner {
    display: none;
}
.pp-spinner .creating {
    font-size: 30px;
    font-style: italic;
}
.pp-permanent-error {
    font-size: 18px;
    color: red;
}
.pp-permanent-error .title {
    font-size: 28px;
    font-weight: bold;
}
.pp-permanent-error .email {
    font-size: 22px;
    font-weight: bold;
    text-decoration: underline;
    margin: 15px 0px 5px;
}

@keyframes infiniteScroll {
    from {
        transform: translateX(0)
    }
    to {
        transform: translateX(calc(0px - 50%));
    }
}

.horizontal-scroller-container {
    font-size: 12px;
    margin: 10px auto 0px;
    overflow-x: hidden;
    width: 500px;
    font-style: italic;
}
/* adjust scroller width for smaller displays. */
@media screen and (max-width:900px) {
    .horizontal-scroller-container {
        width: 400px;
    }
}
@media screen and (max-width:500px) {
    .horizontal-scroller-container {
        width: 250px;
    }
}

.horizontal-scroller {
    display: flex;
    width: 2600px;
    animation-name: infiniteScroll;
    animation-duration: 60s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.nowrap {
    white-space: nowrap;
}

#trial-modal .modal-header {
    font-size: 28px;
    padding: 10px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
#trial-modal .modal-header img {
    width: 84px;
    height: 75px;
}
#trial-modal .modal-subheader {
    color: white; 
    background: #1f3f94; 
    padding: 10px; 
    font-size: 18px;
}
#trial-modal .pp-container {
    margin: 25px auto;
}
#trial-modal .muted {
     color: lightslategrey; 
     font-size: 12px; 
     padding: 0px 10px;
}

@media (max-width: 767px) {
    .pp-button-container {
        width: 100%;
    }
    #searchBtnContainer {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}

/* responsive text classes like in bs4+ */
@media (max-width: 767px) {
    .text-xs-left { text-align: left !important; }
    .text-xs-right { text-align: right !important; }
    .text-xs-center { text-align: center !important; }
    .text-xs-justify { text-align: justify !important; }
}

@media (min-width: 768px) and (max-width: 991px) { 
    .text-sm-left { text-align: left !important; }
    .text-sm-right { text-align: right !important; }
    .text-sm-center { text-align: center !important; }
    .text-sm-justify { text-align: justify !important; }
}

@media (min-width: 992px) and (max-width: 1199px) { 
    .text-md-left { text-align: left !important; }
    .text-md-right { text-align: right !important; }
    .text-md-center { text-align: center !important; }
    .text-md-justify { text-align: justify !important; }
}

@media (min-width: 1200px) {
    .text-lg-left { text-align: left !important; }
    .text-lg-right { text-align: right !important; }
    .text-lg-center { text-align: center !important; }
    .text-lg-justify { text-align: justify !important; }
}

/* "popular now" marquee */
@keyframes scroll {
    from {
        /* start a little off 0 so we can see "popular right now" text for a moment. */
        transform: translateX(3%);
    }
    to {
        transform: translateX(calc(-103% - var(--gap)));
    }
}
.popular-marquee {
    --gap: 4px;
    position: relative;
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: var(--gap);
    border: 2px dashed lightgray;
}

.popular-marquee .marquee-content {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    gap: var(--gap);
    animation: scroll 60s linear infinite;
}

/* pause on hover */
.popular-marquee:hover .marquee-content {
    animation-play-state: paused;
}

/* comments */

.comment {
    display: flex;
}

.comment:not(:first-child) {
    margin-top: 20px;   
}

.comment-author-img {
    border-radius: 50%;
    margin-right: 10px;
}

.comment-body {
    flex-grow: 1;
}

.comment-title {
    margin-bottom: 5px;
    font-size: 16px;
}

.comment-author {
    font-weight: bold;
}

/* countdown on presale page */
.countdown {
    display: flex;
    flex-direction: row;
    column-gap: 1em;
}

.countdown-period {
    flex: 1;
    border-radius: 15px;
    background-color: #c0c0c082;
}

.countdown-digits {
    font-size: 60px;
    line-height: normal;
    padding-top: 8px;
}

.countdown-label {
    padding-bottom: 10px;
}

.comment-reply .form-control, .comment-reply .btn {
    margin-top: 5px;
}

/* shrink countdown to fit better on mobile */
@media (max-width: 767px) {
    .countdown {
        column-gap: 0.5em;
    }
    .countdown-digits {
        font-size: 30px;
    }
    .countdown-label {
        font-size: 16px;
    }
}

mark {
    margin: 0 -0.3em;
    padding: 0.1em 0.4em;
    border-radius: 0.8em 0.3em;
    background: transparent;
    background-image: linear-gradient(
      to right,
      rgba(255, 225, 0, 0.1),
      rgba(255, 225, 0, 0.7) 4%,
      rgba(255, 225, 0, 0.3)
    );
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    
}

/* image banner thing on search page. didnt touch styles. */
.banner {
    position: relative;
    min-height: 32vh;
    display: flex;
    align-items: flex-end; /* Align text to the bottom */
    justify-content: flex-start; /* Align text to the left */
    padding: 16px; /* Adds some space for text positioning */
    overflow: hidden; /* Ensure elements stay within the section */
}

.banner-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures the whole image is displayed without clipping */
    transform: translate(-50%, -50%); /* Center the image in the container */
    z-index: 1;
}

.banner::before,
.banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
    height: 100%;
    opacity: 0.35; /* Increased transparency for a more subtle effect */
    z-index: 2; /* Ensure overlays are above the image but below the text */
}

.banner::before {
    transform: skew(10deg);
    background: linear-gradient(to right, #182a7d 20%, rgba(24, 42, 125, 0) 80%);
}

.banner::after {
    transform: skew(-10deg);
    background: linear-gradient(to left, #8f8f8f 20%, rgba(75, 0, 130, 0) 80%);
}

.presale-ticket-resources {
    position: absolute;
    bottom: 16px; /* Positioning just above the bottom to align with the text */
    left: 0;
    width: 100%;
    height: 55px; /* Height of the geometric element */
    background: linear-gradient(to bottom, #182a7d 20%, rgba(24, 42, 125, 0) 70%);
    transform: skew(-10deg); /* Adds a geometric angle to the element */
    z-index: 3; /* Place it above the angled overlays but behind the text */
}

.banner h3 {
    position: relative;
    z-index: 4; /* Ensure the heading is above the image, overlays, and geometric element */
    color: white;
    margin: 0;
    text-align: left;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8); /* Adds drop shadow to make the text pop */
}

.modal.modal-vertical-center {
  text-align: center;
  padding: 0!important;
}

.modal.modal-vertical-center:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}

.modal-vertical-center > .modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

#cancel-modal .modal-title {
    font-weight: bold;
}

#legend-tbl .colour-block-cell {
    padding: 5px;
}

#legend-tbl .colour-block {
    width: 24px;
    height: 24px;
}

ul.presale-location { 
    padding-left: 18px; 
    list-style: none; 
}

ul.presale-location li { 
    margin-bottom: 10px; 
}

ul.presale-location li:before {    
    font-family: 'FontAwesome';
    content: '\f041';
    margin: 0 14px 0 0;
}

tr.code-row td {
    vertical-align:middle !important;
}

.crop-container {
    margin-top: -4px; 
    position: relative;
    width: 100%;
    height: auto; /* Shrink dynamically */
    overflow: hidden; /* Hide excess parts */
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-image {
    width: 100%; /* Maintain full width */
    filter: grayscale(70%);
    height: 30vh; /* Crop to 30pct of screen vertical.. hot quite rightheight */
    min-height:200px;
    object-fit: cover;
    object-position: top;
}

/* @todo where is this used? */
.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

/* --- or --- on login page */
.login-separator {
    /* bs3 doesnt have d-flex utilities. */
    display: flex;
    align-items: center;
    text-align: center;
    color: #6c757d;
}
/* the lines */
.login-separator::before,
.login-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}
/* spacing between or and lines */
.login-separator:not(:empty)::before {
    margin-right: .5em;
}
.login-separator:not(:empty)::after {
    margin-left: .5em;
}
.table-borderless > tbody > tr > td,
.table-borderless > tbody > tr > th,
.table-borderless > tfoot > tr > td,
.table-borderless > tfoot > tr > th,
.table-borderless > thead > tr > td,
.table-borderless > thead > tr > th {
    border: none;
}

/* get alerts via text modal */
#alert-me-modal .disclaimer {
    font-style: italic;
    font-size: 10px;
    margin-top: 20px;
}
.spinner-bs4 {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-bs4 .75s linear infinite;
}
@keyframes spinner-bs4 {
    to { transform: rotate(360deg); }
}

/* search page carousel */
ul.carousel {
    list-style: none;
    display: flex;
    gap: 24px;
    overflow-x: auto;
    margin-bottom: 0;
    padding-bottom: 0;
    padding-left: 0;
}

li.carousel-item a {
    text-align: center;
}

li.carousel-item img {
    height: 120px;
    object-fit: contain;
    border-radius: 5px;
}

li.carousel-item .carousel-text {
    font-size: 20px;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }