/*
Theme Name: MEHR-Theme
Theme URI: https://www.mehr.team/
Author: CREESH Mediendesign
Author URI: https://www.creesh.de/
Description: Modernes MEHR Theme, entwickelt 2021. 
Version: 2021.1
*/

/* -- CSS-VARIABLEN ------------------- */

:root {
--grey: #2f2f2f;
--lightgrey: #a9a9a9;
--blue: #003761;
--green:#009c96;
--red:#ca5050;
--yellow:#efb949;
--red: #c3121c;

--font-small: 17px;
--font-standard: 20px;
--font-medium: 30px;
--font-big: 40px;

--line-height: 140%;

--border-radius: 3px;

--font-family: 'Lato';
}

/* -- SCHRIFTART ------------------- */

/* lato-regular - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/themes/mehr/fonts/lato-v17-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/wp-content/themes/mehr/fonts/lato-v17-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/themes/mehr/fonts/lato-v17-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/themes/mehr/fonts/lato-v17-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/themes/mehr/fonts/lato-v17-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/themes/mehr/fonts/lato-v17-latin-regular.svg#Lato') format('svg'); /* Legacy iOS */
}
/* lato-700 - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('/wp-content/themes/mehr/fonts/lato-v17-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/wp-content/themes/mehr/fonts/lato-v17-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/themes/mehr/fonts/lato-v17-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/themes/mehr/fonts/lato-v17-latin-700.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/themes/mehr/fonts/lato-v17-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/themes/mehr/fonts/lato-v17-latin-700.svg#Lato') format('svg'); /* Legacy iOS */
}
/* lato-900 - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  src: url('/wp-content/themes/mehr/fonts/lato-v17-latin-900.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/wp-content/themes/mehr/fonts/lato-v17-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/themes/mehr/fonts/lato-v17-latin-900.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/themes/mehr/fonts/lato-v17-latin-900.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/themes/mehr/fonts/lato-v17-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/wp-content/themes/mehr/fonts/lato-v17-latin-900.svg#Lato') format('svg'); /* Legacy iOS */
}


/* -- RESET CSS -------------------------------------- */

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
	margin:0;
	padding:0;
	border:0;
	font-size:100%;
	font:inherit;
	vertical-align:baseline
}

body {
	line-height:1;
	overflow-x:hidden!important;
}

button {
	outline:0
}

ol,ul {
	list-style:none
}

blockquote,q{
	quotes:none
}

blockquote:before,blockquote:after,q:before,q:after{
	content:'';content:none
}

img {
	max-width:100%;
	height: auto;
}

q{
	display:inline;font-style:italic
}

q:before{
	content:'"';font-style:normal
}

q:after{
	content:'"';font-style:normal
}

textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"], input[type="checkbox"] {
	-webkit-appearance:none;
	appearance:none;
	border-radius:0
}

table{
	border-collapse:collapse;
	border-spacing:0
}

th,td{
	padding:2px
}

big{
	font-size:120%
	}
	
small,sup,sub{
	font-size:80%
}

sup{
	vertical-align:super
}

sub{
	vertical-align:sub
}

dd{
	margin-left:20px
}

kbd,tt{
	font-family:courier;
	font-size:12px
}

ins{
	text-decoration:underline
}

del,strike,s{
	text-decoration:line-through
}

dt{
	font-weight:bold
}

address,cite,var{
	font-style:italic
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{
	display:block
}

*{
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-o-box-sizing:border-box;
	-webkit-tap-highlight-color:transparent
}

.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}.screen-reader-text{
	clip:rect(1px, 1px, 1px, 1px);
	position:absolute !important
}

.hide-desktop, .tab-accordion .text {
	display:none;
}


/* -- ALLGEMEINE STYLING-ANGABEN ------------------- */

#wrapper, .sg-popup-content {
	font-family: var(--font-family);
	font-size: var(--font-standard);
	line-height: var(--line-height);
	color: var(--grey);
}

a {
	text-decoration:none;
}

.wp-block-group a {
	color: var(--green);
	border-bottom:1px solid transparent;
}

.wp-block-group a:hover {
	border-bottom: 1px solid var(--green);
}

a:hover, #menu li.active a {
	color: var(--green)!important;
}

.inner-container,
.entry-content > .wp-block-group > .wp-block-group__inner-container,
.insert-page > .wp-block-group > .wp-block-group__inner-container,
.parallax-inner {
	width:1380px;
	margin:0 auto;
	padding: 0 50px;
}

.entry-content > .wp-block-group > .wp-block-group__inner-container,
.insert-page > .wp-block-group > .wp-block-group__inner-container,
.parallax-inner {
	padding-top:120px;
	padding-bottom:120px;
}

.parallax.half-height {
	height:70vh;
}

.parallax.full-height {
	height:100vh;
}

.wp-block-nk-awb {
	padding:0!important;
}

.wp-block-group__inner-container > div,
.inner-container {
	position:relative;
	z-index:1;
}

.wp-block-group__inner-container > div.full-image {
	position:static;
}

h1, h2 {
	font-weight:900;
	line-height:100%;
}

h1 {
	font-size: 60px;
	color: var(--blue);
	margin-bottom: 90px;
}

h1 .logo {
    width: 230px;
    margin-top: 30px;
    margin-left: 100px;
}

.page-template-default .entry-content > h1,
.page-template-default .button.scroll-down,
.page-template-page_start h1 em {
	display:none;
}

.page-template-default .entry-content {
	padding-top:63px;
}

h3, h4 {
	font-weight:700;
	color: var(--blue);
	font-size: var(--font-medium);
}

h3 {
	font-weight:900;
	margin-bottom:30px;
}

h2 {
	color: var(--blue);
	font-size: var(--font-big);
	margin-bottom:15px;
}

h3 em, .first-paint h2 {
	color: var(--green);
}

h3 em {
	font-weight:700;
}

h4 {
	font-size: var(--font-standard);
	font-weight:900;
	margin-bottom:7px;
}

.first-paint h2 {
	font-weight:700;
	margin-bottom:30px;
}

strong {
	font-weight:700;
}

.first-paint:before {
	display:block;
	content: ' ';
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0.8+40,0+100 */
	background: -moz-linear-gradient(left,  rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.8) 40%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left,  rgba(255,255,255,0.8) 0%,rgba(255,255,255,0.8) 40%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right,  rgba(255,255,255,0.8) 0%,rgba(255,255,255,0.8) 40%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ccffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */
}

.first-paint {
	overflow:hidden;
	position:relative;
	margin-top:60px;
}

.first-paint .wp-block-group__inner-container {
	padding-top:0!important;
	padding-bottom:0!important;
}

