/*
Theme Name: after design
Description: after-design initial design.
Version: 1
Author: Takumi Yoshida
Author URI: http://after-design.com
*/

html, body {
	height: 100%;
	font-family: sans-serif, "Helvetica Neue",Helvetica, Verdana, Arial;
	background-position: center top;
/*	background-image: url(images/bg_tile.jpg);*/
	background-repeat: repeat;
/*	background-attachment: fixed;*/
	background-color: #f8f8f8;
	color: #4e4e4e;
	font-size: 95%;
}


/*-----------------------
	General styling
-----------------------*/
em {
	font-style: italic;
}
strong {
	font-weight: bold;
}
.alignright	{	text-align: right;	}
.alignleft	{	text-align: left;	}
.aligncenter{	text-align: center;	}

.floatright	{	float: right;		}
.floatcenter{	margin: auto auto;	}
.floatleft	{	float: left;		}
.floatnone	{	float: none;		}
.clear 		{	clear:both;			}

a,a:visited {
	color: inherit;
	text-decoration: none;
}
a:hover {
	background: #666;
	color: white;
}
sup {
	vertical-align: super;
}

.shadows {
  box-shadow: 0px 3px 5px #ccc;
  -moz-box-shadow: 0px 3px 5px #ccc;
  -webkit-box-shadow: 0px 3px 5px #ccc;
}
.fill_hover ul li:hover {
	background: #666;
	color: white;
}

.border,.wp-caption {
	display: block;
	margin-top: 0!important;
	background: #fff;
	border: 15px solid #fff;
	/*padding: 15px;*/
	box-shadow: 0 3px 5px #666;
	-moz-box-shadow: 0 3px 5px #666;
	-webkit-box-shadow: 0px 3px 5px #666;
}

/*Appearance of Drop Shadow Text*/
.highContrast {
	position: relative;
	z-index: 10;
}
.highContrast span {
	position: relative;
	z-index: 15;
	line-height: 1em!important;
}
span.shadow{
	position: absolute;
	z-index: 10;
	top: 2px;
	left: 0;
	width: 530px;
	color: #ccc;
	z-index: 10;
}	


/*---------------------------------
			Box Layouts
---------------------------------*/
#wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	height: auto !important;
	min-height: 100%;
	
	background-image: url(images/bg_header1.jpg);
	background-repeat: no-repeat;
	background-position: top center;
/*	background-attachment: fixed;*/
}
#contents {
	position: relative;
	z-index: 5;
	margin-right: auto;
	margin-left: auto;
	width: 960px;
/*	this padding avoids the footer overlapping to the main content area*/
	padding-bottom: 200px;
}
#header {
	width: 100%;
	height: 162px;
	margin-bottom: 1em;
	/*outline: 1px solid blue;*/
}

#main_column {
	float: left;
	width: 560px;
/*	border-right: 1px solid #CCC;*/

}
.sidebars {
	width: 200px;
}

#footer_wrapper {
	position: absolute;
	z-index: 1;
	bottom: 0;
	width: 100%;
	height: 330px;
/*	border-top: 1px solid white;
	background-color: #222;*/
	background: transparent url(images/bg_footer1.jpg) no-repeat;
	background-position: bottom center;
	clear: both;
}

/*---------- General spacing between boxes ---------*/

#main_column div{
	margin-top: 1.5em;
}
.sidebars div{
	margin: 1.5em;
}
#sidebar_R div{
	margin-left: 0.9em;
}
#sidebar_L div{
	margin-right: 0.9em;
}
* {
	line-height: 1.4em;
}



/*---------------------------------
		Individual elements
---------------------------------*/

