/******************************
Style CSS Somnias Anmeldung
Author: Adam Kammerer - https://light-work.eu/
Version: 2.0 | 2025-10-21 
******************************/

p {
    font-weight: 300;
}

h2 {
   font-size: 2.5em;
   margin-bottom: 0;
}

h5 {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1em;
    font-weight: 500;
    text-align: center;
}

h6 {
    text-transform: uppercase;
    font-size: 1em;
    font-weight: 500;
    text-align: center;
}

.form-container h6 {
    margin-top: 15px;
    text-align: center;
}

hr {
    margin-bottom: 40px;
}

#anmeldeformular {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    width: 100%;
}

.content-wrap {
    justify-content: flex-start;
    margin-top: 200px;
    min-height: calc(100vh - 200px);
}

.anmeldung-header {
    margin: 0 120px;
    width: calc(100% - 240px);
    max-width: 2000px;
    display: flex;
    justify-content: center;
    text-align: center;
    padding-bottom: 30px;
    border-bottom: solid 1px rgba(var(--somnias-grey-rgb),0.5);
}

.content-wrap p {
    font-size: 1em;
    text-align: center;
    max-width: 900px;
    width: 100%;
}
.container {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: flex-start;
    min-height: auto;
    padding: 0;
    border-bottom: solid 1px rgba(var(--somnias-grey-rgb),0.5);
    margin: 0 120px;
    width: calc(100% - 240px);
    max-width: 2000px;
    margin-bottom: 30px;
}


@media (max-width: 800px) {
    .content-wrap {
        margin-top: 140px;
        min-height: calc(100vh - 140px);
    }
}


@media (max-width: 1000px) {
    .anmeldung-header {
        margin: 0 10px;
        width: calc(100% - 20px);
    }
    .container {
        margin: 0 10px;
        width: calc(100% - 20px);
        margin-bottom: 30px;
    }
}


.content-wrap .container:first-of-type {
    padding-top: 0;
}

.container h3 {
   margin-bottom: 0;
}
.form-container {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
    max-width: 100%;
}

.tab {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: fit-content;
    max-width: 100%;
    flex-direction: column;
    align-items: center;
}
div#tab_kontakte > .row:nth-of-type(2) hr {
    display: none;
}

.tab > .row:first-of-type {
    padding-top: 0;
}

.tab > .row:last-of-type {
    padding-bottom: 0;
}

.input {
    flex-basis: 0;
    flex-grow: 2;
    position: relative;
    display: flex;
    justify-content: center;
}

.row, .row-2 {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    width: -moz-available;   /* Firefox */
    width: -webkit-fill-available;
    max-width: 800px;
}
.row-3 {
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    width: -moz-available;   /* Firefox */
    width: -webkit-fill-available;
}

.row .row, .column .row, .column .row-2, .column .row-3, .column-3 .row, .column-3 .row-2, .column-3 .row-3 {
    padding: 5px 10px;
    padding: 0;
}

.column {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    width: max-content;
    gap: 10px;
    max-width: 100%;
    text-align: center;
}


.column-2 {
    max-width: calc(100vw - 20px);
}

.column-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: max-content;
    max-width: 100%;
    gap: 10px;
    text-align: center;
}

.column > input, .column > select {
    max-width: 300px;
    width: 100%;
}
.group {
    display: flex;
    width: 100%;
    gap: 10px;
    max-width: 300px;
    justify-content: center;
    align-items: center;
}

.group-2 {
    display: flex;
    gap: 10px;
}

.hidden {
    display: none !important;
}

.hidden-2 {
    display: none;
}

.group > select, .group > input {
    width: 100%;
}

#hinweis-kinder {
    margin: 20px 0;
}

/**/

.btn-1, .btn-2, .btn {
    display: inline-flex;
    height: 37px;
    box-sizing: border-box;
    align-items: center;
    line-height: normal;
}
a.btn-1, a.btn-2, a.btn {
    display: inline-flex;
}

.btn-1 {
    padding: 7px 20px;
    font-size: 1em;
    margin: 0 5px;
    cursor: pointer;
    border: 1px solid var(--somnias-grey);
    border-radius: 20px;
    transition: 0.5s;
    font-family: 'Gilroy';
}

.btn-1:hover, .btn:hover, .btn-2:hover {
    transform: scale(0.95);
}
.kits .btn-1 {
    border: 1px solid var(--somnias-kits);
    color: var(--somnias-kits);
}

