/* DAT CSS */



body {
    -webkit-font-smoothing: antialiased;
    min-height: 100vh; 
    margin: 0; 
    background-image: url('../images/dat-background.jpg');
    background-repeat: repeat-x;
    background-position: top center;
    background-attachment: scroll;
    display: flex; /* Verwenden Sie Flexbox */
    flex-direction: column; /* Kinder in vertikaler Reihenfolge anordnen */
}


.main-container {
     flex: 1;
    padding-right: 100px;
    padding-top: 30px;
    padding-bottom: 50px;
}


#mainContent {
    flex: 1; 
    margin-top: 220px;
    margin-left: 200px;
    background: #F5F5F5;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 30px;
    padding-bottom: 30px;
    border: 2px solid #103366;
}

#mainContentText {
    flex: 1; 
    margin-top: 220px;
    margin-left: 200px;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 30px;
    padding-bottom: 30px;

}


/* Head */

#logo {
    position: absolute;
    top: 62px;
    left: 200px;
    z-index: 10; 
}


#logo img {
    display: block;
    max-width: 100%; 
}

#logoClaim {
    position: absolute;
    top: 158px; 
    left: calc(200px + 50px + 50px);
    z-index: 10;
}

#logoClaim img {
    display: block;
    max-width: 100%;
}


#linkContainer {
    position: absolute;
    top: 14px;   
    right: 200px;
    z-index: 10;
    padding-right: 10px; 
    font-family: 'FiraSans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    
}

#linkContainer a {
    text-decoration: none;   
    margin-right: 10px;
    color: #ffffff;  
}

#linkContainer a:hover {
    text-decoration: underline;
}




/* Fonts */



/* Fira Regular */
@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/* Fira Bold */
@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* Fira Italic */
@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

p {
    font-family: 'FiraSans', sans-serif;
    font-size: 14px;
    font-weight:normal;
}

h1 {
    font-family: 'FiraSans', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #103366;
}
h2 {
    font-family: 'FiraSans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #103366;
}



/* Formularelemente */


.input-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; 
    margin-top: 20px; 
    margin-bottom: 50px; 
}

.text-input {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #103366;
    border-radius: 5px;
    outline: none;
    transition: border 0.3s;
    flex-basis: 30%; 
    box-sizing: border-box; 
}

.text-input:focus {
    border-color: #103366;
}

.text-input::placeholder {
    color: #aaa;
}

.input-wrapper {
    flex-basis: calc(40% - 10px);
    display: flex;
    flex-direction: column;
}


.input-container-2 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; 
    margin-top: -10px; 
    margin-bottom: 50px; 
}


.input-wrapper-range {
    flex-basis: calc(60% - 10px);
    display: flex;
    flex-direction: row;
    align-items: center; /* zentriert die Elemente vertikal */
    gap: 10px;  /* fügt Abstand zwischen den Elementen hinzu */
    justify-content: flex-start;
    
}

.bis-text {
    margin: 0 10px;  /* Abstand zu den benachbarten Textfeldern */
    align-self: center;  /* zentriert den Text vertikal im Container */
    font-family: 'FiraSans', sans-serif;
    font-size: 14px;
}

.p2 {
    align-self: center;  /* zentriert den Text vertikal im Container */
    font-family: 'FiraSans', sans-serif;
    font-size: 14px;
}






label {
    margin-bottom: 5px;  
    font-family: 'FiraSans', sans-serif;
    font-size: 14px;
}



.radio-container, 
.checkbox-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    align-items: center; 
}

label {
    font-family: 'FiraSans', sans-serif;
    font-size: 14px;
}

/* Style für Radio-Buttons und Checkboxen */

input[type="radio"] {
    margin-right: 10px;
    vertical-align: -2px; /* Wert angepasst für Radio-Buttons */
}

input[type="checkbox"] {
    margin-right: 10px;
    vertical-align: -5px; /* Wert angepasst für Checkboxen */
}





/* Radio- und Checkboxen */
input[type="radio"], 
input[type="checkbox"] {
    appearance: none; 
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: #fff;
    border: 2px solid #103366;
    cursor: pointer;
    margin-right: 5px;
    position: relative;
}

/* Stil für ausgewählte Radio-Buttons */
input[type="radio"]:checked:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #103366;
}

/* Stil für ausgewählte Checkboxen */
input[type="checkbox"]:checked:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #103366;
}



/* Slider Eigenkreation */
.slider-container {
    position: relative;
    width: 80%;
    margin: 35px 0px 25px 20px;
}

.slider-input {
    width: 100%; 
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    height: 15px; 
    background: #ddd; 
    outline: none;
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none; 
    appearance: none;
    width: 20px; 
    height: 20px; 
    background: #103366; 
    cursor: pointer;
}

