/** General
 *****************************************/
html {
	height: calc(100% + 150px);
}
body {
	font-family: 'Open Sans', sans-serif;
	height: calc(100% - 150px);
}
.body-container {
	height: 100%;
	width: 100%
}
.middot {
	padding: 0 4px;
}
a {
	position: relative;
	color: #000;
	border-bottom: 1px solid rgba(255,255,255,0);
	transition: border 500ms ease;
}
a:focus,
a:active,
a:hover {
	color: #000;
	text-decoration: none;
	border-bottom: 1px solid #969696;
	transition: border 500ms ease;
}
a.active {
	border-bottom: 1px solid #969696;
}
.overlay {
	pointer-events: none;
	opacity: 0;
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background: #fff;
	z-index: 100;
	animation: 2s ease-out 0s 1 overlayfade;
}
@keyframes overlayfade {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

.buero-imgages {
	display: flex;
	justify-content: center;
	align-items: center;
}
.buero-imgages img {
    width: 29%;
    height: 100%;
    margin: 2%;
}
/** Header
 *****************************************/
.header {
	height: 20%;
	overflow: hidden;
}
.logo {
	padding-left: 0;
}
.logo img {
	max-width: 300px;
	transition: all 0.4s ease;
	opacity: 1;
}
.logo img:hover {
	transition: all 0.4s ease;
	opacity: 0.6;
}
.nav-content {
	text-align: right;
	padding-right: 0;
}
nav.main-nav {
	background: rgba(255,255,255,0.95);
	padding-top: 55px;
	margin: 0 0 55px 0;
	transition: all 0.4s ease;
}
/** Line **/
.line-container {
	position: relative;
	margin-top: 55px;
	transition: all 0.4s ease;
	z-index: 10;
}
.line-container .line {
	font-size: 30px;
	background: #fff;
	width: 16px;
	height: 1px;
	margin: 0 auto;
}
.line-container .line::before {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -5px;
	height: 10px;
	width: 1px;
	background: #969696;
}
.line-container .line::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0px;
	width: 100%;
	height: 1px;
	background: #969696;
	z-index: -1;
}
/** Sticky Nav **/
nav.main-nav.stickytop {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
	background: rgba(255,255,255,0.95);
	width: 100%;
	padding-top: 30px;
	margin-bottom: 0;
	margin-top: 0;
	transition: all 0.4s ease;
}
.stickytop .line-container {
	margin-top: 30px;
	margin-bottom: 0;
	transition: all 0.4s ease;
}
.stickytop .line-container .line {
	background: #969696;
}
.stickytop .logo img {
	max-width: 50%;
	transition: all 0.4s ease;
}
/** Contact Flag **/
.contact-flag {
	position: fixed;
	left: 0;
	top: 25px;
	z-index: 20;
	transition: all 0.4s ease;
}
.stickytop .contact-flag {
	top: 10px;
	transition: all 0.4s ease;
}
.contact-flag p {
	background: #000;
	color: #fff;
	height: 30px;
	width: 30px;
	text-align: center;
	vertical-align: center;
	transition: all 0.4s ease;
}
.contact-flag p:hover {
	width: 40px;
}
.stickytop .contact-flag p {
	margin-bottom: 2px;
	transition: all 0.4s ease;
}
.flag-phone {
	font-size: 16px !important;
	padding-top: 2px;
}
.flag-phone:hover {
	font-size: 18px !important;
	padding-top: 1px;
}
.flag-mail {
	font-size: 14px !important;
	padding-top: 4px;
}
.flag-mail:hover {
	font-size: 16px !important;
	padding-top: 2px;
}
/** Scroll to Top **/
.scroll-top {
	position: absolute;
	right: 0;
	top: 90px;
	background: #000;
	height: 30px;
	width: 30px;
	transition: all 0.4s ease;
}
.scroll-top:hover {
	width: 40px;
	transition: all 0.4s ease;
}
.scroll-top a {
	color: #fff;
}
.flag-top {
	width: 100%;
	height: 100%;
	font-size: 13px !important;
	padding-top: 3px;
	transition: all 0.4s ease;
}
.flag-top:hover {
	font-size: 17px !important;
	padding-top: 0;
	transition: all 0.4s ease;
}
/** Slider
 *****************************************/
