header,footer,nav,section,aside,main,article,figure,figcaption{display:block}body,div,h1,h2,h3,h4,h5,h6,p,blockquote,pre,code,ol,ul,li,dl,dt,dd,figure,table,th,td,form,fieldset,legend,input,textarea{margin:0;padding:0}table{border-spacing:0;border-collapse:collapse}caption,th,td{text-align:left;text-align:start;vertical-align:top}abbr,acronym{font-variant:normal;border-bottom:1px dotted #666;cursor:help}blockquote,q{quotes:none}fieldset,img,iframe{border:0}ul{list-style-type:none}sup{vertical-align:text-top}sub{vertical-align:text-bottom}del{text-decoration:line-through}ins{text-decoration:none}body{font:12px/1 "Lucida Grande","Lucida Sans Unicode",Verdana,sans-serif;color:#000}input,button,textarea,select{font-family:inherit;font-size:99%;font-weight:inherit}pre,code{font-family:Monaco,monospace}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:400}h1{font-size:1.8333em}h2{font-size:1.6667em}h3{font-size:1.5em}h4{font-size:1.3333em}table{font-size:inherit}caption,th{font-weight:700}a{color:#00f}h1,h2,h3,h4,h5,h6{margin-top:1em}h1,h2,h3,h4,h5,h6,p,pre,blockquote,table,ol,ul,form{margin-bottom:12px}
body,form,figure{margin:0;padding:0}img{border:0}header,footer,nav,section,aside,article,figure,figcaption{display:block}body{font-size:100.01%}select,input,textarea{font-size:99%}#container,.inside{position:relative}#main,#left,#right{float:left;position:relative}#main{width:100%}#left{margin-left:-100%}#right{margin-right:-100%}#footer{clear:both}#main .inside{min-height:1px}.ce_gallery>ul,.content-gallery>ul{margin:0;padding:0;overflow:hidden;list-style:none}.ce_gallery>ul li,.content-gallery>ul li{float:left}.ce_gallery>ul li.col_first,.content-gallery>ul li.col_first{clear:left}.float_left,.media--left>figure{float:left}.float_right,.media--right>figure{float:right}.block{overflow:hidden}.media{display:flow-root}.clear,#clear{height:.1px;font-size:.1px;line-height:.1px;clear:both}.invisible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.custom{display:block}#container:after,.custom:after{content:"";display:table;clear:both}
/* source-sans-pro-300 - latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  src: url('../../files/shared/fonts/source-sans-pro-v13-latin-300.eot'); /* IE9 Compat Modes */
  src: local('Source Sans Pro Light'), local('SourceSansPro-Light'),
       url('../../files/shared/fonts/source-sans-pro-v13-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../../files/shared/fonts/source-sans-pro-v13-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('../../files/shared/fonts/source-sans-pro-v13-latin-300.woff') format('woff'), /* Modern Browsers */
       url('../../files/shared/fonts/source-sans-pro-v13-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../../files/shared/fonts/source-sans-pro-v13-latin-300.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/* source-sans-pro-300italic - latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 300;
  src: url('../../files/shared/fonts/source-sans-pro-v13-latin-300italic.eot'); /* IE9 Compat Modes */
  src: local('Source Sans Pro Light Italic'), local('SourceSansPro-LightItalic'),
       url('../../files/shared/fonts/source-sans-pro-v13-latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../../files/shared/fonts/source-sans-pro-v13-latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../../files/shared/fonts/source-sans-pro-v13-latin-300italic.woff') format('woff'), /* Modern Browsers */
       url('../../files/shared/fonts/source-sans-pro-v13-latin-300italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../../files/shared/fonts/source-sans-pro-v13-latin-300italic.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/* source-sans-pro-italic - latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 400;
  src: url('../../files/shared/fonts/source-sans-pro-v13-latin-italic.eot'); /* IE9 Compat Modes */
  src: local('Source Sans Pro Italic'), local('SourceSansPro-Italic'),
       url('../../files/shared/fonts/source-sans-pro-v13-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../../files/shared/fonts/source-sans-pro-v13-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../../files/shared/fonts/source-sans-pro-v13-latin-italic.woff') format('woff'), /* Modern Browsers */
       url('../../files/shared/fonts/source-sans-pro-v13-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../../files/shared/fonts/source-sans-pro-v13-latin-italic.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/* source-sans-pro-regular - latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: url('../../files/shared/fonts/source-sans-pro-v13-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'),
       url('../../files/shared/fonts/source-sans-pro-v13-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../../files/shared/fonts/source-sans-pro-v13-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../../files/shared/fonts/source-sans-pro-v13-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../../files/shared/fonts/source-sans-pro-v13-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../../files/shared/fonts/source-sans-pro-v13-latin-regular.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/* layout and general definitions
--------------------------------------------------*/

html, 
body {
	height:100%;
	margin:0; /* sticky footer */
	padding:0; /* sticky footer */
}

body {
	background: none repeat scroll 0 0 #000;
	font-size: 100%; /* overwrites the Contao layout.css */
    color: #ddd;
	font-family: 'Source Sans Pro', Calibri, sans-serif;
    font-weight:300;
    line-height:1.25; /* 20px/16px */
}

#wrapper {
	position:relative; /* sticky footer */
	min-height:100%; /* sticky footer */
	height: auto !important; /* sticky footer */
	height:100%;
	width:46.25em; /* 740px */ 
	padding:0 1.875em; /* 30px */
	margin:0 auto;
	background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAAH6Nf8rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEJJREFUeNpiFBQU/MQABEwMUAAQQAwgETAPIIAYYXIgABBAjBgK4QyAAEJRhyGLDAACiHiVFAoCBBhWi4jWPcgUAgAGeQgkTu2h0QAAAABJRU5ErkJggg==');
	background-repeat: repeat;
	background-attachment: scroll;
}

.testseite #wrapper {
	display: none;
	opacity: 0;
}

.testseite #wrapper.fadein {
	display: block;
	animation: fade-in 2s ease-in forwards;
}

@keyframes fade-in {
  0% {
    opacity: 0;
    display: none;
  }

  100% {
    opacity: 1;
    display: block;
  }
}

body.testseite {
	background-color: #000;
	background-image: url('../../files/einervontausend/grafik/system/backgroundimage_2k.jpg');
	background-position: left;
	background-size: cover;
}

#container {
	padding-bottom:6.25em; /* Platz für den sticky footer */
}

#footer {
	/* sticky footer */
	width:46.25em;
	position:absolute;
	height:1.875em;
	bottom:0;
}

/* font definitions
--------------------------------------------------*/

p {
	font-weight:300;
	font-size:1em; /* 16px/16px */
	line-height:1.25; /* 20px/16px */
}

strong {
	font-weight:400;
}

em {
	font-weight:300;
	font-style:italic;
}

h1 {
	margin-top:0; /* overwrites the 1em margin from the Contao reset.css */
	font-weight:300;
	font-size:2em; /* 32px/16px */
	line-height: 1; /* 32px/32px */
}

h2 {
	margin-top:0; /* overwrites the 1em margin from the Contao reset.css */
    font-weight:300;
    font-size:1.5em; /* 24px/16px */
   	line-height:1.166666667; /* 28px/24px */
}

h3 {
	margin-top:0; /* overwrites the 1em margin from the Contao reset.css */
	font-weight:300;
	font-size:1.125em; /* 18px/16px */
}

h4 {
	margin-top:0; /* overwrites the 1em margin from the Contao reset.css */
	font-weight:400;
	font-size:1em /* 16px/16px */
}


/* flexible images 
--------------------------------------------------*/

img {
	max-width:100%;
	height:auto;
}


/* responsive videos 
--------------------------------------------------*/

.video_container video {
	max-width:100%;
	height:auto;
}

.responsive {
    position:relative;
    height:0;
}

.responsive iframe {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.responsive.ratio-169 {
    padding-bottom:56.25%;
}

.responsive.ratio-1610 {
    padding-bottom:62.5%;
}

.responsive.ratio-219 {
    padding-bottom:42.8571%;
}

.responsive.ratio-43 {
    padding-bottom:75%;
}

.responsive.ratio-32 {
    padding-bottom:66.6666%;
}


/* links
--------------------------------------------------*/

a {
	text-decoration: none;
}

a:link, 
a:visited {
	color: #EC0006;
}

a:hover,
a:active {
	color:#999;
}

a:link,
a:hover,
a:focus,
a:active,
a:visited {
	outline:none;
}

/* Buttons
--------------------------------------------------*/

button,
button:hover,
button:active {
	outline:none;
}

/* Kopfzeile
--------------------------------------------------*/

#homeLink {
    padding-top: 1.25em; /* 20 px */
}

#homeLink h1 {
    font-size: 3em;
}

