/*!
 * Template Name : videos-4
 */

/**********************/
/* Videos 4
/* Main Carousel Style
/**********************/

/* 1 - Main Carousel Wrapper */
.videos-4.sz-slider {
  background: #fff;
  filter: none;
  -webkit-filter: none;
  mix-blend-mode: normal;
  text-rendering: optimizelegibility;
  -webkit-font-smoothing: antialiased;
}

/*******************/
/* Videos 4
/* Layer Settings
/*******************/

/* 1 - Layer - wrapper */
.videos-4-layer,
.videos-4-layer > div {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  line-height: 1;
  display: block;
  overflow: hidden;
  position: absolute;
}
/* 2 - Video */
.videos-4-layer > div > video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* 3 - Text - center */
.videos-4-layer > div > div {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 250px;
  height: 60px;
  font-size: 0;
  display: block;
  position: absolute;
  background: rgba(255,255,255,.9);
  border-radius: 3px;
  -webkit-border-radius: 3px;
}
/* 4 - Text - bottom-left */
.videos-4-layer.videos-4-layer-bottom-left > div > div {
  margin: auto auto 30px 30px;
}
/* 5 - Text - bottom-right */
.videos-4-layer.videos-4-layer-bottom-right > div > div {
  margin: auto 30px 30px auto;
}
/* 6 - Text - top-left */
.videos-4-layer.videos-4-layer-top-left > div > div {
  margin: 30px auto auto 30px;
}
/* 7 - Text - top-right */
.videos-4-layer.videos-4-layer-top-right > div > div {
  margin: 30px 30px auto auto;
}
/* 8 - Text - Links */
.videos-4-layer > div > div > a {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  overflow: hidden;
  position: absolute;
  letter-spacing: .2px;
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
}
/* 9 - Text - image - wrapper */
.videos-4-layer > div > div > a:nth-child(1) {
  width: 50px;
  height: 50px;
  margin: auto auto auto 5px;
}
/* 10 - Text - image */
.videos-4-layer > div > div > a:nth-child(1) > img {
  width: 100%;
  display: block;
}
/* 11 - Text - Company Name & WebSite */
.videos-4-layer > div > div > a:nth-child(2) {
  width: 100px;
  height: 40px;
  margin: auto auto auto 63px;
}
/* 12 - Text - Company Name & WebSite - Children */
.videos-4-layer > div > div > a:nth-child(2) > span {
  display: block;
}
/* 13 - Text - Company Name */
.videos-4-layer > div > div > a:nth-child(2) > span:nth-child(1) {
  color: #333;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}
/* 14 - Text - WebSite */
.videos-4-layer > div > div > a:nth-child(2) > span:nth-child(2) {
  color: #767676;
  font-size: 16px;
  font-weight: 400;
}
/* 15 - Text - Button ( buy now ) */
.videos-4-layer > div > div > a:nth-child(3) {
  color: #fff;
  width: 74px;
  height: 28px;
  font-size: 14px;
  font-weight: 500;
  line-height: 28px;
  text-align: center;
  background: #ff0051;
  text-transform: uppercase;
  margin: auto 9px auto auto;
  border-radius: 3px;
  -webkit-border-radius: 3px;
}
/* 16 - Speaker & Media Buttons */
.videos-4-layer > div > .sz-media-btn,
.videos-4-layer > div > .sz-speaker-btn {
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
  -webkit-transition: opacity .2s ease, visibility .2s ease;
}
/* 17 - Media Button */
.videos-4-layer > div > .sz-media-btn {
  right: 60px;
  margin: 7px auto auto auto;
}
/* 18 - Speaker Button */
.videos-4-layer > div > .sz-speaker-btn {
  margin: 7px auto auto auto;
}
/* 19 - Speaker & Media Buttons - show on hover */
.videos-4-btn.sz-slider:hover .videos-4-layer > div > .sz-media-btn,
.videos-4-btn.sz-slider:hover .videos-4-layer > div > .sz-speaker-btn {
  opacity: 1;
  visibility: visible;
}

/******************/
/* Responsiveness */
/******************/

/*----- When the screen size gets = 290px and < 730px -----*/
@media (min-width: 290px) and (max-width: 729.98px) {
  /* Background color of carousel */
  .videos-4.sz-slider {
    width: 100% !important;
  }
}
/*----- When the screen size gets <= 290px -----*/
@media (max-width: 289.98px) {
  /* Background color of carousel */
  .videos-4.sz-slider {
    width: 100% !important;
  }
  /* Text - center */
  .videos-4-layer > div > div,
  .videos-4-layer.videos-4-layer-top-left > div > div,
  .videos-4-layer.videos-4-layer-top-right > div > div,
  .videos-4-layer.videos-4-layer-bottom-left > div > div,
  .videos-4-layer.videos-4-layer-bottom-right > div > div {
    width: 220px;
    margin: auto auto 25px auto;
  }
  /* Text - image - wrapper */
  .videos-4-layer > div > div > a:nth-child(1) {
    width: 40px;
    height: 40px;
  }
  /* Text - Company Name & WebSite */
  .videos-4-layer > div > div > a:nth-child(2) {
    width: 90px;
    margin: auto auto auto 53px;
  }
  /* Text - Button ( buy now ) */
  .videos-4-layer > div > div > a:nth-child(3) {
    width: 60px;
    font-size: 12px;
    margin: auto 5px auto auto;
  }
}
/*----- Speaker & Media Buttons - When the screen size gets <= 576px -----*/
@media (max-width: 575.98px) {
  /* Speaker & Media Buttons */
  .videos-4-layer > div > .sz-media-btn,
  .videos-4-layer > div > .sz-speaker-btn {
    opacity: 1;
    visibility: visible;
  }
  /* Media Button */
  .videos-4-layer > div > .sz-media-btn {
    right: 0;
    margin: 5px 10px auto auto;
  }
  /* Speaker Button */
  .videos-4-layer > div > .sz-speaker-btn {
    margin: 5px auto auto 10px;
  }
}

/**************/
/* Videos 4
/* Loading Bar
/**************/

/* 1 - Loading Bar - Wrapper */
.sz-slider.videos-4 .sz-slide-bar-wrap {
  top: auto;
  bottom: 0;
  height: 3px;
  background: rgba(255,255,255,.8);
}
/* 2 - Loading Bar - Animated Part */
.sz-slider.videos-4 .sz-slide-bar-wrap > .sz-slide-bar {
  background: #ff0051;
}

/**************************/
/* Videos 4
/* Left And Right Buttons
/**************************/

/* 1 - Buttons */
.videos-4-btn.sz-slider .carousel-control-btn {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  color: #333;
  width: 40px;
  height: 40px;
  font-size: 0;
  display: block;
  visibility: hidden;
  text-decoration: none;
  background: rgba(255,255,255,.9);
  border-radius: 3px;
   -webkit-border-radius: 3px;
  transition: color .2s ease, background .2s ease, opacity .2s ease, visibility .2s ease;
  -webkit-transition: color .2s ease, background .2s ease, opacity .2s ease, visibility .2s ease;
}
/* 2 - Prev - Button */
.videos-4-btn.sz-slider .carousel-control-btn.carousel-control-prev {
  margin: auto auto auto 15px;
}
/* 3 - Next - Button */
.videos-4-btn.sz-slider .carousel-control-btn.carousel-control-next {
  margin: auto 15px auto auto;
}
/* 4 - Hover */
.videos-4-btn.sz-slider .carousel-control-btn:hover {
  color: #fff;
  background: #ff0051;
}
/* 5 - Icons */
.videos-4-btn.sz-slider .carousel-control-btn > i {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: #333;
  width: 12px;
  height: 18px;
  margin: auto;
  font-size: 18px;
  position: absolute;
  display: inline-block;
  transition: color .2s ease;
  -webkit-transition: color .2s ease;
}
/* 6 - Icons - hover */
.videos-4-btn.sz-slider .carousel-control-btn:hover > i {
  color: #fff;
}
/* 7 - Show on Hover */
.videos-4-btn.sz-slider:hover .carousel-control-btn {
  opacity: 1;
  visibility: visible;
}