.fidelis .btn-1 {
    border: 1px solid var(--somnias-fidelis);
    color: var(--somnias-fidelis);
}

.edenhof .btn-1 {
    border: 1px solid var(--somnias-edenhof);
    color: var(--somnias-edenhof);
}

.btn-2 {
    padding: 7px 20px;
    font-size: 1em;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 20px;
    font-family: 'Gilroy';
}

a.btn-4 {
    display: flex;
    width: 150px;
    border: rgba(var(--somnias-kits-rgb), 0.5) 1px solid;
    background: rgba(var(--somnias-kits-rgb), 1);
    border-radius: 50%;
    padding: 10px;
    height: 150px;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    font-weight: 300;
    font-size: 1.2em;
    text-decoration: none;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-4:hover {
    color: #fff;
    background: rgba(var(--somnias-kits-rgb),0.5);
    text-decoration: none;
}

.btn-4::after {
    display: none;
}


input[type="checkbox"], input[type="radio"] {
    width: 20px;
    padding: 5px;
    height: 20px;
    cursor: pointer;
    min-width: 20px;
}

select {
    color: #999;
}
select.required:valid, select:has(option:checked:not([value=""])) {
    color: #000;
}
select option {
    color: #000;
}
select option[value=""] {
    color: #999;
}

.fill input, .fill select , .fill label {
    flex-grow: 2;
    flex-basis: 0;
    box-sizing: border-box;
    min-width: 200px;
}
.fill > div {
    width: 100%;
    max-width: calc(100vw - 30px);
}


input[type="text"], input[type="password"], input[type="email"], input[type="date"], input[type="time"], input[type="number"], input[type="tel"], select, .tag {
    box-sizing: border-box;
    padding: 7px 20px;
    border: 1px solid var(--somnias-grey);
    border-radius: 20px;
    font-size: 1rem;
    height: 37px; 
    font-family: 'Gilroy';   
    max-width: 100%;
    display: flex;
    justify-content: flex-start;
}

.fill > div.pass_group {
    position: relative;
    width: auto;
    max-width: none;
    flex-grow: 2;
    flex-basis: 0;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    min-width: 200px;
}

div.pass_group input[type="checkbox"] {
    display: none;
}

label.pass_eye {
    width: 20px;
    min-width: 20px;
    opacity: 0.8;
    position: absolute;
    right: 10px;
    cursor: pointer;
    top: 7px;
}

.geb_datum_container {
    position: relative;
    width: auto;
    max-width: none;
    flex-grow: 2;
    flex-basis: 0;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    min-width: 200px;
    height: 37px;
}
.geb_datum_container label {
    position: absolute;
    background: #fff;
    height: calc(100% - 5px);
    display: flex;
    width: calc(100% - 4px);
    left: 2px;
    border-radius: 20px;
    top: 3px;
    padding: 2px 20px;
    justify-content: flex-start;
    align-items: center;
    pointer-events: none;
    color: #a7a8a9;
}

.geb_datum_container input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
	position: absolute;
	right: 10px;
    height: 20px;
	width: 20px;
	color:red;
	fill: #fff;
}


label {
    font-size: 1rem;
}

input::placeholder {
    font-family: "Gilroy";
    color: #999;
    font-size: 1rem;
}
textarea::placeholder {
    color: #999;
}

textarea {
    font-size: 1rem;
    font-family: 'Gilroy';
    padding: 20px;
    border-radius: 20px;
    border: 1px solid var(--somnias-grey);
    width: 100%;
}

.row .border, .border, .column .border {
    border-radius: 20px;
    border: 1px lightgrey solid;
    padding: 20px;
    text-align: left;
    align-items: flex-start;
}
.row .border-2, .border-2, .column .border-2 {
    border-top: 1px lightgrey solid;
    border-bottom: 1px lightgrey solid;
    padding: 20px;
    align-items: center;
    margin: 10px;
    max-width: calc(100% - 60px);
}
@media (max-width: 800px) {
    /* .border-2 {
        padding: 20px 0;
        margin: 10px 0;
        max-width: 100%;
    } */
}

/* ICONS */

.buttons {
	display: block;
    float: left;
    margin-top: -12px;
    position: absolute;
    width: 300px;
    height: 30px;
}

.buttons > div {
    position: relative;
    float: left;
    display: block;
}


.arrow-right {
    display: inline-block;
    height: 10px;
    width: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    transition: 0.5s;
}
.btn-2:hover .arrow-right{
    transform: rotate(-45deg) translate(2px, 2px);
}
.arrow-left {
    display: inline-block;
    height: 10px;
    width: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(135deg);
    transition: 0.5s;
}
.btn-2:hover .arrow-left{
    transform: rotate(135deg) translate(2px, 2px);
}



