@media screen {
* {
    margin:0;
     padding:0;
}
body {
    font-family: 'Open Sans', sans-serif;
    font-size:1.1rem;
    scroll-behavior:smooth;
}
a {
    color:#000;
        text-decoration:none;
}
.active {
    color:#1f8da1;
}
a:hover {
    text-decoration:none;
    color:#777;
}
p {
    color:#535353;
    line-height:35px;
    max-width:60ch;
}
p a {
    text-decoration:underline;
}
h1,
h2,
h3,
h4 {
    font-weight:normal;
    font-family:times-new-roman;
}
#wrapper {
    position: relative;
        min-height: 100%;
        height: auto !important;
        height: 100%;
}

/* min-height für sticky-footer */
#container {
    position:relative;
        max-width:1030px;
        margin:120px auto 0;
    padding-bottom:100px;
    min-height:calc(100vh - 650px);
}
.container-gallery {
    position:relative;
        max-width:1300px;
    width:100%;
    margin:150px auto 0;
}
div#demo4 div h2 {
    border-radius:5px;
    margin:5px 5px 5px 0;
}
#main {
    margin: 150px 20px 0 25px;
        background-color: rgba(255, 255, 255, 0.85);
        overflow: hidden;
    /* workaround border left auf schrifthöhe */
    border-radius:15px;
        	
        /* div padding fix */
        -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
        -moz-box-sizing: border-box;    /* Firefox, other Gecko */
        box-sizing: border-box;         /* Opera/IE 8+ */
}
#main .inside {
    padding:0 10px 20px 10px;
}
h2.ce_headline {
    padding:0 0 30px 0;
    font-size:3.1rem;
    margin-bottom:20px;
}
#gallery-headline {
    padding:0 0 50px 0;
}
#gallery-article-nav {
    min-height:80px;
}
.gallery-headline2 {
    margin-top:50px;
}
h3.ce_headline {
    padding:20px 0 10px 0;
    font-size:2rem;
}
div.ce_text {
    padding:0 0 20px 0;
}
.last.block {
    padding-bottom:0;
}
div.ce_hyperlink {
    padding: 0 20px;
}
div.ce_hyperlink.headline_hyperlink {
    font-size:22px;
        padding-top:20px;
}
figure.image_container.float_left img {
    float:left;
        margin: 10px 10px 0 0;
        border-radius:5px;
}
div.ce_hyperlink.hyperlink-anker {
    display:inline-block;
    margin:20px 0 20px 0;
    padding:0 20px 0 0;
}
.inline_bild {
    display: inline;
        float: left;
        margin-right: 15px;
        padding-top: 5px;
        height: auto; 
        width: 410px;
        margin-bottom:10px;
}
.justified-gallery a img,
.justified-gallery2 a img {
    -webkit-filter: grayscale(100%);
      -webkit-transition: .5s ease-in-out;
      -moz-filter: grayscale(100%); 
      -moz-transition: .5s ease-in-out;
      -o-filter: grayscale(100%); 
      -o-transition: .5s ease-in-out;
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
}
.justified-gallery a img:hover,
.justified-gallery2 a img:hover {
    -webkit-filter: grayscale(0%);
      -webkit-transition: .5s ease-in-out;
      -moz-filter: grayscale(0%);
      -moz-transition: .5s ease-in-out;
      -o-filter: grayscale(0%);
      -o-transition: .5s ease-in-out;
}
div#work-diagram img,
div#arbeitsdiagramm img {
    width:100%;
    height:auto;
}

/* abstand zum nächsten element */
.gallery-series {
    margin-bottom:100px;
}

/* um anchor tags bei einem fixen header nicht versteckt unter dem header anzuspringen */
:target:before {
    content:"";
    display:block;
    height:100px; /* fixed header height*/
    margin:-100px 0 0; /* negative fixed header height */
}
footer {
    background-color:#999;
    margin-top:100px;
    min-height:300px;
    width:100%;
    bottom:0;
    padding-bottom:20px;
}
footer div.inside {
    padding:40px 40px 0;
}
footer ul li {
    list-style-type:none;
}
footer div.info-box-newsletter {
    margin-top:40px;
    background:#777;
    border-radius:5px;
    padding:10px;
    display:inline-block;
}
footer div.info-box-newsletter p {
    color:#fff;
    font-size:1.4rem;
}
footer div.info-box-newsletter a {
    text-decoration:underline;
    font-size:1.1rem;
}
footer div.info-box-newsletter a:hover {
    color:#ccc;
}
footer div.copyright {
   margin-top:40px;
}
footer li.active {
    font-weight:bold;
}
footer li a:hover,
footer p a:hover {
    font-weight:bold;
}

