body {   
    background-color: #fff;
		overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
	 -webkit-tap-highlight-color: rgba(0, 0, 0, 0);  
	
}

h1 {
    color: #7E94A8; 
    font-family: 'Fira Sans', sans-serif;
   	font-size: 24px;
    white-space: normal; 
    text-align: left;
		font-weight: 700;
		margin-top: 80px;
		margin-bottom: 40px;
	
}


h2 {
    color: #7E94A8;
    font-family: 'Fira Sans', sans-serif;
   	font-size: 18px;
    white-space:normal; 
    text-align: left;
		margin-top: 20px;
		margin-bottom: 20px;
}

h3 {
    color: #7E94A8; 
    font-family: 'Fira Sans', sans-serif;
   	font-size: 16px;
    white-space:normal; 
    text-align: left;
		margin-top: 20px;
		margin-bottom: 20px;
}


p {
	font-family: 'Roboto', sans-serif;
   font-size: 1em;
	font-weight:300;
}


h4 {
    color: #7e94a8; 
    font-family: 'Fira Sans', sans-serif;
    white-space:normal; 
   font-size: 14px;
}

h5 {
    color: #457ca3; 
    font-family: 'Fira Sans', sans-serif;
    white-space:normal; 
}

h6 {
    color: #457ca3; 
    font-family: 'Fira Sans', sans-serif;
    font-size: 1.41em;
    white-space:normal;

}

a {
	color: #457ca3;
	transition: .4s;
	text-decoration: none;
}

a:hover{
	color: #50575D;
}

a:visited{
	color: #457ca3;
}

button {
	color: #fff;
	background-color: #7E94A8;
	padding: 16px 80px;
	border-radius: 8px;
	margin-top: 22px;
	transition: 1s;
}

button:hover {
		background-color: #50575D;
}

.align-right {
	text-align: right;
		margin-right: -10px;
}


/* Ikons */

