

/*************************************************************************/
/*  Theme Custom  */

body {
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: 300;
	font-size: 21px;
	line-height: 140%;
	color: #000;
	background-color: #fff;
}

.erste-spalte h1,
.erste-spalte h2,
.erste-spalte h3,
.erste-spalte h4,
.erste-spalte h5,
.erste-spalte h6 {
	font-family: 'Alegreya Sans', sans-serif;
}

@media only screen and (max-width: 1440px) {
	body {font-size: 18px; line-height: 160%;}
}
@media only screen and (max-width: 970px) {
	body {font-size: 18px; line-height: 190%;}
}


.brand-color {
	color: #f78f1e;
}

/* Title */
h1, h2, h3, h4, h5, h6 {
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: 600;
	line-height: 100%;
}
h1 {
	font-size: 200%;
}
h2 {
	font-size: 200%;
}
h3 {
	font-size: 110%;
	hyphens: auto;
	-webkit-hyphens: auto; 
}
h4 {
	font-size: 110%;
}

@media only screen and (max-width: 1440px) {
	h1 {font-size: 180%;}
	h2 {font-size: 140%;}
	h3 {font-size: 100%;}
	h4 {font-size: 96%;}
}

@media only screen and (max-width: 970px) {
	h1 {font-size: 160%;}
	h2 {font-size: 120%;}
	h3 {font-size: 100%;}
	h4 {font-size: 95%;}
	h1, h2, h3, h4, h5 {
		hyphens: auto;
		-webkit-hyphens: auto;
	}
}


/* Abstände */

@media only screen and (max-width: 970px) {
.pb-4, .py-4 {
    padding-bottom: 4rem !important;
}
}

/* Container */

.container {
    max-width: 87%;
}
.container-fluid {
    max-width: 87%;
}

/*mobile container */
@media only screen and (max-width: 970px) {
	.container{	max-width: 95%;	}
	.container-fluid {max-width: 95%;}
}

.overlayer-burgermenu .container {
    max-width: 80%;
}


.res-header .container-fluid {
    max-width: 94%;
}

/* Logo */
.logo {
	padding-top: 50px;
	padding-bottom: 20px;
}
/* Logo Size Custom */
.logo img {
	width: 345px;
	transition: all 0.3s ease-in-out;
}
.logo a:hover img {
	transform: translateY(3px);
}

@media only screen and (max-width: 1390px) {
	.logo img { width: 250px;}
}


/* Logo fixnav */
.res-fixnav.show .logo {
	padding-top: 25px;
	padding-bottom: 20px;
}
.res-fixnav.show .logo img {
	max-width: 300px;
}

/*mobile logo */
@media only screen and (max-width: 970px) {
	.res-nav .logo-mobile img {
		height: 20px;
		 margin-left: -24px;
	}
}

/* RES Nav */

.res-nav .nav-link {
	font-weight: 300;
	font-size: 100%;
}

/* Abstand Mainnav */
@media (min-width: 1280px) {
	.navbar-expand-md .navbar-nav .nav-link {
		padding-right: 30px;
		padding-left: 30px;
	}
}

/* Hover */
.res-nav-section li a:hover{
	color: #f78f1e;
}

/* active Nav */
	li.active > a.nav-link,
	.res-header li.current-page-ancestor > a.nav-link,
	.res-header li.current-page-ancestor .current-page-ancestor a,
	#burger-menu-nav li.current-page-ancestor .current-page-ancestor a,
	#burger-menu-nav li.current-page-ancestor > a.nav-link,
	li.active .current-menu-item > a.dropdown-item {
		color: #f78f1e; 
}


/* Buttons */


.btn {
	padding: 0.3rem 2.4rem;
	border-radius: 0;
	text-transform: uppercase;
	font-size: 80%;
}
 
 .btn-primary{
    background-color: #f78f1e;
    color: #fff;
}
.btn-secondary{
	border: 1px solid #232323;
	background-color: #fff;
	color: #232323;
}

.btn-text-link {
	padding: 0;
	border-radius: 0;
	border: 0;
}
.btn-sm {
	font-size: 85%;
	padding: 10px 20px;
}