/*---------- header ---------*/
#header {
	position: relative;
	color: #BBB;
	font-size: 0.9em;
}
#header h1 #title{
	visibility: hidden;
	display: none;
}
#header h1 a,#header h1 a:hover {
	background: none;
	text-decoration: none;
}
#header #description {
	position: absolute;
	bottom: 35px;
	left: 1.6em;
	padding-top: 5px;
	letter-spacing: 0.15em;
	width: 920px;
}
#header #search {
	position: absolute;
	bottom: 35px;
	right: 1.6em;
	width: 200px;
	height: 20px;
	background: transparent url(images/search_bg.png) no-repeat;
}
#search form input {
	border: 0px solid black;
	background:none;
	color: #DDD;
}
#search form input:focus {
	outline: 0;
	color: white;
}
#search #field {
	position: relative;
	top: 1px;
	margin-left: 10px;
	float: left;
	width: 12em;
	line-height: 20px;
}
.jp #field {
	top: 2px!important;
	font-size: 0.9em;
}
#search #icon_search {
	position: absolute;
	top: 2px;
	right: 10px;
	vertical-align: middle;
}

/*---------- general sidebar settings ---------*/
.sidebarBox {
	padding-bottom: 5px;
}
.sidebarBox h2 {
	letter-spacing: 0.05em;
	/*font-weight: 600;*/
	font-size: 1.1em;
	border-bottom: 1px solid #ccc;
	margin-bottom: 0.5em;
}
.sidebarBox ul, .sidebarBox p {
	font-size: 0.9em;
	margin-bottom: 1.2em;
}
.sidebarBox ul.languages {
	clear: both;
	margin-top: 1.5em;
}
.sidebarBox ul#links li ul li{
	margin-left: 1.5em;
	list-style: outside disc;
}
.sidebarBox .icl_lang_sel_current {
	font-weight: bold;
}
.sidebarBox h3 {
	margin-bottom: 0.4em;
}
.sidebarBox ul.list_separate li{
	border-bottom: 1px dotted #ccc;
	padding: 3px 0;
}
.sidebarBox ul.list_separate em {
	color: #CCC;
}

/*---------- Main contents column ---------*/
#main_column h2#page_title {
	margin-top: 1.5em;
	padding: 0 15px;
	font-weight: bold;
	text-align: center;
}

.postBox {
	margin-bottom: 4em!important;
	padding: 0em 15px 2em;
	background: transparent url(images/bg_post.png) no-repeat;
	background-position: bottom center;
	
/*	box-shadow: 0px 3px 6px #BBB;
	-moz-box-shadow: 0px 3px 6px #BBB;
	-webkit-box-shadow: 0px 3px 6px #BBB;*/
}
#wp_page_numbers {
	margin: 1.7em 1.5em 1.5em !important;
	font-size: 0.9em;
}
#wp_page_numbers ul {
	text-align: center;
}
#wp_page_numbers ul li {
	display: inline;
	list-style: none;
	margin: auto 0.5em;
}
#wp_page_numbers ul li.active_page {
	font-weight: bold;
}
#wp_page_numbers ul li a {
	padding: 3px;
}
.postBox .date {
	padding-top: 1px;
	height: 23px;
	text-align: center;
	font-size: 0.7em;
	color: #DDD;
	
	background: transparent url(images/bg_date.png) no-repeat;
	background-position: top left;
}
.sticky .date {
	background-image: url(images/bg_date_sticky.png);
}