#homeLink span {
    font-size: 0.7em;
}

#homeLink p {
    font-size: 0.875em;
}

#sprachenwechsler {
	position:absolute;
	bottom:-12px;
	right:0;
    font-size: 0.875em;
}

#navigation2 {
	margin: 0 0 2em;
	line-height:1.5;
}

#sprachenwechsler li,
#navigation2 li {
    display: inline-block;
}

#sprachenwechsler li.first::after,
#navigation2 li::after {
	content: "|";
	padding: 0 0 0 0.1875em;
	font-weight: 400;
}

#navigation2 li.last::after {
	content: "";
	display: none !important;
}


/* Fusszeile
--------------------------------------------------*/

#footer p {
	font-size: 0.875em; /* 14px/16px */
}

#sharebuttons {
	float:right;
}

#sharebuttons a + a {
	margin-left:15px;
}

#sharebuttons a:link, 
#sharebuttons a:visited {
	color: #ddd;
}

#sharebuttons a:hover,
#sharebuttons a:active {
	color: #999;
}

.share_facebook {
	background-position: left center;
	background-repeat: no-repeat;
	padding-left:1.25em;
}

.share_twitter {
	background-position: left center;
	background-repeat: no-repeat;
	padding-left:1.25em;
}

.share_pinterest {
	background-position: left center;
	background-repeat: no-repeat;
	padding-left:1.25em;
}

