﻿/* topbar css start*/

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #ccc;
}

    .topbar .leftside .results {
        display: flex;
        align-items: center;
    }

        .topbar .leftside .results .filter_show_hide_button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0 16px;
            height: 36px;
            border: 1px solid #ccc;
            font-size: 16px;
            color: #0a2642;
            min-width: 130px;
            text-align: center;
            border-radius: 18px;
            flex: 0 0 auto;
            background: transparent;
        }

        .topbar .leftside .results .filter_clear_button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0 16px;
            height: 36px;
            border: 1px solid #ccc;
            font-size: 16px;
            color: #0a2642;
            min-width: 130px;
            text-align: center;
            border-radius: 18px;
            flex: 0 0 auto;
            background: transparent;
        }

        .topbar .leftside .results .filter_show_hide_button .filter_text {
            margin-left: 8px;
        }

        .topbar .leftside .results .filter_clear_button .filter_text {
            margin-left: 8px;
        }

        .topbar .leftside .results .total_result_numbers {
            margin: 0 20px;
            color: #0a2642;
            font-size: 16px;
            line-height: 1.5;
        }

            .topbar .leftside .results .total_result_numbers .result_num {
                margin-right: 4px;
            }

    .topbar .rightside .filter_options_list {
        display: flex;
        align-items: center;
    }

        .topbar .rightside .filter_options_list .sort_by_label {
            font-size: 14px;
            color: #0a2642;
            margin-right: 10px;
        }

        .topbar .rightside .filter_options_list .custom-select {
            min-width: 260px;
            height: 36px;
            border-radius: 18px;
            font-size: 14px;
            padding: 6px 28px 6px 20px;
            line-height: 1.5;
            border: 1px solid #eee;
            color: #0a2642;
            background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='9' viewBox='0 0 15 9'%3E%3Cg%3E%3Cg%3E%3Cpath fill='%2358585b' d='M14.088.372l.912.962-7.147 7.573-.912-.962z'/%3E%3C/g%3E%3Cg%3E%3Cpath fill='%2358585b' d='M1.176 0l7.53 7.945-.912.962L.264.962z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") no-repeat right 12px center;
            transition: background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
            appearance: none;
        }

            .topbar .rightside .filter_options_list .custom-select:focus {
                outline: none;
            }

        .topbar .rightside .filter_options_list .custom-select-sm {
            min-width: 110px;
            height: 36px;
            border-radius: 18px;
            margin-left: 4px;
            font-size: 14px;
            padding: 6px 28px 6px 20px;
            line-height: 1.5;
            border: 1px solid #eee;
            color: #0a2642;
            background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='9' viewBox='0 0 15 9'%3E%3Cg%3E%3Cg%3E%3Cpath fill='%2358585b' d='M14.088.372l.912.962-7.147 7.573-.912-.962z'/%3E%3C/g%3E%3Cg%3E%3Cpath fill='%2358585b' d='M1.176 0l7.53 7.945-.912.962L.264.962z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") no-repeat right 12px center;
            transition: background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
            appearance: none;
        }

            .topbar .rightside .filter_options_list .custom-select-sm:focus {
                outline: none;
            }

/*top-bar css end*/


/* side-filter css start*/

.filter-side {
    max-width: 250px;
    flex: 0 0 250px;
    margin-right: 30px;
    z-index: 0;
}

    .filter-side .filter-options {
        display: flex;
        flex-direction: column;
        margin-bottom: 30px;
    }

        .filter-side .filter-options .filter-options-list {
            display: flex;
            flex-direction: column;
        }

            .filter-side .filter-options .filter-options-list .filter-options-item {
                margin-bottom: 10px;
            }

                .filter-side .filter-options .filter-options-list .filter-options-item .filter-btn {
                    position: relative;
                    width: 100%;
                    display: inline-block;
                    min-width: 150px;
                    padding: 9px 27px 9px 13px;
                    height: auto;
                    font-size: 16px;
                    color: #0a2642;
                    font-weight: 600;
                    border: 0;
                    border-bottom: 1px solid #ccc;
                    line-height: 21px;
                    border-radius: 0;
                    transition: background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
                    background: transparent;
                    text-align: left;
                }

                    .filter-side .filter-options .filter-options-list .filter-options-item .filter-btn::after {
                        position: absolute;
                        content: "";
                        top: 13px;
                        right: 10px;
                        width: 15px;
                        height: 9px;
                        transition: all 0.2s ease-in;
                        background: url("data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNSIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgMTUgOSI+PGc+PGc+PHBhdGggZmlsbD0iIzU4NTg1YiIgZD0iTTE0LjA4OC4zNzJsLjkxMi45NjItNy4xNDcgNy41NzMtLjkxMi0uOTYyeiIvPjwvZz48Zz48cGF0aCBmaWxsPSIjNTg1ODViIiBkPSJNMS4xNzYgMGw3LjUzIDcuOTQ1LS45MTIuOTYyTC4yNjQuOTYyeiIvPjwvZz48L2c+PC9zdmc+");
                    }

                .filter-side .filter-options .filter-options-list .filter-options-item.show .filter-btn::after {
                    transform: rotate(180deg);
                }

                .filter-side .filter-options .filter-options-list .filter-options-item.show .filter-dropdown-menu {
                    display: block;
                }

                .filter-side .filter-options .filter-options-list .filter-options-item .filter-dropdown-menu {
                    position: relative;
                    width: 100%;
                    padding: 14px 0 14px 13px;
                    box-shadow: none;
                    border: none;
                    margin: 0;
                }

                    .filter-side .filter-options .filter-options-list .filter-options-item .filter-dropdown-menu .items {
                        max-height: 300px;
                        overflow-y: auto;
                        padding: 5px 0;
                        display: flex;
                        flex-wrap: wrap;
                        margin: 0;
                    }


                        .filter-side .filter-options .filter-options-list .filter-options-item .filter-dropdown-menu .items .form-check {
                            display: flex;
                            align-items: center;
                            position: relative;
                            z-index: 1;
                            min-height: 24px;
                            padding-left: 24px;
                            padding-bottom: 14px;
                            color: #0a2642;
                            flex: 0 0 100%;
                        }

                            .filter-side .filter-options .filter-options-list .filter-options-item .filter-dropdown-menu .items .form-check .form-check-input {
                                position: absolute;
                                left: 0;
                                width: 16px;
                                height: 20px;
                                margin: 0;
                                cursor: pointer;
                            }

                            .filter-side .filter-options .filter-options-list .filter-options-item .filter-dropdown-menu .items .form-check .form-check-label {
                                font-size: 16px;
                                cursor: pointer;
                                color: #0a2642;
                                line-height: 1.5;
                                margin: 0;
                                font-weight: normal;
                            }

/* side-filter css end*/
