:root {
  --mxtest-white: #ffffff;
  --mxtest-black: #16171a;
}
.carousel-container {
	width: 100%;
	overflow: hidden;
    padding: 30px 0;
}

.icarousel {
	width: 400px;
	height: 400px;
	position: relative;
	z-index: 2;
	margin: 2px auto;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-o-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-perspective: 1000px;
	-moz-perspective: 1000px;
	-o-perspective: 1000px;
	-ms-perspective: 1000px;
	perspective: 1000px;
}

.icarousel .slide {
	z-index: 3;
	width: 390px;
	height: 360px;
}

.container2 .icarousel {
	width: 400px;
	height: 450px;
}

/* The Navigation buttons in the Slider */
a.iCarouselNav {
    cursor: pointer;
	display: block;
	position: absolute;
	height: 40px;
	width: 40px;
	bottom: -30px;
	background: var(--mxtest-white);
	z-index: 1000;
	text-indent: -9999px;
}

a#iCarouselPrev {
	left: 150px;
	background-position: left top;
  cursor:pointer;
  transition:0.5s;
  overflow:hidden;
  border:solid 1px transparent; 
    border-radius:50%;
}
a#iCarouselPrev:hover{
/*  animation:borderAni 5s cubic-bezier(0, 0.6, 1, 0.4); */
      border:solid 1px var(--mxtest-black); 
    border-radius:50%;
}
a#iCarouselPrev:after{
  position:absolute;
  display:block;
  content:"";
  color:var(--mxtest-black);
  width: 20px;
  height: 15px;
  top:4px;
  left: 6px;
  border-bottom:solid 1px;
  transform:translatex(4px);
}

a#iCarouselPrev:before{
  position:absolute;
  display:block;
  content:"";
  color:var(--mxtest-black);
  width: 13px;
  height: 13px;
/*   border:solid 1px;  */
  border-top:solid 1px;
  border-left:solid 1px;
  top:50%;
  left:8px;
  transform-origin:0% 0%;
  transform:rotatez(-45deg);

}
a#iCarouselPrev:hover:before{
 animation: aniArrow01 1s cubic-bezier(0, 0.6, 1, 0.4) infinite 0.5s;
}

a#iCarouselPrev:hover:after{
 animation: aniArrow02 1s cubic-bezier(0, 0.6, 1, 0.4) infinite 0.5s;
}


@keyframes aniArrow01 {
  0% {
    transform:rotatez(-45deg) translateY(30px) translateX(30px);
  }
  100% {
    transform: rotatez(-45deg) translateY(-35px) translateX(-35px);
  }
}


@keyframes aniArrow02 {
  0% {
    transform:translateX(45px);
  }
  100% {
    transform:translateX(-44px);
  }
}

@keyframes borderAni{
   0% {
    border:solid 2px var(--mxtest-black);
  }
  100% {    
    border:solid 2px var(--mxtest-black); 
    border-radius:50%;
  }
}


a#iCarouselNext {
	right: 150px;
	background-position: right top;
  cursor:pointer;
  transition:0.5s;
  overflow:hidden;
  border:solid 1px transparent;
  border-radius:50%; 
}
a#iCarouselNext:hover{
/*  animation:borderAni 5s cubic-bezier(0, 0.6, 1, 0.4); */
      border:solid 1px var(--mxtest-black); 
    border-radius:50%;
}
a#iCarouselNext:after{
  position:absolute;
  display:block;
  content:"";
  color:var(--mxtest-black);
  width: 20px;
  height: 15px;
  top:5px;
  right: 14px;
  border-bottom:solid 1px;
  transform:translatex(4px);
}

a#iCarouselNext:before{
  position:absolute;
  display:block;
  content:"";
  color:var(--mxtest-black);
  width: 13px;
  height: 13px;
/*   border:solid 1px;  */
  border-top:solid 1px;
  border-left:solid 1px;
  top:50%;
  right:-5px;
  transform-origin:0% 0%;
  transform:rotatez(132deg);

}
a#iCarouselNext:hover:before{
 animation: aniArrow03 1s cubic-bezier(0, 0.6, 1, 0.4) infinite 0.5s;
}

a#iCarouselNext:hover:after{
 animation: aniArrow04 1s cubic-bezier(0, 0.6, 1, 0.4) infinite 0.5s;
}


@keyframes aniArrow03 {
  0% {
    transform:rotatez(135deg) translateY(30px) translateX(30px);
  }
  100% {
    transform: rotatez(135deg) translateY(-35px) translateX(-35px);
  }
}


@keyframes aniArrow04 {
  0% {
    transform:translateX(-45px);
  }
  100% {
    transform:translateX(60px);
  }
}

