/* Alphabetical Stacks cover browser. */
#stacksCoverBrowser {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 1080px;
    height: 1600px;
    max-width: none;
    margin: 60px auto 0;
    padding: 0;
    overflow: hidden;
    background:url("../stacks/_TheStacksGrcs/StackBrowse.png");
	background-size: cover;
}

#stacksCoverViewport {
    position: absolute;
    box-sizing: border-box;
    left: 88px;
    top: 0;
    right: 88px;
    bottom: auto;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    /*padding: 12px 18px 120px;*/
	padding: 90px 18px 120px;
    scrollbar-width: thin;
    scrollbar-color: rgba(70, 47, 29, .72) rgba(238,238,238,.12);
    -webkit-overflow-scrolling: touch;
}

#stacksCoverGrid {
    display: grid;
    grid-template-columns: repeat(5, 155px);
    grid-auto-rows: 253px;
    column-gap: 23px;
    row-gap: 20px;
    align-items: start;
    justify-content: center;
    min-height: 100%;
}

.stacks-cover-link {
    position: relative;
    display: block;
    width: 155px;
    margin: 0;
    padding: 0;
    text-decoration: none;
    transform-origin: center center;
    transition: transform .16s ease, filter .16s ease, opacity .10s linear;
}

.stacks-cover-link:hover,
.stacks-cover-link:focus-visible {
    z-index: 4;
    transform: translateY(-4px) scale(1.035);
    filter: brightness(1.05);
    outline: none;
}

.stacks-cover-link .dCover {
    display: block;
    width: 155px;
    max-height: 243px;
    height: auto;
    object-fit: contain;
    box-shadow: 5px 5px 9px #000;
    border-right: solid 3px white;
    border-bottom: solid 3px white;
    box-sizing: border-box;
}

#stacksAlphaNav {
    position: absolute;
    top: 164px;
    right: 24px;
    width: 42px;
    height: 1342px;
    display: grid;
    grid-template-rows: repeat(26, 1fr);
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    z-index: 8;
}

#stacksAlphaNav button {
    position: relative;
}

#stacksAlphaNav button.is-active::after {
    content: "\25C0";   /* ◀ */
    position: absolute;
    right: -22px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 24px;
    line-height: 1;
}


.stacks-alpha-button {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 37px;
    height: 36px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 5px;
	background: transparent;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
}

.stacks-alpha-button:hover,
.stacks-alpha-button:focus-visible {
    background: rgba(238,238,238,.13);
    outline: 1px solid rgba(238,238,238,.32);
}

.stacks-alpha-button.is-active {
    background: transparent;
    box-shadow: none;
}

.stacks-alpha-button.is-empty {
    background: transparent;
    opacity: 1;
    cursor: default;
    pointer-events: none;
}

#stacksCoverStatus {
    grid-column: 1 / -1;
    align-self: start;
    padding-top: 24px;
    color: #f1dfbc;
    font: bold 22px/1.35 Baskerville, "Palatino Linotype", Palatino, serif;
    text-align: center;
    text-shadow: 1px 2px 3px #000;
}


/* v1.0.20 — Stairway to Heaven: pinned cloud overlays */
#stacksCoverBrowser {
    position: relative;
}

.stacks-heavenly-mist {
    position: absolute;
    left: 0;
    width: 100%;
    height: 78px;
    z-index: 2147483000;
    pointer-events: none;
    box-sizing: border-box;
}

.stacks-heavenly-mist-top {
    top: 0;
    background:
        radial-gradient(ellipse at 14% 0%,
            rgba(238,238,238,.98) 0%,
            rgba(238,238,238,.68) 30%,
            rgba(238,238,238,0) 68%),
        radial-gradient(ellipse at 52% 0%,
            rgba(238,238,238,.96) 0%,
            rgba(238,238,238,.62) 34%,
            rgba(238,238,238,0) 72%),
        radial-gradient(ellipse at 86% 0%,
            rgba(238,238,238,.98) 0%,
            rgba(238,238,238,.66) 30%,
            rgba(238,238,238,0) 68%),
        linear-gradient(to bottom,
            rgba(238,238,238,.94) 0%,
            rgba(238,238,238,.68) 28%,
            rgba(238,238,238,.25) 65%,
            rgba(238,238,238,0) 100%);
}

.stacks-heavenly-mist-bottom {
    bottom: 0;
    background:
        radial-gradient(ellipse at 14% 100%,
            rgba(238,238,238,.98) 0%,
            rgba(238,238,238,.68) 30%,
            rgba(238,238,238,0) 68%),
        radial-gradient(ellipse at 52% 100%,
            rgba(238,238,238,.96) 0%,
            rgba(238,238,238,.62) 34%,
            rgba(238,238,238,0) 72%),
        radial-gradient(ellipse at 86% 100%,
            rgba(238,238,238,.98) 0%,
            rgba(238,238,238,.66) 30%,
            rgba(238,238,238,0) 68%),
        linear-gradient(to top,
            rgba(238,238,238,.94) 0%,
            rgba(238,238,238,.68) 28%,
            rgba(238,238,238,.25) 65%,
            rgba(238,238,238,0) 100%);
}
