/*  
Theme Name: iTheme
*/

/* html5 Reset */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video { margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent; }

body { line-height:1; }
img { vertical-align:bottom; }

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section { display:block; }

nav ul { list-style:none; }

blockquote, q { quotes:none; }

blockquote:before, blockquote:after, q:before, q:after { content:''; content:none; }

a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }

/* change colours to suit your needs */
ins { background-color:#ff9; color:#000; text-decoration:none; }

/* change colours to suit your needs */
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }

del { text-decoration: line-through; }

abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }

table { border-collapse:collapse; border-spacing:0; }

/* change border colour to suit your needs */
hr { display:block; height:1px; border:0; border-top:1px solid #cccccc; margin:1em 0; padding:0; }

input, select { vertical-align:middle; }




/* ---------------------------------------------------------------------------------------------------- */

body {
	background: #111 url(/img/common/bg.png) center -100px repeat;
	background-attachment: fixed;
	font: 12px/1.5em Helvetica, Arial, "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color: #111;
}

/* links
---------------------------------------- */

a:link { color: #5E8EA2; outline: none; text-decoration: none; }
a:visited { color: #5E8EA2; outline: none; text-decoration: none; }
a:hover { color: #5E8EA2; outline: none; text-decoration: none; }
a:active { color: #5E8EA2; outline: none; text-decoration: none; }

/* layout
---------------------------------------- */

#wrapper {
	background: url(/img/common/bg2.png) center 0 repeat;
	padding: 100px 0 0 0;
}
#page {
	width: 800px;
	margin:0 auto;
}

/* header
---------------------------------------- */

header {
    z-index: 5000;
	background: url(/img/common/bg-header.png) 0 0 repeat;
	position: fixed ;
	top: 0;
	left: 0;
	width: 100%;
	height: 53px;
	box-shadow: 0 1px 13px 0 #000000;
	-moz-box-shadow: 0 1px 13px 0 #000000;
	-webkit-box-shadow: 0 1px 13px 0 #000000;
}
header:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
header h1 { float: left; margin: 16px 20px 0 19px; }
header h1 a{
	text-indent: -9999px;
	display: block;
	width: 192px;
	height: 25px;
	background: url(/img/common/logo.png) 0 0 no-repeat;
}
header li { float: left; margin: 17px 20px 0 0; }
header li a:link, header li a:visited, header li a:hover, header li a:active{
	color: #777;
	text-shadow: 0 3px 1px #000000;
}
header p { 
	margin: 11px 20px 0 0;
	float: right;
	background: -webkit-gradient(linear, 0 0, 0 bottom, from(#454545), to(#111111));
	background: -moz-linear-gradient(#454545, #111111);
	background: linear-gradient(#454545, #111111);

	-webkit-border-radius: 7px ;
	-moz-border-radius: 7px ;
	border-radius: 7px ;

	box-shadow: 0 2px 7px 0 #000000;
	-webkit-box-shadow: 0 2px 7px 0 #000000;
	-moz-box-shadow: 0 2px 7px 0 #000000;

	border: solid 1px #454545;
	background: #2b2b2b\9; 
 }
header p a {
	text-indent: -9999px;
	display: block;
	width: 130px;
	height: 30px;
	background: url(/img/common/twi-follow.png) center no-repeat;
}

/* footer
---------------------------------------- */

footer strong{
	font-weight:normal;
	font-size: 85%;
	color:#777;
	margin: 0 20px 8px 20px;
}
footer p {
	border-top: solid 1px #2b2b2b;
	width: 100%;
	-moz-opacity:0.9;
	opacity:0.9;
}
footer p span{
	display: block;
	
	background: -moz-linear-gradient(#454545, #111111);
	background: -webkit-gradient(linear, 0 0, 0 bottom, from(#454545), to(#111111));
	background: linear-gradient(#454545, #111111);
	background: #111\9; 
}
footer p a {
	text-indent: -9999px;
	display: block;
	height: 33px;
	background: url(/img/common/pagetop.png) center no-repeat;
}

/* page
---------------------------------------- */

#page p {
	margin: 0px 0px 15px;
}
#page img {
	border: none;
}
#page ul {
	margin: 5px 0px 15px;
	padding-left: 20px;
}
#page ul li {
	margin: 0px;
}
#page ol {
	margin: 5px 0px 15px;
	padding-left: 20px;
}
#page ul li {
	margin: 0px;
}
#page form {
	margin: 0px;
	padding: 0px;
}
#page small {
	font-size: 90%;
}

/* ------------------------------------- header area  */
#page #header {
	position: relative;
}
/* site title */
#page h1 {
	color: #FFFFFF;
	margin: 0px;
	padding: 0px;
	font-size: 136%;
}
#page h1 a, h1 a:visited {
	color: #FFFFFF;
	text-decoration: none;
}
#page h1 a:hover {
	color: #ffffff;
	text-decoration: none;
}
#page .description {
	position: absolute;
	top: 77px;
	left: 25px;
	color: #ffffff;
	font: 12px Arial, Helvetica, sans-serif;
}
/* search form */
#page #searchform {
	position: absolute;
	top: 0px;
	right: 0px;
	background: url(images/searchform-bg.png) no-repeat right bottom;
	height: 37px;
	width: 210px;
}
#page #searchform #s{
	background: #ffffff url(images/form-field-bg.gif) no-repeat ;
	height: 17px;
	width: 148px;
	margin: 6px 5px 0px 10px;
	padding: 3px 7px 2px 5px;
	color: #999999;
	border: none;
}
#page #searchform #searchsubmit { 
	background: url(images/search-btn.png) no-repeat left top;
	height: 24px;
	width: 24px;
	border: none;
	text-indent: -999%;
	line-height: 1px;
	margin-top: 6px;
}

