/* Normalise
-------------------------------------------------------------------------------*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary {
    display: block;
}

audio, canvas, video {
    display: inline-block;
}

audio:not([controls]), [hidden] {
    display: none;
}

html {
    font-size: 100%;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
}

html, button, input, select, textarea {
    font-family: 'Roboto Mono', 'courier new', courier, monospace;
}

body {
    margin: 0;
}

a:hover, a:active, a:focus {
    outline: none;
}

input {
    border-radius: 0;
}

::placeholder {
    color: rgba(255, 255, 255, .66);
}

*, *:before, *:after {
    box-sizing: border-box;
}

/* Clearfix */
.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}

.clearfix:after, .cf:after {
    clear: both;
    content: ' ';
    display: block;
    font-size: 0;
    line-height: 0;
    visibility: hidden;
    width: 0;
    height: 0;
}

.cf:before, .cf:after {
    content: " ";
    display: table;
}

h1 { font-size: 2em; margin: 0.67em 0; }
h2 { font-size: 1.5em; margin: 0.83em 0; }
h3 { font-size: 1.17em; margin: 1em 0; }
h4 { font-size: 1em; margin: 1.33em 0; }
h5 { font-size: 0.83em; margin: 1.67em 0; }
h6 { font-size: 0.75em; margin: 2.33em 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: 500; }
blockquote { margin: 1em 40px; }
dfn, em, i { font-style: italic; }
mark { background: #ff0; color: #000; }
p, pre { margin: 1em 0; }
small { font-size: 75%; }

code, kbd, pre, samp {
    font-family: 'Roboto Mono', 'courier new', courier, monospace;
    font-size: 1em;
}

pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

q { quotes: none; }
q:before, q:after { content: ''; }

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sup { top: -0.5em; }
sub { bottom: -0.45em; }

dd { margin: 0 0 0 40px; }
menu, ol, ul { padding: 0 0 0 40px; }
nav ul, nav ol { list-style: none; }
img { border: 0; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }
form { margin: 0; }

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
    white-space: normal;
}

button, input, select, textarea {
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
}

button, input { line-height: normal; }

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
input[disabled] { cursor: default; }

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="search"] {
    -webkit-appearance: textfield;
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    vertical-align: top;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Base
-------------------------------------------------------------------------------*/
:root {
    --primary-font: 'Roboto Mono', 'courier new', courier, monospace;
    --base-font-size: 0.7142em;
    --line-height: 1.4;
    --color-black: #000000;
    --color-gray-dark: #404040;
    --color-gray-medium: #666666;
    --color-gray-light: #cccccc;
    --color-gray-lightest: #F7F7F7;
    --color-white: #fff;
    --border-width: 0.07142857142857142em;
    --transition-speed: 0.2s;
}

body {
    background-color: var(--color-white);
    font-size: 1em;
    line-height: var(--line-height);
    color: var(--color-black);
}

a {
    color: var(--color-black);
    text-decoration: none;
}

/* Header
-------------------------------------------------------------------------------*/
.navigation-wrap {
    position: relative;
    border: 0;
    padding: 37px 0 20px 10px;
}

.mobile-wrap {
    position: relative;
    height: 50px;
}

#mobile-menu-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    display: block;
    text-align: left;
    z-index: 100;
}

#mobile-menu-btn:before {
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    font: normal 1.3571em;
    vertical-align: top;
    width: 50px;
    height: 50px;
    padding: 15px 0 0 0;
    color: var(--color-black);
}

#mobile-menu-btn span {
    text-indent: -99999px;
    display: block;
}

.black_overlay {
    z-index: 20;
    position: fixed;
    background: var(--color-white);
    width: 0;
    background-size: cover;
    opacity: 0;
    height: 100%;
    top: 0;
    left: 0;
    transition: opacity 500ms;
}

.black_overlay.active-search-bg {
    opacity: .85;
    left: 240px;
    width: 100%;
}

