

/*****  H2Carousel base class ******/


.hp2 .carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.hp2 .carousel-caption {
  bottom: 3rem;
  z-index: 10;
  color: #000;
}

/* Declare heights because of positioning of img element */
.hp2 .carousel-item {
  /**height: 500px;**/
  position: relative;
  display: none;
  float: left;
  width: 100%;
  margin-right: -100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: -webkit-transform 0.6s ease-in-out;
  transition: transform 0.6s ease-in-out;
  transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
}
.hp2 .carousel-item > img {
  position: relative;
  top: 0;
  margin: auto;
}



@media (prefers-reduced-motion: reduce) {
  .hp2 .carousel-item {
    transition: none;
  }
}

.hp2 .carousel-item.active,
.hp2 .carousel-item-next,
.hp2 .carousel-item-prev {
  display: block;
}

.hp2 .carousel-item-next:not(.carousel-item-left),
.hp2 .active.carousel-item-right {
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
}

.hp2 .carousel-item-prev:not(.carousel-item-right),
.hp2 .active.carousel-item-left {
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
}

.hp2 .carousel-fade .carousel-item {
  opacity: 0;
  transition-property: opacity;
  -webkit-transform: none;
  transform: none;
}

.hp2 .carousel-fade .carousel-item.active,
.hp2 .carousel-fade .carousel-item-next.carousel-item-left,
.hp2 .carousel-fade .carousel-item-prev.carousel-item-right {
  z-index: 1;
  opacity: 1;
}

.hp2 .carousel-fade .active.carousel-item-left,
.hp2 .carousel-fade .active.carousel-item-right {
  z-index: 0;
  opacity: 0;
  transition: opacity 0s 0.6s;
}

@media (prefers-reduced-motion: reduce) {
  .hp2 .carousel-fade .active.carousel-item-left,
  .hp2 .carousel-fade .active.carousel-item-right {
    transition: none;
  }
}

.hp2 .carousel-indicators {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  z-index: 15;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  padding-left: 0;
  margin-right: 5%;
  margin-left: 5%;
  list-style: none;
}

.hp2 .carousel-indicators li {
  box-sizing: content-box;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  width: 20px;
  height: 20px;
  border-radius: 12px;
  margin-right: 6px;
  margin-left: 6px;
  text-indent: -999px;
  cursor: pointer;
  background-color: transparent;
  background-clip: padding-box;
  border: 2px solid rgba(230,230,230,0.5);
  /**border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;**/
  opacity: 1;
  transition: opacity 0.6s ease;
}

.hp2 .carousel-indicators li:first-child {
    background-color: #ff0;
}
.hp2 .carousel-indicators li:nth-child(2) {
    background-color: #fff;
}
.hp2 .carousel-indicators li:nth-child(3) {
    background-color: blue;
}
.hp2 .carousel-indicators li:nth-child(4) {
    background-color: #f00;
}

@media (prefers-reduced-motion: reduce) {
  .hp2 .carousel-indicators li {
    transition: none;
  }
}

.hp2 .carousel-indicators .active {
  opacity: 1;
  border: 2px solid rgba(0,0,0, 0.3);
}

.hp2 .carousel-inner {
  position: relative;
  width: 100%;
    text-align: center;
  overflow: hidden;
}

.hp2 .carousel-inner::after {
  display: block;
  clear: both;
  content: "";
}


.hp2 .carousel-control-prev,
.hp2 .carousel-control-next {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 10%;
  color: #000;
  text-align: center;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}

@media (prefers-reduced-motion: reduce) {
  .hp2 .carousel-control-prev,
  .hp2 .carousel-control-next {
    transition: none;
  }
}

.hp2 .carousel-control-prev:hover, .hp2 .carousel-control-prev:focus,
.hp2 .carousel-control-next:hover,
.hp2 .carousel-control-next:focus {
  color: #000;
  text-decoration: none;
  outline: 0;
  opacity: 0.9;
}

.hp2 .carousel-control-prev {
  left: 0;
}

.hp2 .carousel-control-next {
  right: 0;
}

.hp2 .carousel-control-prev-icon,
.hp2 .carousel-control-next-icon {
  /**display: inline-block;
  width: 2rem;
  height: 2rem;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 100% 100%;**/
  display: inline-block;
  width: 20px;
  height: 20px;
  background: no-repeat 50% / 100% 100%; 
}

.hp2 .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}

.hp2 .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}

