/*
Theme Name: fischeraltbau
Author: marke17
Author URI: https://www.marke17.com
*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	font-size: 62.5%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

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

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

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

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

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

td,
th {
	padding: 0;
}

.clear {
	clear: both;
}

::selection {
	color: #fff;
	background-color: #000 !important;
}
::-moz-selection {
	color: #fff;
	background-color: #000 !important;
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #000;
	font-family: "ProgrammeRegular";
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.25;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Lyon Display Web';
	font-weight: 300;
	font-style: normal;
	font-stretch: normal;
	clear: both;
}
h2,
h3 {
	margin: 0 0 30px 0;
}
h2 {
	font-family: 'Lyon Display Web';
	font-weight: 300;
	font-style: normal;
	font-stretch: normal;
	font-size: 24px;
	font-size: 2.4rem;
	text-transform: uppercase;
	line-height: 1.25;
	text-align: center;
	letter-spacing: 0.1em;
}
h2.ort {
	text-transform: none;
	letter-spacing: 0em;
}
.spalte_1 h2,
.spalte_2 h2,
.spalte_3 h2,
.spalte_4 h2,
.einstiegstext h2,
.single-referenzen .entry-content h2 {
	font-family: 'Lyon Display Web';
	font-weight: 300;
	font-style: normal;
	font-stretch: normal;
	font-size: 24px;
	font-size: 2.4rem;
	text-transform: uppercase;
	line-height: 1.25;
	text-align: center;
	letter-spacing: 0.1em;
}
.spalte_1 h2:after,
.spalte_2 h2:after,
.spalte_3 h2:after,
.spalte_4 h2:after,
.einstiegstext h2:after,
.single-referenzen .entry-content h2:after,
.post-type-archive-referenzen h3:after,
.flexible_content_text h2:after {
	content: '___';
	display: block;
	line-height: 0;
	letter-spacing: -0.05em;
}
.post-type-archive-referenzen h2,
.post-type-archive-referenzen h3 {
	font-family: 'Lyon Display Web';
	font-weight: 300;
	font-style: normal;
	font-stretch: normal;
	font-size: 24px;
	font-size: 2.4rem;
	text-transform: uppercase;
	line-height: 1.25;
	text-align: center;
	letter-spacing: 0.1em;
}
.single-referenzen h1,
.single-referenzen h2.ort {
	margin: 0;
	font-size: 48px;
	font-size: 4.8rem;
	line-height: 1.25;
	text-align: center;
}
.blog h1,
.single-post h1 {
	margin: 10px 0 40px 0;
	font-size: 60px;
	font-size: 6.0rem;
	line-height: 1.25;
}
.blog .entry-date,
.single-post .entry-date {
	border-bottom: 1px solid #000;
}

p {
	margin-bottom: 1.5em;
	-ms-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
}
.lead p,
.headertext p,
.flexslider .slide-content p {
	margin: 0 5%;
	width: 90%;
	font-family: 'Lyon Display Web';
	font-weight: 300;
	font-style: normal;
	font-stretch: normal;
	font-size: 48px;
	font-size: 4.8rem;
	line-height: 1.25;
	text-align: center;
	-ms-hyphens: none;
	-webkit-hyphens: none;
	hyphens: none;
}
.lead p {
	max-width: 75%;
	margin: 0 auto;
}
@media screen and (max-width: 700px) {
	.lead p,
	.headertext p,
	.flexslider .slide-content p,
	.single-referenzen h1,
	.single-referenzen h2.ort,
	.blog h1 {
		font-size: 30px;
		font-size: 3.0rem;
	}
	.lead p {
		max-width: 80%;
	}
	h2,
	.spalte_1 h2,
	.spalte_2 h2,
	.spalte_3 h2,
	.spalte_4 h2,
	.einstiegstext h2,
	.single-referenzen .entry-content h2  {
		font-size: 20px;
		font-size: 2.0rem;
	}
}
@media screen and (min-width: 1600px) {
	.lead p,
	.headertext p,
	.flexslider .slide-content p {
		font-size: 3.5vw;
	}
}

.einstiegstext p {
}
.flexible_content_text p {
	width: 95%;
}
.projekte_kurzbeschrieb p {
	margin: 0;
}
.projekte_kurzbeschrieb ul {
	margin: 0 0 60px 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #000;
}
.projekte_kurzbeschrieb ul li {
	margin: 0;
	padding: 2px 0;
	font-family: 'Lyon Display Web';
	font-weight: 300;
	font-style: normal;
	font-stretch: normal;
	font-size: 17px;
	font-size: 1.7rem;
	line-height: 1.25;
	border-bottom: 1px solid #000;
}
span.projekte_label {
	font-family: "ProgrammeRegular";
	font-size: 16px;
	font-size: 1.6rem;
}

#footer-widgets .widget p {
	margin: 0;
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1.25;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

.error404 section.error-404 {
	width: 80%;
	margin: 10% 10% 0;
}
.error404 section.error-404 h1,
.error404 section.error-404 p {
	text-align: center;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	box-sizing: inherit;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Struktur
--------------------------------------------------------------*/
.satzspiegel {
	width: 100%;
	max-width: 988px;
	margin: 0 auto;
	position: relative;
}