/* Formulare VFB Forms */


/*
.vfbp-form .vfb-form-control {
    height: 55px;
    padding: 10px 30px;
    font-size: 90%;
    color: #000;
	font-weight: 300;	
    background-image: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: none;
	background-color: #fff;
	border-bottom: 1px solid #333;
}
@media only screen and (max-width: 970px) {
	.vfbp-form .vfb-form-control {
		background-color: #fff;
		border: 1px solid #eee;
		border-bottom: 1px solid #ccc;
	}
}
*/

/* Counter spam Captcha immer mit Border  */
.vfbp-form .vfb-form-control.form-count {
    border: 1px solid #dedede;
}



/* Footer */

.res-footer {
	border-top: 0px solid #eee;
	background-color: #fff;
	font-size: 75%;
	line-height: 130%;
	margin-bottom: 70px;
}
.res-footer address{
	line-height: 130%;
}


.res-footer h3 {
	font-size: 150% !important;
}


.res-widget-footer.footer-social-icon i {
	background: #fff;
	color: #f78f1e;
	
}

@media only screen and (max-width: 970px) {
.res-footer.mt-5 {
    margin-top: 4rem !important;
}
}


/*************************************************************************/
/*   Custom CSS  */


.marker{
	display: inline-block;
	font-weight: 400;
	font-size: 16px;
	text-transform: uppercase;
	border-bottom: 1px solid #2b52b9;
	color: #2b52b9;
}

.alignfull.res-google-maps  .inner-container.container-off {
	max-width: 100%;
	padding: 0;
}

.res-boxes .boxlayout03 .teamImg img,
.res-boxes .boxlayout03 .teamImg{
	border-radius: 50%;
}

#burger-menu-nav .current-menu-item  a {
	color: #f78f1e;
}

.vfbp-form .btn-primary {
    border-color: #f78f1e;
    background-color: #f78f1e;
}

.res-block .boxlayout03 .teamContent h4 {
	font-weight: 400;	
	margin-bottom: 0;
}

.res-block .boxlayout03 .teamContent .vorschau-text p {
	min-height: auto;
}

.res-video-header-reset-btn i {
    color: #f78f1e;
}

@media only screen and (min-width: 970px) {
	.res-fixnav.show {
/*    	background-color: #222;*/
    	background: transparent!important;
	}
	
	.res-nav-section {
		display: none !important;
	}
}

.burger-fixnav {
/*	border: 1px solid red;*/
}



.res-header-image .scrollerTo .fa-chevron-down,
.res-header-video .scrollerTo .fa-chevron-down {
	font-size: 250%;
    font-weight: 400;
}

.res-header-video .header-arrow,
.res-header-image .header-arrow {
    transform: translateX(-50%);
}

.header-option-absolute.res-fixnav.show,
.res-header.res-fixnav.show {
    box-shadow: none !important;
}

.res-filter-item .nav-link {
    font-size: 100%;  
}

.res-mobile-bar {
	background-color: transparent;
}

/*nur desktop burger menu abstand */
@media only screen and (min-width: 970px) {
	.burger-lines-button {
		top: 20px;
		right: 44px;
	}
}
.burger-lines {
    height: 4px;
    width: 60px;
	background: #f78f1e none repeat scroll 0 0;
}

.burger-lines::before, 
.burger-lines::after {
    height: 4px;
    width: 50px;
	background: #f78f1e none repeat scroll 0 0;
}
.burger-lines-button:hover .burger-lines,
.burger-lines-button:hover .burger-lines::before, 
.burger-lines-button:hover .burger-lines::after {
	background: #f78f1e none repeat scroll 0 0;
}
/*nav mobile */
@media only screen and (max-width: 970px) {
	.burger-lines {
		height: 3px;
		width: 35px;
	background: #f78f1e none repeat scroll 0 0;
	}	
	.burger-lines::before, 
	.burger-lines::after {
		height: 3px;
		width: 30px;
	background: #f78f1e none repeat scroll 0 0;
	}
}

