/* Search on home page...*/
#searchform {
	display: none !important;
}

/* Remove borders on phone and envelope */
.expand {
    border: 0px !important;
}

/* Hover colors for phone and evelope */
.expand > i:hover:before {
    color: #be4c4d !important;
}

.fancybox-content-inside {
	border: none;
	box-shadow: none;
	background: transparent;
}

/* Hide expand button in gallery and sonderverkaeufe */
a.pp_expand, a.pp_contract {
	display: none !important;
}

/* Remove envelope at bottom right */
#popup_contact { display: none; }

#ngg-image-0{ display: block; }
.ngg-gallery-thumbnail-box{ display: none; }

/* Form on welcome page...*/
#intro-firstname,
#intro-lastname,
#intro-email,
#intro-subject,
#intro-message
{
    background-color: #FBFBFB;
}

/* For encoding E-Mails? */
span.reverse {
  unicode-bidi: bidi-override;
  direction: rtl;
}

/* Hide expand button in gallery and sonderverkaeufe */
.pp_expand{
	display: none !important;
}

#Header .logo {
	margin-top: 40px;
}

@media only screen and (min-width:768px) {
  .header-mr #Header .social {
    left: auto !important;
    right: 0px !important;
    top: 21px !important
  }

	/* Move main menu down */
	.menu-main-menu-container {
		margin-top: 63px;
	}
	/* Sticky menu needs to be "restored" */
	.is-sticky > div.container > div > .menu-main-menu-container {
		margin-top: 0px !important;
	}

  .header-mr #Header .addons {
      right: 25px !important;
  }
}

/* Facebook logo hover */
#Header > div.container > div > div.social > ul > li > a:hover {
  color: #3b5998 !important;
/*	color: #be4c4d !important;*/
}

#Header > div.container > div > div.social > ul > li > a{
    color: #AAAAAA !important;
}

a.pp_expand
{
  display: none !important;
}

/* Hide Facebook Logo when scrolling down..*/
.is-sticky > div.container > div > div.social > ul > li {
    display: none !important;
}

/* Startseite Slider Sonderaktion Layover */
@media only screen and (min-width:960px) and (max-width:1239px) {
	.boxed_large_dark, .medium_dark2{
		transform: translate(-136px) !important; 
	}
}

@media only screen and (min-width:768px) and (max-width:959px) {
	.boxed_large_dark, .medium_dark2{
		transform: translate(-110px) !important; 
	}
}

@media only screen and (min-width:480px) and (max-width:767px) {
	.boxed_large_dark, .medium_dark2{
		transform: translate(-60px) !important; 
	}
}

@media only screen and (max-width:767px) {
	.header-mr #Header .social {
    left: 170px !important;
    right: auto !important;
    top: -30px !important
  }
}

@media only screen and (max-width:479px) {
	.boxed_large_dark, .medium_dark2{
		transform: translate(-42px) !important; 
	}
	.header-mr #Header .social {
    left: 111px !important;
    right: auto !important;
    top: 15px !important
  }
}

/* Remove "title" over images in lightbox under Sonderverkaeufe! */
.pp_pic_holder .ppt {
	text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

/* Remove the comments section under images in lightbox under Gallerie */
.jp-carousel-info {
    display: none;
}

/* Margin over Text Über Uns */
@media only screen and (max-width: 767px) {
	#abz {
		margin-top: 0px;
	}
}
@media only screen and (min-width: 768px) and (max-width:1239px) {
	#abz {
		margin-top: 10px;
	}
}
@media only screen and (min-width: 1240px) {
	#abz {
		margin-top: 40px;
	}
}

.r {
	color: #BA4D52;
}

/* We would like to go full screen on mobile devices */
@media only screen and (max-width: 767px) {
	#Wrapper {
    width: 100%;
	}
	.section_wrapper {
    width: 90% !important;
	}
	#Subheader > div > div > h1 {
    margin-left: -100%;
    margin-right: -100%;
    text-align: center;
	}
	/* Prevent the grey bar on the right on phones? */
	html, body {
    max-width: 100%;
    overflow-x: hidden;
	}

}

/* Über uns Pictures + Emails must be resized properly to prevent sketchy things like irregular placing*/
@media only screen and (min-width:768px) and (max-width:959px) {
	div.desc > h4 {
		height: 60px;
	}
	div.desc > p:nth-child(2) {
		height: 42px;
	}
}

@media only screen and (min-width:960px) and (max-width:1239px) {
	div.desc > h4 {
		height: 60px;
	}
	div.desc > p:nth-child(2) {
		height: 60px;
	}

}

/* Sonderverkaufe - Carousel Arrows */
.vc_carousel-control {
	margin-top: -30px !important;
	height: 60px !important;
	color: white !important;
	opacity: 0.75 !important;
}
.icon-next:before, .icon-prev:before {
	font-family: 'Open Sans', sans-serif;
}
/* Dynamic resizing of the Slider in Sonderverkaufe */
.vc_images_carousel {
	width: 100% !important;
	margin: auto;
}
/* Somehow I ran into a limit here.. */
@media only screen and (max-width:767px) {
	.vc_images_carousel {
		max-width: 550px !important;
	}
}

/* Deactivate Sonderverkäufe Lightbox */
.pp_default {
    display: none !important;
}
.pp_overlay {
    display: none !important;
}
/* Deactivate Ausstellung Lightbox */
.jp-carousel-wrap {
    display: none !important;
}

