main {
    width: 90%;
    margin: 1rem auto;
    padding: 0;
}



.card-body {
    // Enable `flex-grow: 1` for decks and groups so that card blocks take up // as much space as possible, ensuring footers are aligned to the bottom. flex: 1 1 auto;
    padding:unset;
}

@media screen and (max-width: 900px) {
    main {
        width: 95%;
    }
}



@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    .cards div {
        display: block;
        font-size: 8px;
    }

    .card-text {
        font-size: 8px !important;
    }

    
   

   
}

}



.title {
    margin: 0;
    border: none
}

.cards {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    border: none;
}

    .cards div {
        flex: 1 30%;
    }

.card {
    display: flex;
    flex-direction: column;
    margin: 0.5rem;
    background-color: #fff;
    border: 1px solid grey;
    border-radius: 5px;
    box-shadow: 0px 10px 15px 0 rgba(0,0,0,0.3);
}

.card-image {
    margin: 0;
}

    .card-image img {
        max-width: 100%;
        border-radius: 3px 3px 0 0;
    }

.card-text {
    justify-self: flex-start;
    margin: 0;
    padding: 1rem;
}

.card-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 0;
    padding: 1rem;
}

button {
    padding: 10px 20px;
    font-size: 0.85rem;
    color: white;
    background-image: radial-gradient(circle, #cc8400, #c20000);
    background-size: 400% 100%;
    background-position: top right;
    border: none;
    border-radius: 5px;
    transition: all .4s ease-in-out;
}

    button:hover {
        background-image: radial-gradient(circle, #5ae9cb, #08362d);
        background-position: center;
        cursor: pointer;
    }



























#customers-testimonials3.testimonials {
    /* background-color: #008066; */
    position: relative;
    /* padding-top: 80px; */
    /* width: 100%; */
}
#customers-testimonials3.testimonials:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 30%;
    background-color: #ddd;
}

#customers-testimonials3 .item-details {
  background-color: #008066;
  color: #fff;
  padding: 15px 15px;
  /* text-align: left; */
  line-height: 2.5em;
  display: flex;
  flex-direction: revert;
  padding-top: 20px;
  height: 100%;
}
#customers-testimonials3 .item-details .event_title {
	background: rgba(28, 23, 21, 0.7);
	padding: 10px;
	color: #fff;
	-webkit-animation-duration: .5s;
	animation-duration: .5s;
	border-top: 5px solid #50d9bd;
}
#customers-testimonials3 .item-details h5 {
  margin: 0 0 34px;
  /* font-size: 18px; */
  /* line-height: 18px; */
  color: white;
  /* width: 160px; */
  /* height: 160px; */
  position: absolute;
  /* right: 5px; */
  /* border-radius: 50%; */
  background-color: rgba(46, 45, 43, 0.83);
  top: 207px;
  padding: 30px 15px;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  /* right: -80px; */
  text-align: center;
  float: right;
  margin-bottom: 20px;
}
#customers-testimonials3 .item-details h5 span {
  color: white;
  /* float: right; */
  /* padding-right: 20px; */
  /* padding: 0px; */
  /* margin: -3px; */
}
#customers-testimonials3 .item-details p a {
  font-size: 14px;
  color: white;
}
#customers-testimonials3 .item {
  text-align: center;
  /* margin-bottom: 80px; */
}

.owl-carousel .owl-nav [class*=owl-] {
  transition: all 0.3s ease;
}

.owl-carousel .owl-nav [class*=owl-].disabled:hover {
  background-color: #D6D6D6;
}

.owl-carousel {
  position: relative;
}

.owl-carousel .owl-next,
.owl-carousel .owl-prev {
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  position: absolute;
  top: 30%;
  font-size: 20px;
  padding:0px;
  margin:0px;
  border: 1px solid #ddd;
  text-align: center;
  font-size:30px;
  
    color: #ffffff;
    background-color: #008066;

}

.owl-carousel .owl-prev {
  left: -70px;
  padding:0px;
}

.owl-carousel .owl-next {
  right: -70px;
   padding:0px;
}

/*----------------------------------------------------------*/
.demo {
    background: #3d3d3d;
}


.testimonial1 {
    padding: 35px 50px;
    margin: 0 20px 30px;
    border-radius: 0 70px 0 70px;
    border: 5px solid #ffc33c;
    border-left: none;
    border-right: none;
    text-align: center;
}

    .testimonial1 .pic {
        display: inline-block;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        margin-bottom: 20px;
        overflow: hidden;
    }

        .testimonial1 .pic img {
            width: 100%;
            height: auto;
        }

    .testimonial1 .title {
        display: block;
        margin: 0 0 7px 0;
        font-size: 20px;
        font-weight: 600;
        color: #ffc33c;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .testimonial1 .post {
        display: block;
        font-size: 15px;
        color: #fff;
        text-transform: capitalize;
        margin-bottom: 20px;
    }

    .testimonial1 .description {
        font-size: 16px;
        color: #fff;
        line-height: 30px;
        direction: rtl;
        text-align: right;
    }

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

    .owl-theme .owl-controls .owl-page span {
        background: #fff;
        opacity: 0.8;
        transition: all 0.3s ease 0s;
    }

    .owl-theme .owl-controls .owl-page.active span {
        background: #ffc33c;
    }