body {
    margin: 0;
    padding: 0;
}

body,
html {
    height: 100%;
}


.fhzresource2{ color: #00FF40 !important;}
.fhzresource6{ color: #B45F04 !important;}
.fhzresource1{ color: #DF0101 !important;}
.fhzresource7{ color: #2E2E2E !important;}
.fhzresource9{ color: #8904B1 !important;}
.fhzresource4{ color: #0404B4 !important;}
.fhzresource5{ color: #FFFF00 !important;}
.fhzresource8{ color: #A4A4A4 !important;}
.fhzresource11{color: #FFBF00 !important;}
.fhzresource3{ color: #04B4AE !important;}
.fhzresource10{color: #B40486 !important;}

.fhzbgresource2{ background-color: #00FF40 !important;}
.fhzbgresource6{ background-color: #B45F04 !important;}
.fhzbgresource1{ background-color: #DF0101 !important;}
.fhzbgresource7{ background-color: #2E2E2E !important;}
.fhzbgresource9{ background-color: #8904B1 !important;}
.fhzbgresource4{ background-color: #FFFF00 !important;}
.fhzbgresource5{ background-color: #FFBF00 !important;}
.fhzbgresource8{ background-color: #A4A4A4 !important;}
.fhzbgresource11{background-color: #04B4AE !important;}
.fhzbgresource3{ background-color: #0404B4 !important;}
.fhzbgresource10{background-color: #B40486 !important;}


.event-color-c {
    display: flex;
    margin: 16px;
    align-items: center;
    cursor: pointer;
}

.event-color-label {
    flex: 1 0 auto;
}

.event-color {
    width: 30px;
    height: 30px;
    border-radius: 15px;
    margin-right: 10px;
    margin-left: 240px;
}

.crud-color-row {
    display: flex;
    justify-content: center;
    margin: 5px;
}

.crud-color-c {
    padding: 3px;
    margin: 2px;
}

.crud-color {
    position: relative;
    min-width: 46px;
    min-height: 46px;
    margin: 2px;
    cursor: pointer;
    border-radius: 23px;
}

.crud-color-c.selected,
.crud-color-c:hover {
    box-shadow: inset 0 0 0 3px #007bff;
    border-radius: 48px;
}

.crud-color:before {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    color: #f7f7f7;
    font-size: 20px;
    text-shadow: 0 0 3px #000;
    display: none;
}

.crud-color-c.selected .crud-color:before {
    display: block;
}


.mbsc-timeline-resource-header-cont, .mbsc-timeline-resources {
    width: 3em !important;
}


.md-tooltip .mbsc-popup-content {
    padding: 0;
}

.md-tooltip {
    font-size: 15px;
    font-weight: 600;
}

.md-tooltip-header {
    padding: 12px 16px;
    color: #eee;
}

.md-tooltip-info {
    padding: 16px 16px 60px 16px;
    position: relative;
    line-height: 32px;
}

.md-tooltip-time,
.md-tooltip-status-button {
    float: right;
}

.md-tooltip-title {
    margin-bottom: 15px;
}

.md-tooltip-text {
    font-weight: 300;
}

.md-tooltip-info .mbsc-button {
    font-size: 14px;
    margin: 0;
}

.md-tooltip-info .mbsc-button.mbsc-material {
    font-size: 12px;
}

.md-tooltip-view-button {
    position: absolute;
    bottom: 16px;
    left: 16px;
}

.md-tooltip-edit-button {
    position: absolute;
    bottom: 16px;
    left: 120px;
}

.md-tooltip-delete-button {
    position: absolute;
    bottom: 16px;
    right: 16px;
}

.tooltip-event-close {
    border-right: 1px solid black;
    padding: 22px 16px;
    margin-left: -17px;
    color: Black;
    cursor: pointer;
}


.md-tooltip-name-age{
    margin-left: 0px;
}
.md-tooltip-header{

    padding: 2px 16px !important;
}
.md-tooltip-time{
    display: none;
    /*margin-left: 34px;*/
    /*float: none !important;*/
}
.closebutton{
    position: absolute;
    top: 15px;
    left: 10px;
}

.nav-bg-bull {
    background-color: #eeeeee !important;
}




.md-custom-range-view-controls {
    display: flex;
    flex: 1 0 auto;
    justify-content: end;
    align-items: center;

}

.mbsc-material .mbsc-calendar-title {
    font-size: 1.428572em;
    font-weight: 400;
    text-transform: none;
    line-height: 1.4em;
}



.event-color-c {
    display: flex;
    margin: 16px;
    align-items: center;
    cursor: pointer;
}

.event-color-label {
    flex: 1 0 auto;
}

.event-color {
    width: 30px;
    height: 30px;
    border-radius: 15px;
    margin-right: 10px;
    margin-left: 240px;
}

.crud-color-row {
    display: flex;
    justify-content: center;
    margin: 5px;
}

.crud-color-c {
    padding: 3px;
    margin: 2px;
}

.crud-color {
    position: relative;
    min-width: 46px;
    min-height: 46px;
    margin: 2px;
    cursor: pointer;
    border-radius: 23px;
}

.crud-color-c.selected,
.crud-color-c:hover {
    box-shadow: inset 0 0 0 3px #007bff;
    border-radius: 48px;
}

.crud-color:before {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    color: #f7f7f7;
    font-size: 20px;
    text-shadow: 0 0 3px #000;
    display: none;
}

.crud-color-c.selected .crud-color:before {
    display: block;
}




.ui-helper-hidden-accessible{
    display:none !important;
}

ul.ui-autocomplete {
    z-index: 10000000;
    background-color: rgb(224, 246, 255);
    border-left: 1px solid black;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
    left: -50px;
    width: 300px !important;
}
ul.ui-autocomplete>li{
    z-index: 10000000;
    list-style: none;
    margin-left: -25px;
    font-size: 20px;
}

.demo-main-cont.demo-comp-listview { padding: 0; }
.demo-comp-listview .demo-note { margin: 10px; }

.md-navigate .md-list .mbsc-lv-item {
    padding-right: 4em;
    backface-visibility: hidden;
    -webkit-transform: none;
    -moz-transform: none;
    transform: none;
}

.md-popup {
    position: fixed;
    width: 100px;
    height: 100px;
    margin: -50px 0 0 -50px;
    border-radius: 100px;
    background: rgba(78, 204, 196, .6);
    color: #fff;
    font-size: 56px;
    font-family: sans-serif;
    line-height: 100px;
    text-align: center;
    top: 50%;
    left: 50%;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    -webkit-transition: opacity 300ms;
    -moz-transition: opacity 300ms;
    transition: opacity 300ms;
}

.md-show-popup {
    opacity: 1;
}

.md-alfabet .mbsc-ms-item {
    min-width: 2.5em;
}

.md-iata {
    position: absolute;
    top: 50%;
    right: 1em;
    margin-top: -9px;
}

.example-full .md-popup

{
    position: fixed;
}

.md-item-star .mbsc-ic-star3 {
    font-size: 14px;
}

/* no bookmark section */

.md-navigate .md-list .mbsc-lv-item.md-no-bookmark {
    display: none;
    padding: 1.5em 2.5em;
    height: 571px;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

.md-nob-separator {
    height: 1px;
    margin-bottom: 38px;
    width: 100%;
    background: #CACACA;
}

.md-nob-title {
    text-align: center;
    padding: 1em;
    font-size: 16px;
}

.md-nob-txt {
    text-align: center;
    padding: 1em 0 2em 0;
    color: #a0a0a0;
    font-size: 14px;
}

.md-navigate .mbsc-lv .md-no-bookmark.mbsc-lv-item .md-nob-img {
    position: static;
    display: block;
    max-width: 274px;
    width: 274px;
    max-height: initial;
    margin: 0 auto;
    border: 1px solid #ccc;
    margin-bottom: 14px;
    transform: none;
}

.md-no-bookmark {
    display: none;
    padding: 2em;
    background: #f7f7f7;
    font-size: 16px;
}

.md-navigate .md-no-bookmark.mbsc-lv-item-active:after {
    background: none !important;
}

.bi{
    background-color: red;
}

.mbsc-timeline-header-time {
    padding: 0 0;
    font-size: 0.85em;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 2em;
    font-weight: bold;
    text-align:center;
}

.mbsc-ic.icon {
    font-family: inherit;
    font-weight: normal;
}
.mbsc-ic.icon:before {
    font-family:'Font Awesome\ 5 Free', 'Font Awesome\ 5 Brands', 'Font Awesome 5 Pro' !important;
}
.mbsc-ic.icon.fas:before,
.mbsc-ic.icon.fa:before {
    font-weight: 900;
}
.mbsc-form-group{
    margin: 2px 0 !important;
    background-color: none;
}

.fahrtantritt {
    text-align: center;
    align-items: center;
    font-weight: bold;
    background: repeating-linear-gradient(-45deg, #f3f3f3, #f3f3f3 11px, #f3ce33 11px, #f3ce33 22px) !important;
}

.storniert {
    text-align: center;
    align-items: center;
    font-weight: bold;
    background: repeating-linear-gradient(-45deg, #f3f3f3, #f3f3f3 11px, #F5909CFF 11px, #F5909CFF 22px) !important;
}

.abgeschlossen {
    text-align: center;
    align-items: center;
    font-weight: bold;
    background: repeating-linear-gradient(-45deg, #f3f3f3, #f3f3f3 11px, #59ef5c 11px, #59ef5c 22px) !important;
}

.footer-layout{
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
}

.mbsc-radio-box{
    border: 0.125em solid #1274de;
    padding: 1px;
    right: 1em;
    width: 1.75em;
    height: 1.75em;
    margin-top: -0.875em;
    background: transparent;
    border-radius: 2em;
}
.mbsc-radio-box:after{
    top: 50% !important;
    left: 40% !important;
}


.md-card-bg .md-card-subtitle,
.md-card-bg .md-card-title {
    position: absolute;
    top: 50%;
    color: #fff;
    width: 100%;
}

.md-card-bg .md-card-title {
    margin-top: -30px;
}

.md-card-bg .md-card-subtitle {
    margin-top: 10px;
}

.resourceheader{

}

.mbsc-timeline-resource-col {
    width: 50px !important;
}


.md-cards h3 {
    padding: .5em;
    margin: 0;
}

.md-img {
    pointer-events: none;
    border-radius: 8px;
}

.mediaitem{
    background-color: White;
}

.mediaitem >img{
    height: 100px;
    margin: 0 2px 0 2px;
}
.media_select{
    padding: 2px;
    text-align: center;
}
.media_select_titel{
    display: block;
    font-weight: bold;
    color: black;
    font-size: 12px;
}
.media_select_gueltig{
    display: block;
    color: black;
    font-size: 10px;
}


.md-layout .mbsc-scv-item {
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.md-layout .mbsc-scv-c {
    margin: 10px 0;
}

.variable-1 {
    width: 60px;
    height: 60px;
}

.variable-2 {
    width: 80px;
    height: 80px;
}

.variable-3 {
    width: 70px;
    height: 70px;
}

.variable-4 {
    width: 50px;
    height: 50px;
}

.variable-5 {
    width: 100px;
    height: 100px;
}

.variable-6 {
    width: 40px;
    height: 40px;
}

.md-fixed .mbsc-scv-item {
    height: 80px;
    margin: 0 10px;
}

.md-variable .mbsc-scv-item {
    margin: auto 10px;
}

.md-pages .mbsc-scv-item {
    height: 80px;
}

.md-fullpage .mbsc-scv-item {
    height: 630px;
    font-size: 28px;
}



.md-hide-elm {
    display: none;
}

.md-recurrence-condition{
    z-index: auto;
}


.recurring-select{
    display: none;
}
.recurring-content{
    display: none;
}

.content-10{
    font-size: 10px;
    padding: 10px;
}





/*.md-recurrence-weekly{*/
/*    display: none;*/
/*}*/


.md-recurring-event-editor-popup .md-recurrence-input .mbsc-textfield-wrapper {
    display: inline-block;
    margin: 3px;
    z-index: 3;
    line-height: normal;
}

.md-recurring-event-editor-popup .md-recurrence-input .mbsc-textfield {
    width: 140px;
    height: 32px;
}

.md-recurring-event-editor-popup .md-recurrence-input-nr .mbsc-textfield {
    width: 90px;
}

.md-recurring-event-editor-popup .md-recurrence-input .mbsc-select-icon {
    top: 50%;
    height: 1.5em;
    margin-top: -0.75em;
}

.md-recurrence-options {
    padding: 0 1em;
    margin: 1em 0;
}

.md-recurrence-ends {
    padding: 0 1em;
    margin: 1.25em 0 -1.25em 0;
}

.md-recurrence-desc {
    font-size: 12px;
    font-weight: normal;
    color: #555;
    margin: 1em 0;
}

.md-recurring-event-editor-popup .md-recurrence-input .mbsc-textfield-wrapper {
    display: inline-block;
    margin: 3px;
    z-index: 3;
    line-height: normal;
}

.md-recurring-event-editor-popup .md-recurrence-input .mbsc-textfield {
    width: 140px;
    height: 32px;
}

.md-recurring-event-editor-popup .md-recurrence-input-nr .mbsc-textfield {
    width: 90px;
}

.md-recurring-event-editor-popup .md-recurrence-input .mbsc-select-icon {
    top: 50%;
    height: 1.5em;
    margin-top: -0.75em;
}

.md-recurrence-options {
    padding: 0 1em;
    margin: 1em 0;
}

.md-recurrence-ends {
    padding: 0 1em;
    margin: 1.25em 0 -1.25em 0;
}

.md-recurrence-desc {
    font-size: 12px;
    font-weight: normal;
    color: #555;
    margin: 1em 0;
}

.md-hide-elm {
    display: none;
}

.mbsc-timeline-row {
    height: 40px;
}
.mbsc-timeline-parent {
    height: 20px;
}
.mbsc-timeline-row-gutter {
    height: 6px;
}

.autocomplete-item{
    /*background-color: yellow;*/
}

.autocomplete-item hr{
    margin-bottom: 2px;
    margin-top: 2px;
}
.autocomplete-item .autocomplete-zeile1{
    font-weight: bold;
    display: block;
    padding: 0;
    font-size: 14px;
}
.autocomplete-item .autocomplete-zeile2{
    font-weight: normal;
    font-size: 12px;
}


.ansicht-alle{
    font-size: 12px !important;
}


.md-image-text-item {
    position: relative;
    padding: 15px 10px 15px 10px;
    text-align: left;
    line-height: normal;
}

.md-image-text-avatar {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 0;
    top: 5px;
}

.mbsc-scroller-wheel-item{
    /*width: 320px;*/
}

.em-rollstuhl {
    background-image: url("/static/images/rollstuhl.png");
}

.em-minibus-rollstuhl {
    width: 3em;
    background-image: url("/static/images/bus-rollstuhl.png");
}
.em-ausrufezeichen-rollstuhl {
    width: 2.5em;
    background-image: url("/static/images/ausrufezeichen-rollstuhl.png");
}
.em-bangbang-airplane {
    width: 2.5em;
    background-image: url("/static/images/2ausrufezeichen-flugzeug.png");
}

.em-fragezeichen-barzahlung {
    width: 3em;
    background-image: url("/static/images/fragezeichen_barzahlung.png");
}
.em-fragezeichen-bus {
    width: 3em;
    background-image: url("/static/images/fragezeichen_bus.png");
}
.em-fragezeichen-flugzeug {
    width: 3em;
    background-image: url("/static/images/fragezeichen_flugzeug.png");
}
.em-fragezeichen-krankenfahrt {
    width: 3em;
    background-image: url("/static/images/fragezeichen_krankenfahrt.png");
}
.em-fragezeichen-kreditkarte {
    width: 3em;
    background-image: url("/static/images/fragezeichen_kreditkarte.png");
}
.em-fragezeichen-rollstuhl {
    width: 3em;
    background-image: url("/static/images/fragezeichen_rollstuhl.png");
}
.em-fragezeichen-umsetzbar {
    width: 3em;
    background-image: url("/static/images/fragezeichen_umsetzbar.png");
}


.md-seach-header-bar .mbsc-textfield-wrapper.mbsc-form-control-wrapper {
    width: 400px;
    margin: 12px auto;
}

.md-search-popup .mbsc-popover-list {
    width: 400px;
}
.md-search-wiederholung-popup .mbsc-popover-wiederholung-list {
    width: 500px;
}
.md-search-popup .mbsc-event-list {
    margin-top: -1px;
    margin-bottom: -1px;
}

.md-search-events .mbsc-ios-dark.mbsc-textfield-box {
    background: #313131;
}



.fahrzeugpanel{
    /*min-width: 400px;*/
    /*height: 250px;*/
    background-color: #eaeae9;
    position: relative;
    border: 1px solid #0d3a5f;
}

.fahrzeugpanel_header{
    background-color: #0d3a5f;
    color: white;
    padding: 5px;
    font-size: 20px;
    font-weight: bold;
    width: 100%;
}
.fahrzeugpanel_footer{
    position: absolute;
    bottom: 0;
    background-color: #0d3a5f;
    color: white;
    padding: 5px;
    font-size: 20px;
    font-weight: bold;
    width: 100%;

}

.desktop-actions {
    margin-top: 10px;
}

.desktop-actions .btn {
    padding: 5px 10px;
    margin-right: 5px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

.btn-edit { background-color: #4CAF50; color: white; }
.btn-delete { background-color: #f44336; color: white; }
.btn-fahrten { background-color: #2196F3; color: white; }
.btn-media { background-color: #9C27B0; color: white; }


.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px; /* Abstand zwischen Checkbox und Text */
    font-size: 16px; /* Schriftgröße für besseren Look */
    padding: 5px 0; /* Etwas Abstand oben und unten */
}

#lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border: 4px solid #fff;
    border-radius: 8px;
}

#close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}
.mbsc-ios .mbsc-form-grid .mbsc-textfield-wrapper {
    /*top: 0 !important;*/
}
.mbsc-ios.mbsc-label-floating{
    top: 0 !important;
    /*font-size: 12px;*/
}

.my-checkbox{
    background-color: white;
    border-radius: .5em;
    border: 1px solid transparent;
    height: 3.5em;
    padding: 15px;
    padding-left: 20px !important;
    top: 0.8em;
    margin-left: 15px;
    margin-right: 0px;


}
.my-checkbox33{
    max-width: 31% !important;
}
.my-checkbox50{
    max-width: 47% !important;
}

.my-checkbox100{
    max-width: 96% !important;
    margin-bottom: 15px !important;
}

.my-checkbox50popup{
    max-width: 44% !important;
}

.my-checkbox40popup{
    max-width: 38% !important;
}

.my-checkbox60popup{
    max-width: 55% !important;
}


.my-checkbox30popup{
    max-width: 33% !important;
}

.bull-icon{
    height: 15px;
    width: 15px;
    margin-right: 2px;
}
#form_icon_search ul.ui-autocomplete {
    /*min-width: 100% !important;*/
}


.mds-tooltip {
    font-size: 12px;
    font-weight: 600;
}

.mds-tooltip-header {
    padding: 12px 16px;
    color: #eee;
}

.mds-tooltip-label {
    line-height: 32px;
}

#add-delete-event{
    transition: margin-right 0.3s ease;
}

#add-delete-event.shifted {
    margin-right: 400px; /* gleiche Breite wie das Pane */
}


.rueckfahrten-pane {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: #f8f9fa;
    border-left: 1px solid #ccc;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.rueckfahrten-pane.open {
    right: 0;
}

.pane-header {
    background: #007bff;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pane-body {
    padding: 10px;
    overflow-y: auto;
    flex-grow: 1;
}

.autocomplete-wrapper {
    position: relative;
    display: inline-block;
    width: 100%; /* oder eine feste Breite */
}

.autocomplete-wrapper input {
    width: 100%;
    padding-right: 2.2rem; /* Platz für Icon */
}

.clear-icon {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    cursor: pointer;
    z-index: 10;
}

.clear-icon:hover {
    color: #dc3545; /* Bootstrap-Rot oder anpassbar */
}

.serienfahrt {
    border-left: 5px solid;
}

.fahrt-abschluss-gruppe{
    /*background-color: Yellow;*/
    border: 2px solid black;
    margin-bottom: 20px !important;
}
.fahrt-abschluss-gruppe > .mbsc-form-group-title{
    font-weight: bold;
    font-size: 1.1rem;
    background-color: #f1f1f1;
    padding: 0.4rem 0.7rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.zahlung-betrag-wrapper {
    display: none;
    margin-top: 0.5rem;
}

.zahlung-betrag-wrapper.visible {
    display: block;
}

.zahlung-betrag-wrapper input {
    opacity: 1 !important;
    color: #000 !important;
}



