/*
Theme Name: OFR
Theme URI: http://wordpress.org/
Description: The 2012 theme for WordPress. 
Author: SYT System
Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background
Text Domain: twentyten
*/


/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

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 {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
}
body {
	font-size: 12px;
	line-height: 150%;
	color: #333333;
	overflow-y:scroll;
}
*html body {	/*IE6だけに適用*/
   overflow-y:auto;
}
*+html body {	/*IE7だけに適用*/
   overflow-y:auto;
}
ol, ul {
	list-style: none;
}
hr {
	background-color: #999999;
	border: 0;
	clear: both;
	height: 1px;
	margin-bottom: 18px;
}
del {
	text-decoration: line-through;
}
table {
	border-spacing: 0;
}
a img {
	border: none;
}
code {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

/* Text elements */
p {
	margin-bottom: 10px;
}
ol ol {
	list-style: upper-alpha;
}
ol ol ol {
	list-style: lower-roman;
}
ol ol ol ol {
	list-style: lower-alpha;
}
strong {
	font-weight: bold;
}
big {
	font-size: 131.25%;
}
ins {
	background: #ffc;
	text-decoration: none;
}
blockquote {
	padding: 0 3em;
}
pre {
	font-family: "Courier 10 Pitch", Courier, monospace;
	background: #f7f7f7;
	color: #222;
	line-height: 18px;
	margin-bottom: 18px;
	overflow: auto;
	padding: 1.5em;
}
abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
sup,
sub {
	line-height: 1;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
tr th,
#content thead th {
	font-weight: bold;
}
input[type="text"],
textarea {
	background: #f9f9f9;
	border: 1px solid #ccc;
	box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	-moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	padding: 2px;
}
a:link,
a:visited {
	color: #0066CC;
}
a:active,
a:hover {
	color: #ff4b33;
}

/* Text meant only for screen readers */
.screen-reader-text {
	position: absolute;
	left: -9000px;
}



/* =Structure
-------------------------------------------------------------- */

/* The main theme structure */
#wrapper1 {
	width: 100%;
	background-image: url(images/bg_header2b.jpg);
	background-repeat: repeat-x;

}
#header {
	height: 72px;
	width: 950px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}

#wrapper {
	width: 950px;
	margin: 0 auto;
}

#main {
	width: 950px;
}
#access,
#colophon,
#branding {
	width: 950px;
	margin: 0 auto;
}
#main {
	clear: both;
	overflow: hidden;
	padding-top: 20px;
}

/* =Layout
-------------------------------------------------------------- */

#container {
	float: right;
	width: 710px;
}
#content {
	margin-bottom: 36px;
	width: 700px;
}
#primary {
	float: left;
	overflow: hidden;
	width: 200px;
}
#secondary {
	clear: right;
}
#footer {
	clear: both;
	width: 100%;
	background-color: #4293C8;
}

/*
LAYOUT: One column, no sidebar
DESCRIPTION: One centered column with no sidebar
*/

.one-column #content {
	margin: 0 auto;
	width: 640px;
}

/*
LAYOUT: Full width, no sidebar
DESCRIPTION: Full width content with no sidebar; used for attachment pages
*/

.single-attachment #content {
	margin: 0 auto;
	width: 900px;
}


/* =Header
-------------------------------------------------------------- */

#site-title {
	float: left;
	width: 340px;
	margin-top: 15px;
}
#site-title a {
}
#site-description {
	float: right;
	width: 500px;
	margin-top: 3px;
	text-align: right;
	padding-right: 5px;
}
#header h1 {
	font-size: 12px;
	font-weight: normal;
	margin-bottom: 10px;
}

#branding {
	clear: both;
	width: 100%;
}
#branding .banner {
	width: 950px;
	margin-right: auto;
	margin-left: auto;
}

/* =Menu
-------------------------------------------------------------- */

