﻿.mfp-show-popup {
    aspect-ratio: 1240 / 860;
    max-width: 1000px;
    max-height: 90vh;
    overflow: auto;

    background-image: url(/images/notebook-v3.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    overflow: auto;
    position: relative;
}

.mfp-show-popup .bm-content {
    height: 100%;
}

.mfp-show-popup h1,
.mfp-show-popup h2,
.mfp-show-popup h3,
.mfp-show-popup h4,
.mfp-show-popup h5,
.mfp-show-popup h6,
.mfp-show-popup p,
.mfp-show-popup span,
.mfp-show-popup a {
    font-family: 'Mynerve', Arial, Helvetica, sans-serif;
}

.mfp-show-popup span {
    font-size: 1rem;
}

.mfp-show-notebook {
    display: flex;
    width: 100%;
    height: 100%;
}

.mfp-show-notebook {
    opacity: 1;
    transition: opacity 300ms ease-in-out;
}

.mfp-show-notebook.mfp-show-notebook-switching {
    opacity: 0;
    pointer-events: none;
}

.mfp-show-notebook i {
    position: relative;
    top: 2px;
}

.mfp-show-notebook > div {
    width: 50%;
}

.mfp-show-notebook-left-page,
.mfp-show-notebook-right-page {
    display: flex;
    flex: 1;
    flex-direction: column;
    overflow: hidden;
}

.mfp-show-notebook-left-page {
    padding: 3.8% 6.5% 0% 4%;
}

.mfp-show-notebook-right-page {
    padding: 3.8% 4% 0% 6.5%;
}

.mfp-show-notebook-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.mfp-show-notebook-content .overflow-y-scroll {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.mfp-show-notebook-page-content {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
}

.mfp-show-notebook-photo {
    position: relative;
}

.mfp-show-notebook-photo img {
    width: 160px;
    height: 160px;
}

.mfp-show-notebook-performance-details span {
    font-size: 12px;
}

.mfp-show-notebook-venue-map iframe {
    width: 95%;
    height: 200px;
}

.mfp-show-notebook-photo img,
.mfp-show-notebook-venue-map iframe {
    padding: 10px;
    box-shadow: 1px 1px 3px 2px rgba(0, 0, 0, 0.2);
    background-color: whitesmoke;
}

.mfp-show-notebook-footer {
    height: 6%;
    cursor: pointer;
    color: grey;
}

.mfp-show-notebook-footer span,
.mfp-show-notebook-footer i {
    font-size: small;
}

/*Performance Details*/

.mfp-show-notebook-performances-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 12px;
}

.mfp-show-notebook-performances-performance-column {
    display: flex;
    flex-direction: column;
}

.mfp-show-notebook-performances-performance-week {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px; /* week spacing */
}

    .mfp-show-notebook-performances-performance-week.last-week {
        margin-bottom: 0; /* no spacing after last week */
    }

.mfp-show-notebook-performances-performance-row {
    position: relative;
    display: flex;
    width: fit-content;
    align-items: flex-start;
    margin-left: 8px;
}

.mfp-show-notebook-performances-performance-row > * {
    position: relative;
    z-index: 1;
}

.mfp-show-notebook-performances-performance-row.highlighted::before {
    content: "";
    position: absolute;
    left: -7px;
    right: -7px;
    top: 1px;
    bottom: 3px;
    background: rgba(255, 230, 90, 0.8);
    z-index: 0;
    transform: rotate(var(--hl-rot));
    border-radius: var(--hl-radius);
    pointer-events: none;
}

.mfp-show-notebook-performances-performance-row.expanded .mfp-show-notebook-performances-times {
    white-space: normal;
}

.mfp-show-notebook-performances-day-label {
    display: flex;
    flex-shrink: 0;
}

.mfp-show-notebook-performances-day-name {
    width: 2.4em;
    display: inline-block;
}

.mfp-show-notebook-performances-day-date {
    width: 1.2em;
    display: inline-block;
    text-align: left;
}

.mfp-show-notebook-performances-times {
    margin-left: 8px;
    max-width: 100%;
    word-break: break-word;
    white-space: nowrap;
}

.mfp-show-notebook-performances-times-inner {
    display: inline;
}

.mfp-show-notebook-performances-expand-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.mfp-show-notebook-performances-extra-details {
    margin-top: 12px;
    width: 97%;
    border: 1px solid lightgrey;
    box-shadow: 1px 1px 3px 2px rgba(0, 0, 0, 0.2);
    background-image: url('/images/white-paper.jpg');
    background-size: contain;
    padding: 10px 12px;
}

/*Suggested Shows*/
.mfp-show-notebook-suggestions-btn {
    border: 1px solid rgba(192, 148, 104, 0.45);
    padding: 2px 5px 0px 5px;
    font-size: small;
    line-height: 1.5;
}

.mfp-show-notebook-suggestions-btn.selected {
    background-color: #c09468;
    color: whitesmoke;
}

.mfp-show-notebook-suggestions-btn.unselected {
    background-color: whitesmoke;
    color: #c09468;
}