:root {
    --primary: #EE7203;
    --secondary: #712283;
    --mainfont: #646363;
    --lightgray: #F5F5F5;
    --gray: #BABABA;
    --bluefont: #3488CE;
  }
* {
    font-family: 'Lato', sans-serif;
}
body, html{
    min-height: 100vh;
    color: var(--mainfont);
}
p, td, li {
    font-size: 0.9rem;
}
.button.is-danger {
    background-color: #f1534d !important;
    border-color: #f1534d !important;
    color: white;
}
.button.is-danger:hover {
    background-color: #da6460 !important;
    border-color: #da6460 !important;
}
.tag.is-danger {
    background-color: #ef504b !important;
    border-color: #ef504b !important;
}
.color-secondary {
    color: var(--secondary)
}
.content h1, .content h2, .content h3, .content h4, .content h5, .content h6,  .tabs a, .label{
    color: var(--mainfont);
    padding-left: 1rem;
}
.patient {
    border: 10px solid var(--lightgray) ;
}
.patient-hospital {
    background-color: var(--lightgray) !important;
    border: solid 10px white;
}
.small-description{
    font-size: 0.6rem;
    font-weight: 800;
}
.button.is-multiline {
    min-height: 2.25em;
    white-space: unset;
    height: auto;
    flex-direction: column;
}
.nav-logo-text {
    color: var(--bluefont);
}

.not-displayed {
    display: none;
}
#apotheken_auswahl_div svg {
    color: var(--secondary)
}
.notification {
    border-radius: 0;
}
.background-light {
    background-color: var(--lightgray);
}
#message-popup, #message-input-popup, #reload-sv-popup, 
#store-edit-form, #n-a-form, #profile-popup, #bestand-popup, 
#contact-popup, #missing-popup, #todo-popup, .message-option-popup, .manual-popup, .historie-popup-content, #participant-input-popup,
#searchheim-popup {
    z-index:9999;
    position: fixed; 
    left:50%;
    top:30%;
    transform: translate(-50%, -50%);
    width: 500px;
    min-height: 285px;
    color: var(--mainfont);
    text-align: left;
    border-radius:0px;
    border-top: 20px solid var(--primary) ;
}
.manual-popup, .historie-popup-content {
    background-color: white;
    z-index:10;
    height:unset;
}
#reload-sv-popup {
    height: 360px;
}
#store-edit-form {
    width: 600px;
    height:unset;
}
#bestand-popup {
    height:300px;
}
#n-a-form {
    height:250px;
}
#contact-popup {
    height:unset;
    width:850px
}
#message-input-popup {
    height:unset;
}
#missing-popup {
    height:unset;
    width:850px
}
#todo-popup {
    top:40%;
}
#todo-popup table td, #todo-popup table th, #todo-popup div {
    padding: 0.3em 0.5em;
    font-size: 0.8rem;
}
.arztinfo-popup td {
   font-size: 1rem !important;
}
#participant-input-popup {
    padding:50px;
    width: 100%;
    height: 100%;
    top:50%;
}

#contact-badge {
    z-index: 10;
    position: fixed;
    opacity: 0.5;
    right: 20px;
    top: 6%;
    width: 200px; /* Initial width */
    min-height: 55px;
    color: var(--mainfont);
    text-align: left;
    border-radius: 10px;
    border-top: 10px solid var(--secondary);
    padding: 0.8em;
    transition: opacity 0.3s, width 0.5s ease-out; /* Transition for opacity and width */
}

#contact-badge:hover {
    opacity: 1;
    width: 300px; /* Expanded width on hover */
}

#contact-badge-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out; /* Transition for the roll-out effect */
}

#contact-badge:hover #contact-badge-content {
    max-height: 300px; /* Set this to a value that is enough to show the content */
}

#contact-badge-content p {
    font-size: 0.9rem;
}

#contact-badge-content p.contact-badge-data {
    font-size: 0.8rem;
}

