/******************************
*
*  RoyalSlider VRSA Skin
*
*    1. Arrows
*    2. Bullets
*    3. Thumbnails
*    4. Tabs
*    5. Fullscreen button
*    6. Play/close video button
*    7. Preloader
*    8. Caption
*
*  Sprite: 'rs-universal.png'
*  Feel free to edit anything
*  If you don't some part - just delete it
*
******************************/

/* Background */
.rsVmlip,
.rsVmlip .rsOverflow,
.rsVmlip .rsSlide,
.rsVmlip .rsVideoFrameHolder,
.rsVmlip .rsThumbs {
  background: #222;
  color: #fff;
}

/***************
*
*  1. Arrows
*
****************/

.rsVmlip.rsVer .rsArrowLeft {
  top: 0;
  left: 0;
}
.rsVmlip.rsVer .rsArrowRight {
  bottom: 0;
  left: 0;
}

.rsVmlip.rsHor .rsArrowLeft {
  left: 0;
  top: 0;
}
.rsVmlip.rsHor .rsArrowRight {
  right: 0;
  top: 0;
}

.rsVmlip .rsArrowIcn {
  width: 32px;
  height: 32px;
  margin-top: -16px;
  margin-left: -16px;

  position: absolute;
  cursor: pointer;
  opacity: 0.5;
  border-radius: 2px;
}
.rsVmlip .rsArrow:hover .rsArrowIcn {
  opacity: 1;
}

.rsVmlip.rsHor .rsArrowLeft .rsArrowIcn {
  background-position: -64px -32px;
}
.rsVmlip.rsHor .rsArrowRight .rsArrowIcn {
  background-position: -64px -64px;
}

.rsVmlip.rsVer .rsArrowLeft .rsArrowIcn {
  background-position: -96px -32px;
}
.rsVmlip.rsVer .rsArrowRight .rsArrowIcn {
  background-position: -96px -64px;
}

.rsVmlip .rsArrowDisabled .rsArrowIcn {
  opacity: 0.1 !important;
  filter: alpha(opacity=20);
  *display: none;
}

/***************
*
*  2. Bullets
*
****************/

.rsVmlip .rsBullets {
  position: relative;
  z-index: 35;
  padding-top: 4px;
  width: 100%;
  height: auto;
  margin: 0 auto;

  text-align: center;
  line-height: 5px;
  overflow: hidden;
}
.rsVmlip .rsBullets * {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

.rsVmlip .rsBullet {
  width: 8px;
  height: 8px;
  display: inline-block;
  *display: inline;
  *zoom: 1;
  padding: 5px;
}
.rsVmlip .rsBullet span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bbb;
}
.rsVmlip .rsBullet.rsNavSelected span {
  background-color: #383838;
}

/***************
*
*  3. Thumbnails
*
****************/

.rsVmlip .rsThumbsHor {
  width: 100%;
  height: 72px;
}
.rsVmlip .rsThumbsVer {
  width: 96px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
}
.rsVmlip.rsWithThumbsHor .rsThumbsContainer {
  position: relative;
  height: 100%;
}
.rsVmlip.rsWithThumbsVer .rsThumbsContainer {
  position: relative;
  width: 100%;
}
.rsVmlip .rsThumb {
  float: left;
  overflow: hidden;
  width: 96px;
  height: 72px;
}
.rsVmlip .rsThumb img {
  width: 100%;
  height: 100%;
}
.rsVmlip .rsThumb.rsNavSelected {
  background: #333;
}
.rsVmlip .rsThumb.rsNavSelected img {
  opacity: 0.7;
  filter: alpha(opacity=30);
}
.rsVmlip .rsThumb.rsNavSelected .thumbIco {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border: 2px solid #fff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  -webkit-backface-visibility: hidden;
}

.rsVmlip .rsTmb {
  display: block;
}

/* Thumbnails with text */
.rsVmlip .rsTmb h5 {
  font-size: 16px;
  margin: 0;
  padding: 0;
  line-height: 20px;
  color: #fff;
}
.rsVmlip .rsTmb span {
  color: #ddd;
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 18px;
}

/* Thumbnails arrow icons */
.rsVmlip .rsThumbsArrow {
  height: 100%;
  width: 20px;
  position: absolute;
  display: block;
  cursor: pointer;
  z-index: 21;
}
.rsVmlip .rsThumbsArrow:hover {
}
.rsVmlip.rsWithThumbsVer .rsThumbsArrow {
  width: 100%;
  height: 20px;
}
.rsVmlip.rsWithThumbsVer .rsThumbsArrowLeft {
  top: 0;
  left: 0;
}
.rsVmlip.rsWithThumbsVer .rsThumbsArrowRight {
  bottom: 0;
  left: 0;
}

.rsVmlip.rsWithThumbsHor .rsThumbsArrowLeft {
  left: 0;
  top: 0;
}
.rsVmlip.rsWithThumbsHor .rsThumbsArrowRight {
  right: 0;
  top: 0;
}

