/* General Style */
body{
    background: #dcdcdc;
    font-size: 100%;
    margin: 0em;
    padding: 0em;
}

h1 {
    font-size:2.5em;
    line-height:3.8em;
    font-family: ´Helvetica´;
    font-weight: 100;
    color: #FFFAFA;
    margin: 0em; 
}

h2 {
    font-size:1.563em;
    line-height:1.8em;
    font-family: Helvetica;
    font-weight: 100;
    color: #2f2e2c;
    margin: 0em; 
    padding:0.5em;
    text-align: center;   
}

h3 {
    font-size:1em;
    line-height:1.25em;
    font-family: Helvetica;
    font-weight: 100;
    color: #2f2e2c;
    margin: 0em
    padding: 0.5em;
    text-align: justify;   
}

p {
    line-height:1.25em;
    font-family: Helvetica;
    font-weight: 100;
    color: #2f2e2c;
    margin: 0em; 
    padding:0% 5% 0% 5%;
    text-align: justify;   
}

ul{
    margin:0px;
    padding:0px;
}

li {
    list-style: square;
    font-family: Helvetica;
    font-weight: 100;
    color: #2f2e2c;
    line-height: 1.25em
    margin: 0em; 
    padding: 0em;
    margin: 0.313em 0em 0.313em 0em;
    position: left;
}

li a, .dropbtn {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 0.313em 0em 0.313em 0em;
    text-decoration: none;
}

li a:hover, .dropdown:hover .dropbtn {
    background-image: url("bilder/bild einer tafel.jpg");
}

li.dropdown {
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.dropdown:hover .dropdown-content {
    display: block;
}

img {
    width: 90%;
    height: auto;
    max-width: 100%;
}

a{
    text-decoration: none;
}

/* On Top Bar */
#menubar {
    display: block;
    height:0px;
    background: #A9A9A9;
}
#menubar ul {
    display: block;
    width: 2em;
    padding:0.9em;
}
#menubar ul li {
    display:inline;
}
#menubar ul li a.menubutton {
    display: none;
}

/* Header */
header{
    display: block;
    height: 0em;
    background: #dcdcdc;
    text-align: center;
}
/* Navigation */
nav {
    display: block;
    position: 100px;
    height: 3.8em;
    background: #A9A9A9;
    text-align: center;
    background-image: url("bilder/bild einer tafel.jpg");    
}
nav ul {
    display: block;
}
nav ul li {
    display: inline;
    margin: 0em 0.188em 0em 0.188em;
}
nav ul li a {
    color: #FFFAFA;;
    font-size: 1.125em;
    line-height: 2.5em;
    padding: 0.563em 0.938em 0.375em 0.938em;
    transition: 0.2s;
    -webkit-transition: 0.2s
}
nav ul li a.hover {
    background: #D8D9D8;
    border-bottom: 0.188em solid #E7590B;
}
nav ul li a.active {
    border-bottom: 0.188em solid #E7590B;
}

/* Content Area */
#main {
    display: block;
    width: 96%;
    max-width: 980px;
    margin: 1.25em auto;
    padding:0em;
}
#main article {
    display: inline-block;
    width: 95%;
    background: #FFFFFF;
    vertical-align: top;
    margin: 0em;
    text-align:center;
}
#main article img {
max-width: 960px;
box-shadow: 0px 0px 10px -5px #4c4948;
border-radius: 5px;
}

#main article h2 {
    padding: 1em 1.8em 1em 1.8em;
}

/* Footer */
footer {
    display: block;
    text-align: center;
    background-image: url("bilder/bild einer tafel.jpg");
}
footer ul{
    display:block;
    width: 100%;
    max-width: 980px;
    text-align: left;
    margin: 0px auto;
}
footer ul li {
    display:inline;
    font-size: 0.8em;
    line-height:2.8em;
    color:#E2DBDB;
    padding:0em 0.625em 0em 0.625em;
}
footer ul li a {
    color:#E2DBDB;
}
/* Mobile Style */
@media screen and (max-width:800px) {
    body {
        font-size: 90%;
    }
}
@media screen and (max-width:600px) {
    #main aside, #main article {
        width:100%;
        display:block;
        margin:0.625em 0em 0.625em 0em;
    }
}
@media screen and (min-width:550px) {
    nav.nav{
        display:block !important;
    }
}
@media screen and (max-width:550px) {
    body{
        font-size 80%;
    }
    #menubar ul li a.menubutton {
        display: block;
        font-size: 65%
    }
    nav {
        display:none;
        height:auto;
    }
    nav ul li {
        display:block;
        margin:0.3em 0em 0.3em 0em;
    }
}
    #myProgress {
        width: 100%;
        background-color: #ddd;
    }

    #myBar {
        width: 100%;
        height: 30px;
        background-image: url("bilder/bild einer tafel.jpg");
        text-align: center;
        line-height: 30px;
        color: white;
    }

    input[type=text], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    }

    input[type=submit] {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    }

    input[type=submit]:hover {
    background-color: #45a049;
    }

    .container {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
    }


    /* Full-width input fields */
input[type=text], input[type=password] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Set a style for all buttons */
button {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

button:hover {
    opacity: 0.8;
}

/* Extra styles for the cancel button */
.cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
}

/* Center the image and position the close button */
.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
}

img.avatar {
    width: 40%;
    border-radius: 50%;
}

.container {
    padding: 16px;
}

span.psw {
    float: right;
    padding-top: 16px;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding-top: 60px;
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
    border: 1px solid #888;
    width: 60%; /* Could be more or less, depending on screen size */
}

/* The Close Button (x) */
.close {
    position: absolute;
    right: 25px;
    top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: red;
    cursor: pointer;
}

/* Add Zoom Animation */
.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
    from {-webkit-transform: scale(0)} 
    to {-webkit-transform: scale(1)}
}
    
@keyframes animatezoom {
    from {transform: scale(0)} 
    to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
    span.psw {
       display: block;
       float: none;
    }
    .cancelbtn {
       width: 100%;
    }
}