.main-actions > * + * {
    margin-left: 1rem;
}

.text-empty {
    font-style: italic;
    color: var(--gray);
}

.translations-choice,
.interpretations-choice {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.autocomplete-container {
    position: relative;
}

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
}

.autocomplete-results-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.autocomplete-item {
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.autocomplete-item:hover {
    background-color: #f0f0f0;
}

.title-translation-active > .form-group {
    margin-bottom: 0;
}
.book-translation-active .form-check {
    padding: 0;
    width: 100%;
}

#verse_translations .col-form-label {
    font-size: 1.5rem;
}

/*.chapter-selection + .select2,*/
.verse-selection + .select2 {
    width: 100% !important;
}
.source-selection + .select2 {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.chapter-selection + .select2 .select2-selection__rendered,
.source-selection + .select2 .select2-selection__rendered,
.author-selection + .select2 .select2-selection__rendered,
.verse-selection + .select2 .select2-selection__rendered {
    padding: 0;
    height: 100%;
    display: flex;
}

.chapter-selection + .select2 .select2-selection__rendered > li.select2-selection__choice,
.source-selection + .select2 .select2-selection__rendered > li.select2-selection__choice,
.source-selection + .select2 .select2-selection__rendered .select2-search__field,
.author-selection + .select2 .select2-selection__rendered > li.select2-selection__choice,
.author-selection + .select2 .select2-selection__rendered .select2-search__field,
.verse-selection + .select2 .select2-selection__rendered > li.select2-selection__choice {
    min-height: calc(2.25rem + 2px);
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    margin: 0;
    padding: 0 .75rem;
    border: 0;
    border-right: 1px solid #bdc6d0;
    border-radius: 0;
}

.source-selection + .select2 .select2-selection__rendered > li.select2-selection__choice,
.source-selection + .select2 .select2-selection__rendered .select2-search__field {
    justify-content: flex-end;
    border-right: 0;
}

.source-selection + .select2 .select2-selection__rendered > li:nth-child(2) {
    position: absolute;
}

.source-selection + .select2 .select2-selection__clear {
    z-index: 1;
}

.source-selection + .select2 .select2-selection__rendered .select2-selection__choice__remove {
    display: none !important;
}

.chapter-selection + .select2 .select2-selection__rendered > li.select2-search {
    padding: 0 .75rem;
}

.author-selection + .select2 .select2-selection__rendered > li.select2-selection__choice,
.author-selection + .select2 .select2-selection__rendered .select2-search__field {
    justify-content: flex-end;
    border-right: 0;
}

.author-selection + .select2 .select2-selection__rendered > li:nth-child(2) {
    position: absolute;
}

.author-selection + .select2 .select2-selection__clear {
    z-index: 1;
}

.author-selection + .select2 .select2-selection__rendered .select2-selection__choice__remove {
    display: none !important;
}

/* collapsable buttons */
.collapse-btn label {
    text-decoration: underline;
    cursor: pointer;
}

.collapse-btn .fa-angle-left {
    transition: transform ease-in-out .3s, -webkit-transform ease-in-out .3s;
}

.collapse-btn:not(.collapsed) .fa-angle-left {
    transform: rotate(-90deg);
}


/* table sortable icons */
.table > thead > tr > th:not(.sorting_disabled),
.table > thead > tr > td:not(.sorting_disabled) {
    padding-right: 30px;
}

.table > thead .sorting,
.table > thead .sorting_asc,
.table > thead .sorting_desc,
.table > thead .sorting_asc_disabled,
.table > thead .sorting_desc_disabled {
    cursor: pointer;
    position: relative;
}

.table > thead .sorting:before,
.table > thead .sorting:after,
.table > thead .sorting_asc:before,
.table > thead .sorting_asc:after,
.table > thead .sorting_desc:before,
.table > thead .sorting_desc:after,
.table > thead .sorting_asc_disabled:before,
.table > thead .sorting_asc_disabled:after,
.table > thead .sorting_desc_disabled:before,
.table > thead .sorting_desc_disabled:after {
position: absolute;
    bottom: .5em;
    display: block;
    opacity: .3;
}

.table > thead .sorting:before,
.table > thead .sorting_asc:before,
.table > thead .sorting_desc:before,
.table > thead .sorting_asc_disabled:before,
.table > thead .sorting_desc_disabled:before {
    right: 1em;
    content: "\f0de";
    font-family: 'Font Awesome\ 5 Free';
    font-weight: 900;
    font-size: 1rem;
}

.table > thead .sorting:after,
.table > thead .sorting_asc:after,
.table > thead .sorting_desc:after,
.table > thead .sorting_asc_disabled:after,
.table > thead .sorting_desc_disabled:after {
    content: "\f0dd";
    font-family: 'Font Awesome\ 5 Free';
    font-weight: 900;
    right: 16px;
    font-size: 1rem;
}

.table > thead .sorting_asc:before,
.table > thead .sorting_desc:after {
    opacity: 1;
}

.table > thead .sorting_asc_disabled:before,
.table > thead .sorting_desc_disabled:after {
    opacity: 0;
}

.table.table-sm > thead > tr > th:not(.sorting_disabled) {
    /*padding-right: 20px;*/
}

.table.table-sm .sorting:before,
.table.table-sm .sorting_asc:before,
.table.table-sm .sorting_desc:before {
    top: 50%;
    margin-top: -12px;
}

.table.table-sm .sorting:after,
.table.table-sm .sorting_asc:after,
.table.table-sm .sorting_desc:after {
    top: 50%;
    margin-top: -12px;
}

.hidden-element {
    display: none;
}

.add-table-row {
    padding: 5px;
    max-width: 230px;
    min-width: 230px;
    color: rgb(242,251,232);
    background-color: rgb(127,196,134);
    border: none;
}

.delete-table-row {
    padding: 5px;
    max-width: 100px;
    min-width: 100px;
    color: rgb(242,251,232);
    background-color: rgb(232,124,135);
    border: none;
}

.display-child-form-table {
    padding: 5px;
    max-width: 150px;
    min-width: 150px;
    width: 30%;
    color: rgb(242,251,232);
    background-color: rgb(160,166,171);
    border: none;
}

.add-table-row:hover {
    background-color: rgb(89,168,70);
}

.delete-table-row:hover {
    background-color: rgb(220,65,70);
}

.display-child-form-table:hover {
    background-color: rgb(108,117,125);
}

.display-child-form-table:disabled {
    pointer-events: none;
}

.centered-cell {
    text-align: center;
    vertical-align: middle !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}
