﻿
/*.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}*/
/*.input-group-sm > .btn, .input-group-sm > .form-control, .input-group-sm > .form-select, .input-group-sm > .input-group-text {
    padding: .25rem .5rem;
    font-size: .875rem;
    border-radius: var(--bs-border-radius-sm);
}*/
.nice-select {
    /*height: calc(1.5em + .5rem + 2px);
         padding: .25rem .5rem;
    font-size: .875rem;
    padding-left: 18px;
    padding-right: 30px;
    */
    font-size: 9pt;
    height: 30px;
    padding: 2px 10px;
    font-weight: normal;
    line-height: normal;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    clear: both;
    cursor: pointer;
    display: block;
    outline: none;
    position: relative;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
    width: auto;
}

    .nice-select:hover {
        border-color: #dbdbdb;
    }

    .nice-select:active, .nice-select.open, .nice-select:focus {
        border-color: #999;
    }

    .nice-select:after {
        border-bottom: 2px solid #999;
        border-right: 2px solid #999;
        content: '';
        display: block;
        height: 6px;
        width: 6px;
        margin-top: -4px;
        pointer-events: none;
        position: absolute;
        left: 12px;
        top: 50%;
        -webkit-transform-origin: 66% 66%;
        -ms-transform-origin: 66% 66%;
        transform-origin: 66% 66%;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        -webkit-transition: all 0.15s ease-in-out;
        transition: all 0.15s ease-in-out;
    }

    .nice-select.open:after {
        -webkit-transform: rotate(-135deg);
        -ms-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }

    .nice-select.open .list {
        opacity: 1;
        pointer-events: auto;
        -webkit-transform: scale(1) translateY(0);
        -ms-transform: scale(1) translateY(0);
        transform: scale(1) translateY(0);
        min-width: 100%;
        overflow-y: auto;
    }

    .nice-select.disabled {
        border-color: #ededed;
        color: #999;
        pointer-events: none;
    }

        .nice-select.disabled:after {
            border-color: #cccccc;
        }

    .nice-select.wide {
        width: 100%;
    }

        .nice-select.wide .list {
            left: 0 !important;
            right: 0 !important;
        }

    .nice-select.right {
        float: right;
    }

        .nice-select.right .list {
            left: auto;
            right: 0;
        }

    .nice-select.small {
        font-size: 12px;
        height: 36px;
        line-height: 34px;
    }

        .nice-select.small:after {
            height: 4px;
            width: 4px;
        }

        .nice-select.small .option {
            line-height: 34px;
            min-height: 34px;
        }

    .nice-select .list {
        background-color: var(--bs-gray-300);
        border-radius: 0 0 5px 5px;
        box-sizing: border-box;
        margin-top: 4px;
        opacity: 0;
        overflow: hidden;
        padding: 0;
        pointer-events: none;
        position: absolute;
        top: 100%;
        right: 0;
        -webkit-transform-origin: 50% 0;
        -ms-transform-origin: 50% 0;
        transform-origin: 50% 0;
        -webkit-transform: scale(0.75) translateY(-21px);
        -ms-transform: scale(0.75) translateY(-21px);
        transform: scale(0.75) translateY(-21px);
        -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
        transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
        z-index: 9;
        max-height: 250px;
        border: 1px solid var(--bs-gray-500);
    }



    .nice-select .option {
        cursor: pointer;
        font-weight: normal;
        line-height: 32px;
        list-style: none;
        min-height: 27px;
        outline: none;
        padding-right: 18px;
        padding-left: 29px;
        -webkit-transition: all 0.2s;
        transition: all 0.2s;
        border-bottom: 1px solid var(--bs-gray-500);
        font-size: 9pt;
    }

        .nice-select .option:hover {
            background-color: var(--bs-link-hover-color);
            color: var(--bs-white);
        }

        .nice-select .option.selected {
            background-color: #4892FD;
            color: #fff;
        }

        .nice-select .option.disabled {
            background-color: transparent;
            color: #999;
            cursor: default;
        }

.no-csspointerevents .nice-select .list {
    display: none;
}

.no-csspointerevents .nice-select.open .list {
    display: block;
}


/*filter by Daniel V*/
.nice-select {
    --bs-form-select-bg-img: none !important;
}

    .nice-select .list {
        -webkit-appearance: none;
        /* overflow: scroll;*/
        /* scrollbar-color: #CBD4E2 !important;*/
        scrollbar-width: thin;
    }

    .nice-select.has-multiple {
        white-space: inherit;
        height: auto;
        padding: 7px 12px;
        min-height: 53px;
        line-height: 22px
    }

        .nice-select.has-multiple span.current {
            border: 1px solid #CCC;
            background: #EEE;
            padding: 0 10px;
            border-radius: 3px;
            display: inline-block;
            line-height: 24px;
            font-size: 14px;
            margin-bottom: 3px;
            margin-right: 3px;
        }

        .nice-select.has-multiple .multiple-options {
            display: block;
            line-height: 37px;
            margin-left: 30px;
            padding: 0;
        }

    .nice-select .nice-select-search-box {
        box-sizing: border-box;
        position: absolute;
        width: 100%;
        margin-top: 5px;
        top: 100%;
        left: 0;
        z-index: 8;
        padding: 5px;
        background: #FFF;
        opacity: 0;
        pointer-events: none;
        border-radius: 5px 5px 0 0;
        box-shadow: 0 0 0 1px rgba(68, 88, 112, .25);
        -webkit-transform-origin: 50% 0;
        -ms-transform-origin: 50% 0;
        transform-origin: 50% 0;
        -webkit-transform: scale(.75) translateY(-21px);
        -ms-transform: scale(.75) translateY(-21px);
        transform: scale(.75) translateY(-21px);
        -webkit-transition: all .2s cubic-bezier(.5, 0, 0, 1.25), opacity .15s ease-out;
        transition: all .2s cubic-bezier(.5, 0, 0, 1.25), opacity .15s ease-out;
    }

    .nice-select .nice-select-search {
        box-sizing: border-box;
        background-color: var(--bs-body-bg);
        border: 1px solid var(--bs-gray-500) !important;
        box-shadow: none;
        color: #333;
        display: inline-block;
        vertical-align: middle;
        padding: 3px 12px;
        margin: 0 0px 0 0;
        width: 100% !important;
        min-height: 28px;
        line-height: 19px;
        height: auto;
        outline: 0 !important;
    }

    .nice-select.open .nice-select-search-box {
        opacity: 1;
        z-index: 10;
        pointer-events: auto;
        -webkit-transform: scale(1) translateY(0);
        -ms-transform: scale(1) translateY(0);
        transform: scale(1) translateY(0);
    }

.remove:hover {
    color: red;
}

.nice-select-filter .list {
    margin-top: 44px !important;
}