.wp-block-buttons .button {
	margin-left: auto!important;
	margin-right: auto!important;
}

.wp-block-buttons .button.leftalign {
	margin-left: 0!important;
}

a.button, .button a, input.button, #BorlabsCookieBox a._brlbs-btn-accept-all {
	background: var(--blue);
	color:white;
	font-weight:700;
	display:inline-block;
    border-radius: var(--border-radius);
	  -webkit-border-radius: var(--border-radius); 
	  -moz-border-radius: var(--border-radius);
	  -o-border-radius: var(--border-radius);
	padding: 20px 30px 22px;
	margin-top:35px;
	min-width:350px;
	border:none!important;
	cursor:pointer;
}

.green-background .button a:hover {
	background:#006567!important;
}

.dots a.button, .dots .button a,
#stopper a.button.contact,
a.button.scroll-down {
	min-width:50px;
}

a.button em,
.button a em {
	font-size: var(--font-small);
	font-weight:400;
	margin-bottom:-3px;
	display:block;
}

a.button:hover, .button a:hover, input.button:hover {
	background-color: var(--green)!important;
	color:white!important;
}

.button a:hover em {
	color:white!important;
}

a.button.contact {
    background-image: url(../../uploads/icons/icon_sprechblase_weiss.svg);
    background-repeat: no-repeat;
    background-position: 20px center;
    background-size: auto 25px;
    padding-left: 65px;
	text-align:center;
}

a.button.contact:hover {
    background-size: auto 30px;
}

a.button.scroll-down {
    width: 50px;
    height: 50px;
    border-radius: 50%;
      -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
      -o-border-radius: 50%;
    padding: 5px 0 0;
    text-align: center;
    position: absolute;
    top: -60px;
    left: 50%;
    z-index: 5;
    margin-left: -25px;
	border:4px solid white;
	opacity:1;
	background-color: var(--green);
	visibility:visible;
}

a.button.scroll-down.hide {
	opacity:0;
	visibility:hidden;
}

a.button.scroll-down:hover {
    width: 60px;
    height: 60px;
	margin-left:-30px;
	padding-top:10px;
	top: -65px;
}

a.button.scroll-down img {
	width:20px;
	height: auto;
	margin-top:15px;
}

.buttons {
	margin-top: 30px;
}

.buttons a,
.buttons p {
	display:inline-block;
	color: var(--green);
	border:2px solid var(--green);
    border-radius: var(--border-radius);
	  -webkit-border-radius: var(--border-radius); 
	  -moz-border-radius: var(--border-radius);
	  -o-border-radius: var(--border-radius);
	font-weight:700;
	padding: 2px 10px 1px;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 10px;
	font-size: var(--font-small);
	cursor: pointer;
}


.buttons p {
    border: 2px solid var(--blue);
    padding: 2px 10px 1px;
    color: var(--blue);
    margin: 0 1px 6px!important;
}

.buttons p:hover {
	border: 2px solid var(--blue);
	background-color: var(--blue);
	color:white;
}

.buttons.video p {
    background-image: url(../../uploads/icons/icon_play.svg);
	background-size: auto 15px;
	background-position: 12px center;
	background-repeat: no-repeat;
	padding-left:30px;
	border-color: var(--green);
	color: var(--green);
}

.buttons.video p:hover {
	background-color:var(--green);
	color: white!important;
	background-image: url(../../uploads/icons/icon_play_weiss.svg);
	border: 2px solid var(--green);
}

.buttons.video {
	margin-bottom:30px;
}

a.tel {
	font-size: var(--font-medium);
	color: white;
	font-weight:700;
	background: url(../../uploads/icons/icon_telefon_weiss.svg) no-repeat left top;
	background-size: auto 30px!important;
	padding-left:40px;
	margin-bottom:0;
	display:inline-block;
	padding-right:40px;
	padding-bottom:5px;
}

a.tel span {
	font-size: var(--font-small);
	display:block;
	font-weight:500;
	color: var(--lightgrey);
}

#stopper {
	position:fixed;
	bottom:-60px;
	right:25px;
	z-index:9999;
}

#stopper.sticky {
	bottom:0;
}

#stopper a.button {
	font-size: var(--font-small);
    padding: 10px 15px 12px 50px;
    background-size: auto 20px;
    background-position: 15px center;
	border-bottom-right-radius:0;
	  -webkit-border-bottom-right-radius:0; 
	  -moz-border-bottom-right-radius:0;
	  -o-border-bottom-right-radius:0;
	border-bottom-left-radius:0;
	  -webkit-border-bottom-left-radius:0; 
	  -moz-border-bottom-left-radius:0;
	  -o-border-bottom-left-radius:0;
	background-color: var(--green);
}

#stopper a.button.contact:hover {
    background-size: auto 23px;
}

.white-background {
	background:white;
}

.blue-background,
.blue-background.line:after  {
	background: var(--blue);
}

.green-background, .lightgrey-background {
	overflow:hidden;
}

.green-background {
	background: rgba(0,156,150,0.8);
}

.lightgrey-background {
	background: rgba(255,255,255,0.8);
}

.green-background.line,
.green-background.line:after {
	background: var(--green);
}

.grey-background.line,
.grey-background.line:after {
	background: var(--grey);
}

.lightgrey-background.line,
.lightgrey-background.line:after {
	background: var(--lightgrey);
}

.yellow-background.line,
.yellow-background.line:after {
	background: var(--yellow);
}

.white-text * {
	color:white;
}

.white-text.blue-background .button a {
	background-color: var(--green);
}

.white-text.blue-background .button a:hover {
	background-color:#efb949!important; 
}

.gap-top {
	margin-top:100px;
}

.gap-top .button a {
	margin-top:0;
}

.gap-bottom {
	margin-bottom:100px;
}

.no-gap-bottom .button {
	margin-bottom:0;
}

.wp-block-image.gap-bottom {
	margin-bottom:50px;
}

.no-gap-top, .no-gap-top > .wp-block-group__inner-container {
	margin-top:0!important;
	padding-top:0!important;
}

.no-gap-bottom, .no-gap-bottom > .wp-block-group__inner-container  {
	margin-bottom:0!important;
	padding-bottom:0!important;
}

.insert-page {
	position:relative;
	z-index:3;
	overflow:hidden;
}

.insert-page.first {
	overflow:visible;
	z-index:999;
}

.anker, .anker-big {
	position:absolute;
	top:-40px;
	display:Block;
}

.anker-big {
	top:-140px;
}

