﻿button.FormDropDownList.multiselect,
button.FormDropDownList.multiselect span:first-child
{
    color: #333;
    font-weight: normal;
}

button.FormDropDownList.multiselect
{
    height: var(--font-size-6) !important;
    line-height: 30px;
    padding: 0 var(--space-12);
    -moz-box-sizing: border-box !important;
    -webkit-box-sizing: border-box !important;
    -ms-box-sizing: border-box !important;
    box-sizing: border-box !important;
}

    button.FormDropDownList.multiselect span:first-child
    {
        height: 28px;
        line-height: 28px;
    }

    button.FormDropDownList.multiselect span.dropbutton
    {
        font-family: Core Icons !important;
        font-style: normal;
        font-weight: 400 !important;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

        button.FormDropDownList.multiselect span.dropbutton:after
        {
            content: '\e42a';
            width: var(--size-20);
            height: var(--size-20);
            font-size: var(--size-20);
            line-height: var(--size-20);
        }

    button.FormDropDownList.multiselect.focused span.dropbutton
    {
        transform: rotate(180deg);
        transition-property: transform;
        transition-duration: .5s;
        transition-delay: 0s;
    }

.FormColumns2x5 button.FormDropDownList.multiselect span:first-child
{
    max-width: 330px;
}

div.multiselect {
    row-gap: 8px;
    margin-top: 8px;
    overflow: hidden;
    border-radius: var(--border-radius-input, 4px) !important;
    border: 1px solid var(--border-listitem-enabled, #666) !important;
    box-shadow: 0 4px 8px -2px rgba(16, 24, 40, 0.10), 0 2px 4px -2px rgba(16, 24, 40, 0.06) !important;
    background: var(--bg-listitem-enabled, #FFF) !important;
}

    div.multiselect div.clearfix
    {
        content: ".";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
    }

        div.multiselect div.clearfix ul li
        {
            width: 50%;
            text-align: center;
            padding: 0;
        }

            div.multiselect div.clearfix ul li:hover
            {
                background: #F5F5F5 !important;
                cursor: pointer;
            }

            div.multiselect div.clearfix ul li:first-child
            {
                padding-right: 0;
            }

    div.multiselect :first-child ul li a.checkall,
    div.multiselect :first-child ul li a.checknone
    {
        width: 100%;
        display: inline-block;
        text-decoration: none;
    }

    div.multiselect div.clearfix ul li a.checkall
    {
    }

    div.multiselect div.clearfix ul li a.checknone
    {
    }

    div.multiselect :first-child ul li a.checkall span,
    div.multiselect :first-child ul li a.checknone span
    {
        color: #ccc;
        vertical-align: middle;
    }

    div.multiselect :first-child ul li a.checkall:hover span,
    div.multiselect :first-child ul li a.checknone:hover span
    {
        color: #D0103A;
    }

    div.multiselect :first-child ul li a.checkall .icon,
    div.multiselect :first-child ul li a.checknone .icon
    {
        float: none;
        background: none;
        font-family: 'Glyphicons Basic' !important;
        font-style: normal;
        font-size: 16px;
        font-weight: normal;
        font-variant: normal;
        text-transform: none;
        speak: none;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

        div.multiselect :first-child ul li a.checkall .icon:after
        {
            content: "\ea25";
        }

        div.multiselect :first-child ul li a.checknone .icon:after
        {
            content: "\ea24";
        }

    div.multiselect ul.checklist 
    {
        list-style-type: none;
        padding: 0;
        margin: 0;
        display: block !important;
        overflow-y: auto;
        text-align: left;
        font-weight: 500;
        max-height: 500px;
        outline: 0 !important;
        position: relative !important
    }

        div.multiselect ul.checklist li 
        {
            height: auto;
            min-height: calc(12px * 1.2);
            padding: 0;
            border: 0;
            line-height: 1.2;
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: 120%;
            color: var(--text-on-listitem-enabled, #666);
        }

            div.multiselect ul.checklist li:hover
            {
                background: #F5F5F5 !important;
            }

            div.multiselect ul.checklist li label
            {
                padding: 10px 12px;
            }

                div.multiselect ul.checklist li label input
                {
                    display: none;
                }

                div.multiselect ul.checklist li label span
                {
                    width: 100%;
                    margin-right: 0;
                    margin-bottom: 0;
                    cursor: pointer;
                }

                    div.multiselect ul.checklist li label span:after
                    {
                        content: "\ea22";
                        float: right;
                        margin-right: 10px;
                        font-family: 'Glyphicons Basic' !important;
                        font-style: normal;
                        font-size: 16px;
                        font-weight: normal;
                        font-variant: normal;
                        text-transform: none;
                        speak: none;
                        -webkit-font-smoothing: antialiased;
                        -moz-osx-font-smoothing: grayscale;
                        color: #ccc;
                        display: none;
                    }

            div.multiselect ul.checklist li:hover label span:after
            {
                color: #D0103A;
            }

            div.multiselect ul.checklist li label input[checked] + span
            {
            }

                div.multiselect ul.checklist li label input[checked] + span:after
                {
                    content: "\ebe2";
                    color: #D0103A;
                    display: none;
                }

            div.multiselect ul.checklist li:has(> label.checked) 
            {
                background-color: var(--bg-listitem-selected);
                color: var(--text-on-listitem-hovered);
            }

            div.multiselect ul.checklist li label.checked:before 
            {
                font-family: Core Icons;
                content: "\e405";
                transform: none;
                position: relative;
                border: 0;
                top: 0;
                left: 0;
                background-color: var(--brand);
            }