.ss-option, .ss-single, .ss-search, .text-small {
    font-size: small;
}
.ss-placeholder {
    font-size: 0.8rem;
}
input.input {
    border: none;
    border-radius: 0px;
    background-color: #FFF;
    box-shadow: none;
}
input.input.message-input, input.input.adduser-input   {
    border: thin solid var(--gray);
    background-color: var(--lightgray);
}
textarea.textarea.message-input {
    border: thin solid var(--gray);
    background-color: var(--lightgray);
}
.patient-hospital input.input.message-input, .patient-hospital textarea.textarea.message-input {
    background-color: white;
}
input.admin-pw-input {
    color: var(--gray);
}
input.is-small.input{
    border-radius: 2px;
}
/* .filename-input {
    border-top-left-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
    border-bottom-right-radius: 0px !important;
    border-top-right-radius: 0px !important;
} */
.filename-input::placeholder {
    color:#4A4A4A;
}

button.button, a.button.is-info.is-small, a.button {
    border-radius: 0px;
}
a {
    color:var(--bluefont);
}
select.select {
    border: thin solid var(--gray);
    border-radius: 0;
    background-color: var(--lightgray);
}
table.table-overview {
    width:98%;
}
table.table-overview th {
    min-width:95px;
}
table.table-overview th span {
    vertical-align: text-bottom;
}
.warning-icon svg {
    transform: rotate(180deg);
}
.info-popup svg {
    color: var(--secondary);
    vertical-align: bottom;
    pointer-events: none;
}
.info-popup {
    display: inline-block;
    position: relative;
    cursor:pointer;
}
.info-popup-text {
    visibility: hidden;
    width: 200px;
    background-color: white;
    color: var(--mainfont);
    text-align: left;
    padding: 5px 5px;
    border: var(--gray) solid thin;
   
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -170px;
    z-index: 1;
}
.salesman-search-div {
    position: relative;
    width: 100%;
    background-color: white;
    color: var(--mainfont);
    text-align: left;
    padding: 20px;
    border: var(--gray) solid thin;
    position: absolute;
    z-index: 1;
}
.visibility {
    visibility: visible;
}
@media screen and (min-width:450px) { /* hover nicht bei mobil */
    .info-popup:hover .info-popup-text, .info-popup:active .info-popup-text  {
        visibility: visible;
    }
}

table.table-message-needs td {
    border: none;
    padding: 0 0 0.75em 0;
}
table.table-message-needs td:first-of-type {
    width:93%;
    padding-right: 0.75em;
}
table.table-message-needs td.button-message-needs {
    padding:0;
} 
.content .table-patient td, .content .table-patient th {
    border:0;
}
.content .table-patient th {
    background-color: var(--lightgray);
}

table.table-unprocessed-patient {
    border:0;
    background-color: #FFF !important;
}
table.table-unprocessed-patient td {
    padding: 0.2em 1em;
}

table.table-inkasso-detail td, table.table-inkasso-detail_2 td, table.table-inkasso-detail_3 td {
    border: none;
    padding: 0 0.8em 0.3em 0;
}
table.table-inkasso-detail td:first-of-type {
    width:115px;
}
table.table-inkasso-detail_2 td:first-of-type {
    width:320px;
}
table.table-inkasso-detail_3 td:first-of-type {
    width:150px;
}
table.table-inkasso-detail_3 td:nth-of-type(2) {
    width:150px;
}

.tablink svg {
    margin-right: 0.5em;
}
.main-tabs ul, .main-tabs a {
    font-size: 1.1em;
    border-bottom:none;
    padding-bottom: 1em;
    background:linear-gradient(var(--secondary),var(--secondary)) left bottom /* left or right or else */ no-repeat;
    background-size:0px 5px;
    transition:background-size 0.7s ease-in;
}
.main-tabs li.is-active a {
    color: var(--mainfont);
    border-bottom:none;
    background-size:43px 5px;
    /* transition:background-size 1s ease-in; */
}
.main-tabs li a:hover {
    border-bottom:none;
    background-size:43px 5px;
    transition:background-size 0.7s ease-in;
}