a, a:hover, a em, 
.dots h2:before, .dots h2:after, .dots h2:hover, 
.dots h3:before, .dots h3:after, .dots h3:hover, 
.timeline .wp-block-column .wp-block-image:after, .timeline .wp-block-column .wp-block-image:before,
footer img, footer img:hover,
#menu ul > li ul.sub-menu,
input.button, input.button:hover,
.sgpb-popup-close-button-2, .sgpb-popup-close-button-2:hover,
.sg-popup-content .wp-block-group a img,
.buttons.light p,
.list h4,
#menu, .toggle-nav hr {
	transition: all ease-in 0.2s;
	  -webkit-transition: all ease-in 0.2s; 
	  -o-transition: all ease-in 0.2s; 
	  -moz-transition: all ease-in 0.2s;
}

p:not(:last-child) {
	margin-bottom:15px;
}

.wp-block-group {
	position:relative;
}

.quote em {
	color: var(--lightgrey);
	font-size: var(--font-small);
}

.center {
	text-align:center!important;
}

.text h4 {
    margin: 50px 0 15px;
}

.list-abc {
	padding-left: 17px;
}

.list-abc li ul {
	padding-left: 20px;
}

.list-abc li {
	list-style-type:lower-alpha;
	margin-bottom:7px;
	margin-top:7px;
	padding: 5px;
}

.list-abc li::marker {
	color:var(--green);
}

.list-abc li li {
	list-style-type:circle;
	padding-left:0;
}

/* -- HEADER ------------------- */

header, #stopper {
	transition: all ease-in 0.4s;
	  -webkit-transition: all ease-in 0.4s; 
	  -o-transition: all ease-in 0.4s; 
	  -moz-transition: all ease-in 0.4s;
}

header, #stopper a.button {
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	  -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	  -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
}

header {
    background: var(--blue);
    position: fixed;
    width: 100%;
    top: 0px;
    left: 0;
	padding: 15px 0 10px;
	z-index:99999;
	height:64px;
}

#branding {
	width:140px;
	margin-top:2px;
}

#menu {
	position:absolute;
	right: 50px;
	top:-2px;
}

#menu li {
	display:inline-block;
	font-size: var(--font-small);
	margin-left:40px;
	position:relative;
}

#menu ul > li > a {
	color:white;
	font-weight:700;
	padding: 25px 0;
}

.toggle-nav {
	position:fixed;
	right:0;
	top:0;
	display:none;
}

.toggle-nav hr {
    background: white;
    width: 30px;
    border: none;
    height: 3px;
    margin: 7px;
    border-radius: var(--border-radius);
	  -webkit-border-radius: var(--border-radius); 
	  -moz-border-radius: var(--border-radius);
	  -o-border-radius: var(--border-radius);	
}

#menu ul > li ul.sub-menu {
    position: absolute;
	background:white;
	left: 50%;
    margin-left: -110px;
	top:47px;
	padding: 0 0 15px;
	box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 30%);
    -webkit-box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 30%);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	z-index:-1;
	opacity:0;
	visibility:hidden;
}

#menu ul > li:hover ul.sub-menu {
	opacity:1;
	visibility:visible;
}

#menu ul > li ul.sub-menu a {
	color: var(--blue)!important;
}

#menu ul > li ul.sub-menu a:hover {
	color: var(--green)!important;
}

#menu ul > li ul.sub-menu li {
    margin-left: 0;
    display: block;
    text-align: center;
    padding: 10px 15px;
    width: 220px;
	line-height:140%;
}

