/**
 * Ametica Reviews Plugin - Global CSS
 * Version: 3.1.0
 * Description: Global styles for all Ametica Reviews components
 */

/* amtcReviews upravy - Not documented */

.wa-archive-main-area__sidebar .heureka-reviews-badge {
    margin-top: var(--space-s);
}

.heurekaShopReviews.heurekaShopReviewsLongBottom ul > li {
    flex: 0 0 33%;
    max-height: 500px;
    opacity: 1;
    transition: ease-in-out 0.1s;
    overflow: hidden;
}

.heurekaShopReviews ul > li.hidden {
    opacity: 0;
    max-height: 0px;
}

.heurekaShopReviewsShort ul > li:nth-child(odd) .vc-rating-item, 
.heurekaShopReviewsLongTop ul > li:nth-child(odd) .vc-rating-item {
    padding-left: 0px;
}

.heurekaShopReviewsShort ul > li:nth-child(even) .vc-rating-item, 
.heurekaShopReviewsLongTop ul > li:nth-child(even) .vc-rating-item {
    padding-right: 0px;
}

.heurekaShopReviews.heurekaShopReviewsLongBottom ul > li:nth-child(3n+1) .vc-rating-item {
    padding-left: 0px;
}

.heurekaShopReviews.heurekaShopReviewsLongBottom ul > li:nth-child(3n+3) .vc-rating-item {
    padding-right: 0px;
}

.heurekaShopReviews button.loadMoreReviews, 
.heurekaShopReviews button.goToAllReviews {
    font-size: 1em;
    background-color: #21a73f;
    padding: 0.5em 1.3em 0.5em 1.3em;
    float: right;
    color: white;
    font-weight: 500;
    transition: ease-in-out 0.1s;
    border: 0;
    border-radius: .2em;
    align-self: flex-end;
    cursor: pointer !important;
}

.sr-only {
    border: 0;
    clip: rect(0,0,0,0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.vc-rating-stars-rating {
    background-position: 0 0;
    position: absolute;
    top: 0;
}

.heurekaShopReviews button.loadMoreReviews:hover, 
.heurekaShopReviews button.goToAllReviews:hover {
    background-color: #179433 !important;
    color: #fff !important;
}

@media only screen and (max-width: 489px) {
    
    .heurekaShopReviews ul > li .vc-rating-item {
        padding: 0; 
    }
}

.heurekaShopReviewsLongBottom {
    overflow: hidden;
    transition: ease-in-out 0.2s;
    display: flex;
    flex-direction: column;
}

.heurekaShopReviews .loadingIndicator {
    display: none;
    align-self: center;
}

.heurekaShopReviews.loading .loadingIndicator {
    display: block;
}

.heurekaShopReviewsLongBottom.hidden {
    max-height: 0px;
    opacity: 0px;
}

.heurekaShopReviewsLongBottom h1 {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    margin-bottom: 30px;
    text-align: center;
}

@media (max-width: 767px) {

    body .heureka-reviews-wrapper {
        z-index: 100;
    }

    body .heureka-reviews-wrapper .primary-button {
        margin-top: var(--space-l);
    }
}