/* ------------------------------------- main content area  */
#page #left-col {
	width: 545px;
	float: left;
	margin-top: 11px;
}
/* main menu */
#page #nav {
	background: url(images/content-top-bg2.png) no-repeat left top;
	height: 26px;
}
#page #nav ul{
	list-style: none;
	margin: 0px 0px 0px 25px;
	padding: 0px;
	font: bold 12px/100% Arial, Helvetica, sans-serif;
}
#page #nav ul li{
	margin: 0px 1px 0px 0px;
	padding: 0px;
	float: left;
}
#page #nav ul li a{
	padding: 5px 7px 6px 7px;
	text-decoration: none;
	color: #555555;
	display: block;
}
#page #nav li a:visited{
	text-decoration: none;
	color: #555555;
}
#page #nav li a:hover, #page #nav .current_page_item a{
	text-decoration: none;
	background: #2e91c6 url(images/nav-item-hover.gif) repeat-x;
	color: #ffffff;
}
/* sub menu */
#page #subnav {
	background: #ecebeb;
}
#page #subnav ul {
	margin: 0px;
	padding: 3px 0px 18px 5px;
	list-style: none;
	font: 11px/100% Arial, Helvetica, sans-serif;
}
#page #subnav li {
	border-right: 1px solid #D8D8D8;
	padding: 0px 7px;
	margin: 0px;
	float: left;
}
#page #subnav li a, #page #subnav li a:visited, #page #subnav .page_item {
	text-decoration: none;
	color: #333333;
}
#page #subnav .current_page_item a, #page #subnav .current_page_item a:visited {
	color: #3b9acc;
}
#page #subnav li a:hover {
	text-decoration: none;
	color: #3b9acc;
}

