/* ************************************************
Modern
- design & code : Marco <marco@marcarea.com>
- icônes : http://www.famfamfam.com/
************************************************ */

/**
 * Start ClearFix
 * 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 are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
 
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}
/* Ende ClearFix */


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

body {
	background: #FFFFFF;
	font: 0.7em robotoregular,Arial,sans-serif;
}

/* Common styles
-------------------------------------------------------- */

a:hover, a:link, a:visited{
  color: #0094c8;
  text-decoration: none;
}

ul, ul li {
	list-style: none;
}

pre {
	overflow: auto;
	width: 100%;
	height: auto;
}

h2{
	font-size: 18pt;
	font-family: roboto_slabregular;
    font-weight: normal;
	padding-bottom: 10px;
  	color: #0094c8;
}
.mask {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 15;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.right{
	float: right;
}

/* Head
-------------------------------------------------------- */

div#logo img{
  margin-top: 39px;
  float: left;
}

/* Page
-------------------------------------------------------- */

#page {
	position: relative;
	width: 1020px;
	margin: 0 auto;
}

/* Header
-------------------------------------------------------- */

#top {
	width: 1020px;
	margin: 0 auto;
}

#top h1 {
    margin-left: 180px;
    clear: both;
	font-size: 3em;
}

/* Menu
-------------------------------------------------------- */

#hamburger{
	display: none;
}

#menu{
  margin-left: 180px;
}

#menu .simple-menu h2 {
  display: none;
}

#menu .simple-menu li {
    font-family: roboto_slabbold;
  	font-size: 18pt;
  	font-weight: normal;
	padding: 100px 8px 10px 8px;
	margin-right: 6px;
  	float: left;
  	color: #0094c8;
  	letter-spacing: 0.05em;
}

#menu .simple-menu li.active {
	background-color: #0094c8;
	color: #ffffff;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
}

li.active a:link, li.active a:visited {
  color: #ffffff;
}

/* Wrapper
-------------------------------------------------------- */

div#wrapper{
  clear: both;
  margin-left: 180px;
  padding-top: 30px;
  padding-left: 5px;
  font-size: 12pt;
}

/* Startseite
--------------------------------------------------------- */
div.mcz{
	padding-bottom: 15px;
	margin-bottom:15px;
}

div.mcz p{
	padding-bottom: 10px;
}

em{
  	color: #0094c8;
}

/* Post
--------------------------------------------------------- */

div.post.first{
	border-top: solid 1px #eeeeee; 
}

div.post{
	padding-top: 5px;
	clear: both;
	padding-bottom: 10px;
	border-bottom: solid 1px #eeeeee; 
	margin-bottom:10px;
}

div.post img{
	width: 120px;
	float: left;
	margin-right: 5px;
}

div.post h2{
	font-size: 12pt;
	font-family: roboto_slabregular;
    font-weight: normal;
	padding-bottom: 10px;
  	color: #0092c7;
}

div.post h3{
	font-size: 14pt;
	font-family: roboto_slabregular;
    font-weight: normal;
	padding-bottom: 10px;
  	color: #0094c8;
}

div.post p{
	padding-bottom: 10px;
}
div.post-content{
	font-size: 12pt;
	padding-bottom: 10px;
}

div.post-content img{
	display:inline-block;
	width:140px;
	height:auto;
	margin-right:10px;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
/*	-webkit-border-bottom-right-radius: 7px;
	-webkit-border-bottom-left-radius: 7px;
	-moz-border-radius-bottomright: 7px;
	-moz-border-radius-bottomleft: 7px;
	border-bottom-right-radius: 7px;
	border-bottom-left-radius: 7px;*/
}
.day-date{
	text-align: right;
	color:#999999;
}

/* Impressum
--------------------------------------------------------- */

#p4 p{
	font-size: 10pt;
}

/* Footer
--------------------------------------------------------- */

div#footer{
  padding-top: 10px;
  margin-left: 180px;
  padding-left: 5px;
  margin-bottom:25px;
}


/* screen width 1024px */
@media only screen and (min-width: 980px) and (max-width: 1279px) {

	/* Page
	-------------------------------------------------------- */
	
	#page {
		width: 960px;
	}
	
	/* Header
	-------------------------------------------------------- */
	
	#top {
		width: 960px;
	}	
}

/* screen  width around 800px */
@media only screen and (min-width: 769px) and (max-width: 979px) {
	
	/* Page
	-------------------------------------------------------- */
	
	#page {
		width: 750px;
	}
	
	/* Header
	-------------------------------------------------------- */
	
	#top {
		width: 750px;
	}
	
}


/* Change Menu from top to slide in
------------------------------------------------------------ */

@media only screen and (max-width: 768px) {
	/*body{
		overflow-x: hidden;
	}*/
	
	div#page{
		overflow-x: hidden;	
	}
	
	div#logo{
		text-align: center;
	}
	
	div#logo img{
		float: none;
	}

	#hamburger{
		display: block;
		position: absolute;
		right: 16px;
		z-index: 15;
	}

	#menu{
		margin: 0;
		width: 200px;
		float: none;
		position: fixed;
		z-index: 20;
		overflow: hidden;
		-webkit-transition: all 0.3s;
		-moz-transition: all 0.3s;
		-ms-transition: all 0.3s;
		-o-transition: all 0.3s;
		transition: all 0.3s;
	}
	
	#menu ul{
	    list-style-type: none;
	    margin: 0;
	    padding: 0;
	}
	
	#menu .simple-menu li {
		padding: 5px 0 5px 5px;
		margin: 0;
	  	float: none;
		color: #0094c8;
		background-color: #ffffff;
		border-top-left-radius: 6px;
		border-bottom-left-radius: 6px;
		border-bottom: 1px solid #aaaaaa;
    }
	
	#menu .simple-menu li.active {
		background-color: #0094c8;
		color: #ffffff;
		border-bottom-right-radius: 0;
	}
	
	#menu .simple-menu li {
	    display: block;
	    text-align: center;
	}
		
	#menu .simple-menu a {
	    display: block;
	    padding: 10px;
	    font-size: 18px;
	}
	
	#menu {
	    right: -200px
	}
	
	body.smr-open #menu {
	    right: 0
	}	
}

@media only screen and (min-width: 475px) and (max-width: 768px) {
	
	
	/* Page
	-------------------------------------------------------- */
	
	#page {
		width: 460px;
	}
	
	
	/* Header
	-------------------------------------------------------- */
	
	#top {
		width: 460px;		
		position: relative;
	}
		
	div#wrapper, div#footer{
			margin-left:0;
	}
	
}

@media only screen and (min-width: 320px)  and (max-width: 474px) {
	/* Page
	-------------------------------------------------------- */
	
	#page {
		width: 300px;
	}

	/* Header
	-------------------------------------------------------- */
	
	#top {
		width: 300px;
	}
	
	div#wrapper, div#footer{
		margin-left:0;
	}
}
