/* -------------------------------- 

Primary style

/*my css*/

.flex-prev {
  border-radius: 48px;
  width: 50px !important;
  height: 50px !important;
  margin-top: 77px;
  background: linear-gradient(to right, #31281d 3%, #604f38 45%);
  -webkit-background: linear-gradient(to right, #31281d 3%, #604f38 45%);
}
.flex-next {
  border-radius: 48px;
  width: 50px !important;
  height: 50px !important;
  margin-top: 77px;
  background: linear-gradient(to left, #31281d 3%, #604f38 45%);
  -webkit-background: linear-gradient(to left, #31281d 3%, #604f38 45%);
}
.cd-author-info li {
  display: inline-block !important;
  font-family: 'PT Sans', sans-serif !important;
  font-size: 22px !important;
  color: #e0ccab !important;
  font-weight: normal !important;
}
.cd-author {
  text-align: left;
  padding-left: 40px;
}/*
 -------------------------------- */ *, *:after, *:before {
 -webkit-box-sizing: border-box;
 -moz-box-sizing: border-box;
 box-sizing: border-box;
}
/*body {
  font-size: 100%;
  font-family: "Helvetica Neue", sans-serif;
  color: #39393c;
  background-color: #dadee1;
}*/

a {
  color: #702e16;
  text-decoration: none;
}
img {
  max-width: 100%;
}
/* -------------------------------- 

Main components 

-------------------------------- */
.cd-testimonials-wrapper {
  position: relative;
  width: 100%;
  max-width: 710px;
  background: #31281d; /* Old browsers */
  background: -moz-linear-gradient(left, #31281d 0%, #604f38 3%, #604f38 50%, #604f38 97%, #31281d 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%, #31281d ), color-stop(3%, #604f38), color-stop(50%, #604f38), color-stop(97%, #604f38), color-stop(100%, #31281d )); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(left, #31281d 0%, #604f38 3%, #604f38 50%, #604f38 97%, #31281d 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left, #31281d 0%, #604f38 3%, #604f38 50%, #604f38 97%, #31281d 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(left, #31281d 0%, #604f38 3%, #604f38 50%, #604f38 97%, #31281d 100%); /* IE10+ */
  background: linear-gradient(to right, #31281d 0%, #604f38 3%, #604f38 50%, #604f38 97%, #31281d 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#31281d ', endColorstr='#31281d ', GradientType=1 ); /* IE6-9 */
  margin: 0 auto;
  /*margin: 2em auto;*/
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /*padding: 30px 50px;
  z-index: 1;*/
  margin-top: 60px!important;
  padding: 20px 30px 3px;
  z-index: 1;
}
.cd-testimonials-wrapper::after {
  /* quotation mark */
  content: '\201C';
  position: absolute;
  top: 10px;
  left: 0;
  width: 50px;
  height: 50px;
  padding-top: 8px;
  margin-left: -25px;
  background: rgba(32, 32, 34, 0.9);
  font-family: 'pt_sans_regular', Verdana, Geneva, sans-serif;
  color: #e0ccab;
  font-size: 62px;
  font-size: 4.375rem;
  text-align: center;
  /* visible on big devices only */
  display: none;
}

.testimoniAL .slides,.testimoniAL .flex-control-nav,.testimoniAL .flex-direction-nav{margin-bottom:15px;}
.testimoniAL .flex-direction-nav .flex-prev{left:0;}
.testimoniAL .flex-direction-nav a{position:static;margin:77px 0 0;opacity:1;}
.testimoniAL .flex-direction-nav a.flex-prev:hover{background:linear-gradient(to right, #31281d 3%, #604f38 45%);-webkit-background:linear-gradient(to right, #31281d 3%, #604f38 45%);}
.testimoniAL .flex-direction-nav a.flex-next:hover{background:linear-gradient(to left, #31281d 3%, #604f38 45%);-webkit-background:linear-gradient(to left, #31281d 3%, #604f38 45%);}
@media only screen and (min-width: 768px) {
.cd-testimonials-wrapper {
  margin: 0 auto;/* margin: 4em auto;
    padding: 64px 50px 114px;*/
}
}

@media only screen and (min-width: 1170px) {
.cd-testimonials-wrapper::after {
  /* quotation mark visible */
   /* display: block;*/
  display: none;
}
}
.cd-testimonials {
  color: white;
  text-align: center;
}
.cd-testimonials:after {
  content: "";
  display: table;
  clear: both;
}
.cd-testimonials > li {
  position: absolute;
  opacity: 0;
  /*background: #3a3122;*/
  padding: 0px 0px;
  background: linear-gradient(to bottom, #322a1e 0%, #554632 100%);
  -webkit-background: linear-gradient(to bottom, #322a1e 0%, #554632 100%);
}
.cd-testimonials > li:first-child {
  position: relative;
  opacity: 1;
}
.cd-testimonials p {
  font-family: 'pt_sans_regular', Verdana, Geneva, sans-serif;
  color: #e0ccab;
  font-style: italic;
  line-height: 1.2;
  margin-bottom: 1em;
  padding: 10px 14px 0px 14px;
  min-height: 80px;
  margin-left: .55em;
}

@media only screen and (min-width: 768px) {
.cd-testimonials p {
  font-size: 22px;
  font-size: 1.375rem;
}
}

@media only screen and (min-width: 1170px) {
.cd-testimonials p {
  font-size: 24px;
  /*font-size: 1.425rem;
    line-height: 1.4;*/
  font-size: 1.325rem;
  line-height: 1.4;
  text-align: left;
}
}
.cd-author img, .cd-author .cd-author-info {
  display: inline-block;
  vertical-align: top;
}
.cd-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 5px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
  display: none;
}
.cd-author .cd-author-info {
  text-align: center;
  line-height: 1.2;
  margin: auto;
}
.cd-author .cd-author-info li:first-child {
  font-size: 17px;
  font-size: 0.875rem;
}
.cd-author .cd-author-info li:last-child {
  font-size: 15px;
  font-size: 0.75rem;
  color: #ccbd9c;
}

@media only screen and (min-width: 768px) {
.cd-author img {
  width: 50px;
  height: 50px;
}
.cd-author .cd-author-info {
  line-height: 1.4;
}
.cd-author .cd-author-info li:first-child {
  font-size: 18px;
  font-size: 1.10em;
}
.cd-author .cd-author-info li:last-child {
  font-size: 15px;
  font-size: 0.875rem;
}
}
.flex-direction-nav li {
  position: absolute;
  height: 100%;
  width: 40px;
  top: 0;
}
.flex-direction-nav li:first-child {
  left: 0;
}
.flex-direction-nav li:last-child {
  right: 0;
}
.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: #2e2112;
}
.flex-direction-nav li a::before, .flex-direction-nav li a::after {
  /* left and right arrows in css only */
  content: '';
  position: absolute;
  left: 58%;
  top: 126px;
  width: 4px;
  height: 13px;
  background-color: #b5aa8e;
}
.flex-direction-nav li a.flex-next::before, .flex-direction-nav li a.flex-next::after {
  /* left and right arrows in css only */
  right: 58%;
  left: auto;
}
.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;
}
}

@media only screen and (min-width: 1170px) {
.flex-direction-nav li a::before, .flex-direction-nav li a::after {
  background-color: #5e0ccab;
  -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: white;
}
}
.cd-see-all {
  position: absolute;
  z-index: 1;
  left: 0;
  top: -32px;
  letter-spacing: 1px;
  /*bottom: 0px;*/
  width: 180px;
  height: 32px;
  line-height: 40px;
  background: #31281d; /* Old browsers */
  background: -moz-linear-gradient(left, #31281d 0%, #603007 6%, #4c290a 50%, #4f2804 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%, #31281d ), color-stop(6%, #603007), color-stop(50%, #4c290a), color-stop(100%, #4f2804)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(left, #31281d 0%, #603007 6%, #4c290a 50%, #4f2804 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left, #31281d 0%, #603007 6%, #4c290a 50%, #4f2804 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(left, #31281d 0%, #603007 6%, #4c290a 50%, #4f2804 100%); /* IE10+ */
  background: linear-gradient(to right, #31281d 0%, #603007 6%, #4c290a 50%, #4f2804 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#31281d ', endColorstr='#4f2804', GradientType=1 ); /* IE6-9 */
  text-align: center;
  text-transform: uppercase;
  color: #e0ccab;
  font-weight: 700;
  font-size: 16px;
  font-size: 1.10em;
  -webkit-transition: color, 0.2s;
  -moz-transition: color, 0.2s;
  transition: color, 0.2s;
  border-radius: 0 10px 0 0;
}
.no-touch .cd-see-all:hover {
  color: #a81c1d;
}
.cd-testimonials-all {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: white;
  z-index: 2;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
}
.cd-testimonials-all .cd-testimonials-all-wrapper {
  position: absolute;
  left: -30px;
  top: -84px;
  height: 100%;
  width: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.cd-testimonials-all .cd-testimonials-all-wrapper > ul {
  width: 90%;
  max-width: 1170px;
  margin: 4em auto;
}
.cd-testimonials-all .cd-testimonials-all-wrapper > ul:after {
  content: "";
  display: table;
  clear: both;
}
.cd-testimonials-all .cd-testimonials-item {
  margin-bottom: 2em;
  opacity: 0;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translate3d(0, 0, 0) scale(0.4);
  -moz-transform: translate3d(0, 0, 0) scale(0.4);
  -ms-transform: translate3d(0, 0, 0) scale(0.4);
  -o-transform: translate3d(0, 0, 0) scale(0.4);
  transform: translate3d(0, 0, 0) scale(0.4);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: -webkit-transform .3s, opacity .3s;
  -moz-transition: -moz-transform .3s, opacity .3s;
  transition: transform .3s, opacity .3s;
}
.cd-testimonials-all p {
  position: relative;
  background: #a81c1d;
  color: white;
  padding: 2em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.4;
  border-radius: 0.25em;
  margin-bottom: 1em;
}
.cd-testimonials-all p::after {
  /* creating the triangle in css */
  content: '';
  position: absolute;
  top: 100%;
  left: 2em;
  height: 0;
  width: 0;
  border: 8px solid transparent;
  border-top-color: #a81c1d;
}
.cd-testimonials-all .cd-author {
  text-align: left;
  margin-left: 1.5em;
}
.cd-author {
  /*  background:#483b26;
  width:80%;*/
     /* background: #251f16;*/
  background: rgba(37, 31, 22, 0.68);
  width: 100%;
  margin: auto;
}
.cd-testimonials-all .cd-author img {
  box-shadow: 0 0 0 transparent;
}
.cd-testimonials-all.is-visible {
  visibility: visible;
  opacity: 1;
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-testimonials-all.is-visible .cd-testimonials-item {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0) scale(1);
  -moz-transform: translate3d(0, 0, 0) scale(1);
  -ms-transform: translate3d(0, 0, 0) scale(1);
  -o-transform: translate3d(0, 0, 0) scale(1);
  transform: translate3d(0, 0, 0) scale(1);
}
@media only screen and (min-width: 768px) {
.cd-testimonials-all .cd-testimonials-item {
  width: 46%;
  margin: 0 2% 3em;
}
.cd-testimonials-all .cd-author {
  margin-left: 0;
}
@media only screen and (min-width: 1170px) {
 .cd-testimonials-all .cd-testimonials-item {
 width: 30%;
 margin: 0 1.6666% 3em;
}
}
.close-btn {
  position: fixed;
  display: block;
  width: 40px;
  height: 40px;
  top: 10px;
  right: 5%;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}
.close-btn::before, .close-btn::after {
  /* close icon in css */
  content: '';
  position: absolute;
  display: inline-block;
  width: 2px;
  height: 24px;
  top: 8px;
  left: 19px;
  background-color: #39393c;
}
.close-btn::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.close-btn::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
 @media only screen and (min-width: 740px) {
.cd-testimonials p {
 height: 120px;
}


/* ul, ol {
 padding-left:0!important;
 margin-left:0!important;
}*/


 .cd-testimonials-all .cd-author {
 margin-left: 0;
}
}
 @media(max-width: 767px) {
 .cd-author {
    /*text-align: center !important;*/
    padding-left: 5px !important;
}
 .cd-testimonials p {
 margin-left: 0px;
}
}
