/*
Theme Name: josbuero
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: josbuero
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

josbuero is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/



/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Normalize
2.0 Typography
3.0 Elements
4.0 Forms
5.0 Navigation
	5.1 Links
	5.2 Menus
6.0 Accessibility
7.0 Alignments
8.0 Clearings
9.0 Widgets
10.0 Content
	10.1 Posts and pages
	10.2 Asides
	10.3 Comments
11.0 Infinite scroll
12.0 Media
	12.1 Captions
	12.2 Galleries
--------------------------------------------------------------*/

.teaser {
	height:250px !important;
}

/*--------------------------------------------------------------
1.0 Normalize
--------------------------------------------------------------*/

.exampp-hints {
    margin-top: 7px;
    font-size: 14px;
	margin: auto;
	text-align: center;
	color:#fff;
}


.ngg-breadcrumbs li {
	margin:auto;
	text-align: center;
}

.ngg-gallery-thumbnail a {
	display: block;
    margin: -1px!important;
}

ul.ngg-breadcrumbs > li {
	float:none!important;
	color:#fff!important;
	font-size: 2em;
}

html {
	font-family: sans-serif;
	-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;
}

#ninja_forms_form_1 {
	text-align: left!important;
}

h1 {
	font-size: 3.5em;
	margin: 0;
	text-transform: none;
	color: #fff;
	text-align: left;
	word-spacing: 0.4em;
}

h2 {
	font-size: 1.4em;
	margin: 3em 0 1em 0;
	text-transform: uppercase;
	color: #fff;
	text-align: center;
	font-weight: lighter;
}
h4 {
	font-size: 0.8em;
	margin: -2em 0 1em 0;
	text-transform: uppercase;
	color: #fff;
	text-align: left;
	font-weight: lighter;
}

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-appearance: textfield;
	box-sizing: content-box;
}

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;
}



/* ============== JOSBUERO CUSTOMIZE =============== */

/* josbuero pfusch am bau */

#content {
	height: auto !important;
}


#logo {
	width:150px;
	height:40px;
	position: relative;
	display:inline-block;
	float:left;
	margin-left:10px;
	margin-top:10px;
}
@media only screen and (-webkit-min-device-pixel-ratio: 2) {
	#logo {
		margin-left:15px;
	}
}


/* GOOOGLE MAP */

 .google-map {
position: relative;
/*height: 550px;*/
overflow: hidden;
}
.google-map iframe {
position: absolute;
top: 0;
left: 0;
width: 100% !important;
height: 350px;
-webkit-filter: grayscale(100%) !important;
filter: grayscale(100%) !important;
}

.scrollof{
    pointer-events: none;
}

/*FOOTER*/
.site-footer p {
	font-size: 0.7em;
	margin: 10px 0 10px 0px !important;
	color: #ccc;
	text-align: center;
}

.site-footer a, .site-footer a:hover, .site-footer a:visited, .site-footer a:focus {
	color: #fff;
	text-decoration: none;
}


/* ============== STANDARD SEITE =============== */

#standard-content {
	background-color: #fff;
}

#standard-content .hentry {
	margin-bottom: 10px !important;
}

#standard-content h1 {
	background-color: #000;
	padding-bottom: 30px;
}

.standard-content-inner {
	width: 50%;
	margin: auto;
	padding-top: 30px;
	padding-bottom: 50px;
}

.ezcol-one-fifth {
	border-left: 8px solid #000;
	color: #000;
	font-size: 1.5em;
	line-height: 1;
	text-align: center;
}

.standard-content-inner a, .standard-content-inner a:visited, .standard-content-inner a:focus {
	text-decoration: none !important;
	color: #4b4b4d;
}

.standard-content-inner a:hover {
	color: #000;
}


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

	.ezcol-one-fifth {
		float: none !important;
		margin-bottom: 10px;
		padding-left: 10px;
		width: 100% !important;
		text-align: left;
	}

	.ezcol-four-fifth {
		float: none !important;
		margin-bottom: 30px;
	}

	.standard-content-inner {
		width: 80%;
	}
}

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

	.standard-content-inner {
		width: 80%;
	}

}

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

	h1 {
		font-size: 40px !important;
	}
}

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

	h1 {
		font-size: 30px !important;
	}
}

/* ============== BLOG SEITE =============== */

.blog-artikel {
	padding-top: 100px !important;
}