/* Error-Meldung z.B. bei ungültigen Newsletter Angaben */
p.error {
    color: black;
    background: #ea8a87;
    border-radius: 5px;
    margin-bottom: 30px;
    padding: 10px;
}

/* Bestätigungs-Angabe z.B. Bestätigung Abmeldung Newsletter */
p.confirm {
    color: black;
    background: #a9ecaa;
    border-radius: 5px;
    margin-bottom: 30px;
    padding: 10px;
}
.mod_booknav li {
    list-style-type: none;
    text-decoration: underline;
    padding: 0 35px 0 35px;
}
.mod_booknav li a:hover {
    font-weight:bold;
    color:#333;
}
.mod_booknav li.prev {
    position: absolute;
    bottom: 0;
    left: 0;
}
.mod_booknav li.next {
    position: absolute;
    bottom: 0;
    right: 0;
}
.mod_breadcrumb {
    margin-bottom:50px;
}

/* listenelemente nebeneinander */
.mod_breadcrumb li {
    display: inline-block;
}

/* Nach einem Listenelements Trennzeichen einfügen */
.mod_breadcrumb li:after {
    content: " > ";
}

/* Nach dem letzten Listenelement kein Trennzeichen */
.mod_breadcrumb li.active:after {
    content:"";
}
.mod_breadcrumb li img {
    height:25px;
    margin-bottom:-6px;
}
.mod_breadcrumb li a:hover {
    font-weight:bold;
    color:#777;
}

/* empty link soll nicht angezeigt werden */
.empty {
    display:none;
}
nav.mod_changelanguage {
    position:absolute;
    top:0;
    right:25px;
}
nav.mod_changelanguage ul.language-toogle li {
    float:left;
    list-style-type:none;
    padding:0 5px 0 5px;
}
nav.mod_changelanguage ul.language-toogle li a {
    text-decoration:underline;
}
.columns {
    -webkit-columns: 2 300px;
    -moz-columns: 2 300px;
    columns: 2 300px;
    -webkit-column-gap: 4em;
    -moz-column-gap: 4em;
    column-gap: 4em;
    margin-bottom: 50px;
}
figure.txt-inline-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}
.ce_download {
    margin-bottom:20px;
}
}

@media only screen and (max-width:984px) {

/* sticky footer (kleinerer head bei mobile nav) */
#container {
    min-height:calc(100vh - 620px);
}
div#main {
    margin-top:100px;
    margin-left:5px;
    margin-right:5px;
}
div.ce_form {
    clear:both;
        width:100%;
}
.inline_bild {
    width:300px;
    height:200px;
}
#gallery-headline {
    padding-bottom:10px;
}
.gallery-headline2 {
    padding-bottom:20px;
}
.container-gallery {
    margin-top:100px;
}
#main .inside {
    border:0;
}
footer ul.footer-nav li {
    font-size:1.4rem;
    margin-bottom:10px;
}
.mod_booknav li {
    padding:0 15px 0 15px;
}
}

@media screen {
.back-to-top {
    width: 40px;
        height: 40px;
        position: fixed;
        bottom: 2em;
        right: 2em;
        background: url(../../files/images/back_to_top_button.png) no-repeat;
        opacity: 0.7;
        z-index: 1000;
        display: none;
}
.back-to-top:hover {
    opacity: 0.9;
}
}

