/*

  @T237107 - This CSS file is included on the detail pages for listings and events. Any changes made here will also effect those detail pags.

*/

.contentRender_name_plugins_collections_template_custom_slider{
  overflow: hidden;
}

.custom_slider_int{
  position: relative;
}

.custom_slider_title{
  font-size: 28px;
  line-height: 32px;
  color: #151515;
  font-family: 'Embedded-DINWebPro-Bold', 'DIN Next W01 Bold', Arial, sans-serif;
  font-weight: normal;
  padding-top: 45px;
  padding-bottom: 60px;
  border-top: 1px solid #ececec;
  letter-spacing: 1px;
}

.custom_slider {
  position: relative;
  width: 100%;
  max-width: 1400px;
  padding-left: 100px;
  margin: 0 auto 45px;
}
.custom_slider .custom_slider_title_wrapper{
  max-width: 1215px;
  padding-right: 15px;
}

.custom_slider .slides-wrapper{
  max-width: 1400px;
  overflow: hidden;
}
.custom_slider .slides{
  opacity: 0;
  -webkit-transition: opacity .3s;
          transition: opacity .3s;
  -webkit-transition-delay: .3s; /* Safari */
          transition-delay: .3s;
          margin-bottom: 30px;
}
.custom_slider .slides.slick-initialized{
  opacity: 1;
}
.custom_slider .slick-list{
  overflow: visible;
}

