/* ********************************************
 *  THM 20180214
 *  layout16.css, http://typo3-beratung.com
 *
 * #794C36  -- Bn -- Links
*  #543324 -- dbn -- Ueberschriftenfarbe, Aktiver Menuepunkt
 * #F9F4DB -- ocker -- Hintergrund fuer Menue, Farbe f. Meta+Fuss
 * #768693 -- Hellgrau -- im Innenteil
 * #202020 -- dgr -- Schriftfarbe
 *
 *********************************************** */

@font-face {
    font-family: 'HoboStd';
    src: url('/fileadmin/fonts/HoboStd.otf') format('opentype')
}

#mittelteil {
    /*background: url(/fileadmin/gr_t.gif) repeat-y top left;*/
    clear: both
}

/* *** Allg. ************************** */

body {
    font-size: 12px;
    font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #202020;
    vertical-align: top;
    text-align: left;
    overflow-y: scroll; /* Scrollleiste immer zeigen */
}

#kopf, #hmenue, #mittelteil, #fusszeile, #meta {
    width: 985px
}


/* *** Kopf ********************************************* */

#kopf {
    text-align: left;
    height: 120px;
    overflow: hidden;
    margin-left: 20px;
}

#motto, #motto a {
    color: white;
    font-size: 18pt
}


/* *** Mittelteil ************************************** */

#links {
    float: left;
    text-align: left;
    width: 210px;
    overflow: hidden;
    margin: 10px;
}

#mitte {
    float: left;
    width: 735px;
    _width: 555px;
    margin: 10px;
}


/* *** Mitte ***************************************** */

#mitte {
    font-size: 10pt;
}

#mitte h1 {
    margin-top: 0;
}

#mitte h1, #mitte h2, #mitte h3 {
    color: #543324;
}

#mitte a {
    color: #794C36;
    border-bottom: 1px dotted #794C36
}

#mitte a:hover {
    border-bottom-color: transparent;
    _border-bottom: none; /* f. Bloedi */
}

#mitte .zurueck a {
    border-bottom: 0;
}


/* *** Menues (links) *************************************** */

#menue ul {
    width: 210px;
    _width: 190px;
    text-align: left;
    list-style: none;
    margin: 0;
    padding: 0
}

#menue > ul > li {
    margin: 0;
    padding: 0
}

#menue li {
    padding: 2px
}

#menue li a {
    font-size: 12pt;
    display: block;
    color: #794C36;
    text-decoration: none;
    font-weight: normal;
    margin: 0;
    padding-left: 3px;
    border-left: 3px solid transparent;
    _border-left-color: #F9F4DB; /* f. Bloedi */
}

#menue li.aktiv a {
    font-weight: bold;
    text-transform: uppercase;
    color: #543324
}

/* 2. Untermenue-Ebene */
#menue li.aktiv ul {
    padding-left: 10px;
    font-weight: normal
}

#menue li.aktiv ul li a {
    text-transform: none;
    color: #794C36;
    font-size: 10pt;
    font-weight: normal
}

#menue li.aktiv ul li.aktiv a {
    text-transform: uppercase;
    font-weight: bold;
    color: #543324
}

/* 2 Untermenue-Ebene */

#menue li.aktiv ul li.aktiv ul li a {
    text-transform: none;
    color: #794C36;
    font-size: 9pt;
    font-weight: normal
}

#menue li.aktiv ul li.aktiv ul li.aktiv a {
    text-transform: uppercase;
    font-weight: bold;
    color: #543324
}

#menue ul li a:hover, #menue ul li.aktiv a:hover, #menue ul li.aktiv ul li.aktiv a:hover,
#menue ul li.aktiv ul li.aktiv ul li.aktiv a:hover {
    border-color: #794C36
}

/* *** Metamenue + Fuss **************************** */

#meta, .meta {
    margin: 3px auto;
    text-align: right
}

#fusszeile, #fusszeile a,
.meta span, .meta span a,
#meta span, #meta span a {
    font-size: 10pt;
    color: #F9F4DB;
}

.meta span a.aktiv, #meta span a.aktiv {
    text-decoration: none;
    font-weight: bold;
}

.meta span a:hover, #meta span a:hover, #fusszeile a:hover {
    color: white;
    text-decoration: underline;
}

