@charset "utf-8";

/*********
Allgemein
*********/
* {
	font-family: 'DIN', Helvetica, Arial, sans-serif;

	hyphens: auto;
	-webkit-hyphenate-limit-before: 3; /* For Safari */
	-webkit-hyphenate-limit-after: 4; /* For Safari */
	hyphenate-limit-chars: 10 3 4;
}

html {
	height: 100%;
}

a:link,
a:visited,
a:hover,
a:active {
	outline: 0;
}

/*********
Allgemeine Responsive Klassen für Geräte
*********/
/* Desktop */
@media 
only screen and (min-width : 880px) {
	.desktop-off,
	.referenzinfos {
		display: none;
	}
}

/* Tablets */
@media 
only screen and (min-width : 600px) and (max-width : 879.9px) {
	.tablet-off {
		display: none;
	}
	.referenzinfos {
		clear: both;
		display: inline-block;
		margin-bottom: 30px;
	}
}

/* Mobile */
@media 
only screen and (min-width : 220px) and (max-width : 599.9px) {
	.phone-off {
		display: none;
	}
	.referenzinfos {
		clear: both;
		display: inline-block;
		margin-bottom: 30px;
	}
}

/*********
Allgemeine Content Styles
*********/
h1, h2, h3, p.lead, legend {
	font-family: DIN-MED, Helvetica, Arial, sans-serif;
}

h1, h2, h3, p {
	margin: 0;
	padding: 0;
}

h1 {
	font-size: 2rem; /* 40px 40/16 = 2.5 */
	font-weight: normal;
	color: #2fa9d2;
	margin-bottom: 30px;
}

h2 {
	font-size: 2rem; /* 30px 32/16 = 2 */
	font-weight: normal;
	color: #2fa9d2;
	margin-bottom: 20px;
	margin-top: 40px;
}

h3,
.kontakt-site h2,
.details-site h2,
#map .text-container h2,
.impressum-site h2,
.datenschutz-site h2 {
	font-size: 1.25rem; /* 20px 20/16 = 1.25 */
	font-weight: normal;
	color: #898989;
	margin-bottom: 10px;
	margin-top: 30px;
}

.details-site h2,
#map .text-container h2,
.dienstleistungen-site .list.downloads h3,
.impressum-site h2,
.datenschutz-site h2 {
	color: #2fa9d2;
}

.dienstleistungen-site .list.downloads h3 {
	margin-top: 30px;
}

.counter div.container {
	width: calc(50% - 2px - 50px);
	margin-right: 0%;
	float: left;
	padding: 25px;
/*	min-height: 50px;*/
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: left;
	align-content: center;
}

.counter div.container p {
	display: flex;
	flex-direction: row;
}

.counter div.container div.icon-text {
	padding: 0;
	    display: block;
    width: auto;
	display: contents;
	
	display: flex;
    flex-direction: column;
}

.counter div.container div.icon-text span.zahl {
	/*display: block;
	display: contents;*/
	/*text-align: center;*/
	font-weight: bold;
	font-size: 2rem;
	line-height: normal;
	padding-bottom: 0px;
}

.counter span {
	display: contents;
}

.counter span.container {
font-size: 1.15rem;
}


.counter div.container:nth-child(2n) {
	margin-right: 0px;
}

.counter div.container:nth-child(1),
.counter div.container:nth-child(2) {
	border-bottom: 2px solid #2fa9d2;
}

.counter div.container:nth-child(1),
.counter div.container:nth-child(3) {
	border-right: 2px solid #2fa9d2;
}

.counter div.container span.zahl {
	display: block;
	/*text-align: center;*/
	font-weight: bold;
	font-size: 2rem;
	line-height: normal;
	padding-bottom: 10px;
}

.counter div.container p,
.counter div.container span.zahl,
.counter div.container span.text {
	font-size: 1.15rem;
	font-weight: normal;
	color: #000;
	justify-content: flex-start;
}

.counter img.icon {
	height: 50px;
	/*display: block;
	margin-left: auto;
	margin-right: auto;*/
	padding-bottom: 0px;
	padding-right: 10px;
}

.counter img.icon {
	border-right: 1px solid #000 !important;
	margin-right: 15px;
}

.counter.hg-blau div {
	background-color: #2fa9d2;	
}

.counter div.container:nth-child(1),
.counter div.container:nth-child(2) {
	border-bottom: 2px solid #2fa9d2;
}

.counter div.container:nth-child(1),
.counter div.container:nth-child(3) {
	border-right: 2px solid  #2fa9d2;
}

.counter.hg-blau div p,
.counter.hg-blau div span {
	color: #FFFFFF !important;
}

/*.referenzen-site .counter div.container {
	justify-content: center;
}*/

/*.referenzen-site .counter div.container:nth-child(1) {
	width: calc(100% - 50px);
	border-right: 0px;
}

.referenzen-site .counter div.container:nth-child(2) {
	border-bottom: 0px;
	border-right: 2px solid #fff;
}
.referenzen-site .counter div.container:nth-child(3) {
	border-right: 0px;
}*/

.referenzen-site .counter.hg-blau div p {
	text-align: center;
}

.referenzen-site #count-kantone,
.referenzen-site #count-kantone-2{
	
}

.referenzen-site #count-kantone-2 {
	font-size: 1.15rem;
	
}

/*.referenzen-site .container:first-child {
	justify-content: center;
}*/

@media 
only screen and (min-width : 1200px) and (max-width : 1890px) {
	.counter div.container,
	.counter div.container div.icon-text {
		align-items: center;
		justify-content: center;
		
	}
	
	.counter div.container {
		flex-direction: column;
	}
	
	.counter img.icon {
		border-right: 0px !important;
		padding-right: 0px;
		margin-right: 0px;
		border-bottom: 1px solid #000;
		padding-bottom: 10px;
		margin-bottom: 10px;
		text-align: center;
		display: block;
	}
}

@media 
only screen and (min-width : 880px) and (max-width : 1199.9px) {
	.counter div.container {
		width: calc(100% - 50px);
		border-right: 0px;
		border-bottom: 2px solid #2fa9d2;
	}
	
	.counter div.container:first-child {
		border-top: 2px solid #2fa9d2;
	}
	
	.counter img.icon {
		border-right: 1px solid #000 !important;
		margin-right: 10px;
	}
}

@media 
only screen and (min-width : 721px) and (max-width : 867px) {
	.counter div.container,
	.counter div.container div.icon-text {
		align-items: center;
		justify-content: center;
		
	}
	
	.counter div.container {
		flex-direction: column;
	}
	
	.counter img.icon {
		border-right: 0px !important;
		padding-right: 0px;
		margin-right: 0px;
		border-bottom: 1px solid #000;
		padding-bottom: 10px;
		margin-bottom: 10px;
		text-align: center;
		display: block;
	}
}


@media 
only screen and (min-width : 0px) and (max-width : 720px) {
	.counter div.container {
		width: calc(100% - 50px);
		border-right: 0px;
		border-bottom: 2px solid #2fa9d2;
	}
	.counter div.container:first-child {
		border-top: 2px solid #2fa9d2;
	}
}


/*@media 
only screen and (min-width : 880px) and (max-width : 1124px) {
	.counter div {
    	width: calc(100% - 0px - 100px);
		border: 0px;
		border-bottom: 2px solid #fff;
	}
	.counter div:last-child {
		border-bottom: 0px;
	}
	.counter div:nth-child(1), 
	.counter div:nth-child(3) {
    	border-right: 0px;
	}

.referenzen-site .counter div:nth-child(2) {
		border-bottom: 2px solid #fff;
		border-right: 0px solid #fff;
	}

.referenzen-site .counter div:nth-child(3) {
		border-right: 0px;
	}
}*/

#map .text-container h2 {
	margin-top: 0;
}

h4,
.datenschutz-site h3 {
	font-size: 1rem; /* 20px 20/16 = 1.25 */
	color: #898989;
	margin-bottom: 5px;
	margin-top: 15px;
}

h2:first-child, 
h3:first-child {
	margin-top: 0;	
} 

p {
	font-size: 1rem; /* 12px 12/16 = 0.75 */
	line-height: 1.3rem;
	margin-bottom: 15px;
}

p:last-child {
	margin-bottom: 0;
}

p.lead {
	font-size: 1.125rem;
	line-height: 1.425rem;
}

p.date,
span.date {
	font-size: 0.8rem;
}

span.date {
	background: #2fa9d2;
	padding: 5px;
	line-height: 1.125rem;
	color: #fff;
	display: inline;
}

.projektinfos {
	margin-bottom: 0px;
}

.projektinfos p {
	background: #2fa9d2;
	padding: 10px;
	line-height: 1.125rem;
	display: table;
}

.projektinfos p {
	color: #fff;
	margin-bottom: 1px;
}

address {
	font-style: normal;
}

