@font-face {
    font-family: Sukhumvit;
    src: url('../Font/sukhumvit.ttf');
}
html, body {
    height: 100%;
}

body {
    font-family: Sukhumvit, Arial, serif;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    background-size: cover !important;
}

nav.top {
    margin: 0;
    width: 100%;
    height: 60px;
    background: rgba(0, 0, 0, 0.45);
    transition: all 0.4s;
    display: flex;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
}

nav.top > div:nth-child(1) {
    height: 35px;
    align-self: center;
    width: calc(100vw - 40px);
}

nav.top > div:nth-child(1) > a > img {
    display: inline-block;
    float: left;
}

nav.top > div:nth-child(1) > ul {
    margin: 0;
    padding: 0;
    float: left;
    display: inline-block;
    height: 35px;
    list-style-type: none;
}

nav.top > div:nth-child(1) > ul > li {
    display: list-item;
    float: left;
    margin-left: 20px;
    height: 35px;
    line-height: 2.2em;
    font-size: 16px;
}

nav.top > div:nth-child(1) > ul > li > a {
    color: #fff;
    display: block;
}

nav.top > div:nth-child(1) > ul > li > a:hover {
    text-decoration: none;
    transition: all 0.6s;
}

.top-nav_dd-pane_container {
    display: block;
    width: 100%;
    height: 1px;
    position: relative;
    overflow: hidden;
    top: -10px;
}

li.top-nav_dd:hover .top-nav_dd-pane_container {
    overflow: visible;
}

li.top-nav_dd:hover .top-nav_dd-pane_container > div.top-nav_dd-pane {
    opacity: 1;
    transform: translateY(10px);
}

.top-nav_dd-pane {
    transition: all 0.6s;
    position: absolute;
    float: right;
    min-width: 100px;
    width: auto;
    right: 0;
    height: auto;
    background: rgba(17, 17, 17, 0.8);
    opacity: 0;
    border-radius: 2px;
    z-index: 100;
}

.top-nav_dd-pane ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    height: auto;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
}

.top-nav_dd-pane ul li {
    border: solid 1px #222222;
    border-width: 1px 0 0 0;
    line-height: 2.6em;
    height: 35px;
    overflow: hidden;
}

.top-nav_dd-pane ul li a {
    display: block;
    white-space: nowrap;
    height: 35px;
    padding: 0 20px;
    color: #fff;
    transition: all 0.4s;
    border: solid 2px black;
    border-width: 0 0 0 2px;
}

.top-nav_dd-pane ul li a:hover {
    color: red;
    text-decoration: none;
    background: black;
    border: solid 2px red;
    border-width: 0 0 0 2px;
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
*::-webkit-scrollbar-track {
    background: black;
}
*::-webkit-scrollbar-thumb {
    background-color: #333333;
    border-radius: 4px;
    border: 0;
}

.top-nav_search-btn {
    width: 35px;
    height: 35px;
    background: #bb271a;
    float: right;
    border-radius: 4px;
    border: none;
    padding: 0;
}

.top-nav_search-btn:hover {
    background: #981e13;
}

.top-nav_search-dialog {
    width: 1px;
    height: 35px;
    float: right;
    position: relative;
    overflow: hidden;
}

.top-nav_search-dialog-pane {
    width: 209px;
    height: 35px;
    background: #fff;
    z-index: 100;
    position: absolute;
    right: 0;
    border-radius: 4px;
    opacity: 0;
    transition: all 0.6s;
}

.top-nav_search_x {
    width: 35px;
    height: 35px;
    border: none;
    background: none;
}

.top-nav_search_x:hover > svg{
    width: 24px;
    height: 24px;
}

.top-nav_search_text {
    width: 165px;
    height: 35px;
    outline:none !important;
    border: none !important;
}

.wide-screen-only {
}

@media only screen and (min-width: 906px) {
    .narrow-screen-only {
        display: none !important;
    }
}
@media only screen and (max-width: 905px) {
    .wide-screen-only {
        display: none !important;
    }

    .top-nav_dd-pane {
        left: 0;
        right: unset;
    }

    nav.top > div > a > img {
        float: unset;
        position: absolute;
        left: 50%;
        transform: translateX(-50%) !important;
    }
}

.movie-carousel_desc {
    width: 50%;
    color: #fff;
}

.movie-carousel {
    width: 100%;
    height: 85vh;
    background-size: cover;
}

@media only screen and (max-width: 900px) {
    .movie-carousel_desc {
        width: 100%;
    }
    .movie-carousel {
        text-align: center;
    }
}

footer {
    margin-top: 80px;
    width: 100%;
    min-height: 200px;
    height: auto;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    background: rgba(22, 22, 22);
}

.footer-col-container {
    width: 1000px;
    height: auto;
}

.footer-col-a {
    float: left;
    width: 420px;
    height: 200px;
}

.footer-col-b {
    width: 580px;
    height: 200px;
    display: table-cell;
    vertical-align: middle;
    padding: 0 25px;
}
@media only screen and (max-width: 1000px) {
    .footer-col-a {
        width: 100%;
        text-align: center;
    }
    .footer-col-b {
        width: 100%;
        text-align: center;
        padding: 0 32px;
    }
}
@media only screen and (max-width: 430px) {
    .footer-col-a > a > img {
        width: calc(100vw - 32px) !important;
        height: calc((100vw  - 32px) * 0.4761) !important;
    }
}

/**********************
 * Movie preview dialog
 ***********************/
#movie-preview-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999998;
    overflow-y: auto;
    display: none;
}