#fuss {
    height: 50px;
    text-align: center;
    margin: 0;
    line-height: 50px;
    background-color: #794C36;
}


/* ***
 *  THM 20180419
 *  layout16h.css, http://typo3-beratung.com
 *
 * #28264c -- Vio -- Links,  Hintergrund Popdown-Menue
 * #3d3b6a -- dgr -- Schriftfarbe
 *** */


body, #fuss {
    background-image: none
}

#kopf {
    margin-top: 10px;
    width: 100%;
    overflow: visible
}

#kopf, #mittelteil, #fusszeile, #meta {
    margin-left: auto;
    margin-right: auto;
    text-align: center
}

#fuss {
    background: transparent
}

#motto {
    line-height: 80px;
}

#mittelteil, #meta, #hmenue {
    max-width: 985px
}

#mitte {
    text-align: left;
    margin-right: 0; /*max-width:735px*/
}

#rechts {
    float: none;
    width: 0;
    margin: 0;
    display: hidden
}

#mitte p {
    text-align: justify
}

#mitte a {
    color: #28264c;
    border-color: #28264c
}

#umenue a {
    color: #28264c
}

#kopf, #meta {
    border-bottom: 5px solid #3d3b6a;
    background: rgb(252, 252, 252); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(252, 252, 252, 1) 0%, rgba(40, 38, 76, 1) 4%, rgba(40, 38, 76, 1) 76%, rgba(255, 255, 255, 1) 77%, rgba(61, 59, 106, 1) 77%, rgba(40, 38, 76, 1) 84%, rgba(40, 38, 76, 1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(252, 252, 252, 1)), color-stop(4%, rgba(40, 38, 76, 1)), color-stop(76%, rgba(40, 38, 76, 1)), color-stop(77%, rgba(255, 255, 255, 1)), color-stop(77%, rgba(61, 59, 106, 1)), color-stop(84%, rgba(40, 38, 76, 1)), color-stop(100%, rgba(40, 38, 76, 1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(252, 252, 252, 1) 0%, rgba(40, 38, 76, 1) 4%, rgba(40, 38, 76, 1) 76%, rgba(255, 255, 255, 1) 77%, rgba(61, 59, 106, 1) 77%, rgba(40, 38, 76, 1) 84%, rgba(40, 38, 76, 1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(252, 252, 252, 1) 0%, rgba(40, 38, 76, 1) 4%, rgba(40, 38, 76, 1) 76%, rgba(255, 255, 255, 1) 77%, rgba(61, 59, 106, 1) 77%, rgba(40, 38, 76, 1) 84%, rgba(40, 38, 76, 1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(252, 252, 252, 1) 0%, rgba(40, 38, 76, 1) 4%, rgba(40, 38, 76, 1) 76%, rgba(255, 255, 255, 1) 77%, rgba(61, 59, 106, 1) 77%, rgba(40, 38, 76, 1) 84%, rgba(40, 38, 76, 1) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(252, 252, 252, 1) 0%, rgba(40, 38, 76, 1) 4%, rgba(40, 38, 76, 1) 76%, rgba(255, 255, 255, 1) 77%, rgba(61, 59, 106, 1) 77%, rgba(40, 38, 76, 1) 84%, rgba(40, 38, 76, 1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#28264c', GradientType=0); /* IE6-9 */
}

#bnr img {
    height: 70px;
    margin-top: 10px
}

#kopf #hmenue {
    margin-top: 2px
}

#hmenue > ul > li > p > a, h1, h2, h3 {
    font-family: HoboStd, 'Trebuchet MS', 'Lucida Grande', Verdana;
    letter-spacing: 1px
}

/* *** Hauptmenue *** */
#hmenue {
    text-align: center;
    margin: 12px auto 0
}

#hmenue ul {
    text-align: left;
    list-style: none
}

#hmenue li {
    float: left;
    display: block;
    margin: 0 10px;
    padding: 2px
}

#hmenue li a, #hmenue li p {
    font-size: 12pt;
    color: white;
    text-decoration: none;
    font-weight: normal;
    margin: 0;
    padding-left: 3px
}

#hmenue ul li a:hover {
    color: #6a67a8
}

#hmenue li#sprache {
    margin-top: 15px;
    margin-left: 7px
}

