@import url(//fonts.googleapis.com/css?family=Roboto:100,100italic,300,300italic,700,700italic);

* {
	box-sizing: border-box;
}

html {
	font-size: 100%;
}

body {
	font-family: "Roboto", "Droid Sans", "DejaVu Sans", Verdana, Helvetica, sans-serif;
	font-weight: normal;
	font-size: 16px;
	line-height: 1.5rem;
	color: #333333;
	background-color: #fcfcfc;
	margin: 0;
	padding: 1rem 4%;
}

#page > main {
	width: 100%;
}

a {
	color: #009900;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/*
 * Header
 */
#page > header {
	max-width: 70rem;
	margin: 0 auto;
	min-height: 60px;
	/*
	background: @c_link url(http://alex.amiran.it/wp-content/themes/shu2014/img/header.jpg) no-repeat 50% 50%, linear-gradient(to right, #ffffff 0%, rgba(255,255,255,0) 100%);
	background-size: 100% auto;
	text-shadow: 1 1 6px #fff, 1 -1 6px #fff, -1 1 6px #fff, -1 -1 6px #fff;
	*/
}
#page > header a {
	color: #009900;
	text-decoration: none;
}
#page > header a:hover {
	text-shadow: 0 0 4px #009900;
}
#page > header h1 {
	margin: 0;
	font-weight: normal;
	font-size: 2rem;
	line-height: 2rem;
}

#page > header nav {
	border: solid 1px #88cc88;
	border-radius: 3px;
	background-clip: padding-box;
	background-color: #eeffee;
	margin: 0.5rem 0;
}

#page > header nav .menu-toggle {
	display: block;
	width: 100%;
	font-weight: normal;
	font-size: 0.85rem;
	line-height: 1rem;
	text-align: center;
	border: 0;
	border-bottom: 1px solid #88cc88;
	cursor: pointer;
	margin: 0;
	padding: 0.3em;
	background-color: transparent;
}

#page > header nav .menu-toggle:hover {
	background-color: #88cc88;
}

#page > header nav .assistive-text {
	display: none;
}

#page > header nav ul {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
	transition: all 0.2s ease-out;
}

#page > header nav ul li a {
	font-weight: normal;
	font-size: 1rem;
	line-height: 1rem;
	display: block;
	padding: 0.75rem 1.5rem;
}

#page > header nav ul li a:hover {
	color: #009900;
}

#page > header nav ul li ul.children {
	list-style: none;
	padding-left: 1rem;
}

#page > header nav ul li ul.children li a {
	font-size: 0.9375rem;
	line-height: 1rem;
	font-weight: normal;
}
#page > header nav.toggled-on ul {
	display: block;
}

@media screen and (min-width: 770px) {
	#page > header hgroup {
	  border-bottom: 1px dotted #88cc88;
	}

	#page > header nav {
	  border: 0;
	  border-radius: 0;
	  background-clip: padding-box;
	  background-color: transparent;
	}

	#page > header nav .menu-toggle {
	  display: none;
	}

	#page > header nav ul {
	  display: block;
	  border-bottom: 1px dotted #88cc88;
	  padding: 0.375rem 0;
	}

	#page > header nav ul > li {
	  position: relative;
	  display: inline-block;
	  *display: inline;
	}

	#page > header nav ul > li > a {
	  display: inline-block;
	  *display: inline;
	  padding: 0.375rem 0.5rem;
	  margin-right: 0.5rem;
	}

	#page > header nav ul > li > ul.children {
	  display: none;
	  position: absolute;
	  left: 0;
	  top: 1.74rem;
	  width: 20rem;
	  background-color: #eeffee;
	  border: 1px solid #88cc88;
	  padding: 0;
	}

	#page > header nav ul > li:hover > ul.children {
	  display: inline-block;
	}
}


footer#colophon {
	clear: both;
	margin: 2rem 0;
}

