@font-face {
    font-family: 'FontAwesome';
    src: url('../fontawesome/webfonts/fa-regular-400.woff2') format('truetype');
}

/* poppins-200 - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/poppins/poppins-v15-latin-200.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/poppins/poppins-v15-latin-200.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/poppins/poppins-v15-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/poppins/poppins-v15-latin-200.woff') format('woff'), /* Modern Browsers */
       url('../fonts/poppins/poppins-v15-latin-200.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/poppins/poppins-v15-latin-200.svg#Poppins') format('svg'); /* Legacy iOS */
}

/* poppins-300 - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/poppins/poppins-v15-latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/poppins/poppins-v15-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/poppins/poppins-v15-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/poppins/poppins-v15-latin-300.woff') format('woff'), /* Modern Browsers */
       url('../fonts/poppins/poppins-v15-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/poppins/poppins-v15-latin-300.svg#Poppins') format('svg'); /* Legacy iOS */
}

/* poppins-regular - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins/poppins-v15-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/poppins/poppins-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/poppins/poppins-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/poppins/poppins-v15-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/poppins/poppins-v15-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/poppins/poppins-v15-latin-regular.svg#Poppins') format('svg'); /* Legacy iOS */
}

/* poppins-500 - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/poppins/poppins-v15-latin-500.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/poppins/poppins-v15-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/poppins/poppins-v15-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/poppins/poppins-v15-latin-500.woff') format('woff'), /* Modern Browsers */
       url('../fonts/poppins/poppins-v15-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/poppins/poppins-v15-latin-500.svg#Poppins') format('svg'); /* Legacy iOS */
}

/* poppins-600 - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/poppins/poppins-v15-latin-600.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/poppins/poppins-v15-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/poppins/poppins-v15-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/poppins/poppins-v15-latin-600.woff') format('woff'), /* Modern Browsers */
       url('../fonts/poppins/poppins-v15-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/poppins/poppins-v15-latin-600.svg#Poppins') format('svg'); /* Legacy iOS */
}

/* poppins-700 - latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/poppins/poppins-v15-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/poppins/poppins-v15-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/poppins/poppins-v15-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/poppins/poppins-v15-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/poppins/poppins-v15-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/poppins/poppins-v15-latin-700.svg#Poppins') format('svg'); /* Legacy iOS */
}

/* lobster-regular - latin */
@font-face {
  font-family: 'Lobster';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lobster/lobster-v23-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lobster/lobster-v23-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lobster/lobster-v23-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lobster/lobster-v23-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lobster/lobster-v23-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lobster/lobster-v23-latin-regular.svg#Lobster') format('svg'); /* Legacy iOS */
}

/* lato-300 - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/lato/lato-v23-latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lato/lato-v23-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lato/lato-v23-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lato/lato-v23-latin-300.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lato/lato-v23-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lato/lato-v23-latin-300.svg#Lato') format('svg'); /* Legacy iOS */
}

/* lato-regular - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lato/lato-v23-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lato/lato-v23-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lato/lato-v23-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lato/lato-v23-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lato/lato-v23-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lato/lato-v23-latin-regular.svg#Lato') format('svg'); /* Legacy iOS */
}

/* lato-italic - latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/lato/lato-v23-latin-italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lato/lato-v23-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lato/lato-v23-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lato/lato-v23-latin-italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lato/lato-v23-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lato/lato-v23-latin-italic.svg#Lato') format('svg'); /* Legacy iOS */
}

/* lato-700 - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/lato/lato-v23-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lato/lato-v23-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lato/lato-v23-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lato/lato-v23-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lato/lato-v23-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lato/lato-v23-latin-700.svg#Lato') format('svg'); /* Legacy iOS */
}

