/*******************************************************************
--------------------------------------------------------------------
Stylesheet für die Website R-Engelmann.de
--------------------------------------------------------------------
Dateiname: design.css
Datum: 27.02.2017
Autor: Stefanie Kösling
eingebundene Dateien: ---
--------------------------------------------------------------------
Inhalt: 1. Reset der Außen- und Innenabstände
        2. Allgemeine Styles
        3. Styles für die Layoutbereiche
        4. Abbildungen - Fotos, Karten und andere
        5. Tabellen
        6. Formulare
____________________________________________________________________
*******************************************************************/

/*******************************************************************
1. Reset der Außen- und Innenabstände
*******************************************************************/

@media all {

html {overflow-y: scroll;}  
    
body, div,
h1, h2, h3, h4, h5, h6,
p, article, pre, code,
ul, ol, li,
table, th, td,
form, fieldset, legend, input, textarea {
    padding: 0;
    margin: 0;
}

} /*Ende @media all*/

/*******************************************************************
2. Allgemeine Styles
*******************************************************************/

body{
    background-color: #ffffff; /*white*/
    color: #000000; /*black*/
    font-family: sans-serif;
    font-size: 120%;
    line-height: 1.4;
}

h1 {
    margin: 0.6em 50px 0.3em 50px;
    font-family: serif;
    font-variant: small-caps;
    font-weight: normal;
} 

h2, h3, h4, h5, h6 {
    margin: 0.6em 50px 0.3em 50px;
    font-family: sans-serif;
    font-weight: bold;
}

p {
    margin: 0.6em 50px 0.3em 50px;
    font-family: sans-serif;
    text-align: justify; /*Blocksatz*/
}

p {font-size: 100%}
h1 {font-size: 300%}
h2 {font-size: 140%}
h3 {font-size: 110%}

pre {
    margin: 0.6em 50px 0.3em 50px;
}

.clearing {
    clear: both;
}

.border-top {
    padding-top: 0.6em;
    border-top-width: 2px;
    border-top-color: #275287; /*darkblue*/
    border-top-style: solid;
}

.hrc {
    margin: 1.2em 50px 0 0;
    font-family: sans-serif;
    font-size: 100%;
}

.prc {
    margin: 0.6em 50px 1.2em 0;
    font-size: 80%;
    text-align: left;
}

.align-center{
    text-align: center;
}

ul {
    margin-right: 50px;
    margin-bottom: 0.6em;
    margin-left: 70px;
    list-style-type:square;
}

table ul {
    margin-left: 20px;
}

.button-1 {
    margin: 50px;
    padding: 0.3em 0.4em;
    background-color: #275287; /*darkblue*/
    color: #ffffff; /*weiß*/
}

.topic {
    text-align: left;
    line-height: 1.8;
    
}

.topic-1 {
    border: 0.1em solid #275287;
    padding: 0.05em 0.3em;
    background-color: #ffffff;
    color: #275287;
}

.topic-2 {
    padding: 0.1em 0.3em;
    background-color: #86158b; /*beere*/
    color: #ffffff;
}

.topic-3 {
    padding: 0.1em 0.3em;
    background-color: steelblue;
    color: #ffffff;
}

.topic-4 {
    padding: 0.1em 0.3em;
    background-color: darkseagreen;
    color: #ffffff;
}

.version {
    color: #000000;
    text-decoration: none;
}

span {
    color: steelblue;
}

span:nth-child(1) {
    color: darkseagreen;
}
span:nth-child(2) {
    color: #86158b;
}

/*******************************************************************
3. Styles für die Layoutbereiche
*******************************************************************/

#header {
    width: 100%;
    height: 200px;
    background-image: url(Backgrounds/bachground1.jpg);
    background-color: #275287;
    color: #ffffff;
    text-align: center
}

    #header h1 {
        margin: 0px;
        padding-top: 60px;
        padding-bottom: 10px;
        font-size: 60px;
        font-weight: normal;
        font-variant: normal;
        color: #ffffff;
        font-family: times, serif;
        font-style: italic;
        line-height: 1;
}

    #header h2 {
        margin: 0px;
        padding: 0px;
        font-size: 24px;
        font-weight: normal;
        text-decoration: overline;
        color: #ffffff;
        font-style: italic ;
        font-family: times, serif;
        line-height: 1;
}

/******************************************************************/

#menu {
    width: 100%;
    height: 40px;
    background-color: #b0c4de; /*lightsteelblue*/
    color: #000000;
    border-bottom: 2px;
    border-bottom-color: #275287;
    border-bottom-style: solid;
    line-height: 1;
    vertical-align: middle;
}

    .menu-item {
        margin-left: 50px;
        padding-top: 7.5px;
        width: auto;
        height: 30px;
        float: left;
        text-transform: uppercase;
        font-size: 25px; 
}

    #menu a {
        font-family: times, serif;
        text-decoration: none;
        color: #000000;
}

