@media (min-width: 891px) {
	.primary-menu > li:hover > a {
		border-color: #fff;
	}
	
	.primary-menu > li.active > a {
		border-color: #fff;
	}
	
	.sub-menu > li.active {
		background-color: #fff;
	}
	
	.sub-menu > li.active > a {
		color: #9c372f;
	}
	
	#nav-wrapper {
		height: 100%;
		width: 100%;
	}

	#site-navigation {
		display: table-cell;
		vertical-align: middle;
	}
	
	.sub-menu > li {
		white-space: nowrap;
	}
	
	.sub-menu > li:hover {
		background-color: #fff;
	}

	.sub-menu > li:hover > a {
		color: #9c372f;
	}
	
	.sub-menu {
		position: absolute;
		top: 58px;
		left: -7px;
		background-color: rgba(154,23,28, 0.9);
	}
	
	#menu-hauptmenue > li:hover > .sub-menu {
		display: block;
	}
	
	#menu-mainmenu > li:hover > .sub-menu {
		display: block;
	}
	
	#header {
		left: 0;
		top: 28px;
	}
	
	.primary-menu > li > a {
		padding: 25px 0 13px 0 !important;
		height: 58px;
	}
	
	#header-inner {
		display: block;
		max-width: 1200px;
		width: 100%;
		margin: 0 auto;
		position: relative;
	}
}

@media (max-width: 1140px) {
	.primary-menu > li > a {
		font-size: 17px;
	}
	
	.primary-menu > li {
		padding: 0px 6px;
	}
	
	#header-logo {
		width: 230px;
	}
	
	#primary-nav-button {
		width: calc(100% - 230px);
	}
	
	.primary-menu-container {
		left: 220px;
	}
}

@media (max-width: 1024px) {
	.primary-menu > li {
		padding: 0px 5px;
	}
	
	#header-logo {
		width: 200px;
	}
	
	#primary-nav-button {
		width: calc(100% - 150px);
	}
	
	.primary-menu-container {
		left: 190px;
	}
	
	#header-logo img {
		width: 140px;
	}
	
	.primary-menu > li > a {
		font-size: 16px;
	}
	
	#footer-navigation td {
		padding-right: 2%;
	}
	
	.news-tall-image-text .news-image-caption-text p {
		max-height: 95px;
	}
	
	#header {
		/* padding: 0 90px 17px 0; */
	}
}

@media (max-width: 890px) {
	.primary-menu-container {
		top: 14px;
		left: 67px;
		min-width: 230px;
		padding: 15px 0;
	}
	
	.reference-slider-inner {
		max-width: 100%;
	}
	
	.reference-additional-info {
		position: relative;
		display: block;
		max-width: 100%;
		margin-top: 20px;
		height: auto;
	}
	
	.reference-text {
		float: left;
		width: 74%;
	}
	
	.reference-text-full-width {
		width: 100%;
	}
	
	.reference-agent {
		float: right;
		position: relative;
		width: 23%;
		top: 0;
		right: 0;
	}
	
	.contact-field {
		width: 100%;
		display: block;
		margin-bottom: 40px;
	}
	
	.contact-form {
		width: 100%;
		display: block;
		margin-left: 0;
	}
	
	.primary-menu {
		display: block;
		padding: 55px 25px 0 10px;
	}
	
	#primary-nav-button {
		width: calc(100% - 100px);
	}
	
	.primary-menu > li {
		display: block;
		margin-bottom: 6px;
		word-break: break-word;
	}
	
	.primary-menu > li > a {
		font-size: 20px;
		line-height: 20px;
		display: block;
		border-left: 3px solid transparent;
		padding-left: 4px;
		padding: 2px 0 2px 4px;
	}
	
	#ll-main-nav {
		top: 0px;
		margin-top: 0;
	}
	
	#language-switcher-container {
		top: 5px;
		margin-top: 0;
	}
	
	.display-nav-wrapper {
		display: block !important;
	}
	
	.primary-menu .primary-responsive-plus {
		display: block;
		position: absolute;
		right: 6px;
		top: 0;
		cursor: pointer;
		color: #fff;
		font-size: 14px;
		padding: 4px;
	}
	
	.sub-menu > li {
		background-color: rgba(154,23, 28, 0.9);
		margin-bottom: 2px;
		border-left: 3px solid transparent;
		padding-right: 3px;
	}
	
