@charset "utf-8";

/*============================================================

	[content.css]
	
	1. container
		1-1. clearfix
	2. header
		2-1. logo
		2-2. navigation
		2-3. primary menu 
	3. content
		3-1. main
		3-2. topic path
		3-3. local menu
	4. footer
		4-1. top of page
		4-2. copyright
	@media print

============================================================*/


/*------------------------------------------------------------

	1. container

------------------------------------------------------------*/
body {
	background: #333;
	font-size: 13px;
}

div#container {
	background: url(../img/background.gif);
}
* html div#container {
	text-align: center;
}


/*
	1-1. clearfix
------------------------------------------------------------*/
div.wrapper:after,
div.section:after {
	height: 0;
	visibility: hidden;
	content: ".";
	display: block;
	clear: both;
}
* html div.wrapper,
* html div.action {
	height: 1%;
}
*:first-child+html div.wrapper,
*:first-child+html div.action {
	min-height: 1%;
}


/*------------------------------------------------------------

	2. header

------------------------------------------------------------*/
div#header {
	width: 100%;
	height: 490px;
	background: url(../img/content_header_bg.png) repeat-x;
}
* html div#header {
	background: none;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../shared/img/content_header_bg.png", sizingMethod="scale");
	text-align: center;
}

div#header div.wrapper {
	position: relative;
	width: 840px;
	margin: 0 auto;
}

div#header img {
	display: block;
}


/*
	2-1. logo
------------------------------------------------------------*/
div#header p {
	position: relative;
	z-index: 2;
	margin: 0;
	padding: 25px 20px 10px;
	width: 230px;
	height: 55px;
}

* html div#header p {
	width: 840px;
	text-align: left;
}


/*
	2-2. navigation
------------------------------------------------------------*/
div#header ul#nav {
	position: absolute;
	left: 0;
	top: 90px;
	width: 805px;
	height: 40px;
	margin: 0;
	padding: 0 0 0 35px;
	list-style: none;
}
* html div#header ul#nav {
	width: 840px;
}

div#header ul#nav li {
	float: left;
	margin: 0 15px 0 0;
}


/*
	2-3. primary menu 
------------------------------------------------------------*/
div#header ul#pm {
	position: absolute;
	z-index: 3;
	right: 15px;
	top: 15px;
	height: 20px;
	margin: 0;
	padding: 0 5px 5px;
	background:url(../img/primary-menu_bg.jpg) no-repeat;
	list-style: none;
	color: #FFF;
}
* html div#header ul#pm {
	height: 25px;
}

div#header ul#pm li {
	float: left;
	margin: 0;
	padding: 0;
}

div#header ul#pm li img {
	display: block
}


/*------------------------------------------------------------

	3. content

------------------------------------------------------------*/
div#content {
	position: relative;
	width: 840px;
	margin: -360px auto 0;
}

div#content div.wrapper {
	width: 840px;
	padding: 0 0 40px;
	background: url(../img/content_bg_body.png) repeat-y;
}
* html div#content div.wrapper {
	background: none;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../shared/img/content_bg_body.png", sizingMethod="scale");
}


/*
	3-1. main
------------------------------------------------------------*/
div#main {
	position: relative;
	float: left;
	width: 580px;
	min-height: 360px;
	margin: 0 40px;
}
* html div#main {
	display: inline;
	height: 360px;
	text-align: left;
}


/*
	3-2. topic path
------------------------------------------------------------*/
div#topic-path {
	margin: 10px 0 20px;
	line-height: 1.2;
	font-size: 10px;
	color: #666;
}


/*
	3-3. local menu
------------------------------------------------------------*/
div#lm {
	float: right;
	width: 180px;
	min-height: 360px;
	margin: 20px 0;
}
* html div#lm {
	height: 360px;
	text-align: left;
}

/* title */
div#lm p {
	margin: 20px 0 10px;
}

div#lm p img {
	display: block;
}

/* menu */
div#lm ul {
	width: 158px;
	margin: 0;
	border: 1px solid #CCC;
	border-bottom: none;
	line-height: 1.4;
	list-style: none;
	font-size: 12px;
}
* html div#lm ul {
	width: 160px;
}

div#lm li {
	margin: 0;
	padding: 4px;
	background: #FFF;
	border-bottom: 1px solid #CCC;
}

div#lm li a,
div#lm li span {
	display: block;
	padding: 0.5em;
	font-weight: bold;
	text-decoration: none;
	color: #FFF;
}

div#lm li a:hover {
	background-position: -150px 0 !important;
}

div#lm li span {
	cursor: default;
}

/* sub menu */
div#lm div.sub ul {
	width: 140px;
	margin: 0 0 0 10px;
	background: #FFF;
	border: none;
}

div#lm div.sub ul li {
	padding: 4px 0 0 4px;
	border: none;
}
* html div#lm div.sub ul li {
	float: left;
	width: 100%;
}

div#lm li span,
div#lm li.opened a {
	background-position: -300px 0;
}

div#lm li.opened li a {
	background-position: 0 0;
}

div#lm li.selected span,
div#lm div.sub ul span {
	background-position: -450px 0;
}

div#lm div.sub li.selected a {
	background-position: -300px 0;
}


/*------------------------------------------------------------

	4. footer

------------------------------------------------------------*/
div#footer {
	clear: both;
	z-index: 3;
	background: url(../img/footer_bg.jpg) repeat-x 0 0;
	color: #FFF;
}
* html div#footer {
	text-align: center;
}


/*
	4-1. top of page
------------------------------------------------------------*/
div#footer div#top-of-page {
	position: relative;
	width: 840px;
	margin: 0 auto;
}

div#footer div#top-of-page p {
	position: absolute;
	top: -25px;
	left: 520px;/* wide=700px */
	width: 105px;
	height: 25px;
}


/*
	4-2. copyright
------------------------------------------------------------*/
div#footer address {
	width: 800px;
	margin: 0 auto;
	padding: 20px 20px 10px;
	background: url(../img/content_bg_footer.jpg) no-repeat;
	text-align: left;
	font-style: normal;
	font-size: 9px;
	color: #CCC;
}
* html div#footer address {
	width: 840px;
}


/*------------------------------------------------------------

	@media print

------------------------------------------------------------*/
@media print {

body {
	background: #FFF;
}

div#container,
div#footer address {
	background: none !important;
}

div#header,
div#lm,
div.section p#print,
div#footer div#top-of-page {
	display: none;
}

div#content {
	position: relative;
	width: auto;
	margin: 0;
	background: none !important;
}

div#content div.wrapper {
	width: 100%;
	margin: 0;
	padding: 0;
	background: none !important;
}
* html div#content div.wrapper {
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="", sizingMethod="scale");
}

div#main {
	position: relative;
	float: none;
	width: 100%;
	height: auto;
	margin: 0;
	text-align: left;
}

div.section {
	margin: 0;
}

div#address dl {
	width: auto;
	margin: 0 20px 0;
}

div#address p#photo {
	float: left;
	margin: 0;
}

div#footer {
	background: none;
}

div#footer address {
	width: 100%;
	margin: 20px 0 0;
	padding: 10px 0;
	background: none;
	border-top: 1px solid #999;
	text-align: left;
	font-style: normal;
	font-size: 9px;
	color: #333;
}

}
