
#main-slider1 {
  position: relative;
}

.no-margin {
  margin: 0;
  padding: 0;
}

#main-slider1 .carousel .carousel-content {
  margin-top: 150px;
}

#main-slider1 .carousel .slide-margin{
  margin-top: 140px;
}

#main-slider1 .carousel h2 {
  color: #fff;
}

#main-slider1 a.carousel-control {
  z-index: 5;
}

#main-slider1 .carousel .btn-slide {
  padding: 8px 20px;
  background: #c52d2f;
  color: #fff;
  border-radius: 4px;
  margin-top: 25px;
  display: inline-block;
}

#main-slider1 .carousel .slider1-img {
  text-align: right;
  position: absolute;
}


#main-slider1 .carousel .item {
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  left: 0 !important;
  opacity: 0;
  top: 0;
  position: absolute;
  width: 100%;
  display: block !important;
  height: 500px;
  -webkit-transition: opacity ease-in-out 500ms;
  -moz-transition: opacity ease-in-out 500ms;
  -o-transition: opacity ease-in-out 500ms;
  transition: opacity ease-in-out 500ms;
}

#main-slider1 .carousel .item:first-child {
  top: auto;
  position: relative;
}

#main-slider1 .carousel .item.active {
  opacity: 1;
  -webkit-transition: opacity ease-in-out 500ms;
  -moz-transition: opacity ease-in-out 500ms;
  -o-transition: opacity ease-in-out 500ms;
  transition: opacity ease-in-out 500ms;
  z-index: 1;
}

#main-slider1 .prev,
#main-slider1 .next {
  position: absolute;
  top: 50%;
  background-color: #c52d2f;
  color: #fff;
  display: inline-block;
  margin-top: -25px;
  height: 40px;
  line-height: 40px;
  width: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 4px;
  z-index: 5;
}

#main-slider1 .prev:hover,
#main-slider1 .next:hover {
  background-color: #000;
}

#main-slider1 .prev {
  left: 10px;
}

#main-slider1 .next {
  right: 10px;
}

#main-slider1 .carousel-indicators li {
  width: 10px;
  height: 10px;
  background-color: #fff;
  margin: 0 8px 0 0;
  position: relative;
}

#main-slider1 .carousel-indicators li:after {
  position: absolute;
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 100%;
  background: rgba(0, 0, 0, 0);
  border: 1px solid #FFF;
  left: -2px;
  top: -2px;
}

#main-slider1 .carousel-indicators .active {
  width: 10px;
  height: 10px;
  background-color: #c52d2f;
   margin: 0 8px 0 0;
   border: 1px solid #c52d2f;
   position: relative;
}

#main-slider1 .carousel-indicators .active:after {
  position: absolute;
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 100%;
  background: #c52d2f;
  border: 1px solid #c52d2f;
  left: -2px;
  top: -2px;
}

#main-slider1 .active .animation.animated-item-1 {
  -webkit-animation: fadeInUp 300ms linear 300ms both;
  -moz-animation: fadeInUp 300ms linear 300ms both;
  -o-animation: fadeInUp 300ms linear 300ms both;
  -ms-animation: fadeInUp 300ms linear 300ms both;
  animation: fadeInUp 300ms linear 300ms both;
}

#main-slider1 .active .animation.animated-item-2 {
  -webkit-animation: fadeInUp 300ms linear 600ms both;
  -moz-animation: fadeInUp 300ms linear 600ms both;
  -o-animation: fadeInUp 300ms linear 600ms both;
  -ms-animation: fadeInUp 300ms linear 600ms both;
  animation: fadeInUp 300ms linear 600ms both;
}

#main-slider1 .active .animation.animated-item-3 {
  -webkit-animation: fadeInUp 300ms linear 900ms both;
  -moz-animation: fadeInUp 300ms linear 900ms both;
  -o-animation: fadeInUp 300ms linear 900ms both;
  -ms-animation: fadeInUp 300ms linear 900ms both;
  animation: fadeInUp 300ms linear 900ms both;
}

#main-slider1 .active .animation.animated-item-4 {
  -webkit-animation: fadeInUp 300ms linear 1200ms both;
  -moz-animation: fadeInUp 300ms linear 1200ms both;
  -o-animation: fadeInUp 300ms linear 1200ms both;
  -ms-animation: fadeInUp 300ms linear 1200ms both;
  animation: fadeInUp 300ms linear 1200ms both;
}
