*, *:after, *:before {
}

.testim {
  /*width: 100%;*/
  /*position: absolute;*/
  /*top: 50%;*/
  /*-webkit-transform: translatey(-50%);*/
  /*-moz-transform: translatey(-50%);*/
  /*-ms-transform: translatey(-50%);*/
  /*-o-transform: translatey(-50%);*/
  /*transform: translatey(-50%);*/
  background-color: #f2f2f2;
  border-radius: 20px;
  margin: 0 15px;
}

.testim .wrap {
  position: relative;
  width: 100%;
  max-width: 1020px;
  padding: 60px 20px;
  margin: auto;
}

.testim .arrow {
  display: block;
  position: absolute;
  color: #000;
  cursor: pointer;
  font-size: 1.3em;
  top: 75%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  padding: 14px 0;
  text-align: center;
  z-index: 11;
}

.testim .arrow:before {
  cursor: pointer;
}

.testim .arrow:hover {
  color: #b60000;
}

.testim .arrow.left {
  left: 10%;
  background-color: transparent;
  border: 1px solid rgb(0 0 0 / 22%);
  border-radius: 50px;
  width: 50px;
  height: 50px;
}

.testim .arrow.right {
  right: 10%;
  background-color: transparent;
  border: 1px solid rgb(0 0 0 / 22%);
  border-radius: 50px;
  width: 50px;
  height: 50px;
}

.testim .dots {
  text-align: center;
  position: absolute;
  width: 100%;
  bottom: 60px;
  left: 0;
  display: block;
  z-index: 3333;
  height: 12px;
}
.limited-lines{   overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 3;line-clamp: 3;-webkit-box-orient: vertical;}
.testim .dots .dot {
  list-style-type: none;
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid #eee;
  margin: 0 10px;
  cursor: pointer;
  -webkit-transition: all .5s ease-in-out;
  -ms-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  position: relative;
}

.testim .dots .dot.active, .testim .dots .dot:hover {
  background: #b70000;
  border-color: #b70000;
}

.testim .dots .dot.active {
  -webkit-animation: testim-scale .5s ease-in-out forwards;
  -moz-animation: testim-scale .5s ease-in-out forwards;
  -ms-animation: testim-scale .5s ease-in-out forwards;
  -o-animation: testim-scale .5s ease-in-out forwards;
  animation: testim-scale .5s ease-in-out forwards;
}

.testim .cont {
  position: relative;
  overflow: hidden;
}

.testim .cont > div {
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 0 70px 0;
  opacity: 0;
}

.testim .cont > div.inactive {
  opacity: 0;
}

.testim .cont > div.active {
  position: relative;
  opacity: 1;
}

.testim .cont div .img img {
  display: block;
  width: 70px;
  height: 70px;
  margin: auto;
  border-radius: 50%;
}

.testim .cont div h2 {
  color: #ea830e;
  font-size: 1em;
  margin: 15px 0;
}

.testim .cont div p {
  font-size: 2.15em;
  color: #000;
  width: 90%;
  margin: auto;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.testim .cont div p:before {
  content: '';
  background-image: url(/media/site/images/lines.svg);
  height: 55px;
  width: 76px;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: contain;
  margin-bottom: 10px;
  display: inline-block;
}

.testim .cont div.active .img img {
  -webkit-animation: testim-show .5s ease-in-out forwards;
  -moz-animation: testim-show .5s ease-in-out forwards;
  -ms-animation: testim-show .5s ease-in-out forwards;
  -o-animation: testim-show .5s ease-in-out forwards;
  animation: testim-show .5s ease-in-out forwards;
}

.testim .cont div.active h2 {
  -webkit-animation: testim-content-in .4s ease-in-out forwards;
  -moz-animation: testim-content-in .4s ease-in-out forwards;
  -ms-animation: testim-content-in .4s ease-in-out forwards;
  -o-animation: testim-content-in .4s ease-in-out forwards;
  animation: testim-content-in .4s ease-in-out forwards;
}

.testim .cont div.active p {
  -webkit-animation: testim-content-in .5s ease-in-out forwards;
  -moz-animation: testim-content-in .5s ease-in-out forwards;
  -ms-animation: testim-content-in .5s ease-in-out forwards;
  -o-animation: testim-content-in .5s ease-in-out forwards;
  animation: testim-content-in .5s ease-in-out forwards;
}

.testim .cont div.inactive .img img {
  -webkit-animation: testim-hide .5s ease-in-out forwards;
  -moz-animation: testim-hide .5s ease-in-out forwards;
  -ms-animation: testim-hide .5s ease-in-out forwards;
  -o-animation: testim-hide .5s ease-in-out forwards;
  animation: testim-hide .5s ease-in-out forwards;
}

.testim .cont div.inactive h2 {
  -webkit-animation: testim-content-out .4s ease-in-out forwards;
  -moz-animation: testim-content-out .4s ease-in-out forwards;
  -ms-animation: testim-content-out .4s ease-in-out forwards;
  -o-animation: testim-content-out .4s ease-in-out forwards;
  animation: testim-content-out .4s ease-in-out forwards;
}

.testim .cont div.inactive p {
  -webkit-animation: testim-content-out .5s ease-in-out forwards;
  -moz-animation: testim-content-out .5s ease-in-out forwards;
  -ms-animation: testim-content-out .5s ease-in-out forwards;
  -o-animation: testim-content-out .5s ease-in-out forwards;
  animation: testim-content-out .5s ease-in-out forwards;
}

@keyframes testim-scale {
}

@keyframes testim-content-in {
}

@keyframes testim-content-out {
}

@keyframes testim-show {
}

@keyframes testim-hide {
}

@media all and (max-width: 300px) {
  body {
    /*font-size: 14px;*/
  }
}

@media all and (max-width: 500px) {
  .testim .arrow {
    font-size: 1.2em;
  }
}

@media all and (max-width: 500px) {
  .testim .cont div p {
    line-height: 1.2;
    font-size: 1.5rem;
  }
}