@font-face {
  font-family: 'icomoon';
  src:  url('../fonts/icomoon.eot?uu8b7j');
  src:  url('../fonts/icomoon.eot?uu8b7j#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?uu8b7j') format('truetype'),
    url('../fonts/icomoon.woff?uu8b7j') format('woff'),
    url('../fonts/icomoon.svg?uu8b7j#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
 	font-size: 26px;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-xing:before {
  content: "\ead3";
	color: #fff;
	text-decoration: none;

}

.icon-xing:hover {
	color: #000;
}

.icon-plus-circle:before {
  content: "\e900";
	position: relative;
  /* Adjust these values accordingly */
  top: 4px;
  left: -4px;
}

.icon-minus-circle:before {
  content: "\e901";
	position: relative;
  /* Adjust these values accordingly */
  top: 4px;
  left: -4px;
}


.container {
  position: relative;
	margin-left: auto;
	margin-right: auto;
  max-width: 1240px;
  padding:0 60px;
  box-sizing: border-box; 
}

.popupcontainer {
	position: relative;
	margin-left: auto;
	margin-right: auto;
  max-width: 1024px;
  padding:0 20px;
  box-sizing: border-box; 
}

.workcontainer {
  position: relative;
	margin-left: auto;
	margin-right: auto;
  max-width: 1240px;
  padding:0 60px;
  box-sizing: border-box; 
}


.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  -moz-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  -o-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}


.vertical-centered {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
}



.logo{
	width: 200px;
	height: auto;
  position: absolute;
	margin-top: 50px;
	z-index: 10

}


.hero-image {
 background: url("../images/olafsierig_schulterblick.jpg") no-repeat center center;  
  background-size: cover;
  position:absolute;
  background-position: 50% 50%; 
  top: 0; right: 0; bottom: 0; left: 0;
  opacity: 0.1;  

}


.imgcontainer {
    background: url("../images/olafsierig_schulterblick.jpg") no-repeat center center;
    background-size: cover;
		width:100%;
		height: 60vH;
		opacity: 1;
		min-height: 450px;
}

.imgcontainer_refs {
    background: url("../images/architekt_olafsierig.jpg") no-repeat center center;
    background-size: cover;
		width:100%;
		height: 60vH;
		opacity: 1;
		min-height: 450px;
		background-position: top;
}

.imgcontainer_imp {
    background: url("../images/zippelhaus_impressum_header.jpg") no-repeat center center;
    background-size: cover;
		width:100%;
		height: 60vH;
		opacity: 1;
		min-height: 450px;
}


.imgcontainer_kontakt {
    background: url("../images/kontakt_olafsierig.jpg") no-repeat center center;
    background-size: cover;
		width:100%;
		height: 60vH;
		opacity: 1;
		min-height: 450px;
		background-position: 90% 10%;
}

.imgflexcontainer {
	margin-left: auto;
 	margin-right:auto;
  display:inline-flex; /* or inline-flex */
  display:-webkit-flex;
   /* Or whatever */
  /* Then we define how is distributed the remaining space */
  flex-flow: row wrap;
  justify-content:space-between;
  align-items: stretch;

}

.flexchild {
	flex: 0 0 47%;/* Or whatever */
  height: auto; /* Or whatever */
	margin: 0 0;

}

.flexchild:first-child{
	padding-right: 6%;
	margin: 0 0;

}

.threecolmnchild {
	flex: 0 0 33.33%;/* Or whatever */
  height: auto; /* Or whatever */
	margin: 0 0;
	text-align: center;
}


.threecolmnchild img{
	width: 60%;
	padding-top: 20px;
	padding-bottom: 20px;
}

.threecolmnchild:last-child{
	text-align: right;
	padding-bottom: -40px;
}

.threecolmnchild:first-child{
	text-align: left;
}



.bigprojectbox{
	position: relative;
	margin-top: 120px;
	width:100%;
	height:auto;

}


.project_big{
	width:100%;
	height: auto;
}

/*
.bluefont {
	top: 0px;
	position: relative;
}
*/


.bluecell {
	top:0;
	position: absolute;
	width: 100%;
	pointer-events:none;
}

.bluecellbot {
	width: 100%;
	position: absolute;
}


.blueinner {
	margin-left: auto;
	margin-right: auto;
  max-width: 1240px;
  padding:0 60px;
  box-sizing: border-box; 
}

.blueinnerright{

	margin-right: 5.2%;
  max-width: 1240px;
  box-sizing: border-box;
}

.blueinnerbox {
	background-color: #7E94A8;
	width:55%;
	height: 140px;
	margin-left: -40px;
	padding-left: 40px;
	padding-top: 40px;
	margin-top: -40px;
	opacity: 1;
}

.legendeinnerbox {
	background-color: #7E94A8;
	width:300px;
	height: 90px;
	opacity: 1;
}

.boxmiddle {
	position: absolute;
	right: 0px;
	margin-left: 0;	
	border-radius: 6px 0px 0px 6px;
	margin-top:-130px;
	z-index: 3;
}


.boxleft {
	margin-left: auto;
	padding-left: 40px;
	padding-top: 40px;
	margin-top: -120px;
}





.boxbottom {
	margin-left: auto;
	padding-left: 40px;
	padding-top: 40px;
	margin-top: 440px;
}


.blueinnerbox h3{
	font-family: 'Roboto', sans-serif;
	color: #fff;
	font-size: 12px;
	line-height: 2px;
}

.blueinnerbox  h2{
	font-family: 'Fiera Sans', sans-serif;
	color: #fff;
	font-size: 20px;
	line-height: 2px;
}

.legendeinnerbox h4{
		font-family: 'Roboto', sans-serif;
	color: #fff;
	font-size: 10px;
	line-height: 0px;
}
.blueinnerbox h4{
	font-family: 'Roboto', sans-serif;
	color: #fff;
	font-size: 10px;
	line-height: 0px;
}

.sectionmargin {
	height: 80px;
	width: 100%;
	content: "";
}

.halfsectionmargin {
	height: 40px;
	width: 100%;
	content: "";
}

.sprojectimage {
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
}

/* Accordion  */

.accordion {
    background-color: #EBEBEB;
	height: auto;
    color: #444;
    cursor: pointer;
    padding: 4px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    transition: 0.8s;
		margin: 4px 0;
		border-radius: 6px;
}

.accordion h2 {
	padding: 12px;
	margin: 0;
}

.active, .accordion:hover {
    background-color: #ccc;
	color: #fff;
}




.panel {
    padding: 0 10px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
   	transition: max-height 0.4s ease-out;
}



/* Bilder Rollover */

.pimgcontainer {
  position: relative;
}

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

.imgoverlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
	-webkit-transition: 0.4s ease;
 	transition: 0.4s ease;
  background-color: #7E94A8;
	margin: -4px 0 0 0;
}