/*
#searchform label {
	display: none;
}
#searchform #s {
	border: solid 1px #333333;
	border-radius: 2px;
	background-clip: padding-box;
	background: #fff;
	padding: 3px 4px;
	font-size: 0.9rem;
}
#searchform #searchsubmit {
	border: solid 1px #333333;
	border-radius: 2px;
	background-clip: padding-box;
	background-color: #009900;
	color: #fcfcfc;
	padding: 2px 12px;
	font-size: 0.8rem;
	font-weight: bold;
}
#searchform #searchsubmit:hover {
	background-color: #00cc00;
	cursor: pointer;
}
*/

#page > main article.abstract {
	padding-bottom: 1rem;
	border-bottom: 1px dotted #88cc88;
	margin: 0 auto 2rem;
}

#page > main section.pages > article {
	margin: 0 auto;
	max-width: 70rem;
	background-color: #fcfcfc;
	padding: 1rem 4%;
}

#page > main section.pages > article h1 {
	font-weight: normal;
	font-size: 2rem;
	line-height: 3.7rem;
	text-align: center;
	margin: 1rem auto;
	max-width: 45rem;
}

#page > main section.pages > article h1 a {
	color: #333333;
	text-decoration: none;
	transition: all 250ms;
}

#page > main section.pages > article h1 a:hover {
	text-shadow: 0 0 4px #009900;
}

#page > main section.pages > article .entry-meta {
	max-width: 45rem;
	margin: 0.2rem auto 1rem;
	clear: both;
	padding: 0.5em;
	font-weight: normal;
	font-size: 0.85rem;
	line-height: 1.2rem;
	color: #999999;
	text-align: center;
}

#page > main section.pages > article .entry-meta a {
	color: #999999;
}

#page > main section.pages > article .entry-meta a:hover {
	color: #009900;
	text-decoration: none;
}

#page > main section.pages > article .entry-meta .entry-date {
	display: block;
}

#page > main section.pages > article .entry-meta .cat-links {
	display: block;
}

#page > main section.pages > article .entry-meta .tag-links {
	display: block;
}

#page > main section.pages > article .entry-meta .tag-links a + a:before {
	content: ", ";
}

#page > main section.pages > article .entry-content {
	clear: both;
}

#page > main section.pages > article .entry-content h1,
#page > main section.pages > article .entry-content h2,
#page > main section.pages > article .entry-content h3,
#page > main section.pages > article .entry-content h4,
#page > main section.pages > article .entry-content h5,
#page > main section.pages > article .entry-content h6,
#page > main section.pages > article .entry-content blockquote {
	max-width: 45rem;
	margin: 3rem auto 0.75rem;
	clear: both;
	font-weight: normal;
}

#page > main section.pages > article .entry-content h1 {
	font-size: 2rem;
	line-height: 3rem;
	margin-top: 0;
}

#page > main section.pages > article .entry-content h2 {
	font-size: 1.7rem;
	line-height: 3rem;
	font-style: italic;
}

#page > main section.pages > article .entry-content h3 {
	font-size: 1.5rem;
	line-height: 2.5rem;
}

#page > main section.pages > article .entry-content h4 {
	font-size: 1.4rem;
	line-height: 2rem;
	font-style: italic;
}

#page > main section.pages > article .entry-content h5 {
	font-size: 1.2rem;
	line-height: 2rem;
}

#page > main section.pages > article .entry-content h6 {
	font-size: 1.2rem;
	line-height: 2rem;
	font-style: italic;
}

#page > main section.pages > article .entry-content p,
#page > main section.pages > article .entry-content ul,
#page > main section.pages > article .entry-content ol {
	font-weight: normal;
	font-size: 1rem;
	line-height: 1.5rem;
	max-width: 40rem;
	margin: 0 auto;
}

#page > main section.pages > article .entry-content p + p,
#page > main section.pages > article .entry-content p + ul,
#page > main section.pages > article .entry-content ul + p,
#page > main section.pages > article .entry-content p + ol,
#page > main section.pages > article .entry-content ol + p {
	margin-top: 1.5rem;
}

#page > main section.pages > article .entry-content li {
	margin-bottom: 1rem;
}

#page > main section.pages > article .entry-content blockquote {
	border: solid 1px #88cc88;
	border-radius: 3px;
	background-clip: padding-box;
	margin: 1.5rem auto;
	background-color: #eeffee;
	padding: 0.75rem 0.5rem;
}

