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

body {
    font-size: 1em;
    line-height: 1.6;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations 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: 2em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
    font-family: OpenSans;
    src:url(../fonts/OpenSans-Regular.ttf);
    font-weight:normal;
}

@font-face {
    font-family: OpenSans;
    src:url(../fonts/OpenSans-Bold.ttf);
    font-weight:bold;
}
@font-face {
    font-family: OpenSans;
    src:url(../fonts/OpenSans-Italicc.ttf);
    font-weight:normal;
	font-style:italic;
}
@font-face {
    font-family: OpenSans;
    src:url(../fonts/OpenSans-BoldItalic.ttf);
	font-weight:bold;
	font-style:italic;
}

@font-face {
    font-family: KGSweetNSassy;
    src:url(../fonts/KGSweetNSassy.ttf);
	font-weight:normal;
	
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
html, body {
	margin: 0;
	padding: 0;
	height: 100%; /* WICHTIG!!! STRECKT ANZEIGENBEREICH AUF 100% */
}


body {
	font-family:KGSweetNSassy, OpenSans, Arial, Helvetica, sans-serif;
	font-size:0.9em;
	line-height:1.6;
	color:#333;
	background:url(../img/bg-grafik.jpg) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	
}



   
#wrapper {
	min-width: 40px;
	max-width: 980px;
	margin: 0 auto;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	
	background:url(../img/bg-content.png);
}


/* Header
-----------------------------------------------------------------------------*/
#header {
	height: 230px;
}

.animation {margin-left:364px;}

/* Middle
-----------------------------------------------------------------------------*/
#middle {
	width: 100%;
	padding: 0 0 0 0;
	height: 1%;
	position: relative;;
}
#middle:after {
	content: '';
	clear: both;
	display: table;
}
#container {
	width: 100%;
	float: left;
	overflow: hidden;
}
#content {
	padding: 0 50px 0 364px;
}


/* Sidebar Left
-----------------------------------------------------------------------------*/
#sideLeft {
	float: left;
	width: 364px;
	margin-left: -100%;
	position: relative;
}

#sideContent {
	padding: 0 30px 0 40px;
}

/* Footer
-----------------------------------------------------------------------------*/
#footer {
	
	min-width: 40px;
	height: 30px;
	position: fixed;
	bottom:0;
	padding:5px 0 3px 324px;
	margin:5px 50px 0 40px;
	width: 566px;
	background:#fff;
	border-top: solid 1px #fd6aff;

}


/* -------------------------------------------------------------- 
  H1 Replace Logo und Beschreibung
-------------------------------------------------------------- */
h1.title {
    background:url(../img/logo.png) no-repeat scroll 5px 30px transparent;
    height: 170px;
	width: 364px;
    margin: 0 0 0 40px;
    padding: 0;
    position: absolute;
    text-indent: -9999px;
	max-width:100%;
}

div.header-container blockquote {
    position: absolute;
    top: -9999px;
}

/* ==========================================================================
   INHALTS ELEMENTE
   ========================================================================== */
