/*

 Theme Name: Berges Rheine
 Theme URI: http://berges-rheine.de
 Description: Ein responsives Design, optimiert für 1920x1080p.
 Author: Denny Nordmann
 Author URI: http://eilinghoff.de

 */

/* source-sans-pro-regular - latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/source-sans-pro-v21-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/source-sans-pro-v21-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/source-sans-pro-v21-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/source-sans-pro-v21-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/source-sans-pro-v21-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/source-sans-pro-v21-latin-regular.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/* source-sans-pro-600 - latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/source-sans-pro-v21-latin-600.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/source-sans-pro-v21-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/source-sans-pro-v21-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/source-sans-pro-v21-latin-600.woff') format('woff'), /* Modern Browsers */
       url('fonts/source-sans-pro-v21-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/source-sans-pro-v21-latin-600.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

body {
	margin: 0;
	padding: 0;
	line-height: 1.5em;
	font-family: 'Source Sans Pro', sans-serif;
}

.content-job ul li{
	list-style: none;
	position: relative;
	margin: 15px 0;
}

.content-job ul li::before{
	position: absolute;
	background-image: url('img/list-point.svg');
	left: -25px;
	width: 20px;
	height: 20px;
	content: '';
	background-size: contain;
}

.flex{
	display: flex;
	justify-content: space-between;
}

.personal{
	margin-top: 75px;
}

.personal figure p{
	text-align: center;
}

.bilder-perso{
	background: rgb(246,253,254);
	background: radial-gradient(circle, rgba(246,253,254,1) 0%, rgba(196,221,223,1) 100%); 
	border-radius: 22px;
	position: relative;
}

.bilder-perso img{
	transition: all .4s;
	height: 115%;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: auto;
}

.bilder-perso img:hover{
	height: 123%;
}

.bilder-perso{
	width: 48%;
	height: 400px;
}

.bilder-perso:hover .bilder-name-tag{
	opacity: 1;
}


.bilder-name-tag{
	position: absolute;
	bottom: 0;
	width: 100%;
	left:0;
	background-color: #00929F;
	transition: all .4s;
	opacity: 0;
	border-radius: 0 0 22px 22px;
}

.abteil-perso{
	background: rgb(246,253,254);
	background: radial-gradient(circle, rgba(246,253,254,1) 0%, rgba(196,221,223,1) 100%); 
	border-radius: 22px;
	position: relative;
}

.name-tag{
	position: absolute;
	bottom: 0;
	width: 100%;
	left:0;
	background-color: #00929F;
	transition: all .4s;
	opacity: 0;
	border-radius: 0 0 22px 22px;
}

.abteil-perso:hover .name-tag{
	opacity: 1;
}

.abteil-perso, .abteil-text{
	width: 48%;
}

.abteil-perso img{
	transition: all .4s;
	height: 115%;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: auto;
}

.abteil-perso:hover img{
	height: 123%;
}

.abteil{
	margin: 200px 0;
}

.abteil-text a{
	background-color: #00929F;
	color: white;
	display: inline-block;
	padding: 10px;
	margin: 10px 0 10px 0;
	transition: all .4s;
}

.abteil:nth-of-type(2n){
	flex-direction: row-reverse;
}

.main-text{
	margin: 100px 0;
}

.benefit-wall{
	margin: 120px 0;
	padding: 100px 0;
	background-color: #00929F;
}

.benefit-wall .flex{
	flex-wrap: wrap;
}

.job-posting{
	padding-top: 170px;
}

.job-posting h1{
	font-size: 32px;
	color: #00929F;
	font-weight: 400;
}

.content-job{
	margin: 100px 0;
}

.content-job ul{
	padding-left: 40px;
}

.benefit:first-of-type, .benefit:nth-of-type(2){
	border-right: 1px solid white;
	border-bottom: 1px solid white;
}

.job-info article{
	width: 48%;
}

.job-info{
	margin: 150px 0;
}

.job-wall h4{
	font-size: 32px;
	font-weight: 400;
	border-bottom: solid 1px #707070;
	position: relative;
	padding: 40px 42px 40px 0;
}

.job-wall h4::after{
	position: absolute;
	content: '';
	background-image: url('img/mehr-erfahren.svg');
	height: 42px;
	width: 42px;
	background-size: contain;
	right: 0;
	top: 30px;
}

.benefit:nth-of-type(3){
	border-bottom: 1px solid white;
}

.benefit:nth-of-type(4), .benefit:nth-of-type(5){
	border-right: 1px solid white;
}

.benefit h3, .benefit p{
	color: white;
	font-weight: 400;
	text-align: center;
	margin: 10px 0;
}

.benefit{
	width: calc(33.33% - 61px);
	padding: 30px;
}

.benefit img{
	height: 60px;
	width: auto;
	margin: 0 auto;
}

.abteil-text a:hover{
	text-decoration: none;
	cursor: pointer;
	background-color: white;
	color: #00929F;
}

.name-tag p, .bilder-name-tag p{
	color: white;
	padding: 10px 0;
	text-align: center;
	margin: 0;
}

.personal-banner{
	margin: 150px 0;
}

.servicebalken ul li, .servicebalken h3, .servicebalken p, .servicebalken a{
	color: white;
}

.servicebalken ul{
	padding-left: 40px;
}

.servicebalken{
	color: white;
	margin: 150px 0;
}

.servicebalken .flex{
	flex-wrap: wrap;
}

.servicebalken .heads{
	width: 100%;
}

.servicebalken{
	background-color: #00929F;
	padding: 60px 0;
}

.servicebalken article{
	width: 48%;
}

.personal h3{
	font-size: 32px;
	font-weight: 400;
	line-height: 40px;
}

.personal h4{
	color:#009ba4;
	font-size: 22px;
	font-weight: 400;
	line-height: 32px;
}

.personal .flex{
	align-items: center;
}

.personal figure, .personal aside{
	width: 48%;
}

figure {
	margin: 0;
	padding: 0;
}

img {
	width: 100%;
	height: auto;
	display: block;
}

h2, h3 {
	color: #009ba4;
}

a, p {
	color: #4c4c4c;
}

.wrap {
	width: 1200px;
	margin: 0 auto;
}

.flex {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

#logo {
	width: 200px;
	height: auto;
	transition: all 0.7s;
}

.small-logo {
	width: 125px !important;
	margin: 15px 0;
}

header {
	padding: 15px 0 5px;
	position: fixed;
	background-color: white;
	width: 100%;
	transition: all 0.7s;
	z-index: 999;
	height: 117px;
}

.small-header {
	padding: 5px 0;
}

#main-video video {
	max-height: 500px;
	width: 100%;
	object-fit: cover;
}