.slider {
	width: 100%;
	height: 50%;
	overflow: visible;
}
.carousel-container {
	position: relative;
	background-color: #F1F1F1;
	padding: 0;
	height: 100%;
}
.carousel {
	height: 100%;
}
.carousel .carousel-cell {
	height: 100%;
	width: auto;
}
.carousel .carousel-cell img {
	height: 100%;
	width: auto;
	filter: url('bwblur.svg#bwblur');
	-webkit-filter: blur(10px) grayscale(100%);
	filter: blur(10px) grayscale(100%);
	filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius='10');
}
/** Carousel Nav **/
.carousel-nav-container {
	position: absolute;
	right: 0;
	bottom: -4px;
	height: 70px; /** chanGED FROM 100px **/
	width: 100%;
	z-index: 5;
}
.carousel-nav {
	position: relative;
	height: 100px;
}
.carousel-nav .carousel-cell {
	height: 100%;
	width: auto;
	cursor: pointer;
}
.carousel-nav .carousel-cell img {
	height: 70%; /** chanGED FROM 100% **/
	width: auto;
	margin-right: 4px;
	-webkit-box-shadow: 0px 0px 24px 6px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 0px 24px 6px rgba(0,0,0,0.3);
	box-shadow: 0px 0px 24px 6px rgba(0,0,0,0.3);
	-webkit-filter: grayscale(1);
	-webkit-filter: grayscale(100%);
	filter: gray;
	filter: url('bwblur.svg#bw');
	filter: grayscale(100%);
}
/** Project Leiste **/
.proj-leiste-cell img {
	-webkit-filter: grayscale(1);
	-webkit-filter: grayscale(100%);
	filter: gray;
	filter: url('bwblur.svg#bw');
	filter: grayscale(100%);
}

/** Both Carousels **/
.proj-leiste-cell.active img,
.carousel .carousel-cell.is-selected img,
.carousel-nav .carousel-cell.is-nav-selected img {
	-webkit-filter: blur(0px);
	filter: blur(0px);
	filter: none;
	filter:progid: DXImageTransform.Microsoft.Blur(PixelRadius='0');
}
/** Masonry Grid
 *****************************************/
.masonry {
  clear: both;
	height: 20%;
	overflow: hidden;
	padding-top: 4%;
}
.grid {
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
      -ms-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
	margin-left: -18px;
	margin-right: -18px;
}
.grid-item {
	padding-right: 3px;
	padding-left: 3px;
	margin-bottom: 6px;
}
.grid-item a {
	overflow: hidden;
	height: 100%;
    width: 100%;
    display: block;
	position: relative;
}
.grid-item img {
	width: 100%;
	height: auto;
	-webkit-filter: grayscale(1);
	-webkit-filter: grayscale(100%);
	filter: gray;
	filter: url('bwblur.svg#bw');
	filter: grayscale(100%);
	transition: all 0.4s ease;
}
.grid-item.active a img,
.grid-item a:hover img,
.grid-item a:focus img,
.grid-item a:active img {
	transition: all 0.4s ease;
	-webkit-filter: none;
	filter: none;
}
.grid-item .grid-layer {
	transition: all 0.8s ease;
    padding: 5px 20px;
    position: absolute;
    bottom: 5px;
    left: -100%;
    height: auto;
    background: #000;
    color: #fff;
    z-index: 6;
}
.grid-item.active a .grid-layer,
.grid-item a:hover .grid-layer,
.grid-item a:focus .grid-layer,
.grid-item a:active .grid-layer {
	transition: all 0.8s ease;
	left: 0;
}
/** Filter Buttons **/
.button-group {
	margin-top: 15px;
	margin-bottom: 50px;
	padding: 0 40px;
	text-align: center;
}
.button {
	margin-top: 10px;
	margin-bottom: 10px;
	display: inline-block;
	padding: 0;
	background: #fff;
	color: #000;
	cursor: pointer;
	border: none;
	border-bottom: 1px solid #fff;
	transition: border 500ms ease;
	outline: none;
}
.button:hover,
.button:active,
.button.is-checked {
	border-bottom: 1px solid #969696;
	transition: border 500ms ease;
	outline: none;
}
/** Single Project Info **/
.project-info {
	height: 100%;
	position: relative;
}
.project-title {
	position: absolute;
	background: #000;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
  padding: 20px 32px;
  left: -32px;
	top: 5%;
}
.project-txt {
	margin-left: 30px;
	padding-right: 30px;
	position: absolute;
	top: 28%;
}
.project-txt p {
	margin-bottom: 5%;
}
.project-txt p.p2 {
	margin-bottom: 12%;
}
.project-box {
	background-color: #e5e5e5;
	width: 100%;
	padding: 10% 0 10% 45px;
	bottom: 5%;
	font-size: 12px;
	position: absolute;
	left: 0;
}
.impressum.project-box {
	position: relative;
}
.project-box td {
	padding: 2px 30px 2px 0;
}
.contact.project-box {
	padding-top: 42px;
}
.contact.project-box td {
	padding-right: 20px;
}
.contact.project-box i {
	cursor: help;
}
.project-box strong.impressum{
	font-size: 14px;
}
/** Projects
 *****************************************/