#blog {
	width: 100%;
	height: auto;
	background-color: #fff !important;
	padding-top: 90px;
}

#blog-content {
	width: auto;
	margin: auto;
	text-align: center;
	padding-left: 30px;
	padding-right: 30px;
}


/*Blogeinträge */
#blog-artikel {
	width: 70%;
	max-width: 780px;
	display: inline-block;
	vertical-align: top;
	text-align: left;
}

#blog .hentry {
	margin-bottom: 100px !important;
}

#blog .entry-image {
	height: 300px;
	overflow: hidden;
}

.entry-datum {
	position: absolute;
	background-color: rgba(0,0,0,0.8);
	color: #fff;
	height: 100px;
	margin-top: 100px;
	text-align: center;
	padding: 10px 20px 12px 20px;
	font-weight: 300 !important;
}

.entry-tag {
	margin: 0px;
	padding: 0px;
	font-size: 50px;
	line-height: 50px;
}

.entry-monat{
	text-transform: uppercase;
	margin: 0px;
	padding: 0px;
	font-size: 25px;
	line-height: 25px;
	padding-top: 1px;
}

.summary-header h1 {
	text-align: left !important;
}

.summary-header h1 a, .summary-header h1 a:visited, .summary-header h1 a:focus, h2 a, h2 a:visited, h2 a:focus {
	text-transform: uppercase;
	text-decoration: none !important;
	color: #4b4b4d;
}

/*SUCHSEITE */
.summary-header h1 a:hover, h2 a:hover {
	color: #000;
}

.search-content {
	text-align: left !important;
}

.search-content .blog-artikel {
	padding-left: 20px !important;
}



/*SUCHSEITE ENDE */

h2 {
	margin-top: 35px;
	padding-bottom: 0px;
	margin-bottom: 0px;
}

.entry-meta p, .postmetadata p {
	font-size: 10pt;
	color: #9c9e9f;
	margin-top: 0px;
}

.postmetadata {
	margin-top: 30px;
}

.entry-meta a, .entry-meta a:hover, .postmetadata a, .postmetadata a:hover {
	font-size: 10pt;
	color: #9c9e9f !important;
	text-decoration: none;
}

.entry-meta a:hover, .postmetadata a:hover{
	color: #000 !important;
}

#blog .entry-header {
	margin-bottom: 0 !important;
}

#blog .entry-content {
	margin-top: 0px !important;
}

#blog .entry-content p {
	margin-bottom: 0px;
}

#blog .more-link {
	display: inline;
	font-size: 10pt;
	color: #58585a !important;
	text-decoration: none;
	text-transform: uppercase;
	margin-top: -40px !important;
}

#blog .more-link:hover {
	color: #000 !important;
}

.wp-caption {
	margin-left: 0px !important;
	margin-right: 0px !important;
	margin-top: 30px !important;
}

.wp-caption-text {
	text-align: left !important;
	margin-top: 5px !important;
	margin-bottom: 0px !important;
	color: #9c9e9f !important;
}


/*sidebar*/
#secondary {
	margin-left: 40px;
	width: 250px !important;
	display: inline-block;
	vertical-align: top;
	text-align: left;
}

#secondary h1 {
	font-size: 1.0em !important;
	text-align: left;
	color: #000 !important;
	margin-bottom: 7px;
}

#secondary ul {
	list-style: none !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
}

#blog .hentry {
	margin-top: 0px !important;
	margin-bottom: 60px !important;
}

#blog .post {
    border-bottom: 1px dashed #dbdbdb;
    padding-bottom: 20px;
}

#blog .widget_search .search-submit {
	display: inline !important;
}

#blog input[type="submit"], .form-submit input[type="submit"]{
	background-color: rgba(0,0,0,0.8);
    border-width: 0px;
    border-radius: 0px;
    box-shadow: none;
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    padding: 7px 9px 7px 9px;
    text-shadow: none;
}

#blog input[type="submit"]:hover, .form-submit input[type="submit"]:hover {
	background-color: rgba(0,0,0,1);
	box-shadow: none !important;
}

#blog input[type="search"] {
    box-shadow: none;
    text-shadow: none;
}

#secondary a {
	font-size: 0.9em;
	color: #9c9e9f !important;
	text-decoration: none;
}

#secondary a:hover  {
	color: #000 !important;
}