/* open-sans-300 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/open_sans/open-sans-v29-latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/open_sans/open-sans-v29-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open_sans/open-sans-v29-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open_sans/open-sans-v29-latin-300.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open_sans/open-sans-v29-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open_sans/open-sans-v29-latin-300.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open_sans/open-sans-v29-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/open_sans/open-sans-v29-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open_sans/open-sans-v29-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open_sans/open-sans-v29-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open_sans/open-sans-v29-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open_sans/open-sans-v29-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-600 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/open_sans/open-sans-v29-latin-600.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/open_sans/open-sans-v29-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open_sans/open-sans-v29-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open_sans/open-sans-v29-latin-600.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open_sans/open-sans-v29-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open_sans/open-sans-v29-latin-600.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-300italic - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/open_sans/open-sans-v29-latin-300italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/open_sans/open-sans-v29-latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open_sans/open-sans-v29-latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open_sans/open-sans-v29-latin-300italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open_sans/open-sans-v29-latin-300italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open_sans/open-sans-v29-latin-300italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-italic - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/open_sans/open-sans-v29-latin-italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/open_sans/open-sans-v29-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open_sans/open-sans-v29-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open_sans/open-sans-v29-latin-italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open_sans/open-sans-v29-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open_sans/open-sans-v29-latin-italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-600italic - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/open_sans/open-sans-v29-latin-600italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/open_sans/open-sans-v29-latin-600italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open_sans/open-sans-v29-latin-600italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open_sans/open-sans-v29-latin-600italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open_sans/open-sans-v29-latin-600italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open_sans/open-sans-v29-latin-600italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/*
    basic.css
*/
:root{
    
    /*Colors*/
    --black: #000;
    --white: #fff;
    --green: #4ebc55;
    --orange: #ff7700;
    --red: #d62246;
    
    --error-color: #d62246;
    --valid-color: #4ebc55;
    
    /*Shadows*/
    --shadow-navigation: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    --shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    --shadow-hover: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    
    /*Formular*/
    --formular-field-border: solid 1px #00000010;
    --formular-field-border-focus: solid 1px #000000FF;
    --formular-field-border-error: solid 1px #d62246;
    --formular-field-background-color: #f8f9fa;
    
    /*table*/
    --table-row-hover: #f2f2f2;
    
}

*{
    box-sizing: border-box;
}

.dark{
    /*Colors*/
    --black: #777;
    --white: #333;
    
    /*Formular*/
    --formular-field-border: solid 1px #777;
    --formular-field-background-color: #444;
    
    /*Shadows*/
    --shadow-navigation: rgba(255, 255, 255, 0.1) 0px 1px 3px 0px, rgba(255, 255, 255, 0.06) 0px 1px 2px 0px;
    --shadow: rgba(255, 255, 255, 0.1) 0px 1px 3px 0px, rgba(255, 255, 255, 0.06) 0px 1px 2px 0px;
    --shadow-hover: rgba(255, 255, 255, 0.3) 0px 1px 2px 0px, rgba(255, 255, 255, 0.15) 0px 2px 6px 2px;
    
    /*table*/
    --table-row-hover: #555;
    
}

body{
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--black);
}

.main-wrapper{
    padding: 1rem;
}

.main{
    display: flex;
    flex-direction: column;
    flex: 1;
}

/*
    Buttons
*/
.button{
    display: inline;
    padding: 0.5rem 1rem;
    border-radius: 0.3rem;
    cursor: pointer;
}
.button a{
    text-decoration: none;
    display: inline;
}


/* 
    flexbox-row-column
*/
.flexbox-row{
    display: flex;
    flex-wrap: wrap;
    font-family: 'Open Sans';
}
.flexbox-column{
    flex: 1;
}
.flexbox-column:last-child{
    flex: 1;
    text-align: right;
}

/* 
    child-banner 
*/
.child-link{
    text-decoration: none;
    color: #000;
}
.child-header{
    text-align: center;
    padding: 1rem;
    font-size: 1.2rem;
}

