@charset "UTF-8";
/* CSS Document */

*
{
	padding: 0;
	margin: 0;
}

html
{
	height: 100%;
}

body
{
	height:100%;
	padding-left:10px;
	padding-right:10px;
	background: url(images/noise-pattern.png) repeat;
	font: lighter 16px 'Source Sans Pro', sans-serif;
	color: #444;
}

p
{
	line-height:150%;
	margin-bottom: 20px;
}

blockquote
{
	padding: 15px;
	/*background-image: url(images/bq-start.png), url(images/bq-end.png);
	background-position: left top, right bottom;
	background-repeat: no-repeat;*/
	background-color: rgba(0,0,0,0.1);

	box-shadow: 0 1px 2px rgba(0,0,0,0.45);
}

a
{
	text-decoration: none;
	color: rgb(0,58,77);
}

a:hover
{
	text-decoration: underline;
}

/*content bounds*/
#wrapper
{
	min-height:100%;
	position: relative;	
	width: 100%;
	margin-left:auto;
	margin-right:auto;
}

/*top navigation menu*/
#nav 
{
	position: relative;
	left: -5px;
	height: auto;
	width: auto;
	margin-bottom: 30px;
	margin-top: 15px;
}

/*
#nav ul.lang
{
	position:relative;
	right:0;
	width:30%;
	float:right;
}

#nav ul.lang li
{
	float:right;
}

#nav ul.lang li a:hover
{
	border-color: transparent;
	background-color: transparent;
	
	box-shadow: none;
}

#nav ul.lang li.de a
{
	background-image: url(http://mariushellmeier.de/public/themes/blue/images/lang-de-inactive.png);
}

#nav ul.lang li.en a
{
	background-image: url(http://mariushellmeier.de/public/themes/blue/images/lang-en-inactive.png);
}

#nav ul.lang li.de a:hover
{
	background-image: url(http://mariushellmeier.de/public/themes/blue/images/lang-de-hover.png);
}

#nav ul.lang li.de.current a:hover
{
	background-image: url(http://mariushellmeier.de/public/themes/blue/images/lang-de-hover.png);
}

#nav ul.lang li.en.current a:hover
{
	background-image: url(http://mariushellmeier.de/public/themes/blue/images/lang-en-hover.png);
}

#nav ul.lang li.en a:hover 
{
	background-image: url(http://mariushellmeier.de/public/themes/blue/images/lang-en-hover.png);
}

#nav ul.lang li.de.current a
{
	background-image: url(http://mariushellmeier.de/public/themes/blue/images/lang-de.png);
}

#nav ul.lang li.en.current a
{
	background-image: url(http://mariushellmeier.de/public/themes/blue/images/lang-en.png);
}

*/

#nav ul
{
	position: relative;
	width: auto;
	height: auto;
}

#nav ul li
{
	display: inline-block;
	margin: 5px;
	font-size: 18px;
}

#nav ul li a
{		
	position: relative;

	border-style: solid;
	border-width: 0;
	top: 40px;
	padding: 10px;
	padding-top: 40px;
	border-top-width:100px;
	border-color: transparent;
	background-color: transparent;
	color: black;
	text-decoration: none;
	
	background-repeat: no-repeat;
	background-position: center top;
}