@media screen and (min-width:1024px) { 
    .navbar-menu-item-animated {
        border-bottom:none;
        background:linear-gradient(var(--secondary), var(--secondary))  bottom /* left or right or else */ no-repeat;
        background-size:0px 5px;
        transition:background-size 0.5s ease-in;
    }
    .navbar-menu-item-animated.is-active {
        color: var(--mainfont);
        border-bottom:none;
        background-size:50% 5px;
    }
    .navbar-menu-item-animated:hover {
        border-bottom:none;
        background-size:50% 5px;
        transition:background-size 0.5s cubic-bezier(.63,-0.1,.49,1.4);
    }
}

.message-tab li.is-active a {
    color: var(--bluefont);
    border-color: var(--bluefont);;
}
.message-tab ul {
    margin-top: 0;
}
/* input[type="search"] {
    border: thin solid var(--gray);
} */
.content table.search_letters td {
    color: var(--gray);
    vertical-align: middle;
    padding: 0;
}
.active_letter {
    font-size: 1.2em;
    vertical-align: bottom;
}
.is_clicked {
    font-weight: bold;
}

.message_detail {
    display:none;
    background-color: var(--lightgray);
}

.message_detail table {
    background-color: var(--lightgray);
}

table.admin_messages td, table.admin_messages th  {
    border-bottom:none;
    padding-top:2px;
    padding-bottom:2px;
}
table.admin_messages th {
    padding-bottom:10px;
}
table.message_detail {
    background-color: var(--lightgray);
    padding: 20px;
    margin-left: 0px !important;
}
table.message_detail td, table.message_detail th  {
    border:none;
}

.table.admin-table td {
    border: none;
} 
.account-edit-row {
    display: none;
    margin-bottom: 10px;
}
.account-edit-row tbody {
    background-color: var(--lightgray);
}
.content .table .no-padding {
    padding: 0px;
}
a.button.send-btn {
    margin-top: 24px !important;
}


@media screen and (max-width:450px) {
    .main-tabs ul {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 0px;
    } 
}

table.table .vert-align-bottom {
    vertical-align: bottom;
}

.assigned-tags {
    display: flex;
    user-select: none;
    align-items: center;
    font-size: 12px;
    padding: 3px 5px;
    margin: 0px 0px 1px 0px;
    color: #fff;
    background-color: #3488ce;
    border-radius: 4px; 
}

.ss-main .ss-values .ss-value {
    background-color: #3488ce;
}

.display-none {
    display:none;
}

.navbar-item:hover {
    background-color: none;
}

.popup-auswahl {
    display: block;
    position: relative;
}

.popup-auswahl-text {
    visibility: hidden;
    width: 100%;
    background-color: white;
    color: var(--mainfont);
    text-align: left;
    padding: 5px 5px;
    border: var(--gray) solid thin;
   
    position: absolute;
    top: 100%;
    left: 0%;
    z-index: 1;
}
.popup-auswahl-text p {
    font-size: small !important;
}
.input_edit_additional_user input {
    min-width:60px;
}
.input_edit_additional_user select {
    width:70px;
}

.small-text-table td, .small-text-table th {
    font-size: 0.8rem;
}
.blue-table-header th {
    background-color: var(--primary);
    color: white !important;
    /* border-top: none !important; */
    border-bottom: none !important;
    border-right: white solid !important;
}
.border-top-white {
    border-top: white solid !important;
}
.border-top-white {
    border-top: white solid !important;
}
/* .historie-popup-content {
    visibility: hidden;
    width: 300px;
    background-color: white;
    color: var(--mainfont);
    text-align: left;
    padding: 5px 5px;
    border: var(--gray) solid thin;
   
    position: absolute;
    top: 0px;
    left: 30%;
    margin-left: -170px; 
    z-index: 1;
} */

.logs-historie-popup-content {
    width: 300px;
    background-color: white;
    color: var(--mainfont);
    text-align: left;
    padding: 5px 5px;
    border: var(--gray) solid thin;
   
    position: absolute;
    top: 0%;
    /* left: -50px; */
    /* margin-left: -170px; */
    z-index: 1;
}

.sendungsstatus-popup-content {
    width: 250px;
    background-color: white;
    color: var(--mainfont);
    text-align: left;
    padding: 10px 10px;
    border: var(--gray) solid thin;
   
    position: absolute;
    top: 0%;
    left: -60px;
    z-index: 1;
}

