/*
    Frontend CSS Stylesheet for Good Reviews for WordPress
*/

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    left: -2000px;
}

.screen-reader-text:focus {
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #000;
    display: block;
    font-size: 16px;
    font-weight: bold;
    height: auto;
    line-height: normal;
    padding: 15px 23px 14px;
    position: absolute;
    left: 5px;
    top: 5px;
    text-decoration: none;
    width: auto;
    z-index: 100000;
}

.gr-rating-stars .dashicons-star-filled {
    color: #F6BB06;
}

.gr-rating-stars .dashicons-star-filled.empty {
    color: #c9c9b6;
}

/* OWL */
.owl-carousel.gr-reviews {
    font-size: 1em;
}

.owl-nav {
    position: absolute;
    top: -45px;
    right: 0;
    width: auto;
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    background: none;
    color: inherit;
    border: none;
    width: 16px;
    font-size: 2em;
}

.owl-theme .owl-nav [class*="owl-"]:hover {
    background: none;
    color: #0A1183;
    text-decoration: none;
}

.owl-item .gr-review-date {
    display: block;
    font-size: 85%;
    opacity: 0.7;
    position: absolute;
    bottom: 13px;
    z-index: 10;
}

.owl-item .gr-review-url {
    display: block;
    margin-top: 1em;
    position: absolute;
    bottom: 13px;
    right: 26px;
    font-size: 85%;
}

.owl-item .gr-review-body {
    font-size: 0.95em;
    font-style: normal;
    max-height: 144px;
    overflow: hidden;
    margin-top: 6px;
}

.owl-item .gr-content {
    background: #F4F4F4;
    color: #000;
    padding: 20px 20px;
    border-radius: 6px;
    position: relative;
    height: 240px;
}

.owl-item .gr-rating-stars {
    line-height: 1.3;
}

.owl-item .gr-rating-stars .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

/* SLICK */
/*.gr-reviews-carousel {
    display: none;
}

.slick-prev::before, .slick-next::before {
    color: #0A1183 !important;
}*/

.gr-reviews {
    font-size: 1em;
}

.gr-review {
    margin: 1em 0 3em;
    font-style: normal;
}

.gr-content {
    background: #f0f0f0;
    color: #444444;
    padding: 26px 26px;
    border-radius: 8px;
    position: relative;
}

.gr-review-body {
    font-size: 1.1em;
    font-style: normal;
}

.gr-content:after {
    content: '';
    display: block;
    position: absolute;
    left: 35px;
    bottom: -10px;
    width: 20px;
    height: 20px;
    z-index: 1;
    background-color: inherit;
    -webkit-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
}

.gr-author-url:before {
    content: '';
    font-family: Dashicons;
    float: left;
    margin: 0 6px 0 0;
}

.gr-rating-numbers {
    font-size: 2em;
}

.gr-review-categories {
}

.gr-review-categories img {
    width: 22px !important;
}

/*.gr-review-body:before {
    content: '';
    font-family: Dashicons;
    display: block;
    font-size: 2em;
    color: #979797;
    margin: 0 6px 0 0;
}*/


.gr-review-body em {
    font-style: normal;
}

.gr-review-date {
    display: block;
    font-size: 85%;
    opacity: 0.7;
}

.gr-review-url {
    display: block;
    margin-top: 1em;
    cursor: pointer;
}

.gr-author-text {
    font-style: normal;
}

.gr-author {
    display: block;
    margin-top: 1.5em;
    text-align: left;
    margin-left: 2em;
    background: #fff;
}

.gr-author-name {
    font-weight: bold;
}

.gr-author-row-top {
    display: flex;
    justify-content: space-between;
}

.gr-author-name-top {
    font-weight: bold;
    margin-bottom: 8px;
    overflow: hidden;
    white-space: nowrap;
    max-width: 80%;
    text-overflow: ellipsis;
}

.gr-author-affiliate {
    font-size: .85em;
}

.gr-item-has-image .gr-author:before,
.gr-item-has-image .gr-author:after {
    content: " ";
    display: table;
}

.gr-item-has-image .gr-author:after {
    clear: both;
}

.gr-item-has-image .gr-author-text {
    float: left;
    width: 75%;
}

.gr-item-has-image .gr-author-name,
.gr-item-has-image .gr-author-affiliation {
    padding-right: 1em;
}

.gr-item-has-image .gr-author-img {
    float: right;
    width: 25%;
}

.gr-item-has-image .gr-author-img img {
    display: block;
    width: 100%;
    height: auto;
}

/* Hide cycled reviews on load */
.gr-reviews-cycle .gr-review {
    display: none;
}

/* On screens that are 600px or less, set the background color to olive */
@media screen and (max-width: 768px) {
    .owl-dots {
        display: none;
    }
}