/* 
    childOverview
*/
.select-wrapper{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.select-button{
    background: none;
    border-radius: 0.3rem;
    box-shadow: var(--shadow);   
}
.select-button a{
    display: block;
    text-decoration: none;
    text-align: center;
    padding: 1rem;
    color: var(--black);
    border-radius: 0.3rem;
}
.select-button a:hover{
    box-shadow: var(--shadow-hover);
}

/*
    buttons.css
*/
.btn-update,
.btn-delete,
.btn-save,
.btn-details{
    background: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 0.3rem;
    transition: 0.5s;
    align-self: flex-start;
    text-decoration: none;
}
.btn-save{
    color: var(--green);
    border: solid 1px var(--green);
}
.btn-save:hover{
    background: var(--green);
    color: var(--white);
}

.btn-update{
    color: var(--orange); 
    border: solid 1px var(--orange);   
}
.btn-update:hover{
    background: var(--orange);
    color: var(--white);
}

.btn-delete{
    color: var(--red) !important; 
    border: solid 1px var(--red) !important;   
}
.btn-delete:hover{
    background: var(--red) !important;
    color: var(--white) !important;
}

.btn-details{
    color: var(--black) !important; 
    border: solid 1px var(--black) !important;   
}
.btn-details:hover{
    background: var(--black) !important;
    color: var(--white) !important;
}

/* 
    navigation.css
*/
header {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 0;
    background-color: var(--white);
    z-index: 100;
}
nav{
  
}
nav ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    padding: 0;
    margin: 0;
}
nav ul li{
    list-style-type: none;
}
nav a {
    display: inline-block;
    text-decoration: none;
    color: var(--black);
    padding: 1rem; 
}
nav a:link{
    color: var(--font-color);
}
nav a:visited{
    color: var(--font-color);
}
nav a:hover {
    color: var(--font-color);
    text-decoration: underline;
}
nav a:active { 
    color: var(--font-color);
}
nav a:focus{
    color: var(--font-color);
}
.active{
    text-decoration: underline;
}

#nav_toggle{
    display: none;
}

#nav-wrapper{
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    background-color: var(--white);
}

#nav-start{
    display: flex;
}

#brand{
    display: flex;
}
#brand a{
    text-decoration: none;
}

#light-dark{
    cursor: pointer;
}

.nav-scroll{
    background-color: #ffffff;
    transition: .5s;
    box-shadow: var(--shadow-navigation);
}
nav.nav-scroll a{
    color: var(--black);
}

@media (max-width: 992px){
    #nav-wrapper{
        padding: 0;
    }    
    nav ul{
       position: absolute;
       flex-direction: column;
       top: -400%;
       left: 0;
       z-index: -1;
       transition: 1s;
       background-color: var(--white);
       
       width: 100%;
    }
    #nav_toggle{
        display: inline-block;
        cursor: pointer;
    }
    nav ul li{

    }
    #nav-start{
        flex-direction: column;
    }
    nav.nav-active ul{
        width: 100%;
        top: 100%;
        transition: 1s;
        box-shadow: var(--shadow-navigation);
    }
    nav.nav-active ul li{
        display: inline-block;  
    }
    nav.nav-active ul li a{
        width: 100%; 
        color: var(--black);
    }
}

/* 
    index.css
*/
.site-title{
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap; 
    gap: 1rem;  
    padding: 1rem;
    margin: 0;
}

.site-title article{
    max-width: 500px;
    text-align: justify;
}

#headline{
    width: 100%;
    max-width: 500px; 
    white-space: nowrap;
    font-family: 'Lobster';
}

/*
    info.css
*/
.infobox {
    border: solid 1px #000000;
    color: var(--black);
    padding: 0.5rem;
    margin: 1rem 0;
    border-radius: 0.3rem;
}
.infobox p{
    text-align: center;
}
.infobox a{
    color: #000000;
}
.infobox.correct{
    border: solid 1px var(--valid-color);
    color: var(--valid-color);
}
.infobox.incorrect{
    border: solid 1px var(--error-color);
    color: var(--error-color);
}


.login-info p{
   color: var(--black) !important;
}
.login-info a{
   color: var(--orange) !important;; 
}

/*
    Formular
*/
:root{
    /*Formular*/
    --formular-field-border: solid 1px #00000010;
    --formular-field-border-focus: solid 1px #000000FF;
    --formular-field-border-error: solid 1px #d62246;
    --formular-field-background-color: #f8f9fa; 
    --formular-field-error-color: #d62246;
}

.formular-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
}

.form{
    display: flex;
    flex-direction: column;
    padding: 1rem;
    flex: 0 1 500px;
}

