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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-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
   ========================================================================== */

html, body { height: 100%; }

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

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, table {
    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;
}

/* 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; }
/* eo Bilder flexibel... */

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

#wrapInner {
}

#wrapInner2 {
    overflow: auto;
    background-image: url(../images/hgr_wrapInner2.png);
    background-repeat: repeat-y;
    background-position: right;
    -moz-border-radius: 0 10px 0 0;
    border-radius: 0 10px 0 0;
    padding-right: 15px;
}

#headerWrap {
    width: 100%;
    padding-right: 15px;
}
#headerBox {
    position: relative;
    height: 120px;
}

#logo {
    position: absolute;
    top: 48px;
    left: 10px;
}

#keyVisual, .bx-wrapper, .bx-viewport, .bxslider, #keyVisual img {
    -moz-border-radius: 10px 0 0 10px;
    border-radius: 10px 0 0 10px;
}

#keyVisual {
    position: relative;
    left: 22.47191011236%;
    width: 77.52808988764%;
    z-index: 10;
    background-repeat: no-repeat;
    background-position: top right;
}

#keyVisual ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#mainBodyBox {
    position: relative;
    overflow: visible;
    z-index: 5;
    padding-bottom: 2em;
    margin-top: -200px;
}

#menuBox {
    float: left;
    width: 22.47191011236%;
    padding-right: 20px;
}

#contentBox {
    float: left;
    width: 52.808988764045%;
    padding-right: 20px;
    margin-top: 130px;
}
.layout_14 #contentBox { width: 75%; padding-right: 0; }

#contextBox {
    position: relative;
    margin-right: -15px;
    float: right;
    width: 26.404494382022%;
    margin-top: 130px;
    line-height: 1.2em;
}

#contextBox address {
    position: relative;
    padding: 10px 25px 10px 10px;
    -moz-border-radius: 10px 0 0 10px;
    border-radius: 10px 0 0 10px;
    font-style: normal;
}

#contextContent {
    padding: 10px 25px 10px 10px;
}

#footerWrap { padding-left: 15px; }

#footerBox {
    clear: both;
    position: relative;
    z-index: 10;
    height: 60px;
    padding: 12px 20px 0 185px;
    background: url(../images/hgr_footer.png) no-repeat;
    font-size: 0.9em;
    -moz-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;
}

#footerBox ul {
    margin: 0;
    list-style: none;
}

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

#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; }

#menuBox ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#mainNav {
    font-size: 1.1em;
}

#mainNav a {
    line-height: 1.2em;
    text-decoration: none;
    display: block;
    padding: 0.5em 10px 0.5em 30px;
    position: relative;
}

#mainNav a:before {
    content: ' \25CF';
    font-size: 1.8em;
    position: absolute;
    left: 8px;
    top: 0.2em;
}

#mainNav li.active a {
    background-image: url(../images/menuItemDot_h.png);
}

#mainNav ul {
    display: none;
    margin: -0.3em 0 0.3em 0;
}

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

#mainNav ul a {
    padding: 0.2em 10px 0.2em 30px;
}

#mainNav ul a:before {
    content: '';
}

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

#mainNav li li {
    border: none;
}

/* Sitenavigation */
#siteNav {
    clear: both;
    float: right;
    position: relative;
    margin: 1em 0;
    text-align: right;
}

#siteNav a {
    margin: 0 5px;
}

.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;
}

/* Formulare */
.form-group {
    margin-bottom: 0.5em !important;
}
.form-group label {
    float: none;
    width: auto;
    margin: 0;
}
input { font-family: inherit; font-size: inherit; }
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;
}
input[type="submit"], button[type="submit"] {
    border: none;
    background-color: #636363;
    color: #fff;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 6px;
}
.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;
}


/* Bildergalerie */

.imageGalerie {}
.imageGalerie li { float: left; padding: 5px; }

/* Mix */

figcaption { color: #000; font-style: italic; font-size: 0.85em; padding-top: 5px; }
figcaption.csc-textpic-caption { display: block; }

#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;
}

/* ==========================================================================
  Media Queries for Responsive Design.
   ========================================================================== */
@media only screen and (max-width: 915px) {
    #wrapInner2, #headerWrap { padding-right: 0; }
    #wrapInner2, #footerBox { border-radius: 0; }
    #wrapInner2 { background-image: none; }
    #contextBox { margin-right: 0; width: 24%; }
    #footerWrap { padding-left: 0; }
}
@media only screen and (max-width: 37.5em) {

    #headerBox { height: auto; padding: 15px 10px; }
    #logo { position: static; max-width: 60%; }
    #wrapInner2 { position: relative; }
    #keyvisualsBox { position: relative; z-index: 1; }
    #keyVisual { position:static; width: 100%; padding: 0; border-radius: 0; }
    #keyVisual, .bx-wrapper, .bx-viewport, .bxslider, #keyVisual img { border-radius: 0; }
    #mainBodyBox { position: static; border-top: none!important; margin-top: 0; padding: 15px 10px; }
    #contentBox, #contextBox { margin-top: 0; float: none; width: 100%!important; clear: both; padding: 0; }
    #contextBox { padding-top: 20px; }
    #footerBox { padding: 15px; height: auto; }
    #footerBox ul { padding-left: 0; }
    #footerBox li { float: none; margin: 10px 0; }

    #contextBox address {
        -moz-border-radius: 10px;
        border-radius: 10px;
    }

    .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;
        top: 0;
        left: 0;
        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; }
    #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; }

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

    #mainNav .openSub { position: absolute; top: 0px; 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; }

}

@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; }