.bg-ghostwhite {background-color: ghostwhite;}
.tag {display: inline-block; margin: 5px; background-color:lightslategray; color: #fff; padding: 8px 10px; text-decoration: none; box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;}

.section-container {padding: 25px 0; width: 90%; margin: 0 auto;}
.section-container-wide {padding: 25px 0; width: 90%; margin: 0 auto;}
.section-headline {margin: 0; border-bottom: 8px solid #A20012;}
.section-link {text-decoration: none; color: #000;}
.section-linkbox-link {color: #A20012; font-size: 1.1em; text-decoration: none;}
.section-button {display: inline-block; margin: 0.1em 0; border: 0; background-color: #A20012; color: #fff; font-size: 1.1em; padding: 0.5em 1.1em; font-weight: bold; text-decoration: none;}
.section-button-round {display: inline-block; margin: 0.1em 0; border: 0; background-color: #A20012; color: #fff; font-size: 1.1em; padding: 0.5em 1.1em; font-weight: bold; text-decoration: none; border-radius: 25px;}

.section-teaser-box {display: flex; flex-wrap: wrap; border: 0.1em solid whitesmoke; border-radius: 15px; background-color: #fff; max-width: 100%; margin: 0 auto;}
.section-teaser-box-image {min-height: 170px; width: 100%;}
.section-teaser-box-image > img {width: 100%; display: block; border-radius: 15px 15px 0 0;}
.section-teaser-box-text {margin: 0.5em 0.8em;}
.section-teaser-box-text > p {margin-top: 0.2em;}
.section-teaser-box-text-headline {font-size: 1.2em; font-weight: bold;}
.section-teaser-box-text-subheadline {font-weight: regular; color: #A20012;}

.section-teaser-box-small {background-color: #fff; display: flex; box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;}
.section-teaser-box-small-image {margin: 0;}
.section-teaser-box-small-image > img {width: 115px; display: block;}
.section-teaser-box-small-text {margin: 0px 15px;}
.section-teaser-box-small-headline {font-size: 0.9em; font-weight: bold;}
.section-teaser-box-small-subheadline {font-size: 0.9em; color: #A20012;}

.section-grid-box {display: grid; grid-template-columns: auto; gap:10px;}
.section-grid-box-small {display: grid; grid-template-columns: auto; gap:10px;}

.mainmenu-section-headline {display: block; font-size: 1.2em; font-weight: bold; text-decoration: underline; margin: 1em 0 0 0; padding: 0;}

.infobox {background-color:#f2f2f2; color: #000; padding: 15px; border-radius: 12px;}
.eilmeldung {background-color:yellow; color: #000; padding: 15px; border-radius: 12px; font-weight: bold; text-align: center;}

.payment-form{
    color: #fff;
    background: #a20212;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
}
.payment-form .submit-button{
    display: inline-block;
    background: #008080;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 30px;
    padding-right: 30px;
    transition: background 0.2s linear;
}
.payment-form .submit-button:hover{
    cursor: pointer;
    cursor: hand;
    background: #006767;
}
.payment-form .headline{
    font-weight: bold;
    margin-bottom: 5px;
}
.payment-form .subheadline{
    margin-bottom: 20px;
}
.payment-form input[name="value"]{
    width: 50px;
}

.boxspace270 {min-height: 270px; text-align:center; margin-top: 15px;}

.pdf-button {
    background-color: gray;
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
}

.pdf-button:hover {
    background-color: darkgray;
    color: white;
}

@media only screen and (min-width: 768px) {

.section-container {width: 728px; padding: 50px 0;}
.section-container-wide {width: 728px; padding: 50px 0;}
.section-teaser-box {border: unset; border-radius: unset; flex-wrap: nowrap;}
.section-teaser-box-text-headline {font-size: 1.7em; font-weight: normal;}
.section-teaser-box-image {min-width: unset; max-width: unset; width: 280px; min-height: 170px; margin-right: 15px;}
.section-teaser-box-image > img {border-radius: unset; width: 280px;}
.section-teaser-box-text {margin: 0}

.section-teaser-box-small-image > img {width: 110px;}

.section-grid-box {display: grid; grid-template-columns: auto auto; gap:10px;}
.section-grid-box-small {display: grid; grid-template-columns: 359px 359px; gap:10px;}

.boxspace140 {min-height: 140px; text-align:center;}
.boxspace280 {min-height: 280px; text-align:center;}
.boxspace270 {min-height: unset;}

    }
    
    @media only screen and (min-width: 1000px) {

.section-grid-box {display: grid; grid-template-columns: 507px 507px; gap:10px;}
.section-container-wide {width: 100%;}    

    } 

@media print {
    .boxspace140 {min-height: 0px; margin: 0;}
    .boxspace280 {min-height: 0px; margin: 0;}
    .boxspace270 {min-height: 0px; margin: 0;}
}