/* Sidebar Layout */
#sidebar {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    min-height: 100%;
    width: 240px;
    margin: 0;
    padding: 0;
    background-color: var(--color-white);
    overflow-y: auto;
}

.grid.open-sidebar {
    left: 240px;
}

#site-nav {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 220px;
    background: var(--color-white);
    padding: 37px 0 20px 22px;
}

.nav-wrap {
    display: block;
    position: absolute;
    left: 0;
    width: 220px;
    border: 0;
    padding: 21.7647% 0 11.7647% 12.9411%;
}

#site-title h1 {
    display: block;
    position: relative;
    font-weight: 400;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
    font-size: 0.7857em;
    line-height: var(--line-height);
}

#site-title h1 a {
    border-bottom: 0.1em solid;
}

.site-description h4,
.grid-switcher,
.social-media,
.print-media {
    font-size: 0.7857em;
    font-weight: 400;
    line-height: var(--line-height);
    margin: 0;
}

.site-description h4 {
    text-transform: lowercase;
    color: var(--color-black);
}

.grid-switcher,
.social-media,
.print-media {
    margin-top: 2em;
}

/* Menus */
#site-nav ul {
    padding: 0;
}

#site-nav ul li a {
    display: block;
    font-size: 0.7857em;
    font-weight: 400;
    line-height: var(--line-height);
    padding: 3.5px 0 14px;
}

#site-nav ul li a:hover {
    text-decoration: underline;
}

#site-nav ul ul li {
    padding-left: 0.714em;
}

/* Sub menu */
#navmenu ul ul {
    display: none;
}

#navmenu ul ul a {
    padding: 3.5px 0 14px;
    display: block;
    text-indent: -0.886em;
    padding-left: 0.714em;
}

#navmenu ul ul a:before {
    font-family: "Font Awesome 6 Free";
    content: "\f105";
    display: inline-block;
    padding-right: 10px;
    vertical-align: baseline;
}

#navmenu ul ul a:hover {
    text-decoration: underline;
}
/* Sticky Footer & Grid
-------------------------------------------------------------------------------*/
.grid {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    width: 100%;
    position: relative;
    background: var(--color-white);
}

.programme {
    flex: 1;
    position: relative;
    margin: 44px 1.5625% 48px;
}

.showing {
    position: relative;
    padding: 1.5625% 1.5625% 6.25%;
    margin-bottom: 20px;
    float: left;
    overflow: hidden;
    width: 96.875%;
    background-color: var(--color-white);
    border: var(--border-width) solid transparent;
}

.event_image {
    position: relative;
    width: 100%;
    min-height: 1em;
}

.event_image img {
    max-width: 100%;
    max-height: 300px;
    height: auto;
    display: block;
    position: relative;
    transition: top var(--transition-speed) ease-out, left var(--transition-speed) ease-out;
}

/* Text
-------------------------------------------------------------------------------*/
.showing p {
    margin: 1em 0 0 0;
}

