.carousel-inner {
  padding: 1em;
}

.card {
  margin: 0 0.5em;
  box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
  border: none;
}

.carousel-control-prev,
.carousel-control-next {
  background-color: #e1e1e1;
  width: 6vh;
  height: 6vh;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

@media (min-width: 768px) {
  .carousel-item {
    margin-right: 0;
    flex: 0 0 33.333333%;
    display: block;
  }

  .carousel-inner {
    display: flex;
  }
}

.card .img-wrapper {
  max-width: 100%;
  height: 13em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card img {
  max-height: 100%;
}

.new_container {
  margin-top: 0.5rem;
}

.margin_top {
  padding-bottom: 2rem;
  padding-top: 2rem;
  font-weight: 600;

}

.newadd {
  background-image: url('../../assets/images/jj1.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--theme-green, '#4DC662');
  background-position-x: center;
  background-position-y: center;
  /* opacity: 50%; */
  /* min-height: 30vh; */
}

.upadd {
  /* background-color: var(--theme-green,'#4DC662'); */
  background-color: rgba(0, 0, 0, 0.6);
  /* background: rgba(0, 151, 19, 0.6); */
}

.upadd h2{
  color: white;
}

.cc1 {
  line-height: 170% !important;
}

.bradius {
  background-color: #000000;
  border-radius: 0 0 0 33%;
  min-height: 420px;
}


/* new card */

.avatar {
  width: 30px;
  border-radius: 50%;
}

.avatar-bordered {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border: white 1px solid;
}

.avatar-large {
  width: 50px;
}

.card-user {
  position: absolute;
  right: 10px;
  top: 10px;
}



.owl-carousel .owl-wrapper-outer {
  min-height: 70vh;
}

.testimonial_container .container h2 {
  color: #000000;
}

.testimonial {
  border: 1px solid #77777756;
  background: #fff;
  text-align: center;
  padding: 5px 30px 50px;
  margin: 0 15px 100px;
  position: relative;
  height:49vh;
}

.testimonial .icon {
  display: inline-block;
  font-size: 80px;
  color: #bd986b;
  margin-bottom: 20px;
  opacity: 0.6;
}

.testimonial .description {
  font-size: 15px;
  color: #777;
  /* text-align: left; */
  margin-bottom: 30px;
  opacity: 0.8;
  text-align: justify;
  min-height: 28vh;
}

.testimonial .testimonial-content {
  width: 100%;
  position: absolute;
  left: 0;
  bottom: -40%;
}

.testimonial .pic {
  display: inline-block;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 2px 2px #3ab446;
  overflow: hidden;
  z-index: 1;
  position: relative;
}

.testimonial .pic img {
  width: 100%;
  height: 13vh;
}

.testimonial .title {
  font-size: 15px;
  font-weight: bold;
  color: #000;
  text-transform: capitalize;
  margin: 10px 0 5px 0;
}

.testimonial .post {
  display: block;
  font-size: 14px;
  color: #777
}

.owl-theme .owl-controls {
  margin-top: 0;
}

.owl-theme .owl-controls .owl-page span {
  width: 32px;
  height: 10px;
  background: #3ab446;
  border: 2px solid #000000;
  margin: 5px;
  opacity: 1;
}

.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span {
  background: #3ab446;
  border: 2px solid #0000006d;
}
.owl-pagination .active{
  background-color: #fff;
}
.reviews {
  margin-left: 18%;

}

.review {
  background-color: rgba(21, 21, 21, 0.434);
  padding: 25px 30px;
  border-radius: 50px;
  height: 17em;
  width: 30em;
}

.review-user-info{
  display: flex;
  margin-top:20px;
  margin-right: 5%;
}
.review-user-details {
  display: flex;
  flex-direction: column;

}

.reviews h3 {
  color: #ffffff;
  margin-bottom: 10px;
  padding: 0 30px;
  font-size: 1em;
}

.review-user-details h6 {
  color: #ffffff;
  margin-bottom: 10px;
  padding: 0 30px;
  font-size: 0.8em;
  font-weight: 300;
  margin: 0;
  padding: 0;
}

.review-user-details p {
  color: #ffffff;
  margin-bottom: 10px;
  padding: 0 30px;
  font-size: 0.7em;
  font-weight: 300;
  margin: 0;
  padding: 0;
}

.review .review-content {
  font-weight: 300;
  font-size: 0.8em;
  text-align: justify;
}

.review-user-img {
  border-radius: 50%;
  height: 40px;
  width: 40px;
  margin-right: 20px;
}

.review-platform {
  height: 40px;
  width: 40px;
  margin-left: auto;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 8px;
  width: 8px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.8s ease;
}

.active {
  background-color: #4DC662;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 8s;
}

@keyframes fade {
  from {
    opacity:1
  }

  to {
    opacity: 1
  }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {
    font-size: 11px
  }
}

@media screen and (max-width: 767px) {
  .card .img-wrapper {
    height: 17em;
  }

  .bradius {
    border-radius: 0 0 0 0% !important;
    height: 75vh;
  }

  .some-target {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    left: 0;
    top: 0;
    padding: 10px;
  }

  .review {
    height: 17em;
    width: 21em;
    padding: 20px;
  } 

  .reviews h3 {
    margin: 0;
    padding: 0.3em;
    font-size: 1em;
  }

  .review-user-details h6 {
    font-size: 0.6em;
  }

  .review-user-details p {
    font-size: 0.4em;
  }

  .review .review-content {
    font-size: 0.55em;
    font-weight: 300;
    line-height: 1.8em;
  }

  .review-user-img {
    height: 40px;
    width: 40px;
  }

  .review-platform {
    height: 30px;
    width: 30px;
  }
  .testimonial {
  
    height:38vh;
  }
}
@media screen and (max-height: 1024px) and (max-width:900px) {
  .card .img-wrapper {
    height: 17em;
  }

  .bradius {
    border-radius: 0 0 0 0% !important;
    height: 75vh;
  }

  .some-target {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    left: 0;
    top: 0;
    padding: 10px;
  }

  .review {
    height: 16em;
    width: 21em;
  } 

  .reviews h3 {
    margin: 0;
    padding: 0.5em;
    font-size: 1em;
  }

  .review-user-details h6 {
    font-size: 0.6em;
  }

  .review-user-details p {
    font-size: 0.55em;
  }

  .review .review-content {
    font-size: 0.65em;
  }

  .review-user-img {
    height: 40px;
    width: 40px;
  }

  .review-platform {
    height: 30px;
    width: 30px;
  }
}
