/* 
VERTICAL RHYTHM
font-size*line-height = margin-bottom 24*1.5=36px or 1.5*1.5=2.25rem
*/

/*
COLORS
background: 		#ECEEEF
text: 				rgb(60,60,60)
contrast: 			#AAA
contrast light:		#FFF
links:				rgb(0,120,200)
links:hover			rgb(0,70,140)
muted				#DDD
*/


* {
	padding: 0;
	margin: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	-ms-box-sizing:     border-box;
	-o-box-sizing:      border-box;
	box-sizing:         border-box;
}
html {
	color: rgb(60,60,60);
	color: rgba(60,60,60,1);
	font-size: 100%;
	background: #ECEEEF url(../images/shojiclean.jpg) repeat;
}
body {
	font-size: 24px;
	font-size: 1.5rem;
	font-family: Times, 'Times New Roman', Serif;
	font-weight: 400;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
	word-wrap: break-word;
	
	width: 100%;
	margin: 0 auto;
	position: relative;
}
img {
	display: block;
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 hack*/
	border: none;
	margin-left: auto;
	margin-right: auto;
}
.imgfloat {
	display: block;
	position: relative;
	width: 30%;
	float: right;
	margin: 72px 0 10px 20px;
	margin-top: 4.5rem;
	border-left: 3px #aaa solid;
	border-bottom: 3px #aaa solid;
	border-top: 1px #fff solid;
}
table {
	border-collapse: collapse;
}
video {
	max-width: 100%;
	height: auto;
}
embed, object, iframe {
	width: 100%;
	height: auto;
}
.embedcontainer {
	position: relative;
	padding-bottom: 56.25%;
	margin-bottom: 36px;
	margin-bottom: 2.25rem;
	height: 0;
	overflow: hidden;
}
.embedcontainer iframe, .embedcontainter object, .embedcontainer embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
	

/*
TYPOGRAPHY
*/
a {
	text-decoration: none;
	color: rgb(0,120,200);
	color: rgba(0,120,200,1);
	-webkit-transition: all 0.4s ease;  
	-moz-transition:	all 0.4s ease;  
	-o-transition:		all 0.4s ease;  
	transition:			all 0.4s ease;
}
a:hover, a:active {
	color: rgb(0,70,140);
	color: rgba(0,70,140,1);
}
a:focus {
	outline: none;
	color: rgb(0,70,140);
	color: rgba(0,70,140,1);
}
h1 {
	font-size: 30px;
	font-size: 1.875rem;
	font-weight: 400;
}
.hero {
	color: #AAA;
	font-family: 'Arial Black', Arial, sans-serif;
	font-weight: bolder;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: 1.1;
	margin-top: 10px;
	margin-bottom: 0;
}
h2, .alphaheading {
	font-size: 48px;
	font-size: 3rem;
	margin-bottom: 36px;
	margin-bottom: 2.25rem;
	font-family: 'Arial Black', Arial, Sans-Serif;
	text-transform: uppercase;
	font-weight: bolder;
}
h3, .betaheading {
	font-size: 36px;
	font-size: 2.25rem;
	margin-bottom: 36px;
	margin-bottom: 2.25rem;
	font-weight: 400;
	font-style: italic;
}
h4, .gammaheading {
	font-size: 30px;
	font-size: 1.8rem;
	margin-bottom: 36px;
	margin-bottom: 2.25rem;
	font-weight: 400;
}
h5, .deltaheading {
	font-size: 24px;
	font-size: 1.5rem;
	margin-bottom: 36px;
	margin-bottom: 2.25rem;
	font-weight: 700;
	font-style: italic;
}
p, pre, td, th, label {
	margin-bottom: 36px;
	margin-bottom: 2.25rem;
}
pre {
	display: block;
	white-space: pre;
	font-size: 20px;
	font-size: 1.25rem;
	line-height: 1.3;
	margin-bottom: 36px;
	margin-bottom: 2.25rem;
	word-wrap: normal;
	overflow: auto;
	border: 0;
}
code {
	display: inline;
}	
.justified {
	text-align: justified;
	-webkit-hyphens:auto;
	-moz-hyphens: 	auto;
	-ms-hyphens: 	auto;
	hyphens: 		auto;
}
small, .smalltext {
	font-size: 20px;
	font-size: 1.25rem;
	margin-bottom: 36px;
	margin-bottom: 2.25rem;
}
strong {
	font-style: italic;
	font-weight: 700;
}
em {
	font-style: italic;
	font-weight: 400;
}
blockquote {
	position: relative;
	font-size: 20px;
	font-size: 1.25rem;
	line-height: 1.3;
	margin-left: 60px;
	margin-bottom: 36px;
	margin-bottom: 2.25rem;
}
blockquote:before {
	content: "“";
	position: absolute;
	font-size: 150px;
	font-size: 9rem;
	left: -65px;
	top: -20px;
	color: #AAA;
	z-index: -2;
}
ul {
	list-style-position: outside;
	list-style-type: disc;
	margin-bottom: 36px;
	margin-bottom: 2.25rem;
}
ol{
	list-style-position: outside;
	list-style-type: decimal;
	margin-bottom: 36px;
	margin-bottom: 2.25rem;
}
sup, sub {
	vertical-align: baseline;
	position: relative;
	top: -0.5em;
}
sub { 
	top: 0.5em; 
}
hr {
	margin-top: 36px;
	margin-top: 2.25rem;
	margin-bottom: 36px;
	margin-bottom: 2.25rem;
}

