/*************************************************************/
/*  Variables                                                */
/*************************************************************/

html {
    --mit-math-red: #79242f;
    --mit-math-orange: #c97d32;
    --main-dark: #135a70;
    --main-extra-dark: #10333d;
    --main-medium: #017494;
    --main-light: #2092b5;
    --main-font: #110e0e;
    --light-font: #4a5659;
    --light-gray: #d8dde1;
    --extra-light: #f3f7f9;
}

/*************************************************************/
/*  Basic Form                                               */
/*************************************************************/

form {
    max-width: 800px;
    margin: auto;
}

label {
    font-weight: bold;
}

form .hidden {
	display: none;
}

span.form-field,
span.form-field label {
    display: inline;
}

.form-field,
.form-select {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.form-field label,
.form-select label {
    margin-right: 1rem;
}

.form-field label,
.form-select label,
.form-textarea label,
legend {
    margin-bottom: 5px;
    display: block;
    line-height: 1.5em;
}

.form-field input {
    flex-grow: 1;
}

.form-field .note,
.form-select .note {
    width: 100%;
}

.form-field,
.form-select,
.form-textarea,
fieldset,
.g-recaptcha {
    margin-bottom: 1rem;
}

select {
    box-sizing: border-box;
    padding-right: 40px;
    width: auto;
}

fieldset {
    border: none;
    padding: 0;
}

fieldset ul {
    padding-left: 1rem;
    list-style: none;
    margin-top: 0;
}

fieldset ul label {
    font-weight: normal;
}

legend {
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

textarea {
    width: 100%;
    height: 100px;
    border: 2px solid #d8dde1;
    border-radius: 2px;
    padding: 1rem;
}

.form-textarea label {
    margin-top: 1rem;
}

form .header {
    margin-top: 2rem;
    color: #79242f;
    font-weight: bold;
    font-size: 1.2rem;
}

fieldset.radio {
    margin-top: 1rem;
}

fieldset.radio.inline {
    margin-top: 0;
}

.radio li,
.checkbox li {
    position: relative;
    display: flex;
    padding-bottom: 1rem;
}

.radio li:last-child,
.checkbox li:last-child {
    padding-bottom: 0;
}

.note {
    font-weight: normal;
    font-size: 0.9rem;
    line-height: 1.4em;
    display: block;
}

label.small {
    width: 120px;
}

label.medium {
    width: 200px;
}

label.large {
    width: 250px;
}

label.full {
    width: 100%;
    margin-top: 1rem;
}

ul.checkbox,
ul.radio {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.checkbox li,
ul.radio li {
    position: relative;
    padding: 0;
    margin-bottom: 5px;
}

ul.checkbox.inline,
ul.radio.inline {
    display: flex;
    flex-wrap: wrap;
}

input[type="checkbox"],
input[type="radio"] {
    opacity: 0;
}

input[type="checkbox"],
input[type="checkbox"] + label::before,
input[type="radio"],
input[type="radio"] + label::before {
    position: absolute;
    top: 0;
    left: 0;
    height: 30px;
    width: 30px;
    box-sizing: border-box;
    background: #fff;
}

input[type="checkbox"][disabled] + label::before,
input[type="radio"][disabled] + label::before {
    background: var(--light-gray);
    border: 2px solid #caccce;
}

/* Take padding into account when inputs are in table */

.checkbox td,
.checkbox th {
    position:relative;
}

/*
td  > input[type="checkbox"],
td  > input[type="checkbox"] + label::before,
td  > input[type="radio"],
td  > input[type="radio"] + label::before,
th  > input[type="checkbox"],
th  > input[type="checkbox"] + label::before,
th  > input[type="radio"],
th  > input[type="radio"] + label::before {
    top: .5rem;
    left:.5rem;
}

td > input[type="checkbox"] + label::after,
th > input[type="checkbox"] + label::after {
    left: calc(.5rem + 4px);
    top: calc(.5rem + 4px);
} 

td > input[type="radio"] + label::after,
th > input[type="radio"] + label::after {
    left: calc(.5rem + 5px);
    top: calc(.5rem + 5px);
} */

input[type="checkbox"] + label::before,
input[type="radio"] + label::before {
    border: 2px solid var(--light-gray);
    content: "";
}

input[type="radio"] + label::before {
    border-radius: 50%;
}

input[type="checkbox"] + label::after,
input[type="radio"] + label::after {
    content: "";
    opacity: 0;
    position: absolute;
    transition: opacity 0.2s ease-in-out;
}

input[type="checkbox"] + label::after {
    background-image: url("/dist/images/checkmark.svg");
    background-repeat: no-repeat;
    height: 22px;
    width: 22px;
    left: 4px;
    top: 4px;
}

input[type="radio"] + label::after {
    border: 10px solid var(--main-medium);
    border-radius: 50%;
    left: 5px;
    top: 5px;
}

input[type="checkbox"]:checked + label::after,
input[type="radio"]:checked + label::after {
    opacity: 1;
}

input[type="checkbox"] + label,
input[type="radio"] + label {
    margin: 0 40px;
    line-height: 30px;
}

input[type="checkbox"]:focus + label::before,
input[type="radio"]:focus + label::before {
    box-shadow: 0 0 0 3px #ffbf47;
    outline: 3px solid transparent; /* For Windows high contrast mode. */
}


.inline ul {
    display: flex;
flex-wrap: wrap;
    margin-bottom: 0;
}

.inline li {
    margin-bottom: 0;   
    padding-bottom: 10px;
}

ul.errors {
    max-width: 700px;
    margin: 1rem auto;
}

form p.helper {
    margin: 0;
    font-style: italic;
font-size: .9rem;
}

@media only screen and (max-width: 500px) {
    .form-field {
        flex-wrap: wrap;
    }
}

/*************************************************************/
/*  Page Search/Sort/Filter Forms                            */
/*************************************************************/

.filter-form {
    display: flex;
    flex-wrap: wrap;
    background: var(--extra-light);
    padding: 1rem 1rem 0 1rem;
    max-width: 100%;
}

.filter-form > * {
    width: 100%;
}
 


/*************************************************************/
/*  Will want to move away from tables eventually, but for
/*  now we will try to make these responsive                 */
/*************************************************************/

.question-group {
    margin-bottom: 1rem;
}

.question {
    font-weight: bold;
}

form table {
    width: 100%;
}

form .flex > *  {
    flex-basis: 100%;
}

td fieldset {
    margin: 0;
}

td ul,
td .inline li {
    padding: 0;
}

td .inline.radio li {
    margin: .5rem 0;
}

.radio td {
    position: relative;
}

.radio td label::before,
.radio td label::after {
    margin: 5px;
}



.no-label label {
    width: 0px;
    height:0;
    overflow: hidden;
    display: block;
}

.time-select li {
    width: 170px;
    margin-bottom: 10px;
}

@media only screen and (max-width: 600px) {
    form tr {
        display: flex;
        flex-direction: column;
    }

    form table input {
        width: 100%;
    }

    form table {
        margin-bottom: 1rem;
    }

    .no-label label {
        width: auto;
        display: block;
        height: auto;
    }

    .no-label tr:first-child {
        display: none;
    }


}
/*
.inline-form > .form-field {
    margin-right: 2rem;
}

.inline-form .full-line {
    width: 100%;
}


@media only screen and (max-width: 500px) {
    .inline-form .form-field {
        margin-right: 0;
    }

    .form-field label {
        width: 100%;
        margin-bottom: 5px;
    }
}
*/
/*************************************************************/
/*  Select 2                                                 */
/*************************************************************/

/* Single */

.select2 span {
    margin-bottom: 0;
}

.select2-container {
    box-sizing: border-box;
    display: inline-block;
    margin: 0;
    position: relative;
    vertical-align: middle;
}

.select2-container li {
    max-width: 100%;
}

.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 35px;
    user-select: none;
    -webkit-user-select: none;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    display: block;
    padding-left: 8px;
    padding-right: 35px;
    overflow: hidden;
    text-overflow: ellipsis;
    /*word-wrap: break-word;
    text-overflow: inherit;
    white-space: normal; */
}

.select2-container .select2-selection--single .select2-selection__clear {
    background-color: transparent;
    border: none;
    font-size: 1em;
}

.select2-container[dir="rtl"]
    .select2-selection--single
    .select2-selection__rendered {
    padding-right: 8px;
    padding-left: 20px;
    /*word-wrap: break-word;
    text-overflow: inherit;
    white-space: normal; */
}

/* Multiple */

.select2-container .select2-selection--multiple {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    min-height: 32px;
    user-select: none;
    -webkit-user-select: none;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    display: inline;
    list-style: none;
    padding: 0;
    /*word-wrap: break-word;
    text-overflow: inherit;
    white-space: normal; */
}

.select2-container .select2-selection--multiple .select2-selection__clear {
    background-color: transparent;
    border: none;
    font-size: 1em;
}

/* Inline */

.select2-container .select2-search--inline .select2-search__field {
    box-sizing: border-box;
    border: none;
    font-size: 100%;
    margin-top: 5px;
    margin-left: 5px;
    padding: 0;
    max-width: 100%;
    resize: none;
    height: 18px;
    vertical-align: bottom;
    font-family: sans-serif;
    overflow: hidden;
    word-break: keep-all;
}

.select2-container
    .select2-search--inline
    .select2-search__field::-webkit-search-cancel-button {
    appearance: none;
    -webkit-appearance: none;
}

.select2-dropdown {
    background-color: white;
    border: 2px solid var(--light-gray);
    border-radius: 2px;
    box-sizing: border-box;
    display: block;
    position: absolute;
    left: -100000px;
    width: 100%;
    z-index: 1051;
}

.select2-results {
    display: block;
}

.select2-results__options {
    list-style: none;
    margin: 0;
    padding: 0;
}

.select2-results__option {
    padding: 3px;
    user-select: none;
    -webkit-user-select: none;
}

.select2-results__option--selectable {
    cursor: pointer;
}

.select2-container--open .select2-dropdown {
    left: 0;
}

.select2-container--open .select2-dropdown--above {
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.select2-container--open .select2-dropdown--below {
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.select2-search--dropdown {
    display: block;
    padding: 4px;
}

.select2-search--dropdown .select2-search__field {
    padding: 4px;
    width: 100%;
    box-sizing: border-box;
}

.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.select2-search--dropdown.select2-search--hide {
    display: none;
}

.select2-close-mask {
    border: 0;
    margin: 0;
    padding: 0;
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    min-height: 100%;
    min-width: 100%;
    height: auto;
    width: auto;
    opacity: 0;
    z-index: 99;
    background-color: #fff;
    filter: alpha(opacity=0);
}

.select2-hidden-accessible {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 2px solid var(--light-gray);
    border-radius: 2px;
    height: 100%;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    color: #444;
    line-height: 35px;
    /*word-wrap: break-word;
    text-overflow: inherit;
    white-space: normal; */
}

.select2-container--default
    .select2-selection--single
    .select2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold;
    height: 35px;
    margin-right: 20px;
    padding-right: 0px;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__placeholder {
    color: #999;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 35px;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 20px;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow
    b {
    border-color: var(--main-dark) transparent transparent transparent;
    border-style: solid;
    border-width: 9px 6px 0 6px;
    height: 0;
    left: 50%;
    margin-left: -10px;
    margin-top: -4px;
    position: absolute;
    top: 50%;
    width: 0;
    transform: rotate(-90deg);
    transition: transform 0.2s;
}

.select2-container--default[dir="rtl"]
    .select2-selection--single
    .select2-selection__clear {
    float: left;
}

.select2-container--default[dir="rtl"]
    .select2-selection--single
    .select2-selection__arrow {
    left: 1px;
    right: auto;
}

.select2-container--default.select2-container--disabled
    .select2-selection--single {
    background-color: #eee;
    cursor: default;
    height: 100%;
}

.select2-container--default.select2-container--disabled
    .select2-selection--single
    .select2-selection__clear {
    display: none;
}

.select2-container--default.select2-container--open
    .select2-selection--single
    .select2-selection__arrow
    b {
    transform: rotate(0);
    transition: transform 0.2s;
}

.select2-container--default .select2-selection--multiple {
    background-color: white;
    border: 2px solid var(--light-gray);
    border-radius: 2px;
    cursor: text;
    padding-bottom: 5px;
    padding-right: 5px;
    position: relative;
}

.select2-container--default
    .select2-selection--multiple.select2-selection--clearable {
    padding-right: 25px;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__clear {
    cursor: pointer;
    font-weight: bold;
    height: 20px;
    margin-right: 10px;
    margin-top: 5px;
    position: absolute;
    right: 0;
    padding: 1px;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice {
    background-color: #e4e4e4;
    border: 2px solid var(--light-gray);
    border-radius: 2px;
    box-sizing: border-box;
    display: inline-block;
    margin-left: 5px;
    margin-top: 5px;
    padding: 0;
    padding-left: 20px;
    position: relative;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    white-space: nowrap;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__display {
    cursor: default;
    padding-left: 2px;
    padding-right: 5px;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove {
    background-color: transparent;
    border: none;
    border-right: 1px solid #aaa;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    color: #999;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    padding: 0 4px;
    position: absolute;
    left: 0;
    top: 0;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove:hover,
.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove:focus {
    background-color: #f1f1f1;
    color: #333;
    outline: none;
}

.select2-container--default[dir="rtl"]
    .select2-selection--multiple
    .select2-selection__choice {
    margin-left: 5px;
    margin-right: auto;
}

.select2-container--default[dir="rtl"]
    .select2-selection--multiple
    .select2-selection__choice__display {
    padding-left: 5px;
    padding-right: 2px;
}

.select2-container--default[dir="rtl"]
    .select2-selection--multiple
    .select2-selection__choice__remove {
    border-left: 1px solid #aaa;
    border-right: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.select2-container--default[dir="rtl"]
    .select2-selection--multiple
    .select2-selection__clear {
    float: left;
    margin-left: 10px;
    margin-right: auto;
}

.select2-container--default.select2-container--focus
    .select2-selection--multiple {
    border: solid black 1px;
    outline: 0;
}

.select2-container--default.select2-container--disabled
    .select2-selection--multiple {
    background-color: #eee;
    cursor: default;
}

.select2-container--default.select2-container--disabled
    .select2-selection__choice__remove {
    display: none;
}

.select2-container--default.select2-container--open.select2-container--above
    .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--above
    .select2-selection--multiple {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.select2-container--default.select2-container--open.select2-container--below
    .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--below
    .select2-selection--multiple {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #aaa;
}

.select2-container--default .select2-search--inline .select2-search__field {
    background: transparent;
    border: none;
    outline: 0;
    box-shadow: none;
    -webkit-appearance: textfield;
    appearance: textfield;
}

.select2-container--default .select2-results > .select2-results__options {
    max-height: 350px;
    overflow-y: auto;
}

.select2-container--default .select2-results__option .select2-results__option {
    padding-left: 1em;
}

.select2-container--default
    .select2-results__option
    .select2-results__option
    .select2-results__group {
    padding-left: 0;
}

.select2-container--default
    .select2-results__option
    .select2-results__option
    .select2-results__option {
    margin-left: -1em;
    padding-left: 2em;
}

.select2-container--default
    .select2-results__option
    .select2-results__option
    .select2-results__option
    .select2-results__option {
    margin-left: -2em;
    padding-left: 3em;
}

.select2-container--default
    .select2-results__option
    .select2-results__option
    .select2-results__option
    .select2-results__option
    .select2-results__option {
    margin-left: -3em;
    padding-left: 4em;
}

.select2-container--default
    .select2-results__option
    .select2-results__option
    .select2-results__option
    .select2-results__option
    .select2-results__option
    .select2-results__option {
    margin-left: -4em;
    padding-left: 5em;
}

.select2-container--default
    .select2-results__option
    .select2-results__option
    .select2-results__option
    .select2-results__option
    .select2-results__option
    .select2-results__option
    .select2-results__option {
    margin-left: -5em;
    padding-left: 6em;
}

.select2-container--default .select2-results__option--group {
    padding: 0;
}

.select2-container--default .select2-results__option--disabled {
    color: var(--light-font);
}

.select2-container--default .select2-results__option--selected {
    background-color: var(--light-gray);
}

.select2-container--default
    .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--main-dark);
    color: white;
}

.select2-container--default .select2-results__group {
    cursor: default;
    display: block;
    padding: 6px;
}

.select2-container--classic .select2-selection--single {
    background-color: #f7f7f7;
    border: 1px solid #aaa;
    border-radius: 4px;
    outline: 0;
    background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%);
    background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%);
    background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0);
    height: 100%;
}

.select2-container--classic .select2-selection--single:focus {
    border: 1px solid var(--mit-math-orange);
}

.select2-container--classic
    .select2-selection--single
    .select2-selection__rendered {
    color: #444;
    line-height: 35px;
    /*word-wrap: break-word;
    text-overflow: inherit;
    white-space: normal; */
}

.select2-container--classic
    .select2-selection--single
    .select2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold;
    height: 26px;
    margin-right: 20px;
}

.select2-container--classic
    .select2-selection--single
    .select2-selection__placeholder {
    color: #999;
}

.select2-container--classic
    .select2-selection--single
    .select2-selection__arrow {
    background-color: #ddd;
    border: none;
    border-left: 1px solid #aaa;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    height: 26px;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 20px;
    background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
    background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
    background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0);
}

.select2-container--classic
    .select2-selection--single
    .select2-selection__arrow
    b {
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0;
}

.select2-container--classic[dir="rtl"]
    .select2-selection--single
    .select2-selection__clear {
    float: left;
}

.select2-container--classic[dir="rtl"]
    .select2-selection--single
    .select2-selection__arrow {
    border: none;
    border-right: 1px solid #aaa;
    border-radius: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    left: 1px;
    right: auto;
}

.select2-container--classic.select2-container--open .select2-selection--single {
    border: 1px solid #5897fb;
}

.select2-container--classic.select2-container--open
    .select2-selection--single
    .select2-selection__arrow {
    background: transparent;
    border: none;
}

.select2-container--classic.select2-container--open
    .select2-selection--single
    .select2-selection__arrow
    b {
    border-color: transparent transparent #888 transparent;
    border-width: 0 4px 5px 4px;
}

.select2-container--classic.select2-container--open.select2-container--above
    .select2-selection--single {
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%);
    background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);
    background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0);
}

.select2-container--classic.select2-container--open.select2-container--below
    .select2-selection--single {
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%);
    background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%);
    background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0);
}

