@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:300,300i,700,700i');

/* Start reset html elements */
html {
    -webkit-text-size-adjust: none;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
}

address, article, aside, audio, canvas, command, datalist,
details, embed, figcaption, figure, footer, header,
hgroup, keygen, mark, meter, nav, ouput, progress,
section, source, summary, time, video, wbr {
    display: block;
}

input:focus, textarea:focus, select:focus {
    outline: none;
}

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

table td, table th {
    padding: 0;
}

a:active, label:active {
    outline: none;
    ie-dummy: expression(this.hideFocus=true);
}

a:focus, label:focus {
    -moz-outline-style: none;
    outline: none;
    ie-dummy: expression(this.hideFocus=true);
}

input[type=checkbox] {
    border-width: 0px
}

/* End reset html elements */

/* Start generic elements  */
html {
    overflow-y: scroll;
    height: 100%;
	-webkit-overflow-scrolling: touch;
}

body {
    height: 100%;
    background-image: url(/images/hintergrund.jpg);
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-attachment: fixed;
    color: #000;
}

td, p, div, span, ol, ul, input, textarea, select {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight:300;
    font-size: 16px;
    line-height: 22px;
}

input, textarea, select {
    border: 1px solid #ccc;
    background-color: #f2f2f2;
    line-height: 120%;
    margin-top: 1px;
    padding: 1px 0px;
    resize: none;
    -webkit-border-radius: 0px;
}

input[type=submit], input[type=text], input[type=password], input[type=button],
textarea {
    -webkit-appearance: none;
}

textarea {
    overflow: auto;
}

input[type=submit],
a.button {
    padding: 2px 20px;
    cursor: pointer;
	background-color:#7c2529;
	color:#fff!important;
	text-transform:uppercase;
	min-height:35px;
	line-height:35px;
	display:inline-block;
}

input[type=submit]:hover,
a.button:hover {
	opacity:0.8;
}
.fancybox-nav span {
 visibility: visible;
}
/* span is to cope for protected emails */
a:link, a:link span, a:visited, a:visited span, a:active, a:active span {
    color: #7c2529;
    text-decoration: none;
}

a:hover, a:hover span {
    color: #000000;
}

ul {
    list-style-position: inside;
}

ul li {
    font-size: 16px;
    line-height: 22px;
}

ol li {
    padding-left: 5px;
    margin-left: 30px;
}

b, strong {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight:700;
}

i, em {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight:300;
	font-style:italic;
}

h1 {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight:300;
    color: #7c2529;
    font-size: 24px;
    width: 100%;
    margin-bottom: 15px;
	text-transform:uppercase;
}

.haken{
	padding-right:13px;
}

.clear {
    clear: both;
    height: 1px;
    overflow: hidden;
}

/* For modern browsers */
.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

/* For IE 6/7 (trigger hasLayout) */
.clearfix {
    *zoom: 1;
}

/* End generic elements  */

/* Start Freshpage elements (these classes are defined in Freshpage and setable) */
.small {
    font-size: 10px;
}

.big {
    color: #7c2529;
    font-size: 16px;
    line-height: 22px;
}

.tbltype-emphheader    {
    border-spacing: 1px;
}

.tbltype-emphheader tr td {
    background-color: #f8f8f8;
    vertical-align: top !important;
}

.tbltype-emphheader tr:first-child td {
    background-color: #e0e0e0;
}

.tbltype-fairplan    {
    border-spacing: 1px;
}

.tbltype-fairplan tr td {
    background-color: #f8f8f8;
    vertical-align: top !important;
}

.tbltype-headline    {
    border-spacing: 1px;
}

.tbltype-headline tr td {
    padding: 8px;
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    vertical-align: top;
}

#oContentTable tr td {

}

#editor b, #editor strong {
    font-weight: 700 !important;
}

#editor i, #editor em {
    font-style: italic !important;
}

/* End Freshpage elements  */

/* Start - layout styles */
/* Start - Grundgerüst */
* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

article .fpmain ul{
padding-left: 1em;
}

article .fpmain ul li{
	list-style-position: outside;
}