.pimgcontainer:hover .imgoverlay {
  opacity: 0.92;
}

.pimgcontainer:hover .imgtext {
  opacity: 0.92;
}



.imgtext {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
	-webkit-transition: 0.8s ease;
	transition-delay: 0.9s;
	-webkit-transition-delay: 0.9s;
 	transition: 0.8s ease;
	opacity: 0;
}


.proflexchild {
	flex: 0 0 30%;/* Or whatever */
  height: auto; /* Or whatever */
	margin: 0 0 0 0;
	overflow: hidden;
}

.proflexchildnarrow {
	flex: 0 0 30%;/* Or whatever */
  height: auto; /* Or whatever */
	margin: 0 0 0 0;

}

.flexchildtwocolumns {
	flex: 0 0 58%;/* Or whatever */
  height: auto; /* Or whatever */
	margin: 0 0 0 0;

}


.proflexchild:first-child {
	padding-right: 0%;
	margin: 0 0;

}


.greyfont {
	background-color:  #EBEBEB;
	/* opacity: 1;
	border: 1px solid grey; */
}



.greytextbox {
	padding-top: 20px;
	padding-left: 0px;
	height: 200px;

}

.greytextbox h3{
	font-family: 'Roboto', sans-serif;
	color: #000;
	font-size: 12px;

}

.greytextbox h2{
	font-family: 'Roboto', sans-serif;
	color: #7E94A8;
	font-size: 24px;
	
	 margin: 0;

}


.greytextbox h4{
	font-family: 'Roboto', sans-serif;
	color: #000;
	font-size: 10px;

}



.footerfont {
	background-color: #7E94A8;
	content: "";
	width: 100%;
	height: 700px;
	margin: -1em auto;
}

.footerlogo {
	width: 160px;
	height: auto;

  z-index: 2;
	margin-top: 160px;
}

.footerfont p{
	font-family: 'Fiera Sans', sans-serif;
	color: #fff;
	font-size: 14px;
	line-height: 18px;
	margin: 48px 0 8px 0;
}

.footerfont a {
	color: #fff;
}

.footerfont a:hover{
	color: #50575D;
}

.footerfont a:visited{
	color: #50575D;
}

.footernav{
	position: absolute;
	bottom: 20px;
		font-family: 'Roboto', sans-serif;
	color: #fff;
	font-size: 12px;
	line-height: 16px;
	margin: 48px 0 8px 0;
}

.footernav a:visited{
	color: #fff;
}

.footernav a:hover{
	color: #50575D;
}

.footer h2 {
	line-height: auto;
}

.socialicon {
	width: 40px;
	height: auto;
	padding-top: 20px;
	transition: .5s ease;
}

.socialicon:hover {
	background-color: #50575D;

}

/* Burger Ikon */

.c-hamburger {
    display:block;
    position:fixed;
    overflow:hidden;
    width:32px;
    height:36px;
    font-size:0;
    text-indent:-9999px;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    box-shadow:none;
    border-radius:0px;
    border:none;
    cursor:pointer;
    -webkit-transition:background .2S;
    transition:background .25s;
    top:0;
    margin-top:36px;
    right: 6%;
    padding:0;
    z-index: 6;

}

.c-hamburger:focus {
    outline:0;
}

.c-hamburger:active {
    outline:0;
}


.c-hamburger span {
    display:block;
    position:absolute;
    top:17px;
    left:0px;
    right:0px;
    height:3px;
    background-color:#fff;
}