.slider-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #103366;
    cursor: pointer;
}

.slider-tooltip {
    position: absolute;
    font-size: 12px;
    font-family: 'FiraSans', sans-serif;
    bottom: 25px;  
    left: 0;
    width: 40px;  
    text-align: center;  
    padding: 5px 10px;
    background-color: #103366;
    color: #fff;
    border-radius: 5px;
    white-space: nowrap;
    display: inline-block; 
    pointer-events: none; 
}





.datepicker-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Abstand zwischen den Datepickern */
}

.date-container {
    position: relative;
    width: 200px;
    margin: 10px 0;
}

.date-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'FiraSans', sans-serif;
    box-sizing: border-box;
    outline: none;
    background: #ffffff;
    color: #103366;
}

.date-input:focus {
    border-color: #103366;
}





.button-container {
    display: flex;
    gap: 20px; 
    justify-content: start; 
    margin-top: 50px; 
    margin-bottom: 50px;
}

.custom-button {
    display: inline-block;
    width: 100px;
    height: 40px; 
    background-color: #103366;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-family: 'FiraSans', sans-serif;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    line-height: 40px; 
    cursor: pointer;
    transition: background-color 0.3s ease; 
}




.custom-button:hover {
    background-color: #20477a; 
}
.custom-button-2 {
    width: 180px;
    
}

a.custom-button {
    text-decoration: none;
}




.footer {
    width: 100%;
    background-color: #e4e7eb;
}



.footer-content {
    font-family: 'FiraSans', sans-serif;
    font-size: 12px;
    color: #103366;
    width: 80%;  
    margin: 0 auto;
    line-height: 60px;
    text-align: left; 
}




/* MEDIA */

@media (max-width: 600px) {
    .input-wrapper-range {
        flex-direction: column;
        align-items: flex-start; 
    }

    .bis-text {
        margin: 10px 0; 
    }
}



@media (max-width: 1400px) {
        
    #logo {
        left: 60px;    }
    
    #linkContainer {
       right: 50px;}    
    
    #logoClaim {
    left: calc(60px + 50px + 50px);
        z-index: 10;}
    
        .main-container {
    padding-right: 20px;
}
    #mainContent,
    #mainContentText
    {
        margin-left: 60px;
        width: auto;
    }
    
    
    .input-container-2 {
    margin-top: -10px; 
}
    


}



@media (max-width: 824px) {
    
    .input-container-2 {
    margin-top: 10px; 
}
    
    
}
    
@media (max-width: 600px) {
    #logo {
        left: 30px;    }
    
        #logoClaim {
    left: calc(30px + 50px + 50px);
        z-index: 10;}
    
            #mainContent,
    #mainContentText {
            margin-left: 30px;}

    .radio-container, 
    .checkbox-container {
        flex-direction: column;
        align-items: flex-start;     
}
    
    .radio-container, 
    .checkbox-container {
        justify-content: flex-start; 
    }
    
}





/* Tabelle */




th, td, tr, .hinweisKosten {
    font-family: 'FiraSans', sans-serif;
    font-size: 14px;
    font-weight:normal;
}

.hinweisKosten {
    padding-top: 20px;
}

th {
    background: #103366;
    color: #ffffff;
}





.tblMSuche2 {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* Behält festgelegte Breiten bei, aber kann bei Bedarf angepasst werden */
}

.tblMSuche2 th, .tblMSuche2 td {
    padding: 5px;
    border: 1px solid #AAAAAA;
    text-align: left;
    word-wrap: break-word; /* Stellt sicher, dass der Text in den Zellen umgebrochen wird */
}

@media screen and (max-width: 600px) {
    .tblMSuche2 {
        border: 0;
    }

    .tblMSuche2 thead {
        display: none;
    }

    .tblMSuche2 tr {
        margin-bottom: 10px;
        display: block;
        border-bottom: 2px solid #AAAAAA;
    }

    .tblMSuche2 td {
        display: block;
        text-align: right;
        font-size: 0.8em;
        border-bottom: 1px dotted #AAAAAA;
        text-align: left; /* Stellt sicher, dass der Text linksbündig ist */
        position: relative; /* Wichtig für die Positionierung des Pseudo-Elements */
        padding-left: 50%; /* Gibt Platz für das Pseudo-Element */
    }

    .tblMSuche2 td:before {
        content: attr(data-label); /* Zeigt den Inhalt des data-label-Attributs */
        position: absolute; /* Absolut positioniert im Verhältnis zu seinem Elternelement (td) */
        left: 10px; /* Abstand vom linken Rand der Zelle */
        width: 40%; /* Breite des Pseudo-Elements */
        text-align: left; /* Text linksbündig im Pseudo-Element */
        font-weight: bold; /* Macht den Text fett */
    }
}