@keyframes borderAni{
   0% {
    border:solid 2px var(--mxtest-black);
  }
  100% {    
    border:solid 2px var(--mxtest-black); 
    border-radius:50%;
  }
}


.container2 a.iCarouselNav {
	top: 168px;
}
.slide {
	z-index: 1000;}
.testimonial-6 .quote-left:before,
.testimonial-6 .quote-right:after {
    color: #b5b5b5;
    font-size: 18px;
}
/* Testimonial Text */

.testimonial-6 .testimonial-text {
    padding: 25px 35px 70px 40px;
    background: #333;
    color: #f1f1f1;
}
.testimonial-6 .testimonial-detail {
    position: relative;
    padding: 10px 15px;
    top: -30px;
    width: 85%;
}
.testimonial-6 .testimonial-pic {
    position: absolute;
    right: 20px;
    top: -50px;
    z-index: 2;
}
.testimonial-6 .quote-left:before,
.testimonial-6 .quote-right:after {
    color: #b5b5b5;
    font-size: 18px;
}
.testimonial-6 .quote-left:before {
    left: 15px;
}
.testimonial-6 .quote-right:after {
    right: 15px;
    bottom: 20px;
    top: auto;
}
.testimonial-6 .testimonial-detail:after {
    background-color: inherit;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    right: -23px;
    top: 0;
    transform: skewX(35deg);
    width: 50px;
    z-index: 1;
}
.testimonial-pic {
    background: #FFF;
    width: 100px;
    height: 100px;
    position: relative;
    display: inline-block;
    border: 5px solid #FFF;
}
.testimonial-pic.radius {
    border-radius: 100%;
    -webkit-border-radius: 100%;
}
.testimonial-pic.radius img {
    width: 100%;
    height: 100;
    border-radius: 100%;
    -webkit-border-radius: 100%;
}
.testimonial-pic.shadow {
    -webkit-box-shadow: 2px 3px 6px -3px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 2px 3px 6px -3px rgba(0, 0, 0, 0.35);
    box-shadow: 2px 3px 6px -3px rgba(0, 0, 0, 0.35);
}
.quote-left,
.quote-right {
    position: relative;
}
.quote-left:before,
.quote-right:after {
    font-family: 'Font Awesome 5 Free';
	font-weight: 600;
    position: absolute;
    z-index: 10;
    top: 15px;
}
.quote-left:before {
    content: "\f10d";
    left: 0;
}
.quote-right:after {
    content: "\f10e";
    left: auto;
    right: 0;
}
.testimonial-text {
    padding: 15px;
    position: relative;
}
.testimonial-detail {
    padding: 5px;
}
.testimonial-name,
.testimonial-position {
    display: block;
}
.testimonial-position {
    font-style: italic;
}
.testimonial-text p:last-child {
    margin: 0;
}
/*testimonial with background image*/

/*testimonial 1*/

.testimonial-1 {
    text-align: center;
    margin: auto;
}
.testimonial-1 .testimonial-text {
    padding: 15px;
    margin: 15px 0px;
    background: #222;
    color: #f1f1f1;
}
.testimonial-1 .testimonial-position {
    color: #EFBB20;
}
.testimonial-1 .testimonial-name,
.testimonial-1 .testimonial-position {
    display: block;
}
.testimonial-1 .quote-left:before {
    width: 36px;
    height: 36px;
    line-height: 36px;
    font-size: 16px;
    background: #EFBB20;
    color: #FFF;
    text-align: center;
    left: 0;
    top: 65px;
    border-radius: 100%;
    -webkit-border-radius: 100%;
}
/*testimonial 2*/

.testimonial-2 .testimonial-text {
    background-color: #333;
    color: #f1f1f1;
    padding: 30px;
}
.testimonial-2 .testimonial-text:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #F4F5F7;
}
.testimonial-2 .testimonial-detail {
    padding: 25px 0 20px 20px;
}
.testimonial-2 .testimonial-pic {
    float: left;
    margin-right: 15px;
    width: 80px;
    height: 80px;
}
.testimonial-2 .quote-left:before {
    width: 36px;
    height: 36px;
    line-height: 36px;
    font-size: 16px;
    background: #EFBB20;
    color: #FFF;
    text-align: center;
    left: 0;
    top: 65px;
    border-radius: 100%;
    -webkit-border-radius: 100%;
}
.testimonial-2 .testimonial-name,
.testimonial-2 .testimonial-position {
    padding: 2px 0;
}
.testimonial-2 .testimonial-name {
    padding-top: 20px;
}
.testimonial-2 .testimonial-position {
    color: #EFBB20;
}
.testimonial-2 .quote-left:before {
    top: 50px;
}
/*testimonial 2 with background image*/

