h1 {
    font-size: 40px;
    color: #fff;
    padding: 0 10px 0 10px;
}

hr {
    border-top: 2px solid #fff;
}

.movie_poster {
    float: left;
    width: 255px;
    height: 360px;
    margin: 10px;
    outline: 1px solid #222222;
}

.movie_desc-container {
    color: white;
    padding: 0;
    float: left;
    width: 729px;
    min-height: 360px;
    height: auto;
    margin: 10px;
    font-size: 20px;
}

/**
 * 1456x180
 */
.horizontal-ad-bar100 {
    width:  calc(100vw - 160px);
    height: calc((100vw - 160px) * 0.1236);
}

.horizontal-ad-bar100 img {
    width:  calc(100vw - 160px);
    height: calc((100vw - 160px) * 0.1236);
}

.horizontal-ad-bar100 div {
    width: calc(100vw - 160px) !important;
    height: calc((100vw - 160px) * 0.1236) !important;
}

/**
 * 1456x360
 */
.horizontal-ad-bar100-h360 {
    width:  calc(100vw - 160px);
    height: calc((100vw - 160px) * 0.2472);
}

.horizontal-ad-bar100-h360 img {
    width:  calc(100vw - 160px);
    height: calc((100vw - 160px) * 0.2472);
}

.horizontal-ad-bar100-h360 div {
    width: calc(100vw - 160px) !important;
    height: calc((100vw - 160px) * 0.2472) !important;
}

/**
 * 650x162
 */
.horizontal-ad-bar100-small {
    width: calc(100vw - 160px);
    height: calc((100vw - 160px) * 0.2493);
}

.horizontal-ad-bar100-small img {
    width: calc(100vw - 160px);
    height: calc((100vw - 160px) * 0.2493);
}

.horizontal-ad-bar100-small div {
    width: calc(100vw - 160px);
    height: calc((100vw - 160px) * 0.2493);
}

@media only screen and (max-width: 1600px) {
    .horizontal-ad-bar100 {
        width:  calc(100vw - 160px);
        height: calc((100vw - 160px) * 0.1236);
        margin: 0 auto;
    }

    .horizontal-ad-bar100 img {
        width: calc(100vw - 160px) !important;
        height: calc((100vw - 160px) * 0.1236) !important;
    }
    .horizontal-ad-bar100 div {
        width: calc(100vw - 160px) !important;
        height: calc((100vw - 160px) * 0.1236) !important;
    }
}

@media only screen and (max-width: 1150px) {

    .horizontal-ad-bar100-small {
        width: calc(100vw - 20px);
        height: calc((100vw - 20px) * 0.2493);
    }

    .horizontal-ad-bar100-small img {
        width: calc(100vw - 20px);
        height: calc((100vw - 20px) * 0.2493);
    }
    .horizontal-ad-bar100-small div {
        width: calc(100vw - 20px) !important;
        height: calc((100vw - 20px) * 0.2493) !important;
    }

    .movie_name-container {
        width: 100%;
        height: auto;
        text-align: center;
    }
    .movie_poster {
        width: 80%;
        height: 360px;
        margin: 10px 10%;
        text-align:center;
        outline: none;
    }
    .movie_poster img {
        outline: 1px solid #222222;
    }
    .movie_desc-container {
        color: white;
        width: 90%;
        min-height: 360px;
        height: auto;
        margin: 10px 5%;
    }
}

.ep-block {
    float: left;
    margin: 5px;
    border-radius: 8px;
    background: #3c3b3b;
    width: 85px;
    height: 85px;
    color:white;
    text-align: center;
    opacity: 0.7;
}

.ep-block:hover {
    opacity: 0.9;
    border: 1px solid chocolate;
}

.ep-block_topbottom {
    width: 100%;
    height: 20px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.8em;
}

.ep-block_middle {
    width: 100%;
    height: 45px;
    font-size: 20px;
    font-weight: bold;
    line-height: 2.2em;
    border: 1px dashed #ffffff;
    border-width: 1px 0;
}

.ep-block_eye {
    font-size: 22px;
}

.ep-block_view {
    position: relative;
    top: -3px;
    left: 4px;
}
.ep-block_viewed {
    color: greenyellow !important;
}

.ep-block_current {
    color: darkorange !important;
}

.player-container {
    width: 1024px;
    height: 722px;
    background: #000;
    margin: 10px auto;
    border: 1px solid #101113;
}

/**
 * Sub-Dub switch
 */
.subdub-switch {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 34px;
    cursor: pointer;
}

.subdub-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.subdub-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #4994ec;
    -webkit-transition: .4s;
    transition: .4s;
}

.subdub-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .subdub-slider {
    background-color: #50c039;
}

input:focus + .subdub-slider {
    box-shadow: 0 0 1px #50c039;
}

input:checked + .subdub-slider:before {
    -webkit-transform: translateX(64px);
    -ms-transform: translateX(64px);
    transform: translateX(64px);
}

