/*  
Theme Name: brescia
Theme URI: http://www.brescia.co.jp
Description: theme for BRESCIA
Version: 1.0
Author: Yusuke Arai
Author URI: http://www.brescia.co.jp
*/

/*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, font, 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 {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Begin Typography & Colors */
body {
	background-image: url(image/common/bg_body.jpg);
	background-repeat:repeat-y;
	background-position:center;
	background-color: #FFFFFF;
	margin-right: auto;
	margin-left: auto;
    font-family: "ＭＳ ゴシック", "Osaka−等幅", sans-serif;
    font-size: 0.62em;
    line-height: 1.4em;
    color: #333333;
}

#page {
	background-color: #FFFFFF;
	text-align: left;
	position:relative;
}

#header {
	height: 85px;
	width: 760px;
	margin-right: auto;
	margin-left: auto;
	position: relative;
	display: block;
	border-top: solid 5px #8A8A67;
} 

#header h1 a{
	width: 218px;
	height: 54px;
	background-image:url(image/common/p_header_title.gif);
	background-repeat:no-repeat;
	position: absolute;
	left: 10px;
	top: 15px;
	display: block;
	text-indent: -1000em;
}

#header p {
	width: 284px;
	height: 64px;
	position: absolute;
	left: 466px;
	top: 0px;
	display: block;
	background-image: url(image/common/p_header_address.gif);
	background-repeat: no-repeat;
	background-position: right top;
	text-indent: -1000em;
}

/*メインメニュー
----------------------------------------------------------------------------------------------------------------*/
#mainmenu {
	height: 29px;
	width: 760px;
	margin-right: auto;
	margin-left: auto;
	padding-bottom: 5px;
	position: relative;
	left: 0px;
	top: 0px;
	display: block;
}

#mainmenu ul {
	list-style: none;
	margin:0px;
	padding:0px;
}

#mainmenu li {
	text-indent: -1000em;
	float: left;
}

#mainmenu li,#mainmenu a {
	background-image: url(image/common/p_mainmenu.gif);
	background-repeat: no-repeat;
	display: block;
	text-decoration: none;
}

#home a, #home li {display: block; width: 86px; height: 29px; }
#blog a, #blog li {display: block; width: 85px; height: 29px; background-position: -86px 0px; }
#service a, #service li {display: block; width: 84px; height: 29px; background-position: -171px 0px; }
#sales a, #sales li {display: block; width: 85px; height: 29px; background-position: -255px 0px; }
#restore a, #restore li {display: block; width: 84px; height: 29px; background-position: -340px 0px; }
#event a, #event li {display: block; width: 84px; height: 29px; background-position: -424px 0px; }
#company a, #company li {display: block; width: 84px; height: 29px; background-position: -508px 0px; }
#link a, #link li {display: block; width: 83px; height: 29px; background-position: -592px 0px; }
#mail a, #mail li {display: block; width: 85px; height: 29px; background-position: -675px 0px; }


#home a:hover {background-position: 0px -29px;}
#blog a:hover, #blog-selected a {background-position: -86px -29px;}
#service a:hover, #service-selected a {background-position: -171px -29px;}
#sales a:hover, #sales-selected a {background-position: -255px -29px;}
#restore a:hover, #restore-selected a {background-position: -340px -29px;}
#event a:hover, #event-selected a {background-position: -424px -29px;}
#company a:hover, #company-selected a {background-position: -508px -29px;}
#link a:hover, #link-selected a {background-position: -592px -29px;}
#mail a:hover, #mail-selected a {background-position: -675px -29px;}

#home-selected a{display: block; width: 86px; height: 29px; background-position: 0px -29px; }
#blog-selected a {display: block; width: 85px; height: 29px; background-position: -86px -29px; }
#service-selected a {display: block; width: 84px; height: 29px; background-position: -171px -29px; }
#sales-selected a {display: block; width: 85px; height: 29px; background-position: -255px -29px; }
#restore-selected a {display: block; width: 84px; height: 29px; background-position: -340px -29px; }
#event-selected a {display: block; width: 84px; height: 29px; background-position: -424px -29px; }
#company-selected a {display: block; width: 84px; height: 29px; background-position: -508px -29px; }
#link-selected {display: block; width: 83px; height: 29px; background-position: -592px -29px; }
#mail-selected a {display: block; width: 85px; height: 29px; background-position: -675px -29px; }

#content {
	font-size: 1.2em;
	margin: 0px;
}

.widecolumn .entry p {
	font-size: 1.05em;
	}

.narrowcolumn .entry, .widecolumn .entry {
	line-height: 1.6em;
	margin-top: 8px;
	}


.widecolumn {
	line-height: 1.6em;
	}
	
.narrowcolumn .postmetadata {
	text-align: right;
	}

.alt {
	border-top: 1px solid #DC0000;
	border-bottom: 1px solid #DC0000;
	}

#footer {
	background-color: #FFFFFF;
	border-top: solid 2px #333333;
	}
	
#footer a {
	color: #CCCCCC;
	}

small {
	font-family: Franklin Gothic Demi Cond;
	font-size: 0.9em;
	line-height: 1.5em;
	}

h1, h2 {
	font-family: Franklin Gothic Demi Cond;
	font-weight: normal;
	}

h1 {
	font-size: 4em;
	text-align: center;
	}

h2 {
	font-size: 1.6em;
	}

h2.pagetitle {
	font-size: 1.6em;
	font-family: Franklin Gothic Demi Cond;
	font-weight: normal;
	}