/* ---------------------------- */
/* Owl slider on Sonderverkäufe */
/* ---------------------------- */
/* Move dots onto slider */
.owl-dots {
	margin-top: -80px !important;
	position: relative;
	z-index: 2;
}
/* Get nice circles around thumbnail circles */
.owl-dots span {
	width: 9px !important;
	height: 9px !important;
	border: 1px solid #c3cbc8 !important;
}
/* Positioning of arrows */
.owl-next {
	right: 28px !important;
}
.owl-prev {
	left: 28px !important;
}
/* Vertical centering */
.owl-nav.disabled {
	display: block !important;
}
.owl-nav {
	position: initial;
}
.owl-prev, .owl-next {
	color: transparent !important;
	position: absolute;
	top: 50% !important;
	transform: translateY(-50%);
}
/*
.owl-nav {
    position: initial !important;
}
.owl-prev, .owl-next {
	/* Remove "prev/next" text *
	color: transparent !important;
	/* Position properly *
	margin-top: 19% !important;
}*/
/* Lightbox arrows at the top - prevent zoom */
.fancybox-button--left:after, .fancybox-button--right:after {
	width: 6px !important;
	height: 6px !important;
	color: white !important;
	margin-left: auto !important;
}
.fancybox-button--close:after, .fancybox-button--close:before {
	color: white !important;
	height: 2px !important;
	width: 16px !important;
}
.fancybox-button--play:before, .fancybox-button--fullscreen:before, .fancybox-button--thumbs:before
{
	color: white !important;
}
.fancybox-bg {
	background-color: black !important;
}

.fancybox-container .fancybox-button–left,
.fancybox-container .fancybox-button–right,
.fancybox-container .fancybox-buttons button:not(.fancybox-button–close) {
display: inline-block !important;
}

@media only screen and (min-width:960px) {
div.fancybox-buttons > button.fancybox-button.fancybox-button--fullscreen
	{
		display: none !important;
	}
}
@media only screen and (max-width:959px) {
	div.fancybox-buttons > button.fancybox-button.fancybox-button--thumbs
	{
		display: none !important;
	}
	
	div.fancybox-buttons > button.fancybox-button.fancybox-button--thumbs
	{
		display: none !important;
	}
}

.fancybox-button:hover:after, .fancybox-button:hover:before {
	background-color: transparent !important;
}

.fancybox-buttons button:hover {
	background-color: rgba(30,30,30,0.6) !important;
}

.fancybox-infobar button:hover {
	background-color: rgba(30,30,30,0.6) !important;
}

.fancybox-button:after, .fancybox-button:before {
	background-color: transparent !important;
}

.fancybox-button--close:after, .fancybox-button--close:before {
	background-color: white !important;
}

.fancybox-button--close:hover:after, .fancybox-button--close:hover:before {
	background-color: white !important;
}
/* ---------------------------- */

/* ---------------------------- */

/* About us images for each co-worker must be centered */
.photo {
    text-align: center;
}

/* Aktuelles Page */
#Mitarbeiter-Gesucht {
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#1e5799+0,ffffff+30&0+0,1+30 */
background: -moz-linear-gradient(top, rgba(30,87,153,0) 0%, rgba(255,255,255,1) 30%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(30,87,153,0) 0%,rgba(255,255,255,1) 30%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(30,87,153,0) 0%,rgba(255,255,255,1) 30%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#001e5799', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}

/* Somehow I ran into a limit here.. */

/*
 * 768px
 * 959px
 * */
@media only screen and (max-width:959px) {
	#Mitarbeiter-Gesucht-BG > .vc_parallax-inner {
		background-position: center 25% !important;
		background-size: 1200px !important;
		background-repeat: no-repeat;
	}
}
@media only screen and (min-width:960px) and (max-width:1239px) {
	#Mitarbeiter-Gesucht-BG > .vc_parallax-inner {
		background-position: center 190px !important;
		background-size: contain !important;
		background-repeat: no-repeat;
	}
}

@media only screen and (min-width:1240px) and (max-width:2200px) {
	#Mitarbeiter-Gesucht-BG > .vc_parallax-inner {
		background-position: center 100px !important;
		background-size: contain !important;
		background-repeat: no-repeat;
	}
}


/*
 * --------------------------
 *      WELCOME PAGE
 * --------------------------
*/

/* POPUP Box */
@media only screen and (max-width:500px) {
	.spu-box {
    max-width: 85% !important;
    margin-left: 7% !important;
	}
}
@media only screen and (min-width:501px) and (max-width:575px) {
	.spu-box {
    max-width: 85% !important;
	}
}
/* ------- */
/* Contact form */
#intro-firstname, #intro-lastname, #intro-email, #intro-subject, #intro-message {
    border: 1px solid #eaeaea;
}

.wpcf7-list-item-label {
  font-size: 14px;
}

.wpcf7-submit {
	margin-top: 10px;
}

a.button, a.tp-button, input[type="submit"], input[type="reset"], input[type="button"] {
  border: 1px solid #eaeaea;
	float: right;
}

/* Adjust map size to prevent button overlap */
.google-map {
    height: 165px !important;
}

/*
 * --------------------------
 *      AUSSTELLUNG PAGE
 * --------------------------
*/
.mask {
	display: none !important;
}

/* Copyright text color */
.copyrights {
    color: grey;
}

/* Lightbox images not centered on mobile devices fix.. */
.fancybox-enabled body {
	overflow: hidden;
}

/*
 * --------------------------
 *      RRFERENCES PAGE
 * --------------------------
*/
.ref_headline {
	margin-top: 35px;
	margin-bottom: 25px;
}

/*
 * --------------------------
 *   SONDERVERKAEUFE PAGE
 * --------------------------
*/
.vc_column-inner {
    padding-top: 18px !important;
}