.hamburgerfont{
	position: fixed;
	width:48px;
	height:48px;
	border-radius: 6px;
	margin: -1px -8px 0 -2px;
	content: "";
	top:32px;
	right: 6%; 
	background:  #7E94A8;
	content:"";
	opacity:0;
	transition: .25s ease-in-out;
	z-index: 5;
}

.white{
	opacity:0;
}

.black{
	opacity: 0.8;
}



.c-hamburger span::after,.c-hamburger span::before {
    position:absolute;
    display:block;
    left:0;
		margin: 13px 0;
    width:100%;
    height:3px;
 		background-color: #fff;
    content:"";
    
}

.c-hamburger--htla.is-active span::after,.c-hamburger--htla.is-active span::before,.c-hamburger--htra.is-active span::after,.c-hamburger--htra.is-active span::before {
    width:50%;
}

.c-hamburger span::before {
    top:-3px;
}

.c-hamburger span::after {
    bottom:-3px;
}

.c-hamburger--htx {
	
	background-color: transparent;
	
}

.c-hamburger--htx span {
  -webkit-transition: background 0s 0.3s;
          transition: background 0s 0.3s;

}

.c-hamburger--htx span::before,
.c-hamburger--htx span::after {
  -webkit-transition-duration: 0.3s, 0.3s;
          transition-duration: 0.3s, 0.3s;
  -webkit-transition-delay: 0.3s, 0s;
          transition-delay: 0.3s, 0s;
}

.c-hamburger--htx span::before {
  -webkit-transition-property: top, -webkit-transform;
          transition-property: top, transform;
}

.c-hamburger--htx span::after {
  -webkit-transition-property: bottom, -webkit-transform;
          transition-property: bottom, transform;
}

/* active state, i.e. menu open */


.c-hamburger.is-active  {
 position: fixed;
}


.c-hamburger--htx.is-active span {
  background: none;
}

.c-hamburger--htx.is-active span::before {
  top: -14px;
	
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

.c-hamburger--htx.is-active span::after {

  bottom: -12px;
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.c-hamburger--htx.is-active span::before,
.c-hamburger--htx.is-active span::after {
  -webkit-transition-delay: 0s, 0.4s;
          transition-delay: 0s, 0.4s;
}

/* Das Menü */

.myNav {
		display:block;
    position: fixed;
    z-index: 4;
    top: 0;
   /* left: 500px; */
    overflow: auto; 
 		content: "";
    height: 120%;
    width: 0%;
		background-color: #7E94A8;	
		transition: .45s ease-in-out;
		opacity: 1;
}

.myNav a{
	color: #fff;
	text-decoration: none;
	transition: .5s;

}


.myNav a:hover, a:active{
	color: #50575D;
}


.menufont{
	  color: #fff; 
    font-family: 'Fira Sans', sans-serif;
    font-size: 1.51em;
    white-space:normal;
		margin: 18px 0;
}

.menumargins {
	top: 140px;
}

.m_item1,.m_item2,.m_item3,.m_item4 {
	opacity: 0;
	transition: 0.4s ease-in-out;
	margin-bottom: 12px;
	margin-top: 22px;
}

.m_item1 {
	transition-delay: .5s;
}

.m_item2 {
	transition-delay: .6s;
}

.m_item3 {
	transition-delay: .7s;
}

.m_item4 {
	transition-delay: .8s;
}



.line1, .line2, .line3 {
	transition: .5s;
 
}

.line1 {	
	width: 0%;
	position: absolute;
	transition-delay: 0.1s;	
}

.line2 {
	width: 0%;
	position: absolute;
	transition-delay: 0.2s;
}

.line3 {
	width: 0%;
	position: absolute;
	transition-delay: 0.3s;
}


/* Tabelle */

#vita {
    border-collapse: collapse;
    width: 100%;
}

#vita td, #vita th {
  	padding-left: 0;
}


.listitem {
	font-family: 'Roboto', sans-serif;
	color: #000;
	font-size: 16px;
	min-width: 80px;

}