@media screen {

/* hide invisible elements */
.invisible {
    width:1px;
    height:1px;
    position:absolute;
    overflow:hidden;
    margin:-1px;
    padding:0;
    border:0;
    clip:rect(0 0 0 0);
}
#header {
    width:100%;
    height:85px;
    text-transform:lowercase;
    background-color: rgba(255,255,255,1);
    border-bottom: 2px solid rgba(0,0,0,0.85);
    z-index: 1000;
    position:fixed;
    top:0;
}
header div.inside {
    width:984px;
    height:auto;
    position:relative;
    margin:auto;
    z-index:1;
}
.logo {
    position:absolute;
    padding-top:25px;
    font-size:2.5rem;
}
.level_1 {
    width:auto;
    position:relative;
    float:right;
    margin:0;
    padding:0;
    list-style:none;
}
.level_1 li,
.level_1 li.active {
    position:relative;
    float:right;
    display:inline-block;
    margin:0;
    padding:22px 0 0;
    font-size:1em;
    font-weight:normal;
}
.level_1 > li > a,
.level_1 li span.active
/* .level_1 > li.submenu -> wird zurzeit nicht benötigt */ {
    display:block;
    padding:20px 22px;
    text-decoration:none;
    color:#000;
    -webkit-transition:color 0.2s linear, background 0.2s linear;
    -moz-transition:color 0.2s linear, background 0.2s linear;
    -o-transition:color 0.2s linear, background 0.2s linear;
    transition:color 0.2s linear, background 0.2s linear;
}
.level_1 li a.active {
    color:#fff;
    font-weight:bold;
}
ul.level_1 li ul.level_2 il.active {
    padding:0;
}
.level_1 ul.level_2 {
    width:200px;
    top:87px;
    position:absolute;
    display:none;
    padding:0;
    border-color:#0;
    list-style: none;
    z-index: 99999;
    background-color:rgba(255,255,255,0.4);
    box-shadow: 0 2px 2px rgba(0,0,0,0.4);
}
.level_2 li {
    width:100%;
    float:left;
    font-size:.9em;
    background-color:#fff;
    padding:0;
}
.level_1 ul li a,
.level_1 ul li span.active {
    width:100%;
    float:left;
    clear:both;
    display:inline-block;
    padding:10px 20px;
    text-decoration:none;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    -webkit-transition:color 0.2s linear, background 0.2s linear;
    -moz-transition:color 0.2s linear, background 0.2s linear;
    -o-transition:color 0.2s linear, background 0.2s linear;
    transition:color 0.2s linear, background 0.2s linear;
}
.level_1 ul li:hover > a {
    border-bottom_none;
}
.level_1 > li .indicator {
    top:20px;
    position:absolute;
    font:0px 'Source Sans Pro',sans-serif;
    color:#000;
    right: 8px;
}
.level_1 ul > li .indicator {
    top:10px;
    right: 8px;
}
li.right:hover {
    background-color:#bdbdbd;
}
li.right.active {
    background-color:#306c77;
}
.level_2 li:hover {
    background-color:#bbb;
}
ul.level_2 li.sibling,
ul.level_2 li.active {
    width:100%;
    float:left;
    color:#000;
    font-size;
    0.9em;
    padding:0;
}
ul.level_2 > li > a,
ul.level_2 > li > span {
    font-size:.9em;
    color:#000;
}
ul.level_2 li a.active {
    font-size:.8em;
    background:#1f8da1;
    padding-right:20px;
}
.thin > li > a {
    padding:10px 22px;
}
.thin ul {
    top:40px;
}
.thin > li .indicator {
    top:10px;
}
.thick > li > a {
    padding:23px 20px 22px 18px;
}
.thick ul {
    top:80px;
}
.thick > li .indicator {
    top:22px;
}
.level_1 > li.showhide {
    width:100%;
    height:50px;
    display:none;
    color:#09c;
    cursor: pointer;
    border-bottom: solid 2px rgba(0, 0, 0, 0.85);
}
.level_1 > li.showhide span.title {
    float:left;
    display:none;
    margin:16px 0 0 25px;
}
.level_1 > li.showhide span.icon {
    float:right;
    margin:8px 20px;
}
ul.level_3 {
    visibility:none;
}
.level_1 > li.showhide .icon em {
    width:25px;
    height:3px;
    display:block;
    margin-bottom:3px;
    background: rgba(0, 0, 0, 0.85);
}
}

