.ng-select-sm {
    font-size: 0.7875rem !important;
}

.ng-select {
    font-size: 0.875rem;
}

    .ng-select.ng-select-opened > .ng-select-container {
        background: #fff;
    }

        .ng-select.ng-select-opened > .ng-select-container:hover {
            box-shadow: none;
        }

        .ng-select.ng-select-opened > .ng-select-container .ng-arrow {
            top: -1px;
            border-color: transparent transparent #999;
            border-width: 0 4px 4px;
        }

            .ng-select.ng-select-opened > .ng-select-container .ng-arrow:hover {
                border-color: transparent transparent #d1e8ff;
            }

    .ng-select.ng-select-opened.ng-select-bottom > .ng-select-container {
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .ng-select.ng-select-opened.ng-select-top > .ng-select-container {
        border-top-right-radius: 0;
        border-top-left-radius: 0;
    }

    .ng-select.ng-select-focused:not(.ng-select-opened) > .ng-select-container {
        border-color: #3283f6;
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 3px rgba(0, 126, 255, 0.1);
    }

    .ng-select.ng-select-disabled > .ng-select-container {
        background-color: #f9f9f9;
    }

    .ng-select .ng-has-value .ng-placeholder {
        display: none;
    }

.ng-select .ng-select-container {
    background-color: #fff;
    align-items: center;
    min-height: calc(1.5em + 0.9rem);
    font-size: 0.875rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

    .ng-select .ng-select-container:hover {
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    }

    .ng-select .ng-select-container .ng-value-container {
        align-items: center;
        padding-left: 10px;
    }

[dir="rtl"] .ng-select .ng-select-container .ng-value-container {
    padding-right: 10px;
    padding-left: 0;
}

.ng-select .ng-select-container .ng-value-container .ng-placeholder {
    font-weight: normal;
    font-size: 13px;
    color: #c0ccda;
}

.ng-select.ng-select-single .ng-select-container {
    color: #1b2e4b;
}

    .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input {
        top: 5px;
        left: 0;
        padding-left: 10px;
        padding-right: 50px;
    }

[dir="rtl"] .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input {
    padding-right: 10px;
    padding-left: 50px;
}

.ng-select.ng-select-multiple.ng-select-disabled > .ng-select-container .ng-value-container .ng-value {
    background-color: #f9f9f9;
    border: 1px solid #e3e3e3;
}

    .ng-select.ng-select-multiple.ng-select-disabled > .ng-select-container .ng-value-container .ng-value .ng-value-label {
        padding: 0 5px;
    }

.ng-select.ng-select-multiple .ng-select-container .ng-value-container {
    padding-top: 5px;
    padding-left: 7px;
}

[dir="rtl"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container {
    padding-right: 7px;
    padding-left: 0;
}

.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value {
    font-size: 13px;
    margin-bottom: 5px;
    background-color: #f5faff;
    border-radius: 2px;
    border: 1px solid #c2e0ff;
    margin-right: 5px;
}

[dir="rtl"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value {
    margin-right: 0;
    margin-left: 5px;
}

.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled {
    background-color: #f9f9f9;
    border: 1px solid #e3e3e3;
}

    .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label {
        padding-left: 5px;
    }

[dir="rtl"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label {
    padding-left: 0;
    padding-right: 5px;
}

.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label {
    display: inline-block;
    padding: 0 5px 0 5px;
}

.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon {
    display: inline-block;
    padding: 0 5px;
}

    .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon:hover {
        background-color: #d1e8ff;
    }

    .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left {
        border-right: 1px solid #c2e0ff;
    }

[dir="rtl"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left {
    border-left: 1px solid #c2e0ff;
    border-right: none;
}

.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right {
    border-left: 1px solid #c2e0ff;
}

[dir="rtl"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right {
    border-left: 0;
    border-right: 1px solid #c2e0ff;
}

.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input {
    padding: 0 0 3px 3px;
}

[dir="rtl"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input {
    padding: 0 3px 3px 0;
}

.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder {
    top: 5px;
    padding-bottom: 5px;
    padding-left: 3px;
}

[dir="rtl"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder {
    padding-right: 3px;
    padding-left: 0;
}

.ng-select .ng-clear-wrapper {
    color: #999;
    width: 15px !important;
}

    .ng-select .ng-clear-wrapper .ng-clear {
        display: inline-block;
        font-size: 16px !important;
        line-height: 1;
        pointer-events: none;
        text-align: center;
    }

    .ng-select .ng-clear-wrapper:hover .ng-clear {
        color: #f86262;
    }

.ng-select .ng-spinner-zone {
    padding: 5px 5px 0 0;
}

[dir="rtl"] .ng-select .ng-spinner-zone {
    padding: 5px 0 0 5px;
}

.ng-select .ng-arrow-wrapper {
    width: 25px;
    padding-right: 5px;
}

[dir="rtl"] .ng-select .ng-arrow-wrapper {
    padding-left: 5px;
    padding-right: 0;
}

.ng-select .ng-arrow-wrapper:hover .ng-arrow {
    border-top-color: #d1e8ff;
}

.ng-select .ng-arrow-wrapper .ng-arrow {
    border-color: #999 transparent transparent;
    border-style: solid;
    border-width: 4px 4px 2.5px;
}

.ng-dropdown-panel {
    background-color: #fff;
    border: 1px solid #dde2ec;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    left: 0;
}

    .ng-dropdown-panel.ng-select-bottom {
        top: 100%;
        border-bottom-right-radius: 4px;
        border-bottom-left-radius: 4px;
        border-top-color: #dde2ec;
        margin-top: -1px;
    }

        .ng-dropdown-panel.ng-select-bottom .ng-dropdown-panel-items .ng-option:last-child {
            border-bottom-right-radius: 4px;
            border-bottom-left-radius: 4px;
        }

    .ng-dropdown-panel.ng-select-top {
        bottom: 100%;
        border-top-right-radius: 4px;
        border-top-left-radius: 4px;
        border-bottom-color: #e6e6e6;
        margin-bottom: -1px;
    }

        .ng-dropdown-panel.ng-select-top .ng-dropdown-panel-items .ng-option:first-child {
            border-top-right-radius: 4px;
            border-top-left-radius: 4px;
        }

    .ng-dropdown-panel .ng-dropdown-header {
        border-bottom: 1px solid #dde2ec;
        padding: 5px 7px;
    }

    .ng-dropdown-panel .ng-dropdown-footer {
        border-top: 1px solid #dde2ec;
        padding: 5px 7px;
    }

    .ng-dropdown-panel .ng-dropdown-panel-items {
        margin-bottom: 1px;
    }

        .ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup {
            user-select: none;
            padding: 8px 10px;
            font-weight: 500;
            color: #495057;
            cursor: pointer;
        }

            .ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled {
                cursor: default;
            }

            .ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked {
                background-color: #ebf5ff;
            }

            .ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected {
                background-color: #f5faff;
                font-weight: 600;
            }

        .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
            background-color: #fff;
            color: #495057;
            padding: 8px 10px;
        }

            .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected {
                /* color: #333; */
                background-color: #f5faff;
            }

                .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected .ng-option-label {
                    color: #3283f6;
                }

            .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked {
                background-color: #ebf5ff;
                color: #495057;
            }

            .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled {
                color: #495057;
            }

            .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child {
                padding-left: 22px;
            }

[dir="rtl"] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child {
    padding-right: 22px;
    padding-left: 0;
}

.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label {
    font-size: 80%;
    font-weight: 400;
    padding-right: 5px;
}

[dir="rtl"] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label {
    padding-left: 5px;
    padding-right: 0;
}

[dir="rtl"] .ng-dropdown-panel {
    direction: rtl;
    text-align: right;
}

.ng-select.is-invalid .ng-select-container, .was-validated .ng-select:invalid .ng-select-container {
    border-color: #f86262;
    border-width: 1px;
}

.ng-select.is-invalid ~ .invalid-feedback, .ng-select.is-invalid ~ .invalid-tooltip, .was-validated .ng-select:invalid ~ .invalid-feedback, .was-validated .ng-select:invalid ~ .invalid-tooltip {
    display: block;
}

.ng-select .ng-spinner-loader {
    border-radius: 100% !important;
}

.ng-select-sm .ng-spinner-loader {
    border-radius: 100% !important;
    width: 16px !important;
    height: 16px !important;
    margin-top: -1px;
}
