﻿#OverlayPlaybackContainer {
    width: 100vw;
    height: 100vh;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    flex-direction: row;
}


#OverlayVideoContainer {
    display: none;
    /*background-color: red;*/
    margin: 10px;
}



.s100percent {
    width: 100%;
    height: 100%;
}

.s640x360 {
    /*width: 640px;
    height: 360px;*/
}

.s720x576 {
    width: 720px;
    height: 576px;
}

.s480x384 {
    width: 480px;
    height: 384px;
}

.s430x338 {
    width: 430px;
    height: 338px;
}

.s320x240 {
    width: 320px;
    height: 240px;
}


#OverlayBannerContainer {
    display: block;
    width: 300px;
	height: 250px;
    /*background-color: pink;*/
    margin: 10px;
    text-align: center;
}

#OverlayBannerImage {
    display: block;
    width: 300px;
    height: 250px;
}




.op-modal {
    color: white;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 50%;
    max-width: 990px;
    min-width: 500px;
    height: auto;
    z-index: 2000;
    visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.op-conten {
    width: 600px;
    height: 300px;
}



.op-show {
    visibility: visible;
}

.op-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    visibility: hidden;
    top: 0;
    left: 0;
    z-index: 1000;
    opacity: 0;
    /*background-color: 242424;*/
    /*background: rgba(36,36,36,0.95);*/
    background: rgba(0,0,0,1);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.op-show ~ .op-overlay {
    opacity: 1;
    visibility: visible;
}




/* Effect 1: Fade in and scale up */
.op-effect-1 .op-content {
    -webkit-transform: scale(0.7);
    -moz-transform: scale(0.7);
    -ms-transform: scale(0.7);
    transform: scale(0.7);
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.op-show.op-effect-1 .op-content {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}


#OverlayAdName {
    display: block;
    width: 100%;
    text-align: center;
    color: white;
    font-weight: bold;
}

#OverlayBannerInfo {
    margin-top: 10px;
    display: block;
    width: 100%;
    text-align: center;
    color: white;
    font-weight: bold;
}

#OverlayHoveringBanner {
    display: none;
    width: 640px;
    height: 360px;
    /*background-color: pink;*/
    background-repeat: no-repeat;
    background-position: center;
    position: fixed;
    z-index: 100000;
}


#JWPContainer {
    padding: 0px;
    display: block;
    margin: 0 auto;
    width: 640px;
    height: 360px;
    /*display:none;*/
}

@media all and (max-width: 600px) and (orientation:portrait) {
    #JWPContainer {
        padding: 0px;
        display: block;
        margin: 0 auto;
        width: 100%;
        /*height: 100%;*/
        /*display:none;*/
    }

    #OverlayPlaybackContainer {
        width: 100vw;
        height: 100vh;
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-align-items: center;
        align-items: center;
        flex-direction: column;
    }

}
