/******************************************************************************/
/* style.css */
/******************************************************************************/

/* Reset */
a, abbr, acronym, address, applet, article, aside, audio,
b, blockquote, big, body,
center, canvas, caption, cite, code, command,
datalist, dd, del, details, dfn, dl, div, dt,
em, embed,
fieldset, figcaption, figure, font, footer, form,
h1, h2, h3, h4, h5, h6, header, hgroup, html,
i, iframe, img, ins,
kbd,
keygen,
label, legend, li,
meter,
nav,
object, ol, output,
p, pre, progress,
q,
s, samp, section, small, span, source, strike, strong, sub, sup,
table, tbody, tfoot, thead, th, tr, tdvideo, tt,
u, ul,
var{
    background: transparent;
    border: 0 none;
    font-size: 100%;
    margin: 0;
    padding: 0;
    vertical-align: baseline; }
li {list-style: none;}

/* Layout */
html {
	height:100%;
}
body {
	height:100%;
  font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','Helvetica Neue',sans-serif;
  font-size: 80%;
  text-align: center;
}

#outerwrapper {
	height: 100%;
}
body>#outerwrapper {
	height:auto;
	min-height:100%;
	margin-botom:-2px;
}

/* Headline */
h1 {
  font-size: 140%;
}
h2 {
  font-size: 120%;
}
h3 {
  font-size: 110%;
}
h4, h5 , h6 {
  font-size: 100%;
}

em {
  font-weight: bold;
  font-style: normal;
}
p {
  margin: 0;
  clear:both;
}

/* Contents */
#Container ,
body.home #Container ,
body.other #Container ,
body.L0R0 #Container ,
body.L1R1 #Container ,
body.L1R0 #Container ,
body.L0R1 #Container {
	position:relative;
	width:98%;
	height:auto;
  margin: 0 0 0 10px;
  padding-bottom:80px;
  text-align: left;
}
/* example 
body.pico #Container {
	max-width:1274px;
	min-width:980px;
	margin:0 auto;
}
*/

/* Header */
#Header {
  width: 100%;
  height: auto;
	margin: 0;
	background: #000;
}

#Sitename {
  font-family: Georgia normal, "Times New Roman", Times, serif;
	height:50px;
	font-size: 36px;
	margin-left:14px;
	text-align:left;
	line-height:50px;
	padding:5px;
}
#Sitename-h1 {
	margin-left:-9999em;
	height:0;
}
#Sitename a:link , #Sitename a:visited {
	text-decoration:none;
	text-align:left;
}
#Sitename .Slogan {
	font-size: 13px;
	margin-left:10px;
	text-align:left;
}
#Sitename .Slogan span {
	font-size:20px;
}
/* Header Menu */
#menu_m {
	display:block;
  width:100%;
	height:auto;
	line-height:36px;;
	margin:0 auto;
	text-align:center;
}
ul.mm {
	position:relative;
	text-align:center;
	list-style: none;
}
ul.mm li {
  display: -moz-inline-box;
  display: inline-block;
 	margin: 0;
	padding: 0;
	height: 36px;
	line-height:36px;
	liststyle:onne;
}
* html ul.mm li {
    display: inline;
    zoom: 1;
}
*+html ul.mm li {
    display: inline;
    zoom: 1;   
}
ul.mm li a {
	display: block;  
	padding: 0 10px;
	line-height:36px;
	text-decoration:none;
}

/* SUB MENU */
#menu_sub {
	display:block;
  width:100%;
	height:auto;
	line-height:24px;
	margin:0 auto;
	text-align:center;
}
#menu_sub a:link , #menu_sub a:visited {
	display:inline-block;
	text-decoration:none;
	font-weight:bold;
	font-size:80%;
	padding: 0 5px;
}

#leftcolumn {
	position:relative;
	float:left;
	width: 222px;
	margin:0;
	padding:0;
	z-index:3;
}


/* GRID CONTENT */
#grid-content {
	position:relative;
	margin-bottom:30px;
}
body.L1R1 #grid-content ,
body.L1R0 #grid-content {
	float:right;
	width:100%;
	margin-left:-245px;
	border:none;
}
body.L0R0 #grid-content ,
body.L0R1 #grid-content ,
body.other #grid-content ,
body.home #grid-content {
	width:100%;
	border:none;
}
body.home #grid-content {
	margin-top:12px;
}