#masthead {
	position: fixed;
	top: 0;
	width: 100%;
	height: 60px;
	background-color: white;
	z-index: 10000;
}
.site-branding img {
	position: relative;
	top: 18px;
	display: block;
    margin-left: auto;
    margin-right: auto ;
}

#content {
	margin-top: 60px;
}
.blog #content {
    width: 90%;
    margin: 0 5%;
}

.archive .page_content_wrap {
  display: flex;
  flex-wrap: wrap;
	margin-top: 40px;
}

.lead {
	margin: 200px 0;
}

@media screen and (max-width: 700px) {
	.lead {
		margin: 40px 0;
	}
	.archive .page_content_wrap {
		margin-top: 0;
	}
	.blog #content {
		width: 90%;
		margin: 0 auto;
	}

}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #000;
	text-decoration: none;
}

a:visited {
	color: #000;
}

a:hover,
a:focus,
a:active {
	color: #000;
}

a:focus {
	outline: 0;
}

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

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/* Shift-Nav */
#shiftnav-toggle-main {
	height: 60px;
	background-color: #fff;
}
#shiftnav-main {
	background-color: #000;
}
.shiftnav::after {
    display: none !important;
}
.shiftnav-nav {
	margin-top: 50px !important;
}
#shiftnav-main a {
	color: #fff;
}

.fa-navicon::before, .fa-reorder::before, .fa-bars::before {
	position: absolute;
	top: 22px;
	right: 22px;
	content: ' ' !important;
	background-image: url(https://www.fischeraltbau.ch/wp-content/themes/fischeraltbau/files/menu.svg);
	width: 20px;
	height: 16px;
}
.shiftnav-open #shiftnav-toggle-main.shiftnav-toggle-icon-x .shiftnav-toggle-burger .fa::before, .shiftnav-open #shiftnav-toggle-main.shiftnav-toggle-main-entire-bar.shiftnav-toggle-icon-x::before {
	position: absolute;
	top: 22px;
	right: 22px;
	content: ' ' !important;
	background-image: url(https://www.fischeraltbau.ch/wp-content/themes/fischeraltbau/files/close.svg);
	width: 20px;
	height: 16px;
}
#shiftnav-toggle-main.shiftnav-toggle-edge-right .shiftnav-toggle-burger,
#shiftnav-toggle-main.shiftnav-toggle-edge-right.shiftnav-toggle-main-entire-bar::before,
.shiftnav-open-right #shiftnav-toggle-main.shiftnav-toggle-main-entire-bar::before {
    padding-left: 40px !important;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/* Footer */
#colophon {
	margin-top: 100px;
}
#footer-widgets {
	margin-bottom: 30px;
	padding: 30px 0;
	border-top: 1px solid #000;
}
#footer-widgets .widget {
	width: 18%;
	margin-right: 2%;
	float: left;
}
#footer-widgets .widget-title {
	display: none;
}
.home #colophon {
	display: none;
}

