/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html{
	background:url(../img/background-klar.jpg) no-repeat center center fixed #aec8ec; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	font-family:Verdana, Geneva, sans-serif;
	}

h1 {
    font-size: 28px;
    margin: 0.67em 0;
}

#realBody{
	position:absolute;
	/*z-index: 5;				 Place the new body above the background image */
	overflow:auto; 			/* restore scrollbars for the content */
	height:100%;width:100%;	/* Make the new body fill the screen */
	/*background: url('../img/raster.png'); /* this is just a fancy raster, you can remove it; I kinda like it though */
	-webkit-overflow-scrolling: touch;
}

hr{
	border:none;
	height:2px;
	background-color:#ddd;
	margin-bottom:40px;
}

a:active,
a:focus{
	outline: none;
}
		
.main{
	margin:0 auto;
	/*padding:95px 10px 0 10px;*/
	width:948px;
	border:1px solid black;
	background-color:RGBA(255, 255, 255, 0.95);
	position:relative;
	
}

.header{
	background:#060;
	height:160px;
	position:fixed;
	top:-17px;
	width:100%;
	z-index:100;
}

.innerheader{
	width:948px;
	height:134px;
	margin:0 auto;
}

.innerheader .logo{
	position:relative;
	left:-80px;
	/*top:-10px;*/
}
.menu{
	background-repeat:repeat-x;
	height:40px;
	position:relative;
	top:-57px;
	/*padding-left:350px;*/
	width:948px;
	/*background-color:#390;*/
	margin:0 auto;
}

.menu ul{
	padding:0;
	float:right;
	background-image:url(../img/menu-background.jpg);
}

.menu ul li{
	float:left;
	list-style:none;
	display:block;
	width:205px;
}

.menu ul li a{
	text-transform:uppercase;
	height:27px;
	text-decoration:none;
	width:205px;
	display:block;
	text-align:center;
	padding-top:9px;
	color:#333;
	font-weight:bold;
}

.menu ul li a:hover{
	background-image:url(../img/menu-background-activ-pink.png);
	color:#fff;
}

.activ,
.activ:hover{
	background-image:url(../img/menu-background-activ.jpg) !important; 
	background-repeat:repeat-x;
	color:#fff !important;
}

.content{
	padding:160px 40px 10px 60px;
}

.leistung h3{
	margin-top:0;
	padding-top:0;
}

.leistung .left{
	border: 1px solid #CCCCCC;
    /*float: left;*/
    margin-bottom: 20px;
    margin-right: 60px;
}

.leistung .right{
	border:1px solid #ccc; 
	float:right;
	margin-left:40px;
	margin-bottom:20px;
}

.leistung ul{
	list-style-image:url(../img/flower-gruen.png);
}

.leistung-menu-left{
	float:left;
	list-style:square;
	color:#666;
	margin-right:60px;
	list-style-image:url(../img/arrows-right.png) !important;
}

.leistung-menu-right{
	float:left;
	list-style:square;
	color:#666;
	margin-left:60px;
	list-style-image:url(../img/arrows-right.png) !important;
}

a{
	color:#2f8026;
	text-decoration:none;
}

a:hover{
	color:#ba436a;
	text-decoration:none;
}

.content img{
	/*background:#999;*/
	float:left;
	margin:0 30px 10px 0;
}

.content p{
	padding:0 20px 20px 0;
	text-align:justify;
}

.footer{
	height:30px;
	background:#060;
	bottom:0;
	position:fixed;
	width:100%;
	z-index:1000;
}

.footercontainer{
	margin:0 auto;
	width:950px;
}

.copy{
	float:left;
	/*width:100%;
	width:455px;*/
	text-align:center;
	color:#fff;
	padding-top:6px;
	padding-left:10px;
	font-size:12px;
}

.footerlink{
	top:5px;
	height:30px;
	float:right;
	position:relative;
	width:455px;
	margin:0 auto;
	text-align:right;
	padding-right:20px;
	font-size:12px;
}

.footerlink a{
	color:#fff;
	text-decoration:none;
}

.footerlink a:hover{
	color:#090;
}

.ulright{
	margin-left:360px;
}

/* ==========================================================================
   Galerie
   ========================================================================== */

.table{
	display:table;
}

.trow{
	display:table-row;
}

.tcell{
	display:table-cell;
	width:280px !important;
	text-align:center;
	vertical-align:bottom;
}

.table .subtext{
	text-align:center;
	height:30px;
	padding-bottom:30px;
}

.galerie img{
	-webkit-box-shadow: 3px 0 8px 2px rgba(0,0,0,0.3);
	box-shadow: 3px 0 8px 2px rgba(0,0,0,0.3);
	padding:5px;
	background-color:#FFF;
	float:none;
}

.galerie img:hover{
	-webkit-box-shadow: 1px 0 2px 1px rgba(0,0,0,0.3);
	box-shadow: 1px 0 1px 1px rgba(0,0,0,0.3);
	padding:3px;
	background-color:#FFF;
	cursor:pointer;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
