/* ##### INSTA ##### */
@supports (display: grid) {
  .nsinstagram-v1apiview .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    grid-gap: 1rem;
  }
}

/* open-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v40-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v40-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	 margin: 0;
	 padding: 0;
	 border: 0;
	 font-size: 100%;
	 font: inherit;
	 vertical-align: baseline;
}
body {
	 font-family: 'Open Sans', sans-serif;
	 font-size: 100%;
	 line-height: 1.3em;
	 color:#626262;
	 text-align: center;
     margin:0;
}
.clear { clear:both; }

/* ##### STRUKTUR ##### */
#head { position:sticky; top:0; z-index:1000; background-color:#fff; }
#head .container2 { width:90%; max-width: 1200px; margin: auto; position: relative; height:110px; }
#navigation { padding: 45px 0 0 0; }
#socialmedia { float:right; padding: 40px 0 0 20px; }
#socialmedia a { margin-left: 10px; }
#logo { float: left; padding:17px 0 0 0; }

/* ##### NAVIGATION ##### */
nav [type="checkbox"] { display: none; }
#navigation ul { float:right; }
#navigation li { display:inline; list-style-type:none; }
#navigation li a { color:#000; margin-left:20px; text-decoration:none; }


#content { width:100%; margin:0 auto; }
.container {
  position:relative;
  width:90%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-column-gap: 30px;
  grid-row-gap: 60px;
  grid-template-columns: repeat(12, 1fr [col-start]);
}
.container > div:not(.frame-slider) {
  grid-column: span 12;
}
#footer .container { grid-row-gap: 0; }