#page > main section.pages > article .entry-content blockquote p {
	font-style: italic;
}

#page > main section.pages > article .entry-content blockquote p:last-child {
	margin-bottom: 0;
}

#page > main section.pages > article .entry-content pre {
	font-family: monospace;
	font-weight: normal;
	font-size: 0.8rem;
	line-height: 1.5rem;
	overflow: auto;
	background: #f5fff5;
	border: solid 1px #88cc88;
	border-radius: 3px;
	background-clip: padding-box;
	padding: 0.5rem;
	margin: 2rem auto;
	transition: all 250ms;
}

#page > main section.pages > article .entry-content img {
	border: 0;
	display: block;
	float: right;
	max-width: 40%;
	height: auto;
	margin: 1rem 0 1rem 1rem;
}

#page > main section.pages > article .entry-content img.aligncenter {
	max-width: 100%;
	width: 100%;
}

#page > main section.pages > article .entry-content img.alignleft {
	float: left;
	margin: 1rem 1rem 1rem 0;
}

#page > main section.pages > article .entry-content a.more-link {
	display: block;
	margin: 1.5rem;
	font-style: italic;
	font-size: 1.15rem;
	text-align: right;
}

#page > main section.pages > article .entry-content #searchform {
	margin: 2rem 0;
	text-align: center;
}

#page > main nav.post-navigation {
	position: relative;
	max-width: 70rem;
	clear: both;
	border-top: solid 1px #88cc88;
	border-bottom: solid 1px #88cc88;
	margin: 2rem auto 4rem;
	padding: 0.75rem 0.5rem;
	font-weight: normal;
	font-size: 0.875rem;
	line-height: 1rem;
	min-height: 2.5rem; // 1rem + 0.75*2 padding
	overflow: hidden;
	text-align: center;
}

#page > main nav.post-navigation h1 {
	display: none;
}

#page > main nav.post-navigation a[rel=prev] {
	position: absolute;
	padding: 0.75rem 0.5rem;
	display: block;
	width: 48%;
	left: 0;
	top: 0;
	text-align: left;
}

#page > main nav.post-navigation a[rel=prev]:before {
	content: "« ";
}

#page > main nav.post-navigation a[rel=prev] span.meta-nav {
	display: none;
}

#page > main nav.post-navigation a[rel=next] {
	position: absolute;
	padding: 0.75rem 0.5rem;
	display: block;
	width: 48%;
	right: 0;
	top: 0;
	text-align: right;
}

#page > main nav.post-navigation a[rel=next]:after {
	content: " »";
}

#page > main nav.post-navigation a[rel=next] span.meta-nav {
	display: none;
}

#page > main nav.post-navigation .pager {
	text-align: center;
}

@media screen and (max-width: 800px) {
	#page > main section.pages > article {
	  margin: 1.5rem 0;
	}

	#page > main section.pages > article header h1 {
	  font-size: 2rem;
	  line-height: 3rem;
	  font-weight: 100;
	  margin: 1rem auto;
	}

	#page > main section.pages > article .entry-meta {
	  font-size: 1rem;
	  line-height: 2rem;
	}

	#page > main section.pages > article .entry-content h1 {
	  font-size: 1.8rem;
	  line-height: 2.5rem;
	  margin-top: 0;
	}

	#page > main section.pages > article .entry-content h2 {
	  font-size: 1.6rem;
	  line-height: 2.5rem;
	  font-style: italic;
	}

	#page > main section.pages > article .entry-content h3 {
	  font-size: 1.4rem;
	  line-height: 2.5rem;
	}

	#page > main section.pages > article .entry-content h4 {
	  font-size: 1.4rem;
	  line-height: 2rem;
	  font-style: italic;
	}

	#page > main section.pages > article .entry-content h5 {
	  font-size: 1.2rem;
	  line-height: 2rem;
	  font-weight: 100;
	}

	#page > main section.pages > article .entry-content h6 {
	  font-size: 1.2rem;
	  line-height: 2rem;
	  font-weight: 100;
	  font-style: italic;
	}
}

.crayon-syntax {
	font-size: 0.825rem;
}
