/* Global reset
   http://meyerweb.com/eric/tools/css/reset/ 
*****************************************************************/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


@import url('asap-fontfacekit/stylesheet.css');

/*
intro: 0
doing: 610
nippon: 1610
other: 2090
bottom:2740
*/

html { 
	/*overflow-y: scroll;  always force a scrollbar in non-IE */
	}
	
body {
	background: #292929;
	overflow-x: hidden;
	color: #fff;
	font-size: 1em;
	line-height:1.4em;
	font-family: 'Asap-Regular',Tahoma,Arial,sans-serif;
	background-image: url('../img/bg-black.jpg');
}

a,
a:link,
a:active,
a:visited {
	-webkit-transition: color 0.25s ease-out;
	-moz-transition: color 0.25s ease-out;
	-o-transition: color 0.25s ease-out;
	transition: color 0.25s ease-out;
	color:#f93009;
	outline: none;
	text-decoration:none;
	}
a:hover { 
	color:#ccc;
		}
img { 
	display:block;
	}
p {
	margin:1em 0;
  }

.nippon-text a,
.nippon-text a:link,
.nippon-text a:active,
.nippon-text a:visited,
.bio a,
.bio a:link,
.bio a:active,
.bio a:visited{
	color: #fff;
	text-decoration: underline;
	-webkit-transition: color 0.25s ease-out;
	-moz-transition: color 0.25s ease-out;
	-o-transition: color 0.25s ease-out;
	transition: color 0.25s ease-out;
}
.nippon-text a:hover,
.bio a:hover
{
	color: #ccc;
}

.articles{
	width: 100%;
	overflow: auto;
}

.inner{
	width: 940px;
	margin: auto;
	padding-top: 50px;
	overflow: hidden;
	display: inline-block; /* Necessary to trigger "hasLayout" in IE */
	display: block; /* Sets element back to block */
}

#wrapper {
	position: relative;
	}

/* right-side nav
*****************************************************************/

nav#primary {
	z-index: 5;
    
	position: fixed;
	top: 30%;
	right: 0px;
	width:170px;
	font-size: 0.9em;
}

nav#primary.hide{
    width:20px;
}

nav#primary li {
	position: relative;
	height: 32px;
	padding-left: 0px;
	padding-top: 10px;
}
nav#primary a {
	display: block;
	width: 150px;
	height: 32px;
    line-height:32px;
    background-color:rgba(0,0,0,0.6);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000)"; /* IE8 */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);   /* IE6 & 7 */
      zoom: 1;
    -moz-border-radius-topleft: 16px;
    -moz-border-radius-bottomleft: 16px;
    border-radius: 16px 0 0 16px;
    
    padding-left: 20px;
}
nav#primary a,
nav#primary a:link,
nav#primary a:visited{
	color: #fff;
}
nav#primary a:hover, nav#primary a.active {
	color: #f93009;
    background-color:rgba(255,255,255,0.6);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99FFFFFF,endColorstr=#99FFFFFF)"; /* IE8 */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#99FFFFFF,endColorstr=#99FFFFFF);   /* IE6 & 7 */
      zoom: 1;
}

/* in-page nav
*****************************************************************/

.quick-nav p{
	margin:0em 0;
}

.quick-nav nav.next-prev {
	margin: 0px;
	float: left;
	margin-right: 20px;
	}
	
nav.next-prev {
	margin: 20px 0 0 0;
	float: left;
	margin-left: 50px;
	}
a.prev,
a.next {
	display: block;
	width: 30px;
	height: 62px;
	text-indent: -9999px;
	}
a.prev {
	margin: 0 auto 5px auto;
	background: transparent url('../img/scroll-arrow-up.png') 0 0 no-repeat;
	}
a.prev:hover {
	background: transparent url('../img/scroll-arrow-up.png') -33px -0px no-repeat;
	}
a.next {
	margin: 5px auto 0 auto;
	background: transparent url('../img/scroll-arrow-down.png') -1px 0 no-repeat;
	}
a.next:hover {
	background: transparent url('../img/scroll-arrow-down.png') -34px 0px no-repeat;
	}

#content {
	z-index: 4;
	position: relative;
	padding: 0px;
	margin: 0 auto;
	}
	
#content h1 {
	margin:  10px 0;
	font-size: 24px;
	font-family: 'Asap-Regular',Tahoma,Arial,Sans-serif;
	font-weight: normal;
	line-height: 28px;
	color: #fff;
			}			
#intro{
	height: 610px;
	padding-top: 30px;
	}

#doing{	
	background-image: url('../img/bg-blue.jpg');
	height:1000px;
}

#nippon{
	background-image: url('../img/bg-yellow.jpg');
	height: 480px;
    overflow:hidden;
    position:relative;
}

#other{
	height:700px;
}

.top-bg{
	height: 260px;
	background-image: url('../img/top-bg.png');
	background-repeat: repeat-x;
	z-index:-1;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}
.bottom-bg{
	height: 260px;
	background-image: url('../img/bottom-bg.png');
	background-repeat: repeat-x;
	z-index:-1;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
}

.intro-text{
	width: 460px;
	float: left;	
    
}

.intro-image{
	width: 460px;
	float: right;

}

.doing-text{
	width: 460px;
	margin-bottom: 30px;	
}

.bio{
	float: left;
	width: 290px;
	padding-left: 20px;
}