#secondary li {
	margin-bottom: 3px;
}


/* KOMMENTARE */

.post-navigation {
	display: none;
}

#comments {
	background-color: #fff !important;
}

.comments-title{
	background-color: #000 !important;
	color: #fff !important;
	text-align: center;
	margin-top: 30px;
	padding-bottom: 30px !important;
}

#comments ul {
	margin: 0px !important;
	margin: auto;
	list-style: none !important;
	padding-left: 0.6em; margin-left: 0.6em;
}


.kommentare {
	width: 50%;
	min-width: 250px !important;
	margin: auto;
	margin-top: 50px;
}


.comment-author img {
	margin-right: 15px;
}


#comments a, #comments a:visited, #comments a:focus {
	text-decoration: none !important;
	color: #4b4b4d;
}

#comments a:hover {
	color: #000;
}


.comment-metadata, .comment-metadata a, .comment-notes {
	font-size: 10pt;
	color: #9c9e9f !important;
	margin-top: 0px;
}

.comment-metadata a:hover {
	color: #000 !important;
}

#form-allowed-tags {
	display: none;
}

#respond {
	width: 50%;
	min-width: 250px;
	margin: auto;
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 80px !important;
	padding-bottom: 50px;
}

#commentform label {
	float: left;
	width: 130px;
}

#respond h3 {
	margin-bottom: 0px;
}

@media screen and (max-width: 1050px) {
	#blog-artikel {
		width: 60%;
	}

	#blog .entry-image {
	height: 250px;
	overflow: hidden;
	}

	.entry-datum {
		margin-top: 75px;
	}

}

@media screen and (max-width: 900px) {
	#blog-artikel {
		width: 90%;
	}
	#blog .entry-image {
		height: 300px;
		overflow: hidden;
	}

	.entry-datum {
		margin-top: 100px;
	}

	#secondary {
		margin-left: 0px;
		margin-bottom: 30px;

	}

	.kommentare, #respond {
		width: 400px;
	}



}

@media screen and (max-width: 700px) {
	#blog .entry-image {
		height: 250px;
		overflow: hidden;
	}

	.entry-datum {
		margin-top: 75px;
	}
}

@media screen and (max-width: 500px) {
	#blog .entry-image {
		height: auto;
		overflow: hidden;
	}

	.entry-datum {
		margin: auto auto;	
	}

	.kommentare, #respond {
		width: 250px;
	}

}


/* UNTERSEITEN */

.hentry {
	margin-top: 110px !important;
	margin-bottom: 190px !important;
	min-height: 100% !important;
}

.entry-header {
	margin-bottom: 30px;
}

.entry-header h1 {
	margin: 0;
	min-width: 100%;
	text-align: center;
}


.entry-description {
	background-color: #fff;
	width: 100%;
	padding: 0px 30px 40px 30px;

}

.entry-description p {

	max-width: 70%;
	margin: auto;
    		 
}
.entry-description .engl{
	font-style: italic;    		 
}

.entry-content {
	width: 100% !important;
	margin-top: 50px !important;
}

.schatten_oben {
	height:50px;
	width:100%;
}

.schatten_oben img{
	vertical-align: top;
}


/* NEXTGEN */

.ngg-albumoverview {
	margin: auto !important;
	text-align: center !important;
}

.ngg-album-compact {
	width: 22%;
	min-width: 180px;
	float: none !important;
	display: inline-block !important;
	padding: 0 10 0 10 !important;
	vertical-align: top !important;
}

.ngg-album-compactbox:before, .ngg-album-compactbox:after, .ngg-album-compactbox {
	border-bottom: 0px !important;
	border: 0px !important;
	bottom: 0 !important;
	overflow: hidden !important;
}

.ngg-albumoverview.default-view .ngg-album-compact {
    text-align: center;
    margin: 0 10px 10px 0 !important;
    padding: 10px !important;
    border: 0px solid rgba(150, 150, 150, .3); */
    box-shadow: 0 0 4px 2px rgba(150, 150, 150, .1);
    float: none;
    display: inline-block;
}

.ngg-albumoverview.default-view .ngg-album-compactbox, .ngg-albumoverview.default-view .ngg-album-compactbox .Thumb {
    border: none !important;
    border-radius: 20px;
}

.ngg-albumoverview.default-view .ngg-album-compact h4 {
    padding: 0;
    top: -30px;
    position: relative;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%)
}