/*
ARCHITECTURE
*/
header[role="banner"] ul {
	position: relative;
	max-width: 860px;
	width: 90%;
	padding: 0 5%;
	margin: 0 auto;
}

#content {
	position: relative;
	max-width: 860px;
	width: 90%;
	padding: 0 5%;
	margin: 0 auto;
	margin-top: 10px;
}
nav {
}
article {
	position: relative;
}
article:after {
	display: block;
	content: "\2766"; /* ❦ */
	text-align: center;
	font-size: 48px;
	font-size: 3rem;
	margin-bottom: 72px;
	margin-bottom: 4.5rem;
}
aside {
}
footer[role="contentinfo"] {
	position: relative;
	text-align: center;
	color: #AAA;
	padding: 0 5%;
	margin-top: 36px;
	margin-top: 2.25rem;
}
footer[role="contentinfo"]:before {
	content: "";
	display: block;
	border-top: 1px solid #AAA;
	border-bottom: 1px solid #FFF;
	width: 100%;
	height: 1px;
	margin-top: 36px;
	margin-top: 2.25rem;
}

/*
GENERAL UTILITY
*/
.hidden {
	display: none;
}

/* todo remove active class */
.current, .active {
	border-bottom: 1px solid rgba(0,120,200,1);
}
.spaced:before {
	display: block;
	content: "\25CA"; /* ♢ */
	text-align: center;
	font-size: 48px;
	font-size: 3rem;
	margin: 36px;
	margin: 2.25rem;
}
footer .spaced:before {
	margin: 0;
}
.clear {
	clear: both;
}

