/***************
Filters Section
***************/

.reviews-with-filters-top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 30px;
}

.dropdown-countries,
.dropdown-rating {
    margin-left: 20px;
}

.dropdown-rating,
.dropdown-program,
.dropdown-countries {
    position: relative;
    display: inline-block;
}

.dropbtn-rating,
.dropbtn-program,
.dropbtn-countries {
    border: 1px solid #D0D5DD;
    color: #31216B;
    padding: 10px;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
    border-radius: 8px;
    background-color: #fff;
    font-weight: 600;
}

.dropbtn-rating span,
.dropbtn-program span,
.dropbtn-countries span {
    padding-right: 5px;
}

.dropdown-rating .dropbtn-rating i,
.dropdown-program .dropbtn-program i,
.dropdown-countries .dropbtn-countries i {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transition: transform 0.1s ease-in;
}

.dropdown-rating.rotate-arrow .dropbtn-rating i,
.dropdown-program.rotate-arrow .dropbtn-program i,
.dropdown-countries.rotate-arrow .dropbtn-countries i {
    transform: rotate(-180deg);
    -webkit-transform: rotate(-180deg);
    -moz-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    -o-transform: rotate(-180deg);
    transition: transform 0.1s ease-in;
}

.dropdown-content-rating {
    display: none;
    position: absolute;
    background-color: white;
    width: 180px;
    right: 0px;
    z-index: 9999;
    border-radius: 8px;
    border: 1px solid #EAECF0;
    top: 45px;
    height: 210px;
    overflow-y: scroll;
}

.dropdown-content-program,
.dropdown-content-countries {
    display: none;
    position: absolute;
    background-color: white;
    width: 250px;
    right: 0px;
    z-index: 9999;
    border-radius: 8px;
    border: 1px solid #EAECF0;
    top: 45px;
    height: 210px;
    overflow-y: scroll;
}

.dropdown-content-rating label,
.dropdown-content-program label,
.dropdown-content-countries label {
    margin: 4px;
    padding: 10px 10px 10px 35px;
    cursor: pointer;
    display: block;
    position: relative;
    font-size: 14px;
    color: #31216B;
    line-height: 1;
    border-radius: 8px;
    font-weight: 600;
}

.dropdown-content-rating label:hover,
.dropdown-content-program label:hover,
.dropdown-content-countries label:hover {
    background-color: #F9FAFB;
}

