* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
    font-family: Arial,Helvetica,sans-serif;
    font-size: 0.8125em;
    line-height: 1.4;
}

h1, h2, h3, h4, h5 {
    line-height: 1.2em;
    font-weight: normal;
    margin-top: 0;
}

h1, h2 {
    font-size: 1.8em;
    margin-bottom: 0.55em;
}

h3 {
    font-size: 1.4em;
    margin-bottom: 0.7em;
}

h4 {
    font-size: 1.2em;
    margin-bottom: 0.83em;
}

p {
    margin: 0 0 1em 0;
}

ul {
    margin: 1em 0 1em 1.4em;
}

ol {
    margin-left: 2.4em;
    list-style-position: outside;
}

hr {
    border: 0px; /* Fr Firefox und Opera */
    border-top: solid 1px #000;
    border-bottom: transparent;
}

address { font-style: normal; }

/* Bilder flexibel... */

img {
    max-width: 100%;
    height: auto;
    width: auto;
}
DIV.csc-textpic .csc-textpic-imagewrap FIGURE {
    max-width: 100%;
    overflow: hidden;
    display: block;
}

DIV.csc-textpic-center .csc-textpic-imagewrap,
DIV.csc-textpic-center FIGURE.csc-textpic-imagewrap {
    width: 100%;
    display: block;
}

DIV.csc-textpic-center .csc-textpic-center-outer {
    max-width: 100%; /* max. Groesse des Bildes */
}

DIV.csc-textpic-center .csc-textpic-center-inner {
    width: 100%;
}

div.csc-textpic-left .csc-textpic-imagewrap,
div.csc-textpic div.csc-textpic-imagecolumn { float: none; }
div.csc-textpic div.csc-textpic-imagerow div.csc-textpic-imagecolumn { float: left; }
div.csc-textpic div.csc-textpic-imagerow div.csc-textpic-imagecolumn { width: auto; }

div.csc-textpic-intext-right .csc-textpic-imagewrap, div.csc-textpic-intext-left .csc-textpic-imagewrap { max-width: 50%; }
div.csc-textpic-intext-right .csc-textpic-imagewrap img, div.csc-textpic-intext-left .csc-textpic-imagewrap img {width: 100%; }

/* eo Bilder flexibel... */

#wrap {
    text-align: left;
    margin: 0 auto;
    max-width: 980px;
}

#wrapInner {
    width: 93.877551020408%;
    margin: 0 auto;
}

#wrapInner2 {
    position: relative;
    z-index: 5;
    border-top-width: 2px;
    border-top-style: solid;
    padding-top: 30px;
}

#headerBox {
    position: relative;
    z-index: 10;
    height: 100px;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    clear: both;
}

#logo {
    position: absolute;
    top: 29px;
    left: 50px;
}

#keyvisualsBox {
    position: relative;
    overflow: visible;
    z-index: 5;
}

#keyVisual {
    float: left;
    margin-left: -3.25%;
    width: 75%;
    overflow: hidden;
    z-index: 10;
    background-repeat: no-repeat;
    background-position: top right;
}

#keyVisual ul {
    margin: 0;
    padding: 0;
}

#keyvisualsBox address {
    float: right;
    position: relative;
    width: 31.48%;
    padding: 15px 20px;
    margin-right: -3.25%;
    z-index: 9;
    line-height: 1.2;
}

#keyvisualsBox address p {
    margin: 0;
    padding: 0;
}

#keyvisualsBox address:after {
    content: "";
    position: absolute;
    bottom: -15px;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 30px 0 0px;
    border-style: inset;
    -webkit-transform: rotate(360deg);
    border-color: #79756B transparent transparent;
}

#mainBodyBox {
    position: relative;
    overflow: visible;
    z-index: 10;
}

#menuBox {
    position: absolute;
    right: 50px;
    bottom: 0;
    font-size: 1.2em;

}

#contentBox {
    float: left;
    width: 68.478260869565%;
    padding: 15px 0 30px 5.434782608696%;

}

#contextBox {
    position: relative;
    float: right;
    width: 27.717391304348%;
    padding: 15px 0px 10px 2.173913043478%;
    line-height: 1.2em;
}

.contextBoxItem {
    border-bottom: solid 1px #D7D0B5;
    padding-right: 30px;
    margin-bottom: 10px;
}

#footerBox {
    clear: both;
    position: relative;
    z-index: 10;
    background-color: #fff;
    padding: 10px 0 0 0;
    font-size: 0.9em;
    width: 93.877551020408%;
    margin: 0 auto;
}
#footerBox address { display: none; }
#footerBox ul {
    margin: 0;
    list-style: none;
}

