* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
@font-face {
    font-family: SassoonSans;
    src: url(fonts/SassoonSansCJFTwo-Regular_EDIT.ttf);
    font-size: 1vh;
}
html,body {
    height: 100%;
    max-height: 100%;
}
body {
    font-family: SassoonSans;
    line-height: 1.1;
}
svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}
.transparent {
    opacity: 0;
}
.hidden {
    display: none !important;
}
#stage {
    margin: 0 auto;
    position: relative;
    overflow: hidden
}
.full-screen {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.batton {
    width: 100%;
    height: 2%;
    background: url("../images/SL_BATTON.png") no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.content {
    width: 100%;
    height: 100%;
    background: url("../images/BG_small.png") no-repeat;
    background-size: cover;
    overflow: hidden;
    position: relative;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    border: 0.6vh solid #3865c6;
    border-radius: 0.6vh;
}

.copy{
    width: 100%;
    height: 100%;
    background: url("../images/BG_faded.png") no-repeat;
    background-size: cover;
    opacity: 0;
}
.faded {
    opacity: 1;
}

.cropped-click {
    background: url('../images/BG_big.png') no-repeat;
    width: 10%; /* default value*/
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 55%;
    text-align: center;
    opacity: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.text{
    position: absolute;
    color: black;
    font-size: 2.5vh;
    /*white-space: nowrap;*/
    font-weight: 500;
    border-radius: 0.7vh;
    background-color: white;
    display: inline-block;
    min-width: 8%;
    text-align: center;
    border-radius: 1vh;
    word-wrap: break-word;
    word-break: normal;
    padding: 0 0.5%;
    border: 1vh solid transparent;
    border-image: url("../images/frame_template.png") 20% stretch;
    -webkit-border-image:  url("../images/frame_template.png") 20% stretch;
    border-image-width: 1vh;
    z-index: 2;
}

.image-text-wrap{
    width: 100%;
    position: absolute;
    top: 85%;
}
.image-text{
    position: relative;
    font-size: 1.5vh;
    /*white-space: nowrap;*/
    min-width: 50%;
    max-width: 100%;
    border-radius: 1vh;
    background-color: white;
    display: inline-block;
    vertical-align: top;
    text-align: center;
}
.inner-text-border {
    width: 100%;
    height: 100%;
    border: 1vh solid transparent;
    border-image: url("../images/frame_template.png") 20% stretch;
    -webkit-border-image: url("../images/frame_template.png") 20% stretch;
    border-image-width: 1vh;
    border-radius: 1vh;
    padding:0 2%;
}

.image-border {
    position: absolute;
    top: -1%;
    left: -1%;
    width: 102%;
    height: 102%;
    border-radius: 50%;
}
.inner-border {
    position: absolute;
    top: -1%;
    left: -1%;
    width: 102%;
    height: 102%;
    border-radius: 50%;
    /*border: 1.5px solid #B68C00;*/
    background: url("../images/border_circle.png") no-repeat;
    background-size: 100% 100%;
}

/*loader section*/
#loader {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}
#help {
    z-index: 2;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Add animation to "page content" */
.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s;
}

@-webkit-keyframes animatebottom {
    from { bottom:-100px; opacity:0 }
    to { bottom:0px; opacity:1 }
}

@keyframes animatebottom {
    from{ bottom:-100px; opacity:0 }
    to{ bottom:0; opacity:1 }
}

.cropped-click [data-btn-id="close"] {
    position: absolute;
    width: 20%;
    height: 20%;
    right: 4%;
    top: 0%;
}
.grayscaled {
    -webkit-filter: grayscale(70%);
    -moz-filter:    grayscale(70%);
    -o-filter:      grayscale(70%);
    filter: grayscale(70%);
}

.cover {
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;
    position: absolute;
    top: 0;
}
.click-area {
    width: 10%; /* default value*/
    position: absolute;
    cursor: pointer;
}

/* buttons assets section start*/
[data-btn-id="playintro"] {
    background-image: url("../images/btn.playintro.static.png");
    background-size: 100%;
    position: absolute;
    z-index: 500;
    border-radius: 50%;
    width: 15%;
    height: 21%;
    position: absolute;
    top: 45.4%;
    left: 43.3%;
}
[data-btn-id="close"] {
    background-image: url("../images/btn.close.static.png");
    position: absolute;
    width: 5%;
    height: 5.5%;
    top: 21.1%;
    left: 79.4%;
    z-index: 101;
}
[data-btn-id="mute"] {
    background: url("../images/btn.mute.static.png") no-repeat;
    background-size: 100%;
}
[data-btn-id="retry"] {
    background: url("../images/btn.retry.static.png") no-repeat;
    background-size: 100%;
}
[data-btn-id="unmute"] {
    background-image: url("../images/btn.unmute.static.png");
}
[data-btn-id="pause"] {
    background: url("../images/btn.pause.static.png") no-repeat;
    background-size: contain;
}
[data-btn-id="play"] {
    background: url("../images/btn.play.static.png") no-repeat;
    background-size: contain;
}
[data-btn-id="swapleft"] {
    background: url("../images/btn.swapleft.static.png") no-repeat;
    background-size: contain;
}
[data-btn-id="fullscreen"] {
    background: url("../images/btn.fullscreen.static.png") no-repeat;
    background-size: contain;
}
[data-btn-id="info"] {
    background: url("../images/btn.info.static.png") no-repeat;
    background-size: contain;
}
[data-btn-id="replay"] {
    background: url("../images/btn.replay.static.png") no-repeat;
    background-size: contain;
}
/* buttons assets section end*/

/* control panel start*/
.control-panel {
    position: absolute;
    top: -12%;
    opacity: 0.2;
    right: 2%;
    height: 11%;
    width: 26%; /*26% for 3 buttons control bar, 33% - for 4buttons*/
    background: url("../images/TOOLBAR_3BTN.png") no-repeat;
    background-size: 100% 100%;
    text-align: center;
    z-index: 3;
    font-size: 0;
}
.control-panel.active {
    opacity: 1;
    top: 2.8%;
}
.btn {
    display: block;
    background-size: 100%;
    background-repeat: no-repeat;
}
.control-panel .btn {
    width: 27%; /*27% for 3 buttons control bar, 21% - for 4buttons*/
    height: 78%;
    display: inline-block;
    position: relative;
    top: 12%;
    margin-right: 2%; /*2% for 3 buttons control bar, 1% - for 4buttons*/
}
div.btn.swap {
    border-radius: 1%;
    width: 17%;  /*17% for 3 buttons control bar, 13% - for 4buttons*/
    left: 4%; /*4% for 3 buttons control bar, 3% - for 4buttons*/
    position: absolute;
}
.btn-wrapper{
    width: 75%;
    height: 100%;
    position: absolute;
    top: 6%;
    left: 23%; /*23% for 3 buttons control bar, 21% - for 4buttons*/
    display: flex;
    justify-content: center;
}
/* control panel end*/

.logo {
    position: absolute;
    width: 9.5%;
    height: 5%;
    top: 4%;
    left: 2.5%;
    background: url("../images/00_LOGO_CJF.png") no-repeat;
    background-size: contain;
    z-index: 1;
}

/* unit ribbon section start*/
.unit-wrapper {
    position: absolute;
    display: block;
    bottom: 18%;
    left: 34%;
    width: 33.5%;
    height: 12.8%;
    background: url(../images/orientation_banner.png) no-repeat;
    background-size: contain;
    opacity: 0;
    text-align: center;
    color: white;
}
.unit-text {
    position: absolute;
    display: flex;
    top: 0%;
    left: 13.5%;
    width: 70%;
    height: 65%;
    font-size: 3vh;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}
/* unit section ribbon end*/

.text, .image-text {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.replay-button {
    position: absolute;
    /*width: 25%;*/
    /*height: 60%;*/
    top: -15%;
    /*right: -1vh;*/
    z-index: 1;
    /*min-width: 12px;*/
    background-size: contain;
}
.audio-area {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}