.checkmark-2 {
    display:inline-block;
    width: 15px;
    height: 14px;
    margin-bottom: 2px;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    transition: 0.5s;
}

.checkmark-2:before{
    content:"";
    position: absolute;
    width:3px;
    height: 17px;
    background-color:#fff;
    left: 11px;
    top: -2px;
}

.checkmark-2:after{
    content:"";
    position: absolute;
    width: 8px;
    height: 3px;
    background-color:#fff;
    left: 3px;
    top: 12px;
}

.btn-2:hover .checkmark-2 {
    transform: rotate(45deg) scale(1.2);
}

.checkmark-outer {
    width: 14px;
    font-weight: 500;
    display: inline-block;
    height: 14px;
    padding: 6px;
    margin: 0 5px;
    background-color: rgb(120 177 63);
    border-radius: 50%;
    border: 1px solid #fff;
    transition: 0.5s;
    cursor: pointer;
}
span.checkmark  {    
	display: inline-block;
    transform: rotate(45deg);
    height: 12px;
    width: 5px;
    margin-left: 10%;
    margin-top: -3px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
}
.edit {
    width: 14px;
    font-weight: 500;
    display: inline-block;
    height: 14px;
    padding: 6px;
    margin: 0 5px;
    background-color: var(--somnias-kits);
    border-radius: 50%;
    border: 1px solid #fff;
    transition: 0.5s;
    cursor: pointer;
}
.edit-pencil {
	position: relative;
	display: inline-block;
	width: 11px;
	height: 26px;
    padding: 0 7px;
	font-size: 0;
	vertical-align: middle;
	cursor: pointer;
}
.edit-pencil:before {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-2px, -3px) rotate(-45deg);
	width: 3px;
	height: 5px;
	background-color: #fff;
	box-shadow: 1px 0px 0px #fff, 2px 0px 0px #fff, 3px 0px 0px #fff, -1px 0px 0px #fff, -2px 0px 0px #fff, -3px 0px 0px #fff, -3.3px 0px 0px #fff, 7px 0px 0px #fff;
	transition: all 300ms;
	content: '';
}
.edit-pencil:after {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-9px, 3px) rotate(-45deg);
	font-size: 1px;
	border: solid 3em transparent;
	border-left-width: 0;
	border-right-width: 5em;
	border-right-color: #fff;
	transition: all 300ms;
	content: '';
}
.add {
    position: relative;
    width: 14px;
    font-weight: 500;
    display: inline-block;
    height: 14px;
    padding: 6px;
    margin: 0 5px;
	margin-top: 10px;
    background-color: rgba(var(--somnias-grey-rgb),0.5);
    border-radius: 50%;
    border: 1px solid #fff;
    transition: 0.5s;
    cursor: pointer;
}
.add:hover {
    transform:scale(0.9);
}
.add:before, .add:after {
  position: absolute;
  left: 12px;
  content: ' ';
  height: 13px;
  width: 2px;
  background-color: #fff;
}
.add:before {
  transform: rotate(90deg);
}
.add:after {
  transform: rotate(0deg);
}
.remove {
    width: 14px;
    font-weight: 500;
    display: inline-block;
    height: 14px;
    padding: 6px;
    margin: 0 5px;
    background-color: rgb(151 0 0);
    border-radius: 50%;
    border: 1px solid #fff;
    transition: 0.5s;
    cursor: pointer;
    text-align: center;
}
.remove-tab {
    transform: translateY(7px);
}
.remove:before, .remove:after {
  position: absolute;
	margin-left: -1px;
	margin-bottom: -1px;
  content: ' ';
  height: 13px;
  width: 2px;
  background-color: #fff;
}
.remove:before {
  transform: rotate(45deg);
}
.remove:after {
  transform: rotate(-45deg);
}
.remove_begleitung {
    align-items: center;
    width: 38px;
    height: 30px;
}
.new_child_name .remove {
    margin-left: -32px;
}
.edit_begleitung {
    align-items: center;
    width: 38px;
    height: 30px;
}
.checkmark_begleitung {
    align-items: center;
    width: 38px;
    height: 30px;
}

