/* commented backslash hack v2 \*/ 
html, body { width: 100%; } 
/* end hack */ 
html, body, #container { min-height: 100%; height: 100%; }
html>body, html>body #container { height: auto; }
body { padding: 0; margin: 0; background: #f2f3ec url(/i/bcg.gif) repeat left top; color: #000000; text-align: center; font-family: Georgia, Arial, Helvetica, sans-serif; font-size: 62.5%; }
#container { position: relative; width: 900px; /*height:100%; min-height:100%;*/ margin: auto; padding: 0; background: #fff; color: #000000; text-align: left; }
html>body #container{height:auto;} /*for mozilla as IE treats height as min-height anyway*/

body.popup { margin: 0; padding: 0; font-family: Georgia, Arial, Helvetica, sans-serif; font-size: 62.5%; background: #fff; text-align: left; }
div.popup { font-size: 1.2em; margin: 0; padding: 10px; }
.popup h1 { background: 0; font-size: 1.2em; font-weight: bold; margin: 0 0 5px 0; padding: 0 }
.popup dl, .popup dt { margin: 0; padding: 0;}

#header { height: 200px; margin: 0 0 50px 0; padding: 0 0 0 65px; background: #9aa070 url(/i/kanji.gif) no-repeat left top; color: #fff; font-size: 1.1em; text-align: right; }
#header a { color: #fff; }
#header a:hover { color: #000; text-decoration: none; }
#headertop { height: 160px;	background: #9aa070 url(/i/random/rotate.php) no-repeat left top; /*background: #9aa070 url(/i/headertop01.jpg) no-repeat left top;*/ }
#logo { float: left; width: 475px; height: 40px; background: #ab0101; color: #fff; font-size: 27px; text-align: center; letter-spacing: 4px; }
#logo div {padding-top: 5px;}
#logo a { display: block; text-decoration: none; color: #fff; }
#logo a:hover { color: #fff; }
#language {}
#language div {padding: 20px 20px 0 0;}

#promo, #content-left { float: left; display: inline; margin: 0 0 50px 65px; font-size: 1.2em; overflow: hidden; }
#promo { width: 325px; }
#content-left { width: 252px; text-align: left; }
#content-ttl { float: left;	width: 310px; margin: 0 0 50px 0; padding: 0 16px; font-size: 1.2em; }
#content { float: left; display: block; width: 373px; margin: 0 0 50px 0; padding: 0 22px; font-size: 1.2em; background: #ffffff; }
#content-gallery { float: left; display: inline; width: 661px; margin: 0 10px 50px 65px; padding: 0; font-size: 1.2em; }
#nav { float: right; width: 163px; margin: 0 0 50px 0; padding: 5px 0; border-left: 1px solid #c8c9a9; font-size: 1.2em; }
#contact-info { font-size: .9em; margin-top: 30px; padding: 0 5px 0 15px; }
#contact-info div a { display: block; margin-top: 7px; } 

#footer { clear: both; bottom: 0; left: 0; width: 98%; height: 30px; margin-left: 1%; margin-right: 1%; padding: 15px 0; border-top: 1px solid #c8c9a9; color: #86887a; font-size: 9px; }
#footer a { font-size: 9px; color: #86887a; }
/* hide from Mac IE5 */
/* \*/
#footer {position: absolute; }
/* */
/* Change in Opera 5+ (and some others) */
html>body div#footer { position: static; }
/* Change back in everything except Opera 5 and 6, still hiding from Mac IE5 */
/* \*/
head:first-child+body div#footer { position: absolute; }
/* */
#footer div { margin-left: 55px; }
#clearfooter { clear: both; height: 30px; } /*needed to make room for footer*/

.clearfix:after { 
	content:"."; 
	display:block; 
	height:0; 
	clear:both; 
	visibility:hidden;
}
.clearfix {display:inline-block;}
/* Hide from IE Mac \*/
.clearfix {display:block;}
/* End hide from IE Mac */

.clearb { clear: both; font-size: 1px; }


/* PROMO */
#promo h1 { margin: 10px 0; padding: 0; font-size: 1em; text-transform: uppercase; }
#promo label { float: left; display: inline; width: 125px; margin: 0; }
#promo input.text { float: left; width: 135px; margin-bottom: 7px; padding: 1px; font-size: 1em; border: 1px solid #ccc6a6; }
#promo input.button { float: left; width: 47px; padding: 0; font-size: 1em; }
/*.img-friends { vertical-align: middle; margin: 15px 25px 0 0; border: none; }*/
/*.sponsors a { display: block; }*/
.sponsors span { display: none; visibility: hidden; }
#moira, #learnkey { float: left; }
#moira a { display: block; width: 89px; height: 20px; margin: 15px 25px 0 0; padding: 0; background: url(/i/logo_moira_off.gif) no-repeat; }
#moira a:hover { display: block; width: 89px; height: 20px; margin: 15px 25px 0 0; padding: 0; background: url(/i/logo_moira_on.gif) no-repeat; }
#learnkey a { display: block; width: 104px; height: 29px; margin: 11px 0 0 7px; padding: 0; background: url(/i/logo_learnkey_off.gif) no-repeat; }
#learnkey a:hover { display: block; width: 104px; height: 29px; margin: 11px 0 0 7px; padding: 0; background: url(/i/logo_learnkey_on.gif) no-repeat; }



#nav ul { list-style-type: none; margin: 0 0 0 20px; padding: 0; color: #bf0000; }
#nav li { padding: 0 0 4px 0; }
#nav li ul li { padding: 0 0 2px 0; }
#nav ul li ul { list-style-type: none; margin: 4px 0 0 10px; padding: 0; }
#nav a { color: #bf0000; font-size: 1em; }
#nav ul li ul a { color: #000; }
#nav a:hover, #nav ul li ul a:hover { color: #bf0000; text-decoration: none; }
#nav h6 { margin: 0; }
#nav a.selected { color: #000; text-decoration: none; font-weight: bold; }

.ordernews { clear: both; margin: 10px 0; padding: 9px 2px; border-top: 1px solid #c7c7ad; border-bottom: 1px solid #c7c7ad; }
.ordernews form div { margin: 0; padding: 0; border: 1px solid white; }
#content-left .ordernews input.text { float: left; width: 105px; }
#content-left .ordernews input.button { float: right; }
#content-left .ordernews label { font-size: .9em; }
#content-left .tblEditor { width: 100%; margin: 10px 0; padding: 10px 5px; border-collapse: separate; background: #ccc6a6; border: 1px solid #000; border-spacing: 0px; font-size: 1em; }
#content-left .tblEditor th, #content-left .tblEditor td { border-top: 0; border-right: 0; border-left: 0; }
#content-left .tblEditor th { padding: 5px; background: #ccc6a6; font-size: 1.1em; font-weight: bold; text-align: left; border-bottom: 1px solid #fff; }
#content-left .tblEditor td { padding: 5px; background: #ccc6a6; text-align: left; font-size: .9em; border-bottom: 1px solid #fff; }
#content-left .img img { width: 250px; border: 1px solid #c7c7ad; margin-top: 10px; }
.zoom, .img a.zoom { cursor: url("/i/zoom.cur"), text; }

/* img, a href ALT */
#tooltip { background: #E4D6BE; border: none; text-align: justify; font: 10px Tahoma, Helvetica,sans-serif; color: #000; font-weight: normal; -moz-border-radius: 8px; margin: 0px; padding: 5px 5px; position: absolute; visibility: hidden; }

/* COMMON styles */
a { color: #505f00; text-decoration: underline; }
a:hover { color: #bf0000; text-decoration: none; }
form { clear: both;	margin: 0; padding: 0; }
label { float: left; display: inline; margin-right: 5px; }
input.text { width: 118px; margin-bottom: 7px; padding: 1px; font-size: 1em; border: 1px solid #ccc6a6; }
textarea { margin-bottom: 7px; padding: 1px; font-size: 1em; border: 1px solid #ccc6a6; }
input.button { height: 18px; margin-left: 7px; padding: 0 5px; font-size: 1em; background: #ccc6a6; border: none; }
p { margin: 5px 0 10px 0; padding: 0; }
h1 { margin: 0 0 15px 0; padding: 0; font-size: 1.3em; font-weight: bold; text-transform: uppercase; }
h2 { margin: 0 0 10px 0; padding: 0; font-size: 1.1em; font-weight: bold; text-transform: uppercase; }
h3 { margin: 0 0 8px 0; padding: 0; font-size: 1em; font-weight: bold; text-transform: uppercase; }
h4 { margin: 0 0 7px 0; padding: 0; font-size: 1em; font-weight: bold; text-transform: none; }
h5 { margin: 0 0 5px 0; padding: 0; font-size: 1em; font-weight: normal; text-transform: uppercase; }
h6 { margin: 0 0 3px 0; padding: 0; font-size: 1em; font-weight: normal; text-transform: none; }
hr { clear: both; height: 1px; margin: 0 0 5px 0; padding: 0; background-color: #c7c7ad; color: #c7c7ad; }
dl { margin: 5px 0; padding: 0; }
dt { font-weight: bold; margin: 3px 0; padding: 0; }
dd { margin: 5px 0 5px 7px; padding: 0; }

.text { margin: 0; padding: 0;}
.text img.standart { border: 1px solid #c7c7ad; }
.author { margin: 10px 0; font-style: italic; }
.item { margin: 10px 0; }
.date { font-size: .8em; }
.intro { margin: 0 0 5px 0; padding: 0; }
.more, a.more { margin: 5px 0; padding: 0; }
.separator { height: 1px; font-size: 1px; border-top: 1px solid #c7c7ad; }

#news h3, #content-ttl h3 { float: left; display: inline; margin-right: 12px; }
#news .date, #content-ttl .date { float: left; }
#news .item .intro, #content-ttl .item .intro { clear: left; }
#news .standart { clear: left; float: left; margin: 0 7px 7px 0; }

#content-ttl .item { margin: 0 0 20px 0;}
#content-ttl .more { margin: 5px 0 0 0;}

#content-gallery .item { clear: both; margin: 0 0 10px 0; padding: 0 0 10px 0; border-bottom: 1px solid #c7c7ad; }
#content-gallery .item img { float: left; clear:both; margin: 0 10px 10px 0; border: 1px solid #c7c7ad; padding: 4px; width: 200px; height: 150px; }
#content-gallery .item h3 { display: inline; margin: 0 12px 5px 0; }
#content-gallery .item .date { display: inline; }
#content-gallery .item .intro { margin: 5px 0; }
#content-gallery #gallery img { float: left; display: inline; margin: 0 10px 10px 0; border: 1px solid #c7c7ad; padding: 4px; }
#content-gallery .item sup { margin-left: 7px; font-size: .9em; color: red; text-transform: uppercase; }

#links { list-style-type: square; margin: 10px 0 0 15px; padding: 0; color: #505f00; }
#links li { padding: 0 0 4px 0; }




.img-promo { margin-bottom: 13px; }
a .img-promo { border: none; }
.tblEditor { border-collapse: collapse; border: 1px solid #ccc6a6; border-spacing: 0px; font-size: 1em; }
.tblEditor th, .tblEditor td { border: 1px solid; }
.tblEditor th { background: #ccc6a6; font-size: 1.1em; font-weight: bold; text-align: center; }
.tblEditor td { background: #fff; text-align: left; font-size: 1em; }

.divBack { margin: 10px 0; }

.paging { clear: left; display: block; margin: 5px 0; padding: 10px 0; border-top: 1px solid #c7c7ad; border-bottom: 1px solid #c7c7ad; }
.paging a { font-size: .9em; }

#guestbook-post { margin: 5px 0; padding: 10px 0; }
#guestbook-post label { font-weight: bold; }

#gasshuku label { float: none; }

/********************/
/*** LYTEBOX CSS ***/
/******************/
#lbOverlay { position: fixed; top: 0; left: 0; z-index: 99998; width: 100%; height: 500px; }
	#lbOverlay.grey { background-color: #000000; }
	#lbOverlay.red { background-color: #330000; }
	#lbOverlay.green { background-color: #003300; }
	#lbOverlay.blue { background-color: #011D50; }
	#lbOverlay.gold { background-color: #666600; }

#lbMain { position: absolute; left: 0; width: 100%; z-index: 99999; text-align: center; line-height: 0; }
#lbMain a img { border: none; }

#lbOuterContainer { position: relative; background-color: #fff; width: 200px; height: 200px; margin: 0 auto; }
	#lbOuterContainer.grey { border: 3px solid #888888; }
	#lbOuterContainer.red { border: 3px solid #DD0000; }
	#lbOuterContainer.green { border: 3px solid #00B000; }
	#lbOuterContainer.blue { border: 3px solid #5F89D8; }
	#lbOuterContainer.gold { border: 3px solid #B0B000; }

#lbDetailsContainer {	font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; width: 100%; line-height: 1.4em;	overflow: auto; margin: 0 auto; }
	#lbDetailsContainer.grey { border: 3px solid #888888; border-top: none; }
	#lbDetailsContainer.red { border: 3px solid #DD0000; border-top: none; }
	#lbDetailsContainer.green { border: 3px solid #00B000; border-top: none; }
	#lbDetailsContainer.blue { border: 3px solid #5F89D8; border-top: none; }
	#lbDetailsContainer.gold { border: 3px solid #B0B000; border-top: none; }

#lbImageContainer, #lbIframeContainer { padding: 10px; }
#lbLoading {
	position: absolute; top: 45%; left: 0%; height: 32px; width: 100%; text-align: center; line-height: 0; background: url(/i/lytebox/loading.gif) center no-repeat;
}

#lbHoverNav { position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#lbImageContainer>#lbHoverNav { left: 0; }
#lbHoverNav a { outline: none; }

#lbPrev { width: 49%; height: 100%; background: transparent url(/i/lytebox/blank.gif) no-repeat; display: block; left: 0; float: left; }
	#lbPrev.grey:hover, #lbPrev.grey:visited:hover { background: url(/i/lytebox/prev_grey.gif) left 15% no-repeat; }
	#lbPrev.red:hover, #lbPrev.red:visited:hover { background: url(/i/lytebox/prev_red.gif) left 15% no-repeat; }
	#lbPrev.green:hover, #lbPrev.green:visited:hover { background: url(/i/lytebox/prev_green.gif) left 15% no-repeat; }
	#lbPrev.blue:hover, #lbPrev.blue:visited:hover { background: url(/i/lytebox/prev_blue.gif) left 15% no-repeat; }
	#lbPrev.gold:hover, #lbPrev.gold:visited:hover { background: url(/i/lytebox/prev_gold.gif) left 15% no-repeat; }
	
#lbNext { width: 49%; height: 100%; background: transparent url(/i/lytebox/blank.gif) no-repeat; display: block; right: 0; float: right; }
	#lbNext.grey:hover, #lbNext.grey:visited:hover { background: url(/i/lytebox/next_grey.gif) right 15% no-repeat; }
	#lbNext.red:hover, #lbNext.red:visited:hover { background: url(/i/lytebox/next_red.gif) right 15% no-repeat; }
	#lbNext.green:hover, #lbNext.green:visited:hover { background: url(/i/lytebox/next_green.gif) right 15% no-repeat; }
	#lbNext.blue:hover, #lbNext.blue:visited:hover { background: url(/i/lytebox/next_blue.gif) right 15% no-repeat; }
	#lbNext.gold:hover, #lbNext.gold:visited:hover { background: url(/i/lytebox/next_gold.gif) right 15% no-repeat; }

#lbPrev2, #lbNext2 { text-decoration: none; font-weight: bold; }
	#lbPrev2.grey, #lbNext2.grey, #lbSpacer.grey { color: #333333; }
	#lbPrev2.red, #lbNext2.red, #lbSpacer.red { color: #620000; }
	#lbPrev2.green, #lbNext2.green, #lbSpacer.green { color: #003300; }
	#lbPrev2.blue, #lbNext2.blue, #lbSpacer.blue { color: #01379E; }
	#lbPrev2.gold, #lbNext2.gold, #lbSpacer.gold { color: #666600; }
	
#lbPrev2_Off, #lbNext2_Off { font-weight: bold; }
	#lbPrev2_Off.grey, #lbNext2_Off.grey { color: #CCCCCC; }
	#lbPrev2_Off.red, #lbNext2_Off.red { color: #FFCCCC; }
	#lbPrev2_Off.green, #lbNext2_Off.green { color: #82FF82; }
	#lbPrev2_Off.blue, #lbNext2_Off.blue { color: #B7CAEE; }
	#lbPrev2_Off.gold, #lbNext2_Off.gold { color: #E1E100; }
	
#lbDetailsData { padding: 0 10px; }
	#lbDetailsData.grey { color: #333333; }
	#lbDetailsData.red { color: #620000; }
	#lbDetailsData.green { color: #003300; }
	#lbDetailsData.blue { color: #01379E; }
	#lbDetailsData.gold { color: #666600; }

#lbDetails { width: 60%; float: left; text-align: left; }
#lbCaption { display: block; font-weight: bold; }
#lbNumberDisplay { float: left; display: block; padding-bottom: 1.0em; }
#lbNavDisplay { float: left; display: block; padding-bottom: 1.0em; }

#lbClose { width: 64px; height: 28px; float: right; margin-bottom: 1px; }
	#lbClose.grey { background: url(/i/lytebox/close_grey.png) no-repeat; }
	#lbClose.red { background: url(/i/lytebox/close_red.png) no-repeat; }
	#lbClose.green { background: url(/i/lytebox/close_green.png) no-repeat; }
	#lbClose.blue { background: url(/i/lytebox/close_blue.png) no-repeat; }
	#lbClose.gold { background: url(/i/lytebox/close_gold.png) no-repeat; }

#lbPlay { width: 64px; height: 28px; float: right; margin-bottom: 1px; }
	#lbPlay.grey { background: url(/i/lytebox/play_grey.png) no-repeat; }
	#lbPlay.red { background: url(/i/lytebox/play_red.png) no-repeat; }
	#lbPlay.green { background: url(/i/lytebox/play_green.png) no-repeat; }
	#lbPlay.blue { background: url(/i/lytebox/play_blue.png) no-repeat; }
	#lbPlay.gold { background: url(/i/lytebox/play_gold.png) no-repeat; }
	
#lbPause { width: 64px; height: 28px; float: right; margin-bottom: 1px; }
	#lbPause.grey { background: url(/i/lytebox/pause_grey.png) no-repeat; }
	#lbPause.red { background: url(/i/lytebox/pause_red.png) no-repeat; }
	#lbPause.green { background: url(/i/lytebox/pause_green.png) no-repeat; }
	#lbPause.blue { background: url(/i/lytebox/pause_blue.png) no-repeat; }
	#lbPause.gold { background: url(/i/lytebox/pause_gold.png) no-repeat; }