#footerBox li {
    float: right;
    line-height: 20px;
    margin-left: 20px;
    white-space: nowrap;
}

#footerBox a {
    text-decoration: none;
}

#footerBox #gotopLink {
    float: left;
    padding-left: 18px;
    background: transparent url(../images/gotop.png) no-repeat 0 4px;
}

#footerBox #facebookLink {
    padding-left: 25px;
    background: transparent url(../images/facebookIcon.png) no-repeat;
    margin-right: 30px;
}

#footerBox #twitterLink {
    padding-left: 25px;
    background: transparent url(../images/twitterIcon.png) no-repeat;
    margin-right: 30px;
}

/****************************************************
	MENÜ
******************************************************/

.nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav a {
    text-decoration: none;
}

.navbar-toggle {
    display: none;
}

#mainNav {
    font-size: 1.1em;
    margin: 0;
    padding: 0;
}

#mainNav li {
    position: relative;
    float: left;
    margin-left: 25px;
}

#mainNav a {
    line-height: 30px;
    text-decoration: none;
    white-space: nowrap;
}


#mainNav ul {
    background: #fff;
    background: rgba(255, 255, 255, 0.9);
    left: -25px;
    padding: 0 5px 0 25px;
    margin: 0;
    box-sizing: content-box;
    display: none;
}

#mainNav ul li {
    float: none;
    margin: 0;
    padding: 2px 0;
}

#mainNav ul li:first-child {
    padding-top: 15px;
}

#mainNav ul li:last-child {
    padding-bottom: 15px;
}

#mainNav li.current ul {
    display: block !important;
    visibility: visible !important;
}

#mainNav ul a {
    line-height: 1.2em;
}

#mainNav ul a,
#mainNav li.current ul a {
    background-image: none;
}

#mainNav li li {
    border: none;
}

#mainNav .active .arrow {
    width: 15px;
    height: 6px;
    position: absolute;
    z-index: 999999;
    bottom: -8px;
    left: 50%;
    margin-left: -7px;
    background: transparent url(../images/menuArrow.png);
}



.csc-textpic-caption {
    padding-top: 2px;
    font-style: italic;
}

.lightbox:hover img {
    transform: scale(1.1);
}

div.csc-textpic, div.csc-textpic div.csc-textpic-imagerow, ul.csc-uploads li {
    overflow: visible;
}



/* Formular */
.form-group {
    margin-bottom: 0.5em !important;
}
.form-group label {
    float: none;
    width: auto;
    margin: 0;
}
input[type="text"],input[type="tel"],input[type="email"], textarea, select {
    width: 100%;
    padding: 4px 1%;
    border: solid 1px #ccc;
    border-radius: 6px;
    background-color: #fff;
}
select {
    width: auto;
}
textarea {
    min-height: 6em;
}
button[type="submit"], .tx-indexedsearch-searchbox input[type="submit"] {
    padding: 5px;
    min-width: 180px;
    background-color: #a5a5a5;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
}
.form-group input[type="checkbox"], .form-group input[type="radio"] {
    width: auto;
}
.form-check {
    position: relative;
    padding-left: 20px!important;
}
.form-check input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 2px;
}
legend {
    margin: 1em 0;
    font-size: 1.25em;
}



/* eo FORMS */

/* Bildergalerie */

.imageGalerie {
}

.imageGalerie li {
    float: left;
    width: 110px;
    padding: 5px;
}
.imageGalerie li img {
    width: 100%;
}

#goTop {
    display: none;
    position: fixed;
    z-index: 100;
    right: 15px;
    bottom: 0;
    text-decoration: none;
    color: #000;
    font-size: 18px;
    line-height: 40px;
    width: 65px;
    text-align: center;
    background-color: #fff;
    -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.45);
    -moz-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.45);
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

.frame {
    clear: both;
}
.grid_2_col.equal .column { float: left; width: 50%; }
.grid_2_col.equal .column.left { padding-right: 10px; }
.grid_2_col.equal .column.right { padding-left: 10px; }

/* ==========================================================================
    Media Queries for Responsive Design.

   ========================================================================== */