.custom_slider .slide{
  position: relative;
  outline: 0;
}
.custom_slider .slide .tag,
.custom_slider_single .slide .tag{
  position: absolute;
  z-index: 10;
  top: 2px;
  right: 0;
  padding: 3px 6px 1px;
  background: #333;
  color: #FFF;
  font-size: 12px;
  line-height: 12px;
  font-family:'Embedded-DINWebPro', 'DIN Next W01 Regular', Arial, sans-serif;
  text-transform: uppercase;
  opacity: 0.5;
}
.custom_slider_single .slide .tag{
  right: auto;
  left: 0;
}
.custom_slider .image{
  position: relative;
}
.custom_slider .video{
  margin-bottom: 0;
}
.custom_slider .play-button{
  position: absolute;
  top: 0;right: 0;bottom: 0;left: 0;
  margin: auto;
  width: 111px;
  height: 111px;
  border: 2px solid #FFF;
  text-align: center;
  line-height: 111px;
  z-index: 400;
  color: #FFF;
  border-radius: 50%;
  font-size: 50px;

  /* removes the flicker when inside slick slider */
  -webkit-transform-style: preserve-3d;
     -moz-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.custom_slider .slide img{
  max-width: 100%;
}
.custom_slider .slide.slide-even{
  padding-top: 27px;
}
.custom_slider .title{
  text-transform: uppercase;
}

.custom_slider .arrow{
  position: absolute;
  top: 45%;
  z-index: 400;
  background: rgba(237,52,38,.7);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  color: #FFF;
  line-height: 60px;
  font-size: 30px;
  cursor: pointer;
}
.custom_slider .arrow.slick-disabled {opacity: .5;}

.custom_slider .prevSlide { left: -90px;}
.custom_slider .nextSlide { right: 120px;}

.custom_slider .slick-dots{
  text-align: center;
  padding: 0;
  bottom: -40px;
  margin: 10px 0;
}
.custom_slider .slick-dots li{
  display: inline-block;
}
.custom_slider .slick-dots li button{
  text-indent: -9999999px;
  overflow: hidden;
  width: 18px;
  height: 18px;
  background: #a1a1a1;
  border-radius: 100%;
  padding: 0;
  margin: 0 12px;
   outline: 0 !important;
}
.custom_slider .slick-dots li.slick-active button{
  background: #ed3426;
}

/* @T333221 limit credits div to active slide in "Half Width" variation */
.custom_slider_single .credits-container {
  display: none;
}
.custom_slider_single .slick-active .credits-container {
  display: block;
}
/* style credit link text with underlined white */
.custom_slider_int .credits-container .credits-text a {
  color: #fff;
  text-decoration: underline;
}

/* T248901 - Slider tabs to hide/show images and videos 
** video slider currently used on listing detail only */
.shared-detail .mediaGallery .slider-tabs {
  text-align: center;
}
.shared-detail .mediaGallery .slider-tabs .slider-tab {
  display: inline-block;
  padding: 13px 10px 11px;
  border: 1px solid #ed3426;
  color: #ed3426;
  letter-spacing: .4px;
  font-size: 16px;
  font-family: 'Embedded-DINWebPro-Bold', 'DIN Next W01 Bold', Arial, sans-serif;
  line-height: 16px;
  cursor: pointer;
  transition: all .3s;
  -webkit-transition: all .3s;
}
.shared-detail .mediaGallery .slider-tabs .slider-tab:hover,
.shared-detail .mediaGallery .slider-tabs .slider-tab.is-active {
  background-color: #ed3426;
  color: #fff;
}

/* @T248901 prevent video slider from collapsing for mobile screens */
@media only screen and (max-width: 640px){
  .shared-detail .custom_slider .image .video {
    min-height: 325px;
  }
  .shared-detail .custom_slider .image img,
  .shared-detail .custom_slider .image .video {
    width: 100%;
  } 
  .shared-detail .mediaGallery .slider-tabs {
    margin-bottom: 30px;
  }
}

/*** single slider ***/
.custom_slider_single{
  position: relative;
  padding: 18px;
}
.custom_slider_single .slides{
  opacity: 0;
  -webkit-transition: opacity .3s;
          transition: opacity .3s;
  -webkit-transition-delay: .3s; /* Safari */
          transition-delay: .3s;
}
.custom_slider_single .slides.slick-initialized{
  opacity: 1;
}
.custom_slider_single .slide{
  position: relative;
}
.custom_slider_single .image{
  position: relative;
  display: inline-block;
}
.custom_slider_single .play-button{
  position: absolute;
  top: 0;right: 0;bottom: 0;left: 0;
  margin: auto;
  width: 111px;
  height: 111px;
  border: 2px solid #FFF;
  text-align: center;
  line-height: 111px;
  z-index: 400;
  color: #FFF;
  border-radius: 50%;
  font-size: 50px;

  /* removes the flicker when inside slick slider */
  -webkit-transform-style: preserve-3d;
     -moz-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.custom_slider_single .title{
  text-transform: uppercase;
}
.custom_slider_single .arrow{
  position: absolute;
  top: 45%;
  z-index: 200;
  background: rgba(237,52,38,.7);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  color: #FFF;
  line-height: 60px;
  font-size: 30px;
  cursor: pointer;
}
.custom_slider_single .arrow.slick-disabled {opacity: .5;}
.custom_slider_single .prevSlide{left: -15px;}
.custom_slider_single .nextSlide{right: -15px;}

/* @T333221 adjust credits div positioning for IE */
@media screen and (min-width:0\0) {
  .custom_slider_single .credits-container .credits {
    right: 36px;
  }
}

/* T241172 Gallery Feature Article Slider */

.custom_gallery_feature {
  margin: 40px 0;
}
.custom_gallery_feature .slides-wrapper .slick-slider {
  margin-bottom: 21px;
}

/* T368130 switch main image to div, since no src value is given */
.custom_gallery_feature .main div.mainImage {
  width: 100%;
  height: 664px;
  background-position: center;
  background-repeat: no-repeat;
  color: transparent;
  background-size: cover;
}
.custom_gallery_feature .sliderNav .slick-track {
  margin: 0 auto;
  max-width: 100%;
  /* @T276859 prevents nav slider from advancing */
  transform: translateX(0) !important;
}

/* @T276859 replace transparent border with grey border to prevent image resizing */
.custom_gallery_feature .sliderNav img {
  border: 4px solid transparent;
}
.custom_gallery_feature .sliderNav .slick-current img {
  border-color: #505050;
}
.custom_gallery_feature .sliderNav {
  max-width: 1236px;
  margin: 0 auto;
  padding: 0 7px;
}
.custom_gallery_feature .sliderNav .slide {
  width: 25%;
  outline: 0;
}
.custom_gallery_feature .sliderNav .image {
  margin: 0 11px;
  cursor: pointer;
}

/* @T327473 custom gallery feature credit styles */
.custom_gallery_feature .slide .credits {
  position: absolute;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

@media only screen and (max-width: 1024px) { 
  /* T368130 switch main image to div, since no src value is given */
  .custom_gallery_feature .main div.mainImage {
    height: 480px;
  }
  .custom_gallery_feature .slides-wrapper .slick-slider {
    margin-bottom: 14px;
  }
  .custom_gallery_feature .sliderNav {
    padding: 0 11px;
  }
  .custom_gallery_feature .sliderNav .slide {
    max-width: 25%;
    width: auto;
  }
  .custom_gallery_feature .sliderNav .image {
    margin: 0 7px;
  }
}

@media only screen and (max-width: 720px) { 
  .custom_gallery_feature .main div.mainImage {
    height: 322px;
  }
}

@media only screen and (max-width: 640px) { 
  .custom_gallery_feature .main div.mainImage {
    height: 368px;
  }
  .custom_gallery_feature .slides-wrapper .slick-slider {
    margin-bottom: 34px;
  }
  .custom_gallery_feature .sliderNav {
    display: none;
  }
  .custom_gallery_feature .slick-dots {
    bottom: -45px;
  }
  .custom_gallery_feature .slick-dots li,
  .custom_gallery_feature .slick-dots li button {
    width: 33px;
    height: 33px;
    border-radius: 100%;
  }
  .custom_gallery_feature .slick-dots li {
    margin: 0 8px;
    background-color: #D8D8D8;
  }
  .custom_gallery_feature .slick-dots li.slick-active {
    background-color: #ED3426;
  }
  .custom_gallery_feature .slick-dots li button:focus {
    outline: 0;
  }
  .custom_gallery_feature .slick-dots li button::before {
    display: none;
  }

/*color for active indicator: ED3426
color for inactive indicator: D8D8D8*/
}

@media only screen and (max-width: 1130px){
  .custom_slider .slide.slide-even {padding-top: 26px;}
  .custom_slider .nextSlide{right: 50px;}
}
@media only screen and (max-width: 1024px){
  .custom_slider_single{margin: 0 auto; max-width: 618px;}
   .custom_slider_title{padding-bottom: 70px;}
}
@media only screen and (max-width: 640px){
  .custom_slider { margin-bottom: 15px; } /* @T235931 reducing whitespace above map for mobile */
  .custom_slider_title{padding: 60px 0 40px; font-size: 70px; line-height: 75px;}
  .custom_slider .custom_slider_title_wrapper{padding-right: 0;}

  .custom_slider{padding: 0; }
  .custom_slider .slides-wrapper{width: 100%;}
  .custom_slider .slide.slide-even {padding-top: 0;}
  .custom_slider .arrows{display: none;}
  .custom_slider .slick-dots {
    position: relative;
    bottom: 7px;
  }

  /* @T333221 remove margin-right from mobile credits div */
  .custom_slider_int .credits-container .credits {
    margin-right: 0;
  }
}