.trash-outer:hover, .edit:hover, .checkmark-outer:hover {
    transform:scale(0.9);
}
.trash-outer {
    width: 14px;
    font-weight: 500;
    display: inline-block;
    height: 14px;
    padding: 6px;
    margin: 0 5px;
    background-color: rgb(151 0 0);
    border-radius: 50%;
    border: 1px solid #fff;
    transition: 0.5s;display: flex;
    align-content: center;
    justify-content: center;
    cursor: pointer;
}
.trash {
    box-sizing: border-box;
    position: relative;
    display: inline-block;
    transform: scale(0.9);
    width: 10px;
    height: 12px;
    border: 2px solid transparent;
    box-shadow:
        0 0 0 2px,
        inset -2px 0 0,
        inset 2px 0 0;
    border-bottom-left-radius: 1px;
    border-bottom-right-radius: 1px;
    margin-top: 2px;
    color: #fff;
}
.trash::after,
.trash::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute
}
.trash::after {
    background: currentColor;
    border-radius: 3px;
    width: 16px;
    height: 2px;
    top: -4px;
    left: -5px
}
.trash::before {
    width: 10px;
    height: 4px;
    border: 2px solid;
    border-bottom: transparent;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    top: -7px;
    left: -2px
}


/* SIDEMENU*/

div#side-nav {
    display: none;
}



/* ANMELDUNG */


.projekt-count {
    display: none;
}

div#projekte-wrap {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.projekt-item {
    border-radius: 20px;
    border: solid 1px rgba(var(--somnias-grey-rgb),0.5);
    padding: 20px;
    width: 320px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.projekt-item .btn-2 {
    margin-top: 20px;
    margin-left: 0;
}

.projekt-item h5 {
    text-align: left;
    margin-bottom: 10px;
}

.ortschaften > div {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    white-space: nowrap;
    gap: 10px;
}

.ortschaften_wrap {
    margin-top: 20px;
}
.ortschaften {
    max-width: 900px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.ortschaften label {
    min-width: 150px;
    white-space: normal;
}

.select_label {
    display: inline-flex;
}


.wochen > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.wochen {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}
.wochen label {
    width:250px
}

.wochenauswahl {
    display: flex;
    justify-content: center;
}

.wochenauswahl > .column {
    padding-top: 50px;
    border-top: 1px solid #000;
    margin-top: 10px;
    border-bottom: 1px solid #000;
    padding-bottom: 50px;
}

.price_wrap > .column {
    margin-top: 30px;
    padding-bottom: 20px;
    text-align: center;

}
.price_wrap {
    display: flex;
    justify-content: center;
}

.preise {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.preise > div {
    display: flex;
    gap: 10px;
}

.preis_1_input {
    display: flex;
    align-items: center;
    gap: 5px;
}

.checkbox_group {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: left;
    max-width: 600px;
}
div#select_children {
    display: flex;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}


.check_child_label, .check_child_input, .checkbox_label {
    line-height: 150%;
    font-size: 16px;
    display: inline-block;
    transition: 0.5s;

    border: 1px solid var(--somnias-grey);
    border-radius: 20px;
    color:  var(--somnias-grey);
    padding: 7px 20px;
}
.checkbox.hidden {
    display: none;
}
.check_child_label, .checkbox_label {
    cursor: pointer;
}
.check_child_label:hover, .checkbox_label:hover {
    transform: scale(0.9);
}
.check_child:checked + .check_child_label, .checkbox:checked + .checkbox_label {
    color: #fff;
    background-color: var(--somnias-kits);
    border-color: #fff;
}
.check_child_label.disabled, .checkbox_label.disabled {
    background: #e3e3e3;
    opacity: 0.5;
}

.check_child_label.disabled:hover, .checkbox_label.disabled:hover {
    transform: none;
}
.check_child_input::placeholder {
    color: #fff;
    opacity: 0.6;
}
.new_child_name {
    display: flex;
    justify-content: center;
    align-items: center;
}


.interests img {
    width: 25px;
    border-radius: 0; 
}


.check_interest_label {
    display: flex;
    align-items: center;
    line-height: 150%;
    font-size: 16px;
    transition: 0.5s;
    border: 1px solid var(--somnias-grey);
    border-radius: 20px;
    color:  var(--somnias-grey);
    padding: 7px 20px;
    cursor: pointer;
    gap: 10px
}
.interests input[type="checkbox"] {
    display:none;
}
.interests label:hover {
    transform: scale(0.9);
}
.check_interest:checked + .check_interest_label {
    color: #fff;
    background-color: var(--somnias-kits);
    border-color: #fff;
}
.check_child_input::placeholder {
    color: #fff;
    opacity: 0.6;
}

.check_interest:checked + .check_interest_label img {
    color: #fff;
    background-color: var(--somnias-kits);
    border-color: #fff;
    filter: brightness(1);
}

.child_interests img {
    filter: brightness(0.2);
}

.multiselect-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 100vw;
    justify-content: center;
}
.multiselect-container:empty {
    display: none;
}