.show-kontakt-popup-content {
    width: 300px;
    background-color: white;
    color: var(--mainfont);
    text-align: left;
    padding: 10px 10px;
    border: var(--gray) solid thin;
   
    position: absolute;
    top: 5px;
    right: 0px;
    z-index: 1;
}

#doku-line-anchor {
    display: relative;
}
#doku-line {
    margin-top: 10px;
    margin-left: -30px;
    display: absolute;
    height: 4px;
    width: 300px;
}
#doku-line-2 {
    margin-top: 8px;
    width:100%;
    display: absolute;
    height: 1px;
    background-color: black;
}
.circle-info-rili-small {
    background-color: #f3f3f3;
    border-radius: 10px;
    margin-top: 0px;
    padding: 20px;
}
.circle-info-rili {
    background-color: #f3f3f3;
    border-radius: 10px;
    min-height: 180px;
    margin-top: 40px;
    padding: 20px;
}
.protokoll-box:hover {
    box-shadow: 0 0.25em 0.5em -0.125em rgb(10 10 10 / 10%), 0 0px 0 1px rgb(10 10 10 / 2%);
}
.filter-tag {
    margin: 4px 3px 0px 3px;
    padding: 5px 8px;
    background-color: var(--bluefont);
    color:white;
    border-radius: 5px;
    min-width:30px;
    display: inline-block;
}
.sortier-tag {
    background-color: darkcyan;
}
.delete-tag {
    background-color: rgb(234, 144, 144);
}
.delete-tag:hover {
    color: #FFF;
    background-color: rgb(199, 93, 93);
}

#salesman-select {
    border: none;
}
#connext-table td {
    font-size: 0.8em;
    line-height: 1.1em;
}
.konto-table td {
    font-size: 0.8em;
    line-height: 1.1em;
}
#inkasso-search {
    border: thin solid var(--gray);
}
.card-header:hover {
    box-shadow: 0 0.125em 0.25em rgba(10, 10, 10, 0.03);
}

.card-header-title {
    margin-bottom: 0 !important;
}
.hover-light:hover {
    background-color: var(--lightgray);;
}
.arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transition: transform 0.3s;
  }
.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
.up {
    transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
  }

/* .hover-light.down:hover .arrow {
    transform: rotate(225deg);
}
.hover-light.up:hover .arrow {
    transform: rotate(45deg);
} */