/* content */
#page #content {
	padding: 25px 25px 15px 25px;
	width: 495px;
	background: #ffffff;
	clear: both;
	overflow: hidden;
}
#page .post {
	padding: 0px;
	clear: both;
	overflow: hidden;
}
#page .post .date {
	height: 50px;
	width: 45px;
	background: url(images/calendar.gif) no-repeat;
	font: normal 22px Arial, Helvetica, sans-serif;
	color: #666666;
	text-align: center;
	padding: 0px 2px 0 0;
	line-height: 100%;
	float: left;
}
#page .post .date span {
	height: 16px;
	display: block;
	font: normal 11px Arial, Helvetica, sans-serif;
	color: #ffffff;
	text-align: center;
	padding-top: 5px;
}
#page .post .title {
	float: left;
	width: 495px;
}
#page .postdata {
	font-size: 90%;
	color: #999999;
}
#page .postdata a, .postdata a:visited {
	color: #999999;
	text-decoration: none;
}
#page .postdata a:hover {
	color: #44a1d0;
	text-decoration: none;
}
#page .postdata .category{
	background: url(images/mini-category.gif) no-repeat;
	padding-left: 18px;
	float: left;
}
#page .postdata .comments{
	background: url(images/mini-comment.gif) no-repeat;
	padding-left: 18px;
	float: right;
}
#page .mini-add-comment {
	background: url(images/mini-down-arrow.gif) no-repeat left center;
	padding-left: 12px;
	float: right;
}
#page .entry {
	padding: 10px 0px 5px;
	clear: both;
}

/* post title */
#page h2 {
	color: #333333;
	margin: 10px 0 2px;
	padding-top: 10px;
	padding-bottom: 4px;
	font: bold 150%/100% "Lucida Grande", Arial, sans-serif;
	border-top: solid 1px #CCCCCC;
        line-height: 25px;

}
#page h2 a, #page h2 a:visited {
	color: #333333;
	text-decoration: none;
}
#page h2 a:hover {
	color: #44a1d0;
	text-decoration: none;
}
#page h3 {
	color: #666666;
	margin: 12px 0px 8px;
	font: bold 125%/125% "Lucida Grande", Arial, sans-serif;
}

/* next & previous page navigation */
#page .page-nav {
	clear: both;
	background: url(images/navigation-bg.gif) no-repeat left center;
	height: 21px;
}
#page .page-nav a, #page .page-nav a:visited {
	color: #ffffff;
	text-decoration: none;
}
#page .page-nav a:hover {
	color: #000000;
	text-decoration: none;
}
#page .previous-entries a {
	float: left;
	padding-left: 10px;
	margin-left: 10px;
	background: url(images/navigation-left.gif) no-repeat left center;
}
#page .next-entries a {
	float: right;
	padding-right: 10px;
	margin-right: 10px;
	background: url(images/navigation-right.gif) no-repeat right center;
}

/* next & previous post navigation */
#page .post-nav {
	clear: both;
	padding-bottom: 35px;
	margin-top: -15px;
	font-size: 95%;
}
#page .post-nav a, #page .post-nav a:visited {
	color: #999999;
	text-decoration: none;
}
#page .post-nav a:hover {
	color: #000000;
	text-decoration: none;
}
#page .post-nav .previous a {
	float: left;
	padding-left: 20px;
	background: url(images/post-nav-previous.gif) no-repeat left center;
}
#page .post-nav .next a {
	float: right;
	padding-right: 20px;
	text-align: right;
	background: url(images/post-nav-next.gif) no-repeat right center;
}

/* ------------------------------------- comment area  */
#page h3#comments {
	background: url(images/comments.gif) no-repeat;
	padding-left: 22px;
	font: normal 140%/120% Arial, Helvetica, sans-serif;
	clear: both;
}
#page h3#respond {
	background: url(images/respond.gif) no-repeat;
	padding-left: 22px;
	font: normal 140%/120% Arial, Helvetica, sans-serif;
	margin: 20px 0px 0px;
	clear: both;
}
/* commentform */
#page #commentform {
	margin-top: 10px;
}
#page #commentform label {
	font-weight: bold;
	color:#666;
	font-size: 100%;
	padding-left: 5px;
}
#page #commentform small {
	color: #999999;
	font-size: 90%;
}
#page #commentform input {
	font: 110% Arial, Helvetica, sans-serif;
	width: 220px;
	padding: 5px 3px 3px 7px;
	background: url(images/form-field-bg.gif) no-repeat;
	border-top: 1px solid #e6e6e6;
	border-right: 1px solid #E2E2E2;
	border-bottom: 1px solid #E2E2E2;
	border-left: 1px solid #e6e6e6;
}
#page #commentform textarea {
	font: 110% Arial, Helvetica, sans-serif;
	width: 480px;
	height: 140px;
	background:url(images/form-field-bg.gif) no-repeat;
	border: solid 1px #e6e6e6;
	padding: 5px 3px 3px 7px;
}
#page #commentform #submit {
	font: 12px/100% Arial, Helvetica, sans-serif;
	color: #000000;
	background: url(images/submit-btn.gif) no-repeat top left;
	border: none;
	width: 135px;
	height: 25px;
	padding-bottom: 6px;
	margin-left: 355px;
}
#page #commentform #submit:hover {
	background: url(images/submit-btn.gif) no-repeat bottom left;
}
#page #commentform textarea:focus, #page #commentform input[type="text"]:focus {
	border: solid 1px #3b9acc;
}