/* 	.sub-menu > li.active {
		background-color: #fff;
	}
	
	.sub-menu > li.active a {
		color: rgb(153, 68, 61);
	} */
	
	.primary-menu > li.active > a {
		border-color: #fff;
		border-bottom: none;
	}
	
	.sub-menu > li.active {
		border-color: #fff;
	}
	
	.preview-box {
		display: block;
		margin: 10px auto;
		width: 270px;
	}
	
	#footer-navigation table td {
		display: block;
		padding-right: 0;
		text-align: center;
		margin-bottom: 40px;
	}
	
	#footer-navigation h2 {
		text-align: center;
	}
	
	.footer-bottom-nav {
		text-align: center;
		display: block;
		margin-bottom: 20px;
		width: 100%;
		margin-right: 0;
	}
	
	.footer-certificate-container {
		display: block;
		width: 100%;
		margin-left: 0;
		text-align: center;
	}
	
	.legal-contact {
		width: 47%;
		margin-right: 6%;
		margin-bottom: 40px;
	}
	
	.legal-credits {
		width: 47%;
		margin-bottom: 40px;
		margin-right: 0;
	}
	
	.legal-text {
		width: 100%;
		display: block;
	}
	
	.reference-slider-inner .soliloquy-container .soliloquy-next {
		top: 50%;
		right: 10px;
		margin-top: -45px;
		height: 90px;
		width: 28px;
		bottom: initial;
		background-color: rgba(0,0,0,0.5);
		padding: 2px;
	}
	
	.reference-slider-inner .soliloquy-container .soliloquy-prev {
		top: 50%;
		left: 10px;
		margin-top: -45px;
		height: 90px;
		width: 28px;
		bottom: initial;
		background-color: rgba(0,0,0,0.5);
		padding: 2px;
	}
}

@media (max-width: 800px) {
	.news-image-caption-text, .news-tall-image-text .news-image-caption-text {
		display: block;
		width: 100%;
		position: initial;
	}
	
	.news-tall-image-text .news-image-caption-date {
		bottom: 2%;
	}
	
	.news-image-medium, .news-image-standard {
		display: block;
		width: 100%;
	}
	
	.news-image-wrapper img {
		max-width: 100%;
		width: auto;
		margin: 0 auto;
	}
	
	#lightbox .lb-caption {
		bottom: inherit;
		top: calc(100% + 40px);
		background-color: rgba(255,255,255,0.8);
		max-height: none;
	}
	
	#lightbox .lb-caption > p {
		color: #000;
	}
	
	.news-image-container > a {
		display: table;
		margin: 0 auto;
	}
	
	.news-image-large .news-image-caption-text p, .news-image-caption-text p, .news-tall-image-text .news-image-caption-text p {
		max-height: none;
		height: auto;
		-webkit-column-count: initial;
		-moz-column-count: initial;
		-column-count: initial;
	}
	
	.news-image-container {
		margin-bottom: 60px;
	}
	
	.news-image-caption-text, .news-image-large .news-image-caption-text {
		padding: 20px !important;
		max-height: none;
	}
}

@media (min-width: 891px) and (max-width: 1100px) {
	.preview-excerpt p {
		font-size: 14px;
		height: 60px;
	}
	
	.preview-excerpt h1 {
		font-size: 18px;
	}
}

@media (max-width: 768px) {
	.single-content .image-content, .single-content .text-content {
		width: 100%;
		display: block;
		vertical-align: initial;
		padding: 0 10px;
	}

	.single-content .image-content {
		max-width: 250px;
		margin-bottom: 20px;
		display: block;
		margin: 0 auto 15px auto;
	}
}

@media (max-width: 700px) {
	#navigate-up-arrow, #navigate-down-arrow {
		right: 10%;
	}
}

@media (max-width: 600px) {
	.output-description-wrapper {
		position: relative;
		margin-top: 10px;
	}
	
	.output-description-image {
		top: 20px;
		width: 100%;
		right: -46%;
	}
	
	.reference-text-box {
		font-size: 16px;
	}
	
	.reference-text {
		max-height: initial;
	}
	
	.output-description-image img {
		width: 50%;
		max-width: 140px;
		position: absolute;
		right: 0;
	}
	
	.output-text p {
		-webkit-column-count: auto;
		-moz-column-count: auto;
		column-count: auto;
	}
	
	.output-description-woimage-responsive {
		width: 100%;
	}
	
	.output-description-woimage-responsive .output-description {
		max-width: 100%;
	}
	
	.legal-contact {
		width: 100%;
		margin-right: 0;
		margin-bottom: 40px;
	}
	
	.legal-credits {
		width: 100%;
		margin-bottom: 40px;
		margin-right: 0;
	}
	
	.legal-text {
		width: 100%;
		display: block;
	}
	
	#home-slider, .home-section-intro, .featured-image-section, .intro-image-section {
		height: 420px;
	}
	
	#home-slider-section {
		min-height: 300px;
	}
	
	h1 span:first-child {
		display: block;
	}
}

@media (max-width: 320px) {
	#header {
		padding-right: 0;
	}
	
	#site-navigation {
		min-width: 220px;
	}
	
	#primary-container {
		left: 10%;
	}
}

@media (max-height: 890px) {
	.home-section-intro, .featured-image-section, .intro-image-section {
		height: 100%;
		min-height: 560px;
	}
	
	#home-slider, #home-slider-section {
		height: 680px;
	}
}

@media (max-height: 710px) {
	.home-section-intro, .featured-image-section, .intro-image-section {
		height: 100%;
		min-height: 420px;
	}
	
	#home-slider, #home-slider-section {
		height: 600px;
		min-height: 600px;
	}
}

@media (max-height: 570px) {
	.home-section-intro, .featured-image-section, .intro-image-section {
		height: 100%;
		min-height: 300px;
	}
	
	#home-slider, #home-slider-section {
		height: 380px;
		min-height: 380px;
	}
}