@charset "utf-8";
 /* reset */
*{
    margin: 0;
    padding: 0;
    outline: none;
    list-style: none;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    tap-highlight-color: rgba(0,0,0,0);
}
html, body {
    height: 100%;
    width: 100%;
    text-align: left;
    font-size: 14px;
    -webkit-text-size-adjust: none;
    background: #00bcbc;
    font-family: "Helvetica Neue", Helvetica, Arial, STHeiti,'MYuen HK Light',"Microsoft JhengHei", Arial, sans-serif;
    line-height: 18px;
    color: #333333;
    margin: 0 auto;
    /*overflow: hidden;*/
}
html,body {
    /* min-width: 1024px; */
    overflow: hidden;
}
input, select, textarea {
    padding: 0px 3px;
    border: 1px solid #d5d5d5;
    height: 25px;
}

ul, li {
    list-style: none;
}

p {
    text-align: justify;
    font-size: 13px;
}

a:link, a:visited {
    color: #333333;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

option, textarea {
}

.clear {
    clear: both;
}

/* loading */
.loading {
    position: fixed;
    width: 100%;
    height:  100%;
    z-index: 999;
    background: #fff;
    text-align: center;
}

.loading-wrap{
    position: relative;
    height: 100%;
    width:  100%;
}

.loading-wrap img{
    position: absolute;
    top: 50%;
    left: 50%;
}
/* body content */
.page {
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}
.content {
    width: 100%;
    position: relative;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.last-screen,
.btn-video {
    position: absolute;
    z-index: 109;
    top: 0;
    left: 0;
    bottom: 0;
}

.btn-link{
    position: absolute;
    right: 0;
    top: 0;
    width: 46%;
    height: 100%;
/*    max-width: 46%;
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    margin: 4.2em 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;*/
}
.btn-link a{
    position: absolute;
    display: block;
    left: 0;
    top: 10%;
    width: 100%;
    height: 20%;
/*    padding: 0 50px;
    display: block;*/
}
.btn-link a:nth-child(2){
    top: 30%;
}
.btn-link a:nth-child(3){
    top: 50%;
}
.btn-link a:nth-child(4){
    top: 70%;
}

.btn-video img {
    width: 100%;
}

.video-container {
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
    position: relative;
}

.video-container video {
    display: block;
    position: relative;
    top: 0;
    z-index: 99;
    left: 0;
    width: 100%;
    height: 100%;
    bottom: 0;

}

button {
    background: none;
    border: 0;
    color: inherit;
    /* cursor: default; */
    font: inherit;
    line-height: normal;
    overflow: visible;
    padding: 0;
    -webkit-appearance: button;
    /* for input */
    -webkit-user-select: none;
    /* for button */
    -moz-user-select: none;
    -ms-user-select: none;
}

.btn-skip {
    cursor: pointer;
    margin: 0 auto;
    text-align: center;
}

.btn-skip img {
    width: 100%;
    max-width: 120px;
    padding: 30px 0 0;
}

.btn-submit {
    margin-top: 1vw;
    width: 15vw;
    min-width: 130px;
    max-width: 200px;
}

.btn-close {
    width: 60px;
    max-width: 80px;
    position: absolute;
    right: 16%;
    cursor: pointer;
    top: 22%;
    z-index: 119;
}
.btn-close.pos2{
    top: 12%;
    right: 12%;
}
/* @media screen and (orientation:landscape) {
    .page{
        display: block;
    }
 }
 @media screen and (orientation:portrait) {
    .page{
        display: none;
    }
 }
*/
.hidden {
    opacity: 0;
}

.content .pop-up {
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    position: absolute;
    top:0;
    left: 0;
    bottom: 0;
    z-index: 109;
    width: 100%;
    -webkit-transform: scale(1);
        -ms-transform: scale(1);
            transform: scale(1);
}

.content .pop-up.hidden {
    -webkit-transform: scale(0);
        -ms-transform: scale(0);
            transform: scale(0);
    /* z-index: -99; */
}

.hints-pop {
    max-width: 25%;
    position: absolute;
    -webkit-transform: scale(1);
        -ms-transform: scale(1);
            transform: scale(1);
    z-index: 199;
    right: 1%;
    bottom: 5%;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}
.hints-pop.hidden{
    -webkit-transform: scale(0);
        -ms-transform: scale(0);
            transform: scale(0);
}
.content img {
    width: 100%;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    z-index: 104;
    height: 100vh;
    background: rgba(0,0,0,.8);
}

#quiz  {
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    /*z-index: 109;*/
    width: calc(100% - 20px);
    height: calc(100% - 20px);
}

.answer {
    position: absolute;
    left: 0;
    right: 0;
    top: 35%;
    z-index: 119;
    margin: 0 auto;
    width: 100%;
    max-width: 61%;
    height: auto;
}

#quiz .answer .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin: 1vw 0 0;
}