@media screen and (max-width: 768px) {
	#footer-widgets {
		width: 90%;
		overflow: hidden;
	}
}
@media screen and (max-width: 700px) {
	#footer-widgets {
		width: 90%;
		overflow: hidden;
	}
	#footer-widgets .widget {
		position: relative;
		width: 100%;
		margin: 0 auto;
		padding: 0 5%;
	}
	section#black-studio-tinymce-6 {
		margin-bottom: 20px !important;
	}
	section#black-studio-tinymce-2 {
		margin-top: 20px !important;
	}
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline,
.cat-links {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Page */
.page_header_wrap {
	width: 100%;
	height: calc(100vh - 60px);
	overflow: hidden;
}
.headerbild {
	height: 100%;
}
.headerbild img {
	width: 100vw;
	height: auto;
}
.headertext {
	position: absolute;
	top: 45vh;
	width: 100%;
}
@media screen and (max-width: 700px) {
	.page_header_wrap {
		height: calc(100vh - 60px);
	}
	.post-type-archive-referenzen .page_header_wrap {
		display: none;
	}
	.headertext {
		display: none;
	}
}

.content_3spalten,
.content_schluss {
	overflow: auto;
	padding: 0 72px;
}
.spalte_1,
.spalte_2,
.spalte_3 {
	width: 31%;
	margin: 0 3.5% 0 0;
	float: left;
}
.spalte_3 {
	margin: 0;
}
.spalte_4 {
	width: 31%;
	margin: 0 auto;
}
@media screen and (max-width: 768px) {
	.content_3spalten,
	.content_schluss {
		width: 100%;
		margin: 20% auto 0 auto;
		padding: 0;
	}
	.spalte_1,
	.spalte_2,
	.spalte_3,
	.spalte_4 {
		width: 100%;
		margin: 0;
	}
	.spalte_1 img {
		width: 90%;
		margin: 20% 5%;
	}
	.spalte_2 img {
		width: 60%;
		margin: 20%;
	}
	.spalte_3 img {
		width: 100%;
		margin: 20% 0 0 0;
	}
}
.content_bild {
	margin: 200px 0 100px 0;
	text-align: center;
}
.page-id-15 .content_bild { /* Seite Handwerk */
	display: none;
}

@media screen and (min-width: 769px) { /* kleine Bilder Destop ausblenden */
	.spalte_1 img,
	.spalte_2 img,
	.spalte_3 img {
		display: none;
	}
}
@media screen and (max-width: 700px) { /* grosses Bild mobile ausblenden */
	.content_bild {
		display: none;
	}
}

/* Referenzen */

.post-type-archive-referenzen article {
	width: 32%;
	/* height: 720px; */
	margin: 0 2% 6% 0;
	/* float: left; */
}
.post-type-archive-referenzen article:nth-child(3n+3) {
	margin: 0 0 2% 0;
}
.referenzarchiv-bild {
	margin: 0 0 40px 0;
}
.referenzarchiv-text {
	position: relative;
}
.referenzarchiv-text h2 {
	display: none;
}
/* .referenzarchiv-text:after {
	content: 'mehr';
	position: absolute;
	text-align: center;
	width: 100%;
} */
.single-referenzen .entry-header {
	margin-top: 60px;
	margin-bottom: 60px;
}
.single-referenzen .headerbild {
	margin-top: 100px;
}
.flexible_content {
	margin-top: 60px;
}
.flexible_content_text {
	margin-top: 40px;
}
.einstiegstext {
	width: 268px;
	margin: 0 auto;
}

@media screen and (max-width: 768px) {
	.post-type-archive-referenzen article {
		width: 100%;
		height: auto;
		margin: 0 0 60px 0;
		float: left;
	}
	.referenzarchiv-bild {
		width: 50%;
		margin: 0 auto;
	}
	.referenzarchiv-bild img {
		width: 100%;
	}
	.referenzarchiv-text {
		width: 80%;
		margin: 10% 10% 20% 10%;
	}
	.flexible_content h2{
		width: 80%;
		margin: 0 auto 30px auto;
	}
	.flexible_content p {
		width: 100%;
		margin: 0 auto;
	}
	.page-id-15 .col_1-4 .flexible_content_text p,
	.page-id-15 .col_1-4-2 .flexible_content_text p,
	.col_1-4 .flexible_content_text p,
	.col_4-1 .flexible_content_text p,
	.col_1-4-2 .flexible_content_text p,
	.col_1-4-2_l .flexible_content_text p,
	.col_2-4-1 .flexible_content_text p,
	.col_2-4-1_r .flexible_content_text p {
		width: 80%;
	}


	.flexible_content_text {
    margin-top: 40px;
}
}

@media screen and (max-width: 700px) {
	.spalte_1 h2,
	.spalte_2 h2,
	.spalte_3 h2,
	.spalte_4 h2 {
		width: 80%;
		margin: 0 auto 30px auto;
	}
	.spalte_1 p,
	.spalte_2 p,
	.spalte_3 p,
	.spalte_4 p {
		width: 80%;
		margin: 0 auto;
	}

	.einstiegstext {
		width: 80%;
		margin: 0 auto;
	}

}

/*layout 1*/
.col_6-1 {
	width: 412px;
	margin: 0 72x 0 0;
	float: left;
}
.col_1-4-2 {
	width: 268px;
	margin: 40px 144px 0 72px;
	float: right;
}
/*layout 2*/
.col_2-4-1 {
	width: 268px;
	margin: 40px 72px 0 144px;
	float: left;
}
.col_1-6 {
	width: 412px;
	margin: 0 0 0 72px;
	float: right;
}
/*layout 3*/
.col_9 {
	width: 628px;
	float: left;
}
.col_1-4 {
	width: 268px;
	margin: 0 0 0 72px;
	float: right;
}
/*layout 4*/
.col_7_l {
	width: 484px;
	margin: 0 0 0 0;
	float: left;
}
.col_2-4-1_r {
	width: 268px;
	margin: 40px 72px 0 144px;
	float: right;
}
/*layout 5*/
.col_4-1 {
	width: 268px;
	margin: 0 72px 0 0;
	float: left;
}
.layout_5 .col_9 {
	float: right;
}
/*layout 6*/
.col_1-4-2_l {
	width: 268px;
	margin: 40px 144px 0 72px;
	float: left;
}
.col_7_r {
	width: 484px;
	margin: 0 0 0 0;
	float: right;
}
/*layout 7*/
.col_2-10-2 {
	width: 700px;
	margin: 0 auto;
}
/*layout 8*/
.col_14 {
}

@media screen and (max-width: 990px) {
	.page-id-15 .layout_7,
	.page-id-15 .col_1-4 img,
	.page-id-15 .col_9 img,
	.page-id-15 .content_schluss {
		display: none;
	}
	.col_1-4-2,
	.col_2-4-1,
	.page-id-15 .col_1-4 {
  	  width: 268px !important;
  	  margin: 40px auto 0 auto !important;
  	  float: none !important;
	}

}
@media screen and (min-width: 701px) and (max-width: 990px) {
	.spalte_1 h2,
	.spalte_2 h2,
	.spalte_3 h2,
	.spalte_4 h2 {
		width: 268px;
		margin: 0 auto 30px auto;
	}
	.spalte_1 p,
	.spalte_2 p,
	.spalte_3 p,
	.spalte_4 p {
		width: 268px;
		margin: 0 auto;
	}
	.referenzarchiv-text {
		width: 268px;
		margin: 10% auto 20% auto;
	}
	.col_1-4,
	.col_2-4-1_r {
		width: 268px;
		margin: 0 5% 0 72px;
		float: right;
	}
	.col_4-1,
	.col_1-4-2_l {
		width: 268px;
		margin: 0 72px 0 5%;
		float: left;
	}
	.col_9,
	.col_7_l {
		width: 45%;
		float: left;
	}
	.col_7_r {
 	   width: 45%;
 	   float: right;
	}
	.col_1-6,
	.col_6-1 {
		display: none;
	}
}
@media screen and (max-width: 700px) {
	.flexible_content img {
		width: 100%;
	}
	.col_6-1,
	.col_1-6,
	.col_9,
	.col_2-10-2,
	.col_1-4,
	.col_4-1,
	.col_1-4-2,
	.col_1-4-2_l,
	.col_2-4-1,
	.col_2-4-1_r,
	.col_7_r,
	.col_7_l {
		width: 100%;
		margin: 0;
	}
	.col_7_r,
	.col_7_l {
		width: 100%;
		margin: 0 0 20% 0;
	}
	.col_2-10-2 img,
	.col_1-4-2 img,
	.col_2-4-1 img {
		width: 90%;
		margin: 0 5%;
	}
	.col_9 img,
	.col_1-4-2_l img,
	.col_2-4-1_r img {
		width: 60%;
		margin: 0 20% 20% 20%;
	}
	.col_9,
	.col_7_r {
		margin-top: 60px
	}
	.col_6-1,
	.col_1-6,
	.page-id-15 .col_1-4 img,
	.page-id-15 .col_4-1 img,
	/*.page-id-15 .col_14 img,*/
	.page-id-15 .col_1-4-2 img,
	.page-id-15 .col_2-4-1 img,
	/*.layout_8,
	.page-id-15 .layout_7, */
	.page-id-15 .col_9 img {
		display: none;
	}
	.page-id-15 .layout_3 {
		margin-top: 0;
	}

}

/* Projekte */
.blog article,
.single-post #main {
	margin-top: 140px;
}
.projekte_kurzbeschrieb {
	width: 268px;
}
.projekte_text .projekte_spalte1,
.projekte_text .projekte_spalte2 {
	width: 268px;
	margin-right: 2.0243%;
	float: left;
}
.projekte_galerie img {
	margin-bottom: 20px;
}

