/***** General Style *****/
/* GRID */
[class*="span"]
{
    float:left;
    margin-left:20px
}

.clearfix
{
    zoom:1
}

.clearfix:before,.clearfix:after
{
    content:"";
    display:table
}

.clearfix:after
{
    clear:both
}

.row:before,.row:after
{
    content:"";
    display:table
}

.row:after
{
    clear:both
}

.container
{
    margin-left:auto;
    margin-right:auto;
    width:940px;
    zoom:1
}

.container:before,.container:after
{
    content:"";
    display:table
}

.container:after
{
    clear:both
}

.relative
{
    position:relative
}

.row
{
    margin-left:-20px
}

.span12
{
    width:940px
}
/* HEADING */
#slides h4{
    font-size: 17px;
    font-weight: 400;
    line-height: 1.25em;
    margin: 15px 0 20px ;
    text-align: center;
    color: #222;
}
.light #slides h4{
    color: #ffffff;
}
#slides blockquote
{
    background:none;
    color:#1f3642;
    font-size:23px;
    line-height:1.3em;
    padding: 30px 15px 3px;
    position:relative;
    font-weight: 300;
    border: none;
    margin:0;
    text-align: center;
}
#slides blockquote:before{
    content: open-quote;
    font-size:32px;
}
blockquote:after{
    content: close-quote;
    font-size:32px;
}

#slides blockquote p
{
    margin:0; 
    display:none;;
}


/***** Testimonials *****/

.testimonial{
    position: relative;
    overflow: hidden;
    background-position: center center;
}

.testimonial.has-image .quote{
    float: left;
    width:70%;
}

.testimonial.has-background{
    background-color: #fff;
    background-color: rgba(255, 255, 255, .5);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;

    padding: 10px 20px 30px 20px;
}

.testimonial.skin-light.has-background{
    background-color: #000;
    background-color: rgba(0, 0, 0, .5);
}

#slides .testimonial  blockquote{
    padding: 20px 37px !important;
    background: none;
    font-size: 17px;
    font-weight: 300;
    line-height: 30px;
    color:#1a1a1a;
    border: none;
}
.testimonial .name{
    font-size: 14px;
    text-align: center;
    margin: 0;
}

.testimonial.skin-light blockquote{
    color:#FFF;
}

.testimonial .span12{
    margin-top: 2%;
}

.testimonial .light #slides blockquote,
.testimonial .light blockquote:before,
.testimonial .light blockquote:after,
.testimonial .light .name
{
    color: #ffffff;
}


.testimonial hr{
    margin-top: 0;
    margin-bottom: 10px;
    width: 23%;
}


/* Element Query */

.testimonial[data-maxwidth="580"] .image{
    float: none;
    display: table;
    margin: 0 auto 30px;
}

.testimonial[data-maxwidth="580"].has-image .quote{
    float: none;
    width: auto;
    text-align: center;
}

.testimonial[data-maxwidth="580"] hr{
    width:40%;
    margin-left: auto;
    margin-right: auto;
}

.testimonial[data-maxwidth="580"] .name{
    margin-left: 0;
}

/* Testimonial group */

.testimonials{
    position: relative;
}

.testimonials .name{
    right:50px;
}

.testimonials .testimonials-controls{
    position: absolute;
    bottom:0;
    right:0;
    z-index: 10;
}

.testimonials .testimonials-controls:after{
    content: "";
    display: table;
    clear:both;
}

.testimonials .testimonials-controls .separator,
.testimonials .testimonials-controls .next,
.testimonials .testimonials-controls .previous{
    display: block;
    text-indent: -1000px;
    float:left;
    overflow: hidden;
}

.testimonials .testimonials-controls .next,
.testimonials .testimonials-controls .previous{
    display: block;
    width:7px;
    height:13px;
    background-size: 14px 13px;
    text-indent: -1000px;
    float:left;
}

.testimonials .testimonials-controls .next:focus ,
.testimonials .testimonials-controls .previous:focus {
    outline: none;
}

.testimonials .testimonials-controls .next{
    background-position: -7px 0;
}

.testimonials .testimonials-controls .separator{
    margin:0 5px;
    height:13px;
    width:1px;
    background-color: #b9b9b9;
}

#slides{
    padding:2px  0;
    margin: 0;
    list-style: none;
}

#slides li{
    height: auto;
    position: relative;
    font-style: normal;
}


.pagination {
    text-align: center;
    margin-top: 15px;
}
.light .pagination a {
    background: url(../img/light-pagination.png) no-repeat transparent;
}

.pagination a {
    background: url(../img/pagination.png) no-repeat transparent;
    width: 13px;
    height: 13px;
    margin: 0;
    display: inline-block;
}
.pagination a.selected {
    background-position: 0 -12px;
    cursor: default;
}
.pagination a span {
    display: none;
}
.clearfix {
    float: none;
    clear: both;
}

/* Responsive View */
/* Landscape Phone */
@media (max-width: 480px) {
    .testimonial{
        height: auto !important;
    }
}