#menu ul > li ul.sub-menu:before {
	content:' ';
	display:block;
	height:5px;
	width:100%;
	margin-bottom:5px;
	background: rgba(0,0,0,0.1);
	background: -moz-linear-gradient(top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,0,0,0.1)), color-stop(100%, rgba(0,0,0,0)));
	background: -webkit-linear-gradient(top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
	background: -o-linear-gradient(top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
	background: -ms-linear-gradient(top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
	background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=0 );
}

/* -- FOOTER ------------------- */

footer {
	background: var(--grey);
	color:white;
}

footer .inner-container {
	display:flex;
	padding-top:70px;
	padding-bottom:70px;
}

footer .footer-area {
	flex-basis: 25%;
}

footer .footer-area:nth-child(2) {
	text-align:center;
	flex-basis: 50%;
}

footer img {
	width:auto;
	height:30px;
}

footer .footer-area:nth-child(2) a {
	margin-right:7px;
	margin-left:7px;
}

footer .footer-area:nth-child(2) p {
	margin-bottom:36px;
}

footer li a {
	color:white;
}

footer ul,
footer .footer-area:nth-child(3) p  {
	text-align:right;
}

footer img:hover {
	opacity:0.6;
}

footer .current-menu-item a {
	color: var(--green);
}

/* -- BILDER / ICONS / VIDEOS ------------------- */

.full-image {
	position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

.full-image img {
	position: absolute;
    top: -9999px;
    bottom: -9999px;
    left: -9999px;
    right: -9999px;
    margin: auto;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
	z-index:-1;
}

.oversize-image {
    position: absolute;
    right: -100px;
    top: -60px;
    width: 125%;
}

.wp-block-image {
	margin-bottom:-7px;
}

.image-no-bottom {
	margin-bottom:-100px;
	margin-top:0px;
	z-index:10;
	position:relative;
}

.is-type-video, .is-type-video iframe {
	height:345px;
	width:100%;
}

.icons .wp-block-image {
	margin-bottom:10px;
}

/* -- SPALTEN ------------------- */

.wp-block-column {
	position:relative;
}

.dots {
	margin-top:-100px;
}

.dots.no-h3 h3:after,
.dots.no-h3 h3:before {
	display:none;
}

.dots h2:after,
.dots h2:before,
.dots h3:after,
.dots h3:before {
    content: ' ';
    display: block;
    position: absolute;
    left: -60px;
    top: 14px;
}

.dots h2:after,
.dots h3:after {
	border-top: 3px dotted var(--blue);
	height: 1px;
    width: 90px;
}

.dots h2:before,
.dots h3:before {
	width:12px;
	height:12px;
	border:4px solid var(--blue);
	background:var(--blue);
	border-radius:50%;
	  -webkit-border-radius:50%; 
	  -o-border-radius:50%; 
	  -moz-border-radius:50%;
	margin-top:-9px;
	margin-bottom:-10px;
	z-index:2;
}

.dots .wp-block-column:hover h2:before,
.dots .wp-block-column:hover h3:before {
	background: var(--green);
	border-color: white;
	width:30px;
	height:30px;
	margin-top:-18px;
	margin-left:-8px;
}

.dots .wp-block-column:hover h2:after,
.dots .wp-block-column:hover h3:after {
	border-color: var(--green);
}

.dots .wp-block-columns:nth-child(even) h2:before,
.dots .wp-block-columns:nth-child(even) h2:after,
.dots .wp-block-columns:nth-child(even) h3:before,
.dots .wp-block-columns:nth-child(even) h3:after {
	left: inherit;
	right:-60px;
}

.dots .wp-block-columns:nth-child(even) .button.leftalign {
	margin-left: auto!important;
    margin-right: 0!important;
}
.dots .wp-block-columns:nth-child(even) .wp-block-column:hover h2:before,
.dots .wp-block-columns:nth-child(even) .wp-block-column:hover h3:before {
	margin-right: -8px;
}

.dots .wp-block-column {
	padding: 0 50px;
	margin:0;
}

.dots .wp-block-columns:nth-child(even) .wp-block-column:first-child {
	order:2;
}

.dots .wp-block-columns:nth-child(even) .wp-block-column,
.dots .wp-block-columns:nth-child(even) .wp-block-column .has-text-align-left {
	text-align:right;
}

.dots .wp-block-columns {
	align-items: center;
	margin-left:-50px;
	margin-right:-50px;
	width: auto;
	margin-bottom:30px;
	width: calc(100% + 100px);
}

.dots .wp-block-columns:last-child,
.wp-block-columns {
	margin-bottom:0;
}


/* -- ZEITLEISTE ------------------- */

.timeline {
	margin-top:100px;
}

.line {
    border: none;
    height: 30px;
    overflow: visible;
    width: calc(100% + 30px);
    margin-left: -20px;
    margin-right: -10px;
}

.line:before,
.line:after {
	display:inline-block;
	content: ' ';
	width:10px;
	height:30px;
	clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.line:before {
	float:left;
	background:white;
}

.line:after {
	float:right;
	background: var(--grey);
	margin-right:-10px;
}

.timeline .date {
	font-size: var(--font-medium);
}

.timeline img {
	max-height:65px;
	max-width:140px;
	margin-bottom: 15px;
    margin-top: 5px;
}

.timeline .lightgrey img {
	max-height:50px;
}

.timeline .wp-block-column:nth-child(even) img {
	margin-bottom: 20px;
    margin-top: 20px;
}

.grey h4,
.grey .date {
	color: var(--grey);
}

.lightgrey h4,
.lightgrey .date {
	color: var(--lightgrey);
}

.green h4,
.green .date {
	color: var(--green);
}

.yellow h4,
.yellow .date {
	color: var(--yellow);
}

.blue h4,
.blue .date {
	color: var(--blue);
}

.timeline p:not(:last-child),
.small-text {
	font-size: var(--font-small);
	line-height:140%;
}

.mini {
	font-size:13px;
	margin-top:30px;
	line-height:140%;
}

.timeline .wp-block-column {
	display:flex;
	flex-direction: column;
}

.timeline .wp-block-column:nth-child(even) p:not(:last-child) {
	order: 5;
}

.timeline .wp-block-column:nth-child(even) h4 {
	order: 4;
}

.timeline .wp-block-column:nth-child(even) .wp-block-image {
	order: 3;
}

.timeline .wp-block-column:nth-child(even) .line {
	order: 2;
}

.timeline .wp-block-column:nth-child(even) .date {
	order: 1;
}

.timeline .wp-block-image {
	position:relative;
}

.timeline .wp-block-image:after,
.timeline .wp-block-image:before {
	content:' ';
	display:block;
}

.timeline .wp-block-column:nth-child(odd) .wp-block-image:after,
.timeline .wp-block-column:nth-child(even) .wp-block-image:before {
	width:1px;
	height:35px;
	border-right:3px dotted var(--grey);
	margin:0 auto;
	position:relative;
	left:-2px;
}

.timeline .wp-block-column:nth-child(odd) .wp-block-image:before,
.timeline .wp-block-column:nth-child(even) .wp-block-image:after {
	background:white;
	width:16px;
	height:16px;
	border-radius:50%;
	  -webkit-border-radius:50%; 
	  -moz-border-radius:50%; 
	  -o-border-radius:50%; 
	border:3px solid var(--grey);
	position:absolute;
	left:50%;
	bottom:-15px;
	margin-left:-12px;
	z-index:5;
}

.timeline .wp-block-column:nth-child(odd):hover .wp-block-image:before,
.timeline .wp-block-column:nth-child(even):hover .wp-block-image:after {
	width:25px;
	height:25px;
}

.timeline .wp-block-column:nth-child(odd):hover .wp-block-image:before {
	bottom: -18px;
    margin-left: -17px;
}

.timeline .wp-block-column:nth-child(even):hover .wp-block-image:after {
	top:-26px;
	margin-left: -17px;
}

.timeline .wp-block-column:nth-child(even) .wp-block-image:after {
	top: -22px;
	bottom:inherit;
}

.timeline .blue .wp-block-image:before,
.timeline .blue .wp-block-image:after {
	border-color: var(--blue)!important;
}

.timeline .yellow .wp-block-image:before,
.timeline .yellow .wp-block-image:after {
	border-color: var(--yellow)!important;
}

.timeline .lightgrey .wp-block-image:before,
.timeline .lightgrey .wp-block-image:after {
	border-color: var(--lightgrey)!important;
}

.timeline .green .wp-block-image:before,
.timeline .green .wp-block-image:after {
	border-color: var(--green)!important;
}

.timeline .wp-block-column:nth-child(even) {
	padding-top:176px;
}

.timeline .wp-block-column.grey {
	padding-top:12px;
}

.timeline .wp-block-column.green {
	padding-top:28px;
}


/* -- LIGHTBOX ------------------- */

.sgpb-popup-overlay {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: none;
    animation-fill-mode: none;
	-webkit-animation-name: fadeIn;
    animation-name: fadeIn;
	background-color: rgb(0, 0, 0, 0.8)!important;
    opacity: 1!important;
}

.sg-popup-content {
	padding:0;
	max-width: 700px!important;
	width: auto!important;
	background:transparent!important;
}

.sg-popup-content.contact,
.sg-popup-content.biologic {
	max-width: 440px!important;
}

.sg-popup-content .white-background {
	padding: 30px 20px 35px 20px;
    border-radius: 3px;
	  -webkit-border-radius: 3px; 
	  -moz-border-radius: 3px; 
	  -o-border-radius: 3px;
	overflow-y:auto;
	max-height:90vh;
}

.sg-popup-content {
	max-height: none!important;
	height: auto!important;
}

.sg-popup-content.contact .white-background,
.sg-popup-content.biologic .white-background {
	padding:120px 35px 30px 35px;
	max-height:calc(90vh - 200px);
}

#sgpb-popup-dialog-main-div > div {
    overflow: hidden!important;
}

.sg-popup-content h3 {
	margin-bottom: 40px;
    margin-top: 20px;
}

.sg-popup-content h4 {
	color: var(--green);
	font-weight:400;
	margin-top: -5px;
    margin-bottom: 20px;
}

.sg-popup-content .wp-block-group a:hover,
.sg-popup-content .wp-block-group a {
	border:none;
}

.sg-popup-content .wp-block-group a:hover img {
	opacity:0.5;
}

.sg-popup-content.contact h3,
.sg-popup-content.biologic h3 {
	margin-bottom:10px;
	margin-top:0;
}

.sg-popup-content .wp-block-image.round-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
	  -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
      -o-border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 10px solid white;
    margin-bottom: -100px;
    position: relative;
    background: white;
    z-index: 5;
}

.sg-popup-content .wp-block-image {
	width:550px;
}

.sg-popup-content iframe {
	position: relative!important;
    height: 220px!important;
	border:1px solid #eeeeee!important;
	margin-top: 15px;
}

.sgpb-content:after {
    content: ' ';
    display: block;
    width: 100%;
    height: 30px;
    background: var(--green) url(../../uploads/icons/icon_pfeil-nach-unten_weiss.svg) no-repeat center center;
    background-size: 15px auto;
    position: relative;
    margin: -2px auto 0;
    z-index: 5;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

.contact a.tel {
	font-size: var(--font-big);
    color: var(--green);
    background: url(../../uploads/icons/icon_telefon_gruen.svg) no-repeat left top;
    background-size: auto 30px!important;
    display: block;
    padding-left: 40px;
    margin: 32px auto 15px!important;
    width: 330px;
    padding-right: 0;
    padding-bottom: 15px;
}


.contact-form label,
.contact-form br {
	display:none;
}

.contact-form label.datenschutz {
	display:block;
	font-size: 14px;
	line-height: var(--line-height);
}

.contact-form .button {
	margin-bottom:10px;
}

.contact-form form > div select.wpcf7-form-control {
	margin-bottom:10px;
}

input[type=text], input[type=email], input[type=tel], textarea, input[type=checkbox], input.button, select {
	border:none;
	font-family: var(--font-family);
	font-size: var(--font-standard);
	line-height: var(--line-height);
}

input[type=text], input[type=email], input[type=tel], textarea, input[type=checkbox], select {
	padding:15px 20px;
	width: 100%;
	background: #eeeeee;
	color: var(--grey);
}

select {
	padding:16px 20px; 
}

input[type=checkbox] {
    width: 25px;
    height: 25px;
    padding: 0;
    margin: 0 10px 0 0;
}

input.button {
	width: 100%;
	margin-top: 10px;
}

input:focus, textarea:focus {
	background: #e8f0f0;
	outline:none;
}

input.wpcf7-not-valid, textarea.wpcf7-not-valid, select.wpcf7-not-valid {
	background:#f9ecec;
}

span.wpcf7-not-valid-tip {
	color: white;
    font-weight: normal;
    display: block;
    font-size: 14px;
    position: absolute;
    right: 0;
    z-index: 5;
    top: -17px;
    width: 90px;
    line-height: 140%;
    background: #dc3232;
    padding: 10px 10px 10px;
    text-align: center;
}

input[type=checkbox]:checked {
	background: var(--green);
}

input[type=checkbox]:after {
    display: block;
    content: ' ';
    border-right: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(45deg);
    width: 4px;
    height: 12px;
    margin-left: 9px;
    margin-top: 3px;
	display:none;
}

input[type=checkbox]:checked:after {
	display:block;
}

textarea {
	height:150px;
}

.sgpb-popup-close-button-2 {
    position:fixed!important;
	right:10px!important;
	top:10px!important;
	margin:0!important;
    z-index: 5!important;
	filter: grayscale(100%)!important;
}

.sgpb-popup-close-button-2:hover {
	filter: grayscale(0%)!important; 
}

.wpcf7-list-item {
    display: inline-block;
    margin: 0;
    float: left;
    height: 80px;
}

.wpcf7 .wpcf7-submit:disabled {
	opacity:0.5;
}

.contact-form p {
	margin-bottom:10px;
}

.wpcf7 form .wpcf7-response-output {
    margin: 25px 0 0;
    padding: 5px 10px;
    font-size: 14px;
    line-height: var(--line-height);
    border: 2px solid #00a0d2;
}


/* -- ACCORDION ------------------- */

.biologic .sp-easy-accordion {
    margin: 30px -35px 0;
}

.fa-plus:before,
.fa-minus:before {
	color: var(--green);
}

.sp-ea-one.sp-easy-accordion .sp-ea-single .ea-header a {
    padding: 0 0 0 40px;
	line-height:140%;
}

#sp-ea-887.sp-easy-accordion > .sp-ea-single {
    background: none;
    border: none;
}

.sp-ea-single h3 {
	color: var(--green);
	padding: 0 0 5px;
}

.white-background .sp-easy-accordion>.sp-ea-single>.sp-collapse>.ea-body {
    background: #eeeeee!important;
    padding: 25px 40px;
	-webkit-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.3);
	box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.3);
}

