

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

@font-face {
  font-family: "Frutiger";
font-weight: 300;
  src: url('fonts/FrutigerLTStd-Light.otf') format("opentype");
}
@font-face {
  font-family: "Frutiger";
font-weight: 600;
  src: url('fonts/FrutigerLTStd-Bold.otf') format("opentype");
}

body {
 	font-family: "Frutiger", sans-serif;
	font-weight: 300;
	font-size: 20px;
	line-height: 180%;
	color: #000;
	background-color: #fff;
}

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


.brand-color {
	color: #5692CE;
}

/* Title */
h1, h2, h3, h4, h5, h6 {
 	 font-family: "Frutiger";
	font-weight: 300;
	line-height: 110%;
}
h1 {
	font-size: 220%;
}
h2 {
	font-size: 200%;
	line-height: 120%;
}
h3 {
	font-size: 160%;
}
h4 {
	font-size: 120%;
} 


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

@media only screen and (max-width: 970px) {
	h1 {font-size: 140%;}
	h2 {font-size: 130%;}
	h3 {font-size: 120%;}
	h4 {font-size: 110%;}
	h1, h2, h3, h4, h5 {word-break: break-word;}
}

/* Container */

.container {
    max-width: 1280px;
}
.container-fluid {
    max-width: 80%;
}
@media only screen and (min-width: 1280px){
.alignwide .inner-container.container-wide, .alignwide .inner-container.container-off {
    max-width: 98%;
}
}
@media only screen and (max-width: 1400px) {
	.container{	max-width: 90%;	}
	.container-fluid {max-width: 90%;}
}

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


/* Logo */

.logo {
	padding-top: 50px;
	padding-bottom: 25px;
}
.logo img {
	width: 260px;
}


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




/* RES Nav */

.res-nav .nav-link {
	font-weight: 300;
	font-size: 100%;
	position: relative;
}
.res-header.show .res-nav-topheader .mt-3{
margin-top: auto!important;
}
@media (min-width: 970px){
.navbar-expand-md .navbar-nav .nav-link {
    padding-right: 0;
    padding-left: 2.5rem;
}
}
.res-nav-topheader .nav-link {
    padding: 0 0 0 1.6rem;
}
/* Hover */
.res-nav-section li a:hover,.show .res-nav-section li a:hover{
	color: #5692CE;
}

/* active */
li.active > a.nav-link,
li.current-page-ancestor a,
.show li.active > a.nav-link,
li.active .current-menu-item > a.dropdown-item,
.show li.active .current-menu-item > a.dropdown-item {
	color: #5692CE; 
}


.modal-backdrop {
    background-color: #5692CE;
}
.modal-backdrop.show {
    opacity: 0.95;
}

/* Buttons */


.btn {
	padding: 0.6rem 2.5rem;
	border-radius: 2px;
	transition: all .2s ease-in-out;
}
.btn:hover {
    transform: scale(0.95);
}
 .btn-sm {
    font-size: 85%;
    padding: 10px 20px;
}
 .btn-primary{
    background-color: #5692CE;
    color: #fff !important;
    transition: all .2s ease-in-out;
}
.btn-primary:hover {
    color: #fff;
    background-color: #3765B5;
    border-color: none;
}
.btn-secondary{
	border: 1px solid #232323;
	background-color: #fff;
	color: #232323;
}
.footer-links .nav-link {
    display: block;
	padding: 0 0 0 1.6rem;
}
.btn-text-link {
	padding: 0 0 0 1.6rem;
	border-radius: 0;
	border: 0;
	position: relative;
	margin: 2px 0;
}
.btn-text-link:hover {
	padding: 0 0 0 1.3rem;
	margin-left: 0.3rem;
    transform: scale(1);
	opacity: 0.8;
	color: #5692CE;
}
.btn-text-link:before {
	font-family: "Font Awesome 5 Pro";
	font-weight: 300;
	position: absolute;
	content: '\f178';
	left: 0;
	top:1px;
	color: #5692CE
}

/* VFB Forms only lines */

.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 #666;
}
.res-footer-newsletter .form-control {
    height: 55px;
    padding: 10px 0;
    font-size: 90%;
    color: #000;
	font-weight: 300;	
    background-image: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: none;
	background-color: #fff;
    max-width: 90%;
}

/*  Mobile FORM  */
@media only screen and (max-width: 970px) {
	.vfbp-form .vfb-form-control {
		background-color: #fff;
		border-bottom: 1px solid #666;
		padding: 10px 15px;
	}
}

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