.show {
    display: block;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.reviews-with-filters-top-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.filter-hide-empty-content {
    display: inline-block;
    font-size: 14px;
    color: #31216B;
    line-height: 1;
    margin-top: 15px;
    padding-left: 20px;
    position: relative;
    cursor: pointer;
}

.filter-hide-empty-content:before {
    content: '';
    width: 13px;
    height: 13px;
    border: 1px solid #D0D5DD;
    position: absolute;
    left: 0px;
    top: 0px;
    border-radius: 3px;
}

.filter-hide-empty-content.hide-items:before {
    border: 1px solid #FB9F00;
    background-color: #FB9F00;
}

.filter-hide-empty-content.hide-items:after {
    content: "\f00c";
    position: absolute;
    left: 2px;
    top: 2px;
    font-size: 11px;
    color: #fff;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.dropdown-content-rating label:before,
.dropdown-content-program label:before,
.dropdown-content-countries label:before {
    content: '';
    width: 13px;
    height: 13px;
    border: 1px solid #D0D5DD;
    position: absolute;
    left: 10px;
    top: 10px;
    border-radius: 3px;
}

.dropdown-content-rating label.custom-checkbox.active-filter:before,
.dropdown-content-program label.custom-checkbox.active-filter:before,
.dropdown-content-countries label.custom-checkbox.active-filter:before {
    border: 1px solid #FB9F00;
    background-color: #FB9F00;
}

.dropdown-content-rating label.custom-checkbox.active-filter:after,
.dropdown-content-program label.custom-checkbox.active-filter:after,
.dropdown-content-countries label.custom-checkbox.active-filter:after {
    content: "\f00c";
    position: absolute;
    left: 12px;
    top: 12px;
    font-size: 11px;
    color: #fff;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.single-review {
    padding: 20px;
    border-radius: 16px;
    background-color: rgba(226, 222, 240, 0.50);
    margin-bottom: 20px;
}

.single-review-stars i {
    font-size: 18px;
    color: #FB9F00;
    margin: 0px 2px;
}

.single-review-stars span {
    color: #31216B;
    font-size: 18px;
    font-weight: 600;
    padding-left: 5px;
}

.single-review-stars {
    padding-right: 10px;
}

.single-review-name {
    color: #31216B;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    padding: 0px;
}

.see-all-reviews {
    margin-top: -10px;
}

.see-all-reviews span {
    color: #31216B;
    font-weight: 600;
    cursor: pointer;
}

.single-review-address {
    color: #98A2B3;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    padding-left: 0px;
}

.single-review-content {
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    color: #31216B;
    padding-bottom: 10px;
}

.single-review-top {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    flex-wrap: wrap;
}

.single-review-bottom {
    color: #475467;
    font-size: 14px;
}

.pagination-holder {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pagination-next,
.pagination-prev {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: #31216B;
    cursor: pointer;
}

.pagination-prev i {
    padding-right: 10px;
}

.pagination-next i {
    padding-left: 10px;
}

.reviews-with-filters {
    padding: 80px 0px;
    background-color: #F9FAFB;
}

.pagination-middle {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: #31216B;
}

#currentPage {
    margin: 0px;
    border: none;
    width: 50px;
    font-size: 16px;
    border-bottom: 1px solid #98A2B3;
    text-align: center;
    padding: 0px 0px 0px 10px;
    font-weight: 600;
    background-color: transparent;
}

.no-click {
    pointer-events: none;
    opacity: 0.5;
}

body.loading-items {
    opacity: 1!important;
}

body.loading-items .single-review {
    position: relative;
    box-shadow: none!important;
}

body.loading-items .single-review:before {
    content: '';
    background: #eee;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    border-radius: 5px;
    background-size: 200% 100%;
    animation: 1.5s shine linear infinite;
    width: 100%;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    z-index: 999;
    height: 100%;
}

@keyframes shine {
    to {
        background-position-x: -200%;
    }
}

.review-logo {
    line-height: 0;
}

.review-logo img {
    height: 27px;
    display: block;
}

.courses-template-aihr-certificate-program-template .reviews-with-filters {
    background-color: #fff;
}

.courses-template-aihr-certificate-program-template .version_cp .reviews-with-filters-top-left h2 {
    -webkit-font-smoothing: auto;
    font-size: 34px !important;
    line-height: 52px !important;
    color: #31216B !important;
    font-weight: 800 !important;
    margin: 0px 0px 20px !important;
    text-align: center;
}

.reviews-with-filters-text {
    display: flex;
    align-items: center;
    padding-top: 10px;
}

.review-text {
    color: #31216b;
    font-size: 18px;
    line-height: 26px;
    font-weight: 400;
}

.reviews-with-filters-text a {
    text-decoration: underline;
    color: #FB9F00;
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
}

.reviews-with-filters-text a:hover {
    color: #FB9F00;
    font-weight: 600;
}

.filter-stars-holder {
    padding-left: 10px;
}

.filter-stars-holder i {
    font-size: 15px;
    color: #FB9F00;
    margin: 0px 2px;
}

@media screen and (max-width: 1040px) {
    .reviews-with-filters {
        padding: 60px 0px;
    }
    .reviews-with-filters-top {
        flex-direction: column;
    }
    .reviews-with-filters-top-left {
        padding-bottom: 20px;
    }
    .reviews-with-filters-top-right {
        margin-left: auto;
    }
}

@media screen and (max-width: 600px) {
    .single-review-bottom,
    .single-review-stars i {
        font-size: 14px;
    }
    .single-review-name,
    .single-review-content,
    .single-review-stars span,
    .single-review-address {
        font-size: 16px;
    }
    .reviews-with-filters-text {
        flex-direction: column;
    }
}

@media screen and (max-width: 480px) {
    .single-review-top {
        align-items: flex-start;
        flex-direction: column;
    }
    .reviews-with-filters {
        padding: 50px 0px;
    }
    .pagination-next,
    .pagination-prev {
        font-size: 14px;
    }
    .pagination-middle {
        font-size: 14px;
    }
    #currentPage {
        width: 30px;
        font-size: 14px;
        padding: 0px 0px 0px 0px;
    }
    .filter-holder {
        flex-direction: column;
        display: flex;
        width: 100%;
    }
    .reviews-with-filters-top-right {
        margin-left: 0;
    }
    .dropbtn-rating,
    .dropbtn-program,
    .dropbtn-countries {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
    }
    .dropdown-countries,
    .dropdown-rating {
        margin-left: 0px;
        margin-top: 10px;
    }
}


/*******
Filters END
*********/