nav {
	width: 100%;
	border-top: solid thin #706f6f;
	margin-top: 15px;
	transition: all 0.7s;
}

.short-nav {
	margin-top: 0;
	padding-bottom: 5px;
}

nav ul {
	margin: 10px 0 0;
	padding: 0;
}

nav ul li {
	display: inline;
	margin-right: 25px;
	position: relative;
}

nav ul li a {
	text-decoration: none;
	color: #706f6f;
	padding-top: 10px;
}
nav ul li a:hover {
	color: #019ba5;
	border-top: solid 3px #019ba5;
}

nav ul .current_page_item > a, nav ul .current-page-ancestor > a {
	color: #019ba5;
	border-top: solid 3px #019ba5;
}

nav ul li ul .current_page_item a {
	border-top: none;
}

nav ul li:hover ul {
	max-height: 200px;
	opacity: 1;
	visibility: visible;
	top: 10px;
}

nav ul li ul li:hover a {
	border-top: none;
}

nav ul li ul {
	position: absolute;
	left: 0;
	top: 0;
	background-color: white;
	padding: 10px 10px 10px;
	border: solid thin #019ba5;
	border-top: none;
	border-right: none;
	overflow: hidden;
	max-height: 0;
	transition: all 0.7s;
	opacity: 0;
	visibility: hidden;
}

nav ul li ul li {
	display: block;
	margin-right: 0;
	margin-bottom: 10px;
}

#shortnav {
	justify-content: center;
	align-items: center;
}

#shortnav img, #shortnav p {
	display: inline;
	color: #706f6f;
}

#shortnav p {
	margin: 0;
}

#shortnav img {
	width: 20px;
	height: auto;
	margin-right: 5px;
}

#shortnav a img {
	width: 100px;
	height: auto;
	transition: all 0.7s;
}

.small-news-btn {
	width: 50px !important;
}

#shortnav div {
	display: inline;
	align-items: center;
}

main {
	padding-top: 130px;
}

#main-headline {
	background-color: #00929F;
	padding: 5px 0;
	margin-top: 0;
	-webkit-box-shadow: 0px 4px 5px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: 0px 4px 5px 0px rgba(0,0,0,0.5);
	box-shadow: 0px 4px 5px 0px rgba(0,0,0,0.5);
}

#main-headline h1 {
	color: white;
}
#content {
	margin-top: 25px;
}

#content article strong{
	font-weight: 400;
	color: #009ba4;
}

main a {
	color: #019ba5;
	text-decoration: none;
}

.logo-blue a {
	color: white;
	font-weight: 700;
}

