/* base styles */
.minplayer-default {
  position: relative;
  font-family:"Trebuchet MS", Helvetica, sans-serif;
  -moz-box-shadow:0px 5px 10px #333;/*no-important moz*/
  -webkit-box-shadow:0px 5px 10px #333;/*no-important chrome*/
}

.player-ui .minplayer-default-error {
  display:none;
  color: #eee;
  position: absolute;
  top: 80%;
  left: 50%;
  width: 320px;
  height: 40px;
  line-height: 40px;
  margin: -20px 0 0 -160px;
  text-align: center;
  vertical-align: center;
  border: none;
  z-index: 200;
  opacity: 0.9;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  background: rgba(23, 35, 34, 0.9);
  box-shadow: 2px 2px 4px #000;
  -webkit-box-shadow: 2px 2px 4px #000;
  -moz-box-shadow: 2px 2px 4px #000;
}

.player-ui.controller-only .minplayer-default-error {
  display:none !important;
}

.player-ui .minplayer-default-display {
  width:100%;
  height:100%;
  border: none;
}

.player-ui .minplayer-default-display video {
  width: 100%;
  height: 100%;
}

.player-ui .minplayer-default-preview {
  width:100%;
  height:100%;
  position:absolute;
  z-index:1;
  border: none;
}

.player-ui .minplayer-default-preview.no-image {
  background: transparent;
}

.player-ui .minplayer-default-loader-wrapper {
  width:100%;
  height:100%;
  position:absolute;
  z-index:2;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.3);
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#55000000, endColorstr=#55000000);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#55000000, endColorstr=#55000000)";
}

.player-ui.controller-only .minplayer-default-loader-wrapper {
  display:none !important;
}

.player-ui.nomedia .minplayer-default-controls, .player-ui.nomedia .minplayer-default-big-play, .player-ui.nomedia .minplayer-default-loader {
  display:none;
}

.player-ui .minplayer-default-loader {
  width:42px;
  height:10px;
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  margin: -5px 0 0 -21px;
  text-align:center;
  vertical-align:center;
  background: url(images/loader.gif) no-repeat;
}

/* Big play button */
.player-ui .minplayer-default-big-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  margin: -40px 0 0 -40px;
  text-align: center;
  vertical-align: center;
  cursor: pointer !important;
  border: none;
  opacity: 0.9;
  z-index:3;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  background: rgba(23, 35, 34, 0.746094);
  box-shadow: 2px 2px 4px #000;
  -webkit-box-shadow: 2px 2px 4px #000;
  -moz-box-shadow: 2px 2px 4px #000;
}

.player-ui .minplayer-default-big-play span {
  display: block;
  font-size: 0;
  line-height: 0;
  width: 0;
  height: 0;
  margin: 20px 0 0 23px;
  border-left: 40px solid white;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
}

.player-ui .minplayer-default.fullscreen, .player-ui .minplayer-default.fullscreen .minplayer-default-display, .player-ui .minplayer-default.fullscreen .minplayer-default-loader-wrapper {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index:1000;
  width: 100% !important;
  height: 100% !important;
}

.player-ui .minplayer-default.fullscreen .minplayer-default-play-loader {
  z-index:1001;
}

.player-ui.controller-only .minplayer-default-play-loader {
  display:none !important;
}

.player-ui .minplayer-default-controls {
  position: absolute;
  display: block;
  z-index:3;
  bottom:0px;
  left:0px;
  right:0px;
  height:30px;
  line-height: 18px;
}

.player-ui.controller-only {
  height: 32px !important;
}

.player-ui .minplayer-default-controls-left {
  float:left;
  width:29px;
  margin: 3px;
  border-right:1px solid #888;
}

.player-ui .minplayer-default.fullscreen .minplayer-default-controls-left {
  width:40px;
  border:none;
}

.player-ui .minplayer-default-controls-right {
  float:right;
  width:120px;
  margin: 3px;
}

.player-ui .minplayer-controls-volume-horizontal .minplayer-default-controls-right {
  width: 200px;
}

.player-ui .minplayer-default.fullscreen .minplayer-default-controls-right {
  width:110px;
}

.player-ui .minplayer-default-controls-mid {
  position:absolute;
  left:40px;
  right:130px;
  height:30px;
  margin: 3px;
}

.player-ui .minplayer-controls-volume-horizontal .minplayer-default-controls-mid {
  right: 210px;
}

.player-ui .minplayer-default.fullscreen .minplayer-default-controls-mid {
  left:50px;
}