/* Start - Mobile Style */
@media only screen and (max-width: 1229px) {

    body {
        overflow-x: hidden;
    }

    span.desktop-space{
        display: none;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    header{
        position: relative;
		min-height:52px;
    }

    #wrapper {
        width: 100%;
        max-width: 970px;
        margin: 0 auto;
        padding: 20px 5%;
    }

    button#menu-toggler:focus,
    button#menu-toggler{
        background: transparent;
        border: 0;
        color: #B0A19E;
        outline: 0;
        cursor: pointer;
        position: absolute;
        bottom: 16px;
    }

    button#menu-toggler span{
        display: inline-block;
        text-align: center;
        font-size: 36px;
        bottom: 30px;
        background-size: contain;
        width: 36px;
        height: 36px;
    }

    button#menu-toggler span.x-sign{
        display: none;
        background-image: url(/images/close.png);
    }

    button#menu-toggler span.hamburger{
        display: inline-block;
        background-image: url(/images/hamburger.png);
    }

    button#menu-toggler.open span.x-sign{
        display: inline-block;
    }

    button#menu-toggler.open span.hamburger{
        display: none;
    }

    nav{
        display: none;
    }

    nav ul {
        list-style-type: none;
        margin-bottom: 20px;
        /* display: none; */
    }

    nav ul li {
        padding: 0;
        text-align: center;
        margin: 10px 0;
    }

    nav ul li a {
        display: block;
        color: #FFFFFF !important;
		font-weight:700;
        text-transform: uppercase;
        font-size: 18px;
        line-height: 1.3;
        white-space: nowrap;
        vertical-align: top;
    }

    nav ul li a:hover,
    nav ul li a.active {
        color: #7c2529 !important;
    }

    nav ul,
    nav li {
        line-height: 1;
    }

    nav ul ul a {
        font-size: 14px;
        line-height: 1.5;
    }

    article {
        padding: 20px 20px 50px;
        margin-bottom: 18px;
	    background-color: rgba(255,255,255,0.9);
    }
	
	article #logo{
		margin-bottom:20px;
		display:block;
		float:right;
	}
	
	article a#logo img{
		display:block;
	}

    article div {
        max-width: 100%;
    }

    article div.content {
        padding: 0 5px;
    }

    article .fpmain p, #editor p {
        padding-top: 7px;
    }

    article .fpmain p:first-child {
        padding-top: 0;
    }
    .fpmain table tr td {
    width: 100%;
    display: block;
    margin-bottom: 10px;
}
    article div#headerImage {
		clear:both;
	}
	
    article div#headerImages {
        margin-bottom: 35px;
    }
	
    article #headerImages .cycle-slide img {
		display:block;
	}
	
	h2.bildtitel {
		width:100%;
		height:100%;
		background-color:rgba(255,255,255,0.7);
		position:absolute;
		top:0;
		left:0;
		z-index:150;
		padding:30px;
	}
	
	h2.bildtitel > span{
		font-size:25px;
		line-height:30px;
		font-weight:300;
		color:#7c2529;
		text-transform:uppercase;
		position: absolute;
		top: 50%;
		width:calc(100% - 60px);
		text-align:center;
		transform: translateY(-50%);
	}

    div.gallery {
        margin-top: 25px;
        margin-left: -5px; /* Bootstrap grid */
        margin-right: -5px; /* Bootstrap grid */
    }

    div.gallery a.grey-image{
        display: none;
    }

    div.gallery a {
        float: left;
        display: block;
        margin-bottom: 10px;
        width: 50%;
        padding: 0 5px; /* Bootstrap grid */
    }
    .fancybox-nav span {
        visibility: visible;
    }
    div.gallery a img {
        display: block;
        width: 100%;
    }

    #contactform {
        width: 75%;
        max-width: 400px;
    }

    #contactform label {
        display: inline-block;
        width: 100%;
    }

    #contactform input,
    #contactform textarea {
        width: 100%;
        max-width: 400px;
        margin-bottom: 10px;
        padding: 3px;
    }

    #contactform textarea {
        height: 60px;
        padding: 3px;
    }

    #contactform #plz {
        max-width: 50px;
        width: 20%;
    }

    #contactform #ort {
        max-width: 345px;
        width: 75%;
        float: right;
    }

    #contactform input[type=submit] {
        width: 140px;
    }

    #contactform #infotext,
    #contactform #errortext {
        display: inline-block;
        margin: 5px 0px;
    }

    footer {
        color: #FFFFFF !important;
    }

    footer a,
    footer a span {
        color: #FFFFFF !important;
    }

    footer a:hover,
    footer a:hover span {
        color: #7c2529 !important;
    }

    footer span.copyright * {
        font-size: 15px;
        display: block;
		text-transform:uppercase;
		font-weight:bold;
    }
    footer span.copyright a {
        display: inline-block;
        margin: 0;
        padding: 0;
    }
	
	footer .mobile-space{
		display: none;
	}

	footer a.impressum,
	footer a.datenschutz{
        display: inline-block;
        float: right;
        font-size: 15px;
        text-transform: uppercase;
		font-weight:bold;
    }
}

