﻿.cbl.dropdown {
    position: relative;
    font-size: 14px;
    color: #333;
    z-index: 1;
    background: #b53430
}

    .cbl.dropdown .dropdown-list {
        padding: 12px;
        background: #fff;
        position: absolute;
        top: 45px;
        right: 2px;
        box-shadow: 0 0 24px -4px #8f8f8f;
        transform-origin: 50% 0;
        transform: scale(1, 0);
        transition: transform 0.15s ease-in-out 0.15s;
        max-height: 66vh;
        overflow: hidden;
        width: 300px;
        border-radius: 10px;
    }

    .cbl.dropdown .dropdown-option {
        display: block;
        padding: 8px 12px;
        opacity: 0;
        transition: opacity 0.15s ease-in-out;
        white-space: nowrap;
        overflow-y: auto;
    }

    .cbl.dropdown .dropdown-label {
        height: 30px;
        border: 1px solid #ccc;
        padding: 6px 12px;
        line-height: 1;
        cursor: pointer;
        color: white;
    }

    .cbl.dropdown.border-none .dropdown-label {
        border: none;
    }

    .cbl.dropdown:not(.hide-arrow) .dropdown-label:before {
        content: "▼";
        float: right;
    }

    .cbl.dropdown.on .dropdown-list {
        transform: scale(1, 1);
        transition-delay: 0s;
    }

        .cbl.dropdown.on .dropdown-list .dropdown-cont {
            max-height: 200px;
            overflow-y: auto;
            overflow-x: hidden;
        }

        .cbl.dropdown.on .dropdown-list .dropdown-option {
            opacity: 1;
            transition-delay: 0.2s;
        }

    .cbl.dropdown.on:not(.hide-arrow) .dropdown-label:before {
        content: "▲";
    }

    .cbl.dropdown [type=checkbox] {
        position: relative;
        top: -1px;
        margin-right: 4px;
    }

    .cbl.dropdown.hide-arrow.on > label {
        color: #ffffff;
        background: #ffffff43;
    }


@media screen and (min-width: 991px) {
    

    .cbl.dropdown .dropdown-label {
        font-size: 14px;
        border-radius: 0px;
        color: white;
        font-weight: bold;
    }
}