.tag-container {
    display: inline-flex;
    align-items: center;
    padding: 3px 20px;
    border-radius: 20px;
    gap: 8px;
    box-sizing: border-box;
    height: 37px;
}

.tag-container-2 {
    display: inline-flex;
    align-items: center;
}

.tag-container-2 .remove {
    position: absolute;
    right: 0;
}

.tag-container .remove {
    margin-right: -15px;
    margin-left: 0;
}

.tag-container.green {
    border: 1px solid rgb(79 129 0);
    color: rgb(79 129 0);
    background-color: rgba(79, 129, 0, 0.1);
}
.tag-container.red {
    border: 1px solid rgb(168 0 0);
    color: rgb(168 0 0);
    background-color: rgba(168, 0, 0, 0.1);
}
.tag-container.orange {
    border: 1px solid rgb(243 157 0);
    color: rgb(243 157 0);
    background-color: rgba(243, 157, 0, 0.1);
}

.food-preferences .add {
    position: absolute;
    margin: 0;
    right: 5px;
}

.food-category {
    position: relative;
    display: flex;
    align-items: center;
}


.time-category .add {
    position: absolute;
    margin: 0;
    right: 5px;
}

.time-category {
    position: relative;
    display: flex;
    align-items: center;
}

.time-category input[type="time"] {
    padding-right: 35px;
}




div#kontrolle .row p {
    text-align: left;
}

div#kontrolle .row {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px;
    border: solid 1px rgba(var(--somnias-grey-rgb),0.5);
    border-radius: 20px;
    max-width: 500px;
}

div#kontrolle {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: calc(100% - 20px);
    max-width: calc(100vw - 35px);
    padding: 0 10px;
}
.datenschutz {
    margin-top: 10px;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.datenschutz div {
    display: flex;
    gap: 10px;
    align-items: center;
}

.upload-contract input, .upload-file input {
    position: absolute;
    color: rgba(0, 0, 0, 0);
    z-index: -10;
    left: calc(50% - 5px);
    max-width: 10px;
    top: 5px;
    min-width: 0;
}

 .upload-file .btn-1 {
    margin: 0;
 }

.beeintraechtigung-category {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--somnias-grey);
}

.beeintraechtigung-category:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    
}

/*TABELLE PUNKTE*/

.table {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
}

.table .table-wrapper {
    border: 1px solid var(--somnias-grey);
    border-radius: 20px;
    overflow: hidden;
}

.table table {
    border-radius: 20px;
    border-collapse: collapse;
}

.table td {
    padding: 5px 10px;
    text-align: center;
    border: 1px solid var(--somnias-grey);
    text-align: left;
}

.table td:first-of-type {
    border-left: none;
}

.table td:last-of-type {
    border-right: none;
}

.table tr:first-of-type td {
    border-top: none;
}

.table tr:last-of-type td {
    border-bottom: none;
}

.table .summe {
    font-weight: 600;
}

.table th {
    border-bottom: 1px solid var(--somnias-grey);
    border-left: 1px solid var(--somnias-grey);
    padding: 2px 8px;
}

.table th:first-of-type {
    border-left: none;
}

/**/

table.benutzer {
    border-collapse: collapse;
    border-radius: 30px;
    border-style: hidden; /* hide standard table (collapsed) border */
    box-shadow: 0 0 0 1px #666; /* this draws the table border  */ 
    border-radius: 20px;
    overflow: hidden;
    width: calc(100% - 4px);
    margin: 2px;
    margin-top: 20px;
}

table.benutzer td, table.benutzer th {
    border: 1px solid var(--somnias-grey);
    font-size: 1rem;
    padding: 8px;
}

table.benutzer th {
    background-color: rgba(var(--somnias-grey-rgb));
    color: #fff;
    font-weight: 500;
    border-left-color: #fff;
    border-right-color: #fff;
}

table.benutzer tr:nth-of-type(odd) {
    background-color: rgba(var(--somnias-grey-rgb), 0.5);
    color: #000;
}

.scrollable {
    overflow-x: auto;
    max-width: calc(100% - 20px);
    padding: 0 10px;
}



