/******************/
/***** Player *****/
/******************/

.wps-player-block {
  position: relative;
  z-index: 10;
}

.wps-player .ima-ad-container {
  top:0;
}

.wps-player__logo-watermark {
  position: absolute;
}

.wps-player__logo-watermark--grayscale {
  -webkit-filter: saturate(0);
  filter: saturate(0);
}

.wps-player__logo-watermark--top-left {
  top: 1em;
  left: 1em;
}
.wps-player__logo-watermark--top-right {
  top: 1em;
  right: 1em;
}
.wps-player__logo-watermark--bottom-left {
  bottom: 3em;
  left: 2em;
}
.wps-player__logo-watermark--bottom-right {
  bottom: 3em;
  right: 2em;
}

.wps-player__happy-inside {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.wps-player__happy-inside-zone {
  display: flex;
  line-height: 0;
}

/**************************************************/
/***** Reset default theme css in happy zones *****/
/**************************************************/
.wps-player__happy-inside a,
.wps-player__happy-inside iframe,
.wps-player__happy-inside img {
  display: block !important;
  line-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.wps-player__happy-inside iframe,
.wps-player__happy-inside img {
  height: 250px !important;
  max-width: 300px !important;
  position: inherit!important;
}

.wps-player__happy-inside-btn-close {
  cursor: pointer;
  border: none;
  border-radius: 4px;
  margin-top: 10px;
  padding: 0 20px;
  height: 40px;
  line-height: 40px;
  font-weight: normal;
}

.wps-player__happy-under {
  position: relative;
  margin: 0 auto;
  text-align: center;
  margin-top: 10px;
}

@media only screen and (max-width: 576px) {
  .wps-player__happy-inside {
    display: none!important;
  }
}

/*************************/
/****** FLUIDPLAYER ******/
/*************************/
.fluid_video_wrapper{
  height:auto!important;
}

.fluid_video_wrapper.fluid_player_layout_default .fade_out {
  background: rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease 0s;
  -webkit-transition: all 0.2s ease 0s;
  -moz-transition: all 0.2s ease 0s;
  -o-transition: all 0.2s ease 0s;
  -ms-transition: all 0.2s ease 0s;
}

.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container .fluid_controls_progress, .fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container .fluid_controls_progress .fluid_controls_currentprogress {
  height: 8px;
  /* background-color: #333; */
  transition: all 0.2s ease 0s;
  -webkit-transition: all 0.2s ease 0s;
  -moz-transition: all 0.2s ease 0s;
  -o-transition: all 0.2s ease 0s;
  -ms-transition: all 0.2s ease 0s;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_ad_markers_holder {
  height: 8px;
}

.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container .fluid_controls_buffered {
  background: rgba(115, 133, 159, 0.3);
  height: 8px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container:hover .fluid_controls_progress, .fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container:hover .fluid_controls_buffered, .fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container:hover .fluid_controls_ad_markers_holder {
  height: 8px;
  margin-top: 0;
}

.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container:hover .fluid_controls_progress .fluid_controls_currentprogress {
  height: 8px;
}

.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container .fluid_controls_progress .fluid_controls_currentpos {
  width: 13px;
  height: 13px;
  position: absolute;
  top: -3px;
  border-radius: 8px;
}

.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_left, .fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right {
  top: 29px;
  transition: all 0.2s ease 0s;
  -webkit-transition: all 0.2s ease 0s;
  -moz-transition: all 0.2s ease 0s;
  -o-transition: all 0.2s ease 0s;
  -ms-transition: all 0.2s ease 0s;
}

.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container {
  height: 60px;
  transition: all 0.2s ease 0s;
  -webkit-transition: all 0.2s ease 0s;
  -moz-transition: all 0.2s ease 0s;
  -o-transition: all 0.2s ease 0s;
  -ms-transition: all 0.2s ease 0s;
}

.fluid_initial_play,
.fluid_initial_pause {
  width: 100px;
  height: 100px;
}

.fluid_initial_play_button {
  border: none;
  background-image: url(../img/wps-play-icon.svg);
  background-repeat: no-repeat;
  width: 100px;
  height: 100px;
  margin: 0;
}

.fluid_initial_pause_button {
  width: 8px;
  height: 30px;
  border: 9px solid #fff;
  border-top: 0;
  border-bottom: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  margin: 0;
}

.fluid_video_wrapper:hover,
.fluid_video_wrapper:focus {
  cursor: inherit;
}
