.trex-hero{
  position: relative;
}
.trex-hero .item .slide-bg,
.trex-hero {
  height: 620px;
}

.trex-hero .carousel.fade-carousel .carousel-inner .active {
  opacity: 1;
transition: 2s ease-in-out;
  position: relative;
 
}

/*Bootstrap Carousel Fade Transition (for Bootstrap 3.3.x)
  CSS from:       http://codepen.io/transportedman/pen/NPWRGq
  and:            http://stackoverflow.com/questions/18548731/bootstrap-3-carousel-fading-to-new-slide-instead-of-sliding-to-new-slide
  Inspired from:  http://codepen.io/Rowno/pen/Afykb*/
.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
}    
.carousel-fade .carousel-inner .active {
  opacity: 1;
}    
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}    
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}    
.carousel-fade .carousel-control {
  z-index: 2;
}

/*WHAT IS NEW IN 3.3: "Added transforms to improve carousel performance in modern browsers."
  Need to override the 3.3 new styles for modern browsers & apply opacity*/
@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
}


.trex-hero .item .caption-holder {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
}
.trex-hero .item .caption-holder .caption-holder-text{
  position: relative;
  z-index: 2;

}
.trex-hero .item .caption-holder h1{
  font-size: 40px;
  margin-top: 0px;
}
.trex-hero .item .caption-holder .caption-holder-text .btn-secondary {
  position: relative;
  z-index: 3;
}
.trex-hero .item .caption-holder .caption-holder-text .btn-secondary:hover {
  background:#026937!important;
}
@media (min-width: 768px){
  .trex-hero .item .caption-holder .caption-holder-text{
 top: 112px;

}
  .trex-hero .item .caption-holder h1{
    font-size: 55px;
  }
 
}
.trex-hero .table-cell {
  position: relative;
  z-index: 1;
}

.trex-hero .carousel .carousel-indicator {
  position: absolute;
  top: auto;
  left: 0;
  right: 0;
  width: 100%;
  bottom: 0;
}
.trex-hero .carousel .carousel-indicator .carousel-indicators {
  position: relative;
  display: table;
  margin: 0 auto;
  left: auto;
  width: auto;
  z-index: 2;
}
.trex-hero .carousel .carousel-indicators li {
  display: inline-block;
  height: 12px;
  width: 12px;
  margin: 10px 5px;
  border: 1px solid #8BC944;
  border-radius: 0;
  background: transparent;
  position: relative;
  z-index: 1;
  transition: 0.4s;
  opacity: 1;

}
.trex-hero .carousel .carousel-indicators li.active,.trex-hero .carousel .carousel-indicators li:hover {
  opacity: 1;
  background: #026937;
  border-color:#026937;
}
.trex-hero .carousel.fade-carousel .carousel-inner .active .slide-up {
  opacity: 0;
  -webkit-animation: slide-up 2s cubic-bezier(0.4, 0, 0.2, 1) 500ms forwards;
    -webkit-animation-delay: var(--delay, 0s);
}
@-webkit-keyframes slide-up {
    0% { -webkit-transform: translateY(100%); opacity: 0 }
    100% { -webkit-transform: translateY(0); opacity: 1  }
}


@media (min-width: 767px) {
    .extra-hero-margin {
        margin-bottom: 100px;
    }
}