.select2-container--classic .select2-selection--multiple {
    background-color: white;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: text;
    outline: 0;
    padding-bottom: 5px;
    padding-right: 5px;
}

.select2-container--classic .select2-selection--multiple:focus {
    border: 1px solid #5897fb;
}

.select2-container--classic
    .select2-selection--multiple
    .select2-selection__clear {
    display: none;
}

.select2-container--classic
    .select2-selection--multiple
    .select2-selection__choice {
    background-color: #e4e4e4;
    border: 1px solid #aaa;
    border-radius: 4px;
    display: inline-block;
    margin-left: 5px;
    margin-top: 5px;
    padding: 0;
}

.select2-container--classic
    .select2-selection--multiple
    .select2-selection__choice__display {
    cursor: default;
    padding-left: 2px;
    padding-right: 5px;
}

.select2-container--classic
    .select2-selection--multiple
    .select2-selection__choice__remove {
    background-color: transparent;
    border: none;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    color: #888;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    padding: 0 4px;
}

.select2-container--classic
    .select2-selection--multiple
    .select2-selection__choice__remove:hover {
    color: var(--main-font);
    outline: none;
}

.select2-container--classic[dir="rtl"]
    .select2-selection--multiple
    .select2-selection__choice {
    margin-left: 5px;
    margin-right: auto;
}

