/* Maincolors */
/* Blau #08327a*/
/* Gelb #efc929*/


@font-face {
    font-display: swap; 
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('includes/roboto-v47-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
body {
    background: linear-gradient(135deg, #08327a 0%, #000 100%);
    background-blend-mode: lighten;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    color: #cfcbcb;
    font-family: Roboto;
    font-size: 15px;
    font-weight: 100;
}
footer {
    text-align: center;
}
#error {
    color: #fff;
    background: red;
    padding: 10px;
    font-weight: bold;
}
#bodywrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#headlogo {
    padding: 1em 4em; 
    width: 80%;
    margin: 40px;
}
.loginlogo {
    width: 25%;
}
#loginwrap {
    background: #eee;
    padding-bottom: 50px;
    min-width: 300px;
    max-width: 600px;
    display: flex;
    height: 90%;
    flex-direction: column;
    align-items: center;
    border-radius: 30px;
    box-shadow: 8px 8px 20px 0px #000;
}
#login {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    background: #fff;
    padding: 30px;
    margin: 10px 50px 10px 50px;
    border-radius: 30px;
    box-shadow: 1px 4px 14px 0px #a3a3a3;
}
#login form {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
}

#loginwrap > .coolbutton {
    width: 80%;
    margin-top: 60%;
    
}

#dashheader {
    min-height: 50px;
    padding: 0px 20px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}
#dashheader img {
    max-height: 30px;
}
#content {
    padding: 20px;
}
#contentbg {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 80vh;
    background-color: #f7f7f7;
    border-radius: 20px;
    margin: 4%;
    margin-top: 60px;
    padding: 3%;
    color: #000000;
}