/* attributes */
.border-radius-12 {
    border-radius: 12px !important;
}
.not-clickable {
    pointer-events: none !important;
    opacity: 0.5;
}
.is-size-08em {
    font-size: 0.8em;
}
.p-0 {
    padding: 0 !important;
}
.text-size-5 {
    font-size: 0.7em;
}
.text-size-30 {
    font-size: 3em;
}
.text-size-50 {
    font-size: 5em;
}
.line-clamp-2 {
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.float-left {
    float: left;
}
.float-right {
    float: right;
}
.nowrap {
    white-space:nowrap;
}
.has-background-medico-blue {
    background-color: var(--primary);
}
.has-text-mainfont {
    color: #4A4A4A;
}
.status-circle {
    width: 20px; /* Adjust the size as needed */
    height: 20px;
    border-radius: 50%; /* Make it a circle */
    position: absolute; /* Position it absolutely within the box */
    top: 10px; /* Distance from the top */
    right: 10px; /* Distance from the right */
}

.green-colored {
    color: var(--secondary) !important;
}
.gray-colored {
    color: gray;
}
.dark-gray-colored {
    color: #575757;
}
.darkgreen-colored {
    color: #1dad00;
}
.rosa-colored {
    color: #DD7BAD;
}
.yellow-colored {
    color: rgb(192, 192, 49);
}
.blue-colored {
    color: var(--bluefont) !important;
}
.orange-colored {
    color: rgb(242, 211, 84);
}
.red-colored {
    color: rgb(220, 59, 86) !important;
}
.lila-colored {
    color: rgb(166, 59, 220) !important;
}
.dark-red-colored {
    color: rgb(163, 49, 49) !important;
}
.hover-dark-red:hover {
    color: rgb(163, 49, 49) !important;
}
.white-colored-link {
    color: white !important;
}
.white-colored-link:hover {
    color: rgb(185, 185, 185) !important;
}
.color-inherit {
    color: inherit;
}
.border-no {
    border: none !important;
}
.border {
    border: 10px solid var(--lightgray);
    padding: 20px;
    margin-bottom: 20px;
}
.bt-gray {
    border-top: 20px solid var(--gray) 
}
.bt-green {
    border-top: 20px solid var(--secondary) 
}
.bt-red {
    border-top: 20px solid #dd7070;
}
.bt-blue {
    border-top: 20px solid var(--primary) 
}
.bl-black {
    border-left: var(--gray) !important;
    border-left-style: solid !important;
    border-left-width: thin !important;
}
.is-size-09em {
    font-size: 0.9em;
}
.highlighted-white {
    background-color: white;
}
.highlighted-blue {
    background-color: var(--primary) ;
    color:white;
}
.min-w-150 {
    min-width: 150px;
}
.min-w-500 {
    min-width: 500px;
}
.max-w-800 {
    max-width: 800px;
}
.max-w-1344 {
    max-width: 1344px;
}
.max-w-1500 {
    max-width: 1500px;
}
.max-w-1750 {
    max-width: 1750px;
}
.max-h-500 {
    max-height: 500px;
}
.w-15 {
    width: 15px;
}
.w-30 {
    width: 30px;
}
.w-50 {
    width: 50px;
}
.w-70 {
    width: 70px;
}
.w-100 {
    width: 100px;
}
.w-130 {
    width: 130px;
}
.w-140 {
    width: 140px;
}
.w-150 {
    width: 150px;
}
.w-160 {
    width: 160px;
}
.w-170 {
    width: 170px;
}
.w-180 {
    width: 180px;
}
.w-200 {
    width: 200px;
}
.w-220 {
    width: 220px !important;
}
.w-250 {
    width: 250px !important;
}
.w-260 {
    width: 260px !important; 
}
.w-280 {
    width: 280px !important; 
}
.w-300 {
    width: 300px !important; 
}
.w-314 {
    width: 314px !important; 
}
.w-350 {
    width: 350px !important; 
}
.w-400 {
    width: 400px; 
}
.w-500 {
    width: 500px !important; 
}
.w-600 {
    min-width: 600px;
}
.w-640 {
    width: 640px;
}
.w-700 {
    width: 700px;
}
.w-1500 {
    width: 1500px;
}
.w-20prc {
    width: 20%;
}
.w-30prc {
    width: 30%;
}
.w-45prc {
    width: 45%;
}
.w-50prc {
    width: 50%;
}
.w-65prc {
    width: 65%;
}
.w-80prc {
    width: 80%;
}
.w-100prc {
    width: 100%;
}

.ml-5prc {
    margin-left: 4%;
}
.h-20 {
    height: 20px;
}
.h-40 {
    height: 40px;
}
.h-50 {
    height: 50px;
}
.h-60 {
    height: 60px;
}
.h-70 {
    height: 70px;
}
.h-80 {
    height: 80px;
}
.h-100 {
    height: 100px;
}
.h-180 {
    height: 180px;
}
.h-200 {
    height: 200px;
}
.h-250 {
    height: 250px !important;
}
.h-280 {
    height: 280px !important;
}
.h-300 {
    height: 300px !important;
}
.h-480 {
    height: 480px;
}
.h-500 {
    height: 500px;
}
.h-600 {
    height: 600px;
}
.h-700 {
    height: 700px;
}
.h-100prc {
    height: 100%;
}
.min-h-180 {
    min-height: 180px;
}
.mt-5px {
    margin-top: 5px;
}
.font-size-19 {
    font-size: 19px !important;
}
.font-size-1 {
    font-size: 1rem !important;
}
.v-align-middle {
    vertical-align: middle !important;
}
.v-align-inherit {
    vertical-align: inherit;
}
.v-align-super {
    vertical-align: super;
}
.v-align-top {
    vertical-align: top;
}
.v-align-sub {
    vertical-align: sub;
}
.v-align-tb {
    vertical-align: text-bottom;
}
.border-thin {
    border: gray thin solid !important;
}
.border-bottom {
    border-bottom: black 1px solid !important;
}
.border-thick {
    border-width: 3px !important;
}
.bg-gray {
    background-color: var(--lightgray) !important;
}
.bg-gray-dark {
    background-color: #e1e1e1 !important;
}
.bg-rosa {
    background-color: #fbedfc;
}
.bg-rosa-dark {
    background-color: #dd8de2;
}
.bg-green {
    background-color: #E6FADB !important;
}
.bg-green-dark {
    background-color: #94e568;
}
.bg-yellow {
    background-color: #faf5db;
}
.bg-yellow-dark {
    background-color: #ead985;
}
.bg-blue-light {
    background-color: #dcddf2 !important;
}
.bg-blue {
    background-color: #dbdcfa !important;
}
.bg-blue-dark {
    background-color: #8386ea;
}
.bg-red {
    background-color: #fadbdb !important;
}
.bg-red-dark {
    background-color: #e06060;
}
.no-padding, .no-padding th, .no-padding td{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
}
.placeholder-black::placeholder {
    color:black
}
.hover-black:hover {
    color: black !important;
}
.break-word {
    word-break: break-word;
}

 /* LOADING ANIMATION */
.button--loading .button__text {
    visibility: hidden;
    opacity   : 0;
}

.button--loading::after {
    content         : "";
    position        : absolute;
    width           : 16px;
    height          : 16px;
    top             : 0;
    left            : 0;
    right           : 0;
    bottom          : 0;
    margin          : auto;
    border          : 4px solid transparent;
    border-top-color: var(--primary);
    border-radius   : 50%;
    animation       : button-loading-spinner 1s ease infinite;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}

/* PDF DOKU */
.td_1 {
    font-size:1.0em;
    line-height:1.2em;
    padding-top:6px;
    padding-right: 10px;;
}

.doku-table td, .doku-table th {
    font-size:0.6rem;
    padding:5px;
}
.doku-table td {
    border-top: black thin solid;;
}

.doctor-letter-table th {
    font-size:0.7rem;
    padding:5px;
}
.doctor-letter-table td {
    font-size:0.9rem;
    padding:5px;
}
.doctor-letter-table td {
    border-top: black thin solid;
}
.filter-input {
    width: 80px;
    height: 18px;
    font-size: 6px;
    border: thin solid gray !important;
}

/* CALENDAR */
.rili_cal .wrapper{
    width: 400px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  }
  .rili_cal  .wrapper header{
    display: flex;
    align-items: center;
    padding: 25px 30px 10px;
    justify-content: space-between;
  }
  .rili_cal  header .icons{
    display: flex;
  }
  .rili_cal  header .icons span{
    height: 38px;
    width: 38px;
    margin: 0 1px;
    cursor: pointer;
    color: #878787;
    text-align: center;
    line-height: 38px;
    font-size: 1.9rem;
    user-select: none;
    border-radius: 50%;
  }
  .rili_cal  .icons span:last-child{
    margin-right: -10px;
  }
  .rili_cal  header .icons span:hover{
    background: #f2f2f2;
  }
  .rili_cal  header .current-date{
    font-size: 1.45rem;
    font-weight: 500;
  }
  .rili_cal  .calendar{
    padding: 20px;
  }
  .rili_cal  .calendar ul{
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    text-align: center;
  }
  .rili_cal  .calendar .days{
    margin-bottom: 20px;
  }
  .rili_cal  .calendar li{
    color: #333;
    width: calc(100% / 7);
    font-size: 1.07rem;
  }
  .rili_cal  .calendar .weeks li{
    font-weight: 500;
    cursor: default;
  }
  .rili_cal  .calendar .days li{
    z-index: 1;
    cursor: pointer;
    position: relative;
    margin-top: 20px;
  }
  .rili_cal  .days li.inactive{
    color: #aaa;
  }
  .rili_cal  .days li.active{
    color: #fff;
  }
  .rili_cal  .days li::before{
    position: absolute;
    content: "";
    left: 50%;
    top: 50%;
    height: 40px;
    width: 40px;
    z-index: -1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  .rili_cal  .days li.active::before{
    background: var(--secondary);
  }
  .rili_cal  .days li.mon.wa::before{
    background: var(--primary);
  }
  .rili_cal  .days li:not(.active):hover::before{
    background: #f2f2f2;
  }
  .rili_cal #ri_book_div {
    width: 450px;
    padding: 30px 25px;
  }

  .pdf-viewer {
    width:350px;
    height:350px;
  }

  #printJS {
    visibility: hidden;
  }