.select2-container--classic[dir="rtl"]
    .select2-selection--multiple
    .select2-selection__choice__display {
    padding-left: 5px;
    padding-right: 2px;
}

.select2-container--classic[dir="rtl"]
    .select2-selection--multiple
    .select2-selection__choice__remove {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.select2-container--classic.select2-container--open
    .select2-selection--multiple {
    border: 1px solid var(--main-dark);
}

.select2-container--classic.select2-container--open.select2-container--above
    .select2-selection--multiple {
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.select2-container--classic.select2-container--open.select2-container--below
    .select2-selection--multiple {
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.select2-container--classic .select2-search--dropdown .select2-search__field {
    border: 2px solid var(--light-gray);
    outline: 0;
}

.select2-container--classic .select2-search--inline .select2-search__field {
    outline: 0;
    box-shadow: none;
}

.select2-container--classic .select2-dropdown {
    background-color: white;
    border: 1px solid transparent;
}

.select2-container--classic .select2-dropdown--above {
    border-bottom: none;
}

.select2-container--classic .select2-dropdown--below {
    border-top: none;
}

.select2-container--classic .select2-results > .select2-results__options {
    max-height: 200px;
    overflow-y: auto;
}

.select2-container--classic .select2-results__option--group {
    padding: 0;
}

.select2-container--classic .select2-results__option--disabled {
    color: var(--light-font);
}

.select2-container--classic
    .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--main-dark);
    color: white;
}

.select2-container--classic .select2-results__group {
    cursor: default;
    display: block;
    padding: 6px;
}

.select2-container--classic.select2-container--open .select2-dropdown {
    border-color: var(--light-gray);
}



#visitor-request .long-question {
    font-weight: bold;
    line-height: 1.3em;
}

#visitor-request label + input,
#visitor-request label + textarea {
    margin: 1rem 0 1.5rem 0;
    width: 100%;
}