@media only screen and (max-width: 970px) {
	.res-fixnav.transition-top {
		background: transparent;
	}
}

.overlayer-burgermenu .navbar-nav li a.nav-link {
    font-size: 160%;
    line-height: 180%;
    font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03rem;
}
.overlayer-burgermenu li.active a.nav-link {
    font-weight: 600 !important;
    opacity: 1.0;
}
.burgermenu-nav-section .dropdown > .dropdown-menu a.dropdown-item {
    font-weight: 200;
	font-size: 110%;
	line-height: 160%;
}

@media only screen and (max-width: 970px) {
	.overlayer-burgermenu .navbar-nav li a.nav-link {
		font-size: 105%;
		line-height: 120%;
		}

	a#menu-item-dropdown-1597.dropdown-toggle::after {
		display: none;
	}

	.burgermenu-nav-section .dropdown > .dropdown-menu a.dropdown-item {
		font-size: 105%;
		line-height: 180%;
	}
	.burgermenu-nav-section li:not(.megamenu).menu-item-1597 ul.dropdown-menu {
		display: block;
	}
}
.res-boxes .modal-content,
.res-boxes .modal-content a {
	background-color: transparent;
	border: 0;
	color: #f78f1e;
}

.res-boxes .x-close::before,
.res-boxes .x-close::after {
	border-left: 2px solid #f78f1e;
}

/*
@media only screen and (min-width: 1501px) and (max-width: 1780px) {
#res-boxes-block_61926788606ab * .postContent {
	height: 320px!important;
}
}
@media only screen and (min-width: 1191px) and (max-width: 1500px) {
#res-boxes-block_61926788606ab * .postContent {
	height: 300px!important;
}
}
@media only screen and (min-width: 1071px) and (max-width: 1190px) {
#res-boxes-block_61926788606ab * .postContent {
	height: 350px!important;
}
}
@media only screen and (min-width: 980px) and (max-width: 1070px) {
#res-boxes-block_61926788606ab * .postContent {
	height: 355px!important;
}
}
@media only screen and (min-width: 970px) and (max-width: 979px) {
#res-boxes-block_61926788606ab * .postContent {
	height: 382px!important;
}
}*/

.home-boxes {
	margin-top: -5rem;
}

.page-jobs .res-content a {
	/*color: #f78f1e;*/
}

@media only screen and (min-width: 970px) {
	.home-dienstleistungen .postImg {
		display: none !important;
	}

	.home-dienstleistungen {
		margin-bottom: 0 !important;
	}
}

.res-boxes.hover-all .boxes-frame:hover .scale-boximg img { 
transition: all .3s ease-in-out;
transform: scale(1.03);
opacity: .9;
}

.page-jobs .res-text-bild .layout-1 .txt-imagebox {
margin-top: 0 !important;
}

.res-boxes.home-boxen-weiss .overlay::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	opacity: 0;
	transition: .5s ease;
}

.res-boxes.home-boxen-weiss .overlay:hover::before {
	opacity: 1;
}

@media only screen and (min-width: 970px) {
    .res-boxes.home-boxen-weiss .overlay-text {
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    text-align: center;
    color: #f78f1e;
    position: absolute;
}

.res-boxes.home-boxen-weiss .boxlayout01 .postImg:hover img {
	/*filter: brightness(0.5);*/
    transition: .5s;
}

.res-boxes.home-boxen-weiss .boxlayout01 .postImg .overlay-text {
	opacity: 0;
}

.res-boxes.home-boxen-weiss .boxlayout01 .postImg:hover .overlay-text {
	opacity: 1;
    transition: .5s;
}
}

@media only screen and (max-width: 970px) {
    .res-boxes.home-boxen-weiss h4.overlay-text {
        margin-top: 2rem;
    }
}

.res-text-bild .txt-imagebox img{
transition: all .7s ease-in-out;
}

.res-text-bild .txt-imagebox a:hover img {
transition: all .3s ease-in-out;
transform: scale(1.03);
opacity: .9;
}

.res-text-bild .txt-imagebox a:hover {
opacity: 1;
}