/* 
BUTTONS 
*/
.button {
	display: block;
	position: relative;
	border: 1px solid #AAA;
	box-shadow: 0 1px 1px #FFF;
	background: transparent;
	cursor: pointer;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: 	all 0.2s ease-in-out;
	-ms-transition: 	all 0.2s ease-in-out;
	-o-transition: 		all 0.2s ease-in-out;
	transition: 		all 0.2s ease-in-out;
}
.button:hover {
	border-color: rgb(0,120,200);
	border-color: rgba(0,120,200,0.4);
	box-shadow: 0 1px 2px rgba(0,0,0,0.25), inset 0 0 3px #FFF;
}
.button:active, .button:focus {
	border: 1px solid #AAA;
	border-bottom-color: #CCC;
	border-top-color: #999;
	box-shadow: inset 0 1px 2px #AAA;
}
.button:hover:after, .button:active, .button:focus {
	color: rgb(0,120,200);
	color: rgba(0,120,200,1);
}
nav .button {
	border-radius: 50%;
	margin-left: 50%;
	left: -30px;
	width: 60px;
	height: 60px;
	line-height: 60px;
	font-size: 60px;
	text-align: center;
	font-family: 'arial black', arial, sans-serif;
}

}
#content .button {
	border-radius: 50%;
	width: 60px;
	height: 60px;
	line-height: 50px;
	font-size: 50px;
	text-align: center;
	font-family: 'arial black', arial, sans-serif;
}
#content .button:after {
   content: "\2193"; /* ↓ */
   display: block;
   position: absolut;
   top: -10px;
   left: -10px;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: 	all 0.2s ease-in-out;
	-ms-transition: 	all 0.2s ease-in-out;
	-o-transition: 		all 0.2s ease-in-out;
	transition: 		all 0.2s ease-in-out;
}
.textbutton {
	border: 1px solid #AAA;
	color: #AAA;
	border-radius: 5px;
	width: 6em;
	padding: 2px;
	text-align: center;
	box-shadow: 0 1px 1px #FFF;
	background: transparent;
	cursor: pointer;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: 	all 0.2s ease-in-out;
	-ms-transition: 	all 0.2s ease-in-out;
	-o-transition: 		all 0.2s ease-in-out;
	transition: 		all 0.2s ease-in-out;
}
.textbutton:hover {
	border-color: rgb(0,120,200);
	border-color: rgba(0,120,200,0.4);
	box-shadow: 0 1px 2px rgba(0,0,0,0.25), inset 0 0 3px #FFF;
	color: rgb(0,120,200);
	color: rgba(0,120,200,1);
}
.textbutton:active, .textbutton:focus {
	border: 1px solid #AAA;
	border-bottom-color: #CCC;
	border-top-color: #999;
	box-shadow: inset 0 1px 2px #AAA;
	color: rgb(0,120,200);
	color: rgba(0,120,200,1);
}
.left {
	position: absolute;
	left: 0;
}
.right {
	right: 0;
	position: absolute;
}
.center {
	position: absolute;
	left: 50%;
	margin-left: -3em;
}
.buttonrow {
	position: relative;
	text-align: center;
	margin-bottom: 36px;
	margin-bottom: 2.25rem;
}
.buttonrow .textbutton {
	display: inline-block;
	width: 62%;
	margin-bottom: 12px;
}

/* 
EXPANDS
*/
.expandcontent {
	font-variant: small-caps;
	letter-spacing: 1.2;
	width: 100%;
	height: 50px;
	padding-top: 5px;
	padding-bottom: 10px;
	background: #DDD url(../images/shojidark.jpg) repeat;
	border-top: 1px solid #AAA;
	border-bottom: 1px solid #FFF;
	margin-bottom: 2rem;
}

.expandcontent li {
	text-align: center;
	display: block;
	float: left;
	width: 15%;
	margin: 0 2.5%;
}
.expandtitle {
	float: right;
	text-align: right;
	width: 100%;
	margin: 0;
	margin-top: 1.5em;
}
.expandtitle::after {
	content: "";
	float: none;
	display: block;
	height: 1px;
	border-top: 1px #aaa solid;
	border-bottom: 1px #fff solid;
	clear: both;	
}
.sidenotes {
	text-align: center;
	margin-top: -36px;
	margin-top: -2.25rem;
	margin-left: 10%;
	width: 80%;
	font-variant: small-caps;
	}