/* Abstände
--------------------------------------------------*/

.abstand10 {
	margin-bottom:0.625em;
}

.abstand20 {
	margin-bottom:1.25em;
}

.abstand30 {
	margin-bottom:1.875em;
}

.abstand40 {
	margin-bottom:2.5em;
}

.abstand50 {
	margin-bottom:3.125em;
}


/* Galerie
--------------------------------------------------*/

.gallery1 ul {
	margin:0;
	padding:0;
	list-style-type:none;
}

.gallery1 li {
	padding:0;
	width:100%;
	margin:0;
}

.gallery4 ul {
	margin:0;
	padding:0;
	list-style-type:none;
}

.gallery4 li {
	float:left;
	padding:0;
	margin:0;
}

.gallery4 .col_0 {
	width: 23.65%; /* 4 images per row */
	margin-left: 0;
	margin-right: -100%; 
}

.gallery4 .col_1 {
	width: 23.65%; /* 4 images per row */
	margin-left: 25.45%;
	margin-right: -100%; 
}

.gallery4 .col_2 {
	width: 23.65%; /* 4 images per row */
	margin-left: 50.9%;
	margin-right: -100%; 
}

.gallery4 .col_3 {
	width: 23.65%; /* 4 images per row */
	margin-left: 76.35%;
	margin-right: -100%; 
}


/* Seite Kraniche 
--------------------------------------------------*/

.kranichslider {
	position: relative;
}

.kranichslider .image_container,
.kranichslider .video_container {
	float: left;
	width: 60.81081081%;
	margin-right: 1em;
}