@media only screen and (max-width: 48em) {

    #headerBox { position: fixed; z-index: 250; width: 100%; top: 0; left: 0; padding: 15px 10px; height: auto; box-shadow:  0 5px 5px rgba(0, 0, 0, 0.2); }
    #logo { position: static;  }
    #wrapInner { width: 100%; }

    #keyvisualsBox address { float: none; margin: 0; width: 100%; }
    #keyvisualsBox address::after { display: none; }
    #keyVisual { float: none; margin: 0; width: 100%; }
    #keyVisual img { width: 100%; }

    #contentBox { padding-left: 10px; }

    #footerBox { padding: 15px 0; height: auto; font-size: 1em; }
    #footerBox ul { padding-left: 0; }
    #footerBox li { float: none; margin: 10px 0; }

    #keyvisualsBox address { display: none; }
    #footerBox address { display: block; }

    .navbar-toggle {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        background-color: transparent;
        background-image: none;
        border: none;
        padding: 0;
    }

    .navbar-toggle .icon-bar {
        border-radius: 1px;
        display: block;
        height: 4px;
        width: 30px;
        border-radius: 3px;
        background-color: #000;
    }

    .navbar-toggle .icon-bar + .icon-bar {
        margin-top: 3px;
    }

    #menuBox {
        display: none;
        position: absolute;
        z-index: 10;
        left: 0;
        bottom: auto;
        float: none;
        width: 100%;
        padding: 0;

        background-color: #eee;
        box-shadow:  0 5px 5px rgba(0, 0, 0, 0.2);
    }

    #mainNav ul { margin: 1px 0 5px 0; width: 100%!important; }
    #mainNav li {
        float: none!important;
        margin: 0;
        position:relative;

    }
    #mainNav ul ul li a { padding-left: 30px; }
    #mainNav ul ul ul li a { padding-left: 60px; }
    #mainNav a { line-height: 3em;  padding: 0 10px 0 30px; display: block; }
    #mainNav a::before { top: 0; }
    #mainNav ul a { line-height: 2em; }

    #mainNav ul { display: none; position:static!important; list-style: none; padding: 0; background-color: #fff; }

    #mainNav li.current > ul { display: block; }

    #mainNav .openSub { position: absolute; top: 0; right: 0; background-color: #CCCCCC;  cursor:pointer; width: 3em; line-height: 3em; z-index: 5; text-align: center; }
    #mainNav .openSub:before { content: "▼"; color: #fff; font-size: 1em; }
    #mainNav .opendSub:before {content: "▲"; color: #CD232A; }

    #contentBox, #contextBox { float: none; width: 100%; padding: 15px; }
    div.csc-textpic-intext-right .csc-textpic-imagewrap, div.csc-textpic-intext-left .csc-textpic-imagewrap { max-width: 30%; }

    /* Abhängig vom Logo */

    #headerBox { min-height: 55px; }
    #wrapInner2 { padding-top: 57px; }
    #menuBox { top: 57px; }

    .grid_2_col.equal .column { float: none; width: auto; }
    .grid_2_col.equal .column.left { padding-right: 0; }
    .grid_2_col.equal .column.right { padding-left: 0; }
}

@media only screen and (max-width: 30em) {

    .imageGalerie li {
        float: left;
        width: 50%;
        padding: 5px;
    }
    .imageGalerie li img {
        width: 100%;
    }
}




@media only screen and (min-width: 48em) {
    /****************************************************
        Menu Superfish
    ******************************************************/

    /*** ESSENTIAL STYLES ***/
    .sf-menu, .sf-menu * {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .sf-menu {
        line-height: 1.0;
    }

    .sf-menu ul {
        position: absolute;
        top: 34px;
        width: 100%; /* left offset of submenus need to match (see below) */
    }

    .sf-menu ul li {
        width: 100%;
    }

    .sf-menu li:hover {
        visibility: inherit; /* fixes IE7 'sticky bug' */
    }

    .sf-menu li {
        float: left;
        position: relative;
    }

    .sf-menu a {
        display: block;
        position: relative;
    }

    .sf-menu li:hover ul,
    .sf-menu li.sfHover ul {
        left: -25px;
        top: 34px; /* match top ul list item height */
        z-index: 99;
    }

    ul.sf-menu li:hover li ul,
    ul.sf-menu li.sfHover li ul {
        top: -999em;
    }

    ul.sf-menu li li:hover ul,
    ul.sf-menu li li.sfHover ul {
        left: 0; /* match ul width */

    }

    ul.sf-menu li li:hover li ul,
    ul.sf-menu li li.sfHover li ul {
        top: -999em;
    }

    ul.sf-menu li li li:hover ul,
    ul.sf-menu li li li.sfHover ul {
        left: 5em; /* match ul width */
        top: 0;
    }
}




@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
.csc-textmedia-gallery-media {
    position: relative;
    padding-bottom: 55%;
    padding-top: 15px;
    height: 0;
    overflow: hidden;
}

.csc-textmedia-gallery-media iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

iframe { border: none; }

.contentOuterWrap.video .csc-textmedia-gallery, .contentOuterWrap.video .csc-textmedia-gallery-column { float: none; }