/* Footer */

.res-footer {
	border-top: none;
	background-color: #fff;
}
.res-footer .container {
	border-top: 1px solid #eee;
}

.res-footer .container h4{
	font-weight: 300;
    font-size: 115%;
}

.res-widget-footer.footer-social-icon i {
	background: #5692CE;
	color: #fff;
}
.res-widget-footer.footer-social-icon i:hover {
    opacity: 1;
    transform: scale(1.1);
	background: #3765B5;
}
.res-widget-footer.footer-social-icon a:hover {
    opacity: 1!important;
}

@media only screen and (max-width: 1400px) {
.home #res-footer-socials-block_60cc7e15f36bb {
margin-right: 140px;
}
}@media only screen and (min-width: 970px) {
.res-widget-footer.footer-social-icon {
float: right;
}
}




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


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

/*
#res-slider-content-block_60cc96bb1128f .box-item.boxlayout02 .box-overlayer {
   background: linear-gradient(40deg, rgb(0 0 0 / 50%) 15%, transparent 80%) !important;
}
*/

.vfbp-form .btn-primary {
    background-color: #5692CE;
    border-color: #5692CE;
	font-size: 90%;
	padding: 8px 20px;
    margin: 10px 0;
}

.res-boxes .boxlayout01 .postContent {
	bottom: 0;
	color: #fff;
	/*display: flex;
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
	background: linear-gradient(40deg, rgb(0 0 0 / 50%) 15%, transparent 80%);*/
}

.res-boxes .scale-boximg {
	filter: brightness(90%);
}

.btn-outline {
    border: 1px solid #fff;
    background-color: transparent;
    color: #fff;
}

.boxen-padding {
	padding: 0 2.5rem 2.5rem 2.5rem;
}

@media only screen and (max-width: 1400px) {
	.boxen-padding {
	padding: 0 1.5rem 2.5rem 1.5rem;
}
	
	.res-boxes .postBox .postContent .vorschau-text h3 {
		font-size: 115%;
	}
}

@media only screen and (max-width: 970px) {
	.cta-sticker .cta-circle {
    width: 120px;
    height: 120px;
	}
	
	.cta-sticker .cta-circleTxt {
    margin: 10% 10% 0 10%;
	padding: 10px;
}
}

@media only screen and (max-width: 970px) {
	.modalbox-img {
	margin-bottom: 2rem;
}
}


@media only screen and (min-width: 970px) {
	.modalbox-img {
	max-width: 25%;
	margin: 2rem;
	float: right;
}
	div.modal.show {
		display: flex !important;
	}
	
	div.modal.show .modal-dialog {
		margin: auto;
	}
}

.next-prev-btn {
	cursor: pointer;
}

@media only screen and (max-width: 500px) {
	.next-prev-btn {
		font-size: 80%;
	}
}

h1, h2, h3, h4, h5, h6 {
	line-height: 130%;
}
/*

body.page-leistungen .res-header,
body.page-methoden .res-header, 
body.page-forschungsthemen .res-header, 
body.page-ueber-uns .res-header,
body.category .res-header,
body.single-post .res-header{
	box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 8%);
}
*/

.btn.btn-outline:hover {
    color: #fff;
}

@media only screen and (min-width: 520px) {
	#res-text-bild-block_60deff1700136 .postContent > a:last-child {
	margin-left: 2rem;
}
}

@media only screen and (max-width: 970px) {
	div.news .box-inner .postBox .row {
		flex-direction: column-reverse;
	}
	
	div.news .box-inner .postBox .row img{
		margin-top: 2rem;
	}
}

@media only screen and (max-width: 520px) {
	div.wp-block-spacer {
		display: none;
	}
	
	#res-boxes-block_60d02ac592014 {
		padding-top: 0 !important;
	}
}

@media only screen and (max-width: 970px) {
	.res-footer-adresse, .res-footer-links, .res-footer-newsletter, .res-partnerlogo {
		padding-top: 2rem !important;
	}
}

.modal-content {
	border: none; 
}

a.modal-trigger:hover {
	opacity: 1;
    transition: none;
}

.modal-content .modal-body a.modal-trigger {
	cursor: default;
}

.single .res-singlepage a, .res-content p a {
	color: #5692CE;
}

.btn-secondary:hover {
    color: #fff;
    background-color: #5692CE;
    border-color: #5692CE;
}

.btn {
	border-radius: 0;
}