.ngg-album-compactbox {
	width: 100% !important;
    margin:0 0 0 0px !important;
    padding:0px 0 0px 0px !important;
    /* alt bottom: -20px!important;*/
    bottom:0px!important;
    border-bottom: 20px solid black !important;
	border-radius: 0px!important;
	padding: 0px!important;
	position:inherit!important;
}

.ngg-album-compactbox img {
	width: 100% !important;

	/*-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	transition: all 0.4s ease-in-out 0s;*/

}


.ngg-album-compactbox a:hover img.Thumb{
	-webkit-transform: scale(1.1); /* Chrome 4+, Op 15+, Saf 3.1, iOS Saf 3.2+ */
       -moz-transform: scale(1.1);  /* Fx 3.5-15 */
        -ms-transform: scale(1.1);  /* IE 9 */
         -o-transform: scale(1.1);  /* Op 10.5-12 */
            transform: scale(1.1);  /* Fx 16+, IE 10+ */
}

.ngg-album-compactbox a img.Thumb {
	-webkit-transition: all 2s ease 0s !important;
	-moz-transition: all 2s ease 0s !important;
	-o-transition: all 2s ease 0s !important;
	transition: all 2s ease 0s !important;
	/*-webkit-filter: grayscale(0%);
	filter: grayscale(0%);*/
}


a.Link.gallery_link {
	height:0px !important;
}

.ngg-album-compact a{
	color: #fff !important;	
	text-decoration: none;
}

.ngg-album-compact h4 {
	margin-top: 5px !important;
	padding-left: 8px;
	padding-right: 8px;
	height: auto !important;
	text-transform: uppercase;
	text-align: center;
	max-width: auto !important;
}

.ngg-album-compact h4 .ngg-album-desc {
	/*height: auto !important;*/
	margin-top:-15px!important;
	max-width: auto !important;
	z-index:9999;
}


/*Anzeige, wie viele Bilder ein Album hat*/
.ngg-album-gallery-image-counter {
	display: none;
}

/* Album Beschreibung */
.ngg-description {
	color: #fff;
	padding-left: 8px;
	padding-right: 8px;
}

.ngg-description p {
	font-size: 0.85em !important;
	text-align: center;
	margin-bottom: 20px !important;
}

/* Galerie-Seite */
.ngg-galleryoverview {
	text-align: center !important;
}

.ngg-gallery-thumbnail-box { 
	width: 20% !important;
	margin: 0 !important;
	overflow: hidden;
}

.ngg-gallery-thumbnail, .ngg-gallery-thumbnail a {
	width: 100% !important;
}


.ngg-gallery-thumbnail a img {
	border: 0px !important;
	background-color: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
	height: auto;
	-webkit-transition: all 2s ease 0s;
	-moz-transition: all 2s ease 0s;
	-o-transition: all 2s ease 0s;
	transition: all 2s ease 0s;

}

/* alt mit Drehung .ngg-gallery-thumbnail a:hover img{
   -webkit-transform: rotate(0.8deg) scale(1.1); 
       -moz-transform: rotate(0.8deg) scale(1.1);  
        -ms-transform: rotate(0.8deg) scale(1.1);  
         -o-transform: rotate(0.8deg) scale(1.1);  
            transform: rotate(0.8deg) scale(1.1);  
}
*/

.ngg-gallery-thumbnail a:hover img{
   -webkit-transform: scale(1.1); 
       -moz-transform: scale(1.1);  
        -ms-transform: scale(1.1);  
         -o-transform: scale(1.1);  
            transform: scale(1.1);  
}


.ngg-gallery-thumbnail .bildtitel {
	opacity: 0;
	-webkit-transition: all 2s ease 0s;
	-moz-transition: all 2s ease 0s;
	-o-transition: all 2s ease 0s;
	transition: all 2s ease 0s;
	color: #fff;
	position: absolute;
	z-index: 99;
	background-color: #000;
	height: auto;
	font-size: 0.6rem;
	padding: 8px 15px 8px 15px;
	/*max-width: 20%;*/
	width:100%;
	text-align: bottom;
	vertical-align: bottom !important;

}

.ngg-gallery-thumbnail:hover .bildtitel {
	opacity: 0.8;
}