.pre_title, .post_title {
    display: block;
    font-weight: 400;
    font-size: 0.7857em;
    line-height: var(--line-height);
    color: var(--color-gray-medium);
    text-transform: none;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

.showing h3 {
    font-weight: 400;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
    font-size: 0.8214em;
    line-height: var(--line-height);
}

.showing h3 a:hover,
.showing h3 a:visited {
    color: var(--color-black);
}

.showing h3 a:hover,
.showing:hover > h3 a {
    text-decoration: none;
    border-bottom: 0.1em solid;
}

.showing:hover {
    border: var(--border-width) solid var(--color-gray-light);
    background: var(--color-gray-lightest);
    cursor: pointer;
}

.showing .event_details {
    overflow: hidden;
}

p.start_and_pricing {
    font-size: 0.7142em;
    font-weight: 400;
    line-height: var(--line-height);
    color: var(--color-gray-dark);
    padding: 0;
    margin: 0;
}

.sold_out, .cancelled {
    text-decoration: line-through;
}

abbr.discounted {
    border-bottom: none !important;
}

p.copy {
    font-size: 0.7142em;
    font-weight: 400;
    line-height: var(--line-height);
    color: var(--color-black);
    padding: 0;
}

span.tags {
    position: absolute;
    left: 0;
    bottom: 0;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 0.571em;
    background-color: rgba(107, 107, 107, 0.6);
}

span.tags a {
    float: left;
    text-decoration: none;
    color: white;
    line-height: var(--line-height);
    text-align: center;
    vertical-align: middle;
    padding: 0.071em 0.286em;
    margin: 0;
    z-index: 50
}

/* Hide film format tags */
.tag_dcp, .tag_dvd, .tag_ttt, .tag_cheapnight, .tag_usb {
    display: none;
}

/* List Layout
-------------------------------------------------------------------------------*/
.list {
    display: none;
}

.list.active {
    display: block;
    position: relative;
    top: 0;
    margin: 44px 10px 48px;
    background: var(--color-white);
}

.list p {
    font-size: 0.7142em;
    font-weight: 400;
    line-height: var(--line-height);
}

.list a:hover {
    text-decoration: underline;
}

p.month:first-of-type {
    margin-top: 0;
}

p.month {
    text-decoration: underline;
}

p.day {
    display: block;
    padding-left: 58px;
    text-indent: -58px;
}

p.day > span.time {
    padding-left: 10px;
}

p.sameday {
    display: block;
    padding-left: 58px;
}

/* Footer
-------------------------------------------------------------------------------*/
#colophon {
    display: none;
    margin: 0 auto;
    padding: 60px 0;
    background: #B1B2AE;
    color: rgba(255, 255, 255, .66);
}

/* Media Queries
-------------------------------------------------------------------------------*/

/* 360px - Large smartphones portrait */
@media screen and (min-width: 360px) {
    .navigation-wrap { padding-left: 12px; }

    #site-title h1, .site-description h4, .grid-switcher, .social-media, .print-media, #site-nav ul li a, .showing h3, .list p {
        font-size: 0.892754em;
    }

    .pre_title, .post_title { font-size: 0.8035em; }
    #mobile-menu-btn:before { font: normal 1.696375em; }
    p.start_and_pricing, p.copy, span.tags { font-size: 0.802875em; }
    .event_image img { max-height: 350px; }

    p.day { padding-left: 70px; text-indent: -70px; }
    p.sameday { padding-left: 70px; }
}

/* 475px - Smartphones landscape */
@media screen and (min-width: 475px) {
    .navigation-wrap { padding-left: 14px; }

    .programme { margin-left: 1.0526%; margin-right: 1.0526%; }
    .gutter-sizer { width: 1.0526%; }
    .showing-sizer { width: 47.8947%; }

    .showing {
        padding: 1.0526% 1.0526% 40px;
        width: 48.4210%;
        border: var(--border-width) solid transparent;
    }

    .showing:hover { border: var(--border-width) solid var(--color-gray-light); }
    .event_image { width: 100%; }
    .list.active { padding-left: 12px; }

    p.day { padding-left: 134px; text-indent: -134px; }
    p.sameday { padding-left: 134px; text-indent: -76px; }

    #site-title h1, .site-description h4, .grid-switcher, .social-media, .print-media, #site-nav ul li a, .showing h3, .list p {
        font-size: var(--base-font-size);
    }

    .pre_title, .post_title { font-size: 0.6428em; }
    p.start_and_pricing, p.copy, span.tags { font-size: 0.571em; }
}

