@font-face {
    font-family: 'Baloo 2';
    src: url('../fonts/Baloo2-Bold.woff2') format('woff2'),
        url('../fonts/Baloo2-Bold.woff') format('woff');
    font-weight: 800;
    font-style: bold;
    font-display: swap;
}

@font-face {
    font-family: 'Baloo 2';
    src: url('../fonts/Baloo2-Medium.woff2') format('woff2'),
        url('../fonts/Baloo2-Medium.woff') format('woff');
    font-weight: 500;
    font-style: medium;
    font-display: swap;
}

@font-face {
    font-family: 'Baloo 2';
    src: url('../fonts/Baloo2-Regular.woff2') format('woff2'),
        url('../fonts/Baloo2-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Baloo 2';
    src: url('../fonts/Baloo2-SemiBold.woff2') format('woff2'),
        url('../fonts/Baloo2-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: semibold;
    font-display: swap;
}


body {
    background-color: #DADADA;
    font-family: 'Baloo 2', sans-serif;
    font-weight: 500;
    margin: 0;
}

::-webkit-scrollbar {
    width: 0.5em;
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background-color: #888;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0 !important;
    color: #273349;
}

p {
    margin: 0 !important;
    color: white;
}

h3 {
    text-align: left;
    font-size: 28px;
}

.g_startContainer {
    width: 100%;
}

.g_startMain {
    margin: 0px 32px 0px 132px;
}

.g_btnBlueExtra {
    background-color: #219B8C;
    border-radius: 0 5px 5px 0;
    border: 0;
    cursor: pointer;
    color: white;
    padding: 8px 64px 8px 64px;
    margin: 8px auto;
    display: block;
    height: 100%;
    box-sizing: border-box;
}

.g_addBtn {
    font-family: 'Baloo 2', sans-serif;
    font-size: 20px;
    font-weight: 600;
    padding: 2px 8px;
    margin: 0px 0px 8px 16px;
    background-color: #CACACA;
    color: #4d4d4d;
    border: 0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.g_addBtn:hover {
    background-color: #8d8d8d;
    transition: all 0.5s;
}

.g_btn {
    background-color: #273349;
    border-radius: 5px;
    border: 0;
    cursor: pointer;
    color: white;
    padding: 8px 64px 8px 64px;
    margin: 8px auto;
    display: block;
    box-sizing: border-box;
}

.g_btn:hover {
    background-color: #6f717c;
    transition: all 0.5s;
}
.g_defaultBtn {
    padding: 4px 8px;
    border-radius: 5px;
    border: 0px;
    background-color: #273349;
    color: white;
    font-size: 16px;
    cursor: pointer;
    font-family: 'Baloo 2', sans-serif;
}

.g_defaultBtn:hover {
    background-color: #6f717c;
    transition: all 0.5s;
}

.g_defaultBtnSuccess {
    padding: 4px 8px;
    border-radius: 5px;
    border: 0px;
    background-color: #19a957;
    border: 2px solid #19a957;
    color: white;
    font-size: 16px;
    cursor: pointer;
    font-family: 'Baloo 2', sans-serif;
}

.g_defaultBtnSuccess:hover {
    border: 2px solid #35cb76;
    background-color: #35cb76;
    transition: all 0.5s;
}

.g_deleteBtn {
    padding: 4px 8px;
    border-radius: 5px;
    border: 0px;
    background-color: #d12323;
    color: white;
    font-size: 16px;
    cursor: pointer;
    font-family: 'Baloo 2', sans-serif;
}

.g_deleteBtn:hover {
    background-color: #d24e4e;
    transition: all 0.5s;
}

.g_defaultBtnSelect {
    padding: 4px 8px;
    border-radius: 5px;
    border: 0px;
    background-color: white;
    border: 2px solid #273349;
    color: black;
    font-size: 16px;
    cursor: pointer;
    font-family: 'Baloo 2', sans-serif;
}

.g_defaultBtnSelect:hover {
    background-color: #273349;
    color: white;
    transition: all 0.5s;
}

.g_btnGray {
    background-color: #71717A;
    padding: 4px 8px;
        border-radius: 5px;
        border: 0px;
        color: white;
        font-size: 16px;
        cursor: pointer;
        font-family: 'Baloo 2', sans-serif;
}

.g_btnGray:hover {
    background-color: #A9A9A9;
    transition: all 0.5s;
}

.g_btnWhite {
    width: 100%;
    background-color: #A9A9A9;
    border-radius: 5px;
    border: 0;
    cursor: pointer;
    color: white;
    padding: 8px 64px 8px 64px;
    margin: 8px auto;
    font-size: 14px;
    text-align: center;
    display: inline-block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.g_justify-between {
    display: flex;
    justify-content: space-between;
}

.g_startHeading {
    display: flex;
    align-items: flex-end;
}

#g_sidebar {
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 100px;
    background-color: white;
    position: fixed;
    height: 100%;
    overflow: none;
    z-index: 4;
    transition: width 0.6s;
    align-items: center;
}

#g_sidebar a {
    margin: 16px auto;
    width: 100%;
    display: flex;
    color: white;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: color 0.3s;
}

#g_sidebar a:hover {
    color: #3BB77E;
}

#g_sidebar svg {
    margin-right: 8px;
}

#g_sidebar span {
    display: none;
    color: black;
    font-weight: 700;
    font-size: 25px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out, color 0.3s ease-in-out;
}