/* Galerie immer 100%*/
@media screen and (min-width: 1500px) {
	.ngg-gallery-thumbnail-box{
		width: 16.666666% !important;
	}

	.ngg-gallery-thumbnail .bildtitel {
		max-width: 16.666666%;
	}
}

@media screen and (min-width: 1800px) {
	.ngg-gallery-thumbnail-box{
		width: 14.28571428571429% !important;
	}
	.ngg-gallery-thumbnail .bildtitel {
		max-width: 14.28571428571429%;
	}
}

@media screen and (max-width: 1200px) {
	.ngg-gallery-thumbnail-box{
		width: 25% !important;
	}
	.ngg-gallery-thumbnail .bildtitel {
		max-width: 25%;
	}
}

@media screen and (max-width: 900px) {
	.ngg-gallery-thumbnail-box{
		width: 33.3333333333% !important;
	}
	.ngg-gallery-thumbnail .bildtitel {
		max-width: 33.3333333333%;
	}
}

@media screen and (max-width: 600px) {
	.ngg-gallery-thumbnail-box{
		width: 50% !important;
	}
	.ngg-gallery-thumbnail .bildtitel {
		max-width: 50%;
	}
}

@media screen and (max-width: 300px) {
	.ngg-gallery-thumbnail-box{
		max-width: 100% !important;
	}
	.ngg-gallery-thumbnail .bildtitel {
		max-width: 100%;
	}
}


/* LIGHTBOX */

.ps-caption-content strong {
	display: none;
}
.ps-caption-content {
	display: block !important;
	text-align: center !important;
}

div.ps-caption div.ps-long-description {
	display: inline !important;
}

.ps-caption-content small {
	font-size: 100% !important;
}


/* ====== KONTAKT =====*/


#kontakt {
	background-color: #fff;
	padding-left: 100px;
	padding-right: 100px;
	text-align: center !important;
}

#kontakt h1 {
	background-color: #000;
	padding-bottom: 70px;
	margin-right: -100px;
	margin-left: -100px;
}

#kontakt h2 {
	width: auto !important;
	text-align: left !important;
	clear: none !important;
	margin-top: 0px;
}

#kontakt a {
	color: #4b4b4d;
	text-decoration: none !important;
}

#kontakt a:hover {
	color: #000 !important;
}


.contact_content {
	width: 620px;
	margin: auto;
	padding-top: 40px;
	padding-bottom: 40px;
	text-align: left;
}

.contact_content p {
	margin-top: 10px;
}

#cntctfrm_contact_form {
	width: 300px;
	margin-top: 32px;
	}

.ezcol-one-half {
	width: 280px !important;
	min-width: 280px !important;
	margin-right: 20px !important;
}
.ezcol-one-quarter, .ezcol-one-half, .ezcol-three-quarter, .ezcol-one-third, .ezcol-two-third, .ezcol-one-fifth, .ezcol-two-fifth, .ezcol-three-fifth, .ezcol-four-fifth {
}

.cntctfrm_contact_form input.cntctfrm_contact_submit {
	background-color: rgba(0,0,0,0.8);
    border-width: 0px;
    border-radius: 0px;
    box-shadow: none;
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    padding: 7px 9px 7px 9px;
    text-shadow: none;
}
.cntctfrm_contact_form input.cntctfrm_contact_submit:hover {
	background-color: rgba(0,0,0,1);
	box-shadow: none !important;
}

.cntctfrm_input_subject, .cntctfrm_label_subject {
	display: none;
}

.ninja-forms-field {
	border: none!important;
	border-radius:0px!important;
	border-bottom: 2px solid #000!important;
}


@media screen and (max-width: 800px) {
	#kontakt {
		padding-left: 0px;
		padding-right: 0px;
	}

	#kontakt h1 {
		background-color: #000;
		padding-bottom: 70px;
		margin-right: 0px;
		margin-left: 0px;
	}	

	.contact_content {
		width: 100%;
	}
	
	.contact_form {
		width: 80%;
		padding-left:25px;
	}


	.ezcol-one-half {
		width: 100% !important;
		background: #fff;
		padding-left: 30px;
		padding-right: 30px;
		text-align: center !important;
		float: none !important;
		padding-bottom: 20px;
		min-width: 0px !important;
	}

	.ezcol-last {
		float: inherit !important;
	}

	.ezcol-one-half img, .ezcol-one-half p, .ezcol-one-half h2 {
		margin: auto !important;
		float: none !important;
		max-width: 300px;
	}

	#cntctfrm_contact_form {
		margin: auto;
		margin-top: 32px;
	}

}

