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;
}

#container {
  position: absolute;
  width: 500px;
  height: 250px;
  box-sizing: border-box;
  top: 0;
  left: 0;
  overflow: hidden;
}

#collapsed_state {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 250px;
  z-index: 100;
  cursor: pointer;
  text-align: center;
  background-color: #000;
  border: 1px solid black;
  box-sizing: border-box;
}

#expanded_state {
  position: absolute;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #000;
  z-index: 200;
  border: 1px solid black;
  display: none;
}

#close_button {
  position: absolute;
  top: 5px;
  right: 15px;
  cursor: pointer;
}

#close_button_off, #close_button_on {
    width: 12px;
    height: 12px;
}

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

#close_button_on:hover {
    opacity: 1;
}

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

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

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

img{
  top: 0;
  left: 0;
}

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


/* === COLLAPSED ELEMENTS === */

.wrapper_col{
    width: 298px;
    height: 248px;
    overflow: hidden;
}

/* === intro ELEMENTS === */

#intro_col{
    display: none;
}

#intro_col_background, #intro_col_border, #intro_col_date, #intro_col_tt {
    width: 300px;
    height: 125px;
    top: 123px;
}

#intro_col_video_player {
    top: -24px;
    width: 300px;
    height: 168px;
    border-bottom: 1px solid #000;
    background: #000;
    overflow: hidden;
    position: absolute;
}

#video_col_01, #video_col_02 {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
}

#video_col_02{
    display: none;
}

#btn_intro_col_cfa {
    cursor: pointer;
}

#btn_intro_col_cta {
    width: 110px;
    height: 28px;
    right: 25px;
    bottom: 13px;
    cursor: pointer;
}

#btn_intro_col_cta_off, #btn_intro_col_cta_on {
    width: 96px;
    height: 25px;
}

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

#btn_intro_col_cta_on:hover {
    opacity: 1;
}


/* === resolve ELEMENTS === */
#resolve_col {
    display: none;
}

#btn_resolve_col_cta {
    width: 74px;
    height: 19px;
    left: 112px;
    bottom: 6px;
    cursor: pointer;
}

#btn_resolve_col_cta_off, #btn_resolve_col_cta_on {
    width: 74px;
    height: 19px;
}

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

#btn_resolve_col_cta_on:hover {
    opacity: 1;
}




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


#btn_resolve_col_replay {
    top: 228px;
    left: 278px;
    cursor: pointer;
    transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
}

#btn_resolve_col_replay:hover {
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
}

#resolve_col_background, #resolve_col_tt, #resolve_col_date, #resolve_col_tagline, #resolve_col_frame, #resolve_col_chars1, #resolve_col_chars2, #resolve_col_grindelward {
  width: 300px;
  height: 250px;
}


/* === COLLAPSED ELEMENTS === */

.wrapper_exp{
    width: 498px;
    height: 248px;
    overflow: hidden;
}

/* === intro ELEMENTS === */

#intro_exp{
    display: none;
}

#intro_exp_video_player {
    width: 500px;
    height: 250px;
    background: #000;
    overflow: hidden;
    position: absolute;
}

#video_exp_01, #video_exp_02 {
    position: absolute;
    width: 100%;
    height: 113%;
    left: 0;
    top: -16px;
}

#video_exp_02{
    display: none;
}

#exp_tt_video {
    pointer-events: none;
}

/* === resolve ELEMENTS === */

#resolve_exp {
    display: none;
}

#btn_resolve_exp_cta {
    width: 96px;
    height: 24px;
    right: 91px;
    bottom: 6px;
    cursor: pointer;
}

#btn_resolve_exp_cta_off, #btn_resolve_exp_cta_on {
    width: 96px;
    height: 24px;
}

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

#btn_resolve_exp_cta_on:hover {
    opacity: 1;
}

#btn_resolve_exp_replay{
    top: 5px;
    left: 5px;
    cursor: pointer;
    transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
}

#btn_resolve_exp_replay:hover{
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
}

#resolve_exp_glows {
  opacity: 0;
}

#resolve_exp_tt, #resolve_exp_date, #resolve_exp_chars, #resolve_exp_tagline, #resolve_exp_background {
  width: 500px;
  height: 250px;
}

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

#video_controls {
    bottom: 0;
    width: 100%;
    height: 21px;
    opacity: 1;
    text-align: center;
    display: block;
}

.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_on {
    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%;
}

#btn_play:hover svg, #btn_pause:hover svg, #video_select:hover svg, #btn_audio_off:hover svg, #btn_audio_on:hover svg, #btn_fullscreen:hover svg {
    fill: #45494D !important;
}

#video_scrubber_progress {
    background-color: #45494D !important;
}
/* === ANIMATIONS === */
.fadeIn {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -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;
}
@-webkit-keyframes fadeIn {
	0% {opacity: 0;}
	100% {opacity: 1;}
}
@keyframes fadeIn {
	0% {opacity: 0;}
	100% {opacity: 1;}
}
