/*
*   name           FavTestimonials
*   version        1.1
*   description    Responsive and customizable Joomla!3 module
*   demo           http://extensions.favthemes.com/favtestimonials
*   author         FavThemes
*   author URL     http://www.favthemes.com
*   copyright      Copyright (C) 2012-2016 FavThemes.com. All Rights Reserved.
*   license        Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
*/

/*
////////////////////////////////////////////////////////////////////////////////

1. reset
2. arrows style
3. testimonials style
4. image style
5. title options
6. author options
7. layout effects

////////////////////////////////////////////////////////////////////////////////
*/

/*/
////////////////////////////////////////////////////////////////////////////////
///
///  favtestimonials css
///
////////////////////////////////////////////////////////////////////////////////
/*/

/*//////////////////////////////////////////////////////////////////////////////

1. reset

//////////////////////////////////////////////////////////////////////////////*/

div[id^="favtestimonials"] a,
div[id*=" favtestimonials"] a,
div[id^="favtestimonials"] a:hover,
div[id*=" favtestimonials"] a:hover,
div[id^="favtestimonials"] a:focus,
div[id*=" favtestimonials"] a:focus {
  text-decoration: none!important;
}

/*//////////////////////////////////////////////////////////////////////////////

2. arrows style

//////////////////////////////////////////////////////////////////////////////*/

/*//////////////////////////////////////////////////////////////////////////////
///
///  position
///
//////////////////////////////////////////////////////////////////////////////*/

.favtestimonials-carousel .favth-carousel-inner {
  margin-top: 20px;
  margin-bottom: 20px;
}
#favtestimonials-arrows .favth-carousel-control {
  opacity: 1;
  filter: alpha(opacity=100);
  background: none;
  height: 40px;
  width: 40px;
}
#favtestimonials-arrows .favth-carousel-control:hover,
#favtestimonials-arrows .favth-carousel-control:focus {
  opacity: 0.9;
  filter: alpha(opacity=90);
}
#favtestimonials-arrows .favth-carousel-control i {
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 30px;
  line-height: 39px;
  text-shadow: none;
  padding: 0 !important;
}

/*/
///
///  top
///
/*/

.favtestimonials-carousel.arrows-top .favth-carousel-inner {
  margin-top: 80px;
}
.favtestimonials-carousel.arrows-top #favtestimonials-arrows .favth-carousel-control {
  top: -60px;
  margin-top: 0px;
}

/*/
///
///  middle
///
/*/

.favtestimonials-carousel.arrows-middle .favth-carousel-inner {
  width: 88%;
  margin: 20px auto;
}
.favtestimonials-carousel.arrows-middle #favtestimonials-arrows .favth-carousel-control {
  top: 50%;
  margin-top: -40px;
}
.favtestimonials-carousel.arrows-middle #favtestimonials-arrows .favth-right.favth-carousel-control {
  right: 16px;
  left: auto;
}
.favtestimonials-carousel.arrows-middle #favtestimonials-arrows .favth-left.favth-carousel-control {
  left: 16px;
  right: auto;
}

/*/// mobile ///*/
@media (max-width: 767px) {

  .favtestimonials-carousel.arrows-middle .favth-carousel-inner {
    width: 100%;
  }
  .favtestimonials-carousel.arrows-middle #favtestimonials-arrows {
    width: 120px;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -65px;
  }
  .favtestimonials-carousel.arrows-middle .favth-carousel-inner {
    padding-bottom: 42px;
  }

}

/*/
///
///  bottom
///
/*/

.favtestimonials-carousel.arrows-bottom .favth-carousel-inner {
  margin-bottom: 80px;
}
.favtestimonials-carousel.arrows-bottom #favtestimonials-arrows .favth-carousel-control {
  top: auto;
  bottom: -60px;
  margin-bottom: 0px;
}

/*//////////////////////////////////////////////////////////////////////////////
///
///  alignment
///
//////////////////////////////////////////////////////////////////////////////*/