/* 600px - Tablets portrait */
@media screen and (min-width: 600px) {
    .navigation-wrap { padding-left: 22px; }

    .programme {
        margin: 64px 0.625% 48px;
        display: block;
        position: relative;
    }

    .gutter-sizer { width: 0.625%; }
    .showing-sizer { width: 32.5%; }

    .showing {
        width: 32.5%;
        padding: 0.625% 0.625% 40px;
        margin-bottom: 5px;
        border: var(--border-width) solid transparent;
    }

    .showing:hover { border: var(--border-width) solid var(--color-gray-light); }
    .event_image { width: 100%; }
    .event_image img { max-height: 300px; }

    .showing:nth-child(7n+3) {
        width: 65.625%;
        padding: 0.625% 0.625% 40px;
        margin-bottom: 5px;
    }

    .showing:nth-child(7n+3) > .event_image { width: 100%; }
    .showing:nth-child(7n+3) > .event_image img { max-height: 450px; }

    .list.active { padding-left: 12px; }
    span.tags { font-size: 0.5em; }
}
/* 1000px - Tablets landscape */
@media screen and (min-width: 1000px) {
    #container {
        display: block;
        padding: 37px 0 20px;
        width: 100%;
        height: 100%;
        background-color: transparent;
    }

    .navigation-wrap, #mobile-menu-btn, .mobile-wrap { display: none; }

    /* Sidebar */
    #sidebar {
        position: fixed;
        left: 0;
        top: 0;
        width: 170px;
        overflow-y: hidden;
    }

    #site-nav {
        position: relative;
        left: 0;
        top: 0;
        width: 170px;
        background: transparent;
        border: 0;
        padding: 0 0 20px 22px;
    }

    .nav-wrap {
        position: relative;
        left: 0;
        width: 170px;
        border: 0;
        padding: 42px 0 0 22px;
    }

    #site-title h1, #site-title h1 a { font-size: var(--base-font-size); }
    #site-title h1 a { border-bottom: 0.1em solid; }

    .site-description h4, .grid-switcher, .social-media, .print-media {
        font-size: var(--base-font-size);
        margin-top: 2em;
    }

    .site-description h4 { margin-top: 0; }

    #site-nav {
        display: block;
        margin-top: 1em;
    }

    #site-nav ul { padding: 0; }
    #site-nav ul li a { font-size: var(--base-font-size); padding: 3.5px 0 7px; }
    #site-nav ul li a:hover { text-decoration: underline; }
    #site-nav ul ul li { padding-left: 0.714em; }

    #navmenu ul ul { display: none; }
    #navmenu ul ul a { padding: 3.5px 0 7px; text-indent: -0.886em; padding-left: 0.714em; }
    #navmenu ul ul a:hover { text-decoration: underline; }

    /* Grid */
    .grid { width: 820px; top: 0; left: 170px; }

    .programme {
        width: 820px;
        margin: 0 6px 48px;
        display: block;
        position: relative;
    }

    .gutter-sizer { width: 5px; }
    .showing-sizer { width: 265px; }

    .showing {
        width: 265px;
        padding: 5px 5px 40px;
        margin-bottom: 5px;
        border: 1px solid transparent;
    }

    .showing:hover { border: 1px solid var(--color-gray-light); }
    .event_image { width: 253px; }
    .event_image img { max-width: 100%; max-height: 300px; }

    .showing:nth-child(7n+3) {
        width: 540px;
        padding: 5px 5px 40px;
        margin-bottom: 5px;
    }

    .showing:nth-child(7n+3) > .event_image { width: 528px; }
    .showing:nth-child(7n+3) > .event_image img { max-width: 100%; max-height: 400px; }
    .showing:nth-child(7n+3) > .event_details > p.copy { width: 90%; }

    /* List Layout */
    .list { display: none; }

    .list.active {
        display: block;
        position: relative;
        top: 0;
        max-width: 840px;
        margin: 0 6px 48px;
        padding-left: 0;
    }

    .list p { font-size: var(--base-font-size); font-weight: 400; }
    .list a:hover { text-decoration: underline; }
    p.month:first-of-type { margin-top: 5px; }
    p.month { text-decoration: underline; }
    p.day { padding-left: 146px; text-indent: -146px; }
    p.day > span.time { padding-left: 10px; }
    p.sameday { padding-left: 146px; text-indent: -83px; }

    /* Text */
    .showing h3, .list p { font-size: 0.7857em; }
    .pre_title, .post_title { font-size: var(--base-font-size); }
    p.start_and_pricing, p.copy { font-size: 0.67857em; }
    span.tags { font-size: 0.64285em; }
}

