/*
    CUSTOM STYLES
*/

.main-header h1 {
    margin-bottom: .5rem;
}
.list-pg .filters {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    /*top: -10px;*/
    margin-bottom: 1.25rem;
}
.list-pg .filters p {
    width: 100%;
    margin-bottom: .25em;
    font-size: .875rem;
}

.list-pg .filters .filter {
    margin: 0 .75rem .75rem 0;
}

.list-pg .filters .filter select {
    margin: 0;
    padding-top: .25rem;
    padding-bottom: .25rem;
    padding-left: 0;
    height: 1.9375rem;
    font-size: .875rem;
    border-color: gray;
    border-width: 0 0 1px 0;
    border-radius: 0;
    font-weight: bold;
}

.translation-form-heading h5 img.lang-flag {
    margin-top: -5px;
}
.translation-form-heading h5 a.copy-original-content {
    font-size: 1rem;
}

/* Select2 */
.select2-selection__placeholder {
    font-weight: normal;
}
.is-invalid-input + span.select2-container--default .select2-selection--multiple, 
.is-invalid-input + span.select2-container .select2-selection--single {
    border-color: #CC0000;
}

.is-invalid-input + span.select2-container--default .select2-selection--multiple b, 
.is-invalid-input + span.select2-container .select2-selection--single b {
    color: #CC0000;
}

ul.select2-selection__rendered {
    margin: 0;
}

.select2-container .select2-search--inline .select2-search__field {
    padding: 0 .5rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    padding-right: 1rem;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    left: auto;
    right: 2px;
    top: 5px;
    border: 0;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-right: auto;
}

.select2-container--default .select2-selection--single .select2-selection__clear
 {
    margin-right: 0;
    height: 2.25rem;
    width: 2rem;
}

/* Imports */
.imports-list .item-thum {
    width: 2.5rem !important;
    height: 2.5rem !important;
}

.row-label.dark {
    background-color: #333 !important;
    color: white !important;
}

.h-500 {
    height: 500px;
}