
a, a:active, a:visited { color: #777; }
a:hover { color: #ec0567; }

body {
	background: #EFEFEF url(../img/bgBody.jpg) repeat left top;
  border-top: 4px solid #ec0567;
  color: #333333;
  font-family: 'Merriweather', serif;
  font-size: 65%;
  line-height: 1.5;
}

#page {
  margin: 0 auto;
  max-width: 880px;
  width: 95%;
}

.aboutContent .service {
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(0,0,0,0.5);
  -webkit-border-radius: 5px;
  -webkit-box-shadow: inset 0 0 4px black;
  -webkit-transition: 0.3s all;
  
  -moz-border-radius: 5px;
  -moz-box-shadow: inset 0 0 4px black;
  -moz-transition: 0.3s all;
  
  border-radius: 5px;
  box-shadow: inset 0 0 4px black;
  transition: 0.3s background;
  display: inline-block;
  padding: 0.5em;
}

.aboutContent .service:hover,
.aboutContent .service:focus {
  background: rgba(50,50,50,0.5);
  -webkit-box-shadow: inset 0 0 4px rgba(0,0,0,0.5);
  -webkit-transform: scale(1.05);
  
  -moz-box-shadow: inset 0 0 4px rgba(0,0,0,0.5);
  -moz-transform: scale(1.05);
  
  box-shadow: inset 0 0 4px rgba(0,0,0,0.5);
  transform: scale(1.05);
}

.aboutContent .service img {
	padding: 0;
	display: block;
}

/*---------------
  HEADER
---------------*/

#header {
	font-size: 0.9em;
  border-bottom: 1px solid #ccc;
  font-family: 'Ubuntu', sans-serif;
  float: left;
  padding-bottom: 2em;
  position: relative;
  width: 100%;
}

.start-page #header,
.lab #header {
	border-bottom: none;
}

#name {
  margin-top: 10em;
  -webkit-transition: 0.5s margin-top ease-in-out;
  -moz-transition: 0.5s margin-top ease-in-out;
  transition: 0.5s margin-top ease-in-out;
}

#name .fn {
  font-size: 4em;
  letter-spacing: -0.052em;
  line-height: 0.74;
  text-transform: uppercase;
}

#header nav a,
#header nav span,
#name .email {
  color: #777;
  font-size: 1.6em;
  font-weight: 200;
  text-decoration: none;
}

#header nav span,
#header a.hover,
#header a:hover,
#header a:focus,
#header a:active {
  color: #ec0567;
}

#rssLink {
	position: absolute;
	top: 5px;
	left: 214px;
	-webkit-transition: left 0.3s ease-in-out;
  -moz-transition: left 0.3s ease-in-out;
  transition: left 0.3s ease-in-out;
}

/*---------------
  NAVIGATION
---------------*/

#header nav {
  position: absolute;
  left: 0;
  top: 50px;
  -webkit-transition: left 0.5s ease-in-out;
  -moz-transition: left 0.5s ease-in-out;
  transition: left 0.5s ease-in-out;
}

#header nav li {
  display: inline-block;
}

#header nav a,
#header nav span {
  display: block;
	padding: 0.2em 0.6em;
	-webkit-transition: -webkit-transform 0.3s;
	-moz-transition: -moz-transform 0.3s;
	transition: transform 0.3s;
}

#header nav span,
#header a.active {
	-webkit-transform: scale(1.15);
	-moz-transform: scale(1.15);
	transform: scale(1.15);
	color: #000;
}

#header a.active:hover,
#header a.active:focus,
#header a.active:active {
	color: #ec0567;
}

/*---------------
  ABOUT
---------------*/

#about {
  background-color: transparent;
  color: white;
  padding: 0;
  position: absolute;
  left: 0;
  top: -4px;
  width: 208px;
  z-index: 10;
  -webkit-transform: scale3d( 1, 1, 1 );
  -webkit-transition-duration: 0.5s;
  -webkit-transition-property: background-color, border-color, padding, -webkit-box-shadow, left, width;
  -webkit-transition-timing-function: ease-in-out;
  -moz-transition-duration: 0.5s;
  -moz-transition-property: background-color, border-color, padding, -moz-box-shadow, left, width;
  -moz-transition-timing-function: ease-in-out;
  transition-duration: 0.5s;
  transition-property: background-color, border-color, padding, box-shadow, left, width;
  transition-timing-function: ease-in-out;
}