@media screen and (max-width: 400px) {
		.ezcol-one-half img {
			max-width: 100%;
		}
}


/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
/* lato-100 - latin */
@font-face {
	font-family: 'Lato';
	font-style: normal;
	font-weight: 100;
	src: url('https://stefan-bausewein.de/wp-content/themes/josbuero/fonts/lato-v23-latin-100.eot'); /* IE9 Compat Modes */
	src: local(''),
		 url('https://stefan-bausewein.de/wp-content/themes/josbuero/fonts/lato-v23-latin-100.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		 url('https://stefan-bausewein.de/wp-content/themes/josbuero/fonts/lato-v23-latin-100.woff2') format('woff2'), /* Super Modern Browsers */
		 url('https://stefan-bausewein.de/wp-content/themes/josbuero/fonts/lato-v23-latin-100.woff') format('woff'), /* Modern Browsers */
		 url('https://stefan-bausewein.de/wp-content/themes/josbuero/fonts/lato-v23-latin-100.ttf') format('truetype'), /* Safari, Android, iOS */
		 url('https://stefan-bausewein.de/wp-content/themes/josbuero/fonts/lato-v23-latin-100.svg#Lato') format('svg'); /* Legacy iOS */
  }
  /* lato-300 - latin */
  @font-face {
	font-family: 'Lato';
	font-style: normal;
	font-weight: 300;
	src: url('https://stefan-bausewein.de/wp-content/themes/josbuero/fonts/lato-v23-latin-300.eot'); /* IE9 Compat Modes */
	src: local(''),
		 url('https://stefan-bausewein.de/wp-content/themes/josbuero/fonts/lato-v23-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		 url('https://stefan-bausewein.de/wp-content/themes/josbuero/fonts/lato-v23-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
		 url('https://stefan-bausewein.de/wp-content/themes/josbuero/fonts/lato-v23-latin-300.woff') format('woff'), /* Modern Browsers */
		 url('https://stefan-bausewein.de/wp-content/themes/josbuero/fonts/lato-v23-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
		 url('https://stefan-bausewein.de/wp-content/themes/josbuero/fonts/lato-v23-latin-300.svg#Lato') format('svg'); /* Legacy iOS */
  }
body,
button,
input,
select,
textarea {
	color: #404040;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
	font-family: 'Lato', sans-serif;
	font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: 'Lato', sans-serif;
	font-weight: 100;
}

p {
	margin-bottom: 1.5em;
	margin-top: 0em !important;
	padding:0px !important;
}

b,
strong {
	font-weight: bold;
}

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;
}

small {
	font-size: 75%;
}

big {
	font-size: 125%;
}

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

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #000; /* 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. */
}

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

/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	/*box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);*/
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	/*box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);*/
}

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;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border:none;
	border-bottom: 2px solid #000;
	width:100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a {
	color: royalblue;
}

a:visited {
	color: purple;
}

a:hover,
a:focus,
a:active {
	color: midnightblue;
}

a:focus {
	outline: thin dotted;
}

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

/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
.main-navigation {
	display: inline-block;
	width: auto;
	margin-left:50px;
	margin-top:20px;
}

#click-menu {
	top:13px!important;
}
.main-navigation ul {
	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 ul ul :hover > a {
}

.main-navigation ul ul a:hover {
}

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

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

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


.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%;
}

/* MEGA MENU! josbuero */

#hauptmenu {
	cursor: default;
	display:inline-block;
    position: fixed;
    z-index: 500;
    top:0px;
    left:0px;
    width:100%;
    height:60px;
    background-color:#000;
    opacity: .9;
}

.nav-menu, .nav-menu a, .nav-menu ul, .nav-menu li, .nav-menu div, .nav-menu form, .nav-menu input {
    border: medium none;
    margin: 0;
    outline: medium none;
    padding: 0;
}
.nav-menu a {
    text-decoration: none;
}
.nav-menu li {
    list-style: outside none none;
}

.nav-menu {
	display:inline-block;
	float:left;
	position: relative;
	width:auto;
	height:40px;
}
.nav-menu > li {
    display: block;
    float: left;
}

