/**
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
@font-face {
  font-family: 'VideoJS';
  src: url('font/vjs.eot');
  src: url('font/vjs.eot?#iefix') format('embedded-opentype'), url('font/vjs.woff') format('woff'), url('font/vjs.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: arial, verdana, sans-serif;
  overflow: hidden;
}

header, footer { text-align:center; width: 100%; }

header {
  height: 40px;
  font-size: 40px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 20px;
}

footer {
  margin-top: 20px;
}

#ima-sample-container {
  margin-left: auto;
  margin-right: auto;
  width: 728px;
}

#ima-placeholder {
  width: 100%;
  height: 100%;
}

#ima-placeholder-play {
  /* Center it horizontally */
  left: 50%;
  margin-left: -0.6em;
  /* Center it vertically */
  top: 50%;
  margin-top: -0.6em;
  font-size: 3em;
  display: block;
  z-index: 2;
  position: absolute;
  width: 1.2em;
  height: 1.2em;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  opacity: 1;
  /* Need a slightly gray bg so it can be seen on black backgrounds */
  /* background-color-with-alpha */
  background-color: #000000;
  background-color: rgba(0, 0, 0, 0.7);
  border: 0.1em solid #fba418;
  /* border-radius */
  -webkit-border-radius: 1.5em;
  -moz-border-radius: 1.5em;
  border-radius: 1.5em;
  /* box-shadow */
  -webkit-box-shadow: 0px 0px 1em rgba(255, 255, 255, 0.25);
  -moz-box-shadow: 0px 0px 1em rgba(255, 255, 255, 0.25);
  box-shadow: 0px 0px 1em rgba(255, 255, 255, 0.25);
  /* transition */
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
}


a#ima-placeholder-play:hover {
  outline: 0;
  border-color: #fff;
  color:#fff;
  /* IE8 needs a non-glow hover state */
  background-color: #505050;
  background-color: rgba(50, 50, 50, 0.75);
  /* box-shadow */
  -webkit-box-shadow: 0 0 3em #ffffff;
  -moz-box-shadow: 0 0 3em #ffffff;
  box-shadow: 0 0 3em #ffffff;
  /* transition */
  -webkit-transition: all 0s;
  -moz-transition: all 0s;
  -o-transition: all 0s;
  transition: all 0s;
}
a#ima-placeholder-play:before {
  content: "\e001";
  color:#fba418;
  font-family: VideoJS;
  /* In order to center the play icon vertically we need to set the line height
     to the same as the button height */
  font-size:42px;
  line-height: 1.4em;
  margin-left:4px;
  text-shadow: 0.05em 0.05em 0.1em #000;
  text-align: center /* Needed for IE8 */;
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
}

#ima-sample-videoplayer {
  position: relative;
  background-color: #000;
  border-radius: 5px;
  box-shadow: 0px 0px 20px rgba(50, 50, 50, 0.95);
  border: 2px #ccc solid;
  width: 640px;
  height: 360px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
}

#content_video {
  overflow: hidden;
}

#ima-sample-content-wrapper {
  position:relative;
  top: 0px;
  left: 0px
}

#ima-sample-playpause, #ima-sample-replay {
  position: absolute;
  left: 20px;
  bottom: 20px;
  height: 40px;
  width: 100px;
  border-style: none;
  font-weight: bold;
  font-size: 25px;
  opacity: 0.5;
  background-color: #fff;
  border-radius: 5px;
  border: 1px transparent solid;
  color: #000;
  cursor: pointer;
  line-height: 0;
}

#ima-sample-replay {
  display: none;
}

#ima-sample-playpause:hover, #ima-sample-replay:hover {
  border: 1px #f00 solid;
  color: #f00;
}

#ima-sample-fullscreen {
  position: absolute;
  bottom: 20px;
  right: 20px;
  height: 40px;
  width: 100px;
  border-style: none;
  font-weight: bold;
  font-size: 25px;
  opacity: 0.5;
  background-color: #fff;
  border-radius: 5px;
  border: 1px transparent solid;
  color: #000;
  cursor: pointer;
  line-height: 0;
}

#ima-sample-fullscreen:hover {
  border: 1px #f00 solid;
  color: #f00;
}

#ima-sample-content, #ima-sample-adcontainer {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 640px;
  height: 360px;
}

#ima-sample-playlistDiv {
  height: 122px;
  width: 224px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
}

.ima-sample-playlistItem {
  height: 122px;
  width: 102px;
  float: left;
  margin-right: 10px;
  cursor: pointer;
}

.ima-sample-playlistImg {
  border: 1px solid;
}

#ima-sample-console {
  font-family: courier, monospace;
  font-size: 12px;
  margin-top: 20px;
  height: 200px;
  width: 630px;
  padding: 5px;
  border: 1px #ccc solid;
  overflow-y: scroll;
  margin-left: auto;
  margin-right: auto;
}

#ima-sample-companionDiv {
  width: 728px;
  height: 90px;
  margin-top: 20px;
}