/*****  HP3 Carousel base class ******/


.hp3 .carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.hp3 .carousel-caption {
  bottom: 3rem;
  z-index: 10;
  color: #000;
}

/* Declare heights because of positioning of img element */
.hp3 .carousel-item {
  /**height: 500px;**/
  position: relative;
  display: none;
  float: left;
  width: 100%;
  margin-right: -100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: -webkit-transform 0.6s ease-in-out;
  transition: transform 0.6s ease-in-out;
  transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
}
.hp3 .carousel-item > img {
  position: relative;
  top: 0;
  margin: auto;
}



@media (prefers-reduced-motion: reduce) {
  .hp3 .carousel-item {
    transition: none;
  }
}

.hp3 .carousel-item.active,
.hp3 .carousel-item-next,
.hp3 .carousel-item-prev {
  display: block;
}

.hp3 .carousel-item-next:not(.carousel-item-left),
.hp3 .active.carousel-item-right {
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
}

.hp3 .carousel-item-prev:not(.carousel-item-right),
.hp3 .active.carousel-item-left {
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
}

.hp3 .carousel-fade .carousel-item {
  opacity: 0;
  transition-property: opacity;
  -webkit-transform: none;
  transform: none;
}

.hp3 .carousel-fade .carousel-item.active,
.hp3 .carousel-fade .carousel-item-next.carousel-item-left,
.hp3 .carousel-fade .carousel-item-prev.carousel-item-right {
  z-index: 1;
  opacity: 1;
}

.hp3 .carousel-fade .active.carousel-item-left,
.hp3 .carousel-fade .active.carousel-item-right {
  z-index: 0;
  opacity: 0;
  transition: opacity 0s 0.6s;
}

@media (prefers-reduced-motion: reduce) {
  .hp3 .carousel-fade .active.carousel-item-left,
  .hp3 .carousel-fade .active.carousel-item-right {
    transition: none;
  }
}

.hp3 .carousel-indicators {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  z-index: 15;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  padding-left: 0;
  margin-right: 5%;
  margin-left: 5%;
  list-style: none;
}

.hp3 .carousel-indicators li {
  box-sizing: content-box;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  width: 20px;
  height: 20px;
  border-radius: 12px;
  margin-right: 6px;
  margin-left: 6px;
  text-indent: -999px;
  cursor: pointer;
  background-color: transparent;
  background-clip: padding-box;
  border: 2px solid rgba(230,230,230,0.5);
  /**border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;**/
  opacity: 1;
  transition: opacity 0.6s ease;
}

.hp3 .carousel-indicators li:first-child {
    background-color: #e0e005;
}
.hp3 .carousel-indicators li:nth-child(2) {
    background-color: #4d5449;
}
.hp3 .carousel-indicators li:nth-child(3) {
    background-color: #131313;
}
.hp3 .carousel-indicators li:nth-child(4) {
    background-color: dimgrey;
}

@media (prefers-reduced-motion: reduce) {
  .hp3 .carousel-indicators li {
    transition: none;
  }
}

.hp3 .carousel-indicators .active {
  opacity: 1;
  border: 2px solid rgba(0,0,0, 0.3);
}

.hp3 .carousel-inner {
  position: relative;
  width: 100%;
    text-align: center;
  overflow: hidden;
}

.hp3 .carousel-inner::after {
  display: block;
  clear: both;
  content: "";
}


.hp3 .carousel-control-prev,
.hp3 .carousel-control-next {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 10%;
  color: #000;
  text-align: center;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}

@media (prefers-reduced-motion: reduce) {
  .hp3 .carousel-control-prev,
  .hp3 .carousel-control-next {
    transition: none;
  }
}

.hp3 .carousel-control-prev:hover, .hp3 .carousel-control-prev:focus,
.hp3 .carousel-control-next:hover,
.hp3 .carousel-control-next:focus {
  color: #000;
  text-decoration: none;
  outline: 0;
  opacity: 0.9;
}

.hp3 .carousel-control-prev {
  left: 0;
}

.hp3 .carousel-control-next {
  right: 0;
}

.hp3 .carousel-control-prev-icon,
.hp3 .carousel-control-next-icon {
  /**display: inline-block;
  width: 2rem;
  height: 2rem;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 100% 100%;**/
  display: inline-block;
  width: 20px;
  height: 20px;
  background: no-repeat 50% / 100% 100%; 
}

.hp3 .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}

.hp3 .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}