/* =============================================================================
   Mobile Nav
   ========================================================================== */
.menu-icon {
	width: 40px;
	height: 40px;
	position: relative;
	margin: 20px 20px 0 0;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	-o-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
	cursor: pointer;
	float: right;
	display: none;
	background: #484b52 url("/typo3conf/ext/t3p_core/Resources/Public/Images/bg-footer.jpg") repeat-x scroll 0 0;
	z-index: 9999;
}

.menu-icon span {
	display: block;
	position: absolute;
	height: 2px;
	width: 50%;
	background: #dc674a;
	opacity: 1;
	left: 25%;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .25s ease-in-out;
	-moz-transition: .25s ease-in-out;
	-o-transition: .25s ease-in-out;
	transition: .25s ease-in-out;
}

.menu-icon span:nth-child(1) {
	top: 35%;
}

.menu-icon span:nth-child(2),
.menu-icon span:nth-child(3) {
	top: 50%;
}

.menu-icon span:nth-child(4) {
	top: 65%;
}

.menu-icon.open span:nth-child(1) {
	top: 18px;
	width: 0%;
	left: 50%;
}

.menu-icon.open span:nth-child(2) {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}

.menu-icon.open span:nth-child(3) {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.menu-icon.open span:nth-child(4) {
	top: 18px;
	width: 0%;
	left: 50%;
}

.menu-icon.open {
	position: fixed;
	right: 0px;
}

/* =============================================================================
   Small Desktop
   ========================================================================== */
@media screen and ( max-width: 1210px ) {
	.row {
		width: 100%;
	}
	video {  
		width:100%; 
		max-width:500px; 
		height:auto; 
	}
}

@media screen and ( max-width: 1035px ) {
	#main-nav {
		display: none;
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		background: rgba(0, 0, 0);
		background-color: rgba(0, 0, 0, 0.95);
		color: rgba(0, 0, 0, 0.95);
		width: 100%;
		padding-top: 200px;
	}

	#main-menu {
		float: none;
	}

	#main-menu > li {
		float: none;
		text-align: center;
	}

	#main-menu > li > a {
		padding: 15px 0;
	}

	.menu-icon {
		display: block;
	}

	#logo {
		width: 243px;
	}

	#stamp {
		width: 69px;
	}

	.stamp-image {
		margin-left: 30px;
	}
}


/* =============================================================================
   iPad
   ========================================================================== */
@media screen and ( max-width: 1024px ) {
	.flex-caption h2,
	.flex-caption h3 {
		font-size: 30px;
	}

	.animated.hidden {
		visibility: visible;
	}
}

@media screen and ( max-width: 1000px ) {
	#stage .flexslider,
	#stage .flexslider .slides li {
		height: 450px;
	}

	.flex-caption {
		top: 20%;
	}

	.flex-direction-nav a {
		width: 40px;
		height: 40px;
		margin-top: -20px;
	}

	.flexslider:hover .flex-direction-nav .flex-prev {
		left: 20px;
	}

	.flexslider:hover .flex-direction-nav .flex-next {
		right: 20px;
	}

	.flex-direction-nav a::before {
		background: url("/typo3conf/ext/t3p_core/Resources/Public/Images/sprites.svg") no-repeat -200px -64px;
		width: 12px;
		height: 21px;
		margin: -10px -4px 0 0;
	}

	.flex-direction-nav a.flex-next::before {
		background-position: -213px -64px;
		margin: -10px -8px 0 0;
	}

	.flex-caption {
		padding: 18px 20px 21px;
		max-width: 450px;
	}

	.stamp-image {
		margin-left: 15px;
	}
}

