/* === MAIN ELEMENTS === */

body, body * {
    vertical-align: baseline;
    border: 0 none;
    outline: 0;
    padding: 0;
    margin: 0;
    /* Set font family for video controls */
    font-family: arial;
    /* Prevent icon selection */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Position all div's absolute to stop repeating CSS */

div, img {
    position: absolute;
    background-repeat: no-repeat;
}

.exitBtn {
    width: 100%;
    height: 100%;
    cursor: pointer;
}

#container, .wrapper{
    width: 300px;
    height: 600px;
}

#container {
    top: 0px;
    left: 0px;
    background: #000;
    border: 1px solid #000;
    box-sizing: border-box;
    overflow: hidden;
}



/* === INTRO ELEMENTS === */

#intro{
    display: none;
}

#intro_video_player {
    width: 300px;
    height: 600px;
    overflow: hidden;
}

#video_01{
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000;
}

#video_02{
    position: absolute;
    width: 100%;
    height: 170px;
    background: #000;
    border-bottom: 1px solid #000;
}

#video_02 {
    display: none;
}

#intro_shadow{
    bottom: 0px;
}

#btn_intro_cfa {
    cursor: pointer;
    bottom: 0px;
    right: 0px;
    width: 40px;
    height: 40px;
}
#btn_intro_cfa_on{
    opacity: 0;
}

/* === RESOLVE ELEMENTS === */

#resolve {
    display: none;
}

#resolve_video{
    position: absolute;
    width: 300px;
    height: 600px;
    display: none;
}


#btn_resolve_replay {
    bottom: 5px;
    right: 5px;
    cursor: pointer;
    opacity: 0;
}

#resolve_cracks{
    display: none;
    opacity: 0;
}

/* === VIDEO CONTROLS === */

#video_controls {
    top: 149px;
    left: -1px;
    width: 100%;
    height: 21px;
    opacity: 1;
    display: none;
    text-align: center;
}

.video_icon {
    margin: 2px;
    position: relative;
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
}

/* play and pause buttons */

#video_playback, #btn_play, #btn_pause {
    vertical-align: top;
    width: 10px;
    height: 10px;
}

#btn_play {
    display: none;
}

/* video select buttons */

#video_select {
    top: -1px;
    color: #FFF;
}

#btn_select_01, #btn_select_02{
    font-size: 12px;
    display: inline-block;
    position: relative;
}

#btn_select_divider {
    opacity: 0.6;
    cursor:default;
    display: inline-block;
    position: relative;
    font-size: 16px;
    top: 1px;
}

#btn_select_02 {
    opacity: 0.6;
}

/* audio button */

#video_audio, #btn_audio_off, #btn_audio_on{
    width: 14px;
    height: 10px;
}

#btn_audio_off {
    display: none;
}


/* fullscreen button */

#btn_fullscreen {
    width: 15px;
    height: 10px;
}

/* Scrubber bar */

#video_scrubber {
    height: 100%;
}

#seekBar {
    width: 100%;
    height: 100%;
    opacity: 0;
    -webkit-appearance: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 13px;
    height: 100%;
}

#video_scrubber_bg, #video_scrubber_progress{
    top: 7px;
    height: 2px;
}

#video_scrubber_bg {
    width: 100%;
}

/* ANIMATIONS */

.clip {
	-webkit-animation-duration: 4.5s;
	animation-duration: 4.5s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-timing-function: ease-out;
	animation-timing-function: ease-out;
	-webkit-animation-name: clip;
	animation-name: clip;
}
@-webkit-keyframes clip {
	0% {clip-path: polygon(9% 0, 25% 0, 25% 100%, 9% 100%)}
	100% {clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%)}
}
@keyframes clip {
	0% {-webkit-clip-path: polygon(9% 0, 25% 0, 25% 100%, 9% 100%)}
	100% {-webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%)}
}