.postBox h2 {
	margin: 0.5em auto 0;
	padding-bottom: 0.4em;
	width: 100%;
	font-size: 2em;
	color: #444;
	line-height: 1em;
	border-bottom: 1px solid #ccc;
	
/*	text-shadow: 2px 2px 2px #BBB;
	-moz-text-shadow: 2px 2px 2px #BBB;
	-webkit-text-shadow: 2px 2px 2px #BBB;*/
}
.postBox h2 a, .postBox h2 a:hover, .postBox h2 a:visited {
	width: 100%;
	text-decoration: none;
	line-height: 1em;
}
.postBox h2 a:hover {
	color: #000;
	background: none;
}
.postBox h3 {
	font-family: "Helvetica Neue",HelveticaNeue, sans-serif;
	font-size: 1.4em;
	margin-top: 2em;
	margin-bottom: .6em;
	padding-left: 6px;
	border-bottom:1px solid #ddd;
	border-left:8px solid #ddd;
}
.postBox h4 {
}
.postBox .floatright {
	margin-left: 1em;
	margin-bottom: 1em;
}
.postBox .floatleft {
	margin-right: 1em;
	margin-bottom: 1em;
}
.postBox p {
	margin: 0 auto 1.5em;
}
.postBox p.wp-caption-text {
	margin: 6px 0 -10px;
	text-align: right;
	font-style: italic;
	font-size: 0.8em;
	color: #999;
}
.postBox p a {text-decoration: underline; color: black;}
.postBox p a:hover,.postBox .tags a:hover {background-color: #666;color: white;}
.postBox p a:visited,.postBox .tags a:visited {text-decoration: none;}
.postBox p a.more-link {
	width: 100%;
	display: block;
}

span.more {
	background: #333;
	opacity: .8;
	padding: 4px 1em;
	color: #eee;
	font-size: 0.8em;
	float: right;
	
	border-radius: 4px!important;
	-moz-border-radius: 4px!important;
	-webkit-border-radius: 4px!important;
	
	box-shadow: 0 3px 5px #666!important;
	-moz-box-shadow: 0 3px 5px #666!important;
	-webkit-box-shadow: 0px 3px 5px #666!important;
}
a.more-link:hover span,span.more:hover {
	background: #666;
}
.postBox img {
/*	margin: 1.5em auto;*/
}

.postBox .tags {
	/*float: right;
	position: relative;
	top: -0.5em;*/
	margin: 0 0 1em;
	padding: 0 0 0 18px;
	background: transparent url(images/icon_tag.png) no-repeat;
	line-height: 16px;
	font-size: 0.8em;
	color: #777;
}
.postBox .tags a {
	text-decoration: none;
}
.postBox blockquote,.postBox ol.related {
	width: 490px;
	margin:1.5em auto;
	padding: 10px;	
	border-top: 1px solid #CCC; 
	border-bottom: 1px solid white; 
	background: #f0f0f0;
}
.postBox blockquote {
	position: relative;
	background-image: url(images/bg_quote.png);
	background-repeat: no-repeat;
	width: 400px;
	padding: 16px 55px 0;
/*	text-indent: 30px;*/
}
.postBox blockquote .quote_end {
	position: absolute;
	right: 0px;
	bottom: 2.5em;
	width: 40px;
	height: 32px;
	background: transparent url(images/bg_quote_end.png) no-repeat;
}
.postBox cite {	
	display: block;
	margin: 1.5em 0 1em;
	text-align: right;
	font-size: 0.9em;
	font-style: italic;
}
.postBox ul, .postBox ol {
	margin: 1.5em 8px;
	padding-left: 2em;
}
.postBox ul li,.postBox ol li {
	margin-bottom: 0.4em;
	line-height: 16px;
}
.postBox ul li {
	list-style: outside disc;/*url(images/hole_circle_blurred.png);*/
}
.postBox ol li {
	list-style: outside decimal;
}
.postBox ol.related {
	margin-top: 0.5em;
}
.postBox ol.related li {
	padding-left: 1.5em;
	list-style: none;
	background: transparent url(images/icon_bullet.png) no-repeat;
}
.postBox p.meta {
	margin-top: 3em;
	padding: 0.5em 0;
	font-size: 0.9em;
	border-top: 1px solid #CCC;
	border-bottom: 1px solid #FFF;
	text-align: center;
}
.postBox p a {
	text-decoration: none;
}



/*---------- footer ---------*/

#footer {
	position: absolute;
	z-index: 10;
	bottom: 0;
	margin: auto auto 0;
	width: 100%;
	height: 129px;
	background: transparent url(images/footer.png) no-repeat;
	background-position: bottom center;
	color: #AAA;
	font-size: 0.7em;
}
#footer_text {
	position: relative;
	right: 200px;
	margin: 45px auto 20px;
	width: 500px;
	text-align: right;
}
#footer_text p {
	line-height: 2em;
}


/* CLEAR FIX*/
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */