﻿ul {
    margin: 0;
    padding: 0;
}

:focus {
    outline: none;
}

:disabled {
    background-color: transparent;
}


.select2-container--material {
    width: 100% !important;
}

    .select2-container--material .select2-selection {
        overflow: visible;
        font: inherit;
        touch-action: manipulation;
        margin: 0;
        line-height: inherit;
        box-sizing: inherit;
        display: block;
        width: 100%;
        color: #55595c;
        background-clip: padding-box;
        border: 1px solid rgba(0, 0, 0, 0.15);
        line-height: 1.5;
        background-color: transparent;
        background-image: none;
        border-radius: 0;
        background-color: transparent;
        border: none;
        border-bottom: 1px solid #ccc;
        outline: 0;
        width: 100%;
        font-size: 1rem;
        box-shadow: none;
        transition: all 0.3s;
        /*min-height: 2.1rem;*/
    }

.select2-container--material .select2-selection .select2-selection__rendered {
    padding-left: 0;
    padding-right: 24px;
    padding-top: 4px;
    width: 100%;
    font-size: 14px;
    font-family: Roboto;
    font-weight: 400;
}

.select2-container--material .select2-selection--single .select2-selection__rendered {
    float: left;
}

.select2-container--material .select2-selection--single .select2-selection__arrow {
    float: right;
    position:absolute;
    right:0px;
    height: 26px;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 20px
}

.select2-container--material .select2-selection--single .select2-selection__arrow b {
    border-color: #495057 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0;
}



.select2-container--material .select2-selection--single .select2-selection__placeholder{
    color: #ccc;
}
.select2-container--material .select2-selection--multiple .select2-selection__placeholder {
    color: #ccc;
}

.select2-container--material .select2-selection--multiple .select2-selection__rendered {
    /*width: 100%;*/
}

.select2-container--material .select2-selection--multiple .select2-selection__rendered li {
    list-style: none;
}

.select2-container--material .select2-selection--multiple .select2-selection__choice {
    height: 30px;
    line-height: 30px;
    padding: 0 12px;
    border: 0;
    border-radius: 5px;
    background-color: #dedede;
    display: inline-block;
    color: rgba(0, 0, 0, 0.87);
    margin: 2px 0;
    font-size: 0;
    white-space: nowrap;
    font-size: 13px;
    vertical-align: middle;
    display: inline-block;
    float: left;
    margin-right: 8px;
    margin-bottom: 4px;
}

.select2-container--material .select2-selection--multiple .select2-selection__choice__remove {
    font-size: 0;
    opacity: 0.38;
    cursor: pointer;
    float: right;
    margin-top: 5px;
    margin-right: -6px;
    margin-left: 6px;
    transition: opacity;
}

.select2-container--material .select2-selection--multiple .select2-selection__choice__remove::before {
    content: "cancel";
    font-family: "Material Icons";
    font-weight: normal;
    font-style: normal;
    font-size: 19px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
    color: #000;
}

.select2-container--material .select2-selection--multiple .select2-selection__choice__remove:hover {
    opacity: 0.54;
}

.select2-container--material .select2-search--inline .select2-search__field {
    /*width: 100% !important;*/
    margin-top: 0;
    height: 15px;
    line-height: 1;
    font-size: 14px;
}

    .select2-container--material .select2-dropdown {
        border: 0;
        box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    }

.select2-container--material .select2-dropdown .select2-search__field {
    min-height: 2.1rem;
    margin-bottom: 16px;
    border: 0;
    border-bottom: 1px solid #ccc;
    transition: all 0.3s;
}

    .select2-container--material .select2-dropdown .select2-search__field:focus {
        border-bottom: 1px solid #8a8a8a;
        box-shadow: 0 1px 0 0 #8a8a8a;
    }

.select2-container--material .select2-results__options {
    /*box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);*/
    background-color: #fff;
    margin: 0;
    min-width: 100px;
    max-height: 650px;
    overflow-y: auto;
    z-index: 999;
    will-change: width, height;
}

.select2-container--material .select2-results__option {
    cursor: pointer;
    clear: both;
    color: rgba(0, 0, 0, 0.87);
    line-height: 1.5rem;
    text-align: left;
    text-transform: none;
    display: block;
}

.select2-container--material .select2-results__option[aria-disabled="true"] {
    color: rgba(0, 0, 0, 0.3);
    background-color: transparent !important;
    cursor: context-menu;
    cursor: not-allowed;
}

    .select2-container--material .select2-results__option[aria-selected="true"] {
        /*color: #00477f;*/
        background-color: #eee;
    }

.select2-container--material .select2-results__option--highlighted[aria-selected] {
    background-color: #ddd;
}

    .select2-container--material.select2-container--focus .select2-selection {
        border-bottom: 1px solid #8a8a8a;
        box-shadow: 0 1px 0 0 #8a8a8a;
    }

.select2-container--material.select2-container--disabled .select2-selection {
    color: rgba(0, 0, 0, 0.3);
    cursor: default;
    user-select: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.select2-container--material.select2-container--disabled.select2-container--focus .select2-selection {
    box-shadow: none;
}

.select2-selection__clear {
    cursor: pointer;
    float: right;
    right:0px;
    font-weight: bold;
}