#about .img {
  background: transparent url(../img/me.jpg) no-repeat 97% -60px;
  -webkit-background-size: 220px;
  -moz-background-size: 220px;
  background-size: 220px;
  border: 4px solid #ec0567;
  border-top-width: 0;
  display: block;
  width: 200px;
  height: 50px;
  -webkit-transform: scale3d( 1, 1, 1 );
  -webkit-transition-duration: 0.5s;
  -webkit-transition-property: background-position, background-size, width, height, border-color;
  -webkit-transition-timing-function: ease-in-out;
  -moz-transition-duration: 0.5s;
  -moz-transition-property: background-position, background-size, width, height, border-color;
  -moz-transition-timing-function: ease-in-out;
  transition-duration: 0.5s;
  transition-property: background-position, background-size, width, height, border-color;
  transition-timing-function: ease-in-out;
}

#about .close {
  background-color: rgba(30,30,30,0.8);
  color: white;
  padding: 0.6em 0.6em 0.4em 0.5em;
  position: absolute;
  top: 0;
  right: 0;
  text-decoration: none;
	-webkit-transform-origin: 100% 0%;
	-moz-transform-origin: 100% 0%;
	transform-origin: 100% 0%;
	-webkit-transform: scale(1.5);
	-moz-transform: scale(1.5);
	transform: scale(1.5);
}

#about .aboutText,
#about .close {
  display: none;
}

#about .aboutText {
	font-size: 1.5em;
}

#about .aboutText a {
  color: #aaa;
}

#about .aboutText p {
  font-size: 1.2em;
  margin: 0.7em 0;
}

#about .aboutText ul {
  list-style: none;
  margin: 1em 0 0;
}

#about .aboutText li {
  display: inline-block;
  margin-right: 0.5em;
}

#about:target {
  background-color: rgba(30,30,30,0.95);
  padding: 1em 0.6em 0.2em;
  width: 290px;
  -webkit-box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  -moz-box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

#about:target .img {
  background-position: right top;
  -webkit-background-size: 280px;
  -moz-background-size: 280px;
  background-size: 280px;
  border-color: transparent;
  width: 280px;
  height: 150px;
}

#about:target .aboutText,
#about:target .close {
  display: block;
}

/*---------------
  MAIN
---------------*/

.main {
	border-top: 1px solid white;
  clear: both;
	padding: 0 0 1.5em;
}

.main p,
.main ul,
.main ol {
  font-size: 1.3em;
  line-height: 1.8;
  margin-bottom: 1.5em;
}

.main abbr {
  border-bottom: 1px dashed #CCCCCC;
}

.main h1 {
  font-family: 'Ubuntu', sans-serif;
  font-size: 3em;
  line-height: 1.2;
	margin: 1em 0 1em;
}

.main h1 a {
	background-color: transparent;
	border-bottom: 1px solid #DDD;
  color: #333;
  text-decoration: none;
	position: relative;
}

.main h1 a:hover,
.main h1 a:focus {
	background-color: rgba(0,0,0,0.05);
	color: #000;
	border-color: #777;
}

.main h1 a:active {
	background-color: rgba(0,0,0,0.07);
	-webkit-box-shadow: inset 0 0 7px rgba(0,0,0,0.2);
	-moz-box-shadow: inset 0 0 7px rgba(0,0,0,0.2);
	box-shadow: inset 0 0 7px rgba(0,0,0,0.2);
	top: 1px;
}

.main h2 {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.8em;
	color: #ec0567;
  line-height: 1.3;
  margin-bottom: 0.2em;
	margin: 1em 0 1em;
}