/*/
///
///  left
///
/*/

.favtestimonials-carousel.arrows-top.arrows-left #favtestimonials-arrows .favth-right.favth-carousel-control,
.favtestimonials-carousel.arrows-bottom.arrows-left #favtestimonials-arrows .favth-right.favth-carousel-control {
  right: auto;
  left: 64px;
}
.favtestimonials-carousel.arrows-top.arrows-left #favtestimonials-arrows .favth-left.favth-carousel-control,
.favtestimonials-carousel.arrows-bottom.arrows-left #favtestimonials-arrows .favth-left.favth-carousel-control {
  left: 16px;
  right: auto;
}

/*/
///
///  right
///
/*/

.favtestimonials-carousel.arrows-top.arrows-right #favtestimonials-arrows .favth-right.favth-carousel-control,
.favtestimonials-carousel.arrows-bottom.arrows-right #favtestimonials-arrows .favth-right.favth-carousel-control {
  left: auto;
  right: 16px;
}
.favtestimonials-carousel.arrows-top.arrows-right #favtestimonials-arrows .favth-left.favth-carousel-control,
.favtestimonials-carousel.arrows-bottom.arrows-right #favtestimonials-arrows .favth-left.favth-carousel-control {
  left: auto;
  right: 64px;
}

/*/
///
///  center
///
/*/

.favtestimonials-carousel.arrows-top.arrows-center #favtestimonials-arrows {
  width: 90px;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -45px;
}
.favtestimonials-carousel.arrows-bottom.arrows-center #favtestimonials-arrows {
  width: 90px;
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -45px;
}

/*//////////////////////////////////////////////////////////////////////////////

3. testimonials style

//////////////////////////////////////////////////////////////////////////////*/

.favtestimonials-carousel blockquote.favtestimonials-style {
  margin: 0;
}
.favtestimonials-carousel blockquote.favtestimonials-style:before {
  content: none;
}
.favtestimonials-carousel blockquote small {
  line-height: 1.5em;
}
.favtestimonials-carousel p.favtestimonials-text {
  margin-bottom: 0px;
}

/*/// mobile ///*/
@media (max-width: 767px) {

  .favtestimonials-carousel blockquote small {
    margin-bottom: 14px;
  }

}

/*//////////////////////////////////////////////////////////////////////////////
///
///  blockquote
///
//////////////////////////////////////////////////////////////////////////////*/

.favtestimonials-carousel.blockquote blockquote.favtestimonials-style {
  padding: 0 0 0 15px;
  border-left: 5px solid #ddd;
}

/*//////////////////////////////////////////////////////////////////////////////
///
///  bubble
///
//////////////////////////////////////////////////////////////////////////////*/

