
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, main {
	display: block;
}

/* -------------------------------- 
Main components 
-------------------------------- */
.cd-testimonials-wrapper {
  position: relative;
  width: 100%;
  max-width: 90%;
  margin: 2em auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 20px 40px 70px;
  z-index: 1;
}

@media only screen and (min-width: 768px) {
  .cd-testimonials-wrapper {
    margin: 4em auto;
    padding: 64px 50px 0px;
  }
}

.cd-testimonials {
  color: #343434;
  text-align: center;
}
.cd-testimonials::after {
  clear: both;
  content: "";
  display: table;
}
.cd-testimonials > li {
  position: absolute;
  opacity: 0;
}
.cd-testimonials > li:first-child {
  position: relative;
  opacity: 1;
}
.cd-testimonials p {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 1em;
  padding: 0 14px;
  padding: 2em 0;
 
}
@media only screen and (min-width: 768px) {
  .cd-testimonials p {
    //font-size: 18px;
    font-size: 1rem;
    padding: 2em 2em;
    border-radius: 120px;
    background-color:rgba(63, 171, 167, 0.2);
  }
}
@media only screen and (min-width: 1170px) {
  .cd-testimonials p {
    *font-size: 26px;
    font-size: 1.2rem;
    line-height: 1.6;
    padding: 2em 5em;
    border-radius: 120px;
    background-color:rgba(63, 171, 167, 0.2);
  }
}

.cd-author img, .cd-author .cd-author-info {
  display: inline-block;
  vertical-align: middle;
}
.cd-author img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin-right: 25px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
  display: block;
  margin:0 auto 20px auto;
}
.cd-author .cd-author-info {
  text-align: center;
  line-height: 1.2;
}
.cd-author .cd-author-info li:first-child {
  font-size: 18px;
  font-weight: bold;
}
.cd-author .cd-author-info li:last-child {
  font-size: 14px;
  color: #666666;
}
@media only screen and (min-width: 768px) {
  .cd-author img {
    width: 100px;
    height: 100px;
  }
  .cd-author .cd-author-info {
    line-height: 1.4;
  }
  .cd-author .cd-author-info li:first-child {
    font-size: 22px;
    font-size: 1rem;
  }
  .cd-author .cd-author-info li:last-child {
    font-size: 18px;
    font-size: 0.875rem;
  }
}

.flex-direction-nav li {
  position: absolute;
  height: 100%;
  width: 20px;
  top: 0;
}
.flex-direction-nav li:first-child {
  left: -20px;
}
.flex-direction-nav li:last-child {
  right: -20px;
}
.flex-direction-nav li a {
  display: block;
  height: 100%;
  width: 100%;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  -webkit-transition: background-color 0.2s;
  -moz-transition: background-color 0.2s;
  transition: background-color 0.2s;
}
.no-touch .flex-direction-nav li a:hover {
  background-color: #323234;
}
.flex-direction-nav li a::before, .flex-direction-nav li a::after {
  /* left and right arrows in css only */
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 13px;
  background-color: #3faba7;
}
.flex-direction-nav li a::before {
  -webkit-transform: translateY(-35px) rotate(45deg);
  -moz-transform: translateY(-35px) rotate(45deg);
  -ms-transform: translateY(-35px) rotate(45deg);
  -o-transform: translateY(-35px) rotate(45deg);
  transform: translateY(-35px) rotate(45deg);
}
.flex-direction-nav li a::after {
  -webkit-transform: translateY(-27px) rotate(-45deg);
  -moz-transform: translateY(-27px) rotate(-45deg);
  -ms-transform: translateY(-27px) rotate(-45deg);
  -o-transform: translateY(-27px) rotate(-45deg);
  transform: translateY(-27px) rotate(-45deg);
}
.flex-direction-nav li:last-child a::before {
  -webkit-transform: translateY(-35px) rotate(-45deg);
  -moz-transform: translateY(-35px) rotate(-45deg);
  -ms-transform: translateY(-35px) rotate(-45deg);
  -o-transform: translateY(-35px) rotate(-45deg);
  transform: translateY(-35px) rotate(-45deg);
}
.flex-direction-nav li:last-child a::after {
  -webkit-transform: translateY(-27px) rotate(45deg);
  -moz-transform: translateY(-27px) rotate(45deg);
  -ms-transform: translateY(-27px) rotate(45deg);
  -o-transform: translateY(-27px) rotate(45deg);
  transform: translateY(-27px) rotate(45deg);
}
@media only screen and (min-width: 768px) {
  .flex-direction-nav li {
    width: 50px;
  }

  .cd-testimonials-wrapper { max-width: 80%; }

}
@media only screen and (min-width: 1170px) {
  .flex-direction-nav li a::before, .flex-direction-nav li a::after {
    background-color: #5e5e63;
    -webkit-transition: background-color 0.2s;
    -moz-transition: background-color 0.2s;
    transition: background-color 0.2s;
  }
  .flex-direction-nav li a:hover::before, .flex-direction-nav li a:hover::after {
    background-color: #3faba7;
  }

  .flex-direction-nav li:first-child {
    left: -100px;
  }
  .flex-direction-nav li:last-child {
    right: -100px;
  }

  .cd-testimonials-wrapper { max-width: 80%; }

}


