/**********************************************************************
 *  VIDEO SYSTEM - VER2.0 - 20171110
 *  DEVELOPER : DAVID WONG
 *  E-MAIL : DAVIDWONG@ONNODESIGN.COM
 *  COPYRIGHT 2005 ONNO INTERNATIONAL LIMITED. ALL RIGHTS RESERVED.
**********************************************************************/

/** 基本設計 **/
body {
    background: black;
    background-image: url("../wsa-image/wsa-background.jpg");
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center center;
    background-size: cover;
    color: white;
    /*font-family: "微軟正黑體", "Microsoft JhengHei";*/
	font-family: "Times New Roman";
    font-size: 13px;
}

a, a:visited {
    color: white;
    text-decoration: none;
	font-family: "Times New Roman";
}

a:hover {
    text-decoration: underline;
	font-family: "Times New Roman";
}

.wsa-main {
    height: auto;
	font-family: "Times New Roman";
}

.wsa-header {
    background-color: rgba(0, 0, 0, 0);
    /** position: sticky; **/
    top: 0;
	font-family: "Times New Roman";
}

.wsa-header > hr {
    background: white;
    border: 0;
    height: 1px;
	font-family: "Times New Roman";
}

.wsa-title {
    float: left;
	font-family: "Times New Roman";
}

.wsa-title > a > img {
    margin-bottom: 10px;
    height: 75px;
    width: auto;
    display: inline-block;
}

.wsa-home {
    float: right;
	font-family: "Times New Roman";
}

.wsa-home > a > img {
    margin: 20px 20px 0 0;
    height: 20px;
    width: 20px;
    /** filter: invert(1); **/
}

@-webkit-keyframes wsa-shake {
    0% { -webkit-transform: rotate(0deg); }
    25% { -webkit-transform: rotate(-15deg); }
    50% { -webkit-transform: rotate(0deg); }
    75% { -webkit-transform: rotate(15deg); }
    100% { -webkit-transform: rotate(0deg); }
}

.wsa-home > a:hover > img {
    -webkit-animation: wsa-shake 1s linear infinite;
    -webkit-transform-origin: center center;
}

.wsa-clear {
    clear: both;
	font-family: "Times New Roman";
}

/** 會員登入 **/
.wsa-form {
    margin: 0 auto;
    padding-top: 50px;
    text-align: center;
	font-family: "Times New Roman";
}

.wsa-form > a > img {
    /** margin-bottom: 50px; **/
    height: 300px;
    width: auto !important;
}

.wsa-form > input {
    background-color: black;
    border-radius: 5px;
    border: 1.5px solid rgb(0, 0, 0);
    margin-top: 10px;
    padding: 0 2px 0 2px;
    height: 35px;
    width: 200px;
    color: white;
	font-family: "Times New Roman";
}

.wsa-form > button, .wsa-form > button:focus, .wsa-form > button:active {
    background-color: rgb(0, 0, 0);
    border-radius: 5px;
    border: none;
    margin-top: 10px;
    height: 35px;
    width: 200px;
    font-size: 15px;
    color: white;
	font-family: "Times New Roman";
}

.wsa-form > button:hover {
    background-color: rgba(110, 181, 221, 0.75);
}

/** 載入檔案 **/
.wsa-list {
    padding: 10px;
    width: calc(100% - 20px);
	font-family: "Times New Roman";
}

.wsa-item {
    border: 0;
    margin: 5px;
    height: 260px;
    width: calc(25% - 10px);
    text-align: center;
    float: left;
	font-family: "Times New Roman";
}

.wsa-item > a > img {
    border-radius: 5px;
    max-height: 200px;
    height: auto;
    width: 100%;
}

.wsa-item > a > h5 {
    margin-top: 0;
    width: 100%;
    font-weight: normal; /** bold **/
    font-size: 14px; /** 15px **/
    text-overflow: ellipsis;
    overflow: hidden;
	font-family: "Times New Roman";
}

.wsa-play > h4 {
    font-weight: normal; /** bold **/
    font-size: 14px; /** 25px **/
	font-family: "Times New Roman";
}