.form h2{
    margin: 0.5rem 0;
}

.form a{
    color: var(--black);
}

.form .formular-field{
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

.form .formular-field input,
.form .formular-field label,
.form .formular-field select,
.form .formular-field textArea,
.form .formular-field button {
   cursor: pointer;
}

.form .formular-field input,
.form .formular-field button,
.form .formular-field select,
.form .formular-field textarea{
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    padding: 0.5rem 1rem;
    border-radius: 0.3rem;
}

.form .formular-field label{ 
    padding-bottom: 0.2rem;
}

.form .formular-field input,
.form .formular-field textarea,
.form .formular-field select
{
    font-family: inherit;
    font-size: inherit;
    background-color: var(--formular-field-background-color);
    border: var(--formular-field-border);
}

.form .formular-field button{
    background: none;
    color: var(--green);
    border: solid 1px var(--green);
    align-self: flex-start;
    transition: 0.5s;
}

.form .formular-field button:hover{
    background-color: var(--green);
    color: var(--white);
}

.form .formular-field a.loeschen{
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.3rem;
    align-self: flex-start;
}

.form .formular-field .formular-error {
    border: var(--formular-field-border-error);
}

.form .formular-field .formular-error-info{
    color: var(--formular-field-error-color);
}

form td:last-child{
    text-align: right; 
}

form th:last-child{
    width: 1%;
}

.form input:focus,
.form textarea:focus{
    outline: none;
    border: var(--formular-field-border-focus);
}

.form input[type=date]{
    width: 100%;
}

/* Checkboxen */
.form [type="checkbox"]{
    display: none;
}
.form [type="checkbox"]:checked + label div::before{
    font-family: 'FontAwesome';
    content: "\f14a";
    color: var(--green);
}			
.form .box::before{
  font-family: 'FontAwesome';
  content: "\f0c8";
  transition: 1s;
}

/* Bezugsperson Einstellungen */
.info{
    opacity: 0;
    padding: 0.5rem 1rem;
    border: solid 0.1rem black;  
    border-radius: 0.3rem;
    transition: 5s;
}
.info.correct{
    opacity: 1;
    color: #FFFFFF;
    background-color: var(--valid-color);
    border-color:  var(--valid-color);
    transition: 1s;
}
.info.incorrect{
    opacity: 1;
    color: #FFFFFF;
    background-color: var(--error-color);
    border-color:  var(--error-color);
    transition: 1s   
}

.formular-wrapper.validation{
    flex-direction: column;
}
.formular-wrapper.validation form{
    width: 100%;
    max-width: 500px;
}

.form.validation input:required:invalid,
.form.validation textarea:required:invalid,
.form.validation select:required:invalid
{
    border-color: red;
}
.form.validation input:focus:invalid,
.form.validation textarea:focus:invalid,
.form.validation select:focus:invalid{
    border-color: orange;
}
.form.validation input:invalid,
.form.validation textarea:invalid,
.form.validation select:invalid{
    border-color: blue;
}
.form.validation input:required:valid,
.form.validation textarea:required:valid,
.form.validation select:required:valid{
    border-color: greenyellow;
}

.form .formular-field .formular-error {
    border: var(--formular-field-border-error) !important;
}

/*
    password_info.css
*/
.password-infos{
    display: flex;
    padding: 1rem;
    background-color: var(--formular-field-background-color);
    border: var(--formular-field-border);
}
.password-infos ul{
    margin: auto;
}
.password-infos ul li{
    list-style: none;
}
.fa-check-circle{
    color: var(--valid-color);
}
.fa-times-circle{
    color: var(--error-color);
}

/*
  cards.css  
*/
.card-wrapper{
    padding: 1rem;
    margin: 0;
    display: flex;
    flex-wrap: wrap; 
    gap: 1rem;
}

.card{
    background: none;
    border-radius: 0.3rem;
    box-shadow: var(--shadow);
    flex: 1 1 300px;
    overflow: hidden;
}

.card.hide{
    display: none;
}

.card:hover{
    box-shadow: var(--shadow-hover);
}

.card a{
    text-decoration: none;
}

.card-title{
    font-size: 1.5rem;
    padding: 0.75rem 1rem;
}

.card-grid{
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    padding: 1rem;
}

.card-grid div{
    padding: 0.2rem 0;
}

.card-grid div:nth-child(odd){
    font-weight: 700;
}

.card-action{
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem;
}

/* 
    Card-Child
*/
.card.child .card-layer{
    position: absolute;
    left: 0;
    top: 0;
    padding: 0;
    width: 100%;
    height: 0%;
    z-index: -1;
    transition: 1s;
}

.card.child:hover .card-layer{
    height: 100%;
}

/* 
    breastfeed_live.css
*/
.breastfeed .main-wrapper{

}

.breastfeed .flexbox-wrapper{
    display: flex;
    flex-direction: column;
}

.breastfeed .breastfeed-hidden{
    display: none;
}

.breastfeed-overview{
    padding: 0.5rem 0;
}

.breastfeed .breastfeed-details{
    display: none;
    padding: 0.5rem 0;
}

.breastfeed .show-details{
    display: block;
}

.breastfeed .breastfeed-details-button,
.breastfeed #reactivateButton{
    background-color: #fff;
    color: #000;
    border: solid 1px #000;
    border-radius: 0.3rem;
    padding: 0.25rem 0.75rem;
    font-family: inherit;
    font-size: 0.8rem;
    transition: 0.5s;
}

