body, body.randomBg {
    font-family: Arial, sans-serif;
    width: 511pt;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    background: white !important;
}

div {
    float: left;
}

.theatretext {
    font-size: 2em;
    padding: 5px;
}

.posterdiv, footer {
    display: none;
}

.showtimes {
    font-size: .9em;
    border: black 2px solid;
    min-width: 22em;
    float: left;
    margin: 0;
    border-spacing: 0;
    max-width: 300px;
    word-wrap: break-word; /* Ensure content wraps within table cells */
}

div.row {
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: top;
}

.dates {
    font-size: .9em;
    width: 4.25rem;
    padding: 5px;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
}

.times {
    font-size: .9em;
    word-spacing: .5em;
    padding: 2px;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
}

.times a {
    color: black !important;
    text-decoration: none !important;
}

tr.st:nth-child(even) {
    background: #CCC;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
}

tr.st:nth-child(odd) {
    background: #FFF;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
}

td.moviesubtitle {
    background: #717171 !important;
    color: #fff !important;
    padding: 0 5px;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    line-height: 1.5rem;
}

br {
    display: none;
}

.ratings {
    height: 1em;
    margin: 0 .5rem -2px 0;
}

img.ratings::after {
    content: attr(alt);
}

#back-to-top, .nextweek {
    display: none !important;
}

.reveal-modal {
    display: none;
}

.buyModalLink {
    display: none;
}

span.showtime {
    margin-right: .75rem;
}

.notimes {
    word-spacing: normal;
}

.movietitle {
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    background: #222;
    color: #eee;
    padding: 5px;
}

/* Safari Fix */
@media not all and (min-resolution: .001dpcm) {
    @media {
        .large-12.columns.showtimestable {
            margin-right: 1rem;
        }
    }
}

/* These three are identical. Update each one to match FF */
/* FF */
@supports (-moz-appearance:none) {
    .movietitle {
        -webkit-print-color-adjust: exact;
        background: #fff;
        color: #000;
        border-bottom: 2px solid #000;
        font-weight: bold;
    }

    .ratings {
        filter: invert(100%);
    }

    tr.st:nth-child(even) {
        background: #fff;
    }

    td.moviesubtitle {
        background: #fff !important;
        color: #000 !important;
        font-weight: bold;
        font-style: italic;
    }
}

/* EDGE */
@supports (-ms-ime-align:auto) {
    .movietitle {
        -webkit-print-color-adjust: exact;
        background: #fff;
        color: #000;
        border-bottom: 2px solid #000;
        font-weight: bold;
    }

    .ratings {
        filter: invert(100%);
    }

    tr.st:nth-child(even) {
        background: #fff;
    }

    td.moviesubtitle {
        background: #fff !important;
        color: #000 !important;
        font-weight: bold;
        font-style: italic;
    }
}

/* IE10+ */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .movietitle {
        -webkit-print-color-adjust: exact;
        background: #fff;
        color: #000;
        border-bottom: 2px solid #000;
        font-weight: bold;
    }

    .ratings {
        filter: invert(100%);
    }

    tr.st:nth-child(even) {
        background: #fff;
    }

    td.moviesubtitle {
        background: #fff !important;
        color: #000 !important;
        font-weight: bold;
        font-style: italic;
    }
}

.showMore {
    display: block;
    height: auto !important;
    margin-bottom: 0;
}

.view-more {
    display: none !important;
}

.printShowtimesHolder {
    display: grid;
    grid-template-columns: repeat(2, 50vw);
    grid-gap: 10px; /* Adjust gap between columns if needed */
    grid-auto-flow: dense; /* Allow items to fill in gaps */
}

.printShowtimesHolder div {

    box-sizing: border-box; /* Include padding and border in width and height calculations */
    page-break-inside: avoid; /* Prevent divs from breaking across pages */
    overflow: hidden; /* Prevent content from overflowing */
}

.printShowtimesHolder div table {
    width: 100%; /* Ensure tables take full width of their containing div */
    max-width: 100%; /* Prevent tables from exceeding the width of their containing div */
    box-sizing: border-box; /* Include padding and border in width and height calculations */
    margin-bottom: 0
}

.printShowtimesHolder div table td {
    word-wrap: break-word; /* Ensure content wraps within table cells */
    white-space: normal; /* Allow text to wrap to the next line */
}