@keyframes as-notify-fadeOut {
    0% {
        opacity: .9;
    }

    100% {
        opacity: 0;
    }
}

.advanced-select > select {
    display: none !important;
}

.advanced-select {
    --as-dropdown-zindex: 1000;
    --as-dropdown-padding-x: 0;
    --as-dropdown-padding-y: 0.5rem;
    --as-dropdown-font-size: 1rem;
    --as-dropdown-color: var(--bs-body-color);
    --as-dropdown-bg: var(--bs-body-bg);
    --as-dropdown-border-color: var(--bs-border-color-translucent);
    --as-dropdown-border-radius: var(--bs-border-radius);
    --as-dropdown-border-width: var(--bs-border-width);
    --as-dropdown-link-color: var(--bs-body-color);
    --as-dropdown-link-hover-color: var(--bs-body-color);
    --as-dropdown-link-hover-bg: var(--bs-tertiary-bg);
    --as-dropdown-link-active-color: #fff;
    --as-dropdown-link-active-bg: #0d6efd;
    --as-dropdown-link-disabled-color: var(--bs-tertiary-color);
    --as-dropdown-item-padding-x: 1rem;
    --as-dropdown-item-padding-y: 0.25rem;
    --as-dropdown-optgroup-font-size: .875rem;
    --as-dropdown-header-color: #6c757d;
    --as-dropdown-header-padding-x: 1rem;
    --as-dropdown-header-padding-y: 0.5rem;

    width: 220px;
    vertical-align: middle;
}

