/*
Theme Name: Onion Inc.
Theme URI: http://onionion.co.jp/
Description: Theme for Onion Inc.
Version: 1.0.0
Author: re:boot
Tags: 
*/

/*
 * commons
 */
* {
}
html, body{
	border: 0;
	margin: 0;
	padding: 0;
}
body {
	font-size: 12px;
	font-family: "Lucida Grande", Arial, "Hiragino Kakugo Pro W3", Meiryo, sans-serif;
	color: #333;
	vertical-align: baseline;
	background: #ededed url(images/top-bg.png) repeat-x;
}
a,
a:visited {
	color: #c00;
}
a:active,
a:hover {
	color: #fc0;
}
a img,
a:link img,
a:visited img {
	border: none
}

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
.clearfix {display: inline-table;}
/* \*/
* html .clearfix {height: 1%;}
.clearfix {display: block; zoom: 1;}
/* */

/*
 * layout
 */
#wrapper {
	margin: 40px auto 0 auto;
	min-width: 840px;
	width: 840px;
	background: #fff;
}
#wrapper-shadow {
	margin: 0 auto 40px auto;
	min-width: 840px;
	width: 840px;
	height: 20px;
	background: url(images/bottom-bg.png) repeat-x;
}

/* header */
#header {
	clear: both;
	padding: 0;
	height: 100px;
	overflow: hidden;
}
#header h1 {
	float: left;
	margin: 20px 10px;
	color: #000;
	height: 50px;
	width: 200px;
	background: url(images/header-h1.jpg) no-repeat;
}
#header h1 span {
	display: none;
}
#header h2 {
	text-align: right;
	margin: 40px 40px 0 0;
	font-size: 120%;
	text-transform: uppercase;
	color: #ddd;
}
#lang {
	text-align: right;
	margin: 10px 40px 0 0;
}
#lang ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
#lang ul li {
	display: inline;
	margin-right: 4px;
}

/* navigation */
#navigation {
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}

/* content */
#content {
	clear: both;
	padding: 10px 30px;
}
#content h1 {

	color: #666;
}
#content h2, h3, h4 {
	color: #666;
}

/* footer */
#footer {
	clear: both;
	border-top: 1px solid #eee;
	padding: 20px 30px;
}
#footer ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
#footer ul li {
	display: inline;
	margin-right: 6px;
}
#footer .copyright {
	float: right;
	font-size: 80%;
}

/*
 * content
 */
#content h2 {
	border: 1px solid #eee;
	padding: 5px 5px 4px 20px;
	height: 20px;
	font-size: 120%;
	background: url(images/post_h2_bg.png) 0 0 no-repeat;
}
.post {
	clear: both;
}
.post h3 {
	border-bottom: 1px solid #eee;
	padding: 5px;
	height: 20px;
	font-size: 120%;
}

/*
 * home
 */
#news-list {
}
#news-list ul {
	list-style: none;
}
#news-list ul li {
	padding-top:0px;
        padding-bottom:5px;
}
#banners {
	margin-top: 0px;
	float: right;
}
#banners ul {
	list-style: none;
}
#banners ul li {
	display: inline;
	margin: 4px;
}


/*
 * works
 */
#works-list {
	border: 1px solid #eee;
}
.work {
	clear: both;
	border: 1px solid #ddd;
	padding: 4px 20px;
	margin: 10px 0;
}
.work h3 {
	margin: 4px;
	border-bottom: 1px solid #eee;
}
.work img {
	float: left;
	margin: 4px 8px;
	border: 1px solid #ddd;
	padding: 2px;
}
.recent span {
	display: none;
}
.recent {
	position: absolute;
	margin: 0 -40px;
	width: 40px;
	height: 40px;
	background: url(images/recent-badge.png) no-repeat;
	_background: none;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://localhost/~niw/onionion/wp-content/themes/onion/images/recent-badge.png');
}

/*
 * navigation
 */
.navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.navigation ul li {
	display: inline;
}
.navigation ul li a,
.navigation ul li a:visited {
	float: left;
	width: 138px;
	height: 12px;
	padding: 9px 0;
	border-left: 1px solid #fff;
	border-right: 1px solid #eee;
	overflow: hidden;
	color: #666;
	text-decoration: none;
	text-align: center;
	background: url(images/navigation_a_bg.png) 0 0 no-repeat;
}
.navigation ul li a span {
	text-transform: uppercase;
}
.navigation ul li a span.hover {
	display: none;
}
.navigation ul li a.current {
	font-weight: bold;
	background: url(images/navigation_a_bg.png) 0 -60px no-repeat;
}
.navigation ul li a:hover,
.navigation ul li a.current:hover {
	color: #c00;
	background: url(images/navigation_a_bg.png) 0 -30px no-repeat;
}
.navigation ul li a:hover span,
.navigation ul li a.current:hover span {
	display: none;
}
.navigation ul li a:hover span.hover,
.navigation ul li a.current:hover span.hover {
	display: inline;
}

/*
 * form
 */
form {
	display: inline;
}
form .action {
	text-align: right;
	border-top: 1px solid #eee;
	padding: 10px 0;
}
form dl dt {
	clear: both;
	float: left;
	width: 160px;
	text-align: right;
	padding: 4px;
	font-weight: bold;
}
form dl dd {
	margin: 0 0 1.0em 170px;
	padding: 2px;
}

