@charset "utf-8";
@import "/lib/bootstrap/css/bootstrap.min.css";
@import "/lib/fonts/font-awesome/css/font-awesome.min.css";

* {
    font-weight: normal;
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

html,
body {
    position: relative;
    display: block;
    top: 0;
    width: 100%;
    height: 100%;
    font-size: 100%;
    line-height: 140%;
    vertical-align: top;
}

body {
    background: rgba(255, 255, 255, 1);
    color: rgba(20, 20, 20, 1);
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-size: 100%;
    line-height: 150%;
}

.logbox {
    position: relative;
    margin-top: 20px;
    margin: auto;
    width: 350px;
    text-align: center;
    border: rgba(20, 20, 20, 1) 1px solid;
    border-radius: 5px;
    padding: 5px;
}

.input-group {
    margin: 10px;
}

.input-group-addon {
    min-width: 105px;
}

.buttonok {
    background: rgba(39, 106, 134, 1);
    color: rgba(255, 255, 255, 1);
    padding: 5px;
}

.eintrag {
    position: relative;
    margin-top: 20px;
    margin: auto;
    width: 350px;
    text-align: center;
    border: rgba(20, 20, 20, 1) 1px solid;
    border-radius: 5px;
    padding: 5px;

}

.eintrag button {
    background-color: rgba(39, 106, 134, 1);
    color: rgba(255, 255, 255, 1);
    padding: 5px;
}

.badbutton {
    background-color: rgb(141, 9, 9);
    color: rgba(255, 255, 255, 1);
    padding: 5px;
}

table,
tr,
th,
td {
    border: rgba(20, 20, 20, 1) 1px solid;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
}

.card {
    background: white;
    padding: 20px;
    margin: 20px auto;
    border-radius: 10px;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card2 {
    background: white;
    padding: 20px;
    margin: 20px auto;
    border-radius: 10px;
    max-width: 800px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form .input {
    width: 95%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.btn {
    background: #007BFF;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 6px;
    width: 95%;
    cursor: pointer;
    transition: background 0.3s;
}

.btnr {
    background: #c40303ff;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 6px;
    width: 95%;
    cursor: pointer;
    transition: background 0.3s;
}

.btnregister {
    background: #007BFF;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 6px;
    width: 98%;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background: #0056b3;
}

.btnr:hover {
    background: #910808ff;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.table th,
.table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.table th {
    background: #007BFF;
    color: white;
}

#Systemmeldung,
.meldung,
#Warnmeldung {
    position: fixed;
    top: 1px;
    left: 1px;
    right: 1px;
    z-index: 999;
    display: block;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 1);
    color: rgba(39, 106, 134, 1);
    text-align: center;
    margin: 0 auto;
    padding: 0;
    border: 0;
    height: 0;
    font-size: 1.0rem;
    line-height: 140%;
    overflow: hidden;
    box-shadow: rgba(20, 20, 20, 1) 1px 1px 3px;
    animation-name: hoehe;
    animation-duration: 5.0s;
    animation-iteration-count: 1;
    animation-timing-function: ease-out
}

#Systemmeldung span {
    display: block;
    font-size: 1.1rem
}

@keyframes hoehe {
    0% {
        height: 90px;
        padding: 10px;
        border: rgba(20, 20, 20, 1) 1px solid
    }

    95% {
        height: 90px;
        padding: 10px;
        border: rgba(20, 20, 20, 1) 1px solid
    }

    100% {
        height: 0;
        padding: 0;
        border: 0
    }
}
header {
  position: relative;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: block;
  min-height: 100px;
  background: rgba(39,106,134,1);
  color: rgba(255,255,255,1);
  padding: 15px;
}
header .headnav{
position:relative;
top:0;
margin:0 auto;
display:flex;
justify-content:space-between;
align-items:center;
align-content:center;
background:rgba(255,255,255,1);
color:rgba(15,15,15,1);
font-size:16px;
letter-spacing:1px;
padding:5px 15px;
border-radius:15px;
}
.headnav .title,
.headnav nav{
position:relative;
display:inline-block;
max-width:40%;
max-width:40vw;
overflow:hidden;
}
.headnav .title{
color:rgba(60,60,60,1);
display:flex;
justify-content:space-between;
align-items:center;
justify-content:center;
}
.headnav .title img{
max-width:90%;
height:30px;
width:auto;
margin:2px auto 5px 0;
}
.headnav .title i{
font-size:50px;
line-height:50px;
margin-right:20px;
}
.headnav .title div{
display:inline-block;
} 
.headnav .title span{
display:block;
font-size:18px;
line-height:24px;
}
.headnav .title small{
position:relative;
margin:0 auto 0 70px;
display:block;
font-size:10px;
line-height:10px;
text-align:left;
font-family: 'Josefin Sans';
}
.headnav ul{
position:relative;
list-style-type:none;
display:flex;
justify-content:space-between;
align-items:center;
align-content:center;
margin:0;
}
.headnav ul li{position:relative; width:230px; height:34px; margin-right:1px; display:block; box-sizing:border-box; background:rgba(255,255,255,1)}
.headnav ul li ul{position:absolute;top:34px;left:0; z-index:99; box-sizing:border-box; overflow:hidden; width:100%; display:none; min-height:100%}
.headnav ul li:hover .submenu{display:block}
.submenu:hover ul li ul{display:block}
.headnav ul li ul li{ position:relative; border-bottom:rgba(39,106,134,1) 1px solid; width:100%; height:40px; display:block; padding:10px 5px;}
.headnav ul li a, .headnav ul li ul li a{ width:100%; display:block; text-decoration:none; }
.headnav ul li:hover, ul li ul li:hover{ background:rgba(220,220,220,1) }
.headnav ul li i{
font-size:24px;
line-height:24px;
margin-right:5px;
color:rgba(39,106,134,1);
}
.headnav ul li i:last-of-type{
margin-left:5px;
}
@media(max-width:950px){
.headnav ul li{ width:60px; }
.headnav ul li span{
display:none;
}
}
.headerbg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 0;
    z-index: -1;
    display: block;
    height: 300px;
    background: rgba(39,106,134,1);
}
.main_dash {
  margin-top: 100px;
}

/* Responsive Design */
@media(max-width: 768px) {
    .card, .card2 {
        margin: 10px;
        padding: 15px;
        max-width: 95%;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .input-group-text {
        width: 100%;
        justify-content: center;
        border-radius: 5px 5px 0 0 !important;
    }
    
    .input-group .form-control {
        border-radius: 0 0 5px 5px !important;
    }
    
    .btn, .btnr, .btnregister {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .card2 {
        overflow-x: auto;
    }
    
    .table {
        min-width: 600px;
        font-size: 14px;
    }
    
    .table th, .table td {
        padding: 8px 5px;
    }

    header {
        min-height: 80px;
        padding: 10px;
    }
    
    .headnav {
        flex-direction: column;
        padding: 10px !important;
    }
    
    .headnav .title {
        max-width: 100%;
        margin-bottom: 10px;
    }
    
    .headnav nav {
        max-width: 100%;
        width: 100%;
    }
    
    .headnav ul {
        width: 100%;
        justify-content: space-around;
    }
    
    .headnav ul li {
        width: 50px;
        font-size: 12px;
    }
    
    .headnav ul li i {
        font-size: 18px;
    }
    
    .logbox, .eintrag {
        width: 95%;
        margin: 10px auto;
    }
    
    .main_dash {
        margin-top: 140px;
    }
}

@media(max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    .card h1, .card2 h1 {
        font-size: 22px;
    }
    
    .card h2, .card2 h2 {
        font-size: 18px;
    }
    
    .headnav ul li {
        width: 45px;
    }
    
    .headnav .title span {
        font-size: 14px;
    }
    
    .headnav .title small {
        font-size: 8px;
        margin-left: 50px;
    }
    
    .headnav .title i {
        font-size: 35px;
        margin-right: 10px;
    }
    
    .table {
        font-size: 12px;
    }
    
    .card form button[type='submit'] {
        font-size: 14px;
        padding: 12px 20px;
    }
}

@media(min-width: 769px) and (max-width: 1024px) {
    .card {
        max-width: 500px;
    }
    
    .card2 {
        max-width: 90%;
    }
    
    .headnav ul li {
        width: 180px;
    }
}