/* Allgemein */

*{
    font-family: 'Arial', sans-serif;
}

body {
    margin: 0;
    padding: 0;
}

h2 {
    margin: 0;
}

/* --------------------------------------------------- */

#content {
    /*max-width: 1320px;*/
    display: none;
    padding: 0;
    margin: 0;
}

.card {
    box-shadow: 0px 0px 20px 0px rgba(76, 87, 125, 0.02);
    border-radius: 0.475rem;
    background-color: white;
    padding: 1.5rem 2.25rem;
}

.card:not(#userProfile) {
    margin-bottom: 3rem;
}

.card-header {
    border-bottom: 1px solid #888;
    margin-bottom: 20px;
    min-height: 50px;
    display: flex;
    align-items: center;
    word-wrap: anywhere;
}

.card-footer {
    background-color: white;
    border-radius: 0 0 0.475rem 0.475rem;
    margin-top: 2rem;
    padding: 0.5rem 1rem;
    border-top: 1px solid #eff2f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 2rem);
}




/* ------------------------ */

#splash {
    display: flex;
    flex-direction: column;
    /* width: 100vw; */
    height: 100vh;
    overflow: hidden;
    z-index: 100;
    justify-content: center;
    align-items: center;
}

/* Nachrichten Fenster + Error nachricht am Anfang falls Api nicht das Objekt liefert */

#message {
    display: none;
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translate(-50%, 0);
    box-shadow: 10px 10px 20px 0px rgba(76, 87, 125, 0.25), -10px -10px 20px 0px rgba(76, 87, 125, 0.25);
    border-radius: 0.475rem;
    width: 15%;
    max-width: 350px;
    min-width: 200px;
    background-color: white;
    padding: 1em 1.5em;
}

#message svg {
    width: 22px;
    height: 22px;
    float: left;
    margin-right: 0.5em;
}

@media only screen and (max-width: 767px) {
    #message {
        width: 83%;
    }
}

#apierror {
    margin: auto;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    height: calc(100vh - 60px);
    margin-bottom: 25px;
    font-size: larger;
    width: calc(100vw - 54px);
    transform: translate(calc((100vw - 1380px) / -2));
}

#apierror svg {
    width: 25px;
    height: 25px;
    align-self: center;
    margin-bottom: 2rem;
}

@media only screen and (max-width: 767px) {
    #apierror {
        transform: translate(0);
        width: calc(100% - 6px);
        margin-bottom: 0px;
        height: calc(100vh - 41px);
    }
}

/*Fehlerbehandlung*/
input:invalid,
select:invalid {
    border: 1px solid red;
}

span.required{
    color: red;
    margin-left: 5px;
}

.has-error {
    text-decoration-line: underline;
    text-decoration-color: #F70023;
}

img.logo {
    width: 450px;
    max-width: 80vw;
    margin: 0 0 50px 0;
    padding: 10px 30px;
}

.align-right-box {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.align-center-box {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

@media only screen and (max-width: 767px) {
    li {
        margin-bottom: 10px;
    }
}

.versionInfo {
    font-size: 0.7rem;
    color: #aaa;
    position: absolute;
    left: 10px;
    top: 10px;
}

/* ------------------------------------------------------------- */

.form-box{
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
    width: fit-content;
    padding-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

input[type="text"]{
    height: 50px;
    font-size: 1.2rem;
}

.btn {
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    border: 0;
    background-color: #009ef7;
    border-radius: 0;
    color: white;
    font-size: larger;
    font-weight: bold;
    cursor: pointer;
}