.main h3 {
  font-family: 'Ubuntu', sans-serif;
  color: #555;
  font-size: 1.3em;
  line-height: 1.3;
  margin: 1em 0 1.5em;
}

/*-----------------
  GENERAL CONTENT
-----------------*/

.content a {
  text-decoration: none;
  color: #ec0348;
	position: relative;
  -webkit-transition: 0.2s all, 0s top;
  -moz-transition: 0.2s all, 0s top;
  transition: 0.2s all, 0s top;
}

.content a:hover,
.content a:focus {
	text-decoration: underline;
}

.content a:active {
	top: 1px;
}

.content em {
	font-style: italic;
}

.content img {
  background-color: rgba(120,120,120,0.1);
  border: 1px solid rgba(130,130,130,0.2);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: background-color 0.3s ease;
	-moz-transition: background-color 0.3s ease;
	transition: background-color 0.3s ease;
  -webkit-box-shadow: inset 0 0 7px rgba(0,0,0,0.1);
  -moz-box-shadow: inset 0 0 7px rgba(0,0,0,0.1);
  box-shadow: inset 0 0 7px rgba(0,0,0,0.1);
  display: block;
  margin: 0 0 1.5em 0;
  max-width: 93%;
  padding: 15px;
	width: auto;
	height: auto;
}

.content img.free {
	background: none;
	border: none;
	-webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
	padding: 0;
}

.content a:hover img,
.content a:focus img,
.content a:active img {
	background-color: rgba(120,120,120,0.3);
}

.content blockquote {
	background: transparent url(../img/bq.png) no-repeat left top;
	padding: 32px 0 0 60px; 
}

.content blockquote p {
	font-family: 'Ubuntu', sans-serif;
	font-style: italic;
}

/*---------------
  START
---------------*/

.start {
	border-top: none;
}

.start h1.first {
	margin: 0;
	padding: 0 0 1.5em 0;
	border-bottom: 1px solid #CCC;
}

.start h2 {
	margin-top: 0;
	padding-left: 50px;
}

.start .blog {
	padding: 2.5em 0 0.5em;
	border-top: 1px solid white;
	border-bottom: 1px solid #CCC;
}

.start .blog h1 {
	font-size: 2.3em;
	margin: 0.7em 0 0.1em;
}

.start .blog h1 a {
	background: none;
	border-bottom-color: transparent;
}

.start .blog h1 a:hover,
.start .blog h1 a:focus {
	background-color: rgba(0, 0, 0, 0.05);
	border-color: #AAA;
  text-decoration: none;
}

.start .blog h2 {
	padding-left: 0;
	margin-bottom: 0;
}

.start .blog p {
	font-family: 'Ubuntu', sans-serif;
	margin-bottom: 1.2em;
}

.start .services {
	border-top: 1px solid white;
	padding-top: 2.5em;
}

.start .content ul {
	margin-left: 0;
	list-style: none;
}

.start .content li {
	margin-bottom: 1.5em;
}

.no.js .start .content li.loading {
	display: none;
}

.js .start .content li.loading {
	background: transparent url(../img/ajaxLoader.gif) no-repeat center center;
	height: 200px;
}

.js .start .flickr li.loading {
	background-position: right center;
}

.start .twitter {
	background: transparent url(../img/iconTwitter_dark.png) no-repeat left -2px;
}

.start .flickr {
	background: transparent url(../img/iconFlickr.png) no-repeat left -2px;
}

.start .flickr ul {
	margin-bottom: 0;
}

.start .flickr img {
	max-width: 100%;
	padding: 5%;
	margin: 0;
}

/* more links */



/*---------------
  SKILLS
---------------*/

.skills {
	border-bottom: 1px solid #CCC;
	margin-top: 1.5em;
}

/*---------------
  WORK
---------------*/

.project {
	border-bottom: 1px solid #CCC;
	border-top: 1px solid white;
	padding-bottom: 1.5em;
	position: relative;
}

.project:first-of-type {
	border-top: none;
}

.project:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.project h1 {
	margin-bottom: 0.4em;
}