.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active, .show > .btn-secondary.dropdown-toggle {
    color: #fff;
    background-color: #5692CE;
    border-color: #5692CE;
}

.btn-secondary:focus, .btn-secondary.focus {
    color: #fff;
    background-color: #5692CE;
    border-color: #5692CE;
}

.btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus, .show > .btn-secondary.dropdown-toggle:focus {
    box-shadow: 0;
}

.vfbp-form .btn-primary:hover, .vfbp-form .btn-primary:focus, .vfbp-form .btn-primary.focus, .vfbp-form .btn-primary:active, .vfbp-form .btn-primary.active, .vfbp-form .open >.dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #3765B5;
    border-color: #3765B5;
}


@media only screen and (min-width: 970px) and (max-width: 1359px) {
	.boxlayout02 .box-inner .postBox .box-overlayer-bottom {
	 padding-left: 1.25rem !important;
	 padding-right: 1.25rem !important;
	}
}

@media only screen and (max-width: 970px) {
	.res-nav .navbar-collapse {
		padding: 30px 8%;
		margin: 0;
		background: rgba(255,255,255, 1);
}
	.res-nav .nav-link {
		font-weight: 300;
		font-size: 120%;
		position: relative;
	}
}

.footer-partnerlogo img {
	max-width: 200px
}

@media only screen and (max-width: 970px)  {
	.res-content {
    	margin-top: 74px;
	}
}

.logos.res-boxes .boxlayout01 .postContent {
    background: none;
}

.res-blog-sidebar .container {
	max-width: 1500px;
}

@media only screen and (max-width: 1400px) {
	.res-blog-sidebar .container {
    	max-width: 90%;
	}
}

.res-blog-sidebar .blogBox:last-of-type {
	border-bottom: none !important;
}

@media only screen and (max-width: 970px) {
	.res-blog-sidebar .blogBox .row {
		flex-direction: column-reverse;
	}

	.res-blog-sidebar .blogBox .postContent {
		line-height: 120%;
	}
}

.res-vertrauensintervall form label,
.res-vertrauensintervall form label strong{
	font-weight: 600;
}

.res-vertrauensintervall form .row label {
	display: block;
	text-align: left;
}

.res-vertrauensintervall form .row .col-md-4 input[type="text"] {
	width: 100%;
	height: 51.9px;
	border-color: #ddd;
    border-style: solid;
}

.res-vertrauensintervall form .row .col-md-4 input[type="submit"] {
	margin-bottom: 0;
	margin-top: 0;
	flex-grow: 1;
}

.res-vertrauensintervall h2,
.res-vertrauensintervall h2 + p {
	text-align: center;
}

@media only screen and (max-width: 970px) {
	.res-vertrauensintervall form .row .col-md-4 input[type="submit"],
	.res-vertrauensintervall form .row .col-md-4 label[for="ausgangswert"]{
	margin-top: 3rem;
}
	
	.res-vertrauensintervall form .row .col-md-4 label[for="ausgangswert"] {
	margin-top: 2rem;
}
	
	.res-vertrauensintervall h2,
	.res-vertrauensintervall h2 + p {
	text-align: start;
}
}

.res-vertrauensintervall form .row .col-md-4:last-of-type {
	display: flex;
    align-items: flex-end;
}

.res-vertrauensintervall form .row .col-md-4 input[type="submit"]::before {
    font-family: 'Font Awesome 5 Pro';
    content: "\f07a";
    margin-right: 1rem;
    font-weight: 600;
}

.slider-center .slick-track {
    display: flex;
    align-items: center;
}


/*.res-vertrauensintervall form table tbody tr td input {
	display: block;
    width: 70%;
	margin: 0 auto;
	border-color: #ddd;
    border-style: solid;
}

.res-vertrauensintervall form table tbody tr td {
	text-align: center;
}

.res-vertrauensintervall form table {
	width: 100%;
}

.res-vertrauensintervall h2,
.res-vertrauensintervall h2 + p {
	text-align: center;
}*/

.boxlayout02 a:hover, .boxlayout01 a:hover {
	opacity: 0.9; 
}

.res-sidebar-widgets li.current-cat a {
    font-weight: 300;
}

.blog-datum {
	font-size: 80%; 
}

.page-datenschutz .res-content p {
    font-size: 90%;
    line-height: 170%;
}

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

	.navbar-expand-md .navbar-nav .nav-link {
    padding-right: 0;
    padding-left: 1.4rem;
}
	.res-nav .nav-link {
    font-weight: 300;
    font-size: 100%;
    position: relative;
}	
}

