.hero-v17 {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  border: 1px solid #a06637;
  z-index: 2;
  top: -40px;
  box-shadow: 0px 4px 5px rgba(0,0,0,0.2);
}
.hero-v17 .carousel .carousel-inner .item .slide-bg{
  height: 80vh;
}
.zoomin{
  -webkit-animation: zoomin 15s linear infinite;
  animation: zoomin 15s linear infinite;
}
@keyframes zoomin {
    0%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.05);
    }
    100%{
        transform: scale(1.07);
    }
}
.zoomout{
  -webkit-animation: zoomout 15s linear infinite;
  animation: zoomout 15s linear infinite;
}
@keyframes zoomout {
    0%{
        transform: scale(1.07);
    }
    50%{
        transform: scale(1.05);
    }
    100%{
        transform: scale(1);
    }
}
.hero-v17 .caption-holder{
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: rgba(0,0,0,0.3);
}
.hero-v17 .caption-holder p {
  font-style: inherit;
  font-size: 24px;
}
@media(max-width: 768px) {
  .hero-v17 .caption-holder{
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    top: 22px;
  }
}


.hero-v17 .caption-links-holder .caption-links {
  display: table;
  float: left;
  margin-right: 60px;
}
@media only screen and (max-width: 992px) {
  .hero-v17 .caption-links-holder .caption-links {
    display: block;
    float: none;
    margin-right: 0;
    margin-bottom: 25px;
  }
}
.hero-v17 .caption-links-holder .caption-links .caption-links-icon {
  display: inline-block;
  width: 48px;
  height: 48px;
  text-align: center;
  margin-right: 10px;
  border-radius: 50%;
  vertical-align: top;
  color: #ffffff;
  transition: all 0.25s ease-out;
}
.hero-v17 .img-icon-hover {
    overflow: hidden;
    position: relative;
}
.hero-v17 .img-icon-hover img:first-child,
.hero-v17 .img-icon-hover img:last-child {
    transition: 0.25s ease-out;
    position: absolute;
    top: 0;
    left: 0;
}
.hero-v17 .img-icon-hover > img{
    max-width: 100%;
}
.hero-v17 .img-icon-hover img:last-child {
    opacity: 0;
    visibility: hidden;    
}
.hero-v17 .img-icon-hover:hover > img:first-child {
    opacity: 0;
    visibility: hidden;
}
.hero-v17 .img-icon-hover:hover > img:last-child {
    opacity: 1;
    visibility: visible;
}
.hero-v17 .caption-links-holder .caption-links .caption-links-text {
  display: inline-block;
  font-size: 16px;
}
.hero-v17 .caption-links-holder .caption-links .caption-links-text h3 {
  margin: 0;
  font-size: 28px;
}
@media only screen and (max-width: 992px) {
  .hero-v17 .caption-links-holder .caption-links .caption-links-text h3 {
    font-size: 24px;
  }
}
.hero-v17 .carousel-control.left,
.hero-v17 .carousel-control.right {
  background-image: none;
  border: 2px solid #1429A9;
  top: auto;
  right: 25px;
  left: auto;
  width: 50px;
  height: 50px;
  bottom: 25px;
  border-radius: 50%;
  font-size: 30px;
  opacity: 0.9;
  line-height: 40px;
  text-shadow: none;
}