/******************************************************************/

#content {
    width: 80%;
    background-color: #ffffff;
    color: #000000;
    float: left;
}

    article h1 {
        padding-top: 1em;
        border-top-width: 2px;
        border-top-color: #275287;
        border-top-style: solid;
        font-family: sans-serif;
        font-variant: normal;
        font-weight: bold;
        font-size: 180%;
    }

/******************************************************************/

#right-column {
    width: 20%;
    background-color: #ffffff;
    color: #000000;
    float: left;
}

    #right-column article {
        margin: 0
        border-bottom-width: 2px;
        border-bottom-color: #275287;
        border-bottom-style: solid;
        font-family: sans-serif;
}

   

/******************************************************************/

#footer {
    padding-top: 20px;
    width: 100%;
    height: 60px;
    background-color: #b0c4de; /*lightsteelblue*/
    color: black;
    text-align: center;
    clear: both;
    border-top-width: 2px;
    border-top-color: #275287;
    border-top-style: solid;
    font-family: serif;
}

/******************************************************************/

/*******************************************************************
4. Abbildungen - Bilder, Karten und andere
*******************************************************************/

.figure-left-S {
    margin: auto 20px 20px 0;
    width: 400px;
    max-width: 100%;
    height: auto;
    float: left;
}

.figure-right-S {
    margin: auto 0 20px 20px;
    width: 400px;
    max-width: 100%;
    float: right;
}

.figure-S {
    margin: auto auto 20px auto;
    width: 400px;
    max-width: 100%;
}

.email {
    font-size: 16px;
    height: 16px;
    width: auto;
}

.banner {
    width: 150px;
    max-width: 100%;
}

.figure-M {
    margin: auto auto 20px auto; 
    width: 700px;
    max-width: 100%;
    display: block;
}

.figure-L {
    margin: auto auto 20px auto; 
    width: 800px;
    max-width: 100%;
    display: block;
}

.i-figure {
    margin: 0.6em 50px 0.3em 50px;
    width: 100%;
}
/*******************************************************************
5. Tabellen
*******************************************************************/

table {
    /*margin: 0.6em 50px 0.3em 50px;*/
    margin: 0.6em auto 0.3em auto;
    border-collapse: collapse; /*Keine Zwischenraum*/
    /*border-spacing: 0;*/ /*Zwischenraumbreite falls border-collapse: separate; vorhanden*/  
}

thead {
    border-top: 1px solid #275287;
    border-bottom: 1px solid #275287;
    background-color: #b0c4de; /*lightsteelblue*/
    font-size: 90%;
}

tbody {
    background-color: #f0f8ff; /*aliceblue*/
    font-size: 80%;
    border-bottom: 1px solid #275287;
}

tbody tr:hover {
    background-color: #ffffff; /*weiß*/
}

tfoot {
    background-color: #f0f8ff; /*aliceblue*/
    font-size: 80%;
    border-bottom: 1px solid #275287;
}

th {
    padding: 3px 10px;
    text-align: left;
    vertical-align: top;
}

td {
    padding: 3px 10px;
    text-align: left;
    vertical-align: top;
}

/*******************************************************************
6. Formulare
*******************************************************************/

#kontaktformular {
    margin: 0.6em 50px 0.3em 50px;
    padding: 1em;
    background-color: #b0c4de; /*lightsteelblue*/
    max-width: 100%;
    line-height: 1.2;
}

label {
    display: block; /* Beschriftung in eigener Zeile*/
    cursor: pointer; /* Mauszeiger wird zur Hand*/
    margin-bottom: 0.25em;
}

#kontaktformular input[type="text"],
#kontaktformular input[type="email"],
textarea {
    width: 90%;
    padding: 0.5em;
    margin-bottom: 1em;
}

#kontaktformular textarea {
    max-width: 100%;
    min-height: 7em;
}

/******************************************************************/

#newsletter {
    margin: 0.6em 50px 0.3em 0px;
    padding: 1em;
    background-color: #b0c4de; /*lightsteelblue*/
    max-width: 100%;
    line-height: 0.8;
    font-size: 80%;
}

#newsletter input[type="text"],
#newsletter input[type="email"] {
    width: 96%;
    padding: 0.25em 2%;
    margin-bottom: 1em;
    font-size: 100%;
}

#newsletter input[type="submit"] {
    display: block;
    margin:auto;
    max-width: 90%;
}

label {
    display: block; /* Beschriftung in eigener Zeile*/
    cursor: pointer; /* Mauszeiger wird zur Hand*/
    margin-bottom: 0.25em;
}