.dropdown-toggle::after {
    border-top: 0.27em solid;
    border-right: 0.27em solid transparent;
    border-left: 0.27em solid transparent;
    margin-left: 0.76em;
    vertical-align: 0.2em;
    opacity: .2;
}

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

.mobile-x-close span:nth-child(1) {
    top: 5px;
    transform-origin: left center;
}
	
.mobile-x-close span:nth-child(2) {
    top: 10px;
    -webkit-transform-origin: left center;
    transform-origin: left center;
    display: none;
}
	
.mobile-x-close span:nth-child(3) {
	top: 15px;
    transform-origin: left center;
}
	
.res-nav .logo-mobile img {
    height: 35px;
    width: auto;
    max-width: 100%;
}	
	
.res-vertrauensintervall form .row label {
    display: block;
    text-align: center;
    font-size: 90%;
}	

.res-nav .nav-link {
    font-size: 120%;
    padding-top: 12px;
    padding-bottom: 12px;
}	
	
.res-header .dropdown-menu {
    padding: 0 0 0 30px;
    margin: 0 0 15px 0;
}
	
.navbar-expand-md .navbar-nav .nav-link {
    padding-right: 0;
    padding-left: 0.3rem;
}
	
.res-slider-content .slick-dots li {
    width: 24px !important;
}	
	
.res-slider-content .slick-dots li button:before {
    font-size: 15px !important;
}	

.res-content-topspace {
	margin-top: 40px; 
}

#res-boxes-block_60ed5ae9d9fe6 .row-cols-1 > * {
	flex: 0 0 50%;
    max-width: 100%;
    padding: 0 10px 0 0px;
    margin: 0 0 10px 0 !important;
}	
	
.pt-4, .py-4 {
    padding-top: 4rem !important;
}
	
.pb-4, .py-4 {
    padding-bottom: 4rem !important;
}	

.mb-4, .my-4 {
    margin-bottom: 4rem !important;
}
	
.mt-4, .my-4 {
    margin-top: 4rem !important;
}
	
.pt-3, .py-3 {
    padding-top: 2rem !important;
}
	
.pb-3, .py-3 {
    padding-bottom: 2rem !important;
}	

.mb-3, .my-3 {
    margin-bottom: 2rem !important;
}
	
.mt-3, .my-3 {
    margin-top: 2rem !important;
}

.res-footer.mt-4 {
		margin-top: 2rem !important;
	}
	
.res-header-img-outside.mb-4 {
	margin-bottom: 2rem !important; 
}
	
	.res-nav .logo-mobile:hover {
		opacity: 1 !important; 
	}
	
	.res-footer-newsletter.pt-4, .res-footer-copyright.py-2 {
		padding-top: 2rem!important; 
	}
	
	.res-footer-links.pt-4, .res-partnerlogo.pt-4, .res-footer-kontakt.py-2 {
		padding-top: 0rem!important; 
	}	
	
	.res-footer h4 {
    margin-bottom: 10px;
}
	.btn {
		font-size: 0.8rem; 
		padding: 0.6rem 1.5rem;
	}
	
	.res-blog-boxes.pt-3 {
		padding-top: 6rem!important; 
	}
	
	.btn-text-link:before {
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    position: absolute;
    content: '\f178';
    left: 0;
    top: 11px;
    color: #5692CE;
}
}

.boxlayout04 i {
	color: #5692CE !important; 
}

@media only screen and (max-width:970px) {
    ul.dropdown-menu li:not(.active) a {
    color: #222;
}
}

@media only screen and (max-width: 970px) {
	.res-footer .btn-text-link:before {
    top: 0;
}
}

/* Tabelle */
@media (min-width: 970px) {
	 .res-table .row-cols-md-2 > * {
		flex: 0 0 75%;
		max-width: 100%;
		padding: 0rem !important;
	}  

	.res-table .p-md-2 {
		padding: 0rem !important;
	}

	.table-spalte01 {
		max-width: 30%;
		margin-right: 75px;
	}

	.table-spalte02 {
		max-width: 100%;
	}
}

@media only screen and (max-width: 1390px) {
	 .res-table .row-cols-md-2 > * {
		flex: 0 0 65%;
	}
}


@media only screen and (max-width: 970px) {
	.table-spalte01 {
		margin-right: 25px;
	}
	
	.res-table .row-cols-md-2 > * {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

.res-table .table-for-prices {
	text-align: left!important;
}

.res-table .tabelle-Box {
    font-size: 100%;
}