﻿/* Choices.js Custom Styling */
.choices {
    margin-bottom: 0;
}

.choices__inner {
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    min-height: calc(2.25rem + 2px);
    padding: 0.375rem 0.75rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .choices__inner:hover {
        /*border-color: #86b7fe;*/
        border-color: #8fbaca;
    }

.choices.is-focused .choices__inner {
    border-color: #8fbaca;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.choices__input {
    background-color: transparent;
    margin-bottom: 0;
    padding: 0;
}

.choices__list--dropdown {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

    .choices__list--dropdown .choices__item--selectable.is-highlighted {
        background-color: #0d6efd;
        color: #fff;
    }

.choices__list--multiple .choices__item {
    background-color: #0d6efd;
    border: 1px solid #0d6efd;
    border-radius: 0.25rem;
}

/* Required field validation */
.choices.is-invalid .choices__inner {
    border-color: #dc3545;
}

.choices.is-invalid.is-focused .choices__inner {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.form-group label.required:after {
    content: "*";
    color: #dc3545;
    margin-left: 4px;
}