.angefragt {
    background: rgba(160, 160, 160, 0.5);
}
.bestaetigt {
    background: rgb(79 129 0);
    color: #fff;
}
.warteliste {
    background: rgb(243 157 0);
    color: #fff;
}
.abgelehnt {
    background: rgb(168 0 0);
    color: #fff;
}
.uebernachtung {
    background: rgb(0 84 145);
    color: #fff;
} 

.bewerbung-status {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border: solid 1px rgba(var(--somnias-grey-rgb), 0.5);
    padding: 20px;
    width: 240px;
    max-width: 100%;
    display: flex;
    flex-direction: row;    
    justify-content: space-between;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.bewerbung-status:hover {
    transform: scale(0.95);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bewerbung-status .status-bar {
    position: absolute;
    height: 3px;
    width: 100%;
    bottom: 0;
    left: 0;
}

.bewerbung-status .status-icon img {
    width: 20px;
    height: 20px;
    
}

.abgeschlossen .status-bar {
    background: rgb(79 129 0);
}
.unvollstaendig .status-bar {
    background: rgb(243 157 0);
}
.fehlerhaft .status-bar {
    background: rgb(168 0 0);
}


.ortschaften label {
    line-height: 150%;
    display: inline-block;
    transition: 0.5s;

    border: 1px solid var(--somnias-grey);
    border-radius: 20px;
    color:  var(--somnias-grey);
    padding: 7px 20px;
    cursor: pointer;
}
.ortschaften label:hover {
    transform: scale(0.9);
}
.ortschaften_select {
    display: none;
}
.ortschaften_select:checked + .ortschaften_label {
    color: #fff;
    background-color: var(--somnias-kits);
    border-color: #fff;
}

.wochentage {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.wochentage.kita {
    flex-direction: column;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.wochentage .detail {
    flex-grow: 2;
}

.days_amount {
    display: inline-block;
    margin: 0 15px;
}

.wochentage .woche_label {
    display: flex;
    justify-content: space-around;
    text-align: left;
}

.sum_1, .sum_2, .sum_3 {
    font-size: 11px;
    white-space: nowrap;
}



.woche_label {
    line-height: 150%;
    display: inline-block;
    transition: 0.5s;

    border: 1px solid var(--somnias-grey);
    border-radius: 20px;
    color:  var(--somnias-grey);
    padding: 7px 20px;
    cursor: pointer;
}
.woche_label:hover {
    transform: scale(0.9);
}
.check_wochen {
    display: none;
}
.check_wochen:checked + .woche_label {
    color: #fff;
    background-color: var(--somnias-kits);
    border-color: #fff;
}
.allergie_detail {
    display: flex;
}
.update .wochen {
    
    width: 90vw;
    max-width: 1900px;
}
.update .wochenauswahl > .column {
    border-top: none;
    border-bottom: none;
}

.update div#projekt {
    margin-top: 50px;
}

.update .ortschaften {
    filter: saturate(0.0);
}

.update .ortschaften label {
    color: lightgrey;
    cursor: none;
    pointer-events: none;
}

.support {
    position: fixed;
    display: block;
    bottom: 7px;
    right: 10px;
    z-index: 1000;
    transition: 0.3s;
    opacity: 0.8;
}
.support img {
    width: 30px;
    filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.8));
}
.support:hover {
    transform: scale(0.95);   
}
.cc-compliance {
    flex-direction: row;
}

@media (max-width: 800px) {
    h2 {
        font-size: 2em;
    }
}
@media (max-width: 600px) {
    .projekt-item {
        width: 100%
    }
    .preise {
        flex-direction: column;
        align-items: center;
    }
    .checkbox_group {
        flex-direction: column-reverse;
        text-align: center;
    }
}
@media (max-width: 550px) {
    .fill label {
        text-align: center;
    }
    .group {
        flex-wrap: wrap;
        text-align: center;
        width: auto;
    }
    .row-2 {
        flex-direction: column;
        width: 100%;
    }
    .row-2 select, .row-2 input {
        width: 100%;
    }

    .wochentage {
        margin-bottom: 10px;
        border-bottom: 1px solid rgba(var(--somnias-grey-rgb), 0.5);
        padding-bottom: 20px;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .days_amount {
        margin: 0;
    }

    .wochentage:last-of-type {
        border: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .select_diagnose {
        order: 1;
    }
    .diagnose_detail {
        order: 2;
    }
    .select_allergie {
        order: 3;
    }
    .allergie_detail {
        order: 4;
    }
}




/* SWIPER */

.swiper-container {
    width: 1360px;
    max-width: 100%;
    margin: 30px 0;
}

.swiper-slide {
    width: 300px;
    min-width: 300px;
    display: flex;
    justify-content: center;
    height: auto;

}

.swiper-slide .column {
    align-items: flex-start;
    max-width: 350px;
    justify-content: space-around;    
    border-radius: 20px;
    border: 1px lightgrey solid;
    padding: 20px;
    width: 350px;
}

.swiper-slide h5 {
    margin-bottom: 20px;
}

.swiper-slide p {
    margin-bottom: 20px;
}

.swiper-slide .btn-2 {
    width: 200px;
    margin: 0;
}
.swiper-pagination {
    position: relative;
}
.swiper-pagination-bullet-active {
    background: grey;
}

#swiper {
    width: 100%;
}
#swiper .swiper {
    width: calc(100% - 40px);
    padding: 0  20px;
}

/* FULLCALENDAR */

div#calendar {
    width: 100%;
    height: 391px;
}