#ModuleContents {
	position:relative;
	float:left;
	width:100%;
	height:auto;
	border:none;
	padding:1%;
	margin:-5px 0 6px 0;
}
body.L0R1 #gc-wrapper ,
body.L0R0 #gc-wrapper {
	width:98%;
	border:none;
	margin:0 auto;
}
body.L1R0 #gc-wrapper ,
body.L1R1 #gc-wrapper {
	position:relative;
	margin:0 0 10px 246px;
	padding:0 22px 5px 5px;
	border:none;
}
body.other #ModuleContents ,
body.home #ModuleContents {
	position:relative;
	margin:0;
	margin:0 0 10px 0;
}

#top-wrapper ,
#bottom-wrapper {
	position:relative;
	float:left;
	width:100%;
	height:auto;
	margin:5px 0 6px 0;
	padding:0;
	clear:both;
}


#leftcolumn div {
	float:left;
	width: 222px;
	margin: 5px;
	padding: 4px;
}

/* 20120515 comment out
#grid-content div div div {
	width: 100%;
	border:none;
}
 */

#grid-content div.small {
	float:left;
	width: 222px;
	margin: 0 6px 6px 0;
	padding: 4px;
}
#grid-content .clear_block {
	margin-rignt:0;
	clear:both;
}
#grid-content div.large {
	float:left;
	width: 456px;
	margin: 0 5px 5px 0;
	padding: 4px;
	padding-left:10px;
}
#grid-content div.top_block {
	float:left;
	margin: 0 0 5px 0;
	padding: 10px;
}
#grid-content div.small ,
#grid-content div.large ,
#grid-content div.top_block {
	min-height:40px;
}

body.home #grid-content div.small div {
	margin-left:10px;
	margin-bottom:10px;
}
body.home #grid-content div.small div div {
	margin-left:0px;
}

#grid-content div p {
	margin: 0;
	padding: 0;
}

body.other #grid-content div.large {
	float:left;
	width: 100%;
	max-width:960px;
	margin: 5px auto;
	padding: 2%;
}

* html #grid-content div.large {
	overflow:hidden;
}

#grid-content div.large div {
	width: 96%;
	margin:5px auto;
}

#grid-content div.small div.BlockContent ,
#grid-content div.small div.BlockContent div,
#grid-content div.small div.BlockContent div div {
	width: 185px;
	margin:15px auto;
}
#grid-content div.top_block div.BlockContent ,
#grid-content div.top_block div.BlockContent div,
#grid-content div.top_block div.BlockContent div div ,
#grid-content div.large div.BlockContent ,
#grid-content div.large div.BlockContent div,
#grid-content div.large div.BlockContent div div {
	width: 98%;
	margin:15px auto;
}



#leftcolumn div div.BlockContent ,
#leftcolumn div div.BlockContent div,
#leftcolumn div div.BlockContent div div {
	width: 200px;
	border:none;
}

#leftcolumn .BlockContent dl dt {
	margin-bottom:6px;
}
#leftcolumn .BlockContent dl dd {
	margin-bottom:10px;
}


/* コンテンツ内画像横幅を自動縮小（IE以外） */
.BlockContent img {
	max-width: 100% !important;
}

/* タイトルの設定 */
.BlockTitle_a, .BlockTitle_b, .BlockTitle_c, .BlockTitle_d, .BlockTitle_e {
	margin:10px 10px 5px 10px;
	padding:3px;
  padding-left:15px;
	line-height:1.2;
}

/* Footer */
#Footer {
	position:relative;
  width: 100%;
  min-height:50px;
	background: #000;
	clear:both;
	margin-top:-50px;
	z-index:1;
}
* html #Footer {
	margin-top:-30px;
}

/* footer menu */
#user_menu_block {
	position:relative;
  margin: 0 auto;
	text-align:center;
}
#user_menu_block ul{
	text-align: center;
	width:97%;
	margin-left:2%;
}
#user_menu_block ul li{
	height:20px;
  display: -moz-inline-box;   
  display: inline-block;
	line-height:18px;
	text-decoration:none;
}
* html #user_menu_block ul li{
  display: inline;
  zoom: 1;   
}
*+html #user_menu_block ul li{
  display: inline;   
  zoom: 1;   
}

#user_menu_block ul li a ,#user_menu_block ul li a:visited {
  display: block;
	padding: 5px;
	text-decoration:none;
}