input:checked + .subdub-slider + .subdub-desc span:nth-child(1) {
    display: none;
}
input:checked + .subdub-slider + .subdub-desc span:nth-child(2) {
    display: block;
    position: relative;
    left: -20px;
}
input + .subdub-slider + .subdub-desc span:nth-child(1) {
    display: block;
}
input + .subdub-slider + .subdub-desc span:nth-child(2) {
    display: none;
}


.subdub-desc {
    position: absolute;
    top: 0;
    right: 10px;
    width: 64px;
    height: 34px;
    text-align: center;
    line-height: 2.2em;
    color: #fff;
    font-size: 16px;
}

/* Rounded sliders */
.subdub-slider.subdub-round {
    border-radius: 34px;
}

.subdub-slider.subdub-round:before {
    border-radius: 50%;
}

.switch-container {
    width: 1024px;
    height: auto;
    margin: 10px auto;
}

.movie-suggestion {
    height: 547px !important;
    overflow: hidden;
}

.movie-suggestion .heading {
    font-size: 26px;
    color: #fff;
    display: block;
}

.movie-top-banner {
    width: 100%;
    height: 85vh;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: end;
    padding: 10px 22px;
}

@media only screen and (max-width: 1060px) {
    .player-container {
        margin: 0;
        width: calc(100vw - 10px);
        height: calc((100vw - 10px) * 0.5625);
        border-width: 1px 0 1px 0;
    }
}

.movie-gray-text {
    color: gray;
}

.episode-button > img {
    width: 180px;
    height: 240px;
}

.episode-button:hover > .episode-button-overlay {
    background: none;
    opacity: 0.6;
}

.episode-button:hover {
    box-shadow: 0px 0px 20px -3px rgba(194,0,0,1);
}

.episode-button-overlay {
    position: absolute;
    width: 180px;
    height: 240px;
    left: 0;
    top: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.8s ease;
}

.episode-button-overlay-2 {
    position: absolute;
    width: 180px;
    height: 240px;
    left: 0;
    top: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
    display: flex;
    justify-content: center;
    align-items: end;
    font-size: 0.8rem;
}

@media only screen and (max-width: 820px) {
    .episode-button > img {
        width: var(--movie-card-width);
        height: var(--movie-card-height);
    }
    .episode-button-overlay {
        width: var(--movie-card-width);
        height: var(--movie-card-height);
    }

    .episode-button-overlay-2 {
        width: var(--movie-card-width);
        height: var(--movie-card-height);
    }
}

.ep-card {
    display: inline-block;
    position: relative;
    width: 180px;
    height: 240px;
    margin: 5px;
    color: #fff;
    cursor: pointer;
}

@media only screen and (max-width: 820px) {
    :root {
        --movie-card-width: calc((100vw * 0.25));
        --movie-card-height: calc((100vw * 0.25) * 1.3333);
    }
    .ep-card {
        width: var(--movie-card-width);
        height: var(--movie-card-height);
        margin: 1px;
    }
}

@media only screen and (max-width: 1024px) {
    .switch-container {
        width: 100% !important;
    }
    .switch-container > div:nth-child(1) {
        width: 100% !important;
        max-width: 100% !important;
        flex: unset;
        text-align: center !important;
        padding: 10px;
        order: 2;
    }
    .switch-container > div:nth-child(2) {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        display: flex;
        justify-content: center;
        flex: unset;
        padding-top: 10px;
        order: 1;
    }
    .switch-container > div:nth-child(3) {
        width: 100% !important;
        max-width: 100% !important;
        flex: unset;
        text-align: center !important;
        display: flex;
        justify-content: center;
        padding: 10px;
        order: 3;
    }
}

.above-player-banana {
    width: 1024px;
    height: 200px;
    background: #3c3b3b;
    margin: 4px auto;
}

.above-player-banana-2 {
    width: 1024px;
    height: 400px;
    background: #3c3b3b;
    margin: 4px auto;
}

@media only screen and (max-width: 1060px) {
    :root {
        --above-player-banana-width: calc(100vw - 30px);
        --above-player-banana-height: calc(var(--above-player-banana-width) * 0.1953);
        --above-player-banana-2-width: calc(100vw - 30px);
        --above-player-banana-2-height: calc((var(--above-player-banana-2-width) * 0.1953) * 2);
    }
    .above-player-banana {
        width: var(--above-player-banana-width);
        height: var(--above-player-banana-height);
    }
    .above-player-banana > a > img {
        width: var(--above-player-banana-width);
        height: var(--above-player-banana-height);
    }
    .above-player-banana-2 {
        width: var(--above-player-banana-2-width);
        height: var(--above-player-banana-2-height);
    }
    .above-player-banana-2 > a > img {
        width: var(--above-player-banana-2-width);
        height: var(--above-player-banana-2-height);
    }
}