.rsVmlip .rsThumbsArrowIcn {
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-top: -8px;
  margin-left: -8px;
  position: absolute;
  cursor: pointer;
  background: url("rs-universal.png") transparent;
}

.rsVmlip.rsWithThumbsHor .rsThumbsArrowLeft .rsThumbsArrowIcn {
  background-position: -128px -32px;
}
.rsVmlip.rsWithThumbsHor .rsThumbsArrowRight .rsThumbsArrowIcn {
  background-position: -128px -48px;
}

.rsVmlip.rsWithThumbsVer .rsThumbsArrowLeft .rsThumbsArrowIcn {
  background-position: -144px -32px;
}
.rsVmlip.rsWithThumbsVer .rsThumbsArrowRight .rsThumbsArrowIcn {
  background-position: -144px -48px;
}

.rsVmlip .rsThumbsArrowDisabled {
  display: none !important;
}

/* Thumbnails resizing on smaller screens */
@media screen and (min-width: 0px) and (max-width: 800px) {
  .rsVmlip .rsThumb {
    width: 59px;
    height: 44px;
  }
  .rsVmlip .rsThumbsHor {
    height: 44px;
  }
  .rsVmlip .rsThumbsVer {
    width: 59px;
  }
}

/***************
*
*  4. Tabs
*
****************/

.rsVmlip .rsTabs {
  width: 100%;
  height: auto;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
  padding-top: 12px;
  position: relative;
}
.rsVmlip .rsTab {
  display: inline-block;
  cursor: pointer;
  text-align: center;
  height: auto;
  width: auto;
  color: #333;
  padding: 5px 13px 6px;
  min-width: 72px;
  border: 1px solid #d9d9dd;
  text-decoration: none;

  background: #fff;
  border-right: none;
  *display: inline;
  *zoom: 1;
  *border-right: 1px solid #d9d9d9;
}
.rsVmlip .rsTab:first-child {
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}
.rsVmlip .rsTab:last-child {
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  border-right: 1px solid #d9d9dd;
}
.rsVmlip .rsTab:active {
  background-color: #f4f4f4;
}
.rsVmlip .rsTab.rsNavSelected {
  color: #fff;
  background: #383838;
  border-color: #383838;
}

/***************
*
*  5. Fullscreen button
*
****************/

.rsVmlip .rsFullscreenBtn {
  right: 0;
  top: 0;
  width: 44px;
  height: 44px;
  z-index: 22;
  display: block;
  position: absolute;
  cursor: pointer;
}
.rsVmlip .rsFullscreenIcn {
  display: block;
  margin: 6px;
  width: 32px;
  height: 32px;

  background: url("rs-universal.png") 0 0 transparent;
  opacity: 0.7;
  border-radius: 2px;
}
.rsVmlip .rsFullscreenBtn:hover .rsFullscreenIcn {
  opacity: 1;
}
.rsVmlip.rsFullscreen .rsFullscreenIcn {
  background-position: -32px 0;
}

/***************
*
*  6. Play/close video button
*
****************/

.rsVmlip .rsPlayBtn {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.3);
  width: 64px;
  height: 64px;
  margin-left: -32px;
  margin-top: -32px;
  cursor: pointer;
}
.rsVmlip .rsPlayBtnIcon {
  width: 64px;
  display: block;
  height: 64px;
  -webkit-border-radius: 4px;
  border-radius: 4px;

  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;

  background: url(rs-universal.png) no-repeat 0 -32px;
  background-color: #383838;
  background-color: rgba(0, 0, 0, 0.75);
  *background-color: #383838;
}
.rsVmlip .rsPlayBtn:hover .rsPlayBtnIcon {
  background-color: rgba(0, 0, 0, 0.9);
}
.rsVmlip .rsBtnCenterer {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
}
.rsVmlip .rsCloseVideoBtn {
  right: 0;
  top: 0;
  width: 44px;
  height: 44px;
  z-index: 500;
  position: absolute;
  cursor: pointer;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
}
.rsVmlip .rsCloseVideoBtn.rsiOSBtn {
  top: -38px;
  right: -6px;
}

.rsVmlip .rsCloseVideoIcn {
  margin: 6px;
  width: 32px;
  height: 32px;
  background: url("rs-universal.png") -64px 0;
  background-color: #383838;
  background-color: rgba(0, 0, 0, 0.75);
  *background-color: #383838;
}
.rsVmlip .rsCloseVideoIcn:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

/***************
*
*  7. Preloader
*
****************/

.rsVmlip .rsPreloader {
  width: 20px;
  height: 20px;
  background-image: url(../preloaders/preloader-white.gif);

  left: 50%;
  top: 50%;
  margin-left: -10px;
  margin-top: -10px;
}

/***************
*
*  8. Global caption
*
****************/
.rsVmlip .rsGCaption {
  position: absolute;
  float: none;
  bottom: 6px;
  left: 6px;
  text-align: left;

  background: #222;

  color: #fff;
  padding: 2px 8px;
  width: auto;
  font-size: 12px;
  border-radius: 2px;
}