@media screen and ( max-width: 950px ) {
	#footer {
		background-size: cover;
	}

	#footer .columns {
		width: 50%;
		margin: 15px 0;
	}

	.language-menu {
		min-height: 33px;
	}

	.social-media .footer-title {
		text-align: left;
	}

	.social-channels {
		text-align: left;
	}

	#footer .right {
		float: none;
	}

	.powered-by {
		margin: 0;
	}

	.column-6 .column-6 {
		width: 100%;
	}

	.teaser-box .ce-bodytext {
		min-height: 280px;
	}

	#content,
	#sidebar {
		width: 100%;
	}

	#sidebar .contact-box {
		width: 50%;
		float: left;
		padding: 0 15px;
	}

	.contact-box .ce-gallery img {
		width: 100%;
		height: auto;
	}

	#content.column-9 {
		padding-right: 15px;
	}
}

@media screen and ( max-width: 806px ) {
	.teaser-box,
	.news-list-view .article {
		width: 50%;
	}

	.quote-element .image-wrap,
	.quote-element blockquote {
		float: none;
		width: 100%;
	}

	.quote-element blockquote small {
		bottom: 0;
	}
}

@media screen and ( max-width: 760px ) {
	#cd-timeline::before {
		left: 20px;
	}

	.cd-timeline-img {
		left: 0;
		margin: 0;
		width: 40px;
		height: 40px;
	}

	.cd-timeline-content {
		margin-left: 60px;
		width: 90%;
		padding: 10px 20px;
	}

	.cd-timeline-block {
		margin-top: 30px;
		margin-bottom: 30px;
	}

	.cd-timeline-block:nth-child(2n) .cd-timeline-content {
		float: none;
	}

	.cd-timeline-block .cd-timeline-content::before {
		top: 12px;
		left: auto;
		right: 100%;
		border-color: transparent;
		border-right-color: #dc674a;
	}

	.cd-timeline-block:nth-child(2n) .cd-timeline-content::before {
		top: 12px;
	}

	.cd-timeline-content .cd-date {
		position: static;
		padding: 0;
		color: #FFF;
		font-size: 14px;
	}

	.cd-timeline-block:nth-child(2n) .cd-timeline-content .cd-date {
		text-align: left;
	}
}

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

	#footer .columns,
	.gallery__item {
		width: 100%;
	}

	#footer-menu li {
		display: block;
		margin: 0 0 10px;
	}

	.language-menu,
	.powered-by {
		margin: 0 auto;
	}

	#footer .footer-title,
	#footer-menu,
	.social-channels,
	#copyright,
	.ce-textpic .ce-gallery {
		text-align: center;
	}

	.column-4,
	.column-8 {
		width: 100%;
	}

	.ce-textpic img {
		margin-bottom: 15px;
	}

	.contact-box .ce-gallery img,
	.teaser-box .ce-gallery img {
		margin: 0;
	}

	.contentbox__textwrap,
	.contentbox__imagewrap {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}

	.contentbox__column--pull {
		-ms-flex-order: 20;
		order: 20;
	}

	.contentbox__column--push {
		-ms-flex-order: 10;
		order: 10;
	}
}

@media screen and ( max-width: 600px ) {
	.column-6,
	.teaser-box,
	.news-list-view .article {
		width: 100%;
	}

	.teaser-box img,
	.news-list-view .article img {
		width: 100%;
		height: auto;
	}

	#stage .flexslider,
	#stage .flexslider .slides li {
		height: 350px;
	}

	.flex-direction-nav,
	.flex-caption {
		display: none;
	}

	#main-nav {
		padding-top: 150px;
	}

	#content .column-6 {
		padding-bottom: 30px;
	}
}

@media screen and ( max-width: 500px ) {
	.frame-type-form_formframework fieldset {
		margin: 0;
	}

	.frame-type-form_formframework fieldset > .form-group {
		width: 100%;
		padding: 0;
	}

	#sidebar .contact-box {
		width: 100%;
		padding: 0;
		float: none;
	}
}

@media screen and ( max-width: 420px ) {
	#stamp {
		display: none;
	}

	.quote-element p {
		font-size: 20px;
	}
}