H1, H2, H3, H4, H5, H6 { font-weight:normal;}   
h2 { color:#fd6aff}
h3 { margin-bottom:0.1em;}   
p	{ 	line-height:1.7; 
	}   
	
a, a:hover, a:active  { color:#fd6aff; text-decoration:none;}
 iframe { max-width:100%}


div#content li, #sideContent li {}

#content footer, #content time { font-size:0.8em;}



/* Für einlezne Seiten*/
body.blog p { margin:0.5em 0;}
.close_btn { color:#878787}



img.alignleft { clear:both; margin:5px 20px 10px 0;}

.wp-image-60 { margin-bottom:0;}

#sideContent 		{ font-size:0.8em;}
#sideContent section { margin-bottom:2em;}
#sideContent h2.widgettitle 	{ font-size:1.1em; color:#fd6aff; margin:0 0 0.5em 0;border-bottom:1px solid #CCCCCC;}
#sideContent ul 	{ margin:0.3em 0; padding:0 0 0 1.6em;}
#sideContent li		{  padding-bottom:1em;}
#sideContent p		{ margin-top:0.5em}
#sideContent section.news {margin-bottom:0;}
#sideContent .suche label { display: none;}
#sideContent .suche	input#s {  margin:0 5% 0 0; width:50%; }
input[type=submit] {  width:90px; height:17px; padding:3px; border:none; color:#878787}
.news a.post-title { color:#444;font-weight:bold;}

input#email { margin:0 5% 0 0; width:50%; float:left; }


#footer p {	
	font-family: KGSweetNSassy;
	font-size:0.9em;
	letter-spacing: .02em;
	margin:0;
 }
#footer a { color:#878787; }
#footer span { color:#fd6aff; }



/* ==========================================================================
   NAVI
   ========================================================================== */

 /* the appendaround element */
.sample {
}
  
.baz {
	display: block;
}
.bar {
	display: none; 
}
   
 
ul#menu-hauptmenu li{ list-style-image:none;} 
div#navi-container {
	min-height:290px;
	padding:38px 0 0 0;
	margin-left:40px;
	}
	
	
.nav-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
	font-family: KGSweetNSassy;
	font-size:1.5em;
	letter-spacing: .02em;
}
.toggleMenu {
    display:  none;
    background: #ccc;
    padding: 10px 2%;
    color: #000	;
	width:90%
}
.menu-hauptmenu-container {
    list-style: none;
     *zoom: 1;
}
.menu-hauptmenu-container:before,
.menu-hauptmenu-container:after {
    content: " "; 
    display: table; 
}
.menu-hauptmenu-container:after {
    clear: both;
}

#navi-container ul {
    list-style: none;
    width: 80%;
	margin:0;
	padding:0;
}
.menu-hauptmenu-container a {
    padding: 6px 0;
    color:#000;
	text-decoration:none;
}

.menu-hauptmenu-container a:hover, .menu-hauptmenu-container a:active, li.current_page_item a, li.current_page_parent a { color:#fd6aff; background:url(../img/7.png) no-repeat left center; }
.menu-hauptmenu-container li {
    line-height: 1.3;
    margin: 0 ;
    position: relative;
    width: 100%;
	
	
}


.menu-hauptmenu-container ul > li {
    float: left;
    border-top: 1px solid #fd6aff;
	-left:20px;
}
.menu-hauptmenu-container ul > li:last-child {
	 border-bottom: 1px solid #fd6aff;

}
.menu-hauptmenu-container ul > li > .parent {
    background-image: url("http://webdesigntutsplus.s3.amazonaws.com/tuts/378_tessa/tessa-lt-dropdowns-21c7868/images/downArrow.png");
    background-repeat: no-repeat;
    background-position: right;
}
.menu-hauptmenu-container ul > li > a {
    display: block;
	
	padding-left:40px;
}
.menu-hauptmenu-container ul li  ul {
    position: absolute;
    left: -9999px;
}
.menu-hauptmenu-container ul > li.hover > ul {
    left: 0;
}
.menu-hauptmenu-container ul li li.hover ul {
    left: 100%;
    top: 0;
}
.menu-hauptmenu-container ul li li a {
    display: block;
    background: #1d7a62;
    position: relative;
    z-index:100;
    border-top: 1px solid #175e4c;
}
.menu-hauptmenu-container ul li li li a {
    background:#249578;
    z-index:200;
    border-top: 1px solid #1d7a62;
}


   

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

/* 	==========================================================================
	MOBILE
	========================================================================== */
	
@media screen and (max-width: 800px) {
	#header { height:180px;}
	.animation { display:none;}
	 iframe { max-width:90%}
	#container { float:none;}
	#content, #sideLeft {
		float:none;
		padding:0 4.8828125% 4.8828125% 4.8828125%;
		width:90.234375%;
		margin:0;
	}
	div#content img { max-width:30%; height:auto;}
	div#content img.wp-image-72 { max-width:100%;}
	#sideContent {
		padding: 0;
		margin-bottom:50px;
	}
	#footer { margin:0; padding:1%; width:98%; height:auto; }
	
	
	
	/*NAVIGATiON
	========================================================================== */
	.nav-container {
		width:100%;
		margin: 10px auto;
		background:#ccc;
	}

	/*Apend Around klassen*/
	.bar {
	  display: block;
	}
	.baz {
	  display: none; 
	}
	
	
			
	.active {
        display: block;
    }

	.menu-hauptmenu-container a:hover, .menu-hauptmenu-container a:active, li.current-menu-item a, li.current_page_parent a { color:#fd6aff; background: none; }
	
	.menu-hauptmenu-container ul li {
		line-height: 1.3;
		margin: 0;
		position: relative;
		width: 100%;
		list-style:none !important;
	}
	div.menu-hauptmenu-container ul { margin:0; padding:0;}
    .menu-hauptmenu-container ul > li {
        float: none;
		width:100%;
		
    }
	
	.menu-hauptmenu-container ul > li a {
       padding: 3%;
	   margin:0;
	   background:#eee;
    }
	
	
	
    .menu-hauptmenu-container ul > li > .parent {
        background-position: 95% 50%;
    }
  
    .menu-hauptmenu-container ul > li > .parent {
   background-image: none; 
  }
    .menu-hauptmenu-container ul li .more {
        background-image: url("http://webdesigntutsplus.s3.amazonaws.com/tuts/378_tessa/tessa-lt-dropdowns-21c7868/images/downArrow.png");
        background-repeat: no-repeat;
        background-position: 95% 50%;
        float: right;
      	width: 20%;
    		border-left: 1px solid rgba(255,255,255,.3);
    		padding: 8px 15px;
    		margin: 2px 5px 2px 0px;
        cursor: pointer;
    		z-index: 200;
        position: relative;
    }
  .menu-hauptmenu-container ul li .more:before {
  content: "";
  background: rgba(0,0,0,.3);
  width: 1px;
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: -2px;
  }
  
  
  
    .menu-hauptmenu-container ul ul {
        display: block;
        width: 100%;
    }
   .menu-hauptmenu-container ul > li.hover > ul , .menu-hauptmenu-container li li.hover ul {
        position: static;
    }
	
	
	
}

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

 h1.title {
    background:url(../img/logo.png) no-repeat scroll -10px 30px transparent;
	 }
	

}


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