.mpd-loading {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mpd-dialog {
    width: 720px;
    min-height: 550px;
    height: auto;
    background: #1f1f1f;
    position: absolute;
    left: 50%;
    top: 3vh;
    transform: translate(-50%, 0%);
    border-radius: 4px;
    display: block;
}

.mpd-trailer {
    float: left;
    width: 100%;
    height: 250px;
    background: gray;
}

.mpd-trailer-video-container {
    width: 426px;
    height: 240px;
    margin: 5px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mpd-title {
    float: left;
    width: 530px;
    min-height: 52px;
    padding: 10px;
}

.mpd-title > strong {
    color: #fff;
    font-size: 18px;
}

.mpd-play {
    float: left;
    width: 190px;
    min-height: 52px;
    padding: 10px;
    text-align: right;
}

.mpd-attr {
    float: left;
    width: 300px;
    min-height: 100px;
    padding: 10px;
}

.mpd-movie-plot {
    float: left;
    width: 420px;
    min-height: 100px;
    padding: 10px;
}

.mpd-x-container {
    width: 100%;
    height: 1px;
    position: relative;
}

.mpd-x {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    background: #bb271a;
    color: #fff;
    border: 0;
    border-radius: 4px;
    outline: none !important;
    display: flex;
    justify-content: center;
    padding: 0;
    align-items: center;
}

.mpd-x:hover {
    background: #981e13;
}

.mpd-attr > strong {
    color: #fff;
}

@media only screen and (max-width: 820px) {
    :root {
        --mpd-trailer-video-container-width: calc(100vw - 130px);
        --mpd-trailer-video-container-height: calc(var(--mpd-trailer-video-container-width) * 0.5625);
        --mpd-trailer-height: calc(var(--mpd-trailer-video-container-height) + 10px);
    }
    .mpd-dialog {
        display: flex;
        flex-wrap: wrap;
        width: calc(100vw - 40px);
    }
    .mpd-title {
        float: unset;
        width: 100%;
        text-align: center;
        order: 2;
    }
    .mpd-play {
        float: unset;
        width: 100%;
        text-align: center;
        order: 3;
    }
    .mpd-attr {
        float: unset;
        width: 100%;
        order: 5;
    }
    .mpd-movie-plot {
        float: unset;
        width: 100%;
        order: 4;
    }
    .mpd-trailer {
        float: unset;
        height: var(--mpd-trailer-height);
        border-radius: 4px 4px 0 0;
        order: 1;
    }
    .mpd-trailer-video-container {
        width: var(--mpd-trailer-video-container-width);
        height: var(--mpd-trailer-video-container-height);
    }
    .mpd-trailer-video-container > img {
        height: var(--mpd-trailer-video-container-height);
        width: calc(var(--mpd-trailer-video-container-height) * 0.75);
    }
}

/**********************
 * Header banner
 ***********************/
.header-banana_container {
    display: grid;
    width: 1216px;
    grid-gap: 3px;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 10px auto;
}

.header-banana_small_tall {
    width: 200px;
    height: 400px;
}

.header-banana_small_tall > a > img {
    width: 100%;
    height: 100%;
}

.header-banana_big_tall {
    width: 816px;
    height: 400px;
}

.header-banana_big_tall > a > img {
    width: 100%;
    height: 100%;
}

.header-banana_small_short {
    width: 200px;
    height: 200px;
}

.header-banana_small_short > a > img {
    width: 100%;
    height: 100%;
}

.header-banana_big_short {
    width: 816px;
    height: 200px;
}
.header-banana_big_short > a > img {
    width: 100%;
    height: 100%;
}

.header-banana_half-width_container {
    width: 100%;
    height: 200px;
    grid-column: 1 / span 3;
    display: grid;
    grid-gap: 3px;
    grid-template-columns: 1fr 1fr;
}

.header-banana_half-width_container > div > a > img {
    width: 100%;
    height: auto;
}

@media only screen and (max-width: 1260px) {
    :root {
        --viewport-incl-scroll: calc(100vw - 30px);
        --header-banana_w200: calc(var(--viewport-incl-scroll) * 0.1644);
        --header-banana_w816: calc(var(--viewport-incl-scroll) * 0.6710);
    }
    .header-banana_container {
        width: var(--viewport-incl-scroll);
    }
    .header-banana_small_tall {
        width: var(--header-banana_w200);
        height: calc(var(--header-banana_w200) * 2);
    }
    .header-banana_big_tall {
        width: var(--header-banana_w816);
        height: calc(var(--header-banana_w816) * 0.4901);
    }
    .header-banana_small_short {
        width: var(--header-banana_w200);
        height: var(--header-banana_w200);
    }
    .header-banana_big_short {
        width: var(--header-banana_w816);
        height: var(--header-banana_w200);
    }
}
/**********************
 * Floating banner
 ***********************/
.floating-banana {
    width: 728px;
    height: 90px;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: 20000;
    margin-bottom: 10px;
    overflow: hidden;
}

.floating-banana-container div:nth-child(2) {
    margin-bottom: 110px;
}

.floating-banana-container div:nth-child(3) {
    margin-bottom: 210px;
}

.floating-banana-container div:nth-child(4) {
    margin-bottom: 310px;
}

.floating-banana-container div:nth-child(5) {
    margin-bottom: 410px;
}

.floating-banana-container div:nth-child(6) {
    margin-bottom: 510px;
}

.floating-banana-container div:nth-child(7) {
    margin-bottom: 610px;
}

.floating-banana-container div:nth-child(8) {
    margin-bottom: 710px;
}

.floating-banana-container div:nth-child(9) {
    margin-bottom: 810px;
}

.floating-banana-container div:nth-child(10) {
    margin-bottom: 910px;
}

@keyframes floating-banana-x-anim {
    0% {
        opacity: 10%;
    }
    100% {
        opacity: 62%;
    }
}

.floating-banana-x-btn {
    width: 30px;
    height: 30px;
    float: right;
    top: -85px;
    right: 7px;
    position:relative;
    opacity: 0.2;
    animation-name: floating-banana-x-anim;
    animation-iteration-count: infinite;
    animation-duration: 0.8s;
    animation-direction: alternate;
    cursor: pointer;
    color: red;
}

.floating-banana-x-btn:hover {
    animation: none;
    opacity: 1.0;
}
/**********************
 * Left floating banner
 ***********************/
.left-floating-banana {
    width: 120px;
    height: 380px;
    position: fixed;
    bottom: 0;
    left: 10px;
    z-index: 20000;
    margin-bottom: 10px;
    overflow: hidden;
}

.left-floating-banana>a>img {
    width: 120px;
    height: 380px;
}

.left-floating-banana-container div:nth-child(2) {
    margin-bottom: 400px;
}

.left-floating-banana-x-btn {
    width: 30px;
    height: 30px;
    float: right;
    top:-375px;
    right: 7px;
    position:relative;
    opacity: 0.2;
    animation-name: floating-banana-x-anim;
    animation-iteration-count: infinite;
    animation-duration: 0.8s;
    animation-direction: alternate;
    cursor: pointer;
    color: red;
}

.left-floating-banana-x-btn:hover {
    animation: none;
    opacity: 1.0;
}

/**********************
 * Right floating banner
 ***********************/
.right-floating-banana {
    width: 120px;
    height: 380px;
    position: fixed;
    bottom: 0;
    right: 10px;
    z-index: 20000;
    margin-bottom: 10px;
    overflow: hidden;
}

.right-floating-banana>a>img {
    width: 120px;
    height: 380px;
}

.right-floating-banana-container div:nth-child(2) {
    margin-bottom: 400px;
}

.right-floating-banana-x-btn {
    width: 30px;
    height: 30px;
    float: left;
    top: -375px;
    left: 7px;
    position: relative;
    opacity: 0.2;
    animation-name: floating-banana-x-anim;
    animation-iteration-count: infinite;
    animation-duration: 0.8s;
    animation-direction: alternate;
    cursor: pointer;
    color: red;
}

.right-floating-banana-x-btn:hover {
    animation: none;
    opacity: 1.0;
}