#XoopsBanner {
	position:absolute;
	top:30px;
	left:50%;
	margin-left:-234px;
}

div#Banner {
  clear: both;
  width: 100%;
  margin: 0 auto;
	padding: 20px 0;
}

/* for accessibility */
.Skip {	
  position: absolute;
  left: -999em;
}

/******************************************************************************/

/* clearfix http://www.positioniseverything.net/ */
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.clearfix {
  display: inline-table;
}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

/******************************************************************************/

/* XOOPS Main Menu */
#mainmenu, #usermenu {
  margin:0;
  padding:0;
  text-align:left;
}
#mainmenu li, #usermenu li {
  display: inline;
}
#mainmenu a ,#mainmenu a:visited {
  display: block;
	margin:0 1px;
}
#mainmenu a.menuTop {
  padding: 5px 10px;
}
#mainmenu a.menuMain {
  padding: 5px 10px;
}
#mainmenu a.menuSub {
  padding: 5px 5px 5px 15px;
}

#usermenu a {
  display: block;
	margin:0 1px;
  padding: 5px 10px;
}

/* XOOPS table */
table {
  width: 100%;
  margin: 0;
  padding: 0;
}
td {
  padding: 5px;
  vertical-align: top;
}
* html td {
  font-size: 0.8em;
} /* IE6 */

.outer {}
.head {
  padding: 5px;
  font-weight: bold;
}
h2.head {
	padding:0;
}
.even ,
.odd ,
.foot ,
tr.even td ,
tr.odd td {
  padding: 5px;
}

.outer {
    margin: 0px 1px;
}
.inner {
    margin: 0px -1px;
}

/******************************************************************************/

/* XOOPS item */
.item {}
.itemHead {
  padding: 3px;
}
.itemInfo {
  text-align: right;
  padding: 3px;
  background-color: #EFEFEF;
}
.itemTitle a {
  font-weight: bold;
  font-variant: small-caps;
}
.itemPoster {
  font-size: 90%;
}
.itemPostDate {
  font-size: 90%;
}
.itemStats {
  font-size: 90%;
}
.itemBody {
  padding-left: 0px;
}
.itemText {
  margin-top: 5px;
  margin-bottom: 5px;
  line-height: 100%;
}
.itemText:first-letter {}
.itemFoot {
  text-align: right;
  padding: 3px;
}
.itemAdminLink {
  font-size: 90%;
}
.itemPermaLink {
  font-size: 90%;
}


/* XOOPS Error Msg */
div.errorMsg {
  text-align: center;
  font-weight: bold;
  padding: 10px;
}
div.confirmMsg {
  text-align: center;
  font-weight: bold;
  padding: 10px;
}
div.resultMsg {
  text-align: center;
  font-weight: bold;
  padding: 10px;
}

/* XOOPS Code & Quote */
#ModuleContents .xoopsCode ,
.xoopsCode {
	width:94%;
  font-family: "Courier New",Courier,monospace;
	line-height:24px;
	word-break: break-all;
  white-space: -moz-pre-wrap; /* Mozilla */
  white-space: -pre-wrap;     /* Opera 4-6 */
  white-space: -o-pre-wrap;   /* Opera 7 */
  white-space: pre-wrap;      /* CSS3 */
  word-wrap: break-word;      /* IE 5.5+ */
	margin:-1px 2em -1px 1em;
	padding:0 1em 0 1em;
}
#ModuleContents .xoopsQuote ,
.xoopsQuote {
	width:94%;
  padding: 0;
	line-height:24px;
	word-break: break-all;
  white-space: -moz-pre-wrap; /* Mozilla */
  white-space: -pre-wrap;     /* Opera 4-6 */
  white-space: -o-pre-wrap;   /* Opera 7 */
  white-space: pre-wrap;      /* CSS3 */
  word-wrap: break-word;      /* IE 5.5+ */
	margin:-2px 2em -1px 1em;
	padding:0 1em 0 45px;
}