@media only screen and (max-width: 984px) {
#header {
    height:auto;
    overflow:hidden;
    border-bottom:0px;
    background-color: rgba(255,255,255,1);
}
header div.inside {
    width:100%;
}
.logo {
    padding-top:15px;
    padding-left:25px;
}
.level_1 {
    width:100%;
}
.level_1.vertical {
    width:100%;
}
.level_1 li {
    width:100%;
    display:block;
    padding:0
}
.level_1 li:hover,
.level_1 li.active {
    padding:0;
    background-color:rgba(150,150,150,1);
    color:#fff;
}
.level_1 li.showhide,
.level_1 li.showhide:hover {
    padding-top:22px;
    background-color:transparent;
}
.level_1 > li > a,
.level_1 > li > .submenu {
    padding-top:15px;
    padding-bottom:15px;
    padding-left:25px;
    background-color: rgba(232, 231, 231, 0.6);
}
.level_1 li:hover > a,
.level_1 li:active > a,
.level_1 li:active > .submenu {
    color:#fff;
    background: rgba(200, 200, 200, 0.85);
    border-bottom: none;
}
.level_1 li.active li a {
    color:#9BBFA8;
}
.level_1 li.active li:hover {
    color:#fff;
}
.level_1 a {
    width:100%;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
}
.level_1 ul.level_2,
.level_1 ul li ul,
.level_1.vertical ul,
.level_1.vertical ul li ul {
    width:100%;
    left:0;
    position:static;
    border-left: none;
    background-color: transparent;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
}
.level_1 ul li {
    border-left: none;
    border-right: none;
}
.level_1 ul li a,
.level_1.vertical ul li a {
    padding-top:10px;
    padding-bottom:10px;
    color:#000;
    background-color: rgba(232, 231, 231, 0.8);
}
.level_1 ul > li > a {
    padding-left: 40px !important;
}
.level_1 > li .indicator {
    top:15px;
    font-size:17px;
    right: 25px;
}
.level_1 ul > li .indicator {
    right:24px;
    color:#7e7e7e;
}
.level_1.vertical ul > li .indicator {
    top:10px;
    right: 15px;
}
}

div.ce_form {
    width:50%;
    float:left;
    padding-bottom:10px;
}
div#kontakt {
    width:100%;
    display:table;
}
div.formbody {
    vertical-align:top;
    /* div padding fix */
        -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
        -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
        box-sizing: border-box;
    /* Opera/IE 8+ */
    /*   padding:20px; */
}
div.widget.widget-headline.headline {
    line-height:24px;
}
label {
    display:block;
    margin-top:15px;
    margin-bottom:10px;
}
input {
    width:100%;
    height:40px;
    font-size:16px;
    font-weight:normal;
    color:#000;
    /* background-color: rgba(200, 200, 200, 0.3); */
    border:0;
    border-bottom: 2px solid black;
    padding-left:5px;
    margin:10px 0;
       -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
        -moz-box-sizing: border-box;    /* Firefox, other Gecko */
        box-sizing: border-box;         /* Opera/IE 8+ */
}
textarea {
    width:100%;
    height:210px;
    margin:5px 0 10px;
    padding:10px;
    font:16px 'Source Sans Pro',sans-serif;
    font-weight:normal;
    color:#000;
    /* background-color: rgba(200, 200, 200, 0.3); */
    border:0;
    border-bottom:2px solid black;
    /* div padding fix */
        	-webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
        	-moz-box-sizing: border-box;
    /* Firefox, other Gecko */
        	box-sizing: border-box;
    /* Opera/IE 8+ */;
}
button.submit {
    width:100%;
    height:40px;
    margin:10px 0 25px;
    text-align:center;
    border-radius:5px;
    color:#fff;
    text-transform:uppercase;
    background-color: #306c77;
    border: 1px black solid;
    cursor: pointer;
    /* div padding fix */
        	-webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
        	-moz-box-sizing: border-box;
    /* Firefox, other Gecko */
        	box-sizing: border-box;
    /* Opera/IE 8+ */
        	
        	-webkit-transition: background-color 0.2s ease-in-out;
    -moz-transition: background-color 0.2s ease-in-out;
    -ms-transition: background-color 0.2s ease-in-out;
    -o-transition: background-color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out;
}
input.submit:hover {
    background-color:rgba(65, 176, 125, 0.9);
}
div.ce_text.copyright {
    padding:0 20px;
}

@media only screen and (max-width:984px) {
input,
button.submit {
    height:60px;
    font-size:1.3rem;
}
textarea {
    font-size:1.3rem;
}
}

