@charset "UTF-8";

/* generic */
body {
    background-image: url("../img/fernfarbe.png");
}

section {
    padding-bottom: 12px;
}

/* announcement */
p.announcement {
    background-color: #1E8915;
    font-size: 1.8rem;
    line-height: 1.4;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-style: normal;
    color: #333;
}

/* form within bestellungen.php */
form.bestellungen {
        display: grid;
        grid-template-columns: 200px 1fr 80px;
        grid-gap: 12px;
        font-size: 16px;
    }
label {
    grid-column: 1 / 2;
}
input {
    grid-column: 2 / 3;
}
textarea {
    grid-column: 2 / 3;
}
select {
    grid-column: 2 / 3;
}
div.with_text {
    grid-column: 2 / 3;
}
div.button1 {
    grid-column: 2 / 3;
}
div.button2 {
    grid-column: 3 / 4;
}
div.bestellungen_preis_link {
    grid-column: 3 / 4;
}



/* header-style link */
a.title {
    font-weight: bold;
}


/* specific styles for form errors and comments */
span.Stil7 {font-size: 0.8em; font-style: italic; }
span.form_error { color:red; background: inherit; }
p.form_error { color:red; background: inherit; text-align: center; padding: 20px; font-style: italic;}

/* display for price-list */
div.preisliste {
    display: grid;
    grid-template-columns: 7em 1fr;
    font-size: 14px;
    padding-bottom: 12px;
}
p.preisliste_modell {
    grid-column: 1 / 2;
    font-style: italic;
}
p.preisliste_preis {
    grid-column: 2 / 3;
}


/* display for modul-content-table */
div.modul_table {
    display: grid;
    grid-template-columns: 7em 1fr;
    font-size: 14px;
    padding-bottom: 12px;
}
p.modul_nr {
    grid-column: 1 / 2;
}
p.modul_content {
    grid-column: 2 / 3;
}



/* display for icon-images with text in two columns */
section.bild_und_text {
display: grid;
        grid-template-columns: 50% 50%;
        grid-gap: 16px;

}

.bild_und_text div.left_side {
grid-column: 0 / 1;
}

.bild_und_text div.right_side {
grid-column: 1 / 2;
}

.bild_und_text div{
display: grid;
        grid-template-columns: 25% 1fr;
                grid-gap: 12px;

}
.bild_und_text div.p {
grid-column: 2 / 3;
}
.bild_und_text div.img {
grid-column: 1 / 2;
}
.bild_und_text div.links{
grid-column: 1 / 2;
}
.bild_und_text div.rechts{
grid-column: 2 / 3;
}

/* List entries without bullets */
ul.without {
list-style-type: none;
}
li.without{
list-style-type: none;
}

/* Half-Page Images */
img.half_float_left {
    width: 49%;
    float: left;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}
img.half_float_right {
    width: 49%;
    float: right;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}


/* 1/4-Page Images */
img.quarter_float_left {
    width: 25%;
    float: left;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}
img.quarter_float_right {
    width: 25%;
    float: right;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Embedd Youtube-Play-List */
div.youtube_embedd {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding-top: 56.25%;
}

/* Back-Button floating right */
div.bc_back {
    margin-bottom:1em;
    text-align:right;
}

/* new footer without no-break elements */
span.nobr {
white-space: nowrap;
}

footer.footer a {
    color: #00CCFF;
}

/* Half-Page Text next to Text */
div.text_wrapper {
    display: flex;
    overflow: hidden;
    width: 100%;
}

div.text_first {
width: 45%;
float:left;
margin: 10px;
}

div.text_second {
width: 45%;
float: left;
margin: 10px;
}

/* styles für mobile
 */
@media screen and (max-width: 40em){
    div.text_wrapper {
        display: block;
    }

    div.text_first {
        width: 100%;
        margin: 0.2em 0;
    }

    div.text_second {
        width: 100%;
        margin: 0.2em 0;
    }
}