.testimonial-2.testimonial-bg .testimonial-text {
    color: #f1f1f1;
    background-color: rgba(0, 0, 0, 0.9);
}
.testimonial-2.testimonial-bg .testimonial-text:after {
    border-top-color: rgba(0, 0, 0, 0.9);
}
/*testimonial 3*/

.testimonial-3 {
    text-align: center;
}
.testimonial-3 .quote-left:before {
    position: static;
    font-size: 40px;
    color: #EFBB20;
}
.testimonial-3 .testimonial-text {
    padding: 15px;
    margin: 15px 0px;
    background: #222;
    color: #f1f1f1;
}
.testimonial-3 .testimonial-position {
    color: #EFBB20;
}
.testimonial-3 .testimonial-name,
.testimonial-3 .testimonial-position {
    display: inline-block;
}
/*testimonial 4*/

.testimonial-4 {
    background-color: #222;
    position: relative;
    padding: 30px 40px 30px 10px;
    margin-left: 140px;
    min-height: 150px;
}
.testimonial-4:after {
    background-color: #222;
    border-left-width: 4px;
    border-left-style: solid;
    border-left-color: #EFBB20;
    content: "";
    position: absolute;
    left: -80px;
    top: 0;
    height: 100%;
    width: 80%;
    z-index: -1;
    -moz-transform: skewX(-25deg);
    -webkit-transform: skewX(-25deg);
    -o-transform: skewX(-25deg);
    -ms-transform: skewX(-25deg);
    transform: skewX(-25deg);
}
.testimonial-4 .testimonial-pic {
    position: absolute;
    top: 30px;
    left: 0;
    margin-left: -110px;
}
.testimonial-4 [class*="quote-"] {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 30px;
    border-color: #EFBB20;
    border-top-color: transparent !important;
    border-left-color: transparent !important;
}
.testimonial-4 [class*="quote-"]:after,
.testimonial-4 [class*="quote-"]:before {
    top: 0;
    right: -20px;
    font-size: 20px;
    color: #fff;
}
.testimonial-4 .testimonial-text,
.testimonial-4 .testimonial-detail {
    padding: 0;
}
.testimonial-4 .testimonial-text {
    margin-bottom: 10px;
    color: #f1f1f1;
}
.testimonial-4 .testimonial-name,
.testimonial-4 .testimonial-position {
    display: inline-block;
}
.testimonial-4 .testimonial-name:after {
    content: "/";
    color: #EFBB20;
    margin: 0 2px 0 5px;
}
.testimonial-4 .testimonial-name {
    text-transform: uppercase;
    color: #fff;
}
.testimonial-4 .testimonial-position {
    font-style: italic;
    color: #bebebe;
}
.testimonial-4 .testimonial-pic {
    border-color: #EFBB20;
    border-width: 3px;
    width: 90px;
    height: 90px;
}
@media only screen and (max-width: 480px) {
    .testimonial-4 .testimonial-pic {
        height: 80px;
        width: 80px;
    }
    .testimonial-4:after {
        transform: skewX(-10deg);
    }
    .testimonial-4 {
        padding: 25px 10px 25px 0px;
        margin-left: 110px;
    }
}
.testimonial-5 .testimonial-text {
    border: 2px solid #e6e6e6;
    padding: 30px;
}
.testimonial-5 .testimonial-detail {
    padding: 0 0 0 20px;
    margin-top: -35px;
}
.testimonial-5 .testimonial-pic {
    box-shadow: 0 0 0 2px #e6e6e6;
    width: 70px;
    height: 70px;
}
.testimonial-5 .testimonial-text p {
    font-size: 16px;
    line-height: 30px;
}
.testimonial-5 .info p {
    display: inline-block;
    position: relative;
    top: -10px;
    padding: 0 10px;
}
.testimonial-8{
	background-color:#f5f5f5;
	text-align:center;
	padding: 0 15px 15px;
	border-width: 1px 1px 3px;
	border-style: solid;
	border-color: #dfdfdf #dfdfdf #123641;
}
.testimonial-8 .testimonial-pic{ 
	margin:-50px auto 0 ; 
	display:block;  
}
.testimonial-8 .testimonial-name{ 
	margin-bottom: 5px; 
	font-size: 18px; 
}
@media only screen and ( max-width: 767px ) { 
.icarousel, .container2 .icarousel {
	width: 300px !important;
}
.icarousel .slide {
	width: 290px !important;
}
a#iCarouselPrev {
	left: 90px !important;
}

a#iCarouselNext {
	right: 90px !important;
}	
}