table.fc-col-header {
    width: calc(100% - 15px) !important;
}

.fc-daygrid-body.fc-daygrid-body-unbalanced {
    width: 100% !important;
}

table.fc-scrollgrid-sync-table {
    width: 100% !important;
}

.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child), .fc-direction-ltr .fc-button-group>.fc-button:last-child {
    border-radius: 50%;
    background-color: var(--somnias-kits);
    border: none;
    margin: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.fc-icon-chevron-left:before {
    margin-left: -5px;
}

.fc-direction-ltr .fc-button:hover {
    transform: scale(0.95);
}
.fc-direction-ltr .fc-button {
    transition: 0.3s;
    height: 30px;
    line-height: 100%;
}

.fc .fc-button-primary:focus, .fc .fc-button-primary:not(:disabled).fc-button-active:focus, .fc .fc-button-primary:not(:disabled):active:focus {
    box-shadow: none;
}

.fc .fc-button-primary {
    background-color: var(--somnias-kits);
    border: none;
    border-radius: 20px;
    margin-left: 10px;
}

.fc-day-past {
    color: #999;
}

.fc-event-past {
    opacity: 0.5;
}

.fc .fc-button-primary:disabled, .fc .fc-button-primary:hover {
    background-color: var(--somnias-kits);
}
.fc .fc-button-primary:disabled:hover{
    transform: none;
}

.fc-direction-ltr .fc-toolbar>*>:not(:first-child) {
    margin-left: 5px;
}

a.fc-daygrid-day-number::after, a.fc-col-header-cell-cushion::after, a.fc-daygrid-event::after {
    display: none;
}
.fc .fc-highlight {
    background: rgb(var(--somnias-kits-rgb),0.2);
}

.fc .fc-daygrid-day.fc-day-today {
    background: rgb(var(--somnias-kits-rgb),0.1);
    font-weight: 600;
}
.fc .fc-toolbar-title {
    font-size: 1.2em;
}
.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 10px;
}
a.fc-daygrid-event {
    width: 100%;
}

tr.fc-scrollgrid-section.fc-scrollgrid-section-header .fc-scroller {
    overflow: hidden !important;
}


/* FILEMANAGER BEWERBUNG */



.upload-file label {
    text-align: left;
    justify-content: space-between;
    white-space: nowrap;
}

