﻿.filter-container {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.apply-filter-btn {
    background-color: #ff4081;
    color: white;
}

    .apply-filter-btn:hover {
        background-color: #e33d71;
    }

.dropdown-menu {
    padding: 10px;
    max-height: 300px;
    overflow-y: auto;
}

    .dropdown-menu.show {
        padding: 1rem 2rem;
    }

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu .dropdown-menu {
        display: none;
        top: 0;
        left: 100%;
        margin-top: -1px;
    }

.form-check {
    padding: 5px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-box1 {
    padding: 5px 10px;
}

.selected-items {
    margin-top: 10px;
}

.selected-item {
    display: inline-block;
    background-color: #f1f1f1;
    border-radius: 4px;
    padding: 4px 8px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.clear-all {
    display: inline-block;
    margin-top: 10px;
    cursor: pointer;
    color: blue;
    text-decoration: underline;
    display: none;
}

.dropdown-submenu .dropdown-menu li {
    margin-left: 1.1rem;
}

.custom-dropdown .dropdown-toggle {
    background-color: #fff;
    border: 1px solid #ced4da;
    padding: 6px 12px;
    border-radius: 4px;
    width: 100%;
    text-align: left;
}

    .custom-dropdown .dropdown-toggle::after {
        margin-left: auto;
        float: right;
        margin-top: 7px;
    }



.row {
    display: flex;
    flex-wrap: wrap;
}

.single-course {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.thum, .cont {
    padding: 15px;
}

.image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.price {
    margin-top: 10px;
    font-size: 1.2em;
    color: #ff6b6b;
    font-weight: bold;
}

.cont {
    flex: 1; /* To make content stretch and ensure even spacing */
}

.course-teacher {
    display: flex;
    align-items: center;
    margin-top: auto; /* Push to bottom */
}

    .course-teacher .thum {
        margin-right: 10px;
    }


input[type="range"] {
    width: 200px;
    -webkit-appearance: none;
    background: transparent;
}

    input[type="range"]::-webkit-slider-runnable-track {
        width: 100%;
        height: 5px;
        cursor: pointer;
        background: #ddd;
        border-radius: 5px;
    }

    input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 15px;
        height: 15px;
        background: #007bff;
        border-radius: 50%;
        cursor: pointer;
        margin-top: -5px;
    }


.number-container {
    display: flex;
    width: 100%;
    align-items: center;
    max-width: 600px;
    flex-wrap: nowrap; /* Ensure items do not wrap to the next line */
}

.number-item {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.labels {
    margin-right: 0.5rem; /* Adjust spacing between label and input */
    flex-shrink: 0; /* Prevent the label from shrinking */
    align-items: center;
}

.number-container label {
    margin-right: 5px;
}

input[type="number"] {
    width: 100px; /* Reduced width */
    height: 22px;
    padding-left: 30px;
    padding-right: 30px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center; /* Center align the text */
}

.number-item input[type="radio"] {
    margin-left: 5px;
    margin-right: 5px;
}

.main-title {
    margin-right: 30px;
    white-space: nowrap; /* Prevent title from wrapping */
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
}

.radio-group {
    display: flex;
    align-items: center;
}

.radio-label {
    margin-left: 5px;
    margin-right: 15px; /* Add margin to separate radio groups */
}

.box1 {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 0px;
    transition: .5s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 30px 0 rgba(82, 63, 105, 0.05);
}

.box1-body {
    padding: 1.5rem 1.5rem;
    flex: 1 1 auto;
    border-radius: 10px;
}

.logo {
    object-fit: contain;
    width: 90px !important;
    height: 90px !important;
    margin-right: 20px !important;
    text-align: center !important;
    border-radius: 0.25rem !important;
}

.institution-info {
    display: flex;
    align-items: center;
}

.institution-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.institution-name {
    color: #2B2B2B; /* Dark color for the institution name */
    font-weight: bold; /* Bold for the institution name */
    font-size: 16px; /* Larger font size for the institution name */
    margin-bottom: 5px; /* Space between the name and the date */
}

.certificate-name {
    color: #6C757D; /* Lighter color for the certificate name */
    font-size: 14px; /* Smaller font size for the certificate name */
}

.date {
    color: #6C757D; /* Lighter color for the date */
    font-size: 12px; /* Smaller font size for the date */
}

.cost-info {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
    font-weight: bold; /* Bold for the cost info */
    font-size: 16px; /* Larger font size for the cost info */
}

.custom-select {
    background-color: #ef7228; /* Orange background color */
    color: black; /* White text color */
    border: 1px solid #ef7228; /* Matching border color */
    border-radius: 4px; /* Rounded corners */
    padding: 8px 12px; /* Padding inside the select box */
    font-size: 14px; /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
}

    .custom-select option {
        background-color: white; /* Background color for options */
        color: black; /* Text color for options */
    }

    .custom-select:focus {
        outline: none; /* Remove default focus outline */
        box-shadow: 0 0 0 2px rgba(239, 114, 40, 0.5); /* Custom focus ring */
    }