.favtestimonials-carousel.bubble blockquote.favtestimonials-style {
  padding: 0;
  border-left: 0 none;
}
.favtestimonials-carousel.bubble blockquote.favtestimonials-style .favtestimonials-content-text {
  position: relative;
  padding: 15px;
  border: 3px solid #ddd;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}
.favtestimonials-carousel.bubble blockquote.favtestimonials-style .favtestimonials-content-text:after {
  position: absolute;
  bottom: -12px;
  left: 50px;
  width: 0;
  border-color: #ddd transparent;
  border-width: 12px 12px 0;
  border-style: solid;
  content: "";
  display: block;
}
.favtestimonials-carousel.bubble blockquote.favtestimonials-style h3[id^="favtestimonials-title"],
.favtestimonials-carousel.bubble blockquote.favtestimonials-style h3[id*=" favtestimonials-title"] {
  margin-top: 0;
}
.favtestimonials-carousel.bubble.image-top .favtestimonials-image {
  margin-bottom: 14px;
}

/*//////////////////////////////////////////////////////////////////////////////
///
///  none
///
//////////////////////////////////////////////////////////////////////////////*/

.favtestimonials-carousel.simple blockquote.favtestimonials-style {
  padding: 0;
  border-left: 0 none;
}

/*//////////////////////////////////////////////////////////////////////////////

4. image style

//////////////////////////////////////////////////////////////////////////////*/

/*//////////////////////////////////////////////////////////////////////////////
///
///  position
///
//////////////////////////////////////////////////////////////////////////////*/

/*/
///
///  middle
///
/*/

.favtestimonials-carousel.image-middle .favtestimonials-image {
  float: left;
  margin-right: 21px;
}

/*/
///
///  bottom
///
/*/

.favtestimonials-carousel.image-top .favtestimonials-image-small,
.favtestimonials-carousel.image-middle .favtestimonials-image-small {
  display: none !important;
}
.favtestimonials-carousel.image-bottom .favtestimonials-image {
  display: none !important;
}
.favtestimonials-carousel.image-bottom .favtestimonials-image-small {
  margin-right: 10px;
}

/*//////////////////////////////////////////////////////////////////////////////
///
///  align
///
//////////////////////////////////////////////////////////////////////////////*/

.favtestimonials-carousel .favtestimonials-image.image-left {
  text-align: left;
}
.favtestimonials-carousel .favtestimonials-image.image-center {
  text-align: center;
}
.favtestimonials-carousel .favtestimonials-image.image-right {
  text-align: right;
}

/*//////////////////////////////////////////////////////////////////////////////

5. title options

//////////////////////////////////////////////////////////////////////////////*/

.favtestimonials-carousel h3[id^="favtestimonials-title"],
.favtestimonials-carousel h3[id*=" favtestimonials-title"] {
  font-style: normal !important;
  border: 0 none !important;
  padding: 0 !important;
  margin-bottom: 14px;
}

/*//////////////////////////////////////////////////////////////////////////////

6. author options

//////////////////////////////////////////////////////////////////////////////*/

.favtestimonials-carousel .favtestimonials-author {
  margin-top: 14px;
}
.favtestimonials-carousel .favtestimonials-author .favtestimonials-author-text,
.favtestimonials-carousel .favtestimonials-author .favtestimonials-image-small {
  display: inline-block;
}

/*//////////////////////////////////////////////////////////////////////////////
///
///  left
///
//////////////////////////////////////////////////////////////////////////////*/

.favtestimonials-carousel .favtestimonials-author.author-left {
  text-align: left;
}

/*//////////////////////////////////////////////////////////////////////////////
///
///  center
///
//////////////////////////////////////////////////////////////////////////////*/

.favtestimonials-carousel .favtestimonials-author.author-center {
  text-align: center;
}

/*//////////////////////////////////////////////////////////////////////////////
///
///  right
///
//////////////////////////////////////////////////////////////////////////////*/

.favtestimonials-carousel .favtestimonials-author.author-right {
  text-align: right;
}

/*//////////////////////////////////////////////////////////////////////////////

7. layout effects

//////////////////////////////////////////////////////////////////////////////*/

/*/
///
///  js classes
///
/*/

.favhide { opacity:0; }
.favshow { opacity:1; }

/*/
///
///  no layout effect
///
/*/

.layout-effect-none {
   -webkit-animation: none;
   -moz-animation: none;
   -o-animation: none;
   -ms-animation: none;
   animation: none;
}

/*/
///
///  layout effect 1
///
/*/

.layout-effect1 {
  -webkit-animation-name: layout-effect1;
  -moz-animation-name: layout-effect1;
  animation-name: layout-effect1;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes layout-effect1 {

  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }

}

@-moz-keyframes layout-effect1 {

  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }

}

@keyframes layout-effect1 {

  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }

}

/*/
///
///  layout effect 2
///
/*/

.layout-effect2 {
  -webkit-animation-name: layout-effect2;
  -moz-animation-name: layout-effect2;
  animation-name: layout-effect2;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes layout-effect2 {

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }

}

