:root {
    --current-target-vw: 19.2;
}

/* Autoplay */
:root {
    --current-target-vw: 19.2;
}

#autoplay-container {
    /* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
    /* HTML5 display-role reset for older browsers */
    position: absolute;
    width: 74%;
    height: 75%;
    top: 9%;
    left: 13%;

    .row.title {
        height: 10%;
    }

    *::-webkit-scrollbar-track {
        margin-top: 9vw;
    }
}

#autoplay-container * {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
}

#autoplay-container article,
#autoplay-container aside,
#autoplay-container details,
#autoplay-container figcaption,
#autoplay-container figure,
#autoplay-container footer,
#autoplay-container header,
#autoplay-container hgroup,
#autoplay-container menu,
#autoplay-container nav,
#autoplay-container section {
    display: block;
}

#autoplay-container body {
    line-height: 1;
}

#autoplay-container ol,
#autoplay-container ul {
    list-style: none;
}

#autoplay-container blockquote,
#autoplay-container q {
    quotes: none;
}

#autoplay-container blockquote:before,
#autoplay-container blockquote:after,
#autoplay-container q:before,
#autoplay-container q:after {
    content: "";
    content: none;
}

#autoplay-container table {
    border-collapse: collapse;
    border-spacing: 0;
}

#autoplay-container.hidden {
    display: none !important;
    user-select: none;
    pointer-events: none;
}

#autoplay-container .slider-container {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    flex-flow: row wrap;
    height: 60%;
    width: 100%;
}

#autoplay-container .slider {
    width: 50%;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
    box-sizing: border-box;
}

#autoplay-container .sliderHeader {
    color: #fbb700;
    font-size: 1.25vmax !important;
    margin-bottom: 0%;
}

#autoplay-container .row {
    width: 100%;
    display: -webkit-flex;
    /* NEW */
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;
    /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Chrome */
    display: flex;
    -webkit-flex-wrap: wrap;
    /* NEW */
    flex-wrap: wrap;
    flex-flow: row;
}

#autoplay-container .slider-row {
    align-items: center;
    height: calc(var(--current-target-vw) * 7);
    position: relative;
}

#autoplay-container .inputTrack {
    position: absolute;
    background: #8e8e8e;
    width: 64%;
    left: -2%;
    height: calc(var(--current-target-vw) * 0.5);
    border-radius: 50px;
    z-index: -1;
}

#autoplay-container .lowerFill {
    position: absolute;
    background: #fbb700;
    width: 64%;
    left: -2%;
    height: calc(var(--current-target-vw) * 0.5);
    border-radius: 50px;
    z-index: -1;
}

#autoplay-container p,
#autoplay-container label {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: calc(var(--current-target-vw) * 1.1);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

#autoplay-container .counter {
    font-size: calc(var(--current-target-vw) * 2);
    margin-bottom: 0;
    width: 35%;
    text-align: right;
    font-variant-numeric: tabular-nums;
    text-align: left;
}

#autoplay-container .slider .range {
    background: none;
    appearance: none;
    width: 75%;
    margin-left: -5%;
    height: 10px;
    outline: none;
    opacity: 1;
    -webkit-transition: 0.2s;
    transition: opacity 0.2s;
    user-select: all;
    pointer-events: all;
    position: relative;
    cursor: pointer;
}

#autoplay-container .slider .range::-webkit-slider-thumb {
    user-select: all;
    pointer-events: all;
    -webkit-appearance: none;
    appearance: none;
    width: calc(var(--current-target-vw) * 6) ;
    height: calc(var(--current-target-vw) * 6);
    cursor: pointer;
    border-radius: 50px;
    background: url(../ui/slider_button.png) no-repeat;
    background-size: contain;
    border: none;
}

#autoplay-container .slider .range::-webkit-slider-thumb:hover {
    background-image: url(../ui/slider_button_over.png);
}

#autoplay-container .slider .range::-moz-range-thumb {
    user-select: all;
    pointer-events: all;
    -webkit-appearance: none;
    appearance: none;
    width: 6vmin;
    height: 6vmin;
    cursor: pointer;
    border-radius: 50px;
    background: url(../ui/slider_button.png) no-repeat;
    background-size: contain;
    border: none;
}

