/*-------------+
 | Site: Seats |
 +-------------*/

/* Imports
=====================================================================*/
@import url(/styles/reset.css);
@import url(/styles/fontawesome.css);
@import url(//fonts.googleapis.com/css?family=Old+Standard+TT:400,400i,700|Playfair+Display:400,400i|Montserrat:400,700&display=swap);


/* Fonts
=====================================================================*/
body, #map { font-family: "Old Standard TT", Georgia, "Times New Roman", Times, serif; }
h1, h2 { font-family: "Playfair Display", Georgia, "Times New Roman", Times, serif; }
.sub { font-family: "Montserrat", Arial, sans-serif; }


/* Basics
=====================================================================*/
:root { --bg: #fcfaf5; }
* { box-sizing: border-box; }
a { color: #000; text-decoration: underline; transition: all 0.1s ease-in-out; }
a:hover { text-decoration: none; }
body { background: var(--bg); line-height: 1.5; }
blockquote { margin-left: 3em; }
cite, em, i { font-style: italic; }
figcaption { font-size: 0.9rem; opacity: 0.5; }
figure { margin: 2rem 0; }
h1 { font-size: 2.5rem; letter-spacing: 0.1em; text-transform: uppercase; }
h2 { font-size: 1.7rem; letter-spacing: 0.05em; text-transform: uppercase; }
html { font-size: 20px; }
hr { background: #000; border: 0; clear: both; color: #000; height: 1px; margin: 2rem auto 2.5rem; width: 10em; }
img { max-width: 100%; }
ol, p, table, ul { margin-bottom: 1em; }
section { border-bottom: 1px solid rgba(0, 0, 0, 0.2); overflow: hidden; padding: 6vw 20%; }
ol { list-style: decimal; margin-left: 2em; }
pre { white-space: pre-wrap; }
strong { font-weight: bold; }
sup { font-size: 0.6rem; vertical-align: super; }
table { border-collapse: collapse; width: 100%; }
td { border: 1px solid rgba(0, 0, 0, 0.2); padding: 0.5em 1em; }
th { font-weight: bold; padding: 0.5em 1em; }
ul { list-style: disc; margin-left: 1.5em; }

/* Layout
=====================================================================*/
.content-narrow { margin: 0 auto; max-width: 1000px; }

/* Content
=====================================================================*/
/* Actions */
.action {
    -webkit-appearance: none;
    background: #000;
    color: #fff;
    display: inline-block;
    font-size: 1.1em;
    line-height: 1.1;
    padding: 0.7em 2em;
    text-decoration: none;
}

.action:hover { opacity: 0.7; }

/* Banners */
.banner { border: 0; padding: 0; position: relative; }
.banner img { display: block; width: 100%; }

.banner-arrow {
    align-items: center;
    background: none;
    color: #fff;
    display: flex;
    font-size: 3rem;
    height: 100%;
    justify-content: center;
    position: absolute;
    text-decoration: none;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    top: 0;
    width: 3em;
}

.banner-arrow:after {
    content: "";
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: all 0.1s ease-in-out;
    width: 100%;
}

.banner-arrow:hover { text-decoration: none; }
.banner-arrow:hover:after { opacity: 0.8; }
.banner-arrow [class *= "fa-"] { position: relative; z-index: 100; }
.banner-next { right: 0; }
.banner-next:after { background: linear-gradient(to right, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); }
.banner-prev { left: 0; }
.banner-prev:after { background: linear-gradient(to right, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); }

/* Cover */
.cover { background: #000; padding: 0; position: relative; text-align: center; }
.cover h1 { color: #fff; font-size: 3.125rem; line-height: 1; margin-bottom: 1em; }
.cover h1 b { display: block; font-size: 12.5rem; font-weight: normal; margin-bottom: 0.1em; }
.cover h1 i { display: block; letter-spacing: normal; text-transform: none; }
.cover img { display: block; height: 100vh; object-fit: cover; opacity: 0.4; width: 100%; }
.cover-action { color: #fff; display: block; margin-bottom: -1em; }

.cover-overlay {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

/* Description */
.seat-description { margin-bottom: 3em; position: relative; text-align: justify; text-align-last: left; text-indent: 1.5em; }
.seat-description blockquote + p { text-indent: 0; }
.seat-description .center { margin: 1em 0; }
.seat-description ol { margin: 0 0 0 6em; text-indent: 0; }
.seat-description p { margin: 0; }
.seat-description.expanded .seat-description-content { max-height: 50000px; }
.seat-description.expanded #toggle-description { background: none; height: 2em; transform: translateY(100%); }
.seat-description-content { max-height: 50vh; overflow: hidden; transition: all 0.5s ease-in-out; }

    /* Head */
    .seat-head { margin-bottom: 1em; padding-bottom: 1em; position: relative; text-align: center; text-transform: uppercase; }
    .seat-head p { font-size: 0.85rem; margin: 0; }
    
    .seat-head:after {
        border-bottom: 1px solid #000;
        bottom: 0;
        content: "";
        left: 50%;
        position: absolute;
        transform: translateX(-50%);
        width: 10em;
    }
    
    /* Indents */
    .seat-description .indent { margin-left: 3em; text-indent: 0; }
    .seat-description .indent2x { margin-left: 6em; text-indent: 0; }
    .seat-description .indent3x { margin-left: 9em; text-indent: 0; }
    .seat-description .outdent { text-indent: 0; }
    
    /* Toggle */
    #toggle-description {
        align-items: flex-end;
        -webkit-appearance: none;
        background: -moz-linear-gradient(top, rgba(252,250,245,0) 0%, rgba(252,250,245,1) 100%);
        background: -webkit-linear-gradient(top, rgba(252,250,245,0) 0%,rgba(252,250,245,1) 100%);
        background: linear-gradient(to bottom, rgba(252,250,245,0) 0%,rgba(252,250,245,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00fcfaf5', endColorstr='#fcfaf5',GradientType=0 );
        border: 0;
        bottom: 0;
        content: "";
        cursor: pointer;
        display: flex;
        height: 35%;
        justify-content: center;
        left: 0;
        position: absolute;
        transition: all 0.2s ease-in-out;
        width: 100%;
    }
    
    #toggle-description:hover [class *= "fa-"] { background: #000; color: #fff; }
    
    #toggle-description [class *= "fa-"] {
        background: #fff;
        border-radius: 100%;
        box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
        padding: 1em 1.05em;
        transform: translateY(50%);
        transition: all 0.2s ease-in-out;
    }

/* Footer */
.footer { padding: 1em 40px; display: flex; justify-content: space-between; }
.footer li { margin-left: 1em; }
.footer ul { list-style: none; display: flex; margin: 0; }

/* Footnotes */
.footnotes { font-size: 0.85rem; margin-top: 1em; }

/* Header */
.header {
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: space-between;
    left: 0;
    position: fixed;
    width: 100%;
    z-index: 1400;
}

.header a { color: #fff; text-decoration: none; }
.header a:hover { background: rgba(255, 255, 255, 0.3); text-decoration: none; }
.logo { display: block; padding: 0.75em 1em; }

    /* Navigation */
    .nav { display: flex; position: relative; }
    .nav a { display: block; padding: 0.75em; }
    .nav .nav-toggle { display: none; padding: 0.75em 1em; }
    .nav ul { display: flex; list-style: none; margin: 0; padding-right: 0.5em; }

/* Iframes */
.iframe-container { height: 0; margin-bottom: 1em; overflow: hidden; padding-top: 30px; position: relative; }
.iframe-container iframe { left: 0; height: 100%; position: absolute; top: 0; width: 100%; }

/* Index */
.index { column-count: 2; column-gap: 2rem; list-style: none; margin-left: 0; }
.index .entry-title { background: var(--bg); padding-right: 0.25em; }

.index li {
    align-items: flex-end;
    background-image:radial-gradient(#000 1px, var(--bg) 0px);
	background-size: 8px 8px;
	background-repeat:repeat-x;
	background-position: left calc(100% - 0.3em);
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.2em;
}

.index .loc { background: var(--bg); flex: 0 0 auto; padding-left: 0.25em; white-space: nowrap; }
.index .owner { font-style: italic; }

/* Intro */
.intro { font-size: 1.4rem; line-height: 1.6; }

/* Jump nav */
.jump { border-bottom: 1px solid rgba(0, 0, 0, 0.2); position: relative; text-align: center; }
.jump a { display: block; padding: 1.5em; text-decoration: none; }
.jump a:hover { background: rgba(0, 0, 0, 0.2); text-decoration: none; }
.jump .jump-toggle { display: none; }
.jump ul { display: flex; justify-content: center; list-style: none; margin: 0; }

/* Legend */
.legend { list-style: none; margin-left: 0; }
.legend li { display: inline-block; margin-right: 1em; }

/* Map */
#map { font-size: 1rem; }
.map { margin-bottom: 2rem; }
.leaflet-control-minimap { border: 0 !important; }
.leaflet-control-minimap .leaflet-interactive { stroke: #dc4c3f; stroke-width: 10px; }
.map-view { overflow: hidden; }
.map-view .main { padding-top: 60px; }

.mapback {
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    font-size: 0.85rem;
    padding: 0.7em 1.7em;
    position: absolute;
    right: 0;
    text-decoration: none;
    top: 70px;
    z-index: 1300;
}

.mapback:hover { background: #000; color: #fff; }

/* Posters */
.poster { margin-left: auto; margin-right: auto; text-align: center; }
.poster figcaption { opacity: 1; }

.poster img {
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    display: block;
    margin-bottom: 0.5em;
    width: 100%;
}

/* Quotes */
.quote { font-size: 0.9rem; margin: 1em auto; }
.quote cite { display: block; font-style: normal; text-align: right; text-align-last: right; }
.quote-centered { max-width: 700px; text-indent: 0; }

/* Sections */
.section-full { padding-left: 10%; padding-right: 10%; }
.section-head { font-size: 2rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* Skip */
#skip {
    background: var(--bg);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    left: 0;
    padding: 0.5em 1em;
    position: absolute;
    text-align: center;
    top: -1000px;
    width: 100%;
    z-index: 100;
}

#skip:focus { top: 0; }

/* Small caps */
.scap { font-variant: small-caps; }

/* Sort */
.sort { list-style: none; margin-left: 0; text-align: center; }
.sort li { display: inline-block; margin: 0 0.5em; }

/* Spacers */
.spacer { display: inline-block; width: 1.5em; }

/* Subscribers */
.subs { list-style: none; margin: 1em 0; }
.subs.caps { text-transform: uppercase; }
.subs em { display: block; margin-bottom: 1em; text-transform: none; }
.subs.index { column-count: 1; }
.subs.index .loc { width: 50%; }
.subs .lcase { text-transform: lowercase; }
.subs li { margin-bottom: 0.2em; }
.subs .ncase { text-transform: none; }
.subs-page { margin-left: 1em; }

    /* Coat of Arms */
    .coa { margin: 1em 0; text-align: center; }
    .coa img { width: 300px; }
    
    /* Columns */
    .subs-cols-flow { column-count: 2; column-gap: 0; }
    
    .subs-cols-flow li {
        -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
        break-inside: avoid;
    }
    
    .subs-cols-flow img, .subs-cols-grid img {
        display: block;
        height: auto;
        margin: 0 auto 1em;
        max-height: 75px;
        max-width: 60%;
        width: auto;
    }
    
    .subs-cols-flow li, .subs-cols-grid li { margin-bottom: 4rem; padding: 0 2rem; text-align: center; }
    
    .subs-cols-grid {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        font-size: 0.7rem;
        justify-content: space-between;
    }
    
    .subs-cols-grid li { flex: 0 0 auto; width: 50%; }
    .subs-cols-grid .subs-stretch { width: 100%; }
    .subs-cols-grid.subs-head li:first-child { width: 100%; }
    .subs-cols-1 { display: block; }
    .subs-cols-1 img { max-height: 100px; }
    .subs-cols-1 li { width: auto; }
    
    /* Nav */
    .subs-nav { column-count: 3; column-gap: 40px; list-style: none; margin-left: 0; }
    .subs-nav li { margin-bottom: 0.5em; }

/* Tags */
.tags {
    display: grid;
    grid-column-gap: 15px;
    grid-row-gap: 2em;
    grid-template-columns: repeat(auto-fill, minmax(calc(10% + 2.5rem), 1fr));
    grid-template-columns: repeat(auto-fill, minmax(min(10rem, 100%), 1fr));
    list-style: none;
    margin: 0;
}

.tags a { display: block; text-decoration: none; }
.tags a:hover { opacity: 0.7; }
.tags img { display: block; margin-bottom: 0.2em; width: 100%; }

/* Text alignment */
.txt-center { text-align: center; text-align-last: center; text-indent: 0; }
.txt-left { text-align: left; text-align-last: left; text-indent: 0; }
.txt-right { text-align: right; text-align-last: right; text-indent: 0; }

/* Thumbs */
.thumbs {
    display: grid;
    grid-column-gap: 15px;
    grid-row-gap: 2em;
    grid-template-columns: repeat(auto-fill, minmax(calc(10% + 6.5rem), 1fr));
    grid-template-columns: repeat(auto-fill, minmax(min(10rem, 100%), 1fr));
    list-style: none;
    margin: 0;
}

.thumbs a { display: block; position: relative; text-decoration: none; }
.thumbs a:hover { opacity: 0.7; transition: all 0.2s ease-in-out; }
.thumbs img { border-radius: 4px; display: block; height: 17vh; object-fit: cover; width: 100%; }
.thumbs-overlay { display: block; padding-top: 0.7em; width: 100%; }
.thumbs-title { display: block; font-size: 0.9rem; line-height: 1; margin-bottom: 0.2em; text-transform: uppercase; }
.thumbs-subtitle { display: block; font-size: 0.75rem; font-style: italic; }

/* View */
.view { font-size: 0.8rem; margin-bottom: 1rem; }
.view a { border-radius: 4px; display: inline-block; padding: 0.3em 0.7em 0.2em; text-decoration: none; }
.view a:hover { background: rgba(0, 0, 0, 0.2); }
.view .current a { background: #000; color: #fff; }
.view ul { display: flex; list-style: none; margin: 0; }
.view-nav { display: flex; justify-content: space-between; }
.view .view-toggle { display: none; }

/* Volume posters */
.vols { display: flex; flex-wrap: wrap; justify-content: space-between; }
.vols a { display: block; position: relative; text-align: center; }
.vols a:hover { opacity: 0.7; }
.vols .action { padding: 0.5em; }
.vols figure { flex: 0 0 auto; width: 14%; }
.vols figcaption { opacity: 1; }

.vols img {
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    display: block;
    margin-bottom: 0.5em;
    width: 100%;
}

.vols .zoom { bottom: 0; position: absolute; right: 10px; }


/* Widths
=====================================================================*/
@media (min-width: 1500px) {
    /* Basics */
    html { font-size: 24px; }
    
    /* Content */
    .map-view #main { padding-top: 72px; }
}

@media (max-width: 1000px) {
    /* Cover */
    .cover h1 { font-size: 2.125rem; }
    .cover h1 b { font-size: 6.5rem; }
}

@media (max-width: 900px) {
    /* Basics */
    section { padding: 3vh 20px; }
    
    /* Layout */
    #main { padding-top: 60px; }
    
    /* Content */
        /* Header */
        .logo { font-size: 0.85rem; }
        .logo-extra { display: none; }
        
        /* Image composition */
        .comp { flex-direction: column; height: auto; }
        .comp-list { order: 2; overflow: visible; width: auto; }
        .comp-overlay { order: 1; }
        
        /* Index */
        .index { column-count: 1; }
        
        /* Intro */
        .intro { font-size: 1.2rem; }
        
        /* Jump nav */
        .jump ul {
            background: var(--bg);
            display: block;
            left: 0;
            opacity: 0;
            position: absolute;
            top: 100%;
            transform: translateY(-50%);
            transition: all 0.1s ease-in-out;
            visibility: hidden;
            width: 100%;
            z-index: 100;
        }
        
        .jump ul a { border-bottom: 1px solid rgba(0, 0, 0, 0.2); text-decoration: none; }
        .jump ul.expanded { opacity: 1; transform: translate(0); visibility: visible; }
        .jump .jump-toggle { display: block; }
        
        /* Sections */
        .section-full { padding: 3vh 20px; }
        
        /* Subscribers */
        .coa img { max-width: 50%; }
        .subs.index li { background: none; display: block; margin-bottom: 1em; }
        .subs.index .loc { display: block; width: auto; }
        .subs-cols img { max-width: 100%; }
        .subs-cols-flow { column-count: 1; }
        .subs-cols-grid { font-size: 1rem; display: block; }
        .subs-cols-grid li { width: auto; }
        
        /* Tinylines */
        #tinylines { columns: 3; font-size: 6px; line-height: 1.5; }
        
        /* View */
        .view { display: block; font-size: 1rem; }
        .view a { display: block; padding: 0.7em; }
        .view ul { border: 1px solid #000; border-radius: 6px; display: block; margin-bottom: 0.2em; padding: 0.2em; }
        .view .view-toggle { display: block; text-align: center; }
        .view-nav { display: none; }
        
        /* Volume posters */
        .vols figure { width: 48%; }
}

@media (max-width: 500px) {
    /* Basics */
    h1 { font-size: 1.9rem; }
    html { font-size: 16px; }
    
    /* Layout */
    #main { padding-top: 48px; }
    
    /* Content */
        /* Banners */
        .banner-arrow { width: 1.5em; }
        
        /* Cover */
        .cover h1 { font-size: 1.2rem; }
        .cover h1 b { font-size: 5rem; }
        .cover-action { font-size: 0.8rem; }
        
        /* Footer */
        .footer { display: block; text-align: center; padding: 15px 20px; }
        .footer p { margin-bottom: 1em; }
        .footer li { margin: 0 0.5em; }
        .footer ul { justify-content: center; }
        
        /* Map */
        .map-view .main { padding-top: 48px; }
        
        /* Navigation */
        .nav .nav-toggle { display: block; }
        
        .nav ul {
            background: rgba(0, 0, 0, 0.8);
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
            display: block;
            opacity: 0;
            position: absolute;
            right: 0;
            top: 100%;
            transform: translateY(-50%);
            transition: all 0.1s ease-in-out;
            visibility: hidden;
        }
        
        .nav ul.expanded { opacity: 1; transform: translate(0); visibility: visible; }
        .nav ul a { border-bottom: 1px solid rgba(255, 255, 255, 0.3); display: block; padding: 0.85em 1em; }
        .nav ul li:last-child a { border: 0; }
        
        /* Sections */
        .section-head { font-size: 1.9rem; }
        
        /* Subscriptions */
            /* Nav */
            .subs-nav { column-count: 2; }
        
        /* Thumbs */
        .thumbs { grid-row-gap: 1em; }
}