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

body, body * {
    vertical-align: baseline;
    border: 0 none;
    outline: 0;
    padding: 0;
    margin: 0;
}

/* 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: 250px;
}

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

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

#intro {
    display: none;
}

#intro_video_player {
    top: 0;
    width: 300px;
    height: 124px;
    overflow: hidden;
}

#video_01, #video_02 {
    position: absolute;
    width: 300px;
    height: 124px;
    object-fit: cover;
}

#video_02 {
    display: none;
}

#poster {
    width: 300px;
    height: 124px;
    top: 0;
}

#btn_video_exit {
    top: 0;
}

#img_intro_pers, #img_intro_tt, #img_intro_date {
    width: 300px;
    height: 125px;
    bottom: 0;
}

#btn_intro_cta {
    right: 27px;
    bottom: 12px;
    width: 110px;
    height: 28px;
    cursor: pointer;
}

#btn_intro_cta_off, #btn_intro_cta_on {
    width: 110px;
    height: 28px;
}

#btn_intro_cta_on {
    opacity: 0;
    transition: all 0.5s ease;
}

#btn_intro_cta_on:hover {
    opacity: 1;
}

#poster, #btn_cfa {
    top: 0;
    cursor: pointer;
}

#img_intro_pers, #img_intro_tt, #img_intro_date {
    bottom: 0;
}

#img_intro_date, #btn_cta {
    animation-delay: 0.6s;
}

#poster {
    display: none;
}

/* === VIDEO CONTROLS === */
#video_controls {
    bottom: 5px;
    width: 100%;
    height: 21px;
    opacity: 0;
    display: block;
    position: absolute;
    text-align: center;
    transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
}

.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;
    font-family: Arial;
    display: inline-block;
    position: relative;
    transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
}

#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;
    position: absolute;
}

#video_scrubber_bg {
    width: 100%;
}


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

#resolve {
    display: none;
}

#btn_replay {
    bottom: 3px;
    right: 3px;
    transition: all 0.5s ease;
}

#btn_replay:hover {
    transform: rotate(-50deg);
}

#resolve_background, #resolve_frame, #resolve_legals, #resolve_tt, #resolve_tagline, #resolve_chars1, #resolve_chars2, #resolve_grindelward, #resolve_date {
  width: 300px;
  height: 250px;
}

#btn_resolve_cta {
    width: 75px;
    height: 19px;
    left: 112px;
    bottom: 7px;
    cursor: pointer;
}

#btn_resolve_cta_off, #btn_resolve_cta_on {
    width: 75px;
    height: 19px;
}

#btn_resolve_cta_on {
    opacity: 0;
    transition-duration: 0.5s;
    -webkit-transition-duration: 0.5s;
}

#btn_resolve_cta_on:hover {
    opacity: 1;
}

#resolve_glows {
	opacity: 0;
}


.fadeIn {
	-webkit-animation-duration: 1.5s;
	animation-duration: 1.5s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-timing-function: ease-out;
	animation-timing-function: ease-out;
	-webkit-animation-name: fadeIn;
	animation-name: fadeIn;
    animation-delay: 0.3s;
    -webkit-animation-delay: 0.3s;
}
@-webkit-keyframes fadeIn {
	0% {opacity: 0;}
	100% {opacity: 1;}
}
@keyframes fadeIn {
	0% {opacity: 0;}
	100% {opacity: 1;}
}