﻿/* =========================================================
   NARODNO POZORISTE NIS - TICKET OFFER
   Visual layer for ShowOffer / repertoire
   ========================================================= */

html,
html body {
    background: #ffffff !important;
    filter: none !important;
}

.ticket-offer-page {
    width: 100%;
    background: #ffffff;
    color: #222222;
    font-family: "sourcesanspro", "Source Sans Pro", Arial, sans-serif;
}

/* PAGE TITLE */

.ticket-offer-page .banner {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 54px 32px 28px;
    background: transparent !important;
    text-align: left;
}

.ticket-offer-page .banner h1 {
    margin: 0;
    padding: 0;

    color: #1f1f1f !important;

    font-family: "sourcesanspro", "Source Sans Pro", Arial, sans-serif;
    font-size: 42px;
    font-weight: 400;
    line-height: 1.15;

    text-transform: none;
    letter-spacing: -0.5px;
}

.ticket-offer-page .banner .red-separator {
    width: 58px;
    height: 2px;
    margin-top: 18px;

    background: #B58A3B !important;
    border: 0 !important;
}

/* REPERTOIRE WRAPPER */

.ticket-offer-page .ticket-repertoire-shell {
    width: 100%;
    min-height: 50vh;
    padding: 8px 32px 70px;
}