/* Upload button gradient progress */
.upload-file label.btn-1,
.upload-file label.btn-2 {
	position: relative;
	transition: 0.5s;
    margin: 0;
}
.upload-file label.uploading {
	/* dynamic progress via CSS variable --upload-pct */
	background-image: linear-gradient(90deg, var(--somnias-kits) var(--upload-pct, 0%), #ffffff var(--upload-pct, 0%));
	background-color: #fff !important;
}

.upload-file label.upload-success {
	background-color: var(--somnias-kits) !important;
	color: #fff !important;
}
.upload-success:after {
	content: '\2714'; /* checkmark */    
    position: relative;
    margin-right: -20px;
    top: 18px;
	transform: translateY(-50%);
	color: #fff;
	font-size: 14px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
    background-color: var(--somnias-kits);
}

.upload-file label.upload-error {
	background-color: #c14242 !important;
	color: #fff !important;
}

/* Individual file upload buttons */
.uploaded-file-btn {
	position: relative;
	margin: 0;
	cursor: pointer;
	transition: 0.5s;
    flex-grow: 2;
    overflow: hidden;
    white-space: nowrap;
}

.uploaded-file-btn.uploading {
	background-image: linear-gradient(90deg, var(--somnias-kits) var(--upload-pct, 0%), #ffffff var(--upload-pct, 0%));
	background-color: #fff !important;
}

.uploaded-file-btn.upload-success {
	background-color: var(--somnias-kits) !important;
	color: #fff !important;
}

.uploaded-file-btn.upload-error {
	background-color: #c14242 !important;
	color: #fff !important;
}

.uploaded-file-btn.deleting {
	opacity: 0.5;
	pointer-events: none;
}

.uploaded-files-container {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.upload-file-group {
    position: relative;
    flex-grow: 2;
    flex-basis: 0;
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    box-sizing: border-box;
    min-width: 200px;
    align-items: center;
}
.upload-file {
    position: relative;
}
.upload-file .btn-1 {
    background-color: #fff;
}


div#status-progressbar {
    padding: 0;
    font-size: 10px;
    text-align: center;
    color: #fff;
    background-color: #e0e0e0;
    position: fixed;
    z-index: 9999;
    bottom: 0;
    width: 100%;
    height: 15px;
    overflow: hidden;
}

#progressbar-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background-color: #4f8100;
    transition: width 0.4s ease-in-out;
    z-index: 1;
}

#progressbar-text {
    position: relative;
    z-index: 2;
    line-height: 15px;
    color: #fff;
}

/* SAVE BUTTON ANIMATIONS */

/* Loading spinner animation */
@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Button loading state */
.btn-2.save::before {
    content: '';
    display: inline-block;
    position: absolute;
    left: calc(50% - 11px);
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    vertical-align: middle;
    opacity: 0;
    transition: opacity 0.3s;
}
/* Button loading state */
.btn-2.save.loading::before {
    opacity: 1;
    animation: spin 0.6s linear infinite;
}

/*  Modal Styles */
.modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
}

.modal.active {
	display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 10000;
}

.modal-content {
	position: relative;
	background-color: #fff;
	margin: 5% auto;
	padding: 30px;
	border-radius: 8px;
	max-width: 600px;
	width: 90%;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	z-index: 10001;
	animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-50px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.modal-close {
	position: absolute;
	top: 15px;
	right: 20px;
	font-size: 28px;
	color: #999;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	line-height: 28px;
	transition: color 0.2s;
}

.modal-close:hover {
	color: #333;
}

.modal-content h3 {
	margin-top: 0;
	margin-bottom: 20px;
	color: #333;
	font-size: 24px;
}

.modal-body {
	color: #555;
	line-height: 1.6;
}

.modal-body p {
	font-size: 1rem;
	margin-bottom: 15px;
}

.modal-body ul {
	margin-left: 20px;
	margin-bottom: 20px;
}

.modal-body ul li {
	margin-bottom: 8px;
}

.modal .upload-area {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #ddd;
	text-align: center;
} 
.modal .upload-area label {
	position: relative;
}

.modal .upload-area input[type="file"] {
	display: none;
}


/* ARBEITSSICHERHEITSKURSE MODAL */

#arbeitssicherheit_upload_container {
	width: 100%;
	max-width: 700px;
	margin: 0 auto;
}

.arbeitssicherheit-upload-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 10px;
	align-items: center;
	justify-content: center;
}

.arbeitssicherheit-upload-row:last-child {
	margin-bottom: 0;
}

.arbeitssicherheit_select,
.arbeitssicherheit_year {
	flex: 1;
	min-width: 150px;
}

.arbeitssicherheit_file_label {
	flex: 1;
	min-width: 150px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
    margin: 0;
    position: relative;
}

.arbeitssicherheit_file_label.disabled {
	background-color: #e3e3e3 !important;
	color: #999 !important;
	cursor: not-allowed !important;
	opacity: 0.6;
	border-color: #ccc !important;
}

.arbeitssicherheit_file_label.disabled:hover {
	transform: none !important;
}

.arbeitssicherheit_file_label.upload-success {
	cursor: pointer;
}

.arbeitssicherheit_file_label.deleting {
	opacity: 0.5;
	pointer-events: none;
}

@media (max-width: 650px) {
	.arbeitssicherheit-upload-row {
		flex-direction: column;
		align-items: stretch;
	}
	
	.arbeitssicherheit_select,
	.arbeitssicherheit_year,
	.arbeitssicherheit_file_label {
		min-width: 100%;
		width: 100%;
	}
}