main a:hover {
	text-decoration: underline;
}

.col-1-3 article {
	width: 30%;
}

.col-1-3 figure {
	width: 60%;
}

.top-space {
	margin-top: -75px;
	display: block;
}

.cyan-bg {
	background-color: #88cdd3;
}

.logo-blue {
	background-color: #019ba5;
}

.logo-blue h3, .logo-blue p {
	color: white;
}

.col-2 figure, .col-2 article {
	width: 40%;
}

.space {
	margin-top: 50px;
}

.padding {
	padding: 50px 0;
}

.standortauswahl figure {
	position: relative;
}

.standortauswahl figure h3 {
	position: absolute;
	z-index: 9;
	color: white;
	left: 0;
	right: 0;
	text-align: center;
	top: 25%;
	font-size: 24px;
	text-shadow: 2px 2px 4px black;
}

.standortauswahl figure img {
	opacity: 0.6;
	transition: all 0.7s;
}

.standortauswahl figure:hover img {
	opacity: 1;
}

.col-3 figure {
	width: 30%;
	padding-bottom: 35px;
	position: relative;
	margin-bottom: 50px;
}

.col-3 figure a {
	position: absolute;
	bottom: 0;
	color: white;
	background-color: #019ba5;
	padding: 5px 15px;
	text-decoration: none;
	right: 0;
}

.col-3 figure a:hover {
	background-color: #706f6f;
}

.wpforms-container label {
	color: #4c4c4c;
}

.wpforms-submit {
	background-color: #009ba4 !important;
	color: white !important;
}

.wpforms-submit:hover {
	background-color: #706f6f !important;
}

main ul {
	margin: 0;
	padding: 0;
}

main ul li {
	color: #4c4c4c;
}

#pop-up {
	max-width: 300px;
	position: fixed;
	bottom: 1%;
	left: -350px;
	transition: all 0.7s;
	animation-name: fade-in;
  	animation-duration: 0.7s;
	animation-delay: 3s;
	animation-fill-mode: forwards;
	animation-iteration-count: 1;
	-webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.75);
box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.75);
line-height: 1.3em;
	opacity: 1;
	visibility: visible;
	z-index: 9999;
}

#pop-up a:hover {
	background-color: #706f6f;
}

@keyframes fade-in {
	from {opacity: 0; left: -300px}
	to {opacity: 1; left: 10px;}
}

#pop-up a {
	text-decoration: none;
	background-color: #019ba5;
	display: block;
	transition: all 0.5s;
	padding-bottom: 1px;
}

#pop-up p {
	color: white;
	font-size: 14px;
	padding: 5px 10px;
}

#close-stoerer {
	position: absolute;
	right: 0;
	top: -45px;
	background-color: #706f6f;
	cursor: pointer;
	transition: all 0.5s;
}

#close-stoerer:hover {
	background-color: #019ba5;
}

.slide-out {
	left: -300px !important;
	opacity: 0 !important;
	visibility: hidden !important;
	transition: all 0.5s;
}

footer {
	margin-top: 100px;
	background-color: #009ba4;
	padding: 25px 0;
}

footer p, footer a {
	color: white;
	text-decoration: none;
	margin: 0;
}

footer ul {
	margin: 0;
	padding: 0;
}

footer ul li {
	display: inline;
	list-style-type: none;
	padding: 0 15px;
	border-left: solid thin white;
}

footer ul li:last-of-type {
	padding-right: 0;
}
footer ul li:first-of-type {
	border-left: none;
}

#burger-nav {
	display: none;
}

@media only screen and (max-width: 1290px) {
	.wrap {
		width: 1000px;
	}

	.abteil-perso img, .bilder-perso img{
		height: 100%;
	}

	.abteil-perso:hover img, .bilder-perso:hover img{
		height: 103%;
	}

	.personal h3 {
		font-size: 22px;
		font-weight: 400;
		line-height: 30px;
		margin: 10px 0;
	  }

	.personal h4 {
		font-size: 16px;
		line-height: 24px;
		margin: 10px 0;
	  }
}

@media only screen and (max-width: 1050px) {
	.wrap {
		width: 800px;
	}

	.abteil-perso img, .bilder-perso img{
		height: 300px;
	}

	.abteil-perso:hover img, .bilder-perso:hover img{
		height: 350px;
	}
}

