/**
 * 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.
 */
::-moz-focus-inner,:active,:focus{
	outline:none;
	border:0;
	-moz-outline-style: none;
}
.ima-ad-container {
  top: 0px;
  position: absolute;
  display: none;
  width: 100%;
  height: 100%;
  z-index:1111;
}
.ima-ad-container > div:first-of-type{
   width:100%!important;
   height:100%!important;
}

.video-js  .bumpable-ima-ad-container {
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
	z-index:0;
}

/* Move overlay if user fast-clicks play button. */
.video-js.vjs-playing .bumpable-ima-ad-container {
  margin-top: 0;
}

/* Move overlay when controls are active. */
.video-js.vjs-user-inactive.vjs-playing .bumpable-ima-ad-container {
  margin-top: 0;
}

.video-js.vjs-paused .bumpable-ima-ad-container,
.video-js.vjs-playing:hover .bumpable-ima-ad-container,
.video-js.vjs-user-active.vjs-playing .bumpable-ima-ad-container {
  margin-top: -40px;
}
.vjs-1600.vjs-paused .bumpable-ima-ad-container,
.vjs-1600.vjs-playing:hover .bumpable-ima-ad-container,
.vjs-1600.vjs-user-active.vjs-playing .bumpable-ima-ad-container {
  margin-top: -80px;
}



.ima-controls-div,
.ima-seek-bar-div {
    bottom: 0;
    width: 100%;
    position: absolute
}
.ima-controls-div {
    background: rgba(0,0,0,.55);
    height: 0;
    left: 0;
    right: 0;
    text-align: right;
    padding: 0;
    opacity: 1;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    -ms-transition: all .3s;
    transition: all .3s;
    display: none;
    z-index: 97;
	padding-top:4px;
}
.ima-controls-div-showing, .vjs-user-active .ima-controls-div  {
	height: 38px;
}
.vjs-user-inactive .ima-controls-div {
	height:0;
}

.ima-countdown-div {
	display: block;
    position: absolute;
    top: -40px;
    background: rgba(0, 0, 0, .55);
    left: 5px;
	-webkit-border-radius: 4px;	
    border-radius: 4px;	
	line-height: 32px;
	color:#fff;
	font-size:12px;
	padding:0 8px;
}

.ima-seek-bar-div {
	position:absolute;
	height:4px;
	bottom:0;
	width:100%;

	margin:0;
	background-color:transparent;
	max-width:100%;
}
.ima-seek-bar-div:before {
    background-color: rgba(255,255,255,0.3);
    content: '';
    height: 4px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
	border:0;
	cursor:pointer;
}

.ima-progress-div {
    height: 4px;
    left: 0;
    position: absolute;
    top: 0;
	width:0;
	background:#FFCC00;
}



.ima-play-pause-div, .ima-mute-div, .ima-non-mute-div, .ima-fullscreen-div, .ima-non-fullscreen-div {
	position: relative;
    display: inline-block;
    vertical-align: top;
    width:26px;
	height: 26px;
	padding:0;
	color:#fff;
	cursor:pointer;
	display: grid;
	place-items: center;
	fill:#fff;
	filter:none;
	margin:0 4px;

}


.ima-play-pause-div {
	float:left;
	left:2px;
}
.ima-play-pause-div:bfore {
	 left:5px;
}

.ima-playing {
background-image: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="512" height="512" fill="%23fff" viewBox="0 0 512 512"><path d="M133 400h82V112h-82v288zm164-288v288h82V112h-82z"></path></svg>');
background-repeat: no-repeat;
background-size: contain;
}

.ima-paused {
background-image: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="512" height="512" fill="%23fff" viewBox="0 0 512 512"><path d="M137 105v303l238-152z"></path></svg>');
background-repeat: no-repeat;
background-size: contain;
}

.ima-non-muted {
background-image: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="512" height="512" fill="%23fff" viewBox="0 0 512 512"><path d="M78 193v119h79l99 99V94l-99 99H78zm267 59q0-26-13-47t-36-33v160q22-11 36-32t13-48zM296 79v40q21 7 39 20 19 12 32 30t20 38q8 22 8 45t-8 45q-7 21-20 39t-32 30q-18 12-39 19v41q29-7 55-23 25-16 43-39t30-51 10-61-10-60-30-52-43-39q-26-16-55-22z"></path></svg>');
background-repeat: no-repeat;
background-size: contain;
}

.ima-muted {
background-image: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="512" height="512" fill="%23fff" viewBox="0 0 512 512"><path d="M341 254q0-25-13-46t-34-31v42l47 47v-12zm48 0q0 13-3 25t-8 25l29 28q9-17 14-37t6-41q0-31-11-58-10-27-27-49t-42-38q-25-15-53-22v39q20 7 38 19 17 12 30 29t20 37q7 20 7 43zM110 83l-25 24 90 90H85v114h76l95 94V278l81 80q-10 8-21 13t-22 10v39q19-5 37-13t33-21l38 38 25-24L110 83zm146 19-39 39 39 40v-79z"></path></svg>');
background-repeat: no-repeat;
background-size: contain;
}

.ima-slider-div {
  height: 4px;
  width:80px;
  float:left;
  background-color: #888;
  margin-right:3px;
  margin-top:12px;
  cursor:pointer;
}

.ima-slider-level-div {
  width: 100%;
  height: 100%;
  background-color: #FFCC00;
  position:relative;
}
.ima-slider-level-div:before {
	content: "";
    background: #fff;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    position: absolute;
    top: -2px;
    right: -4px;
	display:block;
}

.ima-fullscreen, .ima-non-fullscreen {
	float:right;
	right:5px;
}
.ima-muted, .ima-non-muted {
	float:left;
	margin-right:5px;
}

.ima-non-fullscreen {
	background-image: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="512" height="512" fill="%23fff" viewBox="0 0 512 512"><path d="M137 304H88v120h120v-49h-71v-71zm-48-96h48v-71h71V88H89v120zm286 167h-71v49h120V304h-49v71zM304 89v48h71v71h49V89H304z"></path></svg>');
	background-repeat: no-repeat;
	background-size: contain;
}

.ima-fullscreen {
	background-image: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="512" height="512" fill="%23fff" viewBox="0 0 512 512"><path d="M89 352h71v71h48V305H89v48zm71-192H89v48h119V89h-48v71zm144 264h48v-72h71v-48H305v120zm48-264V89h-48v119h120v-48h-72z"></path></svg>');
	background-repeat: no-repeat;
	background-size: contain;
}