@font-face {
    font-family: pfs-bold;
    src: url('css/PFSquareSansPro-Bold.otf');
}

* {
    font-family: Verdana, Lucida Sans, Arial, Helvetica, sans-serif;
}

html,
body {
    height: 100%;
    max-height: 100%;
    width: 100%;
    max-width: 100%;
    touch-action: manipulation;
}

body {
    margin: 0px;
    padding: 0px;
    background-color: #BDE1E4 !important;
}

/*#region SWIPEAREA*/

#swipearea div {
    display: block;
    position: absolute;
    border: 0px;
    opacity: 0.5;
}

#neArea {
    top: 0;
    left: 0;
    width: 10vw;
    height: 10vh;
    background: #FF0000;
}

#nArea {
    top: 0;
    left: 10vw;
    width: 80vw;
    height: 10vh;
    background: #CCCCCC;
}

div.identify {
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    background-color: #BDE1E4;
    position: fixed;
    z-index: 10000;
    right: 10%;
    left: 10%;
    border-radius: 5px;
    top: 5%;
    padding: 10px;
}

div.identify_border {
    border: 3px solid #000000;
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    flex: 1;
    -webkit-flex: 1;
    -moz-flex: 1;
    justify-content: space-around;
    -webkit-justify-content: space-around;
    -moz-justify-content: space-around;
}

div.identify p {
    font-size: 2em;
    margin: 10px;
}

div.identify .player_info_value {
    font-weight: bold;
}

#nwArea {
    top: 0;
    right: 0;
    width: 10vw;
    height: 10vh;
    background: #FF0000;
}

#wArea {
    top: 10vh;
    right: 0;
    width: 10vw;
    height: 80vh;
    background: #CCCCCC;
}

/*
#QRCodeCanvas{
    position:absolute;
    bottom: 0px;
    width: 100px;
    height: 100px;
    background-color: #FF0000;
}
*/

#swArea {
    bottom: 0;
    right: 0;
    width: 10vw;
    height: 10vh;
    background: #FF0000;
}

#sArea {
    bottom: 0;
    left: 10vw;
    width: 80vw;
    height: 10vh;
    background: #CCCCCC;
}

#seArea {
    bottom: 0;
    left: 0;
    width: 10vw;
    height: 10vh;
    background: #FF0000;
}

#eArea {
    top: 10vh;
    left: 0;
    width: 10vw;
    height: 80vh;
    background: #CCCCCC;
}

#swipearea div {
    background: none !important;
}

/*#endregion SWIPEAREA*/

#contents {
    display: flex;
    display: -webkit-flex;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    height: 100%;
    width: 100%;
    max-height: 100%;
    max-width: 100%;
    background-color: #BDE1E4 !important;
}

.windows {
    display: none;
    word-wrap: break-word;
    position: absolute;
    background: #FFFFFF;
    border: 0px;
    font-family: monospace;
    z-index: -1000;
}

#timeElapsed {
    text-align: center;
    font-size: 8vw;
    top: 0px;
    right: 0px;
    width: 40vw;
    height: 10vh;
    /*background: rgba(204, 204, 204, 0.4);*/
}

#info {
    font-size: 1vw;
    bottom: 0px;
    right: 0px;
    width: 30%;
    overflow: scroll;
    /*background: rgba(204, 204, 204, 0.4);*/
}

#preview {
    font-size: 1vh;
    bottom: 0px;
    left: 0px;
    height: 20vh;
    width: 20vw;
    padding: 1em;
    background: rgba(204, 204, 204, 0.4);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#logger {
    z-index: 1000;
    font-size: 1vh;
    bottom: 0px;
    left: 0px;
    height: 60%;
    width: 30%;
    padding: 1em;
    overflow: scroll;
    background: black;
    color: white;
    white-space: nowrap;
}

#logger p {
    margin: 0px !important;
}

.progress {
    width: 100%;
    height: 3px;
    border: 1px solid #4C4646;
}

.bar {
    width: 0%;
    height: 3px;
    background-color: #FFFFFF;
}

#av-player {
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background-color: black !important;
}

#webplayer {
    touch-action: manipulation;
    display: none;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF !important;
    background: url("../images/loader.svg") no-repeat center;
    z-index: 998;
    position: absolute;
    top: 0;
    left: 0;
}

#imgplayer {
    overflow: hidden;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background-color: black !important;
}

#imgplayer img {
    position:absolute;
    left:50%;
    top:50%;
    transform: translate(-50%, -50%);
    /* object-fit: contain; */
    /* Ensures the image covers the div without distortion */
    background-color: white;
}

#overlayPlayer {
    overflow: hidden;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background-color: rgba(255, 255, 255, 0);
    z-index: 999;
}


#overlayPlayer img {
    position:absolute;
    background-color: white;
}

#overlayPlayer div {
    position:absolute;
}

.show{
    display: block;
}

.hide{
    display: none;
}

#overlayPlayer  img.p-1x3-1x1-c {
    border: 1px solid green;
    width: 40%;
    left: 26%;
    top: 25%;
}

#overlayPlayer > div{
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0px 0px 10px #000000;
    background-color: #ffffff;
}

div.l-3x3-1x1,
div.l-3x3-2x1,
div.l-3x3-3x1,
div.l-3x3-1x2,
div.l-3x3-2x2,
div.l-3x3-3x2,
div.l-3x3-1x3,
div.l-3x3-2x3,
div.l-3x3-3x3{
    width: 16%;
    padding-top: 16%;
}