.projects {
	position: relative;
	text-align: center;
  clear: both;
}
.projects h3 {
  font-size: 18px;
  font-weight: bold;
  background: #fff;
  width: 90px;
  margin: 9px auto 0 auto;
}
.projects h3.impressum {
	width: 180px;
}
.projects h3.datenschutz {
	width: 210px;
}
.projects h3::after {
	content: '';
	position: absolute;
	left: 0;
	top: 19px;
	width: 100%;
	height: 1px;
	background: #969696;
	z-index: -1;
}

.proj-leiste {
	height: 10%;
	width: 100%;
	overflow: hidden;
}
.proj-leiste-cell {
	display: inline-block;
	margin: 0 2px;
}
.dachaufstockung, .bestanddenkmal, .neubau, .praxisklinik {
	top: 0;
	opacity: 1;
}

/** About us
 *****************************************/
.titletxt {
	text-align: center;
}
.titletxt h3 {
	margin: 100px 0;
}
.aboutus {
	margin-top: 60px;
	margin-bottom: 60px;
}
.aboutus .projects {
	margin-bottom: 60px;
}
.aboutustxt {
	margin: 0 -30px;
    text-align: justify;
}
.wasunsausmacht {
    margin-top: 110px;
}
.projects.ueberuns h3 {
	width: 110px;
}
.projects.wasunsausmacht h3 {
	width: 190px;
}
.marbot {
	margin-bottom: 50px;
}
/** Footer
 *****************************************/
.footer {
	position: relative;
	width: 100%;
	background-color: #f2f2f2;
	padding: 80px 0;
	text-align: center;
	font-size: 12px;
	clear: both;
}
.footer::before {
	content: '';
	position: absolute;
	top: 10px;
	left: 0;
	height: 1px;
	width: 100%;
	background: #969696;
}
.footer a {
	border-bottom: 1px solid #f2f2f2;
}
.footer a.active,
.footer a:hover {
	border-bottom: 1px solid #969696;
}
/*! Flickity v2.0.5
http://flickity.metafizzy.co
---------------------------------------------- */
.flickity-enabled {
  position: relative;
}
.flickity-enabled:focus { outline: none; }
.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}
.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}
/* draggable */
.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
          tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}
.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}
/* ---- previous/next buttons ---- */
.flickity-prev-next-button {
  position: absolute;
  top: 50%;
  width: 30px;
  height: 30px;
  border: none;
  background: hsla(0, 0%, 100%, 0.75);
  transition: all 0.4s ease;
  margin: 0 -10px;
  cursor: pointer;
  /* vertically center */
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
.flickity-prev-next-button:hover {
	transition: all 0.4s ease;
	background: white;
	width: 40px;
}
.flickity-prev-next-button:focus {
  outline: none;
}
.flickity-prev-next-button:active {
  opacity: 0.6;
}
.flickity-prev-next-button.previous { left: 10px; }
.flickity-prev-next-button.next { right: 10px; }
/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {
  left: auto;
  right: 10px;
}
.flickity-rtl .flickity-prev-next-button.next {
  right: auto;
  left: 10px;
}
.flickity-prev-next-button:disabled {
  opacity: 0.3;
  cursor: auto;
}
.flickity-prev-next-button svg {
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
  transition: all 0.4s ease;
}
.flickity-prev-next-button:hover svg {
  left: 10%;
  top: 10%;
  width: 80%;
  height: 80%;
  transition: all 0.4s ease;
}
.flickity-prev-next-button .arrow {
  fill: #000;
}
.contact .projects {
	margin-top: 60px;
}
/** Contact Form
 *****************************************/
.fa-mobile-phone {
    font-size: 17px !important;
    margin-left: 2px !important;
}
#contact_body label {
    width: 100%;
    margin: 5px 0;
}
#contact_body input,
#contact_body textarea {
    width: 100%;
    margin: 5px 0;
    padding: 8px 10px;
    border: 1px solid #e5e5e5;
    font-weight: normal;
    outline: none;
    background: #fff;
    transition: background 0.4s ease;
}
#contact_body textarea {
	height: 200px;
}
#contact_body input:hover,
#contact_body textarea:hover,
#contact_body input:active,
#contact_body textarea:active,
#contact_body input:focus,
#contact_body textarea:focus {
	background: #f2f2f2;
    transition: background 0.4s ease;
}
#contact_body input[type=submit] {
	background: #000;
	border: none;
	color: #fff;
	width: 30%;
    transition: width 0.4s ease;
}
#contact_body input[type=submit]:hover,
#contact_body input[type=submit]:active,
#contact_body input[type=submit]:focus {
	width: 33%;
    transition: width 0.4s ease;
}
#contact_form {
	margin: 50px 0 70px 0;
	padding-left: 0;
	padding-right: 0;
}
.captcha {
	background: #e5e5e5;
	padding: 5px 10px;
    margin-left: 5px;
}
#contact_form .contacterror {
    background: #FFE8E8;
    padding: 5px 10px 5px 10px;
    margin: 0px 0px 5px 0px;
    border: none;
    font-weight: bold;
    color: #FF0000;
    border-left: 3px solid #FF0000;
}

