div.terms_and_matches {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
div.match_data_container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
div.term_match_row {
    display: flex;
    flex-direction: row;
    align-items: center;
}
div.match_terms {
    float: left;
    text-align: center;
    vertical-align: middle;
    display: flex;
    flex-direction: column;
    width: 100%;
}

div.match_matches {
    float: right;
    text-align: center;
    vertical-align: middle;
    display: flex;
    flex-direction: column;
}

.match_term, .match_match {
    display: flex;
    flex-grow: 1;
    margin: 0.25em 0em;
    width: 100%;
}

.match_term > div {
    width: 100%;
}

.match_term_text, .match_match_text {
    float: left;
    overflow-wrap: break-word;
    text-align: center;
}

.accordion_link {
    display: flex;
    align-items: center;
}

.match-option {
    padding: 0px 5px;
    cursor: pointer;
}

.match_accordion .match-option:nth-child(odd) {
    background-color: #79b5d2;
}

.match_accordion .match-option:nth-child(odd):hover {
    border: 1px solid #1d99d5;
    color: black;
}

.match_accordion .match-option:nth-child(even):hover {
    border: 1px solid #79b5d2;
    color: black;
}

.match-selections-btn {
    border-radius: 5px;
    margin-left: 5px;
}

.match-submit {
    float: right;
    display: flex;
}

.empty-option {
    font-weight: bold;
}

.option {
    cursor: pointer;
}

.match_selection {
    cursor: pointer;
    width: 100%;
    float: left;
    text-align: left;
}

.match_selection .selection {
    font-weight: bold;
}

.match_term_controls, .match_match_controls {
    float: right;
}
.match_term_controls button, .match_match_controls button {
    background-color: #1d99d5;
    border: 1px solid black;
    display: block;
}
.match_term_controls button.disabled, .match_match_controls button.disabled {
    color: gray;
}

.match_term_wrapper, .match_match_wrapper {
    color: black;
    overflow-wrap: break-word;
    overflow-y: auto;
}

.match_term_wrapper.matched {
    border-radius: 5px 5px 0px 0px;
}

.term_match_row_arrow {
    color: #1d99d5;
}

.match_term_wrapper.is-selected, .match_match_wrapper.is-selected {
    background-color: #79b5d2;
}

.match_term_wrapper.is-correct button,
.match_match_wrapper.is-correct button {
    background-color: #3cad48 !important;
}
.match_term_wrapper.is-correct button.disabled,
.match_match_wrapper.is-correct button.disabled {
    background-color: #79D283 !important;
    color: gray;
}

.term_match_row_arrow.is-correct {
    color: #3cad48;
}
.match_term_wrapper.is-not-correct button,
.match_match_wrapper.is-not-correct button {
    background-color: #e43e2d !important;
}

.match_term_wrapper.is-not-correct button.disabled,
.match_match_wrapper.is-not-correct button.disabled {
    background-color: #d27979 !important;
    color: gray;
}
.term_match_row_arrow.is-not-correct {
    color: #e43e2d;
}

.match_term_feedback {
    float: left;
    margin: 5px;
    display: flex;
    align-items: center;
}
.match_term_feedback .is-correct {
    background-color: #3cad48;
    border: 1px solid #3cad48;
    padding: 10px 5px;
    border-radius: 5px;
}

.match_term_feedback .is-not-correct {
    background-color: #e43e2d;
    border: 1px solid #e43e2d;
    padding: 10px 14px;
    border-radius: 5px;
}

.match_term_controls .disabled,
.match_match_controls .disabled {
    cursor: not-allowed;
}


.match-hidden {
    display: none !important;
}

.popover {
    min-width: 750px;
}

.popover .match_match,
.popover .match_term {
    margin: 0.25em 0.25em !important;
}