/****
* Testimonials module styles
****/

/* 
testimonials menu 
*/
.testimonials-menu .menu-item {
  border-bottom: 1px solid #ccc;
  padding: 0 0 10px;
  margin: 0 0 10px;
} 
.testimonials-menu .ts-links li a:active,
.testimonials-menu .ts-links li a:link,
.testimonials-menu .ts-links li a:hover,
.testimonials-menu .ts-links li a:visited {
  text-decoration:underline;
}

.testimonials-menu img.icon {
  background:url("../../images/dingbats_categorie.gif") no-repeat 0 0 transparent;
}
.testimonials-box {
  border: #cccccc 1px solid;
  padding: 2px;
  height:200px;
}
ul.ts-links {
  margin: 5px 0 0;
  padding:0;
  list-style:none;
}
ul.ts-links li {
  padding:0 0 4px;
}

.testimonials-menu .signature-line {
  text-align:right;
  padding:4px 0 0 0;
  font-size:10px;
}
.testimonials-menu .author  {
  font-weight:bold;
}
/* 
  testimonials list
*/
h1.ts-title {
  margin: 10px 0 20px;
}
.ts-item {
  margin: 0 0 20px;
  padding: 0 0 20px;
  border-bottom: 1px solid #ccc;
}
.ts-text {
  background: url(quote_left.png) no-repeat 0 0;
  padding: 5px 0 5px 35px;
  margin: 0 0 10px 0;
  font-size:12px;
}
.ts-author {
  display: block;
  font-weight: bold;
  text-align: right; 
}
.ts-date {
  display: block;
  font-weight: bold;
  text-align: right;
  color:#aaa;
}
.ts-right-quote {
  background: url(quote_right.png) no-repeat 100% 100%;
  padding: 0 35px 0 0;
}

.ts-add-new {
  text-align:right;
  margin: 20px 0 30px;
}
.ts-add-new .button {
  float:right;
}
.no-testimonials {
  text-align:left;
}
.no-testimonials .button {
  float:left;
}

/*
	pagination mechanism
*/
.nav-pages {
  white-space: nowrap;
  vertical-align: bottom;
  padding: 0px;
  margin: 0px;
}
.nav-pages-title {
  padding-right: 10px;
}
.nav-pages img {
  vertical-align: bottom;
  width: 15px;
  height: 15px;
}
.nav-pages a:link,
  .nav-pages a:visited,
  .nav-pages a:hover,
  .nav-pages a:active
{
  text-align: center;
  text-decoration: underline;
}
.nav-pages .left-arrow img {
  background: transparent url(../../images/navigation_arrow_left.gif) no-repeat left top;
  vertical-align: middle;
}
.nav-pages .right-arrow img {
  background: transparent url(../../images/navigation_arrow_right.gif) no-repeat left top;
  vertical-align: middle;
}
.nav-pages .current-page {
  text-align: center;
  font-weight: bold;
}
.nav-pages .right-delimiter {
  padding-right: 12px;
}

/* Home block */
.testimonials-home-block {
   padding: 0 100px;
   margin-bottom: 40px;
   position: relative;
}
.testimonials-slider .testimonial {
    width: 100%;
}
.testimonials-slider .author {
    font-size: 21px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}
.testimonials-slider .date {
    opacity: .4;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}
.testimonials-slider .testimonial-text {
    font-size: 18px;
    line-height: 1.75em;
    opacity: .7;
}

#testimonials-slider .owl-prev,
#testimonials-slider .owl-next {
    position: absolute;
    top: 100px;
    transform: translateY(-50%); 
    z-index: 100;    
}
#testimonials-slider .owl-prev { left: -80px; }
#testimonials-slider .owl-next { right: -80px; }

#tst-prev,
#tst-next,
.owl-prev.disabled #tst-prev,
.owl-next.disabled #tst-next{
    background-color: rgba(255,255,255,0.4);
    border-radius: 50%;
    width: 43px;
    line-height: 43px;
    text-align: center;
    font-size: 25px;
    cursor: pointer; 
    border: #f6f6f6 2px solid;
    color: #d7d7d7;
    position: relative;
}

.owl-prev.disabled #tst-prev,
.owl-next.disabled #tst-next {
    cursor: default;
}
#testimonials-slider .owl-prev:not(.disabled):hover #tst-prev,
#testimonials-slider .owl-next:not(.disabled):hover #tst-next {
    background-color: #f0951f;
    border-color: #f0951f;
    color: #fff;  
}
.testimonials-slider ul.ts-links li {
    padding-bottom: 10px;
}

@media screen and (max-width: 768px) {

    .testimonials-home-block {
        padding-left: 0;
        padding-right: 0;
    }
    #testimonials-slider .owl-prev,
    #testimonials-slider .owl-next { 
        top: 20px;
    }
    #testimonials-slider .owl-prev {
        left: -8px;
    }
    #testimonials-slider .owl-next {
        right: -8px;
    }
    #tst-prev, #tst-next {
        width: 26px;
        line-height: 26px;
        font-size: 18px;
    }    

    .testimonial-text {
        font-size: 16px;
        line-height: 1.5em;
    }
}