.custom-disabled {
    opacity: 0.6; /* Reduce opacity to visually indicate it's disabled */
    pointer-events: none; /* Prevent any mouse interactions */
}

.overlay {
    position: absolute;
    top: -17px;
    left: 50px;
    /* Entferne pointer-events hier */
}

.overlay2 {
    position: absolute;
    top: 25px;
    left: 50px;
    /* Entferne pointer-events hier */
}

.overlay-image {
    width: 280px;
    height: auto;
    pointer-events: auto; /* Ermöglicht Mausereignisse auf dem Bild */
}

.animate-grow {
    animation: grow-on-load 1s ease-in-out forwards;
}

/* Animation beim Laden der Seite */
@keyframes grow-on-load {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1); /* Am Ende zur normalen Größe zurückkehren */
    }
}

/* Hover-Effekt */
.overlay-image:hover {
    transform: scale(1.2); /* Vergrößert das Bild, wenn Maus darüber ist */
}

/* Add arrow icons for sortable headers */
th.is-clickable {
    position: relative;
    cursor: pointer;
    padding-right: 20px !important;
}

th.ascending::after {
    content: "▲";
    position: absolute;
    right: 8px;
    font-size: 12px;
}

th.descending::after {
    content: "▼";
    position: absolute;
    right: 8px;
    font-size: 12px;
}

