h1 {
    font: normal 14px Verdana,Helvetica,Arial;
    font-weight: bold;
    color:#D04E2B;
}

h2 {
    font: normal 12px Verdana,Helvetica,Arial;
    font-weight: bold;
    color:#0F0F0F;
}

H6 {
    font: normal 10px Verdana,Helvetica,Arial;
    font-weight: bold;
    color:#0F0F0F;
    margin-bottom:0;

}

div a:link {
    text-decoration: none;
    color:#D04E2B;
}

div a:hover {
    text-decoration: underline;
    color:#D04E2B;
}

body {
    font: 12px Verdana,Helvetica,Arial;
    display: flex;
    justify-content: center;
}

div#container {
    max-width: 980px;
}

div#top {
    font: bold 10px Verdana,Helvetica,Arial;
    clear:both;
    background-color:#37AE37; /* gruen  */
    color:#FFFFFF;

    display: flex;
    height: 22px;
    align-items: center;
    justify-content: right;
    padding: 0px;

    padding-right:10px;
}

div#top ul {
    display: flex;
    list-style: none;
    font: bold 10px Verdana,Helvetica,Arial;

    > li {
        padding-left: 6px;
    }

    :not(:last-child):after {
        content: "|"
    }
}

div#top a {
    color: white;
    text-decoration: none;
}

div#header {
    display: flex;

    > div#logo {
        flex: 1 1 auto;
    }

    > div#state {
        display: flex;
        align-items: end;
        padding-bottom: 3px;
        font-weight: bold;
        font-size: 10px;
    }
}

div#left ul {
    list-style-type: none;
    padding: 6px;
}

div#left li {
    line-height: 24px;
}

div#left {
    float:left;
    width:180px;
    padding-top:5px;
    padding-bottom:10px;
}

div#left a:link {
    text-decoration: none;
    color:#005800;
}

div#left a:visited {
    text-decoration: none;
    color:#005800;
}

div#left a:hover {
    text-decoration: none;
    font-weight:bold;
    color:black;
}

div#left a:active {
    text-decoration: none;
    font-weight:bold;
    color:#D04E2B;
}

div#content {
    display: flex;
}

div#center {
    float:left;
    max-width:600px;
    padding:10px;
    padding-top:15px;
    flex: 1 1 auto;
}

.f3-widget-paginator {
    flex-wrap: wrap;
}

div#head {
    font: normal 10px Helvetica,Verdana,Arial;
    text-align:right;
}

@media screen and (max-width: 980px) {
    div#right {
        display: none;
    }

    div#content {
        flex-direction: column-reverse;
    }

    div#left {
        background-color: lightgray;
        width: 100%;
    }
}
@media screen and (max-width: 500px) {
    div#typo3 {
        border: 1px dashed red;
        visibility: hidden;
    }

    iframe {
        width: 300px;
    }
}

div#right {
    float:left;
    width:160px;
    height:auto;
    padding:10px;
    background-color: #EEEEEE;
}

div#footer {
    clear:both;
    background-color:white;
    padding:2px;
    text-align:left;
    font-size: 10px;
    display: flex;

    border-top-color: #C0C0C0;
    border-top-width: 4px;
    border-top-style: dashed;
    margin-top: 8px;
    padding-top: 8px;

    > div#copyright {
        flex: 1 1 auto;
    }

    > div#typo3 {
        display: flex;
        align-items: center;

        > a {
            margin-left: 3px;
        }
    }
}

div#links_bottom{
    text-align:center;
    background-color:white;
    margin-top:20px;
    padding-top:1px;
    padding-bottom:1px;
}

.float-left {
    float:left;
}

/* Anpassungen IE */

*html div#container {
    width:982px;
}

*html div#center {
    float:left;
    width:620px;
}

/***** LOGIN *****/

div.frame-type-felogin_login {
    & form {
        & fieldset {
            & label {
                & input  {
                    display: block;
                }
            }
        }
    }
}

/** forms **/

div.frame-type-form_formframework {

    & textarea {
        width: 100%;
        min-height: 120px;
    }

    & input[type=text] {
        min-width: 180px;
    }
}


/***** NEWS *****/

div.news-single {
    & div.article {

        & div.news-img-wrap {
            float: right !important;
            margin: 0 !important;
            width: auto;
        }
    }
}


div.news-list-view {

    & ul {
        display: flex;
        justify-content: center;
        list-style: none;
        font: bold 10px Verdana,Helvetica,Arial;

        > li {
            padding-left: 4px;
        }

    }

    & div.article {

        margin-bottom: 0 !important;
        padding-bottom: 0 !important;

        & div.news-headerbar {
            display: flex;
            align-items: center;

            & div.header {
                flex: 1 1 auto;
                font-size: 11px;

                & h3 {
                    margin: 0;
                }
            }

            & span.news-list-date {
                font-size: 10px;
            }
        }

        & div.teaser-text {
            margin-top: 12px;
            & p {
                display: inline;
            }
        }

        & div.news-img-wrap {
            float: right !important;
            margin: 0 !important;
        }

        & div.footer {
            margin: 0 !important;
            padding: 0 !important;
            border: none !important;

            & span.news-list-cat-header {
                font-size: 10px;
                margin: 0 !important;
                padding: 0 !important;
                border: none !important;
            }

            & span.news-list-category {
                font-size: 10px;
            }
        }
    }

    & div.news-img-wrap {

        & img {
            max-height: 90px;
        }
    }
}