.kranichslider .slider-control {
	height: 40px;
	width: 100px;
	position: absolute;
	bottom: 4px;
	left: 61%;
}

.kranichslider .slider-prev,
.kranichslider .slider-next {
	width: 49%;
	height: 1.875em;
	background-position: center center;
	background-repeat: no-repeat;
}


/* Seite Projekt
--------------------------------------------------*/

#vita img {
	width:10.375em;
}


/* Seite Aktuelles
--------------------------------------------------*/

#newsText .image_container {
	width: 50%;
}

/* Seite Kontakt
--------------------------------------------------*/

.kontakt_text {
	margin-bottom: 2.5em;
}

/* Impressum
--------------------------------------------------*/

#pflichtangaben h2,
#datenschutz h2 {
	margin-top: 1em;
}

#datenschutz iframe {
	background-color: #ccc;
	height: 12.5em;
}

#datenschutz ul {
	list-style: disc outside;
	padding-left: 2em;
}

#datenschutz ul li {
	padding: 0.125em 0;
}

/* @media
--------------------------------------------------*/

@media screen and (max-width: 50em) { /* 800px, vorher 719px */ 

	#wrapper {
		width:92.4%; /* vorher 94.4% */
		padding:0 3.8%; /* vorher 2.8% */
		margin:0;
	}

	#footer {
		width:92.4%; /* vorher 94.4% */
	}

	#header .inside {
		display: block;
	}

	#homeLink {
		display:block;
	}

	#homeLink h1 {
		display:block;
	}

	#homeLink p {
		display:block;
		text-align:left;
	}

}

@media screen and (max-width: 37.4375em) { /* 599px */

	#footer {
		height:4.375em;
	}

	#sharebuttons {
		float:none;
	}

	#copyright {
		clear:both;
	}

	#datenschutz iframe {
		height:16.875em;
	}

}

@media screen and (max-width: 29.9375em) { /* 479px */

	.kranichslider .image_container,
	.kranichslider .video_container {
		width: 100%;
		margin-right: 0;
	}
	
	.kranichslider .kranichtext {
		position: absolute;
		top: 15px;
		left: 15px;
		width: 90%;
	}
	
	.kranichslider h4 {
		color: #000;
		margin-bottom: 6px;
	}
	
	.kranichslider p {
		font-size: 0.875em;
		color: #000;
		margin: 0;
	}
	
	.kranichslider .slider-control {
		position: relative;
		bottom: 0;
		right: 0;
		left: 0;
		margin: 0 auto;
	}
	
	#datenschutz iframe {
		height:18.125em;
	}

}

@media screen and (max-width: 24.9375em) { /* 399px */

	#header {
		height:11em;
	}
	
	#homeLink h1 {
	    font-size: 2.25em; /* 36px */
	}

	#sprachenwechsler {
		position:relative;
		bottom:0;
		margin-top:1.5em;
		display:inline-block; /* prevent margin collapse */
	}

	#footer {
		height:5.3125em;
	}
	
	#container {
		padding-bottom:8em; /* Platz für den sticky footer */
	}

	#datenschutz iframe {
		height:20.625em;
	}

	#vita img {
		width:9.375em;
	}
	
	#newsText .image_container {
		width: 100%;
		margin-bottom: 20px;
	}

}

.masonry-item ,
.grid-sizer {
	width: 31.7567567%;
}

.gutter-sizer {
	width: 2.3648648%;
}

.masonry-item {
	height: auto;
	margin-bottom: 1.8%;
}

.masonry-item .image_container {
	/*margin-bottom: -5px;*/
}

.masonry-item .overlay {
	display: none;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAAH6Nf8rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEJJREFUeNpiFBQU/MQABEwMUAAQQAwgETAPIIAYYXIgABBAjBgK4QyAAEJRhyGLDAACiHiVFAoCBBhWi4jWPcgUAgAGeQgkTu2h0QAAAABJRU5ErkJggg==');
	background-repeat: repeat;
	background-attachment: scroll;
}