#search-results {
    position: absolute;
    z-index: 1000;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    width: 400px; /* Increased width */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    right: 0; /* Align to the right */
    top: 100%; /* Position below the search input */
}

.search-result-item {
    padding: 6px 10px; /* Reduced padding */
    cursor: pointer;
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 0.7rem; /* Smaller text */
}

.search-result-item:hover {
    background-color: #f5f5f5;
    color: #000;
}

#auswertungskennzeichen-select {
    max-width: 55px;
    width: auto;
    min-width: 0;
}

.th-header-flex {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2px;
    min-width: 0;
}

.th-header-flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

/* wirleben Anpassungen */
.navbar-orange {
    background-color: #EE7203;
    color: white;
    padding: 1.2rem 1rem; /* Erhöht die Höhe der Navbar */
}

.navbar-orange .navbar-item,
.navbar-orange .navbar-item.is-active {
    color: white !important;
}

.navbar-orange .navbar-item.is-active {
    background-color: #EE7203 !important; /* Helleres Orange für aktive Links */
    border: none !important;
}

.navbar-orange .navbar-item.is-active,
.navbar-orange .navbar-item:hover {
    font-weight: bold !important; /* Hebt aktive Links und Hover-Links durch dickere Schrift hervor */
    background-color: transparent !important; /* Entfernt Hintergrundfarbe */
    border: none !important; /* Entfernt jegliche Ränder */
}

.footer {
    background-color: #EE7203 !important;
    color: #fff;
}
.footer a {
    color: #fff;
}

.button.is-info {
    background-color: #712283 !important;
    color: #fff !important;
}

/* Admin Cards */
.wl-card {
    box-shadow: none;
    border: none;
    border-radius: 0;
}

.wl-card .card-header {
    box-shadow: none;
}

.wl-card-title {
    color: var(--primary);
    font-size: larger;
    text-transform: uppercase;
    border-top: 2px solid var(--primary);
    padding-top: 1rem;
    display: block;
    width: 100%;
    position: relative;
}
.wl-card-title .arrow {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}