address a[href^="mailto:"],
address a[href^="tel"] {
	text-decoration: none;
}

address a[href^="mailto:"]:hover,
address a[href^="tel"]:hover {
	color: #2fa9d2;
}

.hg-grau h1, 
.hg-grau h2, 
.hg-grau h3, 
.hg-grau p {
	color: #fff;
}

img {
	border: 0;
}

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

.img-right {
	float: right;
	margin-left: 15px;
	margin-bottom: 15px;
}

.img-left {
	float: left;
	margin-right: 15px;
	margin-bottom: 15px;
}

@media 
only screen and (min-width : 220px) and (max-width : 599.9px) {
	.img-right {
		float: none;
		display: block;
		width: 100%;
		margin-left: 0px;
	}
	.img-left {
		float: none;
		display: block;
		width: 100%;
		margin-right: 0px;
	}
}

ul, ol {
	padding: 0;
	margin: 0;
	margin-bottom: 15px;
} 

li {
	padding-bottom: 10px;
	padding-left: 8px;
	margin-left: 15px;
	list-style-type: disc;
	font-size: 1rem; /* 12px 12/16 = 0.75 */
}

ol li {
	list-style-type: decimal;
}

/*Links*/
a {
	color: #333;
	text-decoration: underline;
}

a:hover {
	color: #333;
	text-decoration: none;
}

a[href^="mailto:"],
a[href^="tel"] {
	color: #333;
}

a.download {
    background-position: top left;
    padding-left: 25px;
    color: #2fa9d2;
    background-image: url(../img/layout/icon-download-off.svg);
    background-size: auto 18px;
    background-repeat: no-repeat;
    display: inline-block;
}

a.download:hover {
	background-image: url(../img/layout/icon-download-on.svg);
	color: #333;
}

/* Buttons */
.btn a {
	display: block;
	padding: 15px;
	background: #636a6e; /*vorher 333*/
	color: #fff;
	text-align: center;
	text-decoration: none;
}

.btn a:hover {
	background: #2fa9d2;
}

.btn.blue a {
	background: #2fa9d2;
}

.btn.blue a:hover {
	background: #636a6e; /*vorher 333*/
}

.btn.inline a {
	display: inline-block;
}

.btn.inline.right {
	text-align: right;
}


/*********
Raster-Styles
*********/
header {
	margin-bottom: 100px;
	position: relative;
	padding-bottom: 37.5%; /* bei 16 zu 6 -> 6/16*100*/
	padding-top: 0px;
	height: 0;
}

.index-site header {
	height: 37vw;
	height: calc(37vw + 158px);
}

header #logo {
	z-index: 1000;
}

header .header-container {
	position: relative;
	top: 0;
}

header .header-flex {
	display: flex;
	flex-direction: row;
	align-items: baseline; /*vorher flex-end*/
	justify-content: space-between;
	margin-bottom: 150px;
}
/*header .headgrafik {
	position: relative;
	position: absolute;
	top: 0;
	height: 40vh;
	width: 100%;
	overflow: hidden;
	z-index:10;
}*/

header .headgrafik > img {
	position: absolute;
	z-index: -1;
	top: 0px;
	width: 100%;
}

header #map {
	top: 0px;
	z-index: 1;
}

header #jubilaeum img {
	height: 12vw;
	min-height: 80px;
	position: fixed;
	right: 1vw;
	top: 20vw;
	transform: rotate(10deg);
}

.referenzen-site header .main-nav {
	z-index: 100;
}

.shortnav {
	background: #2fa9d2;
	position: absolute;
	display: flex;
	align-items: center;
	padding: 30px;
	height: auto;
	padding-left: 60px;
	padding-right: 60px;
	top: -79px; /*158px:2*/
	padding-top: 0;
	padding-bottom: 0;
}

.shortnav+.content {
	padding-top: 179px;
}

.shortnav ul.list.spalten li {
	float: left;
	margin-bottom: 0%;
	/*padding-right: 60px;*/
	padding-right: 0;
}

.shortnav ul.list.spalten {
	display: flex;
    flex-direction: row;
    /*justify-content: space-between;*/
	min-width: 50vw;
	justify-content: space-around;
	flex-wrap: nowrap;
}

.shortnav ul.list.spalten li a div.shortnav-textcontainer {
	font-family: DIN-MED, Helvetica, Arial, sans-serif;
	letter-spacing: 0.015rem;
	font-size: 1.125rem;
	line-height: 1.125rem;
	color: #fff;
}

.shortnav ul.list.spalten li:last-child {
	padding-right: 0;
}

.shortnav-icon{
	padding-bottom: 15px;
}

.shortnav-icon img {
	height: 65px;
	width: auto;
}

.shortnav .spalten li {
	flex: auto;
}

.shortnav .spalten li a {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-items: center;
	padding-top: 30px;
    padding-bottom: 30px;
}

@media 
only screen and (min-width : 1024px) and (max-width : 1399px) {
	.shortnav ul.list.spalten {
		min-width: 65vw;
	}
}

@media 
only screen and (min-width : 220px) and (max-width : 1023.9px) {
	.shortnav {
		width: -webkit-fill-available;
		top: 0;
	}
	.index-site header {
		height: 37vw;
		overflow: hidden;
	}
	.noscroll .index-site header {
		height: 100vh;
	}
	.shortnav ul.list.spalten {
		width: 100%;
	}
	.shortnav+.content {
    	padding-top: 258px;
	}
}

@media 
only screen and (min-width : 220px) and (max-width : 749.9px) {
	.shortnav-textcontainer {
		display: none;
	}
	.shortnav-icon {
    	padding-bottom: 0px;
	}
	.shortnav+.content {
		padding-top: calc(258px - 33px - 50px) !important;
	}
}

/*GRUNDSTYLES*/
main {
}

body {
	font-size: 100%; /* 16px = 1rem */
	height: 100%;
}

body, img, p, tr, td {
	color: #333;
}

main section {
	padding-top: 100px;
	padding-bottom: 100px;
}

main section.ohneabstand-oben {
	padding-top: 0px;
}

.halberabstand-unten {
	margin-bottom: 25px;
}

main section:first-child {
	padding-top: 0;
}

section.hg-grau {
	background: #636a6e;
}

section.hg-blau,
.hg-blau {
	background: #2fa9d2;
}

section.hg-grau .section-title {
	background: #2fa9d2;
	position: absolute;
	margin-top: calc(-100px - 15px - 0.687rem);
}

section .section-title h2 {
	font-size: 1.375rem;
	line-height: initial;
	margin-bottom: 0;
	padding: 15px;
	padding-left: 60px;
}

.content-block-center {
	width: 100%;
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
}

.content-fluid-center {
	width: 100%;
	max-width: 1800px;
	margin-left: auto;
	margin-right: auto;
}

.content {

}

.bild-container img.play {
	width: 60px;
	position: absolute;
	left: calc(50% - 30px);
	top: calc(50% - 30px);
}

#logo {
	background:#fff;
}

#logo > a {
	display: flex;
	padding: 25px;
}

@media 
only screen and (min-width : 220px) and (max-width : 480px) {
	#logo > a {
		padding: 15px;
	}
}

#logo a {
	display: inline-flex;
}

#logo > a img {
	height: 80px;
}

/*FIXED HEADER*/
header {
	position: fixed;
	width: 100%;
	margin-bottom: 100px;
    padding-bottom: 37.5%;
    padding-top: 0px;
    height: auto;
	padding-bottom: 37.5%; /* bei 16 zu 6 -> 6/16*100*/
}

main {
	z-index: 1000;
	position: relative;
	top: 36vw; /*vorher 37vw*/
}

main .content {
	background: white;
}

main .content.hg-grau {
	background: #636a6e;
}

main .content:first-child {
	padding-top: 100px;
}

footer {
	z-index: 10000;
    bottom: -36vw;
}

footer .claim-text {
	position: absolute;
    top: 25%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
	left: -25%;
}

footer .claim-text span {
	color: #fff;
    background: #2fa9d2;
    padding: 2px 5px;
	
    top: 35%;
    display: inline-block;
    margin-bottom: 1px;
	text-transform: uppercase;
	font-size: 0.85rem;
	line-height: 1rem;
}

@media 
only screen and (min-width : 1391px) and (max-width : 1890px) {
	.content-fluid-center {
		width: 100%;
		max-width: 1291px; /*vorher 1310*/
		margin-left: auto;
		margin-right: auto;
	}
	.content-block-center {
		width: 100%;
		max-width: 980px;
		margin-left: auto;
		margin-right: auto;
	}
}

@media 
only screen and (min-width : 600px) and (max-width : 1390px) {
	.content-block-center {
		margin-left: 120px; /*vorher 100px*/
		margin-right: 120px; /*vorher 100px*/
		width: auto;
	}
	.content-fluid-center {
		margin-left: 40px; /*vorher 45*/
		margin-right: 40px;
		width: auto;
	}
}