.contact-form label.show {
    display: block;
    background: #eee;
    padding: 15px 20px 20px;
	font-size: var(--font-small);
    font-weight: 600;
}

.contact-form label.show span {
    margin-top: 5px;
    display: block;
}

.contact-form .wpcf7 .ajax-loader {
    margin: 0 0 0 20px;
    display: block;
    margin-top: -60px;
    background: transparent;
    width: 10px;
    height: 45px;
    opacity: 1;
}

.contact-form .wpcf7 .ajax-loader::before {
    top: 15px;
    left: 5px;
    transform-origin: 10px 10px;
}


/* -- JOBS ------------------- */

.list {
    padding: 0 20px;
}

.list li {
    clear: both;
	text-align:center;
}

.list li:not(:last-child) {
	margin-bottom: 40px;	
}

.list .date {
	color: var(--lightgrey);
	font-size: 15px;
}

.list h4 {
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 5px;
    margin-top: 0px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
	padding-top:3px;
	padding-right:30px;
	padding-left:30px;
	background-position:right center;
}

.list li:hover h4 {
	color: var(--green);
	background:url(../../uploads/icons/dropdown_right.svg) no-repeat right center;
	background-size: auto 20px;
}

.meta p {
    font-size: 15px;
	display: inline-block;
    color: var(--grey);
    margin-bottom: 0;
    margin-right: 30px;
	background:url(../../uploads/icons/icon_job_art.svg) no-repeat left center;
	background-size: auto 17px!important;
    padding-left: 28px;
}

.meta p.location {
	background:url(../../uploads/icons/icon_job_ort.svg) no-repeat left center;
	background-size: auto 20px;
	padding-left: 21px;
}

