/*------------------------------------*\
    
    Choices - Select field styling
    https://joshuajohnson.co.uk/Choices/

    Do not edit this file
    Customize using css/components/choices.css

\*------------------------------------*/

.choices {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.choices:focus {
    outline: none;
}

.choices:last-child {
    margin-bottom: 0;
}

.choices.is-open {
    overflow: initial;
}

.choices.is-disabled .choices__inner,
.choices.is-disabled .choices__input {
    background-color: #eaeaea;
    cursor: not-allowed;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.choices.is-disabled .choices__item {
    cursor: not-allowed;
}

.choices [hidden] {
    display: none !important;
}

.choices[data-type*='select-one'] {
    cursor: pointer;
}

.choices[data-type*='select-one'] .choices__inner {
    padding-bottom: 0.4688rem;
}

.choices[data-type*='select-one'] .choices__input {
    display: block;
    width: 100%;
    padding: 0.625rem;
    border-bottom: 0.0625rem solid #dddddd;
    background-color: #ffffff;
    margin: 0;
}

.choices[data-type*='select-one'] .choices__button {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);
    padding: 0;
    background-size: 0.5rem;
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -0.625rem;
    margin-right: 1.5625rem;
    height: 1.25rem;
    width: 1.25rem;
    border-radius: 10em;
    opacity: 0.25;
}

.choices[data-type*='select-one'] .choices__button:hover,
.choices[data-type*='select-one'] .choices__button:focus {
    opacity: 1;
}

.choices[data-type*='select-one'] .choices__button:focus {
    -webkit-box-shadow: 0 0 0 0.125rem #00bcd4;
    box-shadow: 0 0 0 0.125rem #00bcd4;
}

.choices[data-type*='select-one'] .choices__item[data-value=''] .choices__button {
    display: none;
}

.choices[data-type*='select-one']:after {
    content: '';
    height: 0;
    width: 0;
    border-style: solid;
    border-color: #333333 transparent transparent transparent;
    border-width: 0.3125rem;
    position: absolute;
    right: 0.7188rem;
    top: 50%;
    margin-top: -0.1562rem;
    pointer-events: none;
}

.choices[data-type*='select-one'].is-open:after {
    border-color: transparent transparent #333333 transparent;
    margin-top: -0.4688rem;
}

.choices[data-type*='select-one'][dir='rtl']:after {
    left: 0.7188rem;
    right: auto;
}

.choices[data-type*='select-one'][dir='rtl'] .choices__button {
    right: auto;
    left: 0;
    margin-left: 1.5625rem;
    margin-right: 0;
}

.choices[data-type*='select-multiple'] .choices__inner,
.choices[data-type*='text'] .choices__inner {
    cursor: text;
}

.choices[data-type*='select-multiple'] .choices__button,
.choices[data-type*='text'] .choices__button {
    position: relative;
    display: inline-block;
    margin-top: 0;
    margin-right: -0.25rem;
    margin-bottom: 0;
    margin-left: 0.5rem;
    padding-left: 1rem;
    border-left: 0.0625rem solid #008fa1;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);
    background-size: 0.5rem;
    width: 0.5rem;
    line-height: 1;
    opacity: 0.75;
    border-radius: 0;
}

.choices[data-type*='select-multiple'] .choices__button:hover,
.choices[data-type*='select-multiple'] .choices__button:focus,
.choices[data-type*='text'] .choices__button:hover,
.choices[data-type*='text'] .choices__button:focus {
    opacity: 1;
}

.choices__inner {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    background-color: #f9f9f9;
    padding: 0.4688rem 0.4688rem 0.2344rem;
    border: 0.0625rem solid #dddddd;
    border-radius: 0.1562rem;
    font-size: 0.875rem;
    min-height: 2.75rem;
    overflow: hidden;
}

.is-focused .choices__inner,
.is-open .choices__inner {
    border-color: #b7b7b7;
}

.is-open .choices__inner {
    border-radius: 0.1562rem 0.1562rem 0 0;
}

.is-flipped.is-open .choices__inner {
    border-radius: 0 0 0.1562rem 0.1562rem;
}

.choices__list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.choices__list--single {
    display: inline-block;
    padding: 0.25rem 1rem 0.25rem 0.25rem;
    width: 100%;
}

[dir='rtl'] .choices__list--single {
    padding-right: 0.25rem;
    padding-left: 1rem;
}

.choices__list--single .choices__item {
    width: 100%;
}

.choices__list--multiple {
    display: inline;
}

.choices__list--multiple .choices__item {
    display: inline-block;
    vertical-align: middle;
    border-radius: 1.25rem;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 500;
    margin-right: 0.2344rem;
    margin-bottom: 0.2344rem;
    background-color: #00bcd4;
    border: 0.0625rem solid #00a5bb;
    color: #ffffff;
    word-break: break-all;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.choices__list--multiple .choices__item[data-deletable] {
    padding-right: 0.3125rem;
}

[dir='rtl'] .choices__list--multiple .choices__item {
    margin-right: 0;
    margin-left: 0.2344rem;
}

.choices__list--multiple .choices__item.is-highlighted {
    background-color: #00a5bb;
    border: 0.0625rem solid #008fa1;
}

.is-disabled .choices__list--multiple .choices__item {
    background-color: #aaaaaa;
    border: 0.0625rem solid #919191;
}

.choices__list--dropdown {
    visibility: hidden;
    z-index: 1;
    position: absolute;
    width: 100%;
    background-color: #ffffff;
    border: 0.0625rem solid #dddddd;
    top: 100%;
    margin-top: -0.0625rem;
    border-bottom-left-radius: 0.1562rem;
    border-bottom-right-radius: 0.1562rem;
    overflow: hidden;
    word-break: break-all;
    will-change: visibility;
}

.choices__list--dropdown.is-active {
    visibility: visible;
}

.is-open .choices__list--dropdown {
    border-color: #b7b7b7;
}

.is-flipped .choices__list--dropdown {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: -0.0625rem;
    border-radius: 0.25rem 0.25rem 0 0;
}

.choices__list--dropdown .choices__list {
    position: relative;
    max-height: 18.75rem;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    will-change: scroll-position;
}

.choices__list--dropdown .choices__item {
    position: relative;
    padding: 0.625rem;
    font-size: 0.875rem;
}

[dir='rtl'] .choices__list--dropdown .choices__item {
    text-align: right;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: #f2f2f2;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted:after {
    opacity: 0.5;
}

.choices__item {
    cursor: default;
}

.choices__item--selectable {
    cursor: pointer;
}

.choices__item--disabled {
    cursor: not-allowed;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    user-select: none;
    opacity: 0.5;
}

.choices__heading {
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.625rem;
    border-bottom: 0.0625rem solid #f7f7f7;
    color: gray;
}

.choices__button {
    text-indent: -624.9375rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.choices__button:focus {
    outline: none;
}

.choices__input {
    display: inline-block;
    vertical-align: baseline;
    background-color: #f9f9f9;
    font-size: 0.875rem;
    margin-bottom: 0.3125rem;
    border: 0;
    border-radius: 0;
    max-width: 100%;
    padding: 0.25rem 0 0.25rem 0.125rem;
}

.choices__input:focus {
    outline: 0;
}

[dir='rtl'] .choices__input {
    padding-right: 0.125rem;
    padding-left: 0;
}

.choices__placeholder {
    opacity: 0.5;
}


/* WebFX Fix */
@media (min-width: 600px) {
    .choices__list--dropdown .choices__item--selectable {
        padding-right: 6.25rem;
    }

    .choices__list--dropdown .choices__item--selectable:after {
        content: attr(data-select-text);
        font-size: 0.75rem;
        opacity: 0;
        position: absolute;
        right: 0.625rem;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    [dir='rtl'] .choices__list--dropdown .choices__item--selectable {
        text-align: right;
        padding-left: 6.25rem;
        padding-right: 0.625rem;
    }

    [dir='rtl'] .choices__list--dropdown .choices__item--selectable:after {
        right: auto;
        left: 0.625rem;
    }
}