/*
    File:       amoksys-materialize-select2.css
    Version:    1.1.4
    Author:     Rodrigo Butzke - AmokSys
*/

.input-field select + label{position: initial;min-height: 3rem;display: inline-block;}
.materialize-select2 + .select2{width:100% !important;max-width:100%;position:relative;cursor:pointer;background-color:transparent;border:none;border-bottom:1px solid #dddddd;outline:none;height:calc(3rem + 1px);line-height:3rem;width:100%;font-size:16px;margin:0 0 8px 0;padding:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1;outline:none;}

.input-field .prefix ~ .materialize-select2 + .select2{margin-left: 3rem;width: 92%;width: calc(100% - 3rem)!important;}

.materialize-select2.materialize-select2-auto-height + .select2{min-height:3rem;height:auto!important;}

.materialize-select2 + .select2 .selection{height:inherit;line-height:inherit;outline:none;}
.materialize-select2 + .select2 .select2-selection{height:inherit;border:none;background:transparent;line-height:inherit;outline:none;}
.materialize-select2 + .select2 .select2-selection .select2-selection__rendered{height:inherit;line-height:inherit;padding:0;outline:none;color:inherit;}
.materialize-select2 + .select2 + label{-webkit-transform:translateY(-14px) scale(0.8);transform:translateY(-14px) scale(0.8);-webkit-transform-origin:0 0;transform-origin:0 0;}

.materialize-select2 + .select2 .select2-selection--multiple .select2-selection__rendered{overflow-y:auto;overflow-x:hidden;}

.materialize-select2 + .select2-container .select2-selection--single{padding-right:20px;}
.materialize-select2 + .select2-container .select2-selection--single .select2-selection__arrow{top:12px;right:0;}
.materialize-select2 + .select2-container .select2-selection--single .select2-selection__arrow b{border-bottom-color:inherit}
.materialize-select2 + .select2-container .select2-selection--single .select2-selection__clear{right:0;top:1px;}
.materialize-select2 + .select2-container .select2-container--focus{border-color:inherit;}

.materialize-select2 + .select2.select2-container.select2-container--disabled{opacity: .38;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;-webkit-touch-callout: none;cursor: default;}

.input-field .materialize-select2.no-margin-bottom + .select2{margin-bottom:0;}
@media screen and (min-width:992px){.materialize-select2.no-margin-bottom-large + .select2{margin-bottom:0;}}

.select2-container .materialize-select2-chips .select2-selection__choice{display:inline-block;height:32px;font-size:13px;font-weight:500;color:rgba(0,0,0,0.6);line-height:32px;padding:0 12px;border-radius:16px;background-color:#e4e4e4;margin-bottom:5px;margin-right:5px;border:none;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;max-width:calc(100% - .5rem)}
.select2-container .materialize-select2-chips .select2-selection__choice__remove{float:right;margin-left:.5rem;margin-right:0;transition:all .3s;}
.select2-container .materialize-select2-chips .select2-search--inline{height:32px;line-height:32px;margin: 5px 5px 5px 0;}
.select2-container .materialize-select2-chips .select2-search--inline input,
.select2-container .materialize-select2-chips .select2-search--inline input[type=search]{color:inherit;background:transparent;height:32px;line-height:32px;margin:0;border-bottom:none!important;-webkit-box-shadow:none!important;box-shadow:none!important;}

.materialize-select2 + .select2 .select2-selection--multiple .select2-selection__rendered .select2-search--inline:only-child .select2-search__field{width: 100%!important;}
.materialize-select2 + .select2 .select2-selection--multiple .select2-selection__rendered .select2-search--inline:only-child .select2-search__field::placeholder{color:#9e9e9e}
.materialize-select2 + .select2 .select2-selection--single .select2-selection__placeholder{color:#9e9e9e}

.select2-container--default .select2-results__option--highlighted[aria-selected]{background:#26a69a;}

.select2-dropdown.materialize-select2-dropdown{-webkit-box-shadow: 0 4px 5px 0 rgba(0,0,0,0.14), 0 1px 10px 0 rgba(0,0,0,0.12), 0 2px 4px -1px rgba(0,0,0,0.3);box-shadow: 0 4px 5px 0 rgba(0,0,0,0.14), 0 1px 10px 0 rgba(0,0,0,0.12), 0 2px 4px -1px rgba(0,0,0,0.3);}
.select2-dropdown.materialize-select2-dropdown{border:none;background:#fff;border-radius:0;}

.select2-dropdown.materialize-select2-dropdown .select2-search--dropdown{padding:0 .5rem;width:100%;}
.select2-dropdown.materialize-select2-dropdown .select2-search--dropdown:not(.select2-search--hide){display:flex;}
.select2-dropdown.materialize-select2-dropdown .select2-search--dropdown .select2-search__field{flex:1 1 0;width:1px;border-top:none;border-left:none;border-right:none;}
.select2-dropdown.materialize-select2-dropdown.materialize-select2-dropdown-flex .select2-results__options{display:flex;flex-wrap:wrap;}
.select2-dropdown.materialize-select2-dropdown.materialize-select2-option-hide-on-disabled .select2-results__option[aria-disabled=true] {display: none;}

@media screen and (min-width:601px){
    .select2-dropdown.materialize-select2-dropdown.materialize-select2-dropdown-flex.materialize-select2-dropdown-flex-m3
    .select2-results__options .select2-results__option{min-width:33.33333%;width:33.33333%;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
    .select2-dropdown.materialize-select2-dropdown.materialize-select2-dropdown-flex.materialize-select2-dropdown-flex-m2
    .select2-results__options .select2-results__option{min-width:50%;width:50%;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
}

@media screen and (min-width:993px){
    .select2-dropdown.materialize-select2-dropdown.materialize-select2-dropdown-flex.materialize-select2-dropdown-flex-l4
    .select2-results__options .select2-results__option{min-width:25%;width:25%;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
    .select2-dropdown.materialize-select2-dropdown.materialize-select2-dropdown-flex.materialize-select2-dropdown-flex-l3
    .select2-results__options .select2-results__option{min-width:33.33333%;width:33.33333333%;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
}

.select2-dropdown.materialize-select2-dropdown, .select2-dropdown.materialize-select2-dropdown *{outline:none;}
.select2-dropdown.materialize-select2-dropdown .select2-results__option{transition:all .15s}

.select2-container .materialize-select2-option-image{vertical-align: middle;display: flex;align-items:center;overflow: hidden;max-width: 100%;}

.select2-container .materialize-select2-option-image .materialize-select2-option-image-text{display: block;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}

.select2-container .materialize-select2-option-image .materialize-select2-option-image-wrapper{display: flex;align-items: center;margin-right: .5rem;}
.select2-container .materialize-select2-option-image .materialize-select2-option-image-wrapper img{height: 3rem;padding: 4px;}
.select2-container .select2-selection__choice .materialize-select2-option-image .materialize-select2-option-image-wrapper img {height: 16px;padding: 0;}

.select2-container .select2-dropdown.materialize-select2-dropdown
.materialize-select2-option-image 
.materialize-select2-option-image-text{line-height:2rem;}

.select2-container .select2-dropdown.materialize-select2-dropdown
.materialize-select2-option-image
.materialize-select2-option-image-wrapper img{height:2rem;}