/* general */
form{
    position: relative;
}
img{
    cursor: pointer;
}
.pointer{
    cursor: pointer;
}
.cursor-move{
    cursor: move;
}
.form-check {
    margin-left: var(--cat-depth);
}

/* select2 */
.select2-container--bootstrap-5{
    width: 100% !important;
}
.select-action-multiple, .toggle-columns-table{
    position: absolute;
    right: 0;
    width: 50%;
    z-index: 5;
}
table.dataTable>thead>tr:last-child>th:not(.sorting_disabled){
    padding-right: 0.75rem;
}

.search-advanced .select2-selection__placeholder{
    font-weight: normal;
}
.search-advanced .select2-container .select2-selection--single .select2-selection__rendered{
    font-weight: normal;
}
.search-advanced ~ input{
    float: left;
    width: 90%;
}
.search-advanced ~ i{
    float: right;
    line-height: 2.4em;
}
.search-advanced .select2-container--bootstrap4{
    width: 90% !important;
    margin-bottom: .5em;
}

span.select2-selection.select2-selection--single {
    min-height: 36px;
}
.wrap-select2{
    display: flex;
    flex-direction: column;
}
.wrap-select2 label{
    order: 0;
}
.wrap-select2 select{
    order: 1;
}
.wrap-select2 .select2.select2-container{
    order: 2;
}
.wrap-select2 ul.parsley-errors-list{
    order: 3;
}


/* lib filepond */

.filepond--credits {
    display: none;
}

.filepond-inline-2 .filepond--item {
    width: calc(50% - 0.5em);
}

.filepond-inline-3 .filepond--item {
    width: calc(33.33% - 0.5em);
}

.filepond-inline-4 .filepond--item {
    width: calc(25% - 0.5em);
}

.filepond--root {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}


/* use a hand cursor intead of arrow for the action buttons */

.filepond--file-action-button {
    cursor: pointer;
}


/* the text color of the drop label*/

.filepond--drop-label {
    color: #555;
}


/* underline color for "Browse" button */

.filepond--label-action {
    text-decoration-color: #aaa;
}


/* the background color of the filepond drop area */

.filepond--panel-root {
    background-color: #eee;
}


/* the border radius of the drop area */

.filepond--panel-root {
    border-radius: 0.5em;
}


/* the border radius of the file item */

.filepond--item-panel {
    border-radius: 0.5em;
}


/* the background color of the file and file panel (used when dropping an image) */

.filepond--item-panel {
    background-color: #555;
}


/* the background color of the drop circle */

.filepond--drip-blob {
    background-color: #999;
}


/* the background color of the black action buttons */

.filepond--file-action-button {
    background-color: rgba(0, 0, 0, 0.5);
}


/* the icon color of the black action buttons */

.filepond--file-action-button {
    color: white;
}


/* the color of the focus ring */

.filepond--file-action-button:hover,
.filepond--file-action-button:focus {
    box-shadow: 0 0 0 0.125em rgba(255, 255, 255, 0.9);
}


/* the text color of the file status and info labels */

.filepond--file {
    color: white;
}

/* toast */

.jq-toast-single {
    font-weight: 600;
    font-family: "Nunito", sans-serif;
}

.jq-toast-single h2 {
    text-transform: uppercase;
    margin-bottom: 4px;
}

.jq-icon-warning {
    background-image: url(../../../assets/images/warning.png);
    background-size: 30px;
}

.jq-icon-success {
    background-image: url(../../../assets/images/check.png);
    background-size: 30px;
}

.jq-icon-error {
    background-image: url(../../../assets/images/error.png);
    background-size: 30px;
}

.jq-toast-loader {
    height: 2px;
}