.breastfeed .breastfeed-details-button:hover,
.breastfeed #reactivateButton:hover{
    background-color: #000;
    color: #fff;    
}

.breastfeed .flexbox-row{
    display: flex;
    flex-wrap: wrap;
}

.breastfeed .flexbox-column{
    flex: 1;
}

.breastfeed .flexbox-column:last-child{
    flex: 1;
    text-align: right;
}

#stopwatch .controls{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#stopwatch [id*="Button"]{
    cursor: pointer;
}

#stopwatch .controls .button-wrapper{
    font-size: 2rem;
    color: var(--black);
    text-align: center;
}

#stopwatch .controls .button-wrapper #pauseButton{
    display: none;
}

#stopwatch .display-wrapper{
    text-align: center;
    font-size: 2rem;
}

/*
    Stillen-anzeigen CSS
*/
.stillen-anzeigen-wrapper{
    width: min(100%, 500px);
    margin-inline: auto;
}
.breastfeed-container-show .card{
    padding: 1rem;
    margin: 1rem 0;
    background: none;
    border-radius: 0.3rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.breastfeed-container-show .card:hover{
    box-shadow: var(--shadow-hover);
}
.breastfeed-container-show .hide{
    display: none;
}
.breastfeed-container-show .infos div{
    display: flex;
    justify-content: space-between;
}
.breastfeed-container-show .breastfeed-subentry{
    padding: 0.5rem 0;
}
.stillen-untereintrag .number{
    border-bottom: solid 1px var(--black);
}
.breastfeed-container-show ._delete{
    animation-name: __delete;
    animation-direction: normal;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}
.breastfeed-container-show .action-entry{
    margin: 0.5rem 0;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}
.breastfeed-container-show .action-subentry{
    margin: 0.5rem 0;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}
@keyframes __delete{
    0% { opacity: 1;}
    100% {opacity: 0;}
}

.freitextsuchfeld{
    display: flex;
    flex-direction: column;
    padding: 1rem 0;            
}
.freitextsuchfeld input{
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    padding: 0.5rem 1rem;
    border-radius: 0.3rem;     
    background-color: var(--formular-field-background-color);
    border: var(--formular-field-border);            
}
.freitextsuchfeld label{
    padding-bottom: 0.2rem;
    cursor: pointer;
}
.freitextsuchfeld input:focus{
    outline: none;
    border: var(--formular-field-border-focus);
}

/*
breastfeed_distance.css
*/
.breastfeed-distance{
    display: flex;
    box-shadow: var(--shadow);
    border-radius: 3px;
    margin: 0.5rem 0;
}
.breastfeed-distance:hover{
    box-shadow: var(--shadow-hover);
}
.breastfeed-distance .breastfeed-time{
    flex: 1;
    padding: 0.25rem;
}
.breastfeed-distance .distance{
    flex: 1;
}
.breastfeed-distance .percent{
    display: flex;
    align-items: center;
    height: 100%;
}

/*
    modal.css
*/
.modal-wrapper{
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;				
        background-color: #00000090;
        width: 100vw;
        height: 100vh;
        animation-name: modal---open;
        animation-duration: 0.5s;
        animation-fill-mode: forward;
        z-index: 100;
}
.modal{
        box-sizing: border-box;
        display: flex;
        flex-direction: column;			
        width: 100%;
        max-width: 600px;
        background: var(--white);
        margin: 1rem;
        overflow: hidden;
        border-radius: 0.3rem;
        box-shadow: var(--shadow);
}
.modal-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    padding: 0.75rem 1rem;
}
.modal-content{
    padding: 1rem;
}
.modal-buttons{
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin: 1rem;
}
button{
    font-size: inherit;
    padding: 0.5rem 1rem;
    border-radius: 0.3rem;
    border: solid 0.1rem var(--black);
    cursor: pointer;    
    transition: 0.5s;
}
button.modal-button-loeschen{
    background-color: var(--white);
    color: var(--error-color);
    border-color: var(--error-color);
}
button.modal-button-loeschen:hover{
    background-color: var(--error-color);
    color:  var(--white);
}
.modal-button-abbrechen{
    background-color: var(--white);
    color: var(--black);   
}
.modal-button-abbrechen:hover{
    background-color: var(--black);
    color: var(--white);
}
.modal-close-button{
    cursor: pointer;
}
.modal-close-button:hover{
    color: var(--white);
}
.modal-close{
        animation-name: modal---close;
        animation-duration: 0.5s;
        animation-fill-mode: forward;
}
.modal-loeschen{
    background-color: var(--error-color);
}