h3 {
	font-size: 12px;
	}

h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description {
	text-decoration: none;
	color: #333333;
	}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
	color: #333;
	}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
	}

.entry p a:visited {
	color: #6633CC;
	}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em ;
	}
	
.commentlist li {
	font-weight: bold;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

.commentmetadata {
	font-weight: normal;
	}

#sidebar {
	font: 1em Franklin Gothic Demi Cond;
}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	font-size:12px;
	}
	
code {
	font: 12px ;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

a, h2 a:hover, h3 a:hover {
	color: #DC0000;
	text-decoration: none;
	}

a:hover {
	color: #DC0000;
	text-decoration: underline;
	}
	
#wp-calendar #prev a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em Franklin Gothic Demi Cond;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */



/* Begin Structure */
body {
	margin: 0;
	padding: 0; 
	}

#page {
	width: 760px;
	margin: 0px auto;
	position: relative;
	}

.narrowcolumn {
	width: 530px;
	float: left;
	margin: 10px 0px 10px 0px;
	padding-left: 10px;
	}

.widecolumn {
	padding: 10px 0 20px 0;
	margin: 5px 0 0 150px;
	width: 600px;
	}
	
.post {
	margin: 0 0 40px;
	padding:10px 0px 0px;
	text-align: justify;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	clear: left;
}

#footer {
	width: 760px;
	height: 50px;
	margin: 0px auto;
	position: relative;
	clear: both;
	border-top: solid 1px #333333;
}

#footer h2 {
	font-family: "Arial", "Helvetica", sans-serif;
	font-size: 0.8em;
	font-weight:normal;
	margin: 3px 5px 0px auto;
	float: right;
}
#footer p {
	margin: 0;
	padding: 0;
	text-align: center;
	color: #999999;
	}
	
#footer p a {
	margin: 3px auto 3px 10px;
	float: left;
}

#foot-note {
	margin: 0 auto;
	height: 25px;
	clear: both;
	}

#foot-note p {
	margin: 0;
	padding: 0;
	text-align: center;
	color: #999999;
	}
	
#page td, #page th {
	border-bottom: dotted 1px #CCCCCC;
	padding: 3px;
}

#page td {
	text-align: left;
}	

		
/* End Structure */



/*	Begin Headers */
h1 {
	padding-top: 70px;
	margin: 0;
	}

h2 {
	margin: 10px 0 0;
	}

h2.pagetitle {
	margin-top: 30px;
	text-align: center;
}

h2.post-title a, h3.post-title a {
	font-size: 0.9em;
	border-bottom: dotted 1px #666666;
	margin-top: 10px;
	padding-bottom: 3px;
	display: block;
}

h2.independent-page {
	font-size: 1.5em;
	border-bottom: dotted 1px #666666;
	margin-top: 10px;
	padding-bottom: 3px;
	display: block;
	color: #004A94;
}

#sidebar h2 {
	margin: 3px 3px 0;
	padding: 0;
	}

h3 {
	padding: 0;
	margin: 30px 0 0;
	}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
	
#blog-title p {
	background-image:url(image/title_blog.gif);
	background-repeat:no-repeat;
	background-position:10px 0px;
	height: 29px;
	text-indent: -1000em;
	margin: 20px 0px 20px 0px;
	padding: 0px 0px 5px 0px;
	display:block;
	border-bottom: solid 3px #DC0000;
}	
	
/* End Headers */



/* Begin Images */
a img {
	padding: 0;
margin:5px 0px;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */
	
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}
	
img.alignright,img.right {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft, img.left {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}
	
.alignleft {
	float: left
	}
/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	} 

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

/*.entry ul li:before, #sidebar ul ul li:before {
	content: "¥00BB ¥0020";
	}
*/
.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}
	
#sidebar ul, #sidebar ul ol {
	list-style-type: none;
	list-style-image: none;
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	padding-bottom: 5px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style-type: none;
	}

#sidebar ul li ul li a, #sidebar ul ol li {
	list-style: none;
	margin: 0px;
	padding: 0px;
	}

#sidebar a img {
	width: 188px;
	border: solid 1px #666666;
	position: relative;
	left: -10px;
}	
		
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px; 
	text-align: center;
	border: solid 1px #333333;
	}

#sidebar #searchform #s {
	width: 110px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#commentform #submit {
	margin: 0;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Sidebar */
#sidebar {
/*	width: 190px;*/
	padding-top: 10px;
	display: block;
	float: right;
}

#sidebar h2#sidebar_category {
	width: 184px;
	height: 24px;
	background-image: url(image/common/submenu_title_category.jpg);
	background-repeat:no-repeat;
	text-indent: -1000em;
	margin-top: 3px;
}		

#sidebar h2#sidebar_archive {
	width: 184px;
	height: 24px;
	background-image: url(image/common/submenu_title_archive.jpg);
	background-repeat:no-repeat;
	text-indent: -1000em;
	margin-top: 3px;
}	

#sidebar h2#sidebar_link {
	display: none;	
}		

#sidebar li.sidebar_bg {
	width: 190px;
	background-color: #FFFFFF;
	display:block;
}
	
#calendar
{	
	border: 1px solid #CCCCCC;
	}
	
#date {
	color: #DC0000;
	font-weight: bold;
	font-size: 0.8em;
	text-align:left;
	padding-top:-20px;
}

#random img {
	padding-top:22px;
	padding-left:17px;
}

#sidebar form {
	margin: 0;
}
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 0px;
	margin-bottom: 60px;
	}
/* End Various Tags & Classes*/