.player-ui .minplayer-default-play, .minplayer-default-volume, .player-ui .minplayer-default-timer, .player-ui .minplayer-default-mute, .player-ui .minplayer-default-unmute {
  float: left;
}

.player-ui .minplayer-default-play, .minplayer-default-fullscreen, .minplayer-default-mute, .minplayer-default-unmute {
  cursor: pointer;
}

.player-ui .minplayer-default-timer {
  cursor: default;
}

/* play, pause */
.player-ui .minplayer-default-button {
  display: block;
  width: 24px;
  height: 24px;
  opacity: 0.7;
  -moz-transition: all 0.2s ease-in-out; /* Firefox */
  -webkit-transition: all 0.2s ease-in-out; /* Safari and Chrome */
  -o-transition: all 0.2s ease-in-out;  /* Opera */
  transition: all 0.2s ease-in-out;
}

.player-ui .minplayer-default-button:hover {
  opacity: 1;
}

.player-ui .minplayer-default-button span {
  margin: 4px 0 0 4px;
  margin-top: 3px\9;
}

.player-ui .minplayer-default-button span.ui-icon-pause {
  margin-left: 3px;
}

.player-ui .minplayer-default-pause {
  display:none;
}

/* seek */
.player-ui .minplayer-default-seek {
  position:relative;
  height: 10px;
  margin-top: 7px;
  -moz-border-radius:4px;
  -webkit-border-radius:4px;
  border-radius:4px;
  background: #535353;
  background-image: -moz-linear-gradient(top, #535353, #333333);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #535353),color-stop(1, #333333));
  box-shadow: inset 0 -3px 3px #333333;
}

.player-ui .minplayer-default-seek .ui-slider-handle {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid #333;
  z-index:20;
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
  border-radius:10px;
  background: #e6e6e6;
  background-image: -moz-linear-gradient(top, #e6e6e6, #d5d5d5);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #e6e6e6),color-stop(1, #d5d5d5));
  box-shadow: inset 0 -3px 3px #d5d5d5;
}

.player-ui .minplayer-default-seek .ui-slider-handle.ui-state-hover {
  background: #fff;
}

.player-ui .minplayer-default-seek .ui-slider-range {
  position: absolute;
  height: 10px;
  top: -1px;
  -moz-border-radius:15px;
  -webkit-border-radius:15px;
  z-index:10px;
  border-radius:15px;
}

.player-ui .minplayer-default-progress {
  position: absolute;
  width:0px;
  height:10px;
  -moz-border-radius:15px;
  -webkit-border-radius:15px;
  z-index:8px;
  border-radius:15px;
  border: 0 !important;
}

/* timer */
.player-ui .minplayer-default-timer {
  position:relative;
  height: 22px;
  float:left;
  padding-right:6px;
  margin-top: 4px;
  font-size: 16px;
  font-weight: bold;
  border-right:1px solid #888;
}

.player-ui .minplayer-default.fullscreen .minplayer-default-timer {
  border:none;
}

/* volume */
.player-ui .minplayer-default-volume {
  height: 26px;
  -moz-transition: all 0.1s ease-in-out; /* Firefox */
  -webkit-transition: all 0.1s ease-in-out; /* Safari and Chrome */
  -o-transition: all 0.2s ease-in-out;  /* Opera */
  transition: all 0.1s ease-in-out;
}

.player-ui .minplayer-controls-volume-vertical .minplayer-default-volume {
  position: absolute;
  right:38px;
  bottom:1px;
  overflow: hidden;
  width: 26px;
}

.player-ui .minplayer-controls-volume-horizontal .minplayer-default-volume {
  position: relative;
  width: 126px;
  margin-left: 5px;
}

.player-ui .minplayer-default.fullscreen .minplayer-default-volume {
  right:44px;
  bottom:12px;
}

.player-ui .minplayer-controls-volume-vertical .minplayer-default-volume:hover {
  height: 133px;
  height: 130px\9;
}


.player-ui .minplayer-controls-volume-vertical .minplayer-default-volume:hover .minplayer-default-volume-slider {
  position: relative;
  display: block;
  visibility: visible;
  opacity: 1;
}

.player-ui .minplayer-default-volume-slider {
  position: relative;
  border: 1px solid #444;
  -moz-border-radius:15px;
  -webkit-border-radius:15px;
  border-radius:15px;
  -moz-transition: all 0.1s ease-in-out; /* Firefox */
  -webkit-transition: all 0.1s ease-in-out; /* Safari and Chrome */
  -o-transition: all 0.1s ease-in-out;  /* Opera */
  transition: all 0.1s ease-in-out;
}

.player-ui .minplayer-controls-volume-vertical .minplayer-default-volume-slider {
  height: 100px;
  width: 7px;
  left: 8px;
  visiblity: hidden;
  display: none;
  opacity: 0;
}

.player-ui.controller-only .minplayer-controls-volume-horizontal .minplayer-default-volume-slider {
  height: 7px;
  width: 105px;
  top: 8px;
  left: 32px !important;
}

.player-ui .minplayer-controls-volume-horizontal .minplayer-default-volume-slider {
  height: 7px;
  width: 78px;
  top: 8px;
  left: 32px;
}

.player-ui .minplayer-default-volume-slider .ui-slider-handle {
  position: absolute;
  z-index: 20;
  width: 12px;
  height: 12px;
  border: 1px solid #333;
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
  border-radius:10px;
  background: #e6e6e6;
  background-image: -moz-linear-gradient(top, #e6e6e6, #d5d5d5);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #e6e6e6),color-stop(1, #d5d5d5));
  box-shadow: inset 0 3px 3px #d5d5d5;
}

.player-ui .minplayer-controls-volume-horizontal .minplayer-default-volume-slider .ui-slider-handle {
  margin-top:1px;
}

.player-ui .minplayer-controls-volume-vertical .minplayer-default-volume-slider .ui-slider-handle {
  left: -4px;
  margin-bottom:-0.6em;
  margin-left:0;
}

.player-ui .minplayer-default-volume-slider .ui-slider-handle.ui-state-hover {
  background: #fff;
}

.player-ui .minplayer-default-volume-slider .ui-slider-range {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  -moz-border-radius:15px;
  -webkit-border-radius:15px;
  border-radius:15px;
}

/* volume button */
.player-ui .minplayer-default-volume-mute, .player-ui .minplayer-default-volume-unmute {
  position: absolute;
  bottom: 0px;
}

.player-ui .minplayer-default-volume-unmute {
  display: none;
}

.player-ui.controller-only .minplayer-default-fullscreen {
  display:none !important;
}

/* Fullscreen button */
.player-ui .minplayer-default-fullscreen {
  position: absolute;
  right:6px;
  bottom:7px;
  width: 22px;
  height: 14px;
}

.player-ui .minplayer-default.fullscreen .minplayer-default-fullscreen {
  right:14px;
  bottom:16px;
}

.player-ui .minplayer-default-fullscreen-inner, .player-ui .minplayer-default.fullscreen .minplayer-default-fullscreen:hover .minplayer-default-fullscreen-inner {
  position:absolute;
  bottom:0;
  width:16px;
  height:8px;
  -moz-transition: all 0.1s ease-in-out; /* Firefox */
  -webkit-transition: all 0.1s ease-in-out; /* Safari and Chrome */
  -o-transition: all 0.1s ease-in-out;  /* Opera */
  transition: all 0.1s ease-in-out;
}

.player-ui .minplayer-default-fullscreen:hover .minplayer-default-fullscreen-inner, .player-ui .minplayer-default.fullscreen .minplayer-default-fullscreen-inner {
  width:20px;
  height:12px;
}

.player-ui .minplayer-default.fullscreen .minplayer-default-controls {
  position: absolute;
  z-index:1002;
  width:500px;
  left: 50%;
  bottom:10px;
  margin: 0 0 0 -260px;
  padding: 10px;
  border: 1px solid #2E2E2E;
  -moz-border-radius: 5px; /* FF1+ */
  -webkit-border-radius: 5px; /* Saf3+, Chrome */
  border-radius: 5px; /* Opera 10.5, IE 9 */
  -moz-transition: all 0.1s ease-in-out; /* Firefox */
  -webkit-transition: all 0.1s ease-in-out; /* Safari and Chrome */
  -o-transition: all 0.1s ease-in-out;  /* Opera */
  transition: all 0.1s ease-in-out;
}

.player-ui .minplayer-default-logo {
  z-index: 200;
  line-height: 0px;
  position: absolute;
  bottom: 3px;
  left: 3px;
}

.player-ui.controller-only .minplayer-default-logo {
  display: none !important;
}

.player-ui .minplayer-default.fullscreen .minplayer-default-logo {
  z-index: 1002;
}

.with-controller .minplayer-default-logo {
  bottom: 34px;
}

.player-ui .ui-slider-horizontal .ui-slider-handle {
  top: -4px;
  margin-left: -5px;
}


/** OSM Player Styles **/
.osmplayer-default {
  position:relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family:"Trebuchet MS", Helvetica, sans-serif;
  -moz-box-shadow:0px 5px 10px #333;/*no-important moz*/
  -webkit-box-shadow:0px 5px 10px #333;/*no-important chrome*/
}

.minplayer-default {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
}

.player-ui .osmplayer-default-playlist {
  position: absolute;
  width: 160px;
  top: 0px;
  bottom: 0px;
  right: 0px;
}

.player-ui .osmplayer-default-playlist.playlist-only {
  width: 100%;
  height: 100%;
}

.player-ui .playlist-horizontal {
  width: 100%;
  height: 160px;
  top: inherit;
  bottom: 0px;
  left: 0px;
  right: 0px;
}

.player-ui .osmplayer-default-hide-show-playlist {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: -16px;
  width: 16px;
  height: 40px;
  margin: -20px 0 0 0;
  text-align: center;
  vertical-align: center;
  opacity: 0.5;
}

.player-ui .playlist-horizontal .osmplayer-default-hide-show-playlist {
  top: inherit;
  left: 50%;
  bottom: 191px; /* Playlist height + control bar. */
  width: 40px;
  height: 16px;
  margin: 0 0 0 -20px;
}

.player-ui .osmplayer-default-hide-show-playlist span {
  position: absolute;
  top: 50%;
  margin-top: -8px;
}

.player-ui .playlist-horizontal .osmplayer-default-hide-show-playlist span {
  top: inherit;
  left: 50%;
  margin-top: 0px;
  margin-left: -8px;
}

.player-ui .osmplayer-default-playlist-scroll {
  position: absolute;
  overflow: hidden;
  top: 0px;
  right: 0px;
  left: 0px;
  bottom: 32px;
}

.player-ui .playlist-horizontal .osmplayer-default-playlist-scroll {
  bottom: 30px;
}

.player-ui .osmplayer-default-playlist-scrollbar {
  position: absolute;
  width: 10px;
  height: 100%;
  bottom: 0px;
  right: 0px;
  z-index: 20;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius: 0px;
}

.player-ui .playlist-vertical .osmplayer-default-playlist-scrollbar {
  top: 0px;
}

.player-ui .playlist-horizontal .osmplayer-default-playlist-scrollbar {
  width: 100%;
  height: 10px;
  bottom: 0px;
}

.player-ui .osmplayer-default-playlist-scrollbar .ui-slider-handle {
  width: 8px;
  height: 15px;
  border: 1px solid #333;
  right: 0;
  left: 0;
  margin: 0;
  z-index:20px;
  -moz-border-radius:2px;
  -webkit-border-radius:2px;
  border-radius:2px;
  background: #e6e6e6;
  background-image: -moz-linear-gradient(top, #e6e6e6, #d5d5d5);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #e6e6e6),color-stop(1, #d5d5d5));
  box-shadow: inset 0 -3px 3px #d5d5d5;
}

.player-ui .playlist-horizontal .osmplayer-default-playlist-scrollbar .ui-slider-handle {
  width: 15px;
  height: 8px;
  top: 0px;
  bottom: 0px;
  right: inherit;
  left: inherit;
}

.player-ui .osmplayer-default-playlist-scrollbar .ui-slider-handle.ui-state-hover {
  background: #fff;
}

.player-ui .osmplayer-default-playlist-list {
  margin: 2px 2px 2px 2px;
}

.player-ui .playlist-horizontal .osmplayer-default-playlist-list {
  position: absolute;
  margin: 1px 2px 1px 2px;
  top: 0px;
  bottom: 0px;
}

.player-ui .osmplayer-default-teaser {
  margin:1px 0 1px 0;
  cursor:pointer;
  padding: 0;
}

.player-ui .playlist-horizontal .osmplayer-default-teaser {
  width: 160px;
  height: 100%;
  float: left;
}

.player-ui .osmplayer-default-teaser-image {
  width: 100%;
  height: 80px;
  margin: auto;
}

.player-ui .osmplayer-default-teaser-info {
  z-index: 20;
  font-size: 12px;
  margin-top: 2px;
  padding: 4px;
}

.player-ui .osmplayer-default-playlist-pager {
  position: absolute;
  display: block;
  z-index:3;
  bottom:0px;
  left:0px;
  right:0px;
  height:30px;
}

.player-ui .osmplayer-default-playlist-pager-link {
  float:left;
}

.player-ui .osmplayer-default-playlist-pager-left {
  float:left;
  margin: 3px;
}

.player-ui .osmplayer-default-playlist-pager-right {
  float:right;
  margin: 3px;
}