.masonry-item:hover .overlay {
	display: table;
}

.masonry-item .caption {
	display: table-cell;
	height: 90%;
	width: 90%;
	vertical-align: middle;
	text-align: center;
	color: #EC0006;
	padding: 5%;
}

@media screen and (max-width: 32.8125em) { /* 525px */

	.masonry-item ,
	.grid-sizer {
		width: 48.5%;
	}
	
	.gutter-sizer {
		width: 3%;
	}
	
}

/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/

#colorbox, #cboxOverlay, #cboxWrapper {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9999;
	overflow: hidden;
}

#cboxWrapper {
	max-width: none;
}

#cboxOverlay {
	position: fixed;
	width: 100%;
	height: 100%;
}

#cboxMiddleLeft, #cboxBottomLeft {
	clear: left;
}

#cboxContent {
	position: relative;
}

#cboxLoadedContent {
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

#cboxTitle {
	margin: 0;
}

#cboxLoadingOverlay, #cboxLoadingGraphic {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow {
	cursor: pointer;
}

.cboxPhoto {
	float: left;
	margin: auto;
	border: 0;
	display: block;
	max-width: none;
	-ms-interpolation-mode: bicubic;
}

.cboxIframe {
	width: 100%;
	height: 100%;
	display: block;
	border: 0;
	padding: 0;
	margin: 0;
}

#colorbox, #cboxContent, #cboxLoadedContent {
	box-sizing: content-box;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
}

/* 
    User Style:
    Change the following styles to modify the appearance of Colorbox. 
*/

#cboxOverlay {
	background: #000;
	opacity: 0.9;
	filter: alpha(opacity = 90);
}

#colorbox {
	outline: 0;
}

#cboxContent {
	background: none;
}

.cboxIframe {
	background: #fff;
}

#cboxError {
	padding: 50px;
	border: 1px solid #ccc;
}

#cboxLoadedContent {
	padding: 2.5em;
	background: none;
}

#cboxTitle {
	position: absolute;
	bottom: 1em;
	left: 2.5em;
	color: #fff;
}

#cboxCurrent {
	display: none !important;
}

#cboxLoadingGraphic {
	background: url(/files/einervontausend/grafik/system/loading.gif) no-repeat center center;
}

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {
	border: 0;
	padding: 0;
	margin: 0;
	width: auto;
	background: none;
	overflow: hidden;
	outline: none;
	font-size: 100%;
	line-height: 0;
	text-align: center;
	text-decoration: none;
	text-indent: -9999px;
	direction: ltr;
	-webkit-background-clip: padding;
	-moz-background-clip: padding;
	background-clip: padding-box;
}

/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {
	outline: 0;
}

#cboxPrevious {
	position: absolute; 
	top: 50%;
	left: 0.25em;
	margin-top: -1em;
	width: 1.875em;
	height: 1.875em;
	background-position: center center;
	background-repeat: no-repeat;
}

#cboxNext {
	position: absolute;
	top: 50%;
	right: 0.25em;
	margin-top: -1em;
	width: 1.875em;
	height: 1.875em;
	background-position: center center;
	background-repeat: no-repeat;
}

#cboxClose {
	position: absolute;
	top: 2.5em;
	right: 0.5em;
	display: block;
	width: 1.625em;
	height: 1.625em;
	background-position: center center;
	background-repeat: no-repeat;
}

/* Reduce top & bottom margins on small screens in landscape orientation */
@media screen and (max-height: 29.9375em) and (orientation: landscape) {

	#cboxLoadedContent {
		padding: 0.625em 2.5em 1.875em;
	}
	
	#cboxTitle {
		bottom: 0.625em;
	}
	
	#cboxClose {
		top: 0.625em;
	}
	
}

/* Limit caption width on small screens */
@media screen and (max-width: 29.9375em) and (orientation: portrait) {

	#cboxTitle {
		width: 75%;
		white-space: nowrap;
		overflow: hidden;
	}

}