/** Media Queries
 *****************************************/
@media (max-width: 990px) {
	body {
	    overflow-x: hidden;
	}
	.header {
	    margin-top: 30px;
	}
	.logo {
		padding-left: 15px;
	}
	.logo img {
		max-width: 250px;
	    margin: 0 auto;
	}
	.nav-content {
		text-align: center;
		padding-right: 15px;
		margin-top: 23px;
		transition: all 0.4s ease;
	}
	.stickytop .nav-content {
		margin-top: 20px;
		transition: all 0.4s ease;
	}
	.slider {
    margin-top: 130px;
		height: 300px;
	}
	.contact-page.slider {
		margin-top: 8px;
	}
	.titletxt {
		margin-top: 210px;
	}
	.ueberuns.titletxt {
		margin-top: 30px;
	}
	.ueberuns.titletxt h3 {
    margin: 100px 0 -10px;
	}
	.carousel {
		height: 300px;
	}
	.carousel-nav-container {
		bottom: -105px;
	}
	.carousel-nav .carousel-cell img {
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}
	.project-info {
		margin-top: 120px;
		height: 170%;
	}
	.project-title {
		left: 0;
	}
	.projects h3 {
		margin-top: 20px;
		padding-top: 10px;
	}
	.grid-item .grid-layer {
		left: -200%;
	}
	.grid-item.active a .grid-layer,
	.grid-item a:hover .grid-layer,
	.grid-item a:focus .grid-layer,
	.grid-item a:active .grid-layer {
		font-size: 10px;
	}
	.aboutustxt {
		padding: 0 45px;
		margin: 0 0 30px 0;
		text-align: left;
	}
	.aboutustxt.last {
		margin-bottom: 0;
	}
	.contact-container .project-info {
		margin-top: 0;
	}
	.contact-page .project-info {
		margin-top: 10px;
	}
	.ueberuns.titletxt .col-md-12 {
		padding-left: 30px;
		padding-right: 30px;
	}
	.contact {
	    clear: both;
	}
	#contact_form {
		padding-left: 45px;
		padding-right: 45px;
	}
	.captcha {
		padding: 2px 8px;
	}
	.contact.project-box {
	    margin-top: 45px;
	}
	nav.main-nav {
		position: fixed;
		top: 0;
		left: 0;
		z-index: 10;
		background: rgba(255,255,255,0.95);
		width: 100%;
		padding-top: 27px;
    margin: 0 0 27px 0;
		transition: all 0.4s ease;
	}
	.line-container {
		margin-top: 35px;
	}
	nav.main-nav.stickytop {
		padding-top: 13px;
	}
	.stickytop .line-container {
		margin-top: 17px;
	}
	.masonry {
		height: auto;
		padding-top: 0;
	}
	.proj-leiste {
		height: 150px;
	}
	.body-container {
		height: auto;
	}
	.footer {
		padding: 50px 0;
	}
	.carousel-container {
		width: 100%;
	}
	.project-info {
		width: 100%;
	}
	.project-box {
		padding: 45px 0 45px 45px;
	}
}
@media (width: 1024px) AND (height: 768px) {
	.project-box {
		padding: 15px 0 26px 25px;
	}
	.project-box td {
    padding: 2px 10px 2px 0;
	}
	.project-txt {
		margin-left: 10px;
		font-size: 12px;
		margin-top: 10px;
	}
}
@media (width: 1024px) AND (height: 1366px) {
	.header {
    height: 15%;
	}
	.masonry {
		height: 12%;
	}
	.slider {
		height: 66%;
	}
	.project-box {
		padding: 15px 0 26px 25px;
	}
	.project-box td {
		padding: 2px 10px 2px 0;
	}
	.project-txt {
		margin-left: 10px;
		margin-top: 10px;
    padding-right: 20px;
	}
	.project-txt p {
		margin-bottom: 80px;
	}
}
@media (min-width: 1490px) {
	.project-info {
	  width: calc(50% - 435px);
	}
	.carousel-container {
		position: relative;
		padding: 0;
		height: 100%;
		width: calc(50% + 435px);
	}
}
@media (max-width: 480px) {
	.contact.impressum.project-box {
	    margin: 45px -75px 0 -75px;
		width: 100vw;
	}
}
@media (max-width: 370px) {
	.logo img {
		max-width: 200px;
	    margin: 0 auto;
			transition: all 0.4s ease;
	}
	.kontakt {
		padding-left: 80px;
	    padding-right: 80px;
	    line-height: 30px;
	}
}
