﻿/*video player Area*/
.videoPlayer {
    display: none;
}

.videoPlayerArea {
    z-index: 99999;
    position: fixed;
    width: 90%;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    background-color: #fff;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0px 0px 8px #888888;
}

    .videoPlayerArea .video-container.video-modal {
        padding-bottom: calc((90vw - 20px) * 9 / 16 + 350px + 1.4em);
    }

.videoPlayerHeader {
    padding: 10px;
    font-size: 1.25em;
    display: flex;
    justify-content: space-between;
    align-items:center;
}
    .videoPlayerHeader .logoImg {
        height: 50px;
        width: auto;
    }

    .videoPlayerHeader #vodCoverClose {
        padding: 0.5em;
    }
.videoPlayerAreaBg {
    width: 100%;
    height: 100vh;
    background: rgba(252,204,153,0.6);
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
}

.videoPlayerLogo img {
    height: 50px;
    width: auto;
}

@media (min-width: 1000px) {
    .videoPlayerArea {
        width: 96vw;
        transform: translate(-50%, 0);
        top: 15%;
    }

        .videoPlayerArea .video-container.video-modal {
            padding-bottom: calc((96vw - 300px) * 9 / 16 + 5em);
        }
}

@media (min-width: 1200px) {
    .videoPlayerArea {
        width: 1100px;
    }

        .videoPlayerArea .video-container.video-modal {
            padding-bottom: calc((1100px - 300px) * 9 / 16);
        }
}

/*video player Area end*/
.newsList {
    counter-reset: list-number;
}
    .newsList .newsListNum {
        counter-increment: list-number;
        position: relative;
    }

        .newsList .newsListNum::before {
            content: counter(list-number);
        }


body.affix #nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}


.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
    height: 0;
    overflow: hidden;
}

    .video-container iframe, .video-container object, .video-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.loginBox.loginBox-lay-dropdown {
    white-space: nowrap;
}

    .loginBox.loginBox-lay-dropdown > div {
        padding: 0 0.15em;
    }

        .loginBox.loginBox-lay-dropdown > div i {
            font-size: 1.25em;
        }

/*導覽目錄*/

#nav-directory {
    margin: 0.5em 0.25em 1.5em 0.25em;
    padding: 10px;
}

    #nav-directory p {
        margin: 0;
    }

    #nav-directory li {
        margin-left: 2.5em;
        list-style: disc;
    }

        #nav-directory li a {
            color: #6189c6;
            text-decoration: underline;
        }

/*導覽目錄END*/