.post-navigation {
	display: none;
}

@media screen and (max-width: 700px) {
	.projekte_kurzbeschrieb {
		width: 100%;
	}
	.projekte_text .projekte_spalte1,
	.projekte_text .projekte_spalte2 {
		width: 90%;
		margin: 0 5%;
		float: left;
	}
}

/* Kontakt */
.page-template-template_kontakt iframe {
	width: 100%;
	height: 70vh;
}
.page-template-template_kontakt #colophon {
    margin-top: 40px;
}
#content .embed #bigMapLink,
a#bigMapLink {
	display: none !important;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Formulare
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Home Slider
--------------------------------------------------------------*/
.slide {
     position: relative;
     z-index: 1;
}
.flexslider {
    position: relative;
    height: 100vh;
	max-width: 100%;
    margin: 0;
    margin-top: -60px;
    background: #fff;
    border: 0px;
    zoom: 1;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow: 0;
    -moz-box-shadow: 0;
    -o-box-shadow: 0;
    box-shadow: 0;
}
.flexslider .slides {
    height: 100vh;
}
.flexslider .imagebox {
	width: 100%;
    height: 100vh;
	overflow: hidden;
}
.flexslider .contentbox {
     position: relative;
     top: 0;
}
.flexslider .slide-content {
	position: absolute;
	top: 45vh;
	width: 100%;
}
.flex-direction-nav,
.flex-control-nav {
	display: none;
}
@media screen and (max-width: 700px) {
	.flexslider {
		height: 50vh;
		max-width: 90%;
		margin: 0 auto;
	}
	.flexslider .slides {
		height: 50vh;
	}
	.flexslider .imagebox {
		width: 100%;
		height: 50vh;
		overflow: hidden;
	}
	.flexslider .slide-content {
   	 position: absolute;
   	 top: 55vh;
   	 width: 100%;
	}
}

/*--------------------------------------------------------------
# Mobile
--------------------------------------------------------------*/

@media screen and (max-width: 700px) {


}

/*--------------------------------------------------------------
# Screen Lock Mobile landscape
--------------------------------------------------------------*/
@media screen and (min-width: 320px) and (max-width: 767px) and (orientation: landscape) {
  html {
    transform: rotate(-90deg);
    transform-origin: left top;
    width: 100vh;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
  }
}
