@media screen and (min-width: 717px) {
    .flexnav li {
        width: 25%;
    }

    .flexnav .level1, .navbar-brand {
        font-size: 14px;
        line-height: 20px;
    }
}

@media screen and (min-width: 830px) {
    .flexnav li {
        width: 30%;
    }
}

@media screen and (min-width: 1024px) {
    .flexnav li {
        width: auto;
    }

    .flexnav .level1, .navbar-brand {
        line-height: 25px;
        font-size: 18px;
    }
}

.show-mobile {
    display: block;
}

.show-tablet {
    display: none;
}

#oben .bild.show-mobile {
    width: 75%;
    padding-right: 10px;
}

@media screen and (min-width: 678px) {
    .show-mobile {
        display: none;
    }

    .show-tablet {
        display: block;
    }
}

#ale .backto {
    background: #f4f7fa none repeat scroll 0 0;
    margin-top: 9px;
    padding: 6px 6px 6px 15px;
    width: 39%;
}

#ale .backto a {
    color: #12325b;
    display: block;
    font-weight: 600;
}

@media screen and (max-width: 716px) {
    #ale .backto {
        width: 50%;
    }
    #ale .backto a {
        font-size: 12px;
    }

    #oben .logo {
        width: 65%;
    }
}

.frame-blue-box {
    background-color: #0098D9;
}

.frame-yellow-box {
    background-color: #E29100;
}

.frame-yellow-box h3,
.frame-blue-box h3 {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
}

.frame-yellow-box p,
.frame-blue-box p {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    line-height: 20px;
}

/* Two Col Flexbox Container */

.flex-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 20px 0;
}

.flex-container > div {
    margin-bottom: 30px;
    padding: 15px;
}

@media screen and (min-width: 1024px) {
    .flex-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .flex-container > div {
        flex-basis: 300px;
        flex-shrink: 0;
        flex-grow: 0;
    }
}

#ale .flex-container.content-ale {
    background-color: #F4F7FA;
}

#ale .flex-container.content-ale .ce-textpic:not(:first-child) {
    padding: 15px 15px 0;
}

#ale .flex-container.content-ale .frame-ale {
    margin-bottom: 0;
}

#ale .flex-container.content-ale .ce-bodytext p {
    padding: 10px 15px;
    font-size: 14px;
}

#ale .frame-ale .ce-left.ce-intext {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

#ale .frame-ale .ce-left.ce-intext .ce-gallery {
    flex-basis: 100px;
    flex-shrink: 0;
    flex-grow: 0;
    margin: 0 0 25px 0;

}

@media screen and (min-width: 900px) {
    #ale .frame-ale .ce-left.ce-intext {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-bottom: 15px;
    }

    #ale .frame-ale .ce-left.ce-intext .ce-gallery {
        flex-basis: 100px;
        flex-shrink: 0;
        flex-grow: 0;
        margin: 0 25px 0 0;
    }
}



#ale .frame-ale .ce-left.ce-intext .ce-bodytext h3 {
    margin: 0;
    font-size: 17px;
}

.flex-container.content-ale > div {
    flex-basis: 100%;
    flex-shrink: 0;
    flex-grow: 0;
    padding: 0;
}

/* ALE Boxes */

#ale .frame-ale {
    margin-bottom: 40px;
}

#ale .frame-ale .ce-center.ce-above .ce-gallery {
    margin: 0;
    height: 290px;
}

#ale .frame-ale .ce-gallery img {
    max-width: 100%;
    height: auto;
}

#ale .frame-ale .ce-bodytext h2,
#ale .frame-ale header h2 {
    margin: 0;
    padding: 10px;
    background-color: #0098D9;
    color: #ffffff;
}

#ale .frame-ale header h3 {
    margin: 0;
    padding: 10px;
    font-size: 20px;
    background-color: #0098D9;
    color: #ffffff;
}

#ale .frame-ale .ce-bodytext h2 a {
    color: #ffffff;
}

#ale .frame-ale .ce-bodytext p,
#ale .frame-ale .ce-bodytext ul,
#ale .frame-ale .ce-bodytext ol {
    padding: 10px;
    background-color: #F4F7FA;
    color: #31363B;
    font-size: 16px;
    margin: 0;
}

#ale .frame-ale .ce-bodytext ul,
#ale .frame-ale .ce-bodytext ol {
    padding-left: 35px;
}

#ale .frame-ale .ce-bodytext p a {
    color: #31363B;
}

/* Table */

/*#ale .ce-bodytext {*/
/*    overflow-x: auto;*/
/*}*/

#ale .contenttable {
    min-width: 100%;
    max-width: none;
    width: 100%;
}

#ale .contenttable th p,
#ale .contenttable td p {
    margin: 0;
}

#ale .contenttable thead th {
    background-color: #0098D9;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
    border: 2px solid #ffffff;
    padding: 10px;
    width: 25%;
}

#ale .contenttable tbody td {
    background-color: #F4F7FA;
    color: #707070;
    font-size: 14px;
    font-weight: normal;
    text-align: left;
    border: 2px solid #ffffff;
    padding: 10px;
}

#ale .contenttable tbody tr:nth-child(even) td {
    background-color: #E4E8EB;
}

/* Bullet Lists */

#ale .frame-ale-list {
    background-color: #F4F7FA;
    padding: 10px 0;
    margin-bottom: 5px;
}

#ale .frame-ale-list .ce-gallery {
    margin: 0;
}

#ale .frame-ale-list .ce-bodytext {
    padding-right: 10px;
}

#ale .frame-ale-list .ce-bodytext p {
    margin: 0;
    font-size: 16px;
    color: #00285A;
}