#nav ul li.menu-home a
{
	background-image: url(http://mariushellmeier.de/public/themes/blue/images/home.png);
}

#nav ul li.menu-works a
{
	background-image: url(http://mariushellmeier.de/public/themes/blue/images/works.png);
}

#nav ul li.menu-vita a
{
	background-image: url(http://mariushellmeier.de/public/themes/blue/images/vita.png);
}

#nav ul li.menu-contact a
{
	background-image: url(http://mariushellmeier.de/public/themes/blue/images/contact.png);
}

#nav ul li.menu-home-inv a
{
	background-image: url(http://mariushellmeier.de/public/themes/blue/images/home-inv.png);
}

#nav ul li.menu-works-inv a
{
	background-image: url(http://mariushellmeier.de/public/themes/blue/images/works-inv.png);
}

#nav ul li.menu-vita-inv a
{
	background-image: url(http://mariushellmeier.de/public/themes/blue/images/vita-inv.png);
}

#nav ul li.menu-contact-inv a
{
	background-image: url(http://mariushellmeier.de/public/themes/blue/images/contact-inv.png);
}

#nav ul li a:hover
{
	border-color: #f1f1f1;
	background-color: #f1f1f1;
	
	/*box-shadow: 0 1px 2px rgba(0,0,0,0.25);*/
}

#nav ul li a.current
{
	border-color: rgb(0,58,77);
	background-color: rgb(0,58,77);
	color: white;
	text-decoration: none;
	
	/*box-shadow: 0 1px 2px rgba(0,0,0,0.75);*/
}

#headerimage
{
	position: relative;
	width: 100%;
	height:240px;
	
	background-image: url(images/header-image-gradient.png), url(images/test-image.jpg);
	background-position: left bottom, center;
	background-repeat: repeat, no-repeat;	
	background-size: auto, cover;
	
	overflow: hidden;
	
	box-shadow: 0 1px 2px rgba(0,0,0,0.85);
}

#headerimage .curl
{
	opacity:0;
    width:100px;
    height:60px;
    position:absolute;
    bottom:-2px;
    right:-2px;
    -webkit-transition: width ease 0.5s, height ease 0.5s, opacity 0.1s 0.4s;
    -moz-transition: width ease 0.5s, height ease 0.5s, opacity 0.1s 0.4s;
}

#headerimage .curl:hover
{
	opacity:1;
    width:500;
    height:300px;
     -webkit-transition: width ease 0.5s, height ease 0.5s, opacity 0.1s;
     -moz-transition: width ease 0.5s, height ease 0.5s, opacity 0.1s;
}

#headerimage .curl img
{
	position: absolute;
	width: 100%;
	height: 100%;
}

#headerimage .curl .description
{
    position:absolute;
    bottom:0;
    right:0;
	
	overflow: hidden;
	
	width: 33%;
	height: 20%;
}

#headerimage .curl .description p
{
	white-space:nowrap;
	font-size: 12px;
	color: #ccc;
	line-height: 14px;
	margin:5px;

    position:absolute;
    bottom:0;
    right:0;
}


.seperator
{
	position: relative;
	margin: 0px;
	margin-top: 3px;
	margin-bottom: 3px;
	height: 0;
	width: 100%;
	border-top: 1px solid #e5e5e5;
	border-bottom: 1px solid white;
}

#breadcrumbs
{
	margin-bottom:30px;
}

#content
{
	position: relative;
	left: 10px;
	padding-right: 20px;
	padding-bottom:60px;
	overflow:auto;
}

#content h1
{
	margin-top: 50px;
	font: lighter 30px "Source Sans Pro", sans-serif;
	margin-bottom: 20px;
}

#content h4
{
	font-weight: normal;
}

#primary
{
	position:relative;
	margin-bottom: 30px;
	width: 58%;
	height: auto;
	float: left;
}

#primary h3
{
	font-weight: normal;
	font-size: 20px;
	margin-bottom: 20px;
}

#secondary
{
	position: relative;
	margin-bottom: 30px;
	width: 40%;
	height: auto;
	float: right;
}

.bordered
{
	border: 1px solid #AAA;
	margin: 10px;
	margin-bottom: 30px;
	box-shadow: 0 0px 6px rgba(0,0,0,0.25);
}

.worksgrid ul li
{
	padding: 0px 30px 30px 0px;
	display: inline-block;
	width: 260px;
	vertical-align: top;
}

.worksgrid ul li img
{
	vertical-align: top;
	text-align: center;
}

.worksgrid ul li a
{
	color: #444;
}

.worksgrid ul li a:hover
{
	color: #444;
	text-decoration: none;
}

.cvtable
{
	font-weight: lighter;
	border-collapse: collapse;
	margin-top: 24px;
	margin-bottom: 24px;
}

.cvtable tr td
{
	vertical-align: top;
	width: 400px;
	padding: 10px 20px 10px 20px;
}
.cvtable .year
{
	width: 150px;
	border-right: 1px solid black;
	text-align: right;
}

.cvtable .text
{
	
}

.appsgrid ul li
{
	padding: 20px 40px 20px 0px;
	display: inline-block;
	width: 200px;
	vertical-align: top;
}

.appsgrid ul li a
{
	color: #444;
}

.appsgrid ul li a:hover
{
	color: #444;
	text-decoration: none;
}

.longtext
{
	max-height: 290px;
	overflow: hidden;
	text-overflow: ellipsis;
}

.shown
{
	max-height: none;
}

.showhidelongtext
{
	
}

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

.entry h3
{
	font-weight: normal;
	font-size: 20px;
	margin-bottom: 20px;
}

.entry .info
{
	font-style: oblique;
	height: 20px;
}

.entry .left
{
	position: relative;
	float:left;
	text-align: left;
	left:0;
}

.entry .right
{
	position: relative;
	float: right;
	text-align: right;
	right:0;
}

.widget
{
	position: relative;
	margin:5px;
	margin-bottom: 30px;
	padding: 15px;
	width:260px;
	float: right;
	background-color:white;
	box-shadow: 0 0px 3px rgba(0,0,0,0.25);
}

.widget h2
{
	font: lighter 20px "Source Sans Pro", sans-serif;
	margin-bottom: 10px;
}

.icon
{
	box-shadow: 0 1px 3px rgba(0,0,0,0.45);
	border-radius: 17px;
	margin-bottom:20px;
}

.widget p.price
{
	float: right;
	width: 145px;
	font-size: 15px;
	margin-top:7px;
	margin-bottom:0px;
}

.widget ul.list
{
	list-style-position:inside;
	list-style-type: disc;
}

.widget ul.app
{
	list-style-type: none;
	float: right;
	width: 145px;
	font-size: 15px;
	line-height: 170%;
	white-space: nowrap;
	overflow: hidden;
}

.app li
{
	overflow: hidden;
	text-overflow: ellipsis;
}

.app li.first
{
	font-weight:normal;
}

.widget ul.fader
{ 
	position: relative;
	height: 405px;
}

.fader li
{ 
	position: absolute; 
	list-style-type: none;
	top: 0;
	left: 0;
}

.fader li img
{
	width: 260px;
	border: 1px solid #ddd;
}

.widget p
{
	position:relative;
	bottom:0;
}

.widget table
{
	
}

.widget p a.prev
{
	position:relative;
	left:5px;
	float: left;
}

.widget p a.next
{
	position:relative;
	right:5px;
	float: right;
}


#footer
{
	position:absolute;
	height:60px;
	bottom: 0;
	width: 100%;
}

#footer p
{
	margin-top:10px;
}

@media screen and (min-width: 960px)
{
	#wrapper
	{
		width: 960px;
	}
}

@media 
screen and (max-width: 768px)
{
	#primary
	{
		float: left;
		width: 100%;
	}

	#secondary
	{
		float: left;
		width: 100%;
	}
	
	.widget
	{
		float: left;
	}
}


@media 
screen and (max-width: 500px)
{	
	#nav ul li
	{
		display: inline-block;
		margin: 0px;
		font-size: 18px;
	}

	#nav ul li a
	{		
		position: relative;

		border-style: solid;
		border-width: 0;
		top: 40px;
		padding: 3px;
		padding-top: 40px;
		border-top-width:100px;
		border-color: transparent;
		background-color: transparent;
		color: black;
		text-decoration: none;

		background-repeat: no-repeat;
		background-position: center top;
	}
}


/*override ios safari bug*/
strong
{
	font-weight:500 !important;
}