/* Custom scroll container */
.custom-scroll-container {
    display: flex;
    overflow-x: hidden;
    /* Initially hide the scrollbar */
    gap: 20px;
    /* Optional: space between buttons */
    padding: 10px 0;
    /* Optional: space around the content */
    white-space: nowrap;
    /* Prevents wrapping */
    max-width: 100%;
    /* Optional: ensures container doesn't overflow */
}

/* Show scrollbar only when the container is hovered */
.custom-scroll-container:hover {
    overflow-x: auto;
    /* Show the horizontal scrollbar on hover */
}

/* Styling for the scrollbar */
.custom-scroll-container::-webkit-scrollbar {
    height: 6px;
    /* Make the scrollbar thin (height for horizontal scrollbar) */
}

.custom-scroll-container::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    /* Set the color of the scrollbar thumb */
    border-radius: 10px;
    /* Rounded corners for the scrollbar thumb */
}

.custom-scroll-container::-webkit-scrollbar-track {
    background-color: transparent;
    /* Optional: make the track background transparent */
}



/* Custom Banner Filter Form Styles */
.custom-banner-filter-form {
    background-color: #f0f0f0;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.custom-form-wrapper {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.custom-row {
    display: flex;
    /* Flexbox layout for same-line items */
    align-items: center;
    gap: 20px;
    /* Spacing between form elements */
    flex-wrap: nowrap;
    /* Prevent wrapping, keep items in one row */
}

.custom-col {
    flex: 1 1 20%;
    /* Distribute available space evenly */
    max-width: 420px;
    /* Ensure columns don’t grow too wide */
}

.custom-input-group {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #dcdcdc;
    background-color: #ffffff;
    padding: 10px;
}

.custom-input-group label {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #888888;
    font-size: 18px;
}

.custom-form-control,
.custom-select {
    padding-left: 35px;
    font-size: 16px;
    border-radius: 10px;
    width: 100%;
    height: 45px;
}

.custom-btn {
    background-color: #007bff;
    border: none;
    color: #ffffff;
    font-size: 16px;
    width: 50%;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-btn:hover {
    background-color: #0056b3;
}

.custom-rounded-pill {
    border-radius: 50px;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .custom-row {
        flex-wrap: wrap;
        /* Allow wrapping on smaller screens */
    }

    .custom-col {
        flex: 1 1 48%;
        /* Columns take up 48% width for better responsiveness */
        max-width: 48%;
        /* Adjust the max-width for better fit */
    }
}

@media (max-width: 480px) {
    .custom-btn {
        font-size: 14px;
    }

    .custom-col {
        flex: 1 1 100%;
        /* Full-width columns on very small screens */
    }
}

.eImage span {
    width: auto !important;
}

.course-item-one .content .title {
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal
}

/* Show the dropdown when hovering */
.hover-dropdown:hover .dropdown-menu {
    display: block;
}

/* Hide the dropdown by default */
.dropdown-menu {
    display: none;
    position: absolute;
    z-index: 1000;
}

/* -----------------------------------------
    Ratings CSS
----------------------------------------- */
/* Ratings CSS */
.ratings {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-inline-start: -3px;
    gap: 5px;
}

.ratings .rate {
    position: relative;
    background-position: 0 -13px;
    background-repeat: repeat-x !important;
    height: 13px;
    width: 90px;
    display: inline-block;
}

.ratings .rating-icon {
    background-position: 0 0;
    background-repeat: repeat-x !important;
    height: 13px;
    width: 0%;
    /* This will dynamically adjust based on the rating */
    transition: width 0.5s ease-out;
}

.ratings .ratings-total {
    font-size: 12px;
    line-height: 1;
}

.ratings.size-md .rate {
    background-position: 0 -15px;
    height: 15px;
    width: 115px;
}

.ratings.size-md .rating-icon {
    height: 15px;
}

.ratings.size-md .ratings-total {
    font-size: 14px;
}

.ratings.size-lg .rate {
    background-position: 0 -20px;
    height: 20px;
    width: 145px;
}

.ratings.size-lg .rating-icon {
    height: 20px;
}

.ratings.size-lg .ratings-total {
    font-size: 16px;
}

.ratings-total {
    display: inline-block;
    padding-left: 8px;
    /* Adjust to prevent overlap with rating bar */
}

.ellipsis-line-1 {
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal
}

.ebook-item-one .content .title {
    padding-bottom: 5px;
}

/* Positioning the icon inside the select */
.select2-container--default .select2-selection--single {
    padding-left: 10px;
    /* Create space for the icon */
}

.select2-selection__rendered {
    padding-left: 30px;
    /* Create space for the icon */
}

.select2-selection__arrow {
    right: 10px;
    /* Keep the dropdown arrow properly aligned */
}

/* Icon positioning (absolute within the input group) */
.input-group .input-group-text {
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

/* Position the select box correctly with padding for the icon */
.input-group .select2-container {
    width: 100% !important;
}

#courseImageCarousel .carousel-item img {
    height: 300px;
    /* Set your desired height */
    object-fit: fill;
    /* Ensures images fit nicely without distortion */
}

.course-left-side .accordion-button::after {
    margin-left: -35px;
    background-size: 13px;
    top: 1px;
    position: static !important;
}

.accordion-header {
    margin: 0px 0px 0px !important;
    ;
}

.faq-5 {
    margin: 30px 24px;
}

.reviews {
    margin: 30px 24px;
}

.faq-5 .accordion-item .accordion-header .accordion-button::after {
    background-size: 25px !important;
}

.course-decription .form-group ul.rating li {
    margin-bottom: 10px;
    display: inline-block;
    cursor: pointer;
}

.course-decription .form-group ul.rating li:after {
    display: inline-block;
    content: "|";
    margin-left: 10px;
    margin-right: 7px;
}

.course-decription .form-group ul.rating li:last-child:after {
    display: none;
}

.course-decription .form-group ul.rating li:hover span {
    color: #46B74C;
}

.bread-crumb h1 {
    font-size: 40px !important;
}

.blog-body .top .image .btn {
    position: absolute;
    /* top: 120%; */
    right: 43%;
    z-index: 1;
}

/* user profile css  */

.main-info {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: auto;
}

.list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 0;
    list-style: none;
}