#autoplay-container .slider .range::-moz-range-thumb:hover {
    background-image: url(../ui/slider_button_over.png);
}

#autoplay-container .toggle {
    position: relative;
    display: -webkit-flex;
    /* NEW */
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;
    /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Chrome */
    display: flex;
    -webkit-flex-wrap: wrap;
    /* NEW */
    flex-wrap: wrap;
    flex-flow: row;
    width: 25%;
    justify-content: space-between;
    align-items: center;
}

#autoplay-container .toggle p {
    margin: 0 5% 0 5%;
    width: 60%;
}

#autoplay-container .toggle-container {
    display: -webkit-flex;
    /* NEW */
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;
    /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Chrome */
    display: flex;
    -webkit-flex-wrap: wrap;
    /* NEW */
    flex-wrap: wrap;
    flex-flow: row;
    height: 10.5%;
    width: 100%;
    justify-content: center;
    margin-bottom: 3%;
}

#autoplay-container .checkbox {
    width: 30%;
    height: 100%;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    cursor: pointer;
    user-select: all;
    pointer-events: all;
    z-index: 1;
}

#autoplay-container .tickImageContainer {
    position: absolute;
    width: 6vmin;
    height: 6vmin;
}

#autoplay-container .tickImage {
    position: absolute;
    background-image: url(../../gi_ui_settings.png);
    width: 100%;
    height: auto;
    padding-bottom: calc(100% / (134 / 138));
    background-position-y: calc(100% * ((838) / (976 - 138)));
    background-position-x: calc(100% * ((618) / (999 - 134)));
    background-size: calc(999 / 134 * 100%);
}

#autoplay-container .checkbox.off~div .tickImage {
    opacity: 0.3;
}

#autoplay-container .checkbox:hover~div .tickImage {
    background-position-y: calc(100% * ((823) / (976 - 138)));
    background-position-x: calc(100% * ((753) / (999 - 134)));
}

#autoplay-container .checkbox:checked~div .tickImage {
    background-position-y: calc(100% * ((725) / (976 - 138)));
    background-position-x: calc(100% * ((483) / (999 - 134)));
}

#autoplay-container .checkbox:checked:hover~div .tickImage {
    background-position-y: calc(100% * ((699) / (976 - 138)));
    background-position-x: calc(100% * ((618) / (999 - 134)));
}

#autoplay-container .header {
    text-transform: uppercase;
    text-align: center;
    width: 100%;
}

#autoplay-container .header span {
    letter-spacing: calc(var(--current-target-vw) * 0.25);
}

#autoplay-container .header span:first-child {
    color: #fbb700;
    font-size: calc(var(--current-target-vw) * 2.5);
    margin-right: 0.5rem;
}

#autoplay-container .header span:nth-child(2) {
    color: #fff;
    font-size: calc(var(--current-target-vw) * 2.5);
    margin-left: 0.5rem;
}

#autoplay-container #startAutoplay {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0 10%;
    width: 80%;
    background: #197301;
    border: none;
    border-radius: 50px;
    font-size: calc(var(--current-target-vw) * 2.2);
    height: calc(var(--current-target-vw) * 4.5);
    font-weight: bold;
    color: white;
    cursor: pointer;
    pointer-events: all;
    outline: none;
    -webkit-transition: 0.2s;
    transition: all 0.2s;
}

#autoplay-container #startAutoplay span:first-child {
    margin-right: 0.5rem;
}

#autoplay-container #startAutoplay span:nth-child(2) {
    margin-left: 0.5rem;
    font-variant-numeric: tabular-nums;
}

#autoplay-container button#startAutoplay:hover {
    background: #25ad01;
}

/* === Portrait === */
#autoplay-container.portrait {
    display: -webkit-flex;
    /* NEW */
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;
    /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Chrome */
    display: flex;
    -webkit-flex-wrap: wrap;
    /* NEW */
    flex-wrap: wrap;
    flex-flow: column;
    top: 7%;
    left: 4%;
    width: 91%;
    height: 81%;
}

