﻿html {
    height: 100%;
    background-color: #252525;
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url('images/ava/bg/SplashBg.png');
}

body {
	line-height: 1;
	font-family: Arial;
	position: relative;
	margin: 0;
    min-height: 100%;
    overflow: hidden;
}

.content-wrapper{
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.containBg
{
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url('images/ava/bg/SplashBg.png');
}

#avaTop{

    cursor: pointer;
    background-image: url(images/ava/nav/top.png);
    width: 83px;
    height: 38px;
    display:block;
    position: absolute;
    left: calc(50% - 41px);
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);        
    transform: rotate(-90deg);
    transition-property: top,transform;
    transition-duration: 1s;
}

#avaLeft {

    cursor: pointer;
    background-image: url(images/ava/nav/left.png);
    width: 83px;
    height: 38px;
    position: absolute;
    top: calc(50% - 17px);
    left: calc(50% - 108px);
    transform: translate(-50%, -50%);
    
    transform: rotate(-90deg);
    transition-property: left,transform;
    transition-duration: 1s;
}

#avaRight {

    cursor: pointer;
    background-image: url(images/ava/nav/right.png);
    width: 83px;
    height: 38px;
    display:block;
    position: absolute;
    top: calc(50% - 17px);
    left: calc(50% + 26px);
    /* margin-right: -50%; */
    transform: translate(-50%, -50%);   
    
    transform: rotate(90deg);
    transition-property: left,transform;
    transition-duration: 1s;
}

.navLogo{

    transform: rotate(0deg)!important;
}

.downArrow{

    left: calc(50% - 41px)!important;
    transform: rotate(0deg)!important;
}

.upArrow{

    left: calc(50% - 41px)!important;
    transform: rotate(180deg)!important;
}

#topSlidesWrapper{

    top: 0px;
    left: 0px;
    height: 109px;
    display: block;
    position: absolute;
    overflow-x: scroll;
    overflow-y: hidden;
    width: 100%;      
    transition-property: top,transform;
    transition-duration: .5s;
}

#topSlides{
    /* top: 0px;
    left: 0px; */
    height: 97px;
    display: flex;
    /* position: absolute;
    overflow-x: auto; */
    /* scroll-behavior: smooth; */
}

#topSlides img{

    height: 80px;
    width: 120px;
    border: 3px solid #cccccc;
    border-radius: 3%;
    margin: 4px 2px;
}

.active{

    border: 4px solid #ff7b00ef!important;
}

#exitLink{

    cursor: pointer;
    background-image: url(images/ava/nav/exit.png);
    width: 90px;
    height: 70px;
    display:block;
    position: absolute;
    top: 0px;
    left: 0px;
    transition-property: top,transform;
    transition-duration: 1s;
}

#toolLink{

    cursor: pointer;
    background-image: url(images/ava/nav/tools.png);
    width: 88px;
    height: 69px;
    display:block;
    position: absolute;
    top: 0px;
    right: 0px;
    transition-property: top,transform;
    transition-duration: 1s;
}

.toolsSelected{
    
    background-image: url(images/ava/nav/toolsSelected.png)!important;
}

/* width */
::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f100; 
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

#imageDiv{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
	background-color: #252525;
}

#imageDiv img{
    position:fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#toolImageDiv{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    background-color: #FFF;    
    
    transition-property: bottom,left,transform;
    transition-duration: 1.5s;
}

#toolImageDiv.min{
    bottom: calc(100% - 0px)!important;
    left: calc(100% - 0px)!important;
}

#toolImageDiv.max{
    bottom: 0px!important;
    left: 0px!important;
}

#toolImageDiv img{
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Video Controls */

/*Hide iPhone Video Controls - Start*/
/* This used to work for the parent element of button divs */
/* But it does not work with newer browsers, the below doesn't hide the play button parent div */

*::-webkit-media-controls-panel {
    display: none!important;
    -webkit-appearance: none;
}

/* Old shadow dom for play button */

*::-webkit-media-controls-play-button {
    display: none!important;
    -webkit-appearance: none;
}

/* New shadow dom for play button */

/* This one works! */

*::-webkit-media-controls-start-playback-button {
    display: none!important;
    -webkit-appearance: none;
}

/*Hide iPhone Video Controls - End*/

.ml-video-controls{
    position: absolute;
    z-index: 10;
    bottom: 0px;
    width: 100%;
    height: 63px;   
    transition-property: bottom,transform;
    transition-duration: .5s;
}

#videoPauseIcon{
    background-image: url(images/ava/videocontrols/pause.png);
    cursor: pointer;
    position: absolute;    
    top: calc(50% - 57px)!important;
    left: calc(50% - 57px)!important;
    z-index: 11;
    width: 115px;
    height: 115px;  
}

#videoPlayIcon{
    background-image: url(images/ava/videocontrols/play.png)!important;
    cursor: pointer;
    position: absolute;    
    top: calc(50% - 57px)!important;
    left: calc(50% - 57px)!important;
    z-index: 11;
    width: 115px;
    height: 115px;  
}

#videoRePlayIcon{
    background-image: url(images/ava/videocontrols/replay.png)!important;    
    cursor: pointer;
    position: absolute;    
    top: calc(50% - 57px)!important;
    left: calc(50% - 57px)!important;
    z-index: 11;
    width: 115px;
    height: 115px;  
}

#skipForwardLink{
    background-image: url(images/ava/nav/front.png);
    cursor: pointer;
    width: 83px;
    height: 63px;
    display:block;
    bottom: 0px;
    right: 0px;
    position: absolute;
}

#skipBackwardLink{
    background-image: url(images/ava/nav/back.png);    
    cursor: pointer;
    width: 83px;
    height: 63px;
    display:block;
    bottom: 0px;
    left: 0px;
    position: absolute;
}

#progressBg{
    background-image: url(images/ava/nav/progressbg.png);
    width: 100%;
    height: 63px;
    display:block;
    bottom: 0px;
    right: 0px;
    position: absolute;
}

#videoProgressContainer
{    
    background-image: url(images/ava/nav/progressbg.png);
    width: calc(100%-165px);
    height: 63px;
    display:block;
    bottom: 0px;
    right: 83px;
    left: 82px;
    position: absolute;
    cursor: pointer;
}

#videoProgressBarBg {

    height: 4px;
    background-image: url(images/ava/videocontrols/inactiveprogress.png);
    position: absolute;
    display: block;
    width: calc(100% - 10px);
    left: 5px;
    top: 45px;    
    border-radius: 2px;
}

#videoProgressBar {

    height: 4px;
    background-image: url(images/ava/videocontrols/activeprogress.png);
    position: absolute;
    display: block;
    width: 100%;
    top: 0px;
    transition-property: width,transform;
    transition-duration: .5s;
    border-radius: 2px;
}

 #videoProgressButton{
    background-image: url(images/ava/videocontrols/progressbutton.png);
    height:20px;
    width:20px;
     background-repeat: no-repeat;
    -moz-background-size: contain;
    -o-background-size: contain;
    -webkit-background-size: contain;
    background-size: contain;
    background-repeat: no-repeat;   
    position: absolute;
    top: 40px;
    transition-property: margin-left,transform;
    transition-duration: .5s;
} 

.ml-videoWrapper {
	position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    /*z-index: -100;*/
	background-color: #252525;
}

.ml-videoWrapper video {  
 position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.videoControlButtons
{
    background-repeat: no-repeat;
    -moz-background-size: contain;
    -o-background-size: contain;
    -webkit-background-size: contain;
    background-size: contain;
    background-repeat: no-repeat;    
    border:none;
	margin: 0;
    outline: 0;
    background-color:transparent;
}