@keyframes modal---open{
        from{opacity: 0}
        to {opacity: 1}
}

@keyframes modal---close{
        from{opacity: 1}
        to {opacity: 0}
}

/* 
    update_modal.css
*/
#modal_update_wrapper{
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;				
    background-color: #00000090;
    width: 100vw;
    height: 100vh;
    z-index: 100;          
}
#modal_update_wrapper.hide{
    display: none;
}

#modal_update{
    box-sizing: border-box;
    display: flex;
    flex-direction: column;			
    width: 100%;
    max-width: 500px;
    background: var(--white);
    margin: 1rem;
    overflow: hidden;
    border-radius: 0.3rem;
    box-shadow: var(--shadow);
}
#modal_update .modal-update-formular-wrapper{
    background: var(--white);
    overflow-y: auto;
}

.modal-update-formular-wrapper form{
    display: flex;
    flex-direction: column;
    padding: 1rem;
    margin: 1rem;
    flex: 0 1 500px;    
}
#modal_update_header{
    display: flex;
    justify-content: space-between; 
    align-items: center;
    border-bottom: solid 1px #000;
    padding: 0 1rem;
    background-color: var(--orange);
}
#modal_update_info{
    padding: 0.5rem 1rem;
    display: none;
    text-align: center;
    border-bottom: solid 1px #000;
}
#modal_update_info.correct{
    display: block;
    background: var(--valid-color);
}
#modal_update_info.incorrect{
    background: var(--error-color);
    display: block;
}
#modal_update_close{
    font-size: 1.5rem;
    cursor: pointer;
}
#modal_update_close:hover{
    color: var(--white);
}

/*
    Table.css
*/
table{
    width: 100%;
    border-collapse: collapse;
}
th{
    text-align: left;
    background-color: var(--white);
    overflow: hidden;
}
th, td{
    border-bottom: solid 1px var(--black);
    padding: 0.25rem;
}
tr:hover {
    background-color: var(--table-row-hover);
}


.table tr.hide,
.hide td,
.hide div{
    display: none;
}

.table .flexbox-column{
    text-align: left;
}
.table td:last-child{
    width: 0px;
}
.table .header{
    display: none;
    font-weight: 700;
}
.table a{
    color: inherit;
    text-decoration: none;
}