#autoplay-container.portrait .container {
    height: 90%;
    display: -webkit-flex;
    /* NEW */
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;
    /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Chrome */
    display: flex;
    -webkit-flex-wrap: wrap;
    /* NEW */
    flex-wrap: wrap;
    flex-flow: column;
    overflow-y: scroll;
}

*::-webkit-scrollbar {
    width: 8px;
    background-color: #0000;
}

*::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    outline: 1px solid slategrey;
    border-radius: 4px;
}

*::-webkit-scrollbar-track {
    margin-top: 0vw;
}

#autoplay-container.portrait .btn-row {
    height: 10%;
    position: absolute;
    bottom: 0;
    display: -webkit-flex;
    /* NEW */
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;
    /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Chrome */
    display: flex;
    -webkit-flex-wrap: wrap;
    /* NEW */
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 0;
}

#autoplay-container.portrait .title {
    order: 1;
    margin-bottom: calc(var(--current-target-vw) * 4);
}

#autoplay-container.portrait .header span {
    font-size: calc(var(--current-target-vw) * 6);
}

#autoplay-container.portrait .row {
    margin-top: 3%;
}

#autoplay-container.portrait .slider-container {
    order: 3;
    flex-flow: column;
}

#autoplay-container.portrait .slider-row {
    height: calc(var(--current-target-vw) * 15);
}

#autoplay-container.portrait .slider {
    width: 100%;
    min-height: calc(var(--current-target-vw) * 17);
    padding: 0 10%;
}

#autoplay-container.portrait #startAutoplay {
    margin: 0;
    width: 100%;
    height: 100%;
    font-size: calc(var(--current-target-vw) * 6);
}

#autoplay-container.portrait .toggle-container {
    order: 2;
    margin-bottom: calc(var(--current-target-vw) * 5);
    flex-flow: column;
    align-items: center;
    height: auto;
}

#autoplay-container.portrait .toggle {
    width: 72%;
    height: calc(var(--current-target-vw) * 17);
}

#autoplay-container.portrait .toggle p {
    width: 70%;
    margin: 0;
    padding-right: 5%;
    box-sizing: border-box;
}

#autoplay-container.portrait p,
#autoplay-container.portrait label {
    font-size: calc(var(--current-target-vw) * 4);
}

#autoplay-container.portrait .inputTrack,
#autoplay-container.portrait .lowerFill {
    left: 0;
}

#autoplay-container.portrait .slider .range {
    width: 100%;
}

#autoplay-container.portrait .tickImageContainer {
    position: absolute;
    width: calc(var(--current-target-vw) * 15);
    height: calc(var(--current-target-vw) * 15);
}

#autoplay-container.portrait .slider .range::-webkit-slider-thumb {
    user-select: all;
    pointer-events: all;
    -webkit-appearance: none;
    appearance: none;
    width: calc(var(--current-target-vw) * 17);
    height: calc(var(--current-target-vw) * 17);
    cursor: pointer;
    border-radius: 50px;
    background: url(../ui/slider_button.png) no-repeat;
    background-size: contain;
    border: none;
}

#autoplay-container.portrait .slider .range::-moz-range-thumb {
    user-select: all;
    pointer-events: all;
    -webkit-appearance: none;
    appearance: none;
    width: calc(var(--current-target-vw) * 17);
    height: calc(var(--current-target-vw) * 17);
    cursor: pointer;
    border-radius: 50px;
    background: url(../ui/slider_button.png) no-repeat;
    background-size: contain;
    border: none;
}

@supports (-webkit-touch-callout: none) {
    #autoplay-container .sliderHeader {
        margin-bottom: 5%;
    }

    #autoplay-container .portrait .slider .range {
        min-height: calc(var(--current-target-vw) * 18);
    }

    #autoplay-container .portrait .sliderHeader {
        margin-bottom: 20%;
    }
}

#autoplay-container {
    pointer-events: visibleStroke;
}