/*!
 * Bootstrap-select v1.13.9 (https://developer.snapappointments.com/bootstrap-select)
 *
 * Copyright 2012-2019 SnapAppointments, LLC
 * Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE)
 */
.bootstrap-select > select.bs-select-hidden,
select.bs-select-hidden,
select.selectpicker {
    display: none !important;
}
.bootstrap-select {
    width: 220px\0;
    vertical-align: middle;
}
.bootstrap-select > .dropdown-toggle {
    position: relative;
    width: 100%;
    min-height: 48px;
    padding: 12px 42px 12px 15px;
    color: #273449;
    text-align: left;
    white-space: nowrap;
    background: var(--crm-surface);
    border: 1px solid #b9c5d5;
    border-radius: var(--crm-radius);
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    overflow: hidden;
}
.bootstrap-select > .dropdown-toggle:after {
    margin-top: -1px;
}
.bootstrap-select > .dropdown-toggle.bs-placeholder,
.bootstrap-select > .dropdown-toggle.bs-placeholder:active,
.bootstrap-select > .dropdown-toggle.bs-placeholder:focus,
.bootstrap-select > .dropdown-toggle.bs-placeholder:hover {
    color: #778399;
}

.bootstrap-select > .dropdown-toggle:hover {
    color: #273449;
    background: var(--crm-surface);
    border-color: #9eabc0;
}

.bootstrap-select.open > .dropdown-toggle,
.bootstrap-select > .dropdown-toggle:focus,
.bootstrap-select > select.mobile-device:focus + .dropdown-toggle {
    color: #273449;
    background: var(--crm-surface);
    border-color: var(--crm-primary);
    outline: 0 !important;
}

.bootstrap-select .filter-option {
    width: 100%;
    overflow: hidden;
    text-align: left;
}

.bootstrap-select .filter-option-inner-inner {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bootstrap-select .bs-caret {
    position: absolute;
    top: 50%;
    right: 15px;
    color: var(--crm-muted);
    transform: translateY(-50%);
}

.bootstrap-select .caret {
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
}

.bootstrap-select > select {
    position: absolute !important;
    bottom: 0;
    left: 50%;
    display: block !important;
    width: 0.5px !important;
    height: 100% !important;
    padding: 0 !important;
    opacity: 0 !important;
    border: none;
    z-index: 0 !important;
}
.bootstrap-select > select.mobile-device {
    top: 0;
    left: 0;
    display: block !important;
    width: 100% !important;
    z-index: 2 !important;
}

.bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
    width: 220px;
}
.bootstrap-select.form-control {
    margin-bottom: 0;
    padding: 0;
    border: none;
}
:not(.input-group) > .bootstrap-select.form-control:not([class*="col-"]) {
    width: 100%;
}


.form-group .bootstrap-select{
    margin-bottom: 0;
}

.bootstrap-select.disabled,
.bootstrap-select > .disabled {
    cursor: not-allowed;
    opacity: .65;
}
.bootstrap-select.disabled:focus,
.bootstrap-select > .disabled:focus {
    outline: 0 !important;
}
.bootstrap-select.bs-container {
    position: absolute;
    top: 0;
    left: 0;
    height: 0 !important;
    padding: 0 !important;
}
.bootstrap-select.bs-container .dropdown-menu {
    z-index: 1060;
}



.input-group .bootstrap-select.form-control .dropdown-toggle {
    border-radius: var(--crm-radius);
}
.bootstrap-select[class*="col-"] .dropdown-toggle {
    width: 100%;
}
.bootstrap-select .dropdown-menu {
    min-width: 100%;
    left: 0;
    margin-top: 6px;
    padding: 6px;
    color: var(--crm-text);
    background: var(--crm-surface);
    border: 1px solid var(--crm-border);
    border-radius: var(--crm-radius);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.bootstrap-select .dropdown-menu > .inner:focus {
    outline: 0 !important;
}
.bootstrap-select .dropdown-menu.inner {
    position: static;
    float: none;
    border: 0;
    padding: 0;
    margin: 0;
    border-radius: var(--crm-radius);
}
.bootstrap-select .dropdown-menu li {
    position: relative;
    margin-bottom: 2px;
}

.bootstrap-select .dropdown-menu li.disabled a {
    cursor: not-allowed;
}
.bootstrap-select .dropdown-menu li a {
    cursor: pointer;
    display: block;
    padding: 10px 12px;
    color: var(--crm-text);
    border-radius: var(--crm-radius);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.bootstrap-select .dropdown-menu li:last-child {
    margin-bottom: 0;
}

.bootstrap-select .dropdown-menu li a:hover,
.bootstrap-select .dropdown-menu li a:focus {
    color: var(--crm-primary-dark);
    background: var(--crm-primary-soft);
}

.bootstrap-select .dropdown-menu li.selected > a {
    color: var(--crm-primary-dark);
    font-weight: 600;
    background: var(--crm-primary-soft);
}

.bootstrap-select .dropdown-menu li.disabled > a {
    color: #94a0b2;
    background: transparent;
}
.bootstrap-select .dropdown-menu li a.opt {
    position: relative;
    padding-left: 2.25em;
}
.bootstrap-select .dropdown-menu li a span.check-mark {
    display: none;
}
.bootstrap-select .dropdown-menu li a span.text {
    display: inline-block;
}
.bootstrap-select .dropdown-menu li small {
    margin-left:10px;
}


.bootstrap-select.show-tick .dropdown-menu .selected span.check-mark {
    position: absolute;
    display: inline-block;
    right: 15px;
    top: 5px;
}
.bootstrap-select.show-tick .dropdown-menu li a span.text {
    margin-right: 34px;
}

.bootstrap-select.show-menu-arrow.open > .dropdown-toggle,
.bootstrap-select.show-menu-arrow.show > .dropdown-toggle {
    z-index: 1061;
}

.bs-searchbox {
    padding: 2px 2px 8px;
}


.bs-searchbox .form-control {
    min-height: 42px;
    padding: 9px 12px;
    margin-bottom: 0;
    width: 100%;
    float: none;
}