#hmenue li#sprache img {
    margin: 0;
    padding: 2px;
    border: 1px solid transparent
}

#hmenue li#sprache a.flagge-akt img {
    border-color: white
}

#hmenue li#sprache a img:hover {
    border-color: #8E8DA6
}


/* *** Untermenue *** */
#umenue h2 {
    border-bottom: 2px solid #28264c
}

/* #umenue h2 a::after {content: ":"} */
#umenue ul {
    width: 210px;
    _width: 190px;
    text-align: left;
    list-style: none;
    margin: 0;
    padding: 0
}

#umenue > ul > li {
    margin: 5px 0;
    padding: 0
}

#umenue li {
    padding: 2px
}

#umenue li a {
    font-size: 12pt;
    display: block;
    color: #133455;
    text-decoration: none;
    font-weight: normal;
    margin: 0;
    padding: 3px;
    border: 2px solid transparent
}

#umenue li.aktiv a {
    font-weight: bold;
    border-color: #28264c;
    background-color: #28264c;
    color: white
}

/* 2. Untermenue-Ebene */
#umenue li.aktiv ul {
    padding-left: 10px;
    font-weight: normal;
    width: auto
}

#umenue li.aktiv ul li a {
    text-transform: none;
    border-color: #53517A;
    color: #53517A;
    font-size: 10pt;
    font-weight: normal;
    background-color: transparent
}

#umenue li.aktiv ul li.aktiv a {
    font-weight: bold;
    background-color: #53517A;
    color: white
}

/* 3. Untermenue-Ebene */
#umenue li.aktiv ul li.aktiv ul li a {
    text-transform: none;
    border-color: #6A6886;
    color: #6A6886;
    font-size: 9pt;
    font-weight: normal;
    background-color: transparent
}

#umenue li.aktiv ul li.aktiv ul li.aktiv a {
    font-weight: bold;
    background-color: #6A6886;
    color: white
}

/* #umenue ul li a:hover, #umenue ul li.aktiv a:hover, #umenue ul li.aktiv ul li.aktiv a:hover,
#umenue ul li.aktiv ul li.aktiv ul li.aktiv a:hover {border-color:#28264c;color:#28264c} */

/* *** Mitte *** */
h1, h2, h3, h4, .zurueck a {
    color: #28264c !important
}

.ce-textpic-text > p {
    margin-top: 0
}

#mitte .tx_cfloat_middle, #mitte .tx_cfloat_last {
    border: 0
}

#mitte .tx_cfloat_middle {
    margin-right: 10px
}

#mitte .tx_cfloat_middle h2.ce-header-alignment-center a, #mitte .tx_cfloat_last h2.ce-header-alignment-center a {
    background: #28264c;
    color: white !important;
    padding: 8px;
    display: block
}

/* *** Metamenue + Fuss *** */

#meta {
    margin: 3px auto;
    text-align: center
}

#meta, #meta a {
    font-size: 10pt;
    color: #F9F4DB
}

#meta a.aktiv {
    text-decoration: none;
    font-weight: bold
}

#meta a:hover {
    color: white;
    text-decoration: underline
}

#fusszeile {
    margin: 8px auto;
    text-align: center
}

#fusszeile, #fusszeile a {
    color: #3d3b6a;
    font-size: 8pt;
    text-decoration: none
}

#fusszeile a:hover {
    color: #28264c;
    text-decoration: underline
}

/* *** Hpt-Menu DropDown *** */
#hmenue ul, #hmenue li, #hmenue span, #hmenue a {
    margin: 0;
    padding: 0;
    position: relative
}

#hmenue:after, #hmenue ul:after {
    content: '';
    display: block;
    clear: both
}

#hmenue a {
    display: inline-block;
    line-height: 49px;
    padding: 0 20px;
    text-decoration: none
}

#hmenue ul li a:hover {
    color: white
}

#hmenue ul {
    list-style: none
}

#hmenue > ul {
    float: left
}

#hmenue > ul > li {
    float: left
}

#hmenue .has-sub p {
    margin-right: 10px;
    letter-spacing: 0.03em
}

#hmenue .has-sub {
    z-index: 10
}

#hmenue .has-sub:hover > ul {
    display: block
}

#hmenue .has-sub ul {
    display: none;
    position: absolute;
    width: 140px;
    top: 88%;
    left: 0;
    background: #28264c
}