#titelbild img { width:100%; height:auto; }
.grau { background-color:#edeeee; }
.weiss { background-color:#fff; }
.grau .container, .weiss .container { padding: 100px 0; }
.grau .container:empty , .weiss .container:empty { padding: 0; }

.ce-intext.ce-left .ce-gallery { margin-right: 60px; }

.frame-box_gelb, .frame-box_gruen, .frame-box_grau { text-align:center !important; padding:30px; grid-column: span 4 !important; overflow:hidden; border-radius:10px; }
.frame-box_gelb, .frame-box_gruen a { background-color:#dedc00; }
.frame-box_grau, .frame-box_gelb a { background-color:#edeeee; }
.frame-box_gruen, .frame-box_grau a { background-color:#afca0b; }
.frame-box_gelb a, .frame-box_gruen a, .frame-box_grau a { padding:10px 20px; border:1px solid #fff; border-radius: 8px; color:#000; text-decoration:none; }
.frame-box_gelb h3, .frame-box_gruen h3, .frame-box_grau h3 { margin-bottom: 20px; }
.frame-box_gelb p, .frame-box_gruen p, .frame-box_grau p { margin: 30px 0 0 0; }




.frame-box30-grau .ce-bodytext, .frame-box30-weiss .ce-bodytext { padding:10px; }
.frame-box30-grau img, .frame-box30-weiss img { width:100%; height:auto; }
.frame-box30-grau h3, .frame-box30-weiss h3 { color:#000; margin-bottom:10px; }

.frame-box30-grau, .frame-box25-grau { background-color:#edeeee; } 
.frame-box30-weiss, .frame-box25-weiss { background-color:#fff; }

.frame-box30-grau, .frame-box30-weiss { display: flex; flex-direction: column; }
.frame-box30-grau header, .frame-box30-weiss header { order: 2; }
.frame-box30-grau div.tx-sg-vimeo, .frame-box30-weiss div.tx-sg-vimeo { order: 1; }
.frame-box30-grau h2, .frame-box30-weiss h2 { font-weight: 400; font-size: 20px; color: #000; margin-bottom:10px; }
.frame-box30-grau h3, .frame-box30-weiss h3 { font-weight: 400; font-size: 100%; color:#626262; margin-bottom:20px; }


.frame-type-text { text-align:left; }

.frame-type-image h2 { margin-top:20px; }

#footer { width:100%; background:#003050; padding:50px 0 30px 0; line-height:1.3em; color:#fff; }
#footer .footer_row { grid-column: span 3; text-align:left; margin-bottom: 25px; }
#footer .footer_row a { color:#fff; }
#footer .c0 { grid-column-start:1; grid-column-end:4; }
#footer .c1 { grid-column-start:4; grid-column-end:7; }
#footer .c2 { grid-column-start:7; grid-column-end:11; }
#footer .c3 { grid-column-start:11; grid-column-end:13; text-align:right; }
#footer a { text-decoration:none; }
#socialmedia_footer img { padding:10px 0 0 10px; }

.container .frame-type-image [data-ce-columns="1"] .ce-column { grid-column: span 12; }
.container .frame-type-image [data-ce-columns="2"] .ce-column { grid-column: span 6; }
.container .frame-type-image [data-ce-columns="3"] .ce-column { grid-column: span 4; }


.ce-left { text-align: left; }



#content p { margin:0 0 10px 0; }
h1 { font-weight: 400; font-size: 40px; line-height: 48px; color: #afca0b; margin-bottom:40px; }
h2 { font-weight: 400; font-size: 24px; color: #000; line-height:1em; margin:40px 0 20px 0; }
#footer h2 { font-weight: 400; font-size: 24px; color: #fff; line-height:1em; margin:0px 0 20px 0; }
h3 { font-weight: 400; font-size: 20px; color: #000; margin:30px 0 10px 0; }
em { font-style:italic; }
#content ul {padding-left: 20px;}
pre { margin-top:50px; }
pre a, pre a:visited {
	 color:#000;
	 text-decoration:none;
	 padding:10px 30px;
	 background:#FFCC00;
	 border-radius:10px;
   white-space: normal;
   line-height: 2em;
}
b, strong { font-weight:700; }
a { text-decoration: none; color: #afca0b; }
a:hover { color: #ccc; }





@media screen and (max-width: 1100px) {
  #content > .container { width:90%; }
}

@media screen and (max-width: 900px) {
    body { font-size:95%; }
    #head { min-height: 0; }
    #head .container { padding: 0; }
  .grau .container, .weiss .container { padding: 50px 0; }
  .frame-box_gelb, .frame-box_gruen, .frame-box_grau { grid-column: span 6 !important; }
  .ce-left .ce-gallery, .ce-column { float: none; }

    nav ul { display: none; }
label { display: block; background: #eee; width: 40px; height: 36px; cursor: pointer; position: absolute; right: 0px; top: 0px; }
label:after{ content:''; display: block; width: 30px; height: 4px; background: #fff; margin: -5px 0px; box-shadow: 5px 10px 0px #aaa, 5px 20px 0px #aaa, 5px 30px 0px #aaa;; }
[type="checkbox"]:checked ~ ul { display: block; z-index: 9999; position: absolute; right: 0px; left: auto; top: 31px; }
nav a { color: #aaa; }
nav > ul { padding:0; }
nav ul li { display: block; float: none; width: auto; text-align: left; background: #eee; }
nav > ul > li { margin-left: 0; padding:10px; border-bottom:1px solid #aaa; }
#navigation li { display: block; }
  #navigation li a { margin-left: 0; }
  
#footer .c0 { grid-column-start:1; grid-column-end:12; }
#footer .c1 { grid-column-start:1; grid-column-end:12; }
#footer .c2 { grid-column-start:1; grid-column-end:12; }
#footer .c3 { grid-column-start:1; grid-column-end:12; text-align:right; }


    h1 {
    	font-size: 38px;
    	line-height: 38px;
      	margin: 0 0 60px 0;
	}
    .container > div.frame-slider {
  		grid-column: span 12;
  		width: 100%;
      	margin-left: 0;
	}

  .container > div.frame-slider img { width:100%; max-width:none; height:auto; }
  .slick-arrow { display:none !important; }
    div.frame-slider .ce-intext.ce-right .ce-gallery, div.frame-slider .ce-intext.ce-left .ce-gallery, div.frame-slider .ce-above .ce-gallery {
  		border-radius: 20px 20px 0 0;
	}

    .slickdefault {
  		background: transparent;
	}

  .container .frame-type-image [data-ce-columns="2"] .ce-column { grid-column: span 12; }
}
@media screen and (max-width: 600px) {
  .frame-box_gelb, .frame-box_gruen, .frame-box_grau { grid-column: span 12 !important; }
  .video { position: relative; height: 0; padding-bottom: 56.25%; }
  .videoextern { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
}