.wsa-play > h5 {
    margin-top: -10px; /** -25px **/
    font-weight: normal;
    font-size: 14px; /** 17px **/
	font-family: "Times New Roman";
}

.wsa-play > video {
    border-radius: 5px;
    border: 1px solid grey;
    height: auto;
    width: 100%;
}

.wsa-play > embed {
    border-radius: 5px;
    border: 1px solid grey;
    height: 80vh;
    width: 100%;
}

.wsa-download {
    display: none;
}

.wsa-admin > h2 {
    font-weight: normal; /** bold **/
    font-size: 14px; /** 25px **/
	font-family: "Times New Roman";
}

.wsa-admin > h4 {
    margin: 20px 0 0 0;
    font-weight: normal;
    font-size: 14px; /** 17px **/
	font-family: "Times New Roman";
}

.wsa-admin > h5 {
    margin: 2px 0 0 0;
    font-weight: normal;
    font-size: 14px; /** 15px **/
	font-family: "Times New Roman";
}

/** 底部設計 **/
.wsa-footer, .wsa-footer-small {
    color: white;
    margin-top: 75px;
    padding-bottom: 10px;
    position: initial;
    right: initial;
    font-size: 10px;
    text-align: center;
    display: block;
	font-family: "Times New Roman";
}

.wsa-footer > a, .wsa-footer > a:visited, .wsa-footer-small > a, .wsa-footer-small > a:visited {
    color: white;
	font-family: "Times New Roman";
}

.wsa-footer {
    display: block;
}

.wsa-footer-small {
    display: none;
}

/** 其他設計 **/
@media (min-width: 1680px) {
    .wsa-main {
        margin: 0 auto;
        padding: 10px;
        width: calc(1680px - 20px);
    }
    .wsa-title {
        padding-top: 5px;
    }
    .wsa-home {
        padding-top: 20px;
    }
}

@media (min-width: 767px) and (max-width: 1680px) {
    .wsa-main {
        padding: 10px;
        width: calc(100% - 20px);
    }
    .wsa-title {
        padding-top: 5px;
    }
    .wsa-home {
        padding-top: 20px;
    }
    .wsa-form > a > img {
        margin-bottom: 40px;
        width: 400px;
    }
}

@media (min-width: 0px) and (max-width: 767px) {
    .wsa-main {
        padding: 5px;
        width: calc(100% - 10px);
    }
    .wsa-title {
        padding-top: 0;
    }
    .wsa-title > a > img {
        height: 60px;
        width: auto;
    }
    .wsa-home {
        padding-top: 10px;
    }
    .wsa-home > a > img {
        margin: 10px 5px 0 0;
        height: 20px;
        width: 20px;
    }
    .wsa-header > hr {
        margin-top: 0;
    }
    .wsa-form {
        padding-top: 0;
    }
    .wsa-form > a > img {
        margin-bottom: 30px;
        width: 60%;
    }
    .wsa-list {
        padding: 5px;
        width: calc(100% - 10px);
    }
    .wsa-item {
        height: 150px;
    }
    .wsa-item > a > h5 {
        font-size: 14px; /** 13px **/
    }
    .wsa-play > h4 {
        margin-top: 15px;
        font-size: 14px; /** 20px **/
    }
    .wsa-play > h5 {
        font-size: 14px; /** 15px **/
    }
    .wsa-play > video {
        margin-top: -15px;
    }
    .wsa-download {
        display: block;
    }
    .wsa-footer {
        display: none;
    }
    .wsa-footer-small {
        position: initial;
        right: initial;
        text-align: center;
        display: block;
    }
}

@media (min-width: 0px) and (max-width: 470px) {
    .wsa-form > a > img {
        margin-bottom: 20px;
        width: 80%;
    }
    .wsa-item {
        height: 100px;
    }
}

/** 其他項目 **/
video::-internal-media-controls-download-button {
    display: none;
}

video::-webkit-media-controls-enclosure {
    overflow: hidden;
}

video::-webkit-media-controls-panel {
    width: calc(100% + 30px);
}