#access {
	display: block;
	width: 950px;
	clear: both;
	height: 36px;
}
#access .menu {
	font-size: 13px;
	height: 36px;
}
#access .menu ul {
	list-style: none;
	margin: 0;
}
#access .menu li {
	float: left;
}
#access a {
	display: block;
	text-decoration: none;
	height: 36px;
	width: 158px;
}
#access ul ul {
	display: none;
	position: absolute;
	top: 38px;
	left: 0;
	float: left;
	width: 180px;
	z-index: 99999;
}
#access ul ul li {
	min-width: 180px;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #333;
	line-height: 1em;
	padding: 10px;
	width: 160px;
	height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
}
#access ul li:hover > ul {
	display: block;
}
#access ul li.current_page_item > a,
#access ul li.current-menu-ancestor > a,
#access ul li.current-menu-item > a,
#access ul li.current-menu-parent > a {
	color: #fff;
}
* html #access ul li.current_page_item a,
* html #access ul li.current-menu-ancestor a,
* html #access ul li.current-menu-item a,
* html #access ul li.current-menu-parent a,
* html #access ul li a:hover {
	color: #fff;
}
#m1 a {
	background-image: url(images/menu1.jpg);
	text-indent: -9999px;
}
#m2 a {
	background-image: url(images/menu2.jpg);
	text-indent: -9999px;
}
#m3 a {
	background-image: url(images/menu3.jpg);
	text-indent: -9999px;
}
#m4 a {
	background-image: url(images/menu4.jpg);
	text-indent: -9999px;
}
#m5 a {
	background-image: url(images/menu5.jpg);
	text-indent: -9999px;
}
#m6 a {
	background-image: url(images/menu6.jpg);
	text-indent: -9999px;
	width: 160px;
}




/* =Content
-------------------------------------------------------------- */

#content,
#content input,
#content textarea {
	color: #333;
	font-size: 14px;
	line-height: 150%;
}
#content p,
#content ul,
#content ol,
#content dd,
#content pre,
#content hr {
	margin-bottom: 10px;
}
#content ul ul,
#content ol ol,
#content ul ol,
#content ol ul {
	margin-bottom: 0;
}
#content code {
	font-size: 13px;
}
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
	line-height: 1.5em;
	margin-bottom: 10px;
}
#content table {
	margin-bottom: 10px;
}

.home .sticky {
	background: #f2f7fc;
	border-top: 4px solid #000;
	margin-left: -20px;
	margin-right: -20px;
	padding: 18px 20px;
}
.single .hentry {
	margin: 0 0 36px 0;
}
.page-title {
	color: #000;
	font-size: 14px;
	font-weight: bold;
	margin: 0 0 36px 0;
}
.page-title span {
	color: #333;
	font-size: 16px;
	font-style: italic;
	font-weight: normal;
}
.page-title a:link,
.page-title a:visited {
	color: #888;
	text-decoration: none;
}
.page-title a:active,
.page-title a:hover {
	color: #ff4b33;
}
#content .entry-title {
	color: #FFFFFF;
	font-size: 15px;
	font-weight: bold;
	line-height: 130%;
	margin-bottom: 5;
	background-image: url(images/bg_titlebar.jpg);
	background-repeat: no-repeat;
	height: 30px;
	padding-top: 8px;
	padding-left: 12px;
}
.entry-title a:link,
.entry-title a:visited {
	color: #FFFFFF;
	text-decoration: none;
}
.entry-title a:active,
.entry-title a:hover {
	color: #ff4b33;
}
.entry-meta {
	color: #888;
	font-size: 12px;
}
.entry-meta abbr,
.entry-utility abbr {
	border: none;
}
.entry-meta abbr:hover,
.entry-utility abbr:hover {
	border-bottom: 1px dotted #666;
}
.entry-content,
.entry-summary {
	clear: both;
	width: 680px;
	margin-right: 10px;
	margin-left: 10px;
	padding-top: 12px;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
}
#content .entry-summary p:last-child {
	margin-bottom: 12px;
}
.entry-content fieldset {
	border: 1px solid #e7e7e7;
	margin: 0 0 24px 0;
	padding: 24px;
}
.entry-content fieldset legend {
	background: #fff;
	color: #000;
	font-weight: bold;
	padding: 0 24px;
}
.entry-content input {
	margin: 0 0 24px 0;
}
.entry-content input.file,
.entry-content input.button {
	margin-right: 24px;
}
.entry-content label {
	color: #888;
	font-size: 12px;
}
.entry-content select {
	margin: 0 0 24px 0;
}
.entry-content sup,
.entry-content sub {
	font-size: 10px;
}
.entry-content blockquote.left {
	float: left;
	margin-left: 0;
	margin-right: 24px;
	text-align: right;
	width: 33%;
}
.entry-content blockquote.right {
	float: right;
	margin-left: 24px;
	margin-right: 0;
	text-align: left;
	width: 33%;
}
.page-link {
	clear: both;
	color: #000;
	font-weight: bold;
	margin: 0 0 22px 0;
	word-spacing: 0.5em;
}
.page-link a:link,
.page-link a:visited {
	background: #f1f1f1;
	color: #333;
	font-weight: normal;
	padding: 0.5em 0.75em;
	text-decoration: none;
}
.home .sticky .page-link a {
	background: #d9e8f7;
}
.page-link a:active,
.page-link a:hover {
	color: #ff4b33;
}
body.page .edit-link {
	clear: both;
	display: block;
}
.entry-utility {
	clear: both;
	color: #888;
	font-size: 12px;
	line-height: 18px;
}
.entry-meta a,
.entry-utility a {
	color: #888;
}
.entry-meta a:hover,
.entry-utility a:hover {
	color: #ff4b33;
}