#g_sidebar a:hover span {
    color: #3BB77E;
}

.g_show-sidebar #g_sidebar {
    width: 300px !important;
    justify-content: flex-start;
}

.g_show-sidebar #g_sidebar span {
    display: block;
    opacity: 1;
    animation: slide-in 0.5s ease-in-out forwards;
}

.g_show-sidebar #g_sidebar a {
    justify-content: inherit !important;
    margin-left: 16px;
}

@keyframes slide-in {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

a {
    text-decoration: none;
    color: white;
    font-size: 32px;
    transition: all 0.3s ease;
}

.highlight-text {
    color: #219B8C;
}


select {
    width: 100%;
    font-family: Arial, sans-serif;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #fff;
    appearance: none;
    outline: none;
    transition: border-color 0.2s ease;
}

select:focus {
    border-color: #999;
}

.search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.search-input {
    width: 250px;
    height: 40px;
    border: none;
    padding: 0 10px;
    font-size: 16px;
    outline: none;
    border-radius: 5px;
    background-color: #205295;
    transition: border 0.3s;
    color: white;
}

.search-input:hover {
    border: 1px solid #ccc;
}

.search-input:focus {
    border: 1px solid #ccc;
}

.search-button {
    position: relative;
    left: -35px;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
}

.search-icon {
    width: 20px;
    height: 20px;
    color: #A9A9A9;
}

.tooltip {
    position: relative;
    display: inline-block;
    overflow: visible;
}

.tooltip svg {
    display: flex;
    align-items: center;
}

.tooltip .tooltiptext {
    display: none;
    width: 300px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;
}

.tooltip:hover .tooltiptext {
    display: block;
    overflow: hidden;
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    position: absolute;
    background-color: white;
    border: 2px solid #273349;
    border-radius: 5px;
    padding: 8px 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    color: white;
    z-index: 101;
}


.modal-content h2 {
    text-align: left;
    font-weight: 700;
}

.searchContainer {
    width: 100%;
    margin: 0px auto;
    display: flex;
}

.search-bar {
    position: relative;
    display: inline-block;
    width: auto;
}

.search-bar input[type="text"] {
    width: 100%;
    padding: 8px 0px 8px 6px;
    background-color: white;
    border: #71717A solid 2px;
    color: black;
    /* Platz für das Suchsymbol */
}

.search-bar .search-icon {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.search-bar .search-icon svg {
    width: 100%;
    height: 100%;
}


.dropdown {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    margin: 0px auto;
    min-width: 128px;
}

.dropdown-extra {
    position: relative;
    display: inline-flex;
    box-sizing: border-box;
    margin: 0px auto;
    min-width: 128px;
}

.dropdown-extra label {
    width: 100%;
    box-sizing: border-box;
    display: inline-flex;
    justify-content: space-between;
}

.dropdown-extra input[type="checkbox"] {
    display: none;
}

.dropdown label {
    width: 100%;
    box-sizing: border-box;
    display: inline-flex;
    justify-content: space-between;
}

.dropdown input[type="checkbox"] {
    display: none;
}

.dropdown-content {
    box-sizing: border-box;
    display: none;
    position: absolute;
    background-color: transparent;
    width: 100%;
    z-index: 29;
    flex-direction: column;
}

/* Stil für die Dropdown-Optionen */
.dropdown-content button {
    background-color: #273349;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    text-align: left;
    border: none;
    display: block;
    font-size: 16px;
    width: 100%;
    cursor: pointer;
    font-family: 'Baloo 2', sans-serif;
}

.dropdown-content button:hover {
    background-color: #6f717c;
}

.dropdown-content .archiveBtn {
    background-color: #d12323;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    text-align: left;
    border: none;
    display: block;
    font-size: 16px;
    width: 100%;
    cursor: pointer;
    font-family: 'Baloo 2', sans-serif;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.dropdown-content .archiveBtn:hover {
    background-color: #c44444;
}

/* Zeige den Dropdown-Inhalt für die ausgewählte Checkbox */
.dropdown-extra input[type="checkbox"]:checked+label+.dropdown-content {
    display: flex;
}

.dropdown-extra input[type="checkbox"]:checked+label {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

/* Zeige den Dropdown-Inhalt für die ausgewählte Checkbox */
.dropdown input[type="checkbox"]:checked+label+.dropdown-content {
    display: flex;
}

.dropdown input[type="checkbox"]:checked+label {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.g_logged_badge {
    width: 100%;
    background-color: #19a957;
    padding: 8px 0px;
    text-align: center;
}

.checkbox-container {
    display: inline-flex !important;
    align-items: center !important;
}

.checkbox-container input[type="checkbox"] {
    display: block !important;
}

.g_checkbox {
    position: absolute !important;
    opacity: 0 !important;
    cursor: pointer !important;
    height: 36px !important;
    width: 36px !important;
    z-index: 1 !important;
}

.g_label {
    display: block !important;
    width: 36px !important;
    height: 100% !important;
    background-color: #A9A9A9 !important;
    border-radius: 5px 0 0 5px !important;
    position: relative !important;
    cursor: pointer !important;
    margin-right: 0 !important;
}

.g_label:before {
    content: "";
    display: block;
    width: 50%;
    height: 50%;
    background-color: #273349;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease;
}

.g_checkbox:checked+.g_label:before {
    transform: translate(-50%, -50%) scale(1);
}