html:lang(en) *:lang(de), html:lang(de) *:lang(en), form.node-form .full.en *:lang(de), form.node-form .full.de *:lang(en) {
  display: none;
}

form.node-form .de *:lang(de), form.node-form .en *:lang(en) {
  display: inline;
}

form.node-form .full.de p, form.node-form .full.en p, form.node-form .full.de div, form.node-form .full.en div,
form.node-form .full.de p:lang(de), form.node-form .full.en p:lang(en), form.node-form .full.de div:lang(de), form.node-form .full.en div:lang(en) {
  display: block;
}

b, strong {
	font-weight: 700;
}
		
		.pagelayout-item.headeritem { overflow: visible !important;}
		.videoitem { overflow:auto; }

		.pagelayout-item.textitem, .pagelayout-item.textitem .full { /*, .pagelayout-item.headeritem, .node header h2 { */
			background: none; 
			/*
			-moz-hyphens: auto;
   			-o-hyphens: auto;
   			-webkit-hyphens: auto;
   			-ms-hyphens: auto;
   			hyphens: auto;
   			
			-moz-hyphenate-limit-chars: 7 3 3;
			-o-hyphenate-limit-chars: 7 3 3;
			-webkit-hyphenate-limit-chars: 7 3 3;
			-ms-hyphenate-limit-chars: 7 3 3;
			hyphenate-limit-chars: 7 3 3;

			-webkit-hyphenate-limit-after: 3;
			-webkit-hyphenate-limit-before: 3;
			
			-moz-hyphenate-limit-lines: 2;
			-o-hyphenate-limit-lines: 2;
			-webkit-hyphenate-limit-lines: 2;
			-ms-hyphenate-limit-lines: 2;
			hyphenate-limit-lines: 2;
			*/
		}
		.pagelayout-item h3 { padding: 0; margin: 0; }
		.pagelayout-item p, .pagelayout-item h3, #textitem p { margin-top: 0; padding-top: 0; margin-bottom: 20px;  /* -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; */}
		
		/* .pagelayout-item.textitem, .pagelayout-item.textitem .full { color: #333 !important; } */
		
		.pagelayout-item, .pagelayout-item.textitem, .pagelayout-item.textitem .full, .pagelayout-item h3 { 
			line-height: 24px;
			font-family: 'Theinhardt', sans-serif;
		    font-size: 21px;
  			letter-spacing: 0.02em;
		    font-weight: 600;
		    text-align: left;
		    /*text-align: justify;*/
		    text-transform: none;
		    text-decoration: none;
		 }

		 .pagelayout-item .credits, .pagelayout-item .small, .pagelayout-item .footnote, .pagelayout-item .subnote {
		 	line-height: 16px;
		    font-size: 12px;
		    font-weight: 400;
		 }		

		 .pagelayout-item .credits strong, .pagelayout-item .small strong, .pagelayout-item .footnote strong, .pagelayout-item .subnote strong {
		    font-weight: 600;
		 }

		/*.pagelayout-item.textitem, .pagelayout-item.textitem .full {
			    font-family: 'Times',"Courier New", Courier, monospace, "Times New Roman", Times, serif !important;
				font-size: 16px;
				line-height: 20px;
		}*/	 


		.pagelayout-item a, .pagelayout-item a:hover {
			/*font-style: italic;*/
			/* color: #000; */
			text-decoration: underline; /*none !important;
  			border-bottom: 1px solid #666;*/
			/*text-decoration: none;*/
		}
		.node_full_headline a, .node_full_headline a:hover, .more a, .more a:hover {
			text-decoration: none;
		}

		.field-type-pagelayout-header .pagelayout-item a, .pagelayout-item header a {
			/*font-style: italic;*/
  			border: none;
			/*text-decoration: none;*/
		}

		.pagelayout-item .field-label {
			font-weight: normal;
		}
		.pagelayout-item .date-display-single {
			/*font-style: italic !important;*/
		}

		.more {
			display: none;
			font-weight: bold;
		}
		.more a {
			padding-left: 220px;
			background: url(arrow.svg) no-repeat 0 0;
  			border: none !important;
		}

		.text-offset, .pagelayout-item.textitem .full {
		}

		.pagelayout-item.textitem {
			background: none;
		}

		.pagelayout-item .image-overlay {
			background-color: #ffe56b;
		}

		.pagelayout-item.textitem hr {  background: #666;  border: none;  clear: both;  float: none;  height: 1px;  margin: 0 0 0;  width: 100%; }
		
		 .pagelayout-item h3 {
		 	text-decoration: none;
		 }

		 .pagelayout-item iframe {
		 	background: #000;
		 	overflow: hidden;
		 }

#pagelayout #autocomplete {
	left: 30px !important;
	top: 180px !important;
}