/*
TUMBLR SPECIFIC
*/
/* @todo cleanup tumblr classes */
.meta {
	font-size: 20px;
	font-size: 1.25rem;
}
.meta {
	color: #AAA;
}
.meta a:hover, #content header a:active, #content header a:focus {
	color: rgb(0,120,200);
	color: rgba(0,120,200,1);
}
.notes {
	text-align: right;
}
.tags {
	text-align: right;
} 
.quotation:before { 
	content: "\275D"; 
	color: #AAA;
}
.quotation:after { 
	content: "\275E"; 
	color: #AAA;
}
.source {
	text-align: right;
	font-style: italic;
}
.linkitem {
	text-align: center;
	font-size: 30px;
	font-size: 1.8rem;
	margin-bottom: 36px;
	margin-bottom: 2.25rem;
}
.chat ul {
	list-style-type: none;
}
.chat ul li:nth-child(odd) {
	color: #AAA;
}

.pagination {
	display: block;
	position: relative;
	margin-bottom: 36px;
	margin-bottom: 2.25rem;
	width: 100%;
	height: 36px;
	height: 2.25rem;
	font-size: 20px;
	font-size: 1.25rem;
}
#content header a:link {
	color: rgb(60,60,60);
}
#content header a:hover, #content header a:active, #content header a:focus {
	color: rgb(0,120,200);
	color: rgba(0,120,200,1);
}
.audiocontainer {
	position: relative;
	height: 32px;
	width: 30%;
	float: left;
	margin-right: 10px;
	border: 2px groove #AAA;
}
.audiocontainer iframe, .audiocontainter object, .audiocontainer embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*
MEDIA QUERIES
*/
/* CSS hack for statements that only apply on webkit-based browsers (Chrome, Safari, etc.) */
@media screen and (-webkit-min-device-pixel-ratio:0) {
		article:after {
		background-color: rgba(60,60,60,0.8);
		-webkit-background-clip: text;
		-moz-background-clip: text;
		-ms-background-clip: text;
		-o-background-clip: text;
		background-clip: text;
		color: transparent;
		text-shadow: rgba(255,255,255,0.7) 0px 1px 2px;
	}
	.inset {
		background-color: rgba(60,60,60,0.8);
		-webkit-background-clip: text;
		-moz-background-clip: text;
		-ms-background-clip: text;
		-o-background-clip: text;
		background-clip: text;
		color: transparent;
		text-shadow: rgba(255,255,255,0.7) 0px 1px 2px;
	}
	.spaced:before {
		background-color: rgba(60,60,60,0.8);
		-webkit-background-clip: text;
		-moz-background-clip: text;
		-ms-background-clip: text;
		-o-background-clip: text;
		background-clip: text;
		color: transparent;
		text-shadow: rgba(255,255,255,0.7) 0px 1px 2px;
	}
}
/* responsive sizing */
@media screen and (max-width: 860px) {
	header[role="banner"] ul {
		padding: 0 3%;
		width: 94%;
		max-width: 720px;
	}
	#content {
		padding: 0 3%;
		width: 94%;
		max-width: 720px;
	}
}
@media screen and (max-width: 760px) {
	html {
		font-size: 80%;
	}
	body {
		line-height: 1.4;
	}
}
@media screen and (max-width: 580px) {
	.hero {
		font-size: 24px;
		font-size: 1.5rem;
	}
	.expandcontent li {
		width: 16%;
		margin: 5px 2%;
	}
	.spacebottom {
	margin-top: 0px;
	}
}
@media screen and (max-width: 460px) {
	html {
		font-size: 70%;
	}
	body {
		line-height : 1.3;
	}
	header[role="banner"] ul {
		width: 98%;
		padding: 10px 1%;
	}
	content {
		width: 98%;
		padding: 0 1%;
	}
	h2, h3, h4 {
		font-size: 2rem;
		margin-bottom: 1.575rem;
	}
	.gammaheading {
	position: relative;
}
	.pagination {
		font-size: 1rem;
	}
	
}