@media only screen and (max-width: 500px){
		footer .mobile-space{
		display: block;
		padding: 1em 0 0 0;
	}
    footer a.impressum,
	footer a.datenschutz{
        display: block;
		float: right;
        font-size: 12px;
        text-transform: uppercase;
		font-weight:bold;
        margin-top: 10px;
    }
}

/* End - Mobile Style */

@media only screen and (min-width: 450px) {
    div.gallery a {
        width: 33.33333%;
    }
}

@media only screen and (min-width: 650px) {
    div.gallery a {
        width: 25%;
    }
    .fpmain table tr td {
        width: inherit;
    display: table-cell;
        margin-bottom: 0;
    }

}

@media only screen and (min-width: 650px) {
    div.gallery a {
        width: 25%;
    }
    h2.bildtitel > span{
        font-size: 45px;
        line-height: 60px;
    }
}

@media only screen and (min-width: 900px) {
    div.gallery a {
        width: 20%;
    }
    
}

/* Start - bigger screen sizes */
@media only screen and (min-width: 1230px) {

    /* Start - Grundgerüst */
    body.startPage {
        background-image: url(/images/hintergrund.jpg);
    }

    nav{
        display: block;
    }

    button#menu-toggler{
        display: none;
    }

    #wrapper {
        width: 970px;
        margin: 0 auto;
        padding: 40px 0;
    }

    main {
        position: relative;
        padding-top: 20px;
    }

    /* End - Grundgerüst */
    /* Start - Startseite */
    a#start {
        display: table;
        width: 100%;
        height: 100%;
    }

    a#start #wrapper {
        display: table-cell;
        vertical-align: middle;
        text-align: center;
    }

    /* End - Startseite */
    /* Start - Navigation */
    aside {
        position: absolute;
        right: 100%;
        margin-top: -4px;
        padding: 0 20px;
        min-width: 200px;
		background-image: -webkit-radial-gradient(80% 60% ellipse at 75% 50%, rgba(255,255,255,0.17) 48%, transparent 80%);
		background-image:  	 -moz-radial-gradient(80% 60% ellipse at 75% 50%, rgba(255,255,255,0.17) 48%, transparent 80%);
		background-image: 		  radial-gradient(80% 60% ellipse at 75% 50%, rgba(255,255,255,0.17) 48%, transparent 80%);
    }
	aside:after {
		position:absolute;
		top:-70px;
		right:-50px;
		content:"";
		display:block;
		height:435px;
		width:340px;
		background:url(/images/blender.png) no-repeat center center;
		z-index:-1;
	}

    nav ul {
        list-style-type: none;
		padding-top:20px;
    }

    nav ul li {
        padding: 0;
        text-align: right;
		padding-bottom:7px;
    }

    nav ul li a {
        display: block;
        color: #FFFFFF !important;
        text-transform: uppercase;
        font-size: 24px;
        line-height: 1.3;
        white-space: normal;
        margin-bottom: 0;
        vertical-align: top;
		font-weight:700;
    }

    nav ul li a:hover,
    nav ul li a.active {
        color: #7c2529 !important;
    }

    nav ul,
    nav li {
        line-height: 1;
    }

	nav ul ul {
		padding-top: 0;
	}
    
	nav ul ul li {
		padding-bottom:4px;
	}
	
	nav ul ul li:last-of-type {
		padding:0;
	}
	
    nav ul ul a {
        font-size: 18px;
        line-height: 1.5;
    }

    /* End - Navigation */
    /* Start - article */
    article {
        padding: 20px;
        margin-bottom: 18px;
	    background-color: rgba(255,255,255,0.9);
		position:relative;
    }

    body.gallery article {
        padding-bottom: 10px;
    }
	
	article a#logo{
		position:absolute;
		right:20px;
		top:20px;
		margin-bottom:20px;
		display:block;
		z-index:200;
		width:220px;
	}
	
	article a#logo img{
		display:block;
		max-width:100%;
	}

    article #headerImage {
		clear:both;
	}
	
    article #headerImages {
        height: 443px;
        margin-bottom: 35px;
    }
    article #headerImages .cycle-slide img {
		display:block;
	}
	.fancybox-nav span {
        visibility: visible;
    }
    .fancybox-prev span, .fancybox-next span {
        visibility: visible;
    }
    
	article > h1 {
		margin:20px 0 7px;
	}
	
	h2.bildtitel {
		width:100%;
		height:100%;
		background-color:rgba(255,255,255,0.7);
		position:absolute;
		top:0;
		left:0;
		bottom:0;
		right:0;
		z-index:150;
		padding:30px;
	}
	
	h2.bildtitel > span{
		font-size:60px;
		line-height:80px;
		font-weight:300;
		color:#7c2529;
		text-transform:uppercase;
		position: absolute;
		top: 50%;
		width:calc(100% - 60px);
		text-align:center;
		transform: translateY(-50%);
	}

    article div.content {
        padding: 0;
    }

    /* End - article */
    /* Start - entrytype footer */
    footer {
        color: #FFFFFF !important;
    }

    footer a,
    footer a span {
        color: #FFFFFF !important;
    }

    footer a:hover,
    footer a:hover span {
        color: #7c2529 !important;
    }

    footer span.copyright * {
        font-size: 15px;
		text-transform:uppercase;
		font-weight:bold;
    }
	
	footer .mobile-space{
		display: none;
	}

    footer a.impressum,
	footer a.datenschutz{
        display: inline-block;
        float: right;
        font-size: 15px;
        text-transform: uppercase;
		font-weight:bold;
    }

    /* End - entrytype footer */
    /* Start - entrytype Standard */
    article .fpmain p,
    #editor p {
        padding-top: 15px;
    }

    article .fpmain p:first-child {
        padding-top: 0;
    }
    /* End - entrytype Standard */
    /* Start - entrytype Galerie */
    div.gallery {
        margin-top: 25px;
    }

    div.gallery a {
        float: left;
        display: block;
        margin-right: 10px;
        margin-bottom: 10px;
        width: auto;
    }

    div.gallery a img {
        display: block;
    }

    div.gallery a:nth-child(5n) {
        margin-right: 0;
    }
	
	div.gallery a:hover img {
		opacity: 0.68;
	}

    /* End - entrytype Galerie */
    /* Start - entrytype contactform */
    #contactform label {
        float: left;
        width: 120px;
    }

    #contactform input,
    #contactform textarea {
        width: 400px;
        margin-bottom: 3px;
        padding: 3px;
    }

    #contactform textarea {
        height: 60px;
        padding: 3px;
    }

    #contactform #plz {
        width: 50px;
        margin-right: 5px;
    }

    #contactform #ort {
        width: 345px;
    }

    #contactform input[type=submit] {
        width: 140px;
    }

    #contactform #infotext,
    #contactform #errortext {
        display: inline-block;
        margin: 5px 0px;
    }
}

@media only screen and (min-width: 1360px) {
    nav ul li a {
        white-space: nowrap;
        margin-bottom: 0;
    }
}


/* End - entrytype contactform */

/* End - layout styles */