﻿
.chosen-container {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    font-family: inherit;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    
}

.chosen-container * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.chosen-container .chosen-drop {
    position: absolute;
    top: 100%;
    z-index: 1010;
    width: 100%;
    border: 2px solid #2d76c7 !important;
    border-top: 0;
    background: #fff;
    -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    clip: rect(0, 0, 0, 0);
    -webkit-clip-path: inset(100% 100%);
    clip-path: inset(100% 100%);
    border-radius: 0 0 4px 4px;
}

.chosen-container.chosen-with-drop .chosen-drop {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
}

/* @end */
/* @group Single Chosen */
.chosen-container-single .chosen-single {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 8px 12px !important;
    height: 38px !important;
    border: 2px solid #2d76c7 !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    background: #fff !important;
    background-clip: padding-box;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    color: #333 !important;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.5 !important;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.chosen-container-single .chosen-default {
    color: #999 !important;
}

.chosen-container-single .chosen-single span {
    display: block;
    overflow: hidden;
    margin-right: 26px;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #333 !important;
    font-family: inherit;
    line-height: 1.5 !important;
}

.chosen-container-single .chosen-single-with-deselect span {
    margin-right: 38px;
}

.chosen-container-single .chosen-single abbr {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    display: block;
    width: 12px;
    height: 12px;
    background: transparent !important;
    font-size: 0;
}

    .chosen-container-single .chosen-single abbr:before {
        content: "×";
        font-size: 16px;
        color: #2d76c7;
        font-weight: bold;
    }

    .chosen-container-single .chosen-single abbr:hover:before {
        color: #1e5aa7;
    }

.chosen-container-single.chosen-disabled .chosen-single abbr:hover {
    background-position: -42px -10px;
}

.chosen-container-single .chosen-single div {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 30px;
    height: 100%;
    background: transparent !important;
}

    .chosen-container-single .chosen-single div b {
        display: block;
        width: 100%;
        height: 100%;
        background: transparent !important;
        position: relative;
    }

        .chosen-container-single .chosen-single div b:before {
            content: "▼";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 10px;
            color: #2d76c7;
        }

.chosen-container-single .chosen-search {
    position: relative;
    z-index: 1010;
    margin: 0;
    padding: 8px;
    white-space: nowrap;
}

    .chosen-container-single .chosen-search input[type="text"] {
        margin: 0;
        padding: 6px 10px !important;
        width: 100%;
        height: auto;
        outline: 0;
        border: 1px solid #ddd !important;
        background: #fff url("/images/chosen-sprite.png") no-repeat 100% -20px;
        font-size: 14px !important;
        font-family: inherit !important;
        line-height: normal;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

        .chosen-container-single .chosen-search input[type="text"]:focus {
            border-color: #2d76c7 !important;
            box-shadow: 0 0 0 2px rgba(45, 118, 199, 0.2);
        }

.chosen-container-single .chosen-drop {
    margin-top: -2px;
    border-radius: 0 0 4px 4px;
    background-clip: padding-box;
}

.chosen-container-single.chosen-container-single-nosearch .chosen-search {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    -webkit-clip-path: inset(100% 100%);
    clip-path: inset(100% 100%);
}

/* @end */
/* @group Results */
.chosen-container .chosen-results {
    color: #333;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    max-height: 240px;
    -webkit-overflow-scrolling: touch;
}

    .chosen-container .chosen-results li {
        display: none;
        margin: 0;
        padding: 8px 12px;
        list-style: none;
        line-height: 1.5;
        word-wrap: break-word;
        -webkit-touch-callout: none;
        font-size: 14px;
        font-family: inherit;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.2s ease;
    }

        .chosen-container .chosen-results li.active-result {
            display: list-item;
            cursor: pointer;
        }

        .chosen-container .chosen-results li.disabled-result {
            display: list-item;
            color: #ccc;
            cursor: default;
        }

        .chosen-container .chosen-results li.highlighted {
            background-color: #2d76c7 !important;
            background-image: none !important;
            color: #fff !important;
        }

        .chosen-container .chosen-results li.no-results {
            color: #777;
            display: list-item;
            background: #f8f9fa;
        }

        .chosen-container .chosen-results li.group-result {
            display: list-item;
            font-weight: bold;
            cursor: default;
            background: #f8f9fa;
        }

        .chosen-container .chosen-results li.group-option {
            padding-left: 15px;
        }

        .chosen-container .chosen-results li em {
            font-style: normal;
            text-decoration: underline;
        }

/* @end */
/* @group Multi Chosen */
.chosen-container-multi .chosen-choices {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 4px 8px;
    width: 100%;
    height: auto;
    border: 2px solid #2d76c7 !important;
    background-color: #fff;
    background-image: none !important;
    cursor: text;
    border-radius: 4px;
    min-height: 38px;
}

    .chosen-container-multi .chosen-choices li {
        float: right;
        list-style: none;
    }

        .chosen-container-multi .chosen-choices li.search-field {
            margin: 0;
            padding: 0;
            white-space: nowrap;
        }

            .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
                margin: 1px 0;
                padding: 0;
                height: 30px;
                outline: 0;
                border: 0 !important;
                background: transparent !important;
                -webkit-box-shadow: none;
                box-shadow: none;
                color: #333 !important;
                font-size: 13px !important;
                font-family: inherit !important;
                line-height: normal;
                border-radius: 0;
                width: auto;
            }

        .chosen-container-multi .chosen-choices li.search-choice {
            position: relative;
            margin: 4px 0 4px 5px;
            padding: 4px 25px 4px 8px;
            border: 1px solid #2d76c7 !important;
            max-width: 100%;
            border-radius: 3px;
            background-color: #e3f2fd !important;
            background-image: none !important;
            -webkit-box-shadow: none;
            box-shadow: none;
            color: #2d76c7;
            line-height: 1.3;
            cursor: default;
            font-size: 12px;
        }

            .chosen-container-multi .chosen-choices li.search-choice span {
                word-wrap: break-word;
            }

            .chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
                position: absolute;
                top: 50%;
                right: 5px;
                transform: translateY(-50%);
                display: block;
                width: 14px;
                height: 14px;
                background: transparent !important;
                font-size: 0;
            }

                .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:before {
                    content: "×";
                    font-size: 16px;
                    color: #2d76c7;
                    font-weight: bold;
                }

                .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover:before {
                    color: #1e5aa7;
                }

/* @end */
/* @group Active  */
.chosen-container-active .chosen-single {
    border: 2px solid #1e5aa7 !important;
    -webkit-box-shadow: 0 0 0 3px rgba(45, 118, 199, 0.2);
    box-shadow: 0 0 0 3px rgba(45, 118, 199, 0.2);
}

.chosen-container-active.chosen-with-drop .chosen-single {
    border: 2px solid #1e5aa7 !important;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    background: #fff !important;
    -webkit-box-shadow: 0 0 0 3px rgba(45, 118, 199, 0.2);
    box-shadow: 0 0 0 3px rgba(45, 118, 199, 0.2);
}

    .chosen-container-active.chosen-with-drop .chosen-single div b:before {
        content: "▲";
    }

/* @end */
/* @group Right to Left */
.chosen-rtl {
    text-align: right;
}

    .chosen-rtl .chosen-single {
        padding: 8px 12px 8px 40px !important;
        text-align: right;
    }

        .chosen-rtl .chosen-single span {
            margin-right: 0;
            margin-left: 0;
            direction: rtl;
        }

        .chosen-rtl .chosen-single div {
            right: auto;
            left: 0;
        }

        .chosen-rtl .chosen-single abbr {
            right: auto;
            left: 30px;
        }


