
.carousel-item {
    height: 100vh;
    min-height: 300px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

main {
    display: flex;
        justify-content: center;    /* Anordnung in der Mitte der Hauptachse */
    flex-wrap: nowrap;          /* Gibt an ob mehrere Spalten angezeigt werden */
    flex-flow: row wrap;
    margin: 0 auto;

}
/*header, nav, nav a,*/ article, section, aside/*, footer*/ {


    border-radius: 0px 0.5em 0.5em;
    border: 1px solid;
    margin: 15px;
    flex: 1 100%;
    max-width: 1040px;
    padding: 15px;
}

/*header {
    background: #F1F3F4;
    border-color: #d5d5d5;
    display: flex;
    flex-flow: row wrap;
}

header * {
    flex: 1 1 0%;
}

header img {
    flex: 0 0 150px;
    margin-right: 50px;
}

header nav {
    flex: 1 1 100%;
}

nav, nav ul, nav li{
    margin: 0;
    padding: 0;
    border: none;
}

nav ul {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
}

nav li {
    list-style-type: none;
    margin: 0 10px;
}

nav a {
    display:inline-block;
    width: 90%;
    background: #fffbf0;
    border: 1px solid #dfac20;
    margin: 0;
    text-align: center;
    text-decoration: none;
}

nav a:hover, nav a:focus {
    background-color: #dfac20;
}
*/
section {
    background: #A4AFE;/*#F1F3F4;*/
    border-color: #576BD1;/*slateblue;*/
    display: flex;
    flex-direction: column;
    padding: 10px;
}

article {
    background: #ebf5d7;/*#ffede0;*/
    border-color: #8db243;/*#df6c20;*/
    display: flex;
    flex: 1;
    flex-direction: column;
    flex-basis: auto;
    margin: 10px;
    padding:10px;
}

.article-image {
    background: #eee;
    display:  block;
    padding-top: 75%;
    position: relative;
    width: 100%;
}

.article-image img {
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    border-radius: 0px 0.5em 0.5em;
}

.article-image.is-3by2 {
    padding-top: 66.6666%;
}

.article-image.is-16by9 {
    padding-top: 56.25%;
}

.article-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.article-title {
    color: #333;
    flex-shrink: 0;
    font-size: 1.4em;
    font-weight: bold;
    font-weight: 700;
    line-height: 1.2;
}

.article-content {
    flex: 1;
    margin-top: 5px;
}

.article-info {
    display: flex;
    font-size: 0.85em;
    justify-content: space-between;
    margin-top: 10px;
}

.first-article {
    flex-direction: row-reverse;
    padding:0px;
}

.first-article:nth-child(odd) {
    flex-direction: row;
    padding-left: 10px;
}

.first-article .article-body {
    flex: 1;
}

.first-article .article-image {
    /*padding-top: 66.6666%;*/
    /*padding-right: 33.3333%;*/
    height: 300px;
    order: 2;
    padding-top: 0px;
    padding-right: 0px;
    width: 400px;

}

aside {
    background: #ebf5d7;
    border-color: #8db243;
    flex: 1 1 0%;
}

figure {
    margin: -1px -1px 0px;
}

.columns {
  display: flex;
}

.column {
  display: flex;
  flex: 1;
  flex-direction: column;
}

#news {
    height: 120px;

    align-self: center;
}

/*footer {
    background: #e4ebf2;
    border-color: #8a9da8;
    display: flex;
    flex-flow: row wrap;
}*/
/*footer * {
    flex: 1 1 0%;
    justify-content: space-between;
}*/
/*footer p {
    text-align: right;
}*/

.note-box {
    margin: .5em 0 1em;
}

.note-box-advice, .note-box-title {
    border-color: #8db243;
    background-color: #8db243;
}

.note-box-advice, .note-box-title {
    border-color: #8db243;
    background-color: #8db243;
}
.note-box-title, .note-box-footer {
    margin: 0;
    font-size: 102%;
    padding: 0 12px;
    border-width: thin;
    border-style: solid solid none;
    border-radius: 0 .7em 0 0;
    color: #fff;
}

.note-box-title, .note-box-footer {
    margin: 0;
    font-size: 102%;
    padding: 0 12px;
    border-width: thin;
    border-style: solid solid none;
    border-radius: 0 .7em 0 0;
    color: #fff;
}

.note-box-advice > .note-box-text {
    border-color: #8db243;
    background-color: #ebf5d7;
}

.note-box-text:last-child {
    border-style: solid;
}

.note-box-text:last-child {
    border-radius: 0 0 .7em .7em;
}
.note-box-text, #a#b {
    border-style: solid solid none;
    margin: 0;
}
.note-box-text {
    margin: -1px 0 0;
    padding: 4px 12px;
    background-color: #fff;
    border-width: thin;
    border-style: solid;
    line-height: 1.5em;
}


.note-box-text, #a#b {
    border-style: solid solid none;
    margin: 0;
}

.note-box-text {
    margin: -1px 0 0;
    padding: 4px 12px;
    background-color: #fff;
    border-width: thin;
    border-style: solid;
    line-height: 1.5em;
}