div.l-3x2-1x1,
div.l-3x2-2x1,
div.l-3x2-3x1,
div.l-3x2-1x2,
div.l-3x2-2x2,
div.l-3x2-3x2{
    width: 25%;
    padding-top: 25%;
}

div.l-1x3-1x1,
div.l-1x3-1x2,
div.l-1x3-1x3{
    width: 97%;
    padding-top: 18%;
}

div.l-1x2-1x1,
div.l-1x2-1x2{
    width: 97%;
    padding-top: 26%;
}

.l-3x3-1x1,
.l-3x3-2x1,
.l-3x3-3x1,
.l-3x2-1x1,
.l-3x2-2x1,
.l-3x2-3x1,
.l-1x3-1x1,
.l-1x2-1x1{
    top: 2%;
}

.l-3x3-1x2,
.l-3x3-2x2,
.l-3x3-3x2{
    top: 35%;
}

.l-3x3-1x3,
.l-3x3-2x3,
.l-3x3-3x3{
    top: 67%;
}

.l-3x2-1x2,
.l-3x2-2x2,
.l-3x2-3x2{
    top: 50%;
}

.l-1x3-1x2{
    top: 34%;
}

.l-1x3-1x3{
    top: 62%;
}

.l-3x3-1x1,
.l-3x3-1x2,
.l-3x3-1x3,
.l-3x2-1x1,
.l-3x2-1x2,
.l-1x3-1x1,
.l-1x3-1x2,
.l-1x3-1x3,
.l-1x2-1x1,
.l-1x2-1x2{
    left:1.5%;
}
.l-3x3-2x1,
.l-3x3-2x2,
.l-3x3-2x3,
.l-3x2-2x1,
.l-3x2-2x2{
    left: 50%;
    transform: translateX(-50%);
}
.l-3x3-3x1,
.l-3x3-3x2,
.l-3x3-3x3{
    left: 65%;
}

.l-3x2-3x1,
.l-3x2-3x2{
    left: 73.5%;
}

.l-1x2-1x2{
    top: 48%;
}

/*
@media (orientation: portrait) {
    

    .l-3x3-1x1,
    .l-3x3-2x1,
    .l-3x3-3x1,
    .l-3x2-1x1,
    .l-3x2-2x1,
    .l-3x2-3x1,
    .l-1x3-1x1,
    .l-1x2-1x1{
        top: 1%;
    }

    .l-3x3-1x2,
    .l-3x3-2x2,
    .l-3x3-3x2{
        top: 45%;
    }

    .l-3x3-1x3,
    .l-3x3-2x3,
    .l-3x3-3x3{
        top: 85%;
    }

    .l-3x2-1x2,
    .l-3x2-2x2,
    .l-3x2-3x2{
        top: 50%;
    }

    .l-1x3-1x2{
        top: 34%;
    }

    .l-1x3-1x3{
        top: 62%;
    }

    .l-3x3-1x1,
    .l-3x3-1x2,
    .l-3x3-1x3,
    .l-3x2-1x1,
    .l-3x2-1x2,
    .l-1x3-1x1,
    .l-1x3-1x2,
    .l-1x3-1x3,
    .l-1x2-1x1,
    .l-1x2-1x2{
        left: 3%;
    }
    .l-3x3-2x1,
    .l-3x3-2x2,
    .l-3x3-2x3,
    .l-3x2-2x1,
    .l-3x2-2x2{
        left: 50%;
        transform: translateX(-50%);
    }
    .l-3x3-3x1,
    .l-3x3-3x2,
    .l-3x3-3x3{
        left: 82%;
    }

    .l-3x2-3x1,
    .l-3x2-3x2{
        left: 73.5%;
    }

    .l-1x2-1x2{
        top: 48%;
    }
}
*/
/*#region PLAYLIST*/

#playlists {
    display: none;
    position: absolute;
    min-width: 20vw;
    height: auto;
    left: 50%;
    z-index: 9999;
    transform: translate(-50%);
    text-align: center;
}

.playlists {
    width: 100%;
    font-family: pfs-bold;
    color: #FFFFFF;
    text-transform: uppercase;
    position: relative;
}

.playlists .option.placeholder {
    background-color: rgb(47, 57, 65);
    color: #FFFFFF;
}

.playlists .option {
    padding: 1em;
    cursor: pointer;
    background-color: #485761;
}

.playlists .option:not(.placeholder):hover,
.playlists .option:not(.placeholder).active {
    background-color: #5aafee;
}

/*#endregion END PLAYLIST*/

/*#region LOADER*/

#lds-ripple {
    display: none;
    position: absolute;
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#lds-ripple span {
    font-size: 3vh;
    position: absolute;
    top: calc(50% + 120px);
    left: 50%;
    transform: translate(-50%, 0);
    color: #002756;
    font-family: monospace;
    font-weight: bold;
    width: 1000px;
}

#lds-ripple div {
    position: absolute;
    border: 25px solid #17739e;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}

#lds-ripple img {
    width: 15vw;
    position: absolute;
    top: -75%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes lds-ripple {
    0% {
        top: 28px;
        left: 28px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: -1px;
        left: -1px;
        width: 58px;
        height: 58px;
        opacity: 0;
    }
}

/*#endregion LOADER*/

.rotate-90 {
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    transform-origin: right bottom;
    margin-top: -840px;
    margin-left: -1080px;
}


.rotate-180 {
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.rotate-270 {
    -moz-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
    transform-origin: right bottom;
    margin-left: 840px;
    margin-top: -1920px;
}