/*
* SFS Review CSS
*/

.sfs-review form.review-form {
    display: none;
}

.sfs-review .rate {
    display: inline-block;
}

.sfs-review .rate:not(:checked)>input {
    position: absolute;
    visibility: hidden;
}

.sfs-review .rate:not(:checked)>label {
    float: right;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    font-size: 20px;
    color: #ccc;
    text-indent: -1px;
    margin: 0 3px;
    line-height: 0;
}

.sfs-review .rate>input:checked~label {
    color: #ffc700;
}

.sfs-review .rate:not(:checked)>label:hover,
.sfs-review .rate:not(:checked)>label:hover~label {
    color: #deb217;
}

.sfs-review .rate>input:checked+label:hover,
.sfs-review .rate>input:checked+label:hover~label,
.sfs-review .rate>input:checked~label:hover,
.sfs-review .rate>input:checked~label:hover~label,
.sfs-review .rate>label:hover~input:checked~label {
    color: #c59b08;
}

.list-of-reviews span.dashicons-star-filled.r-rate,
.review-raiting span.dashicons-star-filled {
    color: #ffc100;
}

.sfs-review.reviewpostbox-form button.sfcr-submit-review,
.view-review-form button.sfcr-create-review {
    color: #fff;
    background-color: #ffc100;
    border-color: #e6ae00;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.sfs-review.reviewpostbox-form button.sfcr-cancel-review {
    color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.review-form input:focus,
.review-form textarea:focus {
    border: 1px solid #ccc;
    outline: 0;
}

.list-of-reviews {
    padding-top: 30px;
}

.list-of-reviews .average-review {
    padding: 15px 0;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    margin: 15px 0;
}

.list-of-reviews article {
    padding-bottom: 5px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 15px;
}

form.review-form .error-msg {
    color: red;
}

.list-of-reviews .review-content {
    padding: 10px;
    background-color: #ededed;
    border-radius: 5px;
}

.list-of-reviews .review-content p {
    margin: 0;
}

.sfs-review .sfs-review-submit-btn {
    display: block;
    padding-top: 20px;
}

.navigation.pagination .nav-links .page-numbers {
    padding: 10px 10px;
    background-color: #ccc;
    line-height: 1;
}

.navigation.pagination .nav-links span.page-numbers.current,
.navigation.pagination .nav-links .page-numbers:hover {
    background-color: #000;
    color: #fff;
}