@media 
only screen and (min-width : 220px) and (max-width : 599.9px) {
	body {
		font-size: 90%; 
	}
	.content-block-center {
		margin-left: 40px; /*vorher 60px*/
		margin-right: 40px; /*vorher 60px*/
		width: auto;
	}
	.content-fluid-center {
		margin-left: 40px; /*vorher 20px*/
		margin-right: 40px; /*vorher 20px*/
		width: auto;
	}
	#logo > a img {
		height: 60px;
	}
	.shortnav {
		padding-left: 40px;
		padding-right: 40px;
	}
	header .headgrafik > img {
		width: 160%;
		left: -30%;
	}
	main {
		top: 190px; /*vorher 27.5, danach 22*/
	}
	main .content:first-child {
		padding-top: 50px;
	}
	main section {
		padding-top: 50px;
		padding-bottom: 50px;
	}
	section.hg-grau .section-title {
		margin-top: calc(-50px - 15px - 0.687rem);
	}
	footer {
    	bottom: -190px;
	}
}

@media 
only screen and (min-width : 220px) and (max-width : 360px) {
	.content-block-center {
		margin-left: 30px; 
		margin-right: 30px;
		width: auto;
	}
	.content-fluid-center {
		margin-left: 30px;
		margin-right: 30px;
		width: auto;
	}
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
}

footer {
	position: relative;
	background: #333;
	padding-top: 50px;
	padding-bottom: 150px; /*vorher 100px*/
}

footer p {
	color: #fff;
}

footer a[href^="mailto:"],
footer a[href^="tel"] {
	color: #fff;
	text-decoration: none;
}

footer a[href^="mailto:"]:hover,
footer a[href^="tel"]:hover {
	color: #2fa9d2;
	text-decoration: none;
}

footer .flex {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
}

footer .claim {
	display: flex;
    text-align: center;
    align-self: flex-end;
	position: absolute;
	right: 0;
	bottom: 0;
}

footer .claim img {
	height: 125px;
}

footer .adressblock,
footer .footerclaim,
footer .footernav {
	align-self: start;
}


footer .adressblock .social-links {
	margin-top: 15px;
}

footer .footerclaim {
	display: flex;
	justify-content: space-around;
	position: relative;
}

footer .footerclaim img {
	height: 125px;
}

footer address {
	font-style: normal;
}

footer address p {
	line-height: 1.5;
}

footer b {
	color: #fff;
}

footer #myBtn {
	display: none;
	position: fixed;
  	bottom: 40px;
  	left: 40px;
  	z-index: 99;
  	font-size: 1rem;
  	border: none;
  	outline: none;
  	background-color: #2fa9d2;
  	color: #fff;
  	cursor: pointer;
  	padding: 12.5px;
  	border-radius: 0px;
	border:  1px solid #fff;
	width: 50px;
	height: 50px;
}

footer #myBtn img {
	width: auto;
}

footer #myBtn:hover {
  	background-color: #636a6e;
	border:  1px solid #2fa9d2;
}

.skipp {
	position: absolute;
	left: 20px;
	bottom: 20px;
}

.skipp img {
	display: block;
	/* IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
	/* IE 5-7 */
	filter: alpha(opacity=70);
	/* Netscape/FireFox */
	-moz-opacity: 0.7;
	/* Safari 1.x */
	-khtml-opacity: 0.7;
	/* aktuelle Browser */
	opacity: 0.7;
}

/*Für 4 spalten-Footer*/
/*@media 
only screen and (min-width : 501px) and (max-width : 920px) {
	footer div {
		margin-right: 3.5%;
		width: 48.25%;
	}
	footer div:nth-child(2),
	footer div:nth-child(4) {
		margin-right: 0;
	}
	footer .footerclaim {
		justify-content: flex-start;
		left: 35px;
	}
	footer div.footernav .service-nav ul li {
		text-align: left;
	}
	footer div.adressblock {
		padding-bottom: 50px;
	}
}*/

@media 
only screen and (min-width : 501px) and (max-width : 700px) {
	footer div {
		margin-right: 3.5%;
		width: 48.25%;
	}
	footer div:nth-child(2),
	footer div:nth-child(4) {
		margin-right: 0;
	}
	footer .footerclaim {
		justify-content: flex-start;
		left: 35px;
		    align-self: baseline;
	}
	footer div.footernav .service-nav ul li {
		text-align: left;
	}
	footer div.adressblock {
		padding-bottom: 50px;
	}
	footer .claim-text {
		left: 0;
		right: 20%;
	}
}

@media 
only screen and (min-width :0px) and (max-width : 500px) {
	footer .flex div {
		margin-right: 0%;
		width: 100%;
		padding-bottom: 25px;
	}
	footer .claim-text {
		left: auto;
		right: -25% !important;
	}
	footer .flex div.adressblock:nth-child(1) {
		order: 2;
	}
	footer .flex div.adressblock:nth-child(2) {
		order: 3;
	}
	footer .flex div.footerclaim {
		width: auto;
		order: 4;
		justify-content: flex-end;
	}
	footer div.footernav .service-nav {
		padding-bottom: 25px;
		order: 1;
	}
	footer div.footernav .service-nav ul li {
		text-align: left;
	}
	
}

@media 
only screen and (min-width : 220px) and (max-width : 599.9px) {
	.skipp {
		display: none;
	}
}

/*********
Tools & spezifische Content-Styles
*********/
.infobox {
	padding: 30px;
}

.hg-blau.infobox h2,
.hg-blau.infobox p,
.hg-blau.infobox a {
	color: #fff;
}

ul.list {
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.list li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	margin-right: 0%;
	margin-bottom: 3.5%;
}

ul.stellen {
	display: flex;
	flex-wrap: wrap;
}

.list li a,
.jobs a {
	text-decoration: none;
	display: block;
}

.list.vier-spalten li {
	width: 22.375%;
	margin-right: 3.5%;
	margin-bottom: 3.5%;
	float: left;
}

.list.drei-spalten li {
	width: 31%;
	margin-right: 3.5%;
	margin-bottom: 3.5%;
	float: left;
}

.list.zwei-spalten li, 
.list.zwei-spalten.news.front li {
	width: 48.25%;
	margin-right: 3.5%;
	margin-bottom: 3.5%;
	float: left;
}

.list.vier-spalten li:nth-child(4n),
.list.drei-spalten li:nth-child(3n), 
.list.zwei-spalten li:nth-child(2n), 
.list.zwei-spalten.news.front li:nth-child(2n) {
	margin-right: 0;
}

.news-site ul.news {
	padding-top: 30px;
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.news-site ul.news li {
	display: flex;
}

.news-site ul.news li a {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: space-between;
}

.news-site iframe[src*="srf.ch"] {
	width: 100%;
	border: 0;
}

.list.downloads li {
	margin-bottom: 10px;
}

.downloads-site .list.downloads li {
	margin-bottom: 3.5%;
	padding-bottom: 15px;
}

.list.downloads li:last-child {
	margin-bottom: 0;
}

.list.list.zwei-spalten.gallerie {
	padding-top: 3.5%;
	clear: both;
	padding-bottom: 7%;
}

.list.zwei-spalten.gallerie.referenzen {
	padding-top: 7%;
}

.list.zwei-spalten.gallerie.referenzen li:first-of-type {
	width: 100%;
	margin-right: 0px;
}

.list.zwei-spalten.gallerie.referenzen li:nth-child(2n) {
	margin-right: 3.5%;
}

.list.zwei-spalten.gallerie.referenzen li:nth-child(2n+1) {
	margin-right: 0px;
}

div.gallerie {
	margin-top: 7%;
}

.yt-movie {
	margin-top: 7%;
	/*padding-top: 30px;*/
	padding-bottom: 7%;
	clear: both;
}

.drei-d {
	padding-bottom: 0;
}

.downloads-site ul.list.vier-spalten.downloads {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.downloads-site ul.list.vier-spalten.downloads li {
	margin-bottom: 3.5%;
	margin-top: 0px;
}

@media 
only screen and (min-width : 880px) and (max-width : 1280px) {
	.list.zwei-spalten.news.front li,
	.list.zwei-spalten.news.front li.jobs {
		width: 100%;
		margin-right: 0;
	}
}

@media 
only screen and (min-width : 600px) and (max-width : 879.9px) {
	.list.vier-spalten li, 
	.list.vier-spalten li:nth-child(4n), 
	.list.drei-spalten li, 
	.list.drei-spalten li:nth-child(3n) {
		width: 48.25%;
		margin-right: 3.5%;
	}
	.list.vier-spalten li:nth-child(2n), 
	.list.drei-spalten li:nth-child(2n) {
		margin-right: 0;
	}
	
}

@media 
only screen and (min-width : 220px) and (max-width : 599.9px) {
	.list.zwei-spalten li, 
	.list.zwei-spalten.news.front li, 
	.list.zwei-spalten li:nth-child(2n), 
	.list.zwei-spalten.news.front li:nth-child(2n),
	.list.drei-spalten li, 
	.list.drei-spalten li:nth-child(3n), 
	.list.drei-spalten li:nth-child(2n), 
	.list.vier-spalten li, 
	.list.vier-spalten li:nth-child(4n), 
	.list.vier-spalten li:nth-child(2n),
	.list.zwei-spalten.gallerie.referenzen li:nth-child(2n) {
		width: 100%;
		margin-right: 0%;
		float: none;
		display: block;
	}
	.list.zwei-spalten li.jobs {
		float: left !important;
	}
	.list.zwei-spalten li.jobs:last-child {
		margin-bottom: 0;
	}
}

@media 
only screen and (min-width : 220px) and (max-width : 800px) {
	.list.zwei-spalten.news.front li,
	.list.zwei-spalten.news.front li:nth-child(2n){
		width: 100%;
		margin-right: 0%;
		float: none;
		display: block
	}
}

/* Tablets und Mobile */
@media 
only screen and (min-width : 220px) and (max-width : 879.9px) {
	.list.zwei-spalten.gallerie.referenzen {
    	padding-top: 0%;
	}
}

/*REFERENZEN und NEWS -4er/34/2er/1*/
@media 
only screen and (min-width : 1081px) and (max-width : 1580px) {
	.list.vier-spalten.referenzen li, 
	.list.vier-spalten.referenzen li:nth-child(4n),
	.list.vier-spalten.news li,
	.list.vier-spalten.news li:nth-child(4n){
		width: 31%;
		margin-right: 3.5%;
	}
	.list.vier-spalten.referenzen li:nth-child(3n),
	.list.vier-spalten.news li:nth-child(3n){
		margin-right: 0;
	}
	.index-site .list.vier-spalten.referenzen li:nth-child(4) {
		display: none;
	}
}

@media 
only screen and (min-width : 781px) and (max-width : 1080px) {
	.list.vier-spalten.referenzen li, 
	.list.vier-spalten.referenzen li:nth-child(4n),
	.list.vier-spalten.news li, 
	.list.vier-spalten.news li:nth-child(4n){
		width: 48.25%;
		margin-right: 3.5%;
	}
	.list.vier-spalten.referenzen li:nth-child(2n),
	.list.vier-spalten.news li:nth-child(2n){
		margin-right: 0;
	}	
}

@media 
only screen and (min-width : 220px) and (max-width : 780px) {
	ul.referenzen {
		margin-bottom: 5%;
	}
	.list.vier-spalten.referenzen li, 
	.list.vier-spalten.referenzen li:nth-child(4n),
	.list.vier-spalten.referenzen li:nth-child(2n),
	.list.vier-spalten.news li, 
	.list.vier-spalten.news li:nth-child(4n),
	.list.vier-spalten.news li:nth-child(2n){
		width: 100%;
		margin-right: 0%;
		margin-bottom: 5%;
	}
	.list.vier-spalten.referenzen li:last-child,
	.list.vier-spalten.news li:last-child{
		margin-bottom: 0;
	}
}

/*****
ING-PLUS INDIVIDUAL STYLIES TOOL
*****/
strong, b {
	font-family: DIN-MED, Helvetica, Arial, sans-serif;
	font-weight: normal;
}

.news li,
div.referenzen {
	background-color: #636a6e;
}

.text-container {
	padding: 30px;
	padding-top: 37.5px;
	padding-bottom: 15px;
}

.jobs .text-container {
	padding-bottom: 30px;
}

.text-container h2 {
	font-size: 1.375rem;
}

.text-container p.lead {
	font-family: 'DIN', Helvetica, Arial, sans-serif;
	font-size: 1rem;
}

.jobs .text-container p.lead {
	font-family: DIN-MED, Helvetica, Arial, sans-serif;
	letter-spacing: 0.25px;
}

.text-container h2,
.text-container p.lead {
	color: #fff;
}

.hg-grau .text-container h2,
.hg-grau .text-container p.lead {
	color: #333;
}

.button-container {
	display: flex;
    justify-content: flex-end;
}

#map .button-container {
	display: block;
}

.bild-container {
	position: relative;
}

.bild-container .date-container,
.bild-container .projektinfo-container,
.projektinfo-container {
	background: #2fa9d2;
    padding: 7.5px;
	padding-top: 10px;
    padding-left: 30px;
    margin-top: -16px; /*vorher -16px*/
    position: absolute;
}

.bild-container .date-container p,
.referenzen .bild-container .projektinfo-container p,
#map .projektinfo-container p {
	color: #fff;
}

.bild-container .date-container p {
	line-height: initial;
}

.bild-container img {
	width: 100%;
}

#map .gm-style-iw-chr {
	position: absolute;
  	right: 0;
}

#map .bild-container img {
	display: block;
}

.jobs  {
	background-color: #2fa9d2 !important;
}

.jobs .text-container  {
	padding-top: 30px;
}

.jobs .text-container p {
	color: #fff;
}

.jobs .button-container p.btn.short,
.jobs .text-container p.btn.short {
	background: #636a6e;
}

.button-container p.btn.short {
	background: #2fa9d2;
    display: flex;
    width: 35px;
	height: 35px;
	float: right;
	background-image: url(../img/layout/icon-plus-weiss.svg) !important;
	background-size: 15px !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
}

.news a:hover .button-container p.btn.short,
.referenzen a:hover .button-container p.btn.short {
	background-image: url(../img/layout/icon-plus-grau.svg) !important;
}

.news .jobs a:hover .button-container p.btn.short,
.stellen .jobs a:hover .button-container p.btn.short{
	background-image: url(../img/layout/icon-plus-blau.svg) !important;
}

.social-links a {
	display: inline-block;
	width: 35px;
	height: 35px;
	background-color: #2fa9d2;
}

.social-links a:hover {
	background-color: #636a6e;
}

.list.zwei-spalten li.jobs:only-child {
	margin-bottom: 0;
}

.list.zwei-spalten li.jobs {
	width: 100%;
	margin-right: 0;
}

.list.zwei-spalten li.jobs:nth-child(1),
.list.zwei-spalten li.jobs:nth-child(2) {
	width: 48.25%;
    margin-right: 0%;
}

.list.zwei-spalten li.jobs:nth-child(1) {
	margin-right: 3.5%;
}

.list.zwei-spalten li.jobs:nth-child(3n),
.list.zwei-spalten li.jobs:only-child {
	width: 100%;
	margin-right: 0px;
}

.unternehmen-site .fancybox-slide--iframe .fancybox-content {
    max-width: 600px;
	max-height: 870px;
}

.fancybox-container .fancybox-thumbs {
	background-color: #636a6e;
}

.fancybox-container .fancybox-thumbs__list a::before {
	border: 6px solid #2fa9d2;
}

.person-site .list.team {
	padding-top: 0;
}

@media 
only screen and (min-width : 880px) and (max-width : 1880px) {
	.unternehmen-site .list.zwei-spalten.stellen li.jobs,
	.unternehmen-site .list.zwei-spalten li.jobs:nth-child(1), 
	.unternehmen-site .list.zwei-spalten li.jobs:nth-child(2) {
		width: 100%;
		margin-right: 0;
	}
}

@media 
only screen and (min-width : 780px) and (max-width : 879px) {
	.unternehmen-site .list.zwei-spalten li.jobs:nth-child(1), 
	.unternehmen-site .list.zwei-spalten li.jobs:nth-child(2){
		width: 48.25%;
		margin-right: 3.5%;
	}
	.unternehmen-site .list.zwei-spalten li.jobs:nth-child(2) {
		margin-right: 0%;
	}
}

@media 
only screen and (min-width : 220px) and (max-width : 779px) {
	.unternehmen-site .list.zwei-spalten li.jobs:nth-child(1), 
	.unternehmen-site .list.zwei-spalten li.jobs:nth-child(2){
		width: 100%;
		margin-right: 0%;
	}
}

ul.referenzen {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
}

.referenzen li {
	background-color: #636a6e;
}

.list.stellen li.jobs a,
.list.vier-spalten.referenzen li a {
	display: flex;
    flex-direction: column;
    justify-self: self-start;
    justify-content: space-between;
    height: 100%;
}

.referenzen .text-container h3, 
.referenzen p {
	color: #fff;
}

.hg-grau .referenzen li,
.hg-grau ul.news li,
.hg-grau ul.downloads li {
	background-color: #fff;
}

.hg-grau .referenzen .text-container h3, 
.hg-grau .referenzen p,
#map .text-container h3,
#map .text-container p {
	color: #333;
}

#map .text-container h3 {
	margin-bottom: 0px;
}

div.referenzen {
	margin-bottom: 15px;
}

div.button p.btn {
	margin-top: 15px;
}

.referenzen .projekticon-container {
	position: absolute;
	margin-left: 0px; /*vorher 30px*/
}

#map .referenzen .projekticon-container {
	position: static;
}

#map .text-container {
	padding-top: 15px;
}

.kontakt-site #map .text-container {
	padding: 30px;
}

.referenzen .projekticon-container .icon,
.referenzicon {
	padding: 7px;
	background: #2fa9d2;
	margin-bottom: 1px;
	float: left;
	margin-right: 1px;
}

.referenzen .projekticon-container .icon img,
.referenzicon img {
	width: auto;
	height: 30px;
}

#map .nocookie {
	background-color: #ffffff;
	height: 355px;
	padding: 30px;
	z-index: 1;
  	position: relative;
}

.referenzen-site #map .nocookie {
	background-color: #A4A4A4;
	height: calc(100% - 60px);
}

.referenzen-site #map .nocookie h3 {
	margin-top: 15%;
}

@media 
only screen and (min-width : 220px) and (max-width : 779px) {
	.referenzen-site #map .nocookie p:not(.btn) {
		display: none;
	}
}

.kontakt-site #map .nocookie {
	background-color: #A4A4A4;
}

.nocookie h3,
.nocookie p {
	color: #333;
}

.nocookie .btn a {
	padding: 10px 15px;
	display: inline-block;
}

#map .icon {
	padding: 7.5px;
	bottom:0px;
}

#map .icon img {
	height: 23px;
}

#map .projektinfo-container  {
	position: static;
	margin-right: 1px;
}

#map .projekticon-container {
	position: relative;
}

#map .icon {
	padding: 7px;
	display: flex;
	min-height: calc(37.5px - 14px);
}

@-moz-document url-prefix() { 
  #map .icon {
	 	min-height: calc(38.3px - 14px);
	}
}

#map img.icon {
}

#map .projektinfo-container {
	margin-top: 0;
}

#map .gm-style .gm-style-iw-d {
	display: inline !important;
}

#map .gm-style-iw-d .bild-container {
	min-height: 100px;
	background-color: #636a6e;
}

/*MAP FILTER horizontal*/
.referenzen-site .referenzen {
	clear: both;
}

.referenzen-site #refmap-nav {
	background: #636a6e;
	width: 100%;
}

.referenzen-site #search-form {
	margin-bottom: 3.5%;
}

.referenzen-site label {
	display: inline-block;
}

div.referenzen a {
	text-decoration: none !important;
}

/*TEAM*/
ul.team {
	padding-top: 30px;
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.team li {
	background: #fff;
	display: flex;
    flex-direction: column;
}

.team li .text-container {
	padding: 30px;
	height: 100%;
       display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.team li .text-container h4,
.team li .text-container p {
	color: #333;
	margin-bottom: 5px;
}

.team li .text-container h4 {
	margin-top: 0;
	font-size: 1.15rem;
}

.team li .text-container p:last-child {
	margin-bottom: 0;
}

.team li .text-container p a {
	color: #2fa9d2;
}

.team li .text-container p.mail {
	padding-top: 15px;
}

@media 
only screen and (min-width : 981px) and (max-width : 1290px) {
	.list.vier-spalten.team li,
	.list.vier-spalten.team li:nth-child(4n){
		width: 31%;
		margin-right: 3.5%;
	}
	.list.vier-spalten.team li:nth-child(3n) {
		margin-right: 0;
	}
}

@media 
only screen and (min-width : 420px) and (max-width : 880px) {

	.unternehmen-site .grid-4:last-of-type {
		margin-top: 50px !important;
	}
	.unternehmen-site .grid-4:last-of-type h3:first-child
	 {
		padding-top: 0px !important;
	}
}

@media 
only screen and (min-width : 420px) and (max-width : 1095px) {
	.unternehmen-site h3,
	.unternehmen-site h3:first-child
	 {
		padding-top: 30px !important;
	}
	.unternehmen-site .team-gl h3
	 {
		padding-top: 0px !important;
	}
	
	 	
}
@media 
only screen and (min-width : 880px) and (max-width : 1095px) {
	.unternehmen-site .grid-2.last-grid.team-gl {
		width: 100%;
		margin-right: 0;
		float: none;
		clear: both;
	}
	.unternehmen-site .grid-4 {
		clear: both;
	}
	.unternehmen-site .team-gl h3
	 {
		padding-top: 60px !important;
	}
}



@media 
only screen and (min-width : 660px) and (max-width : 980px) {
	.list.vier-spalten.team li,
	.list.vier-spalten.team li:nth-child(4n){
		width: 48.25%;
		margin-right: 3.5%;
	}
	.list.vier-spalten.team li:nth-child(2n) {
		margin-right: 0;
	}
}

@media 
only screen and (min-width : 220px) and (max-width : 659px) {
	.list.vier-spalten.team li,
	.list.vier-spalten.team li:nth-child(4n){
		width: 100%;
		margin-right: 0%;
		margin-bottom: 5%;
	}
	.list.vier-spalten.team li:last-child {
		margin-bottom: 0;
	}
}

/*********
Accordion und Tab/Register
*********/
.ui-widget-content {
	background: rgba(255,255,255,0.00);
}

.ui-corner-all, 
.ui-corner-top, 
.ui-corner-left, 
.ui-corner-tl,
.ui-corner-bottom {
	border-top-right-radius: 0px;
	border-top-left-radius: 0px;
	border-bottom-right-radius: 0px;
	border-bottom-left-radius: 0px;
}

.ui-widget-header .ui-state-default {
	background:#2fa9d2;
	border: 0px;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover,
.ui-state-active:focus {
	border:none;
	background:#636a6e;
	font-weight:normal;
	color:#fff;
	outline: none;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active {
	margin-bottom: 0;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active::after {
	content: url(../img/layout/icon-register-open.png);
	text-align: center;
	position: absolute;	
	height: 2.5vw;
	width: 100%; /**/
    left: 0px; /*calc(50% - 5vw)*/
    bottom: -2.5vw;
    margin-left: 0px;
}

.ui-tabs .ui-tabs-nav li {
	margin: 0;
	flex: auto;
	display: block;
	cursor: pointer;
}

.ui-tabs .ui-tabs-nav li:hover {
	background: #636a6e;
}

.ui-tabs .ui-tabs-nav li a img {
	width: 7.5vw;/*vorher 10vw**/
	float: none;
	margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.ui-tabs .ui-tabs-nav .text-container p {
	text-align: center;
	color: #fff;
	font-size: 1.25rem;
	font-family: DIN-MED, Helvetica, Arial, sans-serif;
    letter-spacing: 0.015rem;
}

.ui-tabs .ui-tabs-nav {
    margin: 0;
    padding: 0;
}

.ui-widget.ui-widget-content {
    border: 0px solid #c5c5c5;
}

.ui-tabs {
    padding: 0;
}

.ui-tabs .ui-tabs-nav {
    border: none;
	border-bottom: 0px solid #ddd;
	background: rgba(255,255,255,0.00);
}

.ui-tabs .ui-tabs-nav li .ui-tabs-anchor {
	display: contents;
}

.ui-tabs ul.ui-tabs-nav {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 60px;
}

.ui-tabs .hg-blau {
	padding-left: 45px;
	padding-right: 45px;
}

.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
	padding: 0;
}

.ui-tabs .ui-tabs-panel {
    display: flex;
	padding: 0;
	flex-wrap: wrap;
}

.accordion h3 {
	outline: none;
	font-size: 1.25rem !important;
}

.accordion .ui-icon, 
.accordion .ui-widget-header .ui-icon, 
.accordion .ui-state-hover .ui-icon, 
.accordion .ui-state-focus .ui-icon, 
.accordion .ui-button:hover .ui-icon, 
.accordion .ui-button:focus .ui-icon, 
.accordion .ui-state-highlight .ui-icon, 
.accordion .ui-button .ui-state-highlight.ui-icon, 
.accordion .ui-state-error .ui-icon, 
.accordion .ui-state-error-text .ui-icon, 
.accordion .ui-button .ui-icon, 
.accordion .ui-icon, 
.accordion .ui-widget-header .ui-icon, 
.accordion .ui-state-hover .ui-icon, 
.accordion .ui-state-focus .ui-icon, 
.accordion .ui-button:hover .ui-icon, 
.accordion .ui-button:focus .ui-icon, 
.accordion .ui-state-highlight .ui-icon, 
.accordion.service .ui-button .ui-state-highlight.ui-icon, 
.accordion.service .ui-state-error .ui-icon, 
.accordion.service .ui-state-error-text .ui-icon, 
.accordion.service .ui-button .ui-icon {
	background-image: url(../img/layout/icon-accordion.svg);
	background-size: 12.5px;
	background-position: right center;
	outline: none;
	background-repeat: no-repeat;
}

.accordion .ui-state-active .ui-icon, 
.accordion .ui-button:active .ui-icon, 
.accordion .ui-state-active .ui-icon, 
.accordion .ui-button:active .ui-icon {
	background-image: url(../img/layout/icon-accordion-off.svg);
	outline: none;
}

.accordion.ui-accordion h3.ui-state-default:first-child {
	margin-top: 0;
}

.accordion.ui-accordion h3 {
	display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}

.accordion.ui-accordion h3.ui-accordion-header {
	padding-left: 0;
}

div.accordion {
	border-bottom: 1px solid #636a6e;
}

.ui-widget-content h3.ui-state-default {
	border: 0;
	background: none;
	border-top: 1px solid #636a6e;
}

.ui-widget-content .ui-state-active,
.ui-state-default, .ui-widget-content .ui-state-default{
	color: #636a6e;
}

.accordion .ui-icon {
	float: right;
}

.ui-accordion .ui-accordion-header {
	margin: 0;
}

.ui-accordion .ui-accordion-content {
    padding: 0;
    border-top: 0;
    overflow: auto;
	padding-bottom: 1rem;
}

.ui-widget-content {
    border: 0px;
}

ul.ui-tabs-nav .text-container {
	padding-bottom: 2.5vw;
}

ul.ui-tabs-nav li .projekticon-container {
	height: 10vw; /*VORHER 7.5VW*/
	background-repeat: no-repeat;
	background-size: 7.5vw;
	background-position: center bottom;
}

.shortnav-icon {
	background-repeat: no-repeat;
	background-size: 65px;
	background-position: center top;
	height: 65px;
	width: 65px;
	display: block;
}

ul.ui-tabs-nav li#tab-Vermessung .projekticon-container,
.shortnav-icon.vermessung {
	background-image:url(../img/layout/icon-vermessung-center-off.svg);
}

ul.ui-tabs-nav li#tab-Vermessung:hover .projekticon-container,
ul.ui-tabs-nav li#tab-Vermessung.ui-tabs-active .projekticon-container {
	background-image:url(../img/layout/icon-vermessung-center-on.svg);
}

.shortnav li:hover .shortnav-icon.vermessung {
	background-image:url(../img/layout/icon-vermessung-center-invers.svg);
}

.shortnav ul.list.spalten li:hover a div.shortnav-textcontainer {
	color: #636a6e;
}

ul.ui-tabs-nav li#tab-Gebäudeaufnahme .projekticon-container,
.shortnav-icon.gebaeudeaufnahme {
	background-image:url(../img/layout/icon-gebaeudeaufnahme-center-off.svg);
}

ul.ui-tabs-nav li#tab-Gebäudeaufnahme:hover .projekticon-container,
ul.ui-tabs-nav li#tab-Gebäudeaufnahme.ui-tabs-active .projekticon-container {
	background-image:url(../img/layout/icon-gebaeudeaufnahme-center-on.svg);
}

.shortnav li:hover .shortnav-icon.gebaeudeaufnahme {
	background-image:url(../img/layout/icon-gebaeudeaufnahme-center-invers.svg);
}

ul.ui-tabs-nav li#tab-Beweissicherung .projekticon-container,
.shortnav-icon.beweissicherung {
	background-image:url(../img/layout/icon-beweissicherung-center-off.svg);
}

ul.ui-tabs-nav li#tab-Beweissicherung:hover .projekticon-container,
ul.ui-tabs-nav li#tab-Beweissicherung.ui-tabs-active .projekticon-container {
	background-image:url(../img/layout/icon-beweissicherung-center-on.svg);
}

.shortnav li:hover .shortnav-icon.beweissicherung {
	background-image:url(../img/layout/icon-beweissicherung-center-invers.svg);
}

ul.ui-tabs-nav li#tab-Tiefbau .projekticon-container,
.shortnav-icon.tiefbau {
	background-image:url(../img/layout/icon-tiefbau-center-off.svg);
}

ul.ui-tabs-nav li#tab-Tiefbau:hover .projekticon-container,
ul.ui-tabs-nav li#tab-Tiefbau.ui-tabs-active .projekticon-container {
	background-image:url(../img/layout/icon-tiefbau-center-on.svg);
}

.shortnav li:hover .shortnav-icon.tiefbau {
	background-image:url(../img/layout/icon-tiefbau-center-invers.svg);
}

@media 
only screen and (min-width : 220px) and (max-width : 599px) {
	.shortnav-icon {
		background-size: 45px;
		height: 45px;
		width: 45px;
	}
	.ui-tabs .hg-blau {
		padding-left: 40px; /*vorher 20px*/
		padding-right: 40px; /*vorher 20px*/
	}
}

@media 
only screen and (min-width : 220px) and (max-width : 870px) {
	.tabs .hg-blau {
		background: transparent;
	}
	.ui-tabs ul.ui-tabs-nav {
		margin-bottom: 25px;
	}
	.ui-tabs .ui-tabs-nav li {
		width: 47.5%;
		margin-right: 5%;
		margin-bottom: 5%;
	}
	.ui-tabs .ui-tabs-nav li:nth-child(2n) {
		margin-right: 0;
	}
	.ui-tabs .ui-tabs-nav li.ui-tabs-active {
		margin-bottom: 5%;
	}
	.ui-tabs .ui-tabs-nav li.ui-tabs-active::after {
		content: '';
	}
	.ui-tabs .ui-tabs-nav li:hover, .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover, .ui-state-active:focus {
		background: #636a6e; /*vorher #fff*/
	}
	ul.ui-tabs-nav .text-container {
		padding-top: 15px;
	}	
}

@media 
only screen and (min-width : 220px) and (max-width : 599.9px) {
	.ui-tabs .ui-tabs-nav li {
		width: 100%;
		margin-right: 0%;
		margin-bottom: 5%;
	}
	ul.ui-tabs-nav li .projekticon-container {
		height: 15vw;
		background-size: 12.5vw;
	}
	/*Icon neben Text*/
	ul.ui-tabs-nav li a.ui-tabs-anchor {
		display: flex !important;
		flex-direction: row;
		align-items: center;
		width: 100%;
		justify-content: center; /*vorher flex-end*/
	}
	ul.ui-tabs-nav li a.ui-tabs-anchor .projekticon-container {
		width: 30%;
	}
	ul.ui-tabs-nav li a.ui-tabs-anchor .text-container {
		width: 60%;
	}
	.ui-tabs .ui-tabs-nav .text-container {
		padding: 0;
	}
	.ui-tabs .ui-tabs-nav .text-container p {
		text-align: left;
	}
	ul.ui-tabs-nav li .projekticon-container {
		background-position: center center;
		height: 20vw;
	}
}

@media 
only screen and (min-width : 220px) and (max-width : 374px) {
	ul.ui-tabs-nav li a.ui-tabs-anchor {
		justify-content: end;
	}
}

/*********
Navigation
*********/
.main-nav ul,
.service-nav ul {
	margin: 0;
	padding: 0;
	overflow: hidden;
	margin-bottom: 0px; /*vorher 15px*/
}

.service-nav ul {
	margin-bottom: 0;
}

.main-nav ul li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	float: left;
	margin-right: 2px;
}

.service-nav ul li {
	margin-left: 0;
	padding-left: 0;
	text-align: right;
}

.service-nav ul li:last-child {
	padding-bottom: 0;
}

.main-nav li a {
	font-family: DIN-MED, Helvetica, Arial, sans-serif;
	letter-spacing: 0.015rem;
	font-size: 1.125rem;
	display: block;
	background: #fff;
	padding: 10px;
	color: #636a6e;
	text-decoration: none;
}

.service-nav li a {
	background: none;
	color: #fff;
	text-decoration: none;
}

.service-nav li a.active, 
.service-nav li a:hover {
	color: #2fa9d2;
}

.main-nav li a.active, 
.main-nav li a:hover {
	background: #2fa9d2;
	color: #fff;
}

.main-nav li:last-child {
	margin-right: 0;
}

/*******
Mean-NAV

.mean-container a.meanmenu-reveal {
	padding-right: 0;
	top: 25px;
	right: 0;
}

.mean-bar a {
	display: flex !important;
	padding: 15px !important;
	background: #fff;
	
	font-family: DIN-MED, Helvetica, Arial, sans-serif;
	letter-spacing: 0.015rem;
	font-size: 1.125rem;
}

.mean-bar a img {
	width: 25px;
}

.mean-container .mean-nav {
	left: 0px;
	margin-top: 0px !important;
	z-index: 99 !important;
}

.mean-container .mean-nav ul li a {
	background: #2fa9d2;
}

.mean-bar a {
	z-index: 100 !important;
}

.mean-container {
	
}

.mean-container .mean-nav ul{
	padding-top: calc(25px + 90px + 25px + 50px) !important;
    background: #2fa9d2;
	padding-bottom: 50px !important;
}

.mean-nav {
	
}

.mean-container .mean-nav ul li a {
	padding-left: 90px !important;
}

.mean-container .mean-nav ul li:first-child {
	border-top: 1px solid #fff;
}

@media 
only screen and (min-width : 220px) and (max-width : 599.9px) {
	.mean-container .mean-nav ul li a {
		padding-left: 40px !important;
	}
}
*******/

/*********
Tabellen
*********/
table, tbody, thead {
	width: 100%;
	padding: 0;
	margin: 0;
	border: 0px;
	margin-bottom: 15px;
}

tr, td, th {
	border: 0px;
}

tr {
	padding: 0px;
	margin: 0px;
}

tr:hover {
	background-color: #A4A4A4;
}

th {
	padding: 8px;
	border-bottom: 1px solid #333;
	vertical-align: top;
	text-align: left;
	color: #fff;
	font-weight: bold;
	background-color: #333;
}

td {
	margin: 0;
	padding: 8px;
	border-bottom: 1px dotted #333;
	vertical-align: top;
	text-align: left;
}

/*********
Formulare
*********/
form {
	overflow: hidden;
}

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

fieldset {
	margin-top: 45px;
}

form p {
	margin-bottom: 30px;
}

legend {
	padding: 0;
	margin: 0;
	margin-bottom: 7px;
	font-size: 1rem;
	text-transform: uppercase;
}

label {
	display: inline-block;	
	margin-bottom: 5px;
}

.index-site label {
	clear: both;
    float: inherit;
}

label.inline {
	display: inline;
}

input, 
select, 
textarea {
	background-color: #A4A4A4;
	color: #333;
	border: 0;
	padding: 8px;
	width: 100%;
	margin-bottom: 0px;
	-webkit-border-radius: 0;
}

/* Autocomplete Chrome*/
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus
input:-webkit-autofill, 
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border: 0;
  -webkit-text-fill-color: #333;
  -webkit-box-shadow: 0 0 0 0 #333 inset;
  transition: background-color 5000s ease-in-out 0s;
}

input, 
textarea {
	width: 90%;
	width: calc(100% - 16px);
}

textarea {
	height: 120px;
}

input:focus,
input:focus-visible,
textarea:focus,
textarea:focus-visible {
	outline: none;
}

input[type="checkbox"], 
input[type="radio"] {
	width: auto;
	margin-right: 5px;
	border: 0;
}

input[type="checkbox"] {
	border: 0;
	background: #fff;
	padding: 0px;
}

input[type="submit"], 
button[type="submit"] {
	width: 100%;
	font-size: 1.15rem;
	padding: 15px 20px;
	background: #2fa9d2;
	color: #fff;
	cursor: pointer;
}

input[type="submit"]:hover {
	background: #636a6e;
}

input.pflicht, 
textarea.pflicht {
	border-right: 3px solid #2fa9d2;
}

input.pflicht {
	width: 100% - 19px);
}

input[type="checkbox"].pflicht {
	display: inline;
	width: auto;
}

.control-section {
	padding-bottom: 0;
}

.control-container {
	display: flex;
	gap: 2px;
	flex-wrap: wrap;
}

.control-container span {
	display: inline-flex;
	flex-wrap: nowrap;
	column-gap: 2px;
}

.control-container span.grow {
	flex-grow: 2;
	position: relative;
}

.index-site .control-container {
	margin-top: -80px;
	margin-left: 7px;
	position: absolute;
}

button.map-control {
	border: 0;
	color: #ffffff;
	background-color: #636a6e;
	padding: 10px 15px;
	cursor: pointer;
}

button.map-control:hover {
	background-color: #2fa9d2;
}

button.map-control.active {
	color: #ffffff;
	background-color: #2fa9d2;
	cursor: auto;
}

.hg-grau button.map-control {
	color: #2fa9d2;
	background-color: #ffffff;
}

.hg-grau button.map-control:hover,
.hg-grau button.map-control.active {
	color: #ffffff;
	background-color: #2fa9d2;
}

button#delete img {
	transform: rotate(45deg);
	height: 100%;
	width: 12px;
}

input#search {
	background-color: #8a8f92;
	color: #ffffff;
	padding: 10px 15px;
	min-width: 250px;
	width: auto;
	flex-grow: 2;
	-webkit-appearance: none;
	border-radius: 0;
	outline: 0;
}

input#search:focus,
input#search:active {
	border-bottom: 3px solid #2fa9d2;
	padding-bottom: 8px;
}

@media 
only screen and (min-width : 220px) and (max-width : 879.9px) {
	input#search {
		min-width: 150px;
	}
}

input#search + label {
	color: #ffffff;
	opacity: 1;
    animation-name: blinker;
    animation-duration: 2s;
    animation-timing-function: linear;
    animation-iteration-count: infinite; 
	position: absolute;
	left: 0;
	padding: 10px 15px;
	pointer-events: none;
}

input#search:focus + label {
	display: none;
}

@keyframes blinker {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

a.dsgvocheck {
	color: #2fa9d2;
}

label.pflicht:after,
legend.pflicht:after{
	content: '*';
	color: #2fa9d2;
}

span.add_files {
	color: #fff;
	background: #2fa9d2;
	padding: 10px 15px;
	display: inline-block;
	font-size: 1.5rem;
	margin-top: 15px;
}

input.file {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}

span.delete {
	display: none;
}

label.file-upload {
	display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

	background-color: #2fa9d2;
	color: #fff;

	margin: 0;
    padding: 12px 16px;
    cursor: pointer;
}

label.file-upload:hover {
	background-color: #636a6e;
}

label.file-upload span {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	flex: 1;
	margin-left: 7px;
}

label.file-upload img {
	display: inline-block;
	height: 32.5px;
}

label.file-upload span.delete {
	display: none;
}

p.file-set,
p.file-uploaded {
	display: grid;
    grid-template-columns: 1fr 56.5px;
    column-gap: 7px;
}

p.file-set label.file-upload,
p.file-uploaded label.file-upload {
	float: left;
	overflow: hidden;
}

p.file-set span.delete,
p.file-uploaded span.delete {
	align-self: stretch;
	background-color: #2fa9d2;
	display: flex;
	flex-direction: row;
	align-items: center;
	cursor: pointer;
}

p.file-set span.delete:hover,
p.file-uploaded span.delete:hover {
	background-color: #636a6e;
}

p.file-set span.delete img,
p.file-uploaded span.delete img {
	display: block;
	height: calc(32.5px + 24px);
	padding: 12px 16px;
	background-color: none;
}

p.file-set label.file-upload:hover {
	cursor: pointer;
	background-color: #636a6e;
}

p.file-uploaded label.file-upload:hover {
	cursor: default;
	background-color: #636a6e;
}

.validationerror,
#pflichttext {
	display: block;
	background: #2fa9d2;
	color: #fff;
	padding: 10px;
	margin-bottom: 15px;
}

.validationerror p,
#pflichttext p {
	color: #fff;
}

@media 
only screen and (min-width : 220px) and (max-width : 879.9px) {
	form.form .grid-2 {
		margin-bottom: 30px;
	}
	form.form .grid-2.last-grid {
		margin-bottom: 0px;
	}
	fieldset {
		margin-top: 0px;
	}
	fieldset.abstandtop {
		margin-top: 30px;
	}
	input, 
	select,
	textarea,
	input[type="submit"],
	button[type="submit"],
	input[type="submit"]:hover, 
	.validationerror
	 {
		width: 90%;
		width: calc(100% - 16px);
	}
	input, 
	select, 
	input[type="submit"],
	button[type="submit"],
	input[type="submit"]:hover {
		width: 100%;
	}
}


/*Filter*/
#refmap-nav label input[name] + span,
#refmap-nav label input[name]:checked + span,
#refmap-nav a {
	display: flex;
	align-items: center;
	height: 35px;
}

#refmap-nav label input[name] + span:before,
#refmap-nav label input[name]:checked + span:before{
	border-right: 1px solid #fff;
	padding-left: 0px;
	width: 35px;
	padding-right: 15px;
	margin-right: 15px;
}

#refmap-nav label input[name] + span:before,
#refmap-nav label input[name]:hover + span:before,
#refmap-nav label input[name]:hover:checked + span:before,
#refmap-nav a:hover.top-button + span:before {
	border-right: 1px solid #2fa9d2;
}

#refmap-nav label input[name]:hover + span:before {
	border-right: 1px solid #636a6e !important;
}

#refmap-nav label input[name="categories[Vermessung]"]:checked + span:before {
	content: url(../img/layout/icon-vermessung-center-off.svg); 
}

#refmap-nav label input[name="categories[Vermessung]"] + span:before, 
#refmap-nav label input[name="categories[Vermessung]"]:hover:checked + div:before {
	content: url(../img/layout/icon-vermessung-center-on-mobile-invers.svg); /*vorher -on-mobile.svg*/
}

#refmap-nav label input[name="categories[Vermessung]"]:hover + span:before {
	content: url(../img/layout/icon-vermessung-center-on-mobile.svg); /*vorher -invers*/
}

#refmap-nav label input[name="categories[Vermessung]"]:hover:checked + span:before {
	content: url(../img/layout/icon-vermessung-center-invers.svg); 
}

#refmap-nav label input[name="categories[Gebäudeaufnahme]"]:checked + span:before {
	content: url("../img/layout/icon-gebaeudeaufnahme-center-invers.svg"); /*vorher -off*/
}

#refmap-nav label input[name="categories[Gebäudeaufnahme]"] + span:before,
#refmap-nav label input[name="categories[Gebäudeaufnahme]"]:hover:checked + div:before {
	content: url(../img/layout/icon-gebaeudeaufnahme-center-on-mobile.svg);
}

#refmap-nav label input[name="categories[Gebäudeaufnahme]"]:hover + span:before {
	content: url(../img/layout/icon-gebaeudeaufnahme-center-on-mobile-invers.svg);
}

#refmap-nav label input[name="categories[Gebäudeaufnahme]"]:hover:checked + span:before {
	content: url(../img/layout/icon-gebaeudeaufnahme-center-off.svg); /*vorher -invers*/
}

#refmap-nav label input[name="categories[Beweissicherung]"]:checked + span:before {
	content: url("../img/layout/icon-beweissicherung-center-off.svg");
}

#refmap-nav label input[name="categories[Beweissicherung]"] + span:before, 
#refmap-nav label input[name="categories[Beweissicherung]"]:hover:checked + span:before {
	content: url(../img/layout/icon-beweissicherung-center-on-mobile-invers.svg); /*vorher -on-mobile.svg*/
}

#refmap-nav label input[name="categories[Beweissicherung]"]:hover + span:before {
	content: url(../img/layout/icon-beweissicherung-center-on-mobile.svg); /*vorher -invers*/
}

#refmap-nav label input[name="categories[Beweissicherung]"]:hover:checked + span:before {
	content: url(../img/layout/icon-beweissicherung-center-invers.svg);
}

#refmap-nav label input[name="categories[Tiefbau]"]:checked + span:before {
	content: url("../img/layout/icon-tiefbau-center-invers.svg"); /*vorher -off*/
}

#refmap-nav label input[name="categories[Tiefbau]"] + span:before, 
#refmap-nav label input[name="categories[Tiefbau]"]:hover:checked + span:before {
	content: url(../img/layout/icon-tiefbau-center-on-mobile.svg);
}

#refmap-nav label input[name="categories[Tiefbau]"]:hover + span:before {
	content: url(../img/layout/icon-tiefbau-center-on-mobile-invers.svg);
}

#refmap-nav label input[name="categories[Tiefbau]"]:hover:checked + span:before {
	content: url(../img/layout/icon-tiefbau-center-off.svg); /*vorher -invers*/
}

#refmap-nav label input#top + span:before, 
#refmap-nav label input#top:hover:checked + span:before {
	content: url(../img/layout/icon-top-auf-weiss.svg);
}
#refmap-nav label input#top:hover + span:before {
	content: url(../img/layout/icon-top-auf-weiss-ivers.svg);
}
#refmap-nav label input#top:checked + span:before {
	content: url("../img/layout/icon-top-auf-blau.svg"); /*vorher -off*/
}
#refmap-nav label input#top:hover:checked + span:before {
	content: url(../img/layout/icon-top-auf-blau-invers.svg); /*vorher -invers*/
}

.referenzen-site #refmap-nav {
	display: flex;
	flex-wrap: wrap;
}

.referenzen-site #refmap-nav a {
	margin-right: 5px;
}

.referenzen-site #refmap-nav label {
	margin-right: 5px;
	margin-bottom: 5px;
}

.referenzen-site #refmap-nav label:last-child {
	margin-right: 0;
}

.referenzen-site #search-form {
	display: flex;
}

.referenzen-site #search-form input[type=text] {
	/*height: 35px;*/
	margin-right: 5px;
	font-size: 1.15rem;
	width: calc(50% - 30px); /*vorher 50%*/
	
	padding: 10px 15px;
	font-size: 1rem;
	line-height: normal;
}

.referenzen-site #search-form input[type=submit] {
	flex-basis: content;
	
	font-size: 100%;
	    line-height: 1.15;
	padding: 10px 15px;
}

.referenzen-site #search-form input[type=submit]:hover {
	background-color: #2fa9d2;
	color: #636a6e;
}



/*
.referenzen-site #refmap-nav a.top-button div:before {
	content: url(../img/layout/icon-top-auf-weiss.svg);
	border-right: 1px solid #2fa9d2;
	padding-left: 5px;
	width: 35px;
	padding-right: 10px;
	margin-right: 15px;
}

.referenzen-site #refmap-nav a div {
	display: flex;
    align-items: center;
    height: 35px;
}

.referenzen-site #refmap-nav a:hover.top-button div:before {
	content: url(../img/layout/icon-top-auf-weiss-ivers.svg);
}
*/

@media screen and (min-width: 881px) and (max-width: 1280px) {
	.referenzmap {
		display: flex;
    	justify-content: space-between;
	}
	.referenzmap .grid-3 {
		width: inherit;
		margin-right: 3.5%;
	}
	.referenzmap .grid-1 {
		width: auto;
		margin-right: 0;
	}
}

@media screen and (min-width: 220px) and (max-width: 880px) {
	.index-site label {
		clear: none;
		margin-right: 5px;
	}
	.index-site label:last-child {
		margin-right: 0;
	}
}

/* Map */
#refmap-nav label span,
#refmap-nav a {
	background-color: #ffffff;
	color: #2fa9d2;
	font-size: 1.15rem;
	text-decoration: none;
	padding: 15px 20px;
	padding-left: 15px;
	width: max-content;
	cursor: pointer;
}

#refmap-nav a {
	text-decoration: none;
	display: inline-flex;
	margin-bottom: 5px;
}

#refmap-nav label input:checked + span,
#refmap-nav a.active {
	background-color: #2fa9d2;
	color: #ffffff;
}

#refmap-nav label input:hover + span,
#refmap-nav a:hover {
	color: #636a6e;
}

#refmap-nav input {
  position: absolute;
  visibility: hidden;
}

.custom-clusters {
	background-image: url(/themes/default/img/layout/icon-marker-cluster.svg);
	color: white;
	font-size: 12px;
}

#map {
	width: 100%;
}

.referenzen-site #map {
	height: 36vw;
	position: absolute;
}

#map .gm-style {
	font: initial;
}
#map .gm-style .gm-style-iw-c {
	border-radius: 0;
	padding: 0;
	box-shadow: none;
	overflow: visible;
}

#map .gm-style .gm-style-iw {
	font-weight: normal;
	font-size: initial;
}
#map .gm-style .gm-style-iw-t::after {
	background: #ffffff;
	box-shadow: none;
}

#map .gm-style .gm-style-iw .project {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}

#map .gm-style .gm-style-iw .projectnr {
	font-size: 0.6rem;
	color: #636a6e;
	transition-duration: 0.5s;
}

#map .gm-style .gm-style-iw .projectnr:hover {
	font-size: 1rem;
	font-weight: bold;
	color: #000;
}

#map .gm-ui-hover-effect {
	background-color: #636a6e !important;
	display: flex !important;
	width: 35px !important;
	height: 35px !important;
	padding: 10px !important;
	top: 0 !important;
	right: 0 !important;
	opacity: 1 !important;
}

#map .gm-ui-hover-effect::after {
	content: "";
	height: 15px;
	width: 15px;
	background-image: url(/themes/default/img/layout/icon-plus-weiss.svg);
	transform: rotate(45deg);
}

#map .gm-ui-hover-effect img,
#map .gm-ui-hover-effect span {
	display: none !important;
}

#map [aria-label=coord-copy] .gm-style-iw-d div {
	padding: 5px;
	text-align: center;
}

#map [aria-label=coord-copy] button.gm-ui-hover-effect {
	display: none !important;
}

#map .projekticon-container {
    margin-right: 60px;
	display: inline-block;
}

#map .projektinfo-container {
   	display: inline-block;
}

#map .referenz-container {
	position: static;
    margin-right: 20px;
	display: flex;
    align-items: flex-start;
}

@media 
only screen and (min-width : 220px) and (max-width : 880px) {
.index-site .referenzmap {
		display: flex;
		flex-direction: column-reverse;
	}
	.index-site .referenzmap label {
    	display: inline-block;
	}
	.index-site .referenzmap .grid-1{
		width: 100%;
		margin-right: 0;
		margin-bottom: 2.5%;
	}
	.index-site .referenzmap .grid-3 {
		margin-bottom: 0;
	}
	.index-site .referenzmap  {
    	margin-top: 10% !important;
	}
	
}

@media 
only screen and (min-width : 220px) and (max-width : 599.9px) {
	.referenzen-site #map {
		height: 190px;
	}
}