/**
 * @copyright Copyright (c) rexx systems GmbH
 *
 * @link https://www.rexx-systems.com
 *
 * This software is protected by copyright.
 *
 * It is not permitted to copy, present, send, lease and / or lend the website
 * or individual parts thereof without the consent of the copyright holder.
 *
 * Contravention of this law will result in proceedings under criminal
 * or civil law.
 *
 * All rights reserved.
 */

.language {
    position: absolute;
    top: 29px;
    right: 29px;
}

.custom-select {
    display: flex;
    align-items: center;
    padding: 0.375rem 1.75rem 0.375rem 0.75rem;
    color: #FFFFFF;
    cursor: pointer;
}

.custom-select::after {
    content: '\25BC';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.custom-options {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background-color: #FFFFFF;
    border-radius: 0.25rem;
    box-shadow: 0 0.075rem 0.25rem rgba(0, 0, 0, 0.075);
    z-index: 1000;
    list-style-type: none;
    padding: 0;
    margin: 0;
    max-height: 50vh;
    overflow-y: scroll;
    overflow-x: hidden;
    min-width: fit-content;
}

.custom-options.show {
    display: unset;
}

.custom-options li {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
}

.custom-options li:hover,
.custom-options li.selected {
    background-color: #dbdbdb;
}

.custom-select:focus-visible {
    outline: none;
}