.meta p.branch {
	background:url(../../uploads/icons/icon_job_branche.svg) no-repeat left center;
	background-size: auto 20px;
	padding-left: 26px;
}

.meta p.date {
	padding-left:0;
	background:none;
}

.job .inner-container {
	padding-top:170px;
	padding-bottom:100px;
}

.job h1 {
	text-align:center;
	margin-bottom: 30px;
	line-height:120%;
}

.job .meta {
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 35px;
    margin-bottom: 33px;
}

.job h3 {
    margin-bottom: 15px;
    margin-top: 70px;
}

.job ul li {
	background:url(../../uploads/icons/icon_list-style.svg) no-repeat left center;
	background-size: 7px 7px;
	padding: 3px 0 3px 20px;
}

.job .center {
    margin: 55px auto 0;
	display:block;
}

.job .button {
	margin-left:10px;
	margin-right:10px;
}

.job .button.grey {
	background:var(--grey);
}

.festanstellung .menu-item-75 a,
.franchiseangebote .menu-item-75 a,
.festanstellung #menu ul > li ul.sub-menu #menu-item-555 a,
.franchiseangebote #menu ul > li ul.sub-menu #menu-item-556 a {
	color: var(--green)!important;
}


/* -- COOKIE BOX ------------------- */

.BorlabsCookie * {
    font-size: var(--font-small)!important;
    line-height: 140%!important;
	font-family:'Lato', sans-serif!important;
	color: var(--grey)!important;
}

.BorlabsCookie ._brlbs-content-blocker ._brlbs-embed ._brlbs-caption {
    padding: 40px;
    background: var(--grey);
	height:100%;
}

.BorlabsCookie ._brlbs-content-blocker ._brlbs-embed ._brlbs-caption p,
.BorlabsCookie ._brlbs-content-blocker ._brlbs-embed ._brlbs-caption strong,
.BorlabsCookie ._brlbs-content-blocker ._brlbs-embed ._brlbs-caption small {
	color:white!important;
}

.BorlabsCookie ._brlbs-content-blocker ._brlbs-caption a {
    color: var(--green)!important;
}

.BorlabsCookie ._brlbs-content-blocker ._brlbs-embed ._brlbs-btn {
    color: white!important;
}

.BorlabsCookie ._brlbs-content-blocker ._brlbs-embed ._brlbs-btn:hover {
   background-color:var(--green)!important;
   border:none!important;
}

.BorlabsCookie ._brlbs-content-blocker ._brlbs-caption label input[type=checkbox] {
    width: 25px;
}

.BorlabsCookie strong {
	font-weight: 700!important;
}

.BorlabsCookie ._brlbs-content-blocker ._brlbs-caption label input[type=checkbox]:after {
	width: 7px;
    height: 13px;
    margin-left: 9px;
    margin-top: 4px;
}

.BorlabsCookie ._brlbs-content-blocker ._brlbs-embed {
	margin-bottom:0!important;
}

.biologic .BorlabsCookie ._brlbs-content-blocker ._brlbs-embed ._brlbs-caption {
	padding: 20px;
}

#BorlabsCookieBox ._brlbs-box-wrap ._brlbs-box {
    padding: 0px;
}

#BorlabsCookieBox .container > .row {
	padding:40px 30px;
}

#BorlabsCookieBox ._brlbs-box-wrap {
	max-width:450px!important;
}

#BorlabsCookieBox h3, #BorlabsCookieBox ._brlbs-h3 {
    font-weight: 700;
    color: var(--blue)!important;
    font-size: var(--font-medium)!important;
    margin-bottom: -5px;
}

#BorlabsCookieBox a._brlbs-btn-accept-all {
	color:white!important;
	margin-top:0!important;
	min-width:0px;
}

#BorlabsCookieBox a._brlbs-btn-accept-all:hover {
	background: var(--green)!important;
}

.BorlabsCookie ._brlbs-checkbox input:checked ~ ._brlbs-checkbox-indicator {
    background-color: var(--green)!important;
    border-color: var(--green)!important;
}

#BorlabsCookieBox ._brlbs-legal a,
#BorlabsCookieBox ._brlbs-box ._brlbs-separator::before {
    font-size: 13px!important;
    color: var(--lightgrey)!important;
}

#BorlabsCookieBox ._brlbs-legal a:hover {
	text-decoration:underline;
}

#BorlabsCookieBox ._brlbs-legal {
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.BorlabsCookie .col-sm-7,
.BorlabsCookie .col-sm-5 {
    flex: 100%!important;
    max-width: 100%!important;
}

#BorlabsCookieBox .cookie-preference ._brlbs-btn {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

.BorlabsCookie .col-sm-5 {
    margin-top: 10px;
}

#BorlabsCookieBox .bcac-item * {
    font-size: 13px!important;
}

#BorlabsCookieBox .bcac-item {
    background: none;
    padding: 0;
    margin: 20px 0 40px;
}

#BorlabsCookieBox .bcac-item ._brlbs-h4 {
    font-weight: 600;
}

#BorlabsCookieBox .cookie-preference ._brlbs-legal {
    text-align: center!important;
}

.BorlabsCookie .d-block span {
    color: var(--green)!important;
}

.BorlabsCookie .d-block {
    text-align: left;
}

#BorlabsCookieBox ._brlbs-branding {
    display: none!important;
}

@media screen and (min-height:650px) {
	.sgpb-content:after {
		display:none;
	}

}
/* -- WIDTH-1380px ------------------- */

@media screen and (max-width:1380px) {
	.inner-container, 
	.entry-content > .wp-block-group > .wp-block-group__inner-container, 
	.insert-page > .wp-block-group > .wp-block-group__inner-container, 
	.parallax-inner {
		width:100%;
		max-width:1380px;
	}
	
	.page-template-page_start h1 {
		margin-right: -200px;
	}
	
	:not(.page-template-page_start) h1 {
		font-size: 40px;
	}
	
	.job .inner-container {
		padding-top:140px;
	}
}


/* -- WIDTH-1024px ------------------- */