.bioImage{
    overflow:hidden;
    display:block;
    height:295px;
}

    .bioImage.parallax img{
        margin-top:290px;
    }

.nippon-image{	
	float: left;
	margin-left: 80px;
}

.nippon-image.parallax{
    position:absolute;
    display:block;
    overflow:hidden;
    height:480px;
}


.nippon-text{
	width: 460px;
	float: right;
	margin-right: 80px;
}

.other-links{
	width: 220px;
	float: left;
	margin: 0px 10px;
}

.friends-links,
.bye{
	width: 330px;
	float: left;
	margin: 0px 10px;
}

.bye{
	margin-top: 190px;
}

.bye.parallax{
    margin-left:590px;
    position:absolute;
    display:block;
    overflow:hidden;
    height:450px;
}


.red-icon{
	float: left;
	margin-right: 10px;
	margin-top: -5px;
}

.other-links img{
	-webkit-transition: opacity 0.25s ease-out;
	-moz-transition: opacity 0.25s ease-out;
	-o-transition: opacity 0.25s ease-out;
	transition: opacity 0.25s ease-out;
	}
	
.other-links img:hover{
	filter:alpha(opacity=75);
	-moz-opacity: 0.75;
	opacity: 0.75;
	-khtml-opacity: 0.75;
	}
	
}.icon-links{
	overflow:auto;
	}
	
.icon-links img{
	float: left;
	margin-right: 10px;
	-webkit-transition: opacity 0.25s ease-out;
	-moz-transition: opacity 0.25s ease-out;
	-o-transition: opacity 0.25s ease-out;
	transition: opacity 0.25s ease-out;
	}
	
.icon-links img:hover{
	filter:alpha(opacity=75);
	-moz-opacity: 0.75;
	opacity: 0.75;
	-khtml-opacity: 0.75;
	}
	
.linklist-l{
	float:left;
	width: 120px;
}

.linklist-r{
	float: right;
	width: 180px;
}

/*iPad landscape */

@media only screen and (max-device-width: 1024px) and (orientation: landscape) {

nav#primary {
    display:none
} 

}	
	
/*smaller screens*/

@media only screen and (min-width: 749px) and (max-width: 900px){


body {
	color: #fff;
	font-size: 0.9em;
	line-height:1.2em;
	}
	
.inner{
	width: 640px;
}

#intro{
	height: auto;
	}

#doing{	
	height: auto;
	
}

#nippon{
	height: auto;
}

#other{
	height: auto;
}

#content h1 {
	font-size: 18px;
	}
	
.quick-nav,
.next-prev{
	display:none;
	}
	
.intro-text{
	width: 300px;
	margin-bottom: 40px;
	}
	
.intro-image{
	width: 300px;
	
}

.bioImage,.nippon-image{
	float: left;
	margin-right: 20px;
}

.intro-image{
	padding-top: 120px;
}

.intro-image img,
.bioImage img{
	width: 280px;
	}
    
.other-links p{
	line-height: 1.5em;
}

nav#primary {
	display:none
}

.bio{
	float: auto;
	width: auto;
	margin-bottom: 40px;
	padding-left: 0px;
}

.doing-text{
	width: auto;
	margin-bottom: 30px;	
}


.nippon-image{	
	margin-left: 0px;
}

.nippon-image img{	
width:280px;
}

.nippon-text{
	width: 300px;
	float: right;
	margin-right: 0px;
	margin-bottom: 40px;
}

.other-links{
	
	}


.friends-links,
.bye{
	}

.linklist-l{
	}

.linklist-r{
	
}

.bye img{
	width: 280px;
}

.bye{
	margin: 40px 0;
}


}/*smaller*/


/*mobile*/

@media only screen and (max-width: 750px),  only screen and (max-device-width: 300px){

html {
        -webkit-text-size-adjust: none;
    }

body {
	color: #fff;
	font-size: 0.9em;
	line-height:1.2em;
	}
	
.inner{
	width: 90%;
}

#intro{
	height: auto;
	}

#doing{	
	height: auto;
	
}

#nippon{
	height: auto;
}

#other{
	height: auto;
}


#content h1 {
	font-size: 18px;
	}
	
.quick-nav,
.next-prev{
	display:none;
	}
	
.intro-text{
	width: auto;
	float: auto;
	}
	
.intro-image{
	width: auto;
	float: none;
	margin-bottom: 40px;
}

.intro-image img,
.bioImage img{
	width: 280px;
	}
    
.bioImage{
    overflow:hidden;
}    

.other-links p{
	line-height: 1.5em;
}
nav#primary {
	display:none
}

.bio{
	float: auto;
	width: auto;
	margin-bottom: 40px;
	padding-left: 0px;
}

.doing-text{
	width: auto;
	margin-bottom: 30px;	
}


.nippon-image{	
	float: none;
	margin-left: 0px;
}

.nippon-image img{	
width:280px;
}

.nippon-text{
	width: auto;
	float: auto;
	margin-right: 0px;
	margin-bottom: 40px;
}

.other-links{
	width: auto;
	float: none;
	margin: 0px 0px 30px 0px;
}


.friends-links,
.bye{
	width: auto;
	float: none;
	margin: 0px 0px;
}

.linklist-l{
	float:auto;
	width: 280px;
}

.linklist-r{
	float: none;
	width: 280px;
}

.bye img{
	width: 280px;
}

.bye{
	margin: 40px 0;
}

}/*mobile*/

