/*
*  Owl Carousel Theme
*  v1.3.3
*/

/* Styling Next and Prev buttons */

.owl-theme .owl-controls .owl-buttons div {
  width: 38px;
  height: 84px;
  background: transparent url(../../images/carousel-navigation.png) no-repeat scroll;
  position: absolute;
  top: 50%;
  margin-top: -42px;
  overflow: hidden;
  text-indent: -9999px;
  opacity: 0.5;
}
.owl-theme .owl-controls .owl-buttons div.owl-prev {
  background-position: left top;
  left: 0;
}
.owl-theme .owl-controls .owl-buttons div.owl-next {
  background-position: right top;
  right: 0;
}
.owl-theme .owl-controls .owl-buttons div:hover {
  opacity: 1;
}

@media screen and (max-width: 767px) {
  .owl-theme .owl-controls .owl-buttons div {
    width: 25px;
    height: 55px;
    background-size: auto 55px;
    margin-top: -28px;
  }

}


/* Styling Pagination*/

.owl-theme .owl-controls .owl-page{
  display: inline-block;
  zoom: 1;
  *display: inline;/*IE7 life-saver */
}
.owl-theme .owl-controls .owl-page span{
  display: block;
  width: 12px;
  height: 12px;
  margin: 5px 7px;
  filter: Alpha(Opacity=50);/*IE7 fix*/
  opacity: 0.5;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  background: #869791;
}

.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span{
  filter: Alpha(Opacity=100);/*IE7 fix*/
  opacity: 1;
}

/* If PaginationNumbers is true */

.owl-theme .owl-controls .owl-page span.owl-numbers{
  height: auto;
  width: auto;
  color: #FFF;
  padding: 2px 10px;
  font-size: 12px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
}

/* preloading images */
.owl-item.loading{
  min-height: 150px;
}


/* Carousel items (generic style that applies to the PE Articles) */
.owl-carousel .slide figure {
  margin: 0;
  width: 100%;
}
.owl-carousel .slide figure img {
  width: 100%;
  height: auto;
}
.owl-carousel .slide figure figcaption {
  font-size: 20px;
  margin: 5px 80px 5px 40px;
}
@media screen and (max-width: 767px) {
  .owl-carousel .slide figure figcaption {
    font-size: 12px;
    margin: 3px 10px;
  }
}

/* WE top carousel on homepage */
#topslides-carousel {
  max-width: 1280px;
  margin: 0 auto;
}
#topslides-carousel .item {
  position: relative;
  background: transparent no-repeat scroll right center;
  background-size: cover;
}
#topslides-carousel .item:before {
  content: '';
  display: block;
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  bottom: 0;
  width: 520px;
  background: rgba(0, 0, 0, 0.27);
}
#topslides-carousel .item .details {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 520px;
  padding: 45px 75px;
  color: #fff;
}
#topslides-carousel .item .details h1 {
  font-family: 'Fjalla One', sans-serif;
  font-size: 40px;
  line-height: 41px;
  text-transform: uppercase;
  margin: 0 0 23px 0;
}
#topslides-carousel .item .details blockquote {
  margin: 0 0 23px 0;
  padding: 0;
}
#topslides-carousel .item .details blockquote p {
  margin: 0;
  font-size: 20px;
  line-height: 23px;
}
#topslides-carousel .item .details a {
  display: inline-block;
  font-family: 'Fjalla One', sans-serif;
  font-size: 26px;
  background: #262626 url(../../images/btn-we-next.png) no-repeat scroll right bottom;
  height: 50px;
  line-height: 50px;
  padding: 0 93px 0 17px;
  position: relative;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
#topslides-carousel .item .details a:hover {
  background-color: #64c1c5;
  background-position: right top;
}
#topslides-carousel .item .details a:empty:before {
  content: 'Learn More';
}

#topslides-carousel .owl-controls .owl-pagination {
  position: absolute;
  right: 0;
  bottom: 0;
  background: #64c1c5;
  padding: 2px 11px 0 6px;
}
#topslides-carousel.owl-theme .owl-controls .owl-page span.owl-numbers {
  color: #fff;
  background: transparent;
  font: 24px/28px 'endzone_sans_condmedium', sans-serif;
  padding: 0 11px;
  margin: 0 5px 0 0;
  opacity: 1;
  border-radius: 0;
}
#topslides-carousel.owl-theme .owl-controls .owl-page span.owl-numbers:hover,
#topslides-carousel.owl-theme .owl-controls .owl-page.active span.owl-numbers {
  background: #005774;
}

@media screen and (max-width: 767px) {
  #topslides-carousel .item:before {
    width: 100%;
  }
  #topslides-carousel .item .details {
    width: 100%;
    padding: 25px 30px 35px 30px;
  }
  #topslides-carousel .item .details h1 {
    font-size: 22px;
    line-height: 26px;
    margin: 0 0 15px 0;
  }
  #topslides-carousel .item .details blockquote {
    margin: 0 0 15px 0;
  }
  #topslides-carousel .item .details blockquote p {
    font-size: 11px;
    line-height: 14px;
  }
  #topslides-carousel .item .details a {
    font-size: 13px;
    height: 25px;
    line-height: 25px;
    padding: 0 45px 0 8px;
    background-size: 26px auto;
  }

  #topslides-carousel .owl-controls .owl-pagination {
    padding: 0 6px 0 3px;
  }
  #topslides-carousel.owl-theme .owl-controls .owl-page span.owl-numbers {
    font-size: 13px;
    line-height: 16px;
    padding: 0 7px;
    margin: 0 3px 0 0;
  }
}