.ticket-offer-page .ticket-repertoire {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

/* PERFORMANCE CARD */

.ticket-repertoire .premiere-card {
    width: 100% !important;
    max-width: none !important;

    min-height: 230px;

    margin: 0 0 22px !important;

    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;

    overflow: hidden;

    background: #ffffff !important;
    border: 1px solid #e7e2da !important;
    border-radius: 2px;

    box-shadow: 0 4px 18px rgba(0, 0, 0, .035);

    cursor: pointer;

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease !important;
}

.ticket-repertoire .premiere-card:hover {
    filter: none !important;

    transform: translateY(-2px);

    border-color: #cdbb99 !important;

    box-shadow:
        0 12px 32px rgba(0, 0, 0, .075);
}

/* DATE BLOCK */

.ticket-repertoire .premiere-event-time-wrapper {
    flex: 0 0 auto;
    display: flex;
}

.ticket-repertoire .premiere-event-time {
    width: 176px !important;
    height: auto !important;
    min-height: 230px;

    flex: 0 0 176px;

    padding: 0 !important;

    background: #252525 !important;
    color: #ffffff !important;

    border: 0 !important;

    overflow: hidden;
}

.ticket-repertoire .premiere-data {
    width: 100%;
    height: 100%;

    padding: 26px 22px 22px !important;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    border: 0 !important;
}

.ticket-repertoire .skewed-div {
    width: 66px !important;
    height: 66px !important;

    top: -34px !important;
    right: -34px !important;

    background: #B58A3B !important;
    border: 0 !important;
}

.ticket-repertoire .when {
    width: 100%;

    color: #ffffff;

    font-size: 52px !important;
    font-weight: 300 !important;
    line-height: .95 !important;

    text-align: left;
}

.ticket-repertoire .month {
    width: 100%;

    margin: 8px 0 0 !important;
    padding: 0 !important;

    color: #B58A3B;

    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;

    text-transform: uppercase;
}

.ticket-repertoire .day {
    width: 100%;

    margin: 5px 0 18px !important;
    padding: 0 0 14px !important;

    display: block !important;

    color: rgba(255,255,255,.66);

    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;

    text-align: left;

    border-bottom: 1px solid rgba(255,255,255,.14) !important;
}

.ticket-repertoire .time-wrapper {
    width: 100%;

    display: flex;
    align-items: flex-start;
    justify-content: flex-start !important;

    color: #ffffff;
}

.ticket-repertoire .time-wrapper .hours {
    font-size: 34px !important;
    font-weight: 300;
    line-height: 1;
}

.ticket-repertoire .time-wrapper .minutes {
    margin-left: 3px;

    font-size: 16px !important;
    line-height: 16px !important;
}

.ticket-repertoire .time-border-1,
.ticket-repertoire .time-border-2 {
    background: #B58A3B !important;
}

/* TITLE */

.ticket-repertoire .premiere-name {
    width: 31% !important;
    max-width: 31% !important;

    padding: 34px 28px;

    display: flex;
    align-items: center;

    place-self: auto !important;

    color: #202020 !important;

    font-size: 27px !important;
    font-weight: 500 !important;
    line-height: 1.18 !important;
}

/* DESCRIPTION */

.ticket-repertoire .premiere-description {
    width: auto !important;
    max-width: none !important;

    flex: 1 1 auto;

    padding: 34px 28px 34px 0;

    display: flex;
    align-items: center;

    color: #696969;

    font-size: 14px;
    line-height: 1.65;
}

.ticket-repertoire .premiere-description p {
    margin: 0;
}

/* POSTER */

.ticket-repertoire > div > .premiere-card > .premiere-image {
    width: 172px !important;
    height: 230px !important;

    flex: 0 0 172px;

    object-fit: cover !important;

    background: #f2f2f2;
}

.ticket-repertoire .image-mobile {
    display: none !important;
}

/* SOLD OUT */

.ticket-repertoire .soldout-overlay {
    background: rgba(25, 25, 25, .82) !important;

    color: #ffffff;

    font-size: 24px !important;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* RESPONSIVE */

@media (max-width: 900px) {

    .ticket-offer-page .banner {
        padding: 38px 22px 20px;
    }

    .ticket-offer-page .banner h1 {
        font-size: 34px;
    }

    .ticket-offer-page .ticket-repertoire-shell {
        padding: 8px 20px 50px;
    }

    .ticket-repertoire .premiere-card {
        min-height: 200px;
    }

    .ticket-repertoire .premiere-event-time {
        width: 145px !important;
        min-height: 200px;
        flex-basis: 145px;
    }

    .ticket-repertoire .premiere-data {
        padding: 22px 17px !important;
    }

    .ticket-repertoire .when {
        font-size: 44px !important;
    }

    .ticket-repertoire .premiere-name {
        width: 34% !important;
        max-width: 34% !important;

        padding: 26px 20px;

        font-size: 22px !important;
    }

    .ticket-repertoire .premiere-description {
        padding: 26px 20px 26px 0;
        font-size: 13px;
    }

    .ticket-repertoire > div > .premiere-card > .premiere-image {
        width: 145px !important;
        height: 200px !important;
        flex-basis: 145px;
    }
}

@media (max-width: 700px) {

    .ticket-offer-page .banner {
        padding: 30px 18px 18px;
    }

    .ticket-offer-page .banner h1 {
        font-size: 30px;
    }

    .ticket-offer-page .ticket-repertoire-shell {
        padding: 6px 14px 40px;
    }

    .ticket-repertoire .premiere-card {
        display: grid !important;
        grid-template-columns: 112px 1fr;
        grid-template-areas:
            "date title"
            "date description";

        min-height: 0;

        margin-bottom: 14px !important;
    }

    .ticket-repertoire .premiere-event-time-wrapper {
        grid-area: date;

        width: 112px;

        display: block !important;
    }

    .ticket-repertoire .premiere-event-time {
        width: 112px !important;
        height: 100% !important;
        min-height: 190px;

        flex-basis: 112px;
    }

    .ticket-repertoire .premiere-data {
        padding: 19px 14px !important;
        justify-content: flex-start;
    }

    .ticket-repertoire .when {
        font-size: 40px !important;
    }

    .ticket-repertoire .month {
        font-size: 15px !important;
    }

    .ticket-repertoire .day {
        font-size: 11px !important;
    }

    .ticket-repertoire .time-wrapper .hours {
        font-size: 28px !important;
    }

    .ticket-repertoire .premiere-name {
        grid-area: title;

        width: 100% !important;
        max-width: 100% !important;

        padding: 20px 18px 7px;

        display: block;

        font-size: 20px !important;
    }

    .ticket-repertoire .premiere-description {
        grid-area: description;

        width: 100% !important;

        padding: 5px 18px 20px;

        display: block;

        font-size: 12px;
        line-height: 1.5;
    }

    .ticket-repertoire > div > .premiere-card > .premiere-image,
    .ticket-repertoire .image-mobile {
        display: none !important;
    }
}