/* comment list */
#page .commentlist {
	margin: 10px 0px;
	padding-left: 45px;
	line-height: 130%;
}
#page .commentlist li{
	padding: 5px 10px;
}
#page .commentlist .alt {
	background: #F4F4F4;
}
#page .commentlist cite {
	font-weight: bold;
	font-style: normal;
	font-size: 110%;
	color: #669900;
}
#page .commentlist cite a, #page .commentlist cite a:visited {
	color: #669900;
}
#page .commentlist small {
	margin-bottom: 5px;
	display: block;
	font-size: 87%;
}
#page .commentlist small a, #page .commentlist small a:visited{
	color: #999999;
}


/* ------------------------------------- sidebar area  */
/* sidebar */
#page #sidebar {
	float:right;
	width: 210px;
	color: #666666;
	line-height: 160%;
}
#page #sidebar p {
	margin: 0px 0px 15px;
}
#page #sidebar h3 {
	font: bold 12px/100% Arial, Helvetica, sans-serif;
	color: #666666;
}
#page #sidebar h3 a, #page #sidebar h3 a:visited {
	color: #666666;
}
#page #sidebar h3 img {
	vertical-align: middle;
}
#page #sidebar a, #page #sidebar a:visited {
	color: #000000;
	text-decoration:none;
}
#page #sidebar a:hover, #page #sidebar a:focus, #page #sidebar a:active {
	text-decoration:underline;
}
#page #sidebar ul {
	list-style: none;
	margin: 0 ;
	padding: 0 ;
}
#page #sidebar ul li {
	background: url(images/bullet-orange.gif) no-repeat;
	padding-left: 18px ;
}
#page #sidebar ul li ul li {
	background: url(images/bullet-grey.gif) no-repeat;
	padding-left: 12px ;
}

/* ------------------------------------- widget styles  */
/* archives widget */
#page #archives ul li {
	background: url(images/mini-archive.gif) no-repeat;
}
/* recent comments widget */
#page #recent-comments ul li {
	background: url(images/mini-comment.gif) no-repeat;
}
/* category widget */
#page #categories ul li {
	background: url(images/mini-category.gif) no-repeat;
}
/* recent posts widget */
#page #recent-posts ul li {
	background: url(images/mini-page.gif) no-repeat;
}
/* links widget */
#page #links ul li {
	background: url(images/mini-blogroll.gif) no-repeat;
}
/* meta */
#page #meta .rss {
	background: url(images/mini-rss.gif) no-repeat;
}
#page #meta .login {
	background: url(images/mini-user.gif) no-repeat;
}
#page #meta .check {
	background: url(images/mini-check.gif) no-repeat;
}
#page #meta .wordpress {
	background: url(images/mini-wp.gif) no-repeat;
}
/* calendar */
#page #calendar table {
	margin: 0px auto;
}
#page #calendar td {
	padding: 0px 4px;
}

/* alignments */
#page .center {
	text-align: center;
}
#page img.center, #page img[align="center"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
#page .left {
	float: left;
}
#page img.left, #page img[align="left"] {
	float:left;
	margin: 2px 10px 5px 0px;
}
#page .right {
	float: right;
}
#page img.right, #page img[align="right"] {
	float:right;
	margin: 2px 0px 5px 10px;
}
#page .clear {
	clear:both;
}
#page hr.clear {
	clear:both;
	visibility: hidden;
	margin: 0px;
	padding: 0px;
}
#page .hidden {
	clear: both;
	visibility: hidden;
}
