
.reference-slider-gadget {
    position: relative;
    margin-bottom: 20px;
}

.reference-slider-gadget .flex-control-nav {
    bottom: -15px;
}

.reference-slider-gadget > div:first-child {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    z-index: 1;
}

.reference-slider-gadget .testimonial-content {
    max-width: 1000px;
    width: 80%;
    margin: 0 auto 30px auto;
}

.reference-slider-gadget ul.slides {
    color: rgba(130, 132, 139, 1);
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.reference-slider-gadget ul.slides > li {
    position: absolute;
    opacity: 0;
}

.reference-slider-gadget ul.slides > li:first-child {
    position: relative;
    opacity: 1;
}

.reference-slider-gadget .testimonial-content p {
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 1em;
    padding: 0 14px;
}

@media only screen and (min-width: 768px) {
    .reference-slider-gadget .testimonial-content p {
        font-size: 20px;
        font-family: 'Open Sans';
    }
}

@media only screen and (min-width: 1170px) {
    .reference-slider-gadget .testimonial-content p {
        font-size: 24px;
        line-height: 1.6;
    }
}

.reference-slider-gadget .author {
    display: inline-block;
    vertical-align: top;
    text-align: center;
    line-height: 1;
    font-size: 14px;
    margin-top: 4px;
}

.reference-slider-gadget .author span {
    display: inline-block;
    padding-left: 0;
    font-size: 14px;
    line-height: 24px;
    font-family: 'Open Sans', sans-serif;
    font-style: italic;
    font-weight: 300;
}

@media only screen and (min-width: 768px) {
    .reference-slider-gadget .author {
        line-height: 1.4;
        font-size: 18px;
    }
}

.flex-direction-nav a {
    text-decoration: none;
    display: block;
    width: 40px;
    height: 40px;
    margin: -20px 0 0;
    position: absolute;
    top: 50%;
    z-index: 9999;
    overflow: hidden;
    opacity: 1;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.5);
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.flex-direction-nav a:before {
    font-size: 20px;
    color: rgba(0, 0, 0, 0.5);
}

.flex-direction-nav .flex-next {
    right: 0;
    text-align: right;
}

.flex-direction-nav .flex-prev {
    left: 0;
}

.reference-slider-gadget .flex-control-paging li a {
    width: 6px;
    height: 6px;
}