.pagelayout-item .field-item {
	padding-right: 0;
	display: inline;
}


.field-name-field-media, .field-name-field-categories, .field-name-field-completion {
  display: inline;
  text-transform: lowercase;
}

.field-name-field-media a, .field-name-field-categories a {
  text-decoration: underline !important;
}

.pagelayout-item.nodereferenceitem,
.field-name-pagelayout-nodereference .pagelayout-item {
	box-shadow: none;
	/*box-shadow: 0 0 20px -5px #111; background: #fff;*/
}

.nodereferenceitem .node header,
.node-teaser header {
  position:absolute;
  /*margin: 10px 0;*/
  padding: 0;
  top: 0;
  width: 100%;
  /*background: #f600ff;*/
  background-image: url(data:image/gif;base64,R0lGODlhCAAIAIAAAAAAAP///yH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMwNjcgNzkuMTU3NzQ3LCAyMDE1LzAzLzMwLTIzOjQwOjQyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNSAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo5QTAyMDA2RjQ4QUUxMUU1ODAwN0Y3RTA1Nzc3QTNERiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo5QTAyMDA3MDQ4QUUxMUU1ODAwN0Y3RTA1Nzc3QTNERiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjlBMDIwMDZENDhBRTExRTU4MDA3RjdFMDU3NzdBM0RGIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjlBMDIwMDZFNDhBRTExRTU4MDA3RjdFMDU3NzdBM0RGIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAAAAAAAsAAAAAAgACAAAAghEjqnLbA1hAQA7);
  
}

.nodereferenceitem .node header,
.node-teaser header,
.nodereferenceitem .node .node-content a img,
.node-teaser .node-content a img {
  -webkit-transition: opacity 0.5s ease-in-out;
  -moz-transition: opacity 0.5s ease-in-out;
  transition: opacity 0.5s ease-in-out;
}

.node header h2 a, h2, h2.node-full-headline, h3 {

  position:absolute;
  font-family: 'Theinhardt', sans-serif;
  font-size: 62px;
  line-height: 2ex;
  letter-spacing: -0.01em;
  margin-left: -4px;
  font-weight: 200;
  text-transform: uppercase;
  text-decoration: none;
  /* color: black; */
}

.node-teaser header h2 {
  margin: 12px 8px;
  width: 506px;
}

.node-teaser .teaser-text {
  position:absolute;
  bottom: 0;
  margin: 8px 13px;
}


.nodereferenceitem .node header,
.node-teaser header {
  opacity: 0; filter:Alpha(Opacity=0);
}

.nodereferenceitem .node:hover header,
.node-teaser:hover header,
.nodereferenceitem .node.hover header,
.node-teaser.hover header  {
  opacity: 1; filter:Alpha(Opacity=100);
}

.nodereferenceitem .node:hover .node-content a img,
.node-teaser:hover .node-content a img,
.nodereferenceitem .node.hover .node-content a img,
.node-teaser.hover .node-content a img {
  opacity: 0; filter:Alpha(Opacity=0);
}

.pagelayout-item .field-item, .pagelayout-item .field {
	line-height: 20px;
}

.grayscale {
    filter: url(filters.svg#grayscale); /* Firefox 3.5+ */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(1); /* Google Chrome & Safari 6+ */
}	




/**

 * COLOR INVERT

 */

body.invert #pagelayout-content {
  background-color: #000;
  color: #fff;
}