#wohnungen {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: flex-start;
}
#whgrowhead {
    font-size: 20px;    
}
#whgrow {
    color: #000;
    padding: 10px;
    font-size: 16px;
    margin-top: 15px;
    border: 1px solid #000;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    box-shadow: 3px 6px 5px 0px rgba(214, 213, 213, 0.75);
}
#blase {
    display:block;
    width: 80%;
    background-color:#333;
    border-radius: 10px;
    padding: 10px;
    margin-top: 20px;
}
#blasehead {
    color: #10b3db;
    margin-top: 5px;
    margin-bottom: 10px;    
}
#blasehead a {
    color: #fff;
    text-decoration: none;
}
#blaseitem {
    color: #fff;
}
#whggrowitem {
    margin: 5px;
    min-width: 40px;
}
.mailbg {
    background: url("images/mail.svg");
    background-repeat: no-repeat;
    background-size: cover;
    height:100px;
    width: 100px;
    position: relative;
    margin: 10px;
}
.newmails {
    background: red;
    border-radius: 50%; 
    position: absolute;
    top: -3px;
    right: -15px;
    padding: 10px;
    color: white;
    text-align: center;
    font-size: 16px;
    width: 20px;
    height: 20px;
}
.no-newmails {
    display: none;
}
#whgrow.green {
    background: linear-gradient(to right,  rgb(180,227,145) 0%,rgb(97,196,25) 50%,rgb(180,227,145) 100%);
}
#whgrow.red {
    background: linear-gradient(to right, rgb(255,48,25) 0%,rgb(207,4,4) 100%);
    color: #fff;
}
#whgrowsingle {
    color: #000;
    padding: 10px;
    margin-top: 15px;
    border: 1px solid #000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 3px 6px 5px 0px rgba(0,0,0,0.75);
}
#whgrowsingle.green {
    background: linear-gradient(to right,  rgb(180,227,145) 0%,rgb(97,196,25) 50%,rgb(180,227,145) 100%);
}
#whgrowsingle.red {
    background: linear-gradient(to right, rgb(255,48,25) 0%,rgb(207,4,4) 100%);
    color: #fff;
}
#whgrowsingle.red #whggrowitemsingle {
    background: #680707
}
#whggrowitemhead {
    margin-left: 10px;
}
#whggrowitemsingle {
    margin: 5px;
    font-size: 18px;
    padding: 10px;
    width: 95%;
    justify-content: center;
}
#whggrowcommenthead {
    margin-left: 10px;
    font-style: oblique;
    color: red;
}
#whggrowcommentitem {
    margin: 5px;
    font-size: 14px;
    background: #eee;
    padding: 10px;
    border-radius: 10px;
    width: 95%;
    justify-content: center;
}
#whgrowsingle.red #whggrowcommenthead {
    color: #fff;
}
#whgrowsingle.red #whggrowcommentitem {
    color: #000;
}
#toggleButton {
    padding: 3px;
    font-size: 14px;
    border-radius: 5px;
    position: relative;
    text-align: center;
    align-self: flex-end;
    right: 10px;
    border-color: #fff;
    background: #9e1616;
    color: #fff;
    max-width: 100px;
}
.coolbutton {
  background-image: linear-gradient(-180deg, #2e5caa 0%, #08327a 100%);
  border-radius: .5rem;
  box-sizing: border-box;
  color: #FFFFFF;
  display: flex;
  font-size: 16px;
  justify-content: center;
  padding: 1rem 1.75rem;
  text-decoration: none;
  width: 100%;
  border: 0;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.coolbutton:hover {
    background: #08327a;
}
.coolbutton a {
    color: #fff;
    text-decoration: none;
}

  /* Navigation Begin */
    #profileicon {
        max-width: 30px;
        background-color: #fff;
        border-radius: 15px;
        margin-right: 10px;
        
    }
    #profilenav {
        padding-top: 10px;
        border-top: 1px #fff solid;
        font-size: 20px;
    }
    #profilenav a {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: #eee;
    }
    #button {
        display: flex;
        flex-direction: column;
        position: fixed;
        z-index: 10;
        border-radius: 8px;
        top: 10px;
        left: 10px;
        width: 40px;
        cursor: pointer;
        padding: 0px;
        background: rgb(236, 233, 233);
    }
    .bar {
        width: 30px;
        height: 4px;
        background-color: black;
        margin: 5px;
        transition: 0.4s;
    }
    #menu {
        display: block;
        list-style: none;
        background-color: #333;
        padding: 10px;
        position: fixed;
        top: 40px;
        left: -220px;
        width: 200px;
        z-index: 10;
        transition: all 0.5s ease-out;
    }
    #menu.open {
        left: 10px;
    }
    #menu li a {
        display: inline-block;
        width: 100%;
        text-decoration: none;
        color: #fff;
        padding: 10px;
    }
    #menu li {
        color: white; 
    }
    #menu li:hover {
        background-color: #555;
    }
    #button.open #menu {
        display: block;
    }
    .open .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-13px, 6px);
        padding-left: 10px;
    }
    .open .bar:nth-child(2) {
        opacity: 0;
    }
    .open .bar:nth-child(3) {
        transform: rotate(45deg) translate(-14px, -6px);
        padding-left: 10px;
    }
    
  /* Navigation End */
.news {
    width: 100%;
    min-height: 100px;
    margin: 30px 0;   
}
form {
    width: 80%;
}
#dashboardlink {
    text-decoration: none;
    color: #000;
}
#dashboardlink:hover{
    text-decoration: underline;
    color: #640a0a;
}
#dashboarditems {
    display: flex;
    font-size: 15px;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: stretch;
    justify-content: center;  
}
#dashitem {
    padding: 15px;
    width: 150px;
    min-height: 200px;
    color: #fff;
    background: linear-gradient(-180deg, #2e5caa 0%, #08327a 100%);
    margin: 10px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: center;

}
#dashitem:hover {
    background: #08327a;
}
#dashitem a, #dashitem a:hover {
    color: #fff; 
    text-decoration: none;
}
#dashitem li {
    margin: 15px;
    text-align: left;
    
}
.dashimg {
    color: #eee;
    fill: #eee;
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

.modal {
  display: none; /* initial versteckt */
  position: fixed;
  z-index: 100; /* sehr hoch, damit es alles überlagert */
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.close-button {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}