body {
    font-family: Arial, sans-serif;
    margin: 0px;
    min-width: 300px;
}

.bodyDashboard{
    position: absolute;
    max-width: 300px;
    right: 24px;
    bottom: 24px;

}

#MainContent {
    /* #größeNAV */
    margin-left: 420px;
    flex-grow: 1;
    padding: 20px;
    transition: margin-left 0.3s ease; /* Übergang für den Inhalt */
    width: -webkit-fill-available;
}

.container {
    display: flex;
    width: 100%;
    }
    

.header{
    display: flex;
    align-items: center;
}

#headerLogout {
    position: absolute;
    right: 24px;
    width: 120px;
    text-align: right;
}

.log {
    width: 120px;
    height: 20px;
}

footer{
    text-align: right;
    bottom: 0;
    right: 24px;
}

/* Verlinkungen */

a{
    color: #777777;
}

a:hover{
    opacity: 0.5;
}


/* Button */
button{
    background-color: white;
    border: solid 2px black;
    border-radius: 6px;
    font-size: 14px;
    margin: 8px 0;
    height: 36px;
    padding: 0 12px
}

button:hover{
    opacity: 0.7;
}

.prmBtn{
    color: white;
    background-color: black;
    min-width: 200px;
    transition: ease 0.3s;
}

.prmBtn:hover{
    background-color: rgba(0, 0, 0, 0.75);
}

.sekBtn{
    min-width: 200px;
    transition: ease 0.3s;
}

.sekBtn:hover{
    background-color: rgba(0, 0, 0, 0.15);
}

label{
    font-size: 12px;
    font-weight: 900;
    color: black;
    padding-left: 4px;
    padding-right: 4px;
    background: #fff;
    top: 9px;
    left: 8px;
    position:relative;
    z-index: 5;

}

/* Input */
input{
    height: 18px;
    font-size: 14px;
    padding: 6px 8px;
    border: solid 2px black;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    margin-bottom:8px;
    width: -webkit-fill-available;
}

input:hover{
    opacity: 0.7;
}

/* select */
.select-style{ 
    height: 24px;
    padding: 6px 8px;
    border: solid 2px black;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    margin-bottom:8px;
    width: -webkit-fill-available;
}

.select-style:hover{
    opacity: 0.7;
}

select{ 
    height: 42px;
    padding: 6px 8px;
    border: solid 2px black;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    margin-bottom:8px;
    width: -webkit-fill-available;
}

select:hover{
    opacity: 0.7;
}
input[list] {
    border: 1px solid #aaa;
    border-radius: 4px;
    padding: 8px;
    background-color: white;
    font-size: 14px;
    appearance: none;
}
input[list] {
    background-image: url('data:image/svg+xml;utf8,<svg fill="gray" height="12" viewBox="0 0 20 20" width="12" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 12px;
    padding-right: 30px; /* Platz für Icon */
}


option{
    font-size: 20px;
    height: 24px;
}

#content{
    height: 300px;
    overflow-y: auto;
    font-size: 14px;
    padding: 6px 8px;
    border: solid 2px black;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    margin-bottom:8px;
    width: -webkit-fill-available;
}

/* Focus-Einstellung für mehrere Felder */
input:focus-visible, 
button:focus-visible,
#notes:focus-visible,
#content:focus-visible
{
    outline-color: #b0b0b0;
}

/* Img-Darstellung auf den Unterseiten */
img{
    max-width: 200px;
}

svg a{
    text-decoration: underline;
}

/*Checkbox im Rich-TEXT*/
.editable-checkbox{
    width: 16px;
    height: 16px;
    margin:0;
    margin-right: 8px;
    position: relative;
    top: 3px;
    accent-color: black;
}

/*Checkbox Link einfügen*/
#isRealLink{
    width: 16px;
    height: 16px;
    margin:0;
    margin-right: 8px;
    position: relative;
    top: 3px;
    accent-color: black;
}

/*Unerline für Rich-Text-Link*/
.underline-text {
    text-decoration: underline;
  }

/*flash messages */
.flash-messages {
    margin-top: 8px;
    right: 10px;
    z-index: 1000;
    text-align: right;
}

.alert {
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