.hero-v17 .carousel-control.left {
  right: 90px;
}
.hero-v17 .read-more {
    color: #fff;
    line-height: 18px;
    letter-spacing: 4px;
    display: table;
    margin: 20px 0;
}
.hero-v17 .read-more:hover{
  color: #1429A9;
}
.hero-v17 .read-more span {
  height: 18px;
  width: 18px;
  line-height: 18px;
  color: #fff;
  font-size: 9px;
  background: #1429A9;
  display: inline-block;
  border-radius: 50%;
  text-align: center;
  padding-left: 6px;
  margin-right: 20px;
}
.hr-xs {
  background: #1429A9;
  height: 4px;
  width: 100px;
  display: table;
  margin: 20px 0;
}
@media only screen and (max-width: 767px) {
    .hero-v17 .caption-holder h1,  .hero-v17 .caption-holder h2 {
        font-size: 40px;
    }
}
.hero-v17 .cus-indicator {
    position: absolute;
    z-index: 2;
    width: 100%;
    left: 0;
    right: 0;
    bottom: 50px;
}
.hero-v17 .cus-indicator .carousel-indicators {
  position: relative;
  bottom: auto;
  left: auto;
  width: 100%;
  margin-left: 0;
  text-align: left;
}
.hero-v17 .cus-indicator .carousel-indicators li {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  text-indent: 0;
  cursor: pointer;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  float: left;
  color: #222;
  font-size: 17px;
  font-weight: 600;
  line-height: 25px;
  opacity: 0.7;
  transition: all 0.4s ease-out;
  padding-top: 10px;
  text-align: center;
}
.hero-v17 .cus-indicator .carousel-indicators li.active,
.hero-v17 .cus-indicator .carousel-indicators li:hover {
  opacity: 1;
}

.hero-v17 h1 span.over, .hero-v17 h2 span.over {
    line-height: 30px;
    font-weight: 400;
    font-size: 28px;
    margin-bottom: 13px;
}


.hero-v17 .carousel .carousel-inner .item .slide-bg {
  position: relative;
}

.hero-v17 .carousel .carousel-inner .item .slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.hero-v17 .caption-holder {
  z-index: 3;
}



.hero-v17 .carousel-control.left,
.hero-v17 .carousel-control.right {
  background-image: none;
  width: 50px;
  height: 50px;
  opacity: 1;
  line-height: 50px;
  text-shadow: none;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid #fff;
  margin: 0px;
  color: #fff;
  left: 20px;
  border-radius: unset;
  display: none;
  font-size: 22px;
  border-radius: 50%;
}

.hero-v17 .carousel-control.left i,
.hero-v17 .carousel-control.right i {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
}


.hero-v17 .carousel-control.right {
  transform: translateY(-50%) ;
  left: unset;
  right: 20px;
}


.hero-v17 h1, .hero-v17 h2  {
  max-width: unset;
}

.hero-v17 p {
  color: #fff;
  max-width: unset;
}


.hero-v17 .carousel-control.left:hover,
.hero-v17 .carousel-control.right:hover {
  color: #fff;
  opacity: 0.5;
}



.hero-v17 .carousel-indicators {
  width: unset;
  margin: auto;
  z-index: 2;
}

.hero-v17 .carousel-indicators {
  transform: translateX(-50%);
}


.hero-v17.banner h1, .hero-v17.banner .h1-size {
  /* transform: translateY(-40px); */
  opacity: 1;
  margin-top: 0;
  padding: 0;
  padding-top: 50px;
  text-transform: capitalize;
}

.hero-v17.banner p {
  /* transform: translateX(-80px); */
  opacity: 1;
  margin-bottom: 0;
  padding: 0;
}

.hero-v17 .carousel-indicators li {
  background-color: transparent;
  border-color: #a06637;
  height: 16px;
  width: 16px;
  transition: .4s;
  margin: 0 4px;
}

.hero-v17 .carousel-indicators li:hover,
.hero-v17 .carousel-indicators .active {
  background-color: #a06637;
  border-color: #a06637;
}

@media (min-width: 768px) {
  .hero-v17 .cus-indicator .carousel-indicators li {
      width: 20%;
      font-size: 18px;
      font-weight: 400;
      padding-top: 0px;
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) { 
  .hero-v17 .cus-indicator .carousel-indicators li {
    font-size: 17px;
    
}
}

@media screen and (min-width: 992px) {
  .hero-v17 .carousel-control.left,
  .hero-v17 .carousel-control.right {
      display: block;
  }
}

@media (min-width: 1200px) {
  .hero-v17{
    padding-top: 0;
  }
}