/* Merhspaltiger Text für das Akkordion */

.tworows {
  column-count: 2;
	padding: 22px 0 32px 0;
}


/* Tabelle Referenzen */

table {
	width:100%;
}

table, td, tr, th {
	vertical-align: top;
	border-collapse: collapse;
	text-align: left;

}

td, tr, th {
	padding:0.7em;
	padding-left: 0;
}

th {
	background:#eee;
	font-weight: bold;
}

#tr_right_align {
	text-align: right !important;
}

#referenzen hr{
	width: 100%;
	margin: 20px 0;
	height:1px;
	background-color:#7E94A8;
  color:#7E94A8;
  border:#7E94A8;
}

/* Formulare */


form {
	font-family: 'Roboto', sans-serif;
  font-size: 1em;
	font-weight:300;
	padding-right: 9px;

}


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

input[type="submit"] {
		color: #fff;
	background-color: #7E94A8;
	padding: 16px 80px;
	border-radius: 8px;
	margin-top: 22px;
	transition: 1s;
}


input[type="submit"]:hover {
		background-color: #50575D;
}

input[type="text"],
input[type="email"],
input[type="search"],
textarea { 
  font-family: 'Roboto', sans-serif;
  font-size: 1em;
	font-weight:300;
  border: 0px solid #EBEBEB;
	border-radius: 4px;
  background-color: #EBEBEB;
	padding: 8px 0px 8px 10px;
	width: 100%;
}

.error{
	display: none;
	
}		
		
.error_show{
	color: #ae3636;
	line-height: 42px;
}
		
input.invalid, textarea.invalid{
	border: 1px solid red;
}
		
input.valid, textarea.valid{
	  background-color: #EBEBEB;
}


/* Rahmen um inputs herum wegnehmen */

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #dedede inset !important;
}

/* Rahmen um klickbare Bilder wegnehmen */

*:focus {
    outline: none;
}


iframe {
	border:0;
	width: 100%;
	height: 920px;
	border: 0;
	padding: 0px;
	margin-left: auto;
	margin-right: auto;
}

form, #contact_form  {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}
/* Das PopUp */

.popup-ajax {
/*	position: relative;
	background: #FFF;
	padding: 20px;
	width: auto;
	max-width: 500px;
	margin: 20px auto;*/
}

.popupimage{
	margin-top: 20px;
	width:100%;
	height:auto;
}

/* Die Map */

#map {
	width: 100%;
	height: 600px;
}

.marker {
  background-image: url('../images/mapmarker.png');
  background-size: cover;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
}

.markerlegende{
	width: 40px;
  height:40px;
	margin-left: 0px;
	margin-top: 23px;
	margin-right: 50px;
}

.legende {
	padding-left: 30px;
 	display:inline;
	width: 400px;

}

.legende h4{
	position: absolute;
	top: 44px;
 	display:inline;
	margin-left: -50px;
}



.markerprojekt {
  background-image: url('../images/marker_projekt.png');
  background-size: cover;
  width: 85px;
  height: 85px;
  border-radius: 50%;
  cursor: pointer;
}

.mapboxgl-popup {
  max-width: 300px;

}

.mapboxgl-popup-content {
  text-align: left;
}


/* die Porjekt PopUps */

.sliderimg {
	width: 100%;
	height: auto;
}

.proflexchildnarrow hr{
	width: 100%;
	margin: 20px 0;
	height:1px;
	background-color:#7E94A8;
  color:#7E94A8;
  border:#7E94A8;
}

.proflexchildnarrow h2{
		margin-top: 0px;
}

/* Die Breakpoints */