.project .wienfluss {
  position: absolute;
  right: 0;
  top: 4em;
}

.project:first-of-type .wienfluss {
	top: 1em;
}

.project .image  {
  background-color: rgba(120,120,120,0.1);
  border: 1px solid rgba(130,130,130,0.2);
	-webkit-transition: background-color 0.3s ease;
	-moz-transition: background-color 0.3s ease;
	transition: background-color 0.3s ease;
  -webkit-box-shadow: inset 0 0 7px rgba(0,0,0,0.1);
  -moz-box-shadow: inset 0 0 7px rgba(0,0,0,0.1);
  box-shadow: inset 0 0 7px rgba(0,0,0,0.1);
  display: block;
  margin: 0 0 1.5em 0;
  max-width: 93%;
  padding: 15px;
}

.project .image img {
	width: auto;
	height: auto;
	max-width: 100%;
	display: block;
}

.project .image:hover,
.project .image:focus,
.project .image:active {
	background-color: rgba(120,120,120,0.3);
}

.project ul {
	list-style-type: none;
	list-style-position: outside;
	margin-left: 0;
}

.project li {
	margin-bottom: 1em;
}

.project li strong {
	font-family: 'Ubuntu', sans-serif;
}

/*---------------
  BLOG
---------------*/

.post {
  border-bottom: 1px solid #ccc;
  border-top: 1px solid white;
  padding: 0 0 1.5em;
}

.post:first-of-type {
	border-top: none;
}

.post:last-child {
  border-bottom: none;
	padding-bottom: 0;
}

.postDate {
  font-size: 1.4em;
  font-weight: bold;
  margin-top: 1.5em;
}

.post footer {
  float: none;
  width: auto;
}

.postMeta {
  font-family: 'Ubuntu', sans-serif;
  font-size: .95em;
}

.postMeta .postSummary {
  font-size: 1.4em;
  font-style: italic;
  line-height: 1.6;
  margin: -0.1em 0 0;
  text-transform: uppercase;
  padding-bottom: 0;
}

.postTimeComments {
	float: left;
	width: 100%;
	padding: 1.4em 0;
}

.link .postTimeComments {
	padding: 0;
}

.postMeta a.permalink {
	background: transparent url(../img/pin16.png) no-repeat right top;
	width: 32px;
	height: 32px;
	float: right;
	display: block;
	text-indent: -999em;
}

.post .postMeta time {
  display: block;
  font-size: 1.4em;
	float: left;
  font-weight: bold;
}

.postMeta .postComments {
  font-size: 1.4em;
	float: right;
	margin-bottom: 0;
	text-transform: uppercase;
}

.postMeta .postComments a {
	color: #ec0567;
	text-decoration: none;
}

.postMeta .postComments a:hover,
.postMeta .postComments a:focus {
	text-decoration: underline;
}

.postMeta ul {
	clear: both;
  margin: 0;
	padding-bottom: 1.4em;
}

.postMeta li {
  color: #777;
  display: inline-block;
  font-size: 0.85em;
}

.postMeta li a {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
  text-decoration: none;
  color: #777;
}

.postMeta li a:hover,
.postMeta li a:focus,
.postMeta li a:active {
	background-color: transparent;
  color: #ec0567;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

.postContent {
  margin: 0;
  font-size: 120%;
}

/*------------------
  BLOG - COMMENTS
------------------*/

.disqus-comments a {
	text-shadow: none;
}

.disqus-comments img {
	margin-left: 0 !important;
}

.disqus-comments .dsq-content-stub {
	font-size: 1.4em;
}

.disqus-comments .dsq-trackback-url,
.disqus-comments #dsq-footer,
.disqus-comments #dsq-account-dropdown {
	font-size: 1.2em;
}

/*---------------
  FOOTER
---------------*/

#footer {
  clear: both;
  font-family: 'Ubuntu', sans-serif;
  overflow: hidden;
  padding: 1em 0 2em;
}

#footer p {
  color: #777;
  font-size: 1em;
}

#footer .left {
  float: left;
}

#footer .right {
  float: right;
}