.nav-menu > li ul {
    display: block;
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.85);
    float: left;
    margin-top: 16px;
    border-left: 1px solid #4b4441;
    border-top: 1px solid rgba(0, 0, 0, 0.85);
}

.nav-menu > li > a {
    background: none repeat scroll 0 0 #000;
    border-left: 1px solid #4b4441;
    border-right: 1px solid #312a27;
    color: #fcfcfc;
    display: block;
    font-size: 13px;
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    position: relative;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease 0s;
    z-index: 510;
    width:auto;
    text-align: center;
}
.nav-menu > li:hover > a {
    background: none repeat scroll 0 0 #fff;
    color:#000;
}
.nav-menu > li:first-child > a {
    border-left: medium none;
}
.nav-menu > li.nav-search > form {
    border-left: 1px solid #4b4441;
    height: 54px;
    position: relative;
    width: inherit;
    z-index: 510;
}

.nav-menu li ul li {
	width: auto !important;
}

.nav-menu li ul li a {
    color: #fcfcfc;
    display: block;
    font-size: 13px;
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    position: relative;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease 0s;
    z-index: 510;
    min-width:100px;
}

.nav-menu li ul li a:hover {
	background-color: #fff;
	color: #000;
}

.nav-menu li ul li ul {
	width: auto !important;
	margin-top: -1px;

}

/*===== MOBILES MENÜ =====*/

/* Small menu. */
.menu-toggle {
	display: none;
}

/* Menü Leiste schmaler machen */
@media screen and (max-width: 1120px) {
	.nav-menu > li > a {
		width: 85px;
	}
}


/* STYLE MOBILES MENÜ */

	#responsive-menu {
		background-color: rgba(0,0,0,0.8) !important;
		width: 100% !important;
	}

	#responsive-menu .responsive-menu {
		padding-top: 100px;
	}

	#responsive-menu .responsive-menu li a {
		border-top: 0px !important;
		text-align: center;
		font-size: 1.4em;
		padding: 20px 0 20px 0 !important;
		width: auto !important;
		outline: none !important;
	}

	#responsive-menu .appendLink {
		background: transparent !important;
		border-width: 0 !important;
		padding: 20px 0 20px 0 !important;
		color: transparent !important;
		width: 100%;
		margin: 0 !important;

	}

	#responsive-menu ul.sub-menu {
		padding: 0px !important;
		margin-left: 0px !important;
		color: #000 !important;
	}

	#responsive-menu ul.sub-menu li a {
		color: #000 !important;
		background-color: rgba(255, 255, 255, 0.9) !important;
	}

	#responsive-menu ul.sub-menu li a:hover {
		background-color: #000 !important;
		background-color: rgba(255, 255, 255, 1) !important;
	}


/*--------------------------------------------------------------
6.0 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;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.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. */
}

/*--------------------------------------------------------------
7.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;
}

/*--------------------------------------------------------------
8.0 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 {

}

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

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

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

/* Search widget. */
.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/

#main {
	padding:20px;
}
/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

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

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

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

/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

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

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
11.0 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;
}

/*--------------------------------------------------------------
12.0 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%;
}

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

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

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

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

/*--------------------------------------------------------------
12.2 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;
}


/* josbuero */

.site-title {
	display:none;
}
.site-description {
	display:none;
}

  
.mg_title_under {position:absolute; margin-top:-30px;z-index:100000;background-color:#000;color:#fff;text-transform:lowercase;visibility: hidden;}


/*.mg_box {-webkit-filter: grayscale(100%);filter: grayscale(100%);}*/

.mg_box:hover {-webkit-filter: grayscale(0%);filter: grayscale(0%);}

.mg_box a:hover img{
   -webkit-transform: scale(1.1); /* Chrome 4+, Op 15+, Saf 3.1, iOS Saf 3.2+ */
       -moz-transform: scale(1.1);  /* Fx 3.5-15 */
        -ms-transform: scale(1.1);  /* IE 9 */
         -o-transform: scale(1.1);  /* Op 10.5-12 */
            transform: scale(1.1);  /* Fx 16+, IE 10+ */
}

.mg_box a img {
	-webkit-transition: all 2s ease 0s !important;
	-moz-transition: all 2s ease 0s !important;
	-o-transition: all 2s ease 0s !important;
	transition: all 2s ease 0s !important;

}
.cell_more {
	visibility: hidden!important;
}