@media only screen and (max-width: 860px) {
	.wrap {
		width: 90%;
	}

	.servicebalken{
		margin: 30px 0;
	}

	.abteil{
		margin: 30px 0;
		flex-wrap: wrap;
	}

	.abteil-perso img{
		position: initial;
	}

	.abteil-perso:hover img, .abteil-perso img, .bilder-perso img, .bilder-perso:hover img{
		height: 350px;
	}

	.name-tag, .bilder-name-tag{
		opacity: 1;
	}

	.bilder-perso {
		width: 100%;
		margin: 20px 0;
	}

	.abteil-perso, .abteil-text{
		width: 100%;
		margin: 10px 0;
	}

	.personal{
		margin-top: 30px;
	}

	.personal figure, .personal aside, .servicebalken article{
		width: 100%;
	}

	.personal .flex{
		flex-wrap: wrap;
	}

	.benefit{
		width: calc(50% - 61px);
	}

	.benefit:nth-of-type(2), .benefit:nth-of-type(4){
		border-right: none;
		border-bottom: 1px solid white;
	}

	.benefit h3, .benefit p{
		overflow-wrap: break-word;
	}

	.benefit:nth-of-type(3){
		border-right: 1px solid white;
	}

	.benefit:first-of-type{
		border-right: 1px solid white;
  		border-bottom: 1px solid white;
	}
}

@media only screen and (max-width: 800px) {
	.col-2 figure, .col-2 article {
    	width: 48%;
	}
}

@media only screen and (max-width: 780px) {
	#burger-nav {
	display: block;
		width: 50px;
		height: auto;
		float: right;
		cursor: pointer;
}
	header nav ul {
		position: fixed;
		left: -250px;
		top: 0;
		height: 100vh;
		width: 250px;
		margin-top: 0;
		background-color: #706f6f;
		z-index: 999;
		transition: all 0.7s;
	}
	
	header nav ul li {
		display: block;
		margin: 5px 0 0 10px;
	}
	
	header nav ul li a {
		color: white;
	}
	
	.nav-out {
		left: 0 !important;
	}
	
	nav ul li ul {
		position: relative;
		visibility: visible !important;
		opacity: 1 !important;
		max-height: 200px;
		top: 0;
		padding: 0;
		background-color: #706f6f;
		border: none;
		height: auto;
		width: 200px;
	}
	
	nav ul .current_page_item > a, nav ul .current-page-ancestor > a {
		border: none;
		color: black;
	}
	
	nav ul li ul li {
		margin: 5px 0 5px 20px;
	}
	
	nav ul li:hover ul {
		top: 0;
	}
	
	nav ul li ul li a {
		color: white;
	}
	nav ul li a:hover {
    color: black;
    border-top: none;
}
}

@media only screen and (max-width: 640px) {
	.standortauswahl figure h3 {
		font-size: 20px;
	}
	.col-3 figure {
    	width: 48%;
	}
	footer div {
		display: block !important;
		text-align: center;
	}
	.flex-page .flex {
		display: block;
	}
	
	.flex-page .flex article, .flex-page .flex figure {
		width: 100%;
	}
	
	.img-left-article-right figure {
		margin-bottom: 25px;
	}
	
	.article-left-img-right figure {
		margin-top: 25px;
	}
	
	.two-figures figure {
		margin-bottom: 25px;
	}
	
	.padding {
		padding: 20px 0;
	}
}

@media only screen and (max-width: 600px) {
	#main-headline h1 {
		font-size: 18px;
		text-align: center;
	}

	.benefit{
		width: calc(100% - 21px);
		padding: 20px 10px;
		border-top: solid 1px white;
		border-bottom: solid 1px white;
		border-right: none !important;
		border-left: none !important;
	}

	.job-wall h4{
		font-size: 22px;
	}
}

@media only screen and (max-width: 520px) {
	.standortauswahl figure h3 {
		position: relative;
		top: 0;
		font-size: 16px;
	}

	.bilder-perso{
		height: 300px;
	}
}

@media only screen and (max-width: 480px) {
	#shortnav img {
		display: none;
	}
	
	#shortnav p {
		font-size: 14px;
	}
	
	#logo {
    	width: 150px;
	}
	
	footer {
		margin-top: 25px;
	}

}

@media only screen and (max-width: 440px) {
	#standorte-fp .flex {
		display: block;
	}
	
	#standorte-fp .col-2 article {
		width: 100%;
	}
	
	.padding {
    	padding: 25px 0;
	}

	.abteil-perso:hover img, .abteil-perso img, .bilder-perso img, .bilder-perso:hover img{
		height: 237px;
	}
	
	#content {
		margin-top: 0;
	}
	
	#content .space:first-of-type {
		margin: 0;
	}


}

@media only screen and (max-width: 400px) {
	.col-3 figure {
    	width: 100%;
	}
	
	span {
		display: block !important;
		float: none !important;
	}
}

@media only screen and (max-width: 360px) {
	#shortnav {
		position: absolute;
		top: 95px;
	}
}