/* =Navigation
-------------------------------------------------------------- */

.navigation {
	color: #888;
	font-size: 12px;
	line-height: 18px;
	overflow: hidden;
}
.navigation a:link,
.navigation a:visited {
	color: #888;
	text-decoration: none;
}
.navigation a:active,
.navigation a:hover {
	color: #ff4b33;
}
.nav-previous {
	float: left;
	width: 50%;
}
.nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#nav-above {
	margin: 0 0 18px 0;
}
#nav-above {
	display: none;
}
.paged #nav-above,
.single #nav-above {
	display: block;
}
#nav-below {
	margin: -18px 0 0 0;
}

/* =Widget Areas
-------------------------------------------------------------- */

.widget-area ul {
	list-style: none;
	margin-left: 0;
}
.widget-area ul ul {

}
.widget-container {
	margin-bottom: 15px;
}
.widget-container li {
	font-size: 12px;
	line-height: 130%;
}
.widget-container li a {
	display: block;
	padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 15px;
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #999999;
	background-image: url(../wp/wp-content/themes/ofr/images/icon_tr.png);
	background-repeat: no-repeat;
	background-position: 2px 4px;
}
.widget-title {
	font-size: 13px;
	color: #FFFFFF;
	font-weight: bold;
	padding-top: 3px;
	padding-right: 5px;
	padding-bottom: 3px;
	padding-left: 5px;
	background-image: url(../wp/wp-content/themes/ofr/images/left_bar1.jpg);
}
.widget-area a:link,
.widget-area a:visited {
	text-decoration: none;
	color: #000000;
}
.widget-area a:active,
.widget-area a:hover {
	color: #1E66D4;
	background-color: #DFE3E6;
}

.widget-area select {
	max-width: 100%;
}
.widget_search #s {/* This keeps the search inputs in line */
	width: 60%;
}
.widget_search label {
	display: none;
}
.widget-area .entry-meta {
	font-size: 11px;
}
#wp_tag_cloud div {
	line-height: 1.6em;
}
.widget_rss a.rsswidget {
	color: #000;
}
.widget_rss a.rsswidget:hover {
	color: #ff4b33;
}
.widget_rss .widget-title img {
	width: 11px;
	height: 11px;
}

/* Footer widget areas */
#footer-widget-area {
}
/* Structure the footer area */
#footer-widget-area {
	overflow: hidden;
}
#footer-widget-area .widget-area {
	float: left;
	margin-right: 20px;
	width: 220px;
}
#footer-widget-area #fourth {
	margin-right: 0;
}

/* =Footer
-------------------------------------------------------------- */

#colophon {
	overflow: hidden;
	padding-top: 15px;
	padding-right: 0;
	padding-bottom: 18px;
	padding-left: 0;
}
#site-info {
	width: 700px;
	color: #FFFFFF;
}
#site-info a {
	text-decoration: none;
	color: #FFFFFF;
}
#site-info h4 {
	font-size: 14px;
	margin-bottom: 5px;
}

#site-generator {
	font-style: italic;
}
#site-generator a:hover {
	text-decoration: underline;
}
img#wpstats {
	display: block;
	margin: 0 auto 10px;
}


/* =Mobile Safari ( iPad, iPhone and iPod Touch )
-------------------------------------------------------------- */

pre {
	-webkit-text-size-adjust: 140%;
}
code {
	-webkit-text-size-adjust: 160%;
}
#access,
.entry-meta,
.entry-utility,
.navigation,
.widget-area {
	-webkit-text-size-adjust: 120%;
}
#site-description {
	-webkit-text-size-adjust: none;
}

/* Parts -------------------------------------------- */

.border, .clearall {
	clear: both;
	font-size: 1px;
	height: 1px;
	margin-bottom: -1px;
}
.clear {
	clear: both;
}
.imgleft {
	float: left;
	margin-right: 10px;
}
.imgright {
	float: right;
	margin-left: 10px;
}
.mgbtm5 {
	margin-bottom: 5px;
}

.mgbtm10 {
	margin-bottom: 10px;
}
.mgbtm15 {
	margin-bottom: 15px;
}
.mgbtm20 {
	margin-bottom: 20px;
}
.f12 {
	font-size: 12px;
}
.f13 {
	font-size: 13px;
}
.red {
	color: #FF0000;
}
#pagetop {
	clear: both;
	text-align: right;
}
