* {
    padding: 0;
    margin: 0;#
    color: #333;
    font-size: 1em;
    font-family: Calibri, Candara, Segoe, Segoe UI, Optima, Arial, sans-serif;
}

input[type=text], input[type=email], input[type=password] {
    border: 1px solid #666;
    border-radius: 3px;
    background: #fff;
    padding: 2px;
}

input[type=submit] {
    border 2px outset #eee;
    background: linear-gradient(to bottom, #ddd, #aaa);
    border-radius: 4px;
    padding: 2px;
    font-size: 0.9em;
}

html {
    background-image: linear-gradient(to top, #ddd 0%, #333 100%);
    height: 100vh;
    background-attachment: fixed;
}

body {
    width: 1220px;
    background: white;
    margin: auto;
    min-height: 100vh;
    clear: both;
}

h1 {
    display: none;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #666;
    background: #ccf;
    font-size: 2em;
    text-shadow: 2px 2px 2px #fff;
}

nav {
    float: left;
    width: 200px;
    padding: 2vh;
    background: #eee;
    font-size: 0.8em;
    height: 100%;
}

nav h2 {
    font-size: 1.4em;
}

nav h3 {
    font-size: 1.2em;
}


nav input[type=email], nav input[type=password], nav input[type=submit] {
    width: 200px;
    margin: 1px;
}


nav p {
    margin-top: 0.5em;
    margin-bottom: 2em;
}

nav ul {
    list-style: none;
    padding: 2vh;
}

nav ul li {
    padding: 0.3vh;
}

section#main {
    float: right;
    width: 980px;
    overflow: auto;
}

section#bilder div {
    width: 200px;
    display: inline-block;
    margin: 10px;
    padding: 5px;
    padding-top: 0;
    text-align: center;
    /*
    border: 1px solid #999;
    background: #ccc;
    box-shadow: #ccc 4px 4px 4px;
    */
    transition: 0.3s
}

section#bilder div a {
    display: block;
    padding-top:5%;
    min-height: 120px;
    text-decoration: none;
    color: #333;
    font-size: 1.5em;
    transition: 0.3s;
}

section#bilder div:hover {
    background: #ffe;
}

section#bilder div :hover {
    color: #444;
}

section#bilder div img {
    max-height: 150px;
    max-width: 180px;
    width: auto;
    height: auto;
}

.selected {
    color:red;
}

textarea {
    width: 97%;
    height: 20em;
    margin-top: 2em;
    padding: 5px;
}

footer {
    background: #ccc;
    clear: both;
    text-align: center;
}

div#impressum h2 {
    font-size: 1.5em;
    padding: 0.2em;
}

div#impressum h3 {
    font-size: 1.3em;
    padding: 0.2em;
}

div#impressum h4 {
    font-size: 1.2em;
    padding: 0.1em;
}

div#impressum p {
    padding: 1em;
}

div#impressum ul {
    list-style: disc outside none inherit;
    margin: 1em;
}

div#impressum ul li {
    margin-left: 3em;
}

div#slider {
    max-height: 200px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0;
    margin-bottom: 2em;
}

div#slider img {
    width:120px;
    max-height: 180px;
    vertical-align: middle;
    margin-left: 5px;
    transition: width 1s;
}

div#slider img:hover {
    width:200px;
    max-height: auto;
    position: relative;
    z-index: 1;
}