@media screen and (max-width:1024px) {
	
	:root {
		--font-big: 35px;
		--font-medium: 27px;
	}
	
	h1 {
		font-size: 45px;
		margin-bottom: 70px;
	}
	
	h1 .logo {
		width: 180px;
	}
	
	.entry-content > .wp-block-group > .wp-block-group__inner-container, 
	.insert-page > .wp-block-group > .wp-block-group__inner-container, 
	.parallax-inner {
		padding-top: 90px;
		padding-bottom: 90px;
	}
	
	.dots {
		margin-top: -90px;
	}
	
	.dots .wp-block-columns {
		flex-wrap: wrap;
	}
	
	.dots .wp-block-column {
		width: 100%;
		flex-basis: 100%!important;
		text-align: center;
	}
	
	.dots .wp-block-image,
	.wp-block-embed {
		max-width: 400px;
		margin: 0px auto 35px;
	}
	
	.BorlabsCookie ._brlbs-content-blocker ._brlbs-embed ._brlbs-caption {
		padding:20px;
	}
	
	.dots .wp-block-columns:not(:first-child) .wp-block-image,
	.videos .wp-block-columns:not(:first-child) .wp-block-embed {
		margin-top:80px;
	}
	
	.videos .wp-block-embed iframe,
	.is-type-video, .is-type-video iframe {
		height:225px;
	}
	
	.dots a.button {
		margin-top: 25px;
	}
	
	.dots h2,
	.dots h3 {
		text-align:center!important;
	}
	
	.dots .wp-block-columns:nth-child(even) .wp-block-column:first-child {
		order: 1;
	}
	
	.dots .wp-block-columns:nth-child(even) .wp-block-column:last-child {
		order: 2;
	}
	
	.dots .wp-block-columns:nth-child(even) .wp-block-column, .dots .wp-block-columns:nth-child(even) .wp-block-column .has-text-align-left {
		text-align: center;
	}
	
	.dots h2:after, .dots h3:after, .dots h2:before, .dots h3:before {
		display:none!important;
	}
	
	.gap-top {
		margin-top: 80px;
	}

	.gap-bottom {
		margin-bottom: 80px;
	}
	
	.wp-block-buttons .button.leftalign,
	.wp-block-buttons .button.rightalign,
	.dots .wp-block-columns:nth-child(even) .button.leftalign {
		margin-left: auto!important;
		margin-right: auto!important;
	}
	
	footer .inner-container {
		text-align: center;
		flex-direction:column;
	}
	
	footer .footer-area {
		flex-basis: 100%;
		width: 100%;
	}
	
	footer .footer-area:not(:last-child) {
		margin-bottom:60px;
	}
	
	footer .footer-area:nth-child(1) {
		order:2;
	}
	
	footer .footer-area:nth-child(2) {
		order:1;
	}
	
	footer .footer-area:nth-child(3) {
		order:3;
	}
	
	footer ul, footer .footer-area:nth-child(3) p {
		text-align:center;
	}
	
	.toggle-nav {
		position: fixed;
		right: 45px;
		top: 14px;
		display:block;
	}
	
	#menu li {
		display: block;
		margin-left: 0;
		text-align:center;
		width:250px;
		border-bottom:1px solid #eee;
	}
	
	#menu ul > li ul.sub-menu {
		position: relative;
		background: #eee;
		z-index: 1;
		margin-left: 0;
		left: 0;
		box-shadow: none;
		display:none;
		visibility: visible;
		top:0;
		opacity: 1;
		transition:none;
		  -webkit-transition:none; 
		  -moz-transition:none; 
		  -o-transition:none;
	}
	
	#menu ul > li ul.sub-menu li {
		width:250px;
	}
	
	#menu ul > li > a {
		color: var(--grey);
		display: block;
		padding: 20px 0;
	}
	
	#menu ul > li ul.sub-menu > li a {
		padding: 7px 0;
	}
	
	#menu {
		position: absolute;
		right: -260px;
		top: 47px;
		background: white;
		height: calc(100vh - 64px);
		padding: 5px 0;
		box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 30%);
		-webkit-box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 30%);
		-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
		overflow-y: auto;
	}
	
	#menu.active {
		right:0;
	}
	
	.toggle-nav.active hr:nth-child(1) {
		transform: rotate(45deg);
		margin-top: 18px;
	}
	
	.toggle-nav.active hr:nth-child(2) {
		width:0;
	}
	
	.toggle-nav.active hr:nth-child(3) {
		transform: rotate(-45deg);
		margin-top: -20px;
	}
		
	.line {
		position: absolute;
		left: 60px;
		width: 30px;
		height: 100%;
	}
	
	.timeline {
		flex-direction: column;
		max-width: 335px;
		margin: 70px auto 0;
	}
	
	.timeline * {
		text-align:left;
	}
	
	.timeline .wp-block-column:nth-child(even) h4,
	.timeline .wp-block-column h4 {
		order: 2;
	}
	
	.timeline .wp-block-column:nth-child(even) p:not(:last-child),
	.timeline .wp-block-column p:not(:last-child) {
		order: 3;
		margin-bottom:35px;
	}
	
	.timeline .wp-block-column:nth-child(even) .wp-block-image,
	.timeline .wp-block-column .wp-block-image {
		order: 1;
		margin-top: 70px;
		margin-bottom: 20px;
	}
	
	.timeline img {
		margin: 0!important;
	}
	
	.timeline .wp-block-column:nth-child(even) .line {
		order: 4;
	}
	
	.timeline .wp-block-column:nth-child(even) .date {
		order: 5;
	}
	
	.timeline .wp-block-column:not(:first-child) {
		margin-left:0;
	}
	
	.timeline .date {
		position: absolute;
		transform: rotate(-90deg);
		margin-left: -110px;
		margin-top: 80px;
	}
	
	.timeline .wp-block-column {
		padding-left: 100px;
		padding-top:0!important;
		margin-bottom: 10px;
	}
	
	.timeline .wp-block-column:nth-child(even) {
		padding-top:0
	}
	
	.timeline .wp-block-image .aligncenter {
		margin-left: 0;
		margin-right: 0;
	}
	
	.line:before {
		float: none;
		transform: rotate(90deg);
		margin-top: -10px;
		margin-left: 10px;
		position: absolute;
		top: 0;
	}
	
	.line:after {
		float: none;
		transform: rotate(90deg);
		position: absolute;
		bottom: -20px;
		z-index: 5;
		margin-left: 10px;
	}
	
	.timeline .wp-block-image:before, .timeline .wp-block-image:after {
		display:none!important;
	}
	
	h3 {
		line-height: 130%;
	}
	
	h2 {
		line-height: 120%;
	}
	
	.image-no-bottom img {
		width: 700px;
	}
	
	.image-no-bottom {
		margin-bottom: -71px;
	}
	
	.job .inner-container {
		padding-top: 120px;
	}
}


/* -- WIDTH-782px ------------------- */

