.title {
    height: 2em;
}
.fa-shopping-cart {
    font-size: 16px !important;
}

.card-img-height {
    height: 150px;
    object-fit: cover;
}

/* price range css */
.range-slider .rangeValues {
    display: block;
    box-shadow: 0 0 20px rgba(0, 139, 253, 0.25);
    font-size: 12px;
}

input[type="range"] {
    --webkit-appearance: none;
    position: absolute;
    left: 0;
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 300px;
    height: 5px;
    background: #ddd;
    border: none;
    border-radius: 3px;
}

input[type="range"]::-webkit-slider-thumb {
    --webkit-appearance: none;
    border: none;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    margin-top: -6px;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

input[type="range"]:focus {
    outline: none;
}

input[type="range"]:focus::-webkit-slider-runnable-track {
    background: #ccc;
}

/* releated to buy_courses mustache */
.img-div img {
    object-fit: cover;
}

.rating {
    unicode-bidi: bidi-override;
    direction: rtl;
    text-align: center;
}

.star {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 2px;
    background-image: url("filled-star.png");
}

.star.empty {
    background-image: url("empty-star.png");
}

.text-warning {
    color: #ffc107 !important;
}

.price-tag {
    /* position: absolute; */
    bottom: 4px;
    left: 4px;
    background-color: #fff;
    padding: 5px 10px;
    font-weight: bold;
    border: white !important;
}

.duration-tag {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background-color: #fff;
    padding: 5px 10px;
    font-weight: bold;
    border: white !important;
}

.expired-tag {
    position: absolute;
    bottom: 4px;
    left: 4px;
    background-color: #fff;
    color: #fff;
    font-weight: bold;
}

#course-filters-mobile-view .filter-container {
    overflow: scroll;
}

@media only screen and (min-width: 3000px) {
    .img-div img {
        height: 398px;
    }
}

@media only screen and (min-width: 1851px) and (max-width: 3000px) {
    .img-div img {
        height: 220px;
    }
}

@media only screen and (min-width: 1501px) and (max-width: 1850px) {
    .img-div img {
        height: 163px;
    }
}

@media only screen and (min-width: 1221px) and (max-width: 1500px) {
    .img-div img {
        height: 150px;
    }
}

@media only screen and (min-width: 981px) and (max-width: 1220px) {
    .img-div img {
        height: 134px;
    }
}

@media only screen and (min-width: 769px) and (max-width: 980px) {
    .img-div img {
        height: 138px;
    }
}

@media only screen and (min-width: 577px) and (max-width: 768px) {
    .img-div img {
        height: 150px;
    }
}

@media only screen and (max-width: 576px) {
    .img-div img {
        height: 187px;
    }
}

.img-div {
    border-bottom: inherit !important;
}

.grid-side-filters {
    position: sticky;
    top: 80px;
    align-self: flex-start;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    z-index: 1020;
  }  
  
@media only screen and (min-width: 1200px) {
    .splide__slide {
        width: calc(30% - 6.5rem) !important;
    }
    .filters_visible .splide__slide {
        width: calc(30% - 2.5rem) !important;
    }
}

.splide {
    height: calc(100% - 12%) !important;
}

.splide__track {
    height: 100% !important;
}