@media only screen and (max-width: 850px) {
	iframe {
			height: 1100px;
	}
}
@media only screen and (max-width: 700px) {
	
	
.legendeinnerbox {
	width:230px;
}
	
	.tworows {
  column-count: 1;
}

	
	iframe {

	height: 1000px;
	
}
	/* Das PopUp */
	.proflexchildnarrow{
		flex: 0 0 100%;/* Or whatever */
	}

	.flexchildtwocolumns{
		flex: 0 0 100%;/* Or whatever */
		margin-top: 40px;
	}
	
	/* Die Projekte */
	
	.threecolmnchild {
		flex: 0 0 100%;/* Or whatever */
		margin: 30px 0;
	}

	.threecolmnchild:last-child{
		text-align: center;
	}

	.threecolmnchild:first-child{
		text-align: center;
	}

	.threecolmnchild img{
		width: 45%;
	}
	
	
	.flexchild {
		flex: 0 0 100%;/* Or whatever */
	}
	
	.proflexchild {
		flex: 0 0 100%;/* Or whatever */
		margin: 0 0 0 0;
	}


	

 	.container {
		padding: 0 28px;
		
	}
	
	
	.workcontainer {
			padding:0 0px;
	}
	
	.blueinnerbox {
		width:80%;
		height: 120px;
	}
	
	.greytextbox {
		padding-top: 10px;
		padding-left: 20px;
	}
	
	.blueinner {
  	padding:0 20px;
		
	}
	
	.blueinnerright {
			margin-right: 0;
	}
	
	.logo{
		width: 170px;
		margin-top: 40px;
		transition: 0.4s;
		opacity: 1;
	}
	

	
	.flexchild h2 {
		margin-top: 60px;
	}

	/* Abstand der Fomular Überschriften */
	form .flexchild h2 {
		margin-top: 30px;
	}

	/* reihenfolge der flexbox items 
	.imgflexcontainer :nth-child(1) { order: 1; }
  .imgflexcontainer :nth-child(2) { order: 2; }
  .imgflexcontainer :nth-child(3) { order: 4; }
  .imgflexcontainer :nth-child(4) { order: 3; }
  .imgflexcontainer :nth-child(5) { order: 5; }
	.imgflexcontainer :nth-child(6) { order: 6; }
  .imgflexcontainer :nth-child(7) { order: 8; }
  .imgflexcontainer :nth-child(8) { order: 7; }
  .imgflexcontainer :nth-child(9) { order: 9; }
  .imgflexcontainer :nth-child(10) { order: 10; }
	.imgflexcontainer :nth-child(11) { order: 12; }
  .imgflexcontainer :nth-child(12) { order: 11; }
  .imgflexcontainer :nth-child(13) { order: 13; }
  .imgflexcontainer :nth-child(14) { order: 14; }
  .imgflexcontainer :nth-child(15) { order: 16; }
	.imgflexcontainer :nth-child(16) { order: 15; }
  .imgflexcontainer :nth-child(17) { order: 17; }
  .imgflexcontainer :nth-child(18) { order: 18; }
  .imgflexcontainer :nth-child(19) { order: 20; }
  .imgflexcontainer :nth-child(20) { order: 19; }	.imgflexcontainer :nth-child(21) { order: 21; }
		.imgflexcontainer :nth-child(22) { order: 22; }
	
	*/
	
	
	#referenzen table, tr, td {
		padding:0;
		
	}

	#referenzen table {
		border:none;
	}

	#referenzen thead {
		display:none;
	}

	#referenzen tr {
		float: left;
		width: 100%;
		margin-bottom: 0.6em;
	}

	#referenzen td {
		float: left;
		width: 100%;
		padding:0.5em;
	}


	
}


@media only screen and (max-width: 1000px) and (min-width: 700px){
	
	.greytextbox {
		padding-top: 22px;
		padding-left: 0px;
	}

	.greytextbox h3{
	font-family: 'Roboto', sans-serif;
	color: #000;
	font-size: 11px;
	line-height: 2px;
}

.greytextbox h2{
	font-family: 'Roboto', sans-serif;
	color: #7E94A8;
	font-size: 20px;
	line-height: 20px;
	 margin: 16px 0 10px 0;

}


.greytextbox h4{
	font-family: 'Roboto', sans-serif;
	color: #000;
	font-size: 10px;
	line-height: 0px;
}

	.proflexchild {
	flex: 0 0 44%;/* Or whatever */
		margin: 0 12px;
}


}