.table .flexbox-column:last-child.action{
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: center;
}
.table .flexbox-column:last-child.action .btn-update,
.table .flexbox-column:last-child.action .btn-delete{
    align-self: stretch;
}  
@media (max-width: 768px){
    .table thead{
        display: none;
    }
    .table td,
    .table tbody,
    .table tr,
    .table.td{
        display: block;
    }
    .table tr{
        border-radius: 0.3rem;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
        flex: 1 1 300px;
        margin-bottom: 1rem;
        padding: 0.5rem;
    }
    .table td{
        text-align: left;
        border: none;
    }
    .table .header{
        display: block;
    }
    .table .hide{
        margin-bottom: 0 !important;
    }
    
    .table td:last-child{
        width: auto;
    }    

    .table .flexbox-column:last-child{
        margin: 0;
        flex: 1;
        text-align: right;
    }   
    
    .table tr.hide{
        display: none;
    }
    .table .aktion .loeschen{
    margin-left: 0.25rem !important;
    }
}

/* 
Stillen Tabelle
*/
.eltern_reihe{
   background-color: lightgrey; 
   margin-top: 1rem;
   cursor: pointer;
}
.eltern_reihe:first-child{
   margin-top: 0;
}
.kind-reihe-hide{
    display: none;
}
.negativ{
    color: var(--error-color);
}
.positiv{
    color: var(--valid-color);
}

.table ._delete{
    animation-name: __delete;
    animation-direction: normal;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes __delete{
    0% { opacity: 1;}
    100% {opacity: 0;}
}

/* 
    relationship.css
*/
.rights_table tr,
.rights_table th,
.rights_table td{
    border: none;  
}
.rights_table th{
    cursor: pointer;
}   
.rights_row thead th{
   vertical-align: bottom;
}
.rights_column{
    writing-mode: vertical-lr;
}

/*
    impressum_privacy_statement.css
*/
label input{
    margin-left: 0;
}
.section-privcay-statement,
.section-impressum{
    padding-left: clamp(0rem, 5vw, 10rem);
    padding-right: clamp(0rem, 5vw, 10rem);
}
.section-privcay-statement a{
    color: var(--black);
}
.section-impressum{
    flex: 1;
}

/* 
    Card-Statistik 
*/
.card.statistik{
    flex: 1 1 500px;
}

.statistik-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
}

.flexbox-statistik{
    display: flex;
    flex-direction: column;
    padding: 1rem;
    flex: 0 1 500px;
}

#balkendiagramm{
    display: flex;
    justify-content: space-around;
    align-items: flex-end;  
    height: 310px;
    border-bottom: solid 1px var(--black);
}

.balken-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 300px;
}

.balken{
    width: 50px;
    text-align: center;
    border: solid 1px var(--black);
    border-radius: 0.3rem;
    box-shadow: var(--shadow);
   
}

.balken-zahl{
    text-align: center;
}

#windelwechsler,
#windeleintraege,
#stilleneintraege,
#stillenzusammenfassung,
#stillendiagramm,
#flaeschcheneintraege,
#flaeschchengeber,
#flaeschchenzusammenfassung,
#wiegeneintraege,
#messeneintraege{
    padding: 1rem;
}
@media (max-width: 768px){
    #windelwechsler,
    #windeleintraege,
    #stilleneintraege,
    #stillenzusammenfassung,
    #stillendiagramm,
    #flaeschcheneintraege,
    #flaeschchengeber,
    #flaeschchenzusammenfassung,
    #wiegeneintraege{
        padding: 0rem;
    }
    .card.statistik{
        border-radius: 0;
        box-shadow: none;
    }
    .card.statistik:hover{
        box-shadow: none;
    }
}

/*
    footer.css
*/
footer{
    box-sizing: border-box;
    background-color: var(--white);
    padding: 0 1rem;
    font-size: 1rem;
}
footer ul{
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    float: right;
}
footer ul li{
    list-style: none;
}
footer ul a{
    display: inline-block;
    text-decoration: none;
    padding: 1rem;
    color: var(--black); 
}
footer ul a:visited{
    color: var(--black);
}
footer ul a:hover{
    color: var(--black);
    text-decoration: underline;
}
footer ul a:focus{
    color: var(--black);
}
footer ul a:active{
    color: var(--black);
}