#hmenue .has-sub ul li {
    *margin-bottom: -1px
}

#hmenue .has-sub ul li a {
    background: #28264c;
    width: 116px;
    filter: none;
    font-size: 12px;
    display: block;
    line-height: 120%;
    padding: 10px
}

#hmenue .has-sub ul li:hover a {
    background: #3d3b6a;
    color: white
}

#hmenue .has-sub .has-sub:hover > ul {
    display: block
}

#hmenue .has-sub .has-sub ul {
    display: none;
    position: absolute;
    left: 100%;
    top: 0
}

#hmenue .has-sub .has-sub ul li a {
    background: #28264c
}

#hmenue .has-sub .has-sub ul li a:hover {
    background: #3d3b6a;
    color: white
}

/* Push */

@-webkit-keyframes push {
    50% {
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes push {
    50% {
        -webkit-transform: scale(0.8);
        -ms-transform: scale(0.8);
        transform: scale(0.8);
    }

    100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
}

.push, #mitte a, #meta a, #links a {
    display: inline-block;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}

#links .push {
    display: block
}

.push:hover, #mitte a:hover, #meta a:hover, #links a:hover {
    -webkit-animation-name: push;
    animation-name: push;
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
}


/*_*/

.ce-textpic {
    overflow: hidden;
}


.ce-left.ce-below {

    .ce-gallery {
        float: left;
    }

    .ce-bodytext {
        clear: left;
    }

    figure {
        margin: 0;
    }


    .ce-textpic .ce-row {
        overflow: hidden;

    }


    .ce-column {
        float: left;
        margin-right: 10px;
    }


    .ce-textpic .ce-gallery img {
        display: block;
    }

}


.ce-border img {
    border: 1px solid black;
}


.ce-row {
    overflow: hidden;
}


.ce-right.ce-intext {

    .ce-gallery {
        float: right;
        margin-left: 10px;

        img {
            display: block;
        }

        .ce-column {
            float: left;
        }

        figure {
            margin: 0 10px 10px 0;
        }


    }


}


.ce-center.ce-above {
    .ce-outer {
        position: relative;
        float: right;
        right: 50%;
    }

    .ce-inner {
        position: relative;
        float: right;
        right: -50%;
        margin-top: 40px;
    }
}


.ce-left.ce-intext {
    .ce-gallery {
        float: left;
        margin-right: 10px;

        .ce-column {
            float: left;
            margin-right: 10px;
        }
    }

    figure {
        margin: 0;
    }

    img {
        margin-bottom: 10px;
        display: block;
    }

    .ce-row {
        overflow: hidden;
        display: flex;
        justify-content: space-between;
    }
}

.ce-left.ce-intext ul {
    padding-left: 40px;
    overflow: auto;
}


.ce-left.ce-intext.ce-nowrap {

    .ce-row {
        float: left;
    }

}




.frame.frame-custom-20.frame-type-textpic.frame-layout-0 {
    border: 1px outset #CCC;
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 0 5px 0 8px;
    background: #F8F8F8;
}


#links2 .frame-custom-21, #links2 .frame-type-hhslider_hh_slider {
    border: 1px solid #CCC;
    padding-left: 8px;
    padding-right: 5px;
    background-color: #f8f8f8;
    margin-bottom: 15px;

    .ce-headline-center {
        text-align: center;
    }

    figure img {
        border: none;
        display: block;
    }

}

.ce-left.ce-above {
    overflow: hidden;

    .ce-gallery {
        float: left;
    }
}

.frame-custom-20 .ce-right.ce-intext .ce-gallery[data-ce-columns="3"] img {
    width: 70px;
    height: 47px;
}

.text-center {
    text-align: center;
}

.slider-container-7688 img {
    width: 200px;
    height: 134px;
}

.hh-slider figure {
    margin-left: 0;

    figcaption {
        position: absolute;
        left: 0;
        top: 90%;
        bottom: 0;
        width: 100%;
        padding: 0 10px;
        color: #fff;
        background: black;
        opacity: 0.8;
        white-space: nowrap;
        margin: 0;

    }
}

.pswp img{
    transform: scale(0.8);
}


.frame-indent{
    margin-left: 0;
    margin-bottom: 20px;
}