:root {
    /* --stripe-width: max(10px, 0.8vw); */
    --stripe-width: max(10px, 1.5vw);
    --cta-width: 35vw;
    --cta-min-width: 17.5vw;
    /* --cta-width: 37vw;
    --cta-min-width: 17.5vw; */
    --fs: max(16px, 1.4vw);
}

@font-face {
    font-family: 'abc_whyte_regular';
    src: url('fonts/abcwhyte-regular-webfont.woff2') format('woff2'),
         url('fonts/abcwhyte-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'abc_whyte_medium';
    src: url('fonts/abcwhyte-medium-webfont.woff2') format('woff2'),
         url('fonts/abcwhyte-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


html, body {
    background: #000;
    font-family: 'abc_whyte_regular', Helvetica, Arial, sans-serif;
    font-size: 0;
    line-height: 0;
}


/* container
============================================================= */

.container {
    display: flex;
    height: 100%;
    left: 0;
    overflow-x: hidden;
    position: absolute;
    top: 0;
    width: 100%;
}


/* title
============================================================= */

.container > .title {
    align-items: center;
    background-color: red;
    cursor: pointer;
    display: flex;
    height: 100%;
    justify-content: center;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999999;

    display: none;
}

.container > .title h1 {
    color: yellow;
        /* color: #fff;
        text-shadow: 0 0 0.1em red; */
    font-family: 'abc_whyte_medium';
    font-size: 14vw;
    letter-spacing: -0.05em;
    line-height: 1;
    text-align: center;
}

.container > .title h1 .again {
    display: inline;
    opacity: 0;
}

.container > .title h1 .again span {
    visibility: hidden;
}


/* nav
============================================================= */

.nav {
    background: #000;
    color: #fff;
    font-size: var(--fs);
    left: 0;
    line-height: 1;
    /* padding: 0.3vw 1.5vw;
    padding-left: 8.35vw; */
    padding: 0.3vw 8.35vw;
    position: fixed;
    top: 0;
    transition: padding 0.3s;
    width: 100%;
    z-index: 9999999;
}

.nav.selected {
    padding-left: 1.5vw;
    padding-right: 55%;
}

.nav.selected,
.nav.selected ul li.title {
    /* color: yellow; */
}

.nav ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

/* .nav ul li.title {
    color: red;
} */

.nav ul li.link {
    cursor: pointer;
}

.nav ul li.active {
    border: none;
    color: red;
    cursor: default;
}

.nav ul li.link:not(.active):hover {
    border: none;
    color: red;
}

.nav.selected ul li.link:not(.active):hover {
    color: red;
}


/* images
============================================================= */

.images {
    display: flex;
    flex-direction: row;
    height: calc(100% - 1.8vw);
        height: calc(100% - (2 * (var(--fs) + 0.6vw)));
    left: 0;
    padding-left: calc(var(--cta-width) + var(--stripe-width));
    position: absolute;
    top: calc(var(--fs) + 0.6vw);
    width: 100%;
}

.images .image {
    background-color: #fff;
    height: 100%;
    position: relative;
}

.images .image.to-be-repaired {
    background-color: yellow;
    margin-right: var(--stripe-width);
}

.images .image.to-be-repaired::after {
    background: url(../img/yellow-black.gif) center;
    background-size: contain;
    content: ' ';
    display: block;
    height: 100%;
        /* height: calc(100% - var(--fs) - 0.6vw); */
    left: 100%;
    position: absolute;
    top: 0;
    width: var(--stripe-width);
}

.images img {
    height: 100%;
    height: calc(100% - (1 * (var(--fs) + 0.6vw)));
    width: auto;
    /* opacity: 0; */
}

.images .image.blur {
    background-color: #000;
    z-index: -1;
}

.images .image.blur img{
    filter: blur(30px);
    /* transform: scale(1.3); */
}

.images .label {
    background-color: #fff;
    border-right: 1px solid black;
    bottom: 0;
    color: #000;
    font-size: var(--fs);
    left: 0;
    line-height: 1;
    padding: 0.3vw;
    position: absolute;
    width: auto;
    z-index: 9999;

    width: 100%;
    text-align: center;
    /* text-indent: 0.3em; */
}

.images .image.to-be-repaired .label {
    background-color: red;
    color: yellow;

    background-color: #fff;
    color: red;

    background-color: yellow;
    color: #000;
    border: none;
}

.images .image.repaired .label.has-note {
    bottom: calc(var(--fs) + 0.6vw);
    padding-bottom: 0;
    transform: translateY(100%);
    transition: bottom 0.3s, transform 0.3s;
}

.images .image.repaired:hover .label.has-note {
    bottom: 0;
    transform: translateY(0);
}

.images .image.repaired .label .note {
    /* background-color: #ececec; */
    border-top: 1px solid transparent;
    font-family: 'Trispace', sans-serif;
    font-size: 0.7em;
    line-height: 1.2;
    margin: 0.3vw -0.3vw 0 -0.3vw;
    padding: 0.3vw 0.45vw;
    text-align: left;
}

.images .image.repaired .label .note-by {
    text-transform: capitalize;
}

.images .image.repaired .label.has-note .note {
    border-top-color: #000;
}


/* cta
============================================================= */

.cta {
    align-items: center;
    background: #eeeeeef3 url(../img/empty-pattern.gif);
    background-size: 14px;
    box-shadow: red 0 0 0.6vw 0.6vw inset;
        box-shadow: red 0 0 2vw 2vw inset;
    color: red;
    display: flex;
    height: calc(100% -  (2 * (var(--fs) + 0.6vw)));
    font-family: 'abc_whyte_medium';
    font-size: 2.3vw;
    justify-content: center;
    left: 0;
    letter-spacing: -0.02em;
    line-height: 1.05;
    position: fixed;
    text-align: center;
    top: calc(var(--fs) + 0.6vw);
    width: var(--cta-width); 
    z-index: 999999;   
}

.cta.uploading {
    pointer-events: none;
}

.cta .mobile {
    display: none;
}

.cta:hover {
    cursor: pointer;
    width: var(--cta-width) !important;
    font-size: 2.3vw !important;
    transition: width 0.3s, font-size 0.3s;
}

.cta::after {
    background: url(../img/yellow-black.gif) center;
    background-size: contain;
    content: ' ';
    display: block;
    height: 100%;
    left: 100%;
    position: absolute;
    top: 0;
    width: var(--stripe-width);
}

.cta.dz-drag-hover {
    background: yellow;
    color: yellow;

    background-color: red;
    color: red;
}

.cta.dz-drag-hover .dz-drag-hover-show {
    color: red;
    color: yellow;
}

.cta .inner {
    pointer-events: none;
}

.cta .step {
    padding-bottom: 1.2em;
}

.cta .step:last-of-type {
    padding-bottom: 0;
}

.cta .status-done,
.cta .status-uploading {
    align-items: center;
    background-color: red;
    color: yellow;
    display: none;
    height: 100%;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.cta .status-done {
    background-color: yellow;
    color: #000;
}

.cta .status-uploading span {
    animation: pulse 1s alternate infinite;
}

.cta.done .status-done,
.cta.uploading .status-uploading {
    display: flex;
}

.cta .underlined {
    text-decoration: underline;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0.3;
    }
}


/* input-email
============================================================= */

.input-email {
    background-color: yellow;
        background-color: #fff;
        box-shadow: 0 0 10vw red;
    color: #000;
    display: none;
    font-size: calc(1.5 * var(--fs));
    height: auto;
    left: 50%;
    line-height: 1.1;
    max-width: 37vw;
    padding: calc(3 * var(--stripe-width));
    padding-bottom: calc(2 * var(--stripe-width));
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 999999999;
}

.input-email.visible {
    display: block;
}

.input-email p.q {
    padding-bottom: calc(2 * var(--stripe-width));
    text-align: center;
}

.input-email input,
.input-email button {
    border: none;
    font-family: 'abc_whyte_regular';
    font-size: var(--fs);
    line-height: 1;
    margin-top: var(--stripe-width);
    padding: var(--stripe-width);
    width: 100%;
}

.input-email input {
    background-color: transparent;
    box-shadow: red 0 0 0.2vw 0.2vw inset;
    color: red;
    text-align: center;
}

.input-email button {
    background-color: red;
    color: yellow;
    cursor: pointer;
}

.input-email p.left {
    text-align: left;
}

.input-email .btn-no-thanks {
    border-bottom: 1px solid;
    cursor: pointer;
    display: inline-block;
    font-size: var(--fs);
    margin-top: calc(1.5 * var(--stripe-width));
}

.input-email .btn-no-thanks:hover {
    border: none;
}


/* next-repair-stream
============================================================= */

.next-repair-stream {
    background-color: yellow;
        background-color: #000;
    bottom: 0;
    color: #000;
        color: #fff;
        color: #9e9e9e;
    /* color: red; */
    display: flex;
    font-size: var(--fs);
    line-height: 1;
    left: 0;
    overflow: hidden;
    padding: 0.3vw 0;
    position: fixed;
    width: 100%;
    z-index: 999999;
}

.next-repair-stream a {
    color: inherit;
    text-decoration: none;
}
.next-repair-stream:hover {
    background-color: #000;
    color: yellow;
        color: red;
}

.next-repair-stream span {
    /* opacity: 0.7; */
    white-space: nowrap;
    /* text-transform: uppercase */
}

.next-repair-stream:hover span {
    opacity: 1;
}

.next-repair-stream span::after {
    content: '—';
    display: inline-block;
    padding: 0 1em;
}


/* page
============================================================= */

.page {
    background-color: #000;
    color: red;
    font-size: var(--fs);
    height: calc(100% - 1.8vw);
    left: 0;
    line-height: 1.1;
    overflow-y: auto;
    position: fixed;
    top: 1.8vw;
    transform: translateX(-100%);
    transition: transform 0.3s, filter 0.3s;
    width: 50%;
    z-index: 999999;
}

.page.visible {
    filter: drop-shadow(0.5em 0 0.5em #000);
    transform: translateX(0);
}

/*.page*/ .btn-close-0 {
    cursor: pointer;
    height: 100%;
    left: 50%;
    position: fixed;
    top: 0;
    width: 50%;
}

.page .btn-close-1 {
    cursor: pointer;
    position: absolute;
    right: 0.6vw;
    top: 0;
}

.page .btn-close-1:hover::before {
    color: yellow;
}

.page .btn-close-1::before {
    content: '\00D7';
    font-size: calc(2 * var(--fs));
    line-height: 1;
}

.page .inner {
    padding: var(--fs);
    padding-top: calc(var(--stripe-width) + 2 * var(--fs) );
}

.page .inner h2 {
    display: none;
}

.page .inner p {
    padding-bottom: 1.1em;
}

.page .inner em {
    font-style: italic;
}

.page .inner a {
    color: inherit;
    text-decoration: none;
}

.page .inner a:hover {
    color: #fff;
    color: yellow;
    text-decoration: underline;
}

/* faq */

.page-faq .qa {
    border-bottom: 1px solid red;
    cursor: pointer;
    margin-bottom: 0.3em;
    padding-bottom: 0.3em;
}

.page-faq .qa .a {
    display: none;
    text-indent: 5em;
}

.page-faq .qa:hover,
.page-faq .qa.open {
    color: yellow;
    /* color: #fff; */
}

.page-faq .qa.open .a {
    display: block;
}

/* streams */

.page-streams .stream a {
    border-bottom: 1px solid red;
    display: grid;
    grid-gap: var(--fs);
    grid-template-columns: 1fr 1fr;
    padding: calc(0.5 * var(--fs)) 0;
}

.page-streams .stream:first-of-type a {
    border-top: 1px solid red;
}

.page-streams .stream a:hover {
    /* color: #fff; */
    color: yellow;
}

.page-streams .poster {
    font-size: 0;
    line-height: 0;
}

.page-streams img {
    height: auto;
    width: 100%;
}


/* note
============================================================= */

.note-end {
    align-items: center;
    background-color: rgba(0,0,0,0.5);
    cursor: pointer;
    display: flex;
    height: 100%;
    justify-content: center;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999999999999;
}

.note-end .inner {
    background-color: yellow;
    background-color: #fff;
    border-radius: 0.5vw;
    box-shadow: 0 0 4vw #000;
    color: #000;
    font-size: var(--fs);
    line-height: 1.5;
    margin-top: -4vh;
    padding: 1vw;
    text-align: center;

    font-family: 'Trispace', sans-serif;
    font-size: calc(0.9* var(--fs));
}

.note-end .inner .btn {
    color: red;
    font-size: 0.8em;
    margin-top: 0.5em;
}