/*
    chart.css
*/
:root{
    /*Formular*/
    --formular-field-border: solid 1px #00000010;
    --formular-field-border-focus: solid 1px #000000FF;
    --formular-field-border-error: solid 1px #d62246;
    --formular-field-background-color: #f8f9fa; 
    --formular-field-error-color: #d62246;
}

.formular-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-statistics{
    display: flex;
    flex-direction: column;
    flex: 0 1 500px;
}

.form-statistics h2{
    margin: 0.5rem 0;
}

.form-statistics a{
    color: var(--black);
}

.form-statistics .formular-field{
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
}

.form-statistics .formular-field input,
.form-statistics .formular-field label,
.form-statistics .formular-field select,
.form-statistics .formular-field textArea,
.form-statistics .formular-field button {
   cursor: pointer;
}

.form-statistics .formular-field input,
.form-statistics .formular-field button,
.form-statistics .formular-field select,
.form-statistics .formular-field textarea{
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    padding: 0.25rem 0.5rem;
    border-radius: 0.3rem;
}

.form-statistics .formular-field label{ 
    padding-bottom: 0.2rem;
}

.form-statistics .formular-field input,
.form-statistics .formular-field textarea,
.form-statistics .formular-field select
{
    font-family: inherit;
    font-size: inherit;
    background-color: var(--formular-field-background-color);
    border: var(--formular-field-border);
}

.form-statistics .formular-field button{
    background: none;
    color: var(--green);
    border: solid 1px var(--green);
    align-self: flex-start;
    transition: 0.5s;
}

.form-statistics .formular-field button:hover{
    background-color: var(--green);
    color: var(--white);
}

.form-statistics .formular-field a.loeschen{
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.3rem;
    align-self: flex-start;
}

.form-statistics .formular-field .formular-error {
    border: var(--formular-field-border-error);
}

.form-statistics .formular-field .formular-error-info{
    color: var(--formular-field-error-color);
}

form-statistics td:last-child{
    text-align: right; 
}

form-statistics th:last-child{
    width: 1%;
}

.form-statistics input:focus,
.form-statistics select:focus,
.form-statistics textarea:focus{
    outline: none;
    border: var(--formular-field-border-focus);
}

.form-statistics input[type=date]{
    width: 100%;
}

/*
    chart
*/
.charts-container{
    display: flex;
    align-items: center;
    flex-direction: column;   
    gap: 1rem;
}
.chart-container{
    width: 100%;
    max-width: 500px;
}

    
table.chart-legend,
table.diaper-changer{
    font-family: "Open Sans";
    font-size: 0.8rem;
}

table.diaper-changer{
    margin-top: 1rem;
}

.numeric{
    text-align: right;
}

/*
    timeline.css
*/
#timeline-wrapper{
    box-sizing: border-box;
    width: 100%;
    max-width: 500px;
    margin: auto;
    font-family: "Open Sans";
}
#timeline{
    display: grid;    
    grid-template-columns: min-content min-content min-content auto;
    row-gap: 1.5rem;
    padding: 1rem;
    align-items: center;
}
.timeline-signum{

}
.timeline-diff{
    text-align: right;
    white-space: nowrap;
}
.positive{
    color: var(--green);
}
.negative{
    color: var(--red);
}
.timeline-info{
    box-shadow: var(--shadow);
    padding: 1rem;
    border-radius: 0.3rem;
}
.timeline-value{
    font-weight: 700;
    word-wrap: break-word;
}
.timeline-arrow-left {
    width: 0; 
    height: 0; 
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent; 
    border-right: 10px solid var(--black); 
    align-self: center;
    justify-self: end;
    padding-left: 0.5rem;
}
.timeline-no-entries{
    padding: 1rem;
    text-align: center;
}

@media ( max-width: 360px ) { 
    #timeline{
       font-size: 0.8rem;
    }
}  

@media ( max-width: 300px ) { 
    #timeline{
        grid-template-columns: min-content auto;
    }
}       