@-moz-keyframes layout-effect2 {

  0% {
    opacity: 0;
    -moz-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  100% {
    opacity: 1;
    -moz-transform: none;
    transform: none;
  }

}

@keyframes layout-effect2 {

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    -moz-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    -moz-transform: translate3d(0, -100%, 0);
    transform: none;
  }

}

/*/
///
///  layout effect 3
///
/*/

.layout-effect3 {
  -webkit-animation-name: layout-effect3;
  -moz-animation-name: layout-effect3;
  animation-name: layout-effect3;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes layout-effect3 {

  0% {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }

}

@-moz-keyframes layout-effect3 {

  0% {
    opacity: 0;
    -moz-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  100% {
    opacity: 1;
    -moz-transform: none;
    transform: none;
  }

}

@keyframes layout-effect3 {

  0% {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    -moz-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    -moz-transform: none;
    transform: none;
  }

}

/*/
///
///  layout effect 4
///
/*/

.layout-effect4 {
  -webkit-animation-name: layout-effect4;
  -moz-animation-name: layout-effect4;
  animation-name: layout-effect4;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes layout-effect4 {

  0% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }

}

@-moz-keyframes layout-effect4 {

  0% {
    opacity: 0;
    -moz-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }

  100% {
    opacity: 1;
    -moz-transform: none;
    transform: none;
  }

}

@keyframes layout-effect4 {

  0% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    -moz-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    -moz-transform: none;
    transform: none;
  }

}

/*/
///
///  layout effect 5
///
/*/

.layout-effect5 {
  -webkit-animation-name: layout-effect5;
  -moz-animation-name: layout-effect5;
  animation-name: layout-effect5;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes layout-effect5 {

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }

}

@-moz-keyframes layout-effect5 {

  0% {
    opacity: 0;
    -moz-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  100% {
    opacity: 1;
    -moz-transform: none;
    transform: none;
  }

}

@keyframes layout-effect5 {

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    -moz-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    -moz-transform: none;
    transform: none;
  }

}

/*/
///
///  layout effect 6
///
/*/

.layout-effect6 {
  -webkit-animation-name: layout-effect6;
  -moz-animation-name: layout-effect6;
  animation-name: layout-effect6;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes layout-effect6 {

  0% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  50% {
    opacity: 1;
  }

}

@-moz-keyframes layout-effect6 {

  0% {
    opacity: 0;
    -moz-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  50% {
    opacity: 1;
  }

}

@keyframes layout-effect6 {

  0% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    -moz-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  50% {
    opacity: 1;
  }

}

/*/
///
///  layout effect 7
///
/*/

.layout-effect7 {
  -webkit-animation-name: layout-effect7;
  -moz-animation-name: layout-effect7;
  animation-name: layout-effect7;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes layout-effect7 {

  0% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
  }

  100% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }

}

@-moz-keyframes layout-effect7 {

  0% {
    -moz-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -moz-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -moz-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -moz-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
  }

  60% {
    -moz-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1;
  }

  80% {
    -moz-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
  }

  100% {
    -moz-transform: perspective(400px);
    transform: perspective(400px);
  }

}

@keyframes layout-effect7 {

  0% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -moz-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -webkit-transition-timing-function: ease-in;
    -moz-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -moz-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -webkit-transition-timing-function: ease-in;
    -moz-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    -moz-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    -moz-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
  }

  100% {
    -webkit-transform: perspective(400px);
    -moz-transform: perspective(400px);
    transform: perspective(400px);
  }

}

/*/
///
///  layout effect 8
///
/*/

.layout-effect8 {
  -webkit-animation-name: layout-effect8;
  -moz-animation-name: layout-effect8;
  animation-name: layout-effect8;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes layout-effect8 {

  0% {
    opacity: 0;
    -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
    transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
    transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
  }

}

@keyframes layout-effect8 {

  0% {
    opacity: 0;
    -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
    transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
    transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
  }

}