#quiz .answer .row div {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0px;
            flex: 1 0 0;
    height: 46px;
    margin-right: 54px;
    cursor: pointer;
}
#quiz .answer .row::last-child div{
    margin-bottom: .8em;
}

#quiz .quiz-2 .answer .row div:nth-child(even) {
    -webkit-transform: translateX(-50px);
        -ms-transform: translateX(-50px);
            transform: translateX(-50px);
}
.active {
    background-position: 0 100%!important;
}

.debug {
    position: fixed;
    top: 5vw;
    height: 25vh;
    left: 5vh;
    z-index: 999;
    background: #00bcbc;
    color: #fff;
    padding: 5px 10px;
}




/* plugin full screen*/
.IIV::-webkit-media-controls-play-button,
.IIV::-webkit-media-controls-start-playback-button {
    opacity: 0;
    pointer-events: none;
    width: 5px;
}


.debug div{
    margin-bottom: 1em;
    font-size: 2rem;
}
.quiz-2 .f{
    margin-top: -5px;
}
#quiz-2 .answer .row div.f {
    height: 60px;
}

.btn-status{
    position: absolute;
    left: 20px;
    display: none;
    cursor: pointer;
    border-radius: 50%;
    bottom: 20px;
    z-index: 106;
    opacity: .5;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,.2), 0 2px 10px 0 rgba(0,0,0,.16);
            box-shadow: 0 2px 5px 0 rgba(0,0,0,.2), 0 2px 10px 0 rgba(0,0,0,.16);
}
.btn-status.pauesd{
    opacity: 1;
}
.btn-status img{
    width: 64px;
    height:64px;
}
.last-screen.hidden .btn-replay{
    opacity: 0;
    -webkit-transition:.5s ease;
    -o-transition:.5s ease;
    transition:.5s ease;
}
.last-screen .btn-replay{
    -webkit-transition-delay: .5s;
         -o-transition-delay: .5s;
            transition-delay: .5s;
    opacity: 1;
}
.btn-replay{
    position: absolute;
    border-radius: 5px;
    overflow:hidden;
    bottom: 40px;
    left: 40px;
    z-index: 108;
    cursor: pointer;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,.2), 0 2px 10px 0 rgba(0,0,0,.16);
            box-shadow: 0 2px 5px 0 rgba(0,0,0,.2), 0 2px 10px 0 rgba(0,0,0,.16);
}
.btn-replay img{
    max-width: 172px;
}
.btn-fnext,
.btn-fprev{
    position: absolute;
    display: none;
    cursor: pointer;
    border-radius: 50%;
    bottom: 20px;
    z-index: 106;
    opacity: .25;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.2), 0 2px 10px 0 rgba(0,0,0,.16);
}
.btn-fnext.pauesd,
.btn-fprev.pauesd{
    opacity: 1;
}
.btn-fnext img,
.btn-fprev img{
    width: 64px;
    height:64px;
}
.btn-fprev{
    left: 100px;
}
.btn-fnext{
    left: 180px;
}


/* IE10 and IE11 desktop */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	.bg { 
        height: 100% 
    }
    .content img{
        height: 100%;
    }
    .ans .row .qa{
        width: 100%;
    }
}