@media screen and (max-width:782px) {
	.icons .wp-block-column,
	.first-paint .wp-block-column {
		flex-basis: 100%!important;
		margin: 0;
	}
	
	.icons.wp-block-columns,
	.first-paint .wp-block-columns {
		flex-wrap: wrap;
	}
	
	.icons .wp-block-column:not(:last-child) {
		margin-bottom: 70px;
	}
	
	.parallax.half-height {
		height: 50vh;
	}
	
	.oversize-image {
		position: relative;
		margin-top: 0;
		width: 100%;
		top: 0;
		right: inherit;
		height: 400px;
		margin-top: 70px;
	}
	
	.page-template-page_start h1 {
		margin-right: 0;
		text-align: center;
		margin-left: -40px;
	}
	
	.first-paint * {
		text-align: center;
	}
	
	.sg-popup-content, .sg-popup-content.contact, .sg-popup-content.biologic,
	#BorlabsCookieBox ._brlbs-box-wrap {
		max-width: calc(100% - 50px)!important;
	}
	
	#BorlabsCookieBox .container > .row {
		padding: 30px 10px;
	}
	
	.sg-popup-content .wp-block-image {
		width: 100%;
	}
	
	.sg-popup-content .white-background {
		padding: 20px 20px 25px 20px;
	}
	
	:not(.page-template-page_start) h1 {
		font-size: 35px;
	}
	
	.job .meta p.date {
		display:block;
	}
	
	.job .button {
		min-width: calc(50% - 25px);
	}
}


/* -- WIDTH-600px ------------------- */

@media screen and (max-width:600px) {
	:root {
		--font-big: 30px;
		--font-medium: 24px;
	}
	
	.entry-content > .wp-block-group > .wp-block-group__inner-container, .insert-page > .wp-block-group > .wp-block-group__inner-container, .parallax-inner {
		padding-top: 50px;
		padding-bottom: 50px;
	}
	
	.image-no-bottom img {
		width: 600px;
		max-width:600px;
	}
	
	.image-no-bottom {
		margin-bottom: -61px;
	}
	
	#stopper {
		left:0;
		width:100%;
	}
	
	#stopper a.button {
		width: 100%;
		border-radius: 0;
	}
	
	.dots {
		margin-top: -50px;
	}
	
	.dots .wp-block-columns:not(:first-child) .wp-block-image, .videos .wp-block-columns:not(:first-child) .wp-block-embed {
		margin-top: 40px;
	}
	
	.icons .wp-block-column:not(:last-child) {
		margin-bottom: 50px;
	}
	
	.gap-top {
		margin-top: 50px;
	}
	
	.gap-bottom {
		margin-bottom: 50px;
	}
	
	.wp-block-image.gap-bottom img {
		max-width:250px;
	}
	
	.wp-block-image.gap-bottom {
		margin-bottom: 30px;
	}
	
	.gap-top .button a {
		margin-bottom: 10px;
	}
	
	footer .inner-container {
		padding-bottom: 120px;
	}
	
	h1 {
		margin-bottom: 50px;
		margin-top: 20px;
	}
	
	.contact a.tel {
		width:265px;
	}
	
	:not(.page-template-page_start) h1 {
		font-size: 30px;
	}
	
	.job .inner-container {
		padding-top: 90px;
	}
	
	.job h3 {
		margin-top: 50px;
	}
	
	.job .meta p {
		display: inline-block;
	}
	
	.job .inner-container {
		padding-bottom:50px;
	}
	
	.wpcf7-list-item {
		height: 25px;
	}
}


/* -- WIDTH-500px ------------------- */

@media screen and (max-width:500px) {
	
	:root {
		--font-standard: 18px;
	}
	
	h1 .logo {
		margin-left:0;
		width: 140px;
		margin-top: 20px;
	}
	
	.page-template-page_start h1 {
		margin-left:-20px;
		margin-right:-20px;
		font-size:40px;
	}
	
	.oversize-image img {
		max-width: 150%;
		margin-left: -22%;
	}
	
	.image-no-bottom {
		margin-left: -35px;
	}
	
	.wp-block-image.gap-bottom img {
		max-width: 200px;
	}
	
	.dots .wp-block-columns {
		margin-left: -30px;
		margin-right: -30px;
		width: calc(100% + 60px);
	}
	
	.dots .wp-block-column {
		padding: 0 30px;
	}
	
	.inner-container, .entry-content > .wp-block-group > .wp-block-group__inner-container, .insert-page > .wp-block-group > .wp-block-group__inner-container, .parallax-inner {
		padding-left: 30px;
		padding-right: 30px;
	}
	
	a.button, .button a, input.button, #BorlabsCookieBox a._brlbs-btn-accept-all {
		min-width:100%;
		margin-top:15px;
	}
	
	.wp-block-buttons .button,
	.dots .button {
		width:100%;
	}
	
	.dots .button {
		margin-top: 15px;
	}
	
	.dots .wp-block-image, .wp-block-embed {
		margin-bottom:20px;
	}
	
	h3 {
		margin-bottom: 15px;
	}
	
	a.tel {
		padding-right:20px;
	}
	
	footer .inner-container {
		padding-bottom: 95px;
		padding-top: 50px;
	}
	
	.parallax.half-height {
		height: 30vh;
	}
	
	.list .date {
		font-size:13px;
	} 
	
	.list h4 {
		margin-bottom: 10px;
	}
	
	.meta {
		text-align:left;
	}
	
	.meta p {
		padding-left: 28px!important;
		line-height: 130%;
		display:block;
	}
	
	.sg-popup-content h3 {
		margin-bottom: 30px;
		margin-top: 10px;
	}
	
	.sg-popup-content.contact .white-background, .sg-popup-content.biologic .white-background {
		max-height: calc(90vh - 100px);
	}
	
	.sg-popup-content .wp-block-image.round-image {
		width: 150px;
		height: 150px;
		margin-bottom: -75px;
	}
	
	.meta p:not(:last-child) {
		margin-bottom: 10px;
	}
	
	.sg-popup-content.contact .white-background, .sg-popup-content.biologic .white-background {
		padding-top:90px;
	}
	
	.sg-popup-content, .sg-popup-content.contact, .sg-popup-content.biologic,
	#BorlabsCookieBox ._brlbs-box-wrap {
		max-width: calc(100% - 30px)!important;
	}
	
	.text p {
		word-wrap: break-word;
	}
	
	.job .button {
		min-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
	
	.BorlabsCookie ._brlbs-content-blocker ._brlbs-embed ._brlbs-caption * {
		font-size: 15px!important;
	}
	
}

/* -- WIDTH-400px ------------------- */

@media screen and (max-width:400px) {
	.page-template-page_start h1 {
		font-size: 35px;
		margin-top: 10px;
	}
	
	.job .meta p {
		display: block;
		text-align:left;
	}
	
	.job .meta p.date {
		display: block;
		padding: 0 0 20px 0;
		text-align: center;
	}
	
	.videos .wp-block-embed iframe, .is-type-video, .is-type-video iframe {
		height: 190px;
	}
	
	.contact a.tel {
		padding-left:20px;
		margin-left:-5px;
	}
}