/* 1260px */
@media screen and (min-width: 1260px) {
    .grid, .programme { width: 1090px; }
    .grid { left: 170px; }
    .mobile-wrap { display: none; }
    #site-nav ul li a { padding: 3.5px 0; }
    #navmenu ul ul a { padding: 3.5px 0; }
}
/* 1600px */
@media screen and (min-width: 1600px) {
    .grid { width: 1356px; left: 192px; }

    .programme {
        width: 1356px;
        margin: 0 6px 48px;
        display: block;
        position: relative;
    }

    .gutter-sizer { width: 6px; }
    .showing-sizer { width: 328px; }

    .showing {
        width: 328px;
        padding: 6px 6px 40px;
        margin-bottom: 6px;
        border: var(--border-width) solid transparent;
    }

    .showing:hover { border: var(--border-width) solid var(--color-gray-light); }
    .event_image { width: 316px; }
    .event_image img { max-width: 100%; max-height: 400px; }

    .showing:nth-child(7n+3) {
        width: 662px;
        padding: 6px 6px 40px;
        margin-bottom: 6px;
    }

    .showing:nth-child(7n+3) > .event_image { width: 650px; }
    .showing:nth-child(7n+3) > .event_image img { max-width: 100%; max-height: 500px; }

    /* Sidebar */
    #sidebar { width: 192px; }
    #site-nav { width: 192px; padding-bottom: 20px; padding-left: 27px; }
    .nav-wrap { width: 192px; padding-top: 42px; padding-left: 27px; }

    /* List */
    p.day { padding-left: 146px; text-indent: -146px; }
    p.sameday { padding-left: 146px; text-indent: -83px; }

    /* Text */
    #site-title h1, .site-description h4, .grid-switcher, .social-media, .print-media, #site-nav ul li a, .showing h3, .list p {
        font-size: 0.785714286em;
    }

    .pre_title, .post_title { font-size: 0.714285714em; }
    #mobile-menu-btn:before { font: normal 1.696375em; }
    p.start_and_pricing, p.copy, span.tags { font-size: 0.714285714em; }
}

/* 1900px */
@media screen and (min-width: 1900px) {
    .grid { left: 192px; width: 1700px; }

    .programme {
        width: 1670px;
        margin: 0 10px 48px;
        display: block;
        position: relative;
    }

    .gutter-sizer { width: 10px; }
    .showing-sizer { width: 400px; }

    .showing {
        position: relative;
        float: left;
        overflow: hidden;
        width: 400px;
        height: 482px;
        padding: 6px 6px 74px;
        margin-bottom: 6px;
        border: var(--border-width) solid transparent;
    }

    .showing:hover { border: var(--border-width) solid var(--color-gray-light); }

    .event_image {
        position: relative;
        overflow: hidden;
        left: 0;
        top: 0;
        width: 386px;
        height: 232px;
    }

    .event_image img {
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
    }

    .showing:nth-child(7n+3) {
        width: 400px;
        padding: 6px 6px 74px;
        margin-bottom: 6px;
    }

    .showing:nth-child(7n+3) > .event_image { width: 386px; }
    .showing:nth-child(7n+3) > .event_image img { min-width: 100%; min-height: 100%; object-fit: cover; }

    /* Sidebar */
    #sidebar { width: 192px; }
    #site-nav { width: 192px; padding-bottom: 20px; padding-left: 30px; }
    .nav-wrap { width: 192px; padding-top: 42px; padding-left: 30px; }

    /* List */
    p.day { padding-left: 146px; text-indent: -146px; }
    p.sameday { padding-left: 146px; text-indent: -83px; }
}