#ModuleContents pre ,
pre {
  word-break: break-all;
  white-space: -moz-pre-wrap; /* Mozilla */
  white-space: -pre-wrap;     /* Opera 4-6 */
  white-space: -o-pre-wrap;   /* Opera 7 */
  white-space: pre-wrap;      /* CSS3 */
  word-wrap: break-word;      /* IE 5.5+ */
	line-height:24px;
}
#ModuleContents code ,
code {
  word-break: break-all;
  white-space: -moz-pre-wrap; /* Mozilla */
  white-space: -pre-wrap;     /* Opera 4-6 */
  white-space: -o-pre-wrap;   /* Opera 7 */
  white-space: pre-wrap;      /* CSS3 */
  word-wrap: break-word;      /* IE 5.5+ */
	line-height:24px;
}
#ModuleContents .xoopsQuote blockquote ,
#ModuleContents blockquote ,
blockquote {
	position: relative;
	padding: 0px 10px 0px 45px;
  word-break: break-all;
  white-space: -moz-pre-wrap; /* Mozilla */
  white-space: -pre-wrap;     /* Opera 4-6 */
  white-space: -o-pre-wrap;   /* Opera 7 */
  white-space: pre-wrap;      /* CSS3 */
  word-wrap: break-word;      /* IE 5.5+ */
	margin:0;
	padding:0;
	line-height:24px;
	quotes: none;
}
#ModuleContents .xoopsQuote blockquote:before ,
#ModuleContents blockquote:before ,
blockquote:before {
    position: absolute;
    top: -5px;
    left: -20px; /* フォントサイズに合わせて調整 */
    width: 100px;
    transform: rotate(90deg); /* 時計回りに90度回転 */
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform-origin: 0 50%; /* 回転の基準 Xが0 Yが真ん中 */
    -moz-transform-origin: 0 50%;
    -webkit-transform-origin: 0 50%;
    -o-transform-origin: 0 50%;
    content: "Quote";
    font-size: 36px;
    font-weight: 400;
    font-style: oblique;
    font-family: Georgia normal, "Times New Roman", Times, serif;
    text-shadow: 1px -1px 0 #fff; /* 影も回転するので方向を考える */
}
#ModuleContents .xoopsQuote blockquote:after {
    display: block;
    padding-top: 10px;
    border-top: 1px solid #666;
    color: #444;
    font-size: 12px;
    text-align: right;
    text-shadow: 1px 1px 0 #eee;
    line-height: 1;
    content: attr(cite); /* cite属性の文字列 */
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    word-wrap: break-word;
}

blockquote > :last-child {
    margin-bottom: 0;
    padding-bottom: 1em;
    border-bottom: 1px solid #fff;
}

/* XOOPS com */
.comTitle {
  font-weight: bold;
  margin-bottom: 2px;
}
.comText {
  padding: 2px;
}
.comUserStat {
  font-size: 10px;
  font-weight:bold;
  margin: 2px;
  padding: 2px;
}
.comUserStatCaption {
  font-weight: normal;
}
.comUserStatus {
  margin-left: 2px;
  margin-top: 10px;
  font-weight:bold;
  font-size: 10px;
}
.comUserRank {
  margin: 2px;
}
.comUserRankText {
  font-size: 10px;font-weight:bold;
}
.comUserRankImg {
  border: 0;
}
.comUserName {}
.comUserImg {
  margin: 2px;
}
.comDate {
  font-weight: normal;
  font-style: italic;
  font-size: smaller;
}
.comDateCaption {
  font-weight: bold;
  font-style: normal;
}

#user_info {
	position:absolute;
	top:0px;
	right:10px;
	font-size:0.8em;
}

span.uname {
	font-size:1.6em;
	padding-left:5px;
	padding-right:5px;
}

#redirect_message {
	position:absolute;
	top:10px;
	right:200px;
	width:200px;
	min-height:40px;
	padding-left:10px;
	padding-right:10px;
}

.text-align-left {
	text-align:left;
}
.font-80p {
	font-size:80%;
}
.margin-left-1em {
	margin-left:1em;
}

/* for xugj_date */
.new1 {
	margin-left:5px;
	font-weight:bold;
}
.new2 {
	margin-left:5px;
}

/* headerSearch */
#headerSearch {
	position:absolute;
	height:30px;
	width:202px;
	top:20px;
	right:15px;
}
#headerSearch-searchform {
	width: 200px;
	background: transparent;
	display: block;
	height: 30px;
}
#headerSearch-keywords	{
	position: absolute;
	top: 0px;
	left: 12px;
	width: 156px;
	height: 20px;
	padding-left:6px;
}
#headerSearch-searchBtn	{
	position: absolute;
	top: 3px;
	left: 182px;
}

#theme_login_block {
	width:200px;
	height:200px;
}