.list li {
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.list li span:first-child {
    color: #555;
    font-weight: 600;
}

.custom-accordion-two .accordion-item .accordion-header .accordion-button {
    font-weight: 400 !important;
    color: #6d7487 !important;
}

.custom-accordion-two .accordion-item .accordion-header .accordion-button::after {
    height: 8px !important;
    width: 10px !important;
}

#accordionFaq {
    max-height: 350px;
    /* Set a max height to trigger scrolling */
    overflow-y: hidden;
    /* Hide the scrollbar by default */
    padding-right: 15px;
    /* Adjust for scrollbar width if needed */
    transition: max-height 0.3s ease;
    /* Optional: smooth transition for the scrollbar */
}

/* On hover, show the scrollbar */
#accordionFaq:hover {
    overflow-y: auto;
    /* Show scrollbar when hovered */
}

/* Customize the scrollbar */
#accordionFaq::-webkit-scrollbar {
    width: 4px;
    /* Set a smaller width for the scrollbar */
}

#accordionFaq::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    /* Set a thumb color */
    border-radius: 10px;
    /* Round the thumb */
}

#accordionFaq::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* Set the track color */
    border-radius: 10px;
    /* Round the track */
}



.course-item-one .img-rating .img img {
    width: 100%;
    height: 200px;
    object-fit: cover;

}

.course-item-one {
    margin-bottom: 40px;
    margin-top: 40px;
}


.icon-container {
    padding: 15px;
    border-radius: 100px;

}

.icon-container .icon {
    font-size: 30px;
}

.form-container {
    margin-top: 50px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 0.75rem;
    padding-left: 40px;
    /* Space for icons */
    padding-right: 10px;
    font-size: 1rem;
}

.btn-custom {
    background-color: #007bff;
    color: #fff;
    border-radius: 0.75rem;
    padding: 10px 15px;
    font-size: 1rem;
    width: 100%;
    text-transform: uppercase;
}

.btn-custom:hover {
    background-color: #0056b3;
    color: #fff;
}

.input-container {
    position: relative;
}

/* Icons inside the input fields */
.input-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

/* Custom spacing for each input container */
.col-md-3 {
    margin-bottom: 15px;
}

@media (max-width: 767px) {
    .form-container {
        padding: 20px;
    }
}


.card-img img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

/* Card Info - Title and Vendor Details */
.card-info {
    text-align: center;
}

.card-info .title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    padding-left: 40px;
}

.card-info .text-muted {
    font-size: 14px;
    color: #777;
}

.card-info .text-muted a {
    text-decoration: none;
    color: #007bff;
}

.card-info .text-muted a:hover {
    text-decoration: underline;
}

.card-info div {
    font-size: 14px;
    margin-bottom: 5px;
}

.card-info .color-dark {
    color: #333;
}

/* Card Details Section */
/* .card-details {
    padding: 16px;
    background-color: #f9f9f9;
} */

.card-list {
    padding-left: 0;
    margin-bottom: 15px;
}

.card-list li {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.card-list li i {
    margin-right: 8px;
    font-size: 16px;
    color: #007bff;
}

.card-details .btn-groups {
    text-align: center;
    margin-top: 20px;
}

.card-details .btn-groups .btn {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.card-details .btn-primary {
    background-color: #007bff;
    color: #fff;
    border: none;
    
}

.card-details .btn-primary:hover {
    background-color: #0056b3;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 767px) {
    .card {
        margin-bottom: 15px;
    }

    .card-info-area {
        padding: 12px;
    }

    .card-info .title {
        font-size: 16px;
    }

    .card-img img {
        width: 80px;
        height: 80px;
    }

    .card-details .btn-groups .btn {
        width: 100%;
    }
}
.eCategory1{box-shadow: 0rem 0.875rem 2rem rgba(147, 148, 158, 0.3) !important;
  background-color: #fff;}