.advanced-select > .as-toggle-dropdown {
    position: relative;
    width: 100%;
    text-align: right;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.advanced-select > .as-toggle-dropdown:after {
    margin-top: -1px;
}

.advanced-select > .as-toggle-dropdown.as-placeholder,
.advanced-select > .as-toggle-dropdown.as-placeholder:active,
.advanced-select > .as-toggle-dropdown.as-placeholder:focus,
.advanced-select > .as-toggle-dropdown.as-placeholder:hover {
    color: #999;
}

.advanced-select > .as-toggle-dropdown.as-placeholder.btn-danger,
.advanced-select > .as-toggle-dropdown.as-placeholder.btn-danger:active,
.advanced-select > .as-toggle-dropdown.as-placeholder.btn-danger:focus,
.advanced-select > .as-toggle-dropdown.as-placeholder.btn-danger:hover,
.advanced-select > .as-toggle-dropdown.as-placeholder.btn-dark,
.advanced-select > .as-toggle-dropdown.as-placeholder.btn-dark:active,
.advanced-select > .as-toggle-dropdown.as-placeholder.btn-dark:focus,
.advanced-select > .as-toggle-dropdown.as-placeholder.btn-dark:hover,
.advanced-select > .as-toggle-dropdown.as-placeholder.btn-info,
.advanced-select > .as-toggle-dropdown.as-placeholder.btn-info:active,
.advanced-select > .as-toggle-dropdown.as-placeholder.btn-info:focus,
.advanced-select > .as-toggle-dropdown.as-placeholder.btn-info:hover,
.advanced-select > .as-toggle-dropdown.as-placeholder.btn-primary,
.advanced-select > .as-toggle-dropdown.as-placeholder.btn-primary:active,
.advanced-select > .as-toggle-dropdown.as-placeholder.btn-primary:focus,
.advanced-select > .as-toggle-dropdown.as-placeholder.btn-primary:hover,
.advanced-select > .as-toggle-dropdown.as-placeholder.btn-secondary,
.advanced-select > .as-toggle-dropdown.as-placeholder.btn-secondary:active,
.advanced-select > .as-toggle-dropdown.as-placeholder.btn-secondary:focus,
.advanced-select > .as-toggle-dropdown.as-placeholder.btn-secondary:hover,
.advanced-select > .as-toggle-dropdown.as-placeholder.btn-success,
.advanced-select > .as-toggle-dropdown.as-placeholder.btn-success:active,
.advanced-select > .as-toggle-dropdown.as-placeholder.btn-success:focus,
.advanced-select > .as-toggle-dropdown.as-placeholder.btn-success:hover {
    color: rgba(255, 255, 255, .5);
}

.advanced-select > select {
    position: absolute !important;
    bottom: 0;
    left: 50%;
    display: block !important;
    width: .5px !important;
    height: 100% !important;
    padding: 0 !important;
    opacity: 0 !important;
    border: none;
    z-index: 0 !important;
}

.advanced-select > select.mobile-device {
    top: 0;
    left: 0;
    display: block !important;
    width: 100% !important;
    z-index: 2 !important;
}

.advanced-select.is-invalid .as-toggle-dropdown,
.error .advanced-select .as-toggle-dropdown,
.has-error .advanced-select .as-toggle-dropdown,
.was-validated .advanced-select select:invalid + .as-toggle-dropdown {
    border-color: #b94a48;
}

.advanced-select.is-valid .as-toggle-dropdown,
.was-validated .advanced-select select:valid + .as-toggle-dropdown {
    border-color: #28a745;
}

.advanced-select .as-toggle-dropdown:focus,
.advanced-select > select.mobile-device:focus + .as-toggle-dropdown {
    outline: thin dotted #333 !important;
    outline-offset: -2px;
}

.advanced-select.form-control {
    margin-bottom: 0;
    padding: 0;
    border: none;
    height: auto;
}

:not(.input-group) > .advanced-select.form-control:not([class*=col-]) {
    width: 100%;
}

.advanced-select.form-control.input-group-btn {
    float: none;
    z-index: auto;
}

.form-inline .advanced-select,
.form-inline .advanced-select.form-control:not([class*=col-]) {
    width: auto;
}

.advanced-select:not(.input-group-btn),
.advanced-select[class*=col-] {
    float: none;
    display: inline-block;
    margin-left: 0;
}

.advanced-select.dropdown-menu-right,
.advanced-select[class*=col-].dropdown-menu-right,
.row .advanced-select[class*=col-].dropdown-menu-right {
    float: right;
}

.form-horizontal .advanced-select,
.form-inline .advanced-select {
    margin-bottom: 0;
}

.advanced-select.form-control-lg .as-toggle-dropdown,
.advanced-select.form-control-sm .as-toggle-dropdown {
    font-size: inherit;
    line-height: inherit;
    border-radius: inherit;
}

/*.advanced-select.form-control-sm .as-toggle-dropdown {*/
/*    padding: .25rem .5rem;*/
/*}*/

/*.advanced-select.form-control-lg .as-toggle-dropdown {*/
/*    padding: .5rem 1rem;*/
/*}*/

.form-inline .advanced-select .form-control {
    width: 100%;
}

.advanced-select.disabled,
.advanced-select > .disabled {
    cursor: not-allowed;
}

.advanced-select.disabled:focus,
.advanced-select > .disabled:focus {
    outline: 0 !important;
}

.advanced-select.as-container {
    position: absolute;
    top: 0;
    left: 0;
    height: 0 !important;
    padding: 0 !important;
}

.advanced-select.as-container .as-dropdown-menu {
    z-index: 1060;
}

.advanced-select .as-toggle-dropdown .filter-option {
    position: static;
    top: 0;
    left: 0;
    float: left;
    height: 100%;
    width: 100%;
    text-align: left;
    overflow: hidden;
    flex: 0 1 auto;
}

.advanced-select .as-toggle-dropdown .filter-option-inner-inner {
    overflow: hidden;
}

.advanced-select .as-toggle-dropdown .filter-expand {
    width: 0 !important;
    float: left;
    opacity: 0 !important;
    overflow: hidden;
}

.advanced-select .as-toggle-dropdown .caret {
    position: absolute;
    top: 50%;
    right: 12px;
    margin-top: -2px;
    vertical-align: middle;
}

.input-group .advanced-select.form-control .as-toggle-dropdown {
    border-radius: inherit;
}

.advanced-select[class*=col-] .as-toggle-dropdown {
    width: 100%;
}

.advanced-select .as-dropdown-menu {
    box-sizing: border-box;
}

.as-dropdown-menu {
    position: absolute;
    z-index: var(--as-dropdown-zindex);
    display: none;
    padding: var(--as-dropdown-padding-y) var(--as-dropdown-padding-x);
    margin: 0;
    font-size: var(--as-dropdown-font-size);
    color: var(--as-dropdown-color);
    text-align: left;
    list-style: none;
    background-color: var(--as-dropdown-bg);
    background-clip: padding-box;
    border: var(--as-dropdown-border-width) solid var(--as-dropdown-border-color);
    border-radius: var(--as-dropdown-border-radius);
}

.as-header {
    padding: var(--as-dropdown-header-padding-y) var(--as-dropdown-header-padding-x);
    background-color: var(--as-dropdown-header-color);
}

.as-option-group {
    display: block;
    padding: var(--as-dropdown-header-padding-y) var(--as-dropdown-header-padding-x);
    margin-bottom: 0;
    font-size: var(--as-dropdown-optgroup-font-size);
    color: var(--as-dropdown-header-color);
    white-space: nowrap;
}

.as-dropdown-menu.show {
    display: block;
}

.advanced-select .as-dropdown-menu > .inner:focus {
    outline: 0 !important;
}

.advanced-select .as-inner-list {
    position: static;
    float: none;
    border: 0;
    padding: 0;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    list-style: none;
}

.advanced-select .as-inner-list li {
    position: relative;
}

.advanced-select .as-inner-list li.active small {
    color: rgba(255, 255, 255, .5) !important;
}

.advanced-select .as-inner-list li.disabled a {
    cursor: not-allowed;
}

.advanced-select .as-inner-list li a {
    cursor: pointer;
    user-select: none;
}

.advanced-select .as-inner-list li a.opt {
    position: relative;
    padding-left: 2.25em;
}

.advanced-select .as-inner-list li a span.check-mark {
    display: none;
}

.advanced-select .as-inner-list li a span.text {
    display: inline-block;
}

.advanced-select .as-inner-list li small {
    padding-left: .5em;
}

.advanced-select .as-dropdown-menu .notify {
    position: absolute;
    bottom: 5px;
    width: 96%;
    margin: 0 2%;
    min-height: 26px;
    padding: 3px 5px;
    background: #f5f5f5;
    border: 1px solid #e3e3e3;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
    pointer-events: none;
    opacity: .9;
    box-sizing: border-box;
}

.advanced-select .as-dropdown-menu .notify.fadeOut {
    animation: .3s linear 750ms forwards as-notify-fadeOut;
}

.as-option-item {
    display: block;
    width: 100%;
    padding: var(--as-dropdown-item-padding-y) var(--as-dropdown-item-padding-x);
    clear: both;
    font-weight: 400;
    color: var(--as-dropdown-link-color);
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    border-radius: 0;
}

.as-option-item:focus,
.as-option-item:hover {
    color: var(--as-dropdown-link-hover-color);
    background-color: var(--as-dropdown-link-hover-bg);
}

.as-option-item.active,
.as-option-item:active {
    color: var(--as-dropdown-link-active-color);
    text-decoration: none;
    background-color: var(--as-dropdown-link-active-bg);
}

.as-option-item.disabled,
.as-option-item:disabled {
    color: var(--as-dropdown-link-disabled-color);
    pointer-events: none;
    background-color: transparent;
}

.advanced-select .no-results {
    padding: 3px;
    background: #f5f5f5;
    margin: 0 5px;
    white-space: nowrap;
}

.advanced-select.fit-width .as-toggle-dropdown .filter-option {
    position: static;
    display: inline;
    padding: 0;
}

.advanced-select.fit-width .as-toggle-dropdown .filter-option-inner,
.advanced-select.fit-width .as-toggle-dropdown .filter-option-inner-inner {
    display: inline;
}

.advanced-select.show-tick .as-inner-list .selected span.check-mark {
    position: absolute;
    display: inline-block;
    right: 15px;
    top: 5px;
}

.advanced-select.show-tick .as-inner-list li a span.text {
    margin-right: 34px;
}

.advanced-select .as-ok-default:after {
    content: '';
    display: block;
    width: .5em;
    height: 1em;
    border-style: solid;
    border-width: 0 .26em .26em 0;
    transform-style: preserve-3d;
    transform: rotate(45deg);
}

.as-actionsbox,
.as-donebutton,
.as-searchbox {
    padding: 4px 8px;
}

.as-actionsbox {
    width: 100%;
    box-sizing: border-box;
}

.as-actionsbox .btn-group button {
    width: 50%;
}

.as-donebutton {
    float: left;
    width: 100%;
    box-sizing: border-box;
}

.as-donebutton .btn-group button {
    width: 100%;
}

.as-searchbox + .as-actionsbox {
    padding: 0 8px 4px;
}

.as-searchbox .form-control {
    margin-bottom: 0;
    width: 100%;
    float: none;
}
