
/************** Generic Rules *************/
html, img {
  margin: 0;
  padding: 0;
  border: 0;
}

p  {}
h1 { margin:3px 0; padding:0; font-size:1.3em; }
h2 { margin:2px 0; padding:0; font-size:1.2em; }
h3 { margin:1px 0; padding:0; font-size:1.1em; }
h4, h5 { margin:0; padding:0; font-size:1em; }

a {color: #000097; text-decoration: none; font-weight: bold; background-color: transparent;}
a:hover {color: #ff6600;}

ul { margin: 2px; padding: 2px; list-style: decimal inside; text-align: left;}
li { margin-left: 16px; list-style: disc outside; color: #666666}
dl, dt { margin:2px; padding:2px; }
dd { margin-left:1em; color: #666666; }

table {width: 100%; margin: 5; padding: 5; font-size: small}
th {background-color: #2f5376; color: #ffffff; padding : 2px; vertical-align : middle; font-family: "Verdana","Arial","Helvetica","sans-serif";}
td {padding: 0; border-width: 0; vertical-align: top; font-family: "Verdana","Arial","Helvetica","sans-serif";}

em { font-style: italic; }
strong { font-weight: bold; }

.floatLeft { float: left; }
.floatRight { float: right; }
.divCenter { margin-left:auto; margin-right:auto; }
.clear { clear: both; }
.alignRight { text-align: right; }
.alignLeft { text-align: left; }
.alignCenter {text-align: center; }

.small {font-size: .9em;}
.large { font-size: 1.2em; }

/*************** Header and Footer elements *****************/
#TopHeader {
	width: 100%;
	color: #ffffff;
	border-bottom: 1px solid #999999;
	background: #660000;
	background-image:url(http://www.momo7.jp/main/themes/newbase0db/images/block_title.jpg);
	background-repeat:repeat-x;
}
#TopHeader h1 { margin: 0px 0px 0px 10px; padding: 2px; font-size: 1em; }

#Header {
	width: 100%;
	color: #ffffff;
	height: 80px;
	border-bottom: 1px solid #999999;
	background: #768b1e;
	background: url(http://www.momo7.jp/main/themes/newbase0db/images/header.jpg) #768b1e repeat-x left top;
        margin: 0px 0 0 0;
}
#Header img { float: left; margin: 0; }
#Header h1 { margin: 0; padding: 0px; font-size: 1em; background-color: #660000; }
#Header h1 a {
    float: left;
    display: block;
    margin: 30px 0 0 0;
    width: 300px;
    height: 50px;
    /*background: url("../img/header/logo.gif");*/
}

#Footer {
	width: 100%;
	clear: both;
	height: 23px;
	position: relative;
	border-top: 1px solid #999999;
	border-bottom: 1px solid #999999;
	text-align: center;
	background: #660000;
	color: white;
	background-image:url(http://www.momo7.jp/main/themes/newbase0db/images/block_title.jpg);
	background-repeat:repeat-x;
        height: 24px;
}


/******************* xoops generic rules *****************/
input.formButton {}

.outer {border: 1px solid #999999;}
.head {background-color: #c2cdd6; padding: 5px; font-weight: bold;}
.even {background-color: #dee3e7; padding: 5px;}
.odd {background-color: #e9e9e9; padding: 5px;}
.foot {background-color: #c2cdd6; padding: 5px; font-weight: bold;}
tr.even td {background-color: #dee3e7; padding: 5px;}
tr.odd td {background-color: #e9e9e9; padding: 5px;}

div.errorMsg { background-color: #ffcccc; text-align: center; border: 1px solid #999999; font-weight: bold; padding: 10px;}
div.confirmMsg { background-color: #ddffdd; text-align: center; border: 1px solid #999999; font-weight: bold; padding: 10px;}
div.resultMsg { background-color: #dddddd; text-align: center; border: 1px solid #999999; font-weight: bold; padding: 10px;}

div.xoopsCode { background: #ffffff; border: 1px solid #999999; font-family: "Courier New","Courier","monospace"; padding: 0px 6px 6px 6px;}
div.xoopsQuote { background: #ffffff; border: 1px solid #999999; font-family: "Courier New","Courier","monospace"; padding: 0px 6px 6px 6px;}

div#Breadcrumbs { margin: 0 0 12px 12px; border-bottom: 1px solid #999999; }
div#Breadcrumbs a { font-weight: bold; }

.new1{
    font-size: 8pt;
    font-weight: bold;
    background-color:#FF0000;
    color:#FFFFFF;
    padding:2px 2px 2px 2px;
    margin:2px 2px 2px 2px;
}
.new2{
    font-size: 8pt;
    font-weight: bold;
    color:#FF0000;
    padding:2px 2px 0px 2px;
    margin:2px 2px 2px 2px;
}


/******************* xoops module/system rules *****************/
/* news module */
.item {border: 1px solid #999999;}
.itemHead {padding: 3px; background-color: #2f5376; color: #ffffff;}
.itemInfo {text-align: right; padding: 3px; background-color: #e9e9e9;}
.itemTitle a {font-size: 130%; font-weight: bold; font-variant: small-caps; color: #ffffff; background-color: transparent;}
.itemPoster {font-size: 90%; font-style:italic;}
.itemPostDate {font-size: 90%; font-style:italic;}
.itemStats {font-size: 90%; font-style:italic;}
.itemBody {padding-left: 5px;}
.itemText {margin-top: 5px; margin-bottom: 5px; line-height: 1.5em;}
.itemText:first-letter {font-size: 133%; font-weight: bold;}
.itemFoot {text-align: right; padding: 3px; background-color: #e9e9e9;}
.itemAdminLink {font-size: 90%;}
.itemPermaLink {font-size: 90%;}

/* system comments */
.comTitle {font-weight: bold; margin-bottom: 2px;}
.comText {padding: 2px;}
.comUserStat {font-size: 10px; color: #666666; font-weight:bold; border: 1px solid #999999; background-color: #666666; margin: 2px; padding: 2px;}
.comUserStatCaption {font-weight: normal;}
.comUserStatus {margin-left: 2px; margin-top: 10px; color: #666666; 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;}






/******************* site specific rules *****************/

body {
	margin: 0;
	padding: 0;
	background-color: #e7a54e; /*url(http://www.momo7.jp/main/themes/newbase0db/images/bg.jpg) repeat-y left top;*/  /* this BG tiles the area outside the columns */
	background-image:url(http://www.momo7.jp/main/themes/newbase0db/images/bg.jpg);
	color: #666666;
	font-family: "Verdana","Arial","Helvetica","sans-serif";
	font-size: 100.01%; /* this body font-size fixes an IE bug and maintains x-browser uniformity */
}

body.showBlockL1R1,
body.showBlockL1R0,
body.showBlockL0R1,
body.showBlockL0R0 { 			/* fix for pop-up window to expand full width */
	padding: 0 400px;
	text-align: center;
}

#Sizer {
	margin: 0 auto;
	padding: 0;
	width: 100%; 				/* this value controls liquidity; 0% = full rigid, 100% = full liquid */
	text-align: left; 			/* centers the #sizer element in IE5.x/win */
	max-width: 0px;
}

#Expander { 					/* Any % height here causes IE to lose the neg right margin */
	margin: 0 -400px; 			/* neg side margin values should be < or = to side body padding */
	min-width: 800px; 			/* This prevents Safari from losing the negative margins in narrow windows */
	position: relative; 		/* makes #expander visible outside #sizer in IEwin */

}

/* Holly hack for IE */
* html #Expander { height: 0; }
/* #Expander must have "height: 0" in IEwin bug fixing */

#Filler1 {
	position: relative;
	/* this positioning may be needed for IEwin if page is to contain positioned elements */
	/*background: #fff url(http://www.momo7.jp/main/themes/newbase0db/images/bg_leftcolumn.gif) repeat-y 0 0;*/
	/* this BG tiles the backgroung and the left column */
		font-size: 80%;
		background-color: #ffffff;
	border-left: 1px solid #999999;
	border-right: 1px solid #999999;
}
#Filler2 {
	position: relative; /* extra insurance against bugs in IEwin */
	/*background: #fff url(http://www.momo7.jp/main/themes/newbase0db/images/bg_rightcolumn.gif) 100% 0 repeat-y;*/
	/* this BG tiles the right column */
}

/****************** Main Page Structure *****************/

#OuterWrapper {
	background: transparent; 		/* this BG tiles the center column */
}

.showBlockL1R1 #OuterWrapper {		/* 3 columns */
	border-left: 1px solid #999999; 	/*** Critical left divider dimension value ***/
	border-right: 1px solid #999999; 	/*** Critical right divider dimension value ***/
	margin-left: 220px; 			/*** Critical left col width value ***/
	margin-right: 170px; 			/*** Critical right col width value ***/
}
.showBlockL1R0 #OuterWrapper {		/* 2 cols of left and center */
	margin-left: 220px;
	border-left: 1px solid #999999;
}
.showBlockL0R1 #OuterWrapper {		/* 2 cols of center and right */
	margin-right: 170px;
	border-right: 1px solid #999999;
}
.showBlockL0R0 #OuterWrapper {		/* center only */
}

#InnerWrapper {						/* wrapper including center and left columns */
	float: left;
	width: 100%;
}

#Center {
	float: right;
	width: 100%;
}

#Left {
	float: left;
	position: relative; 			/* Needed for IE/win */
	width: 220px; 					/*** Critical left col width value ***/
	margin-left: -221px;			/*** Critical left col width value ***/
								/*** Critical left divider dimension value ***/
        letter-spacing: -0.5px;
}

#Right {
	float: right;
	position: relative; 			/* Needed for IE/win */
	width: 170px; 					/*** Critical right col width value ***/
	margin-right: -171px; 			/*** Critical right col width value ***/
	margin-left: 1px; 				/*** Critical right divider dimension value ***/
}

#ContainerCenter,
#ContainerLeft,
#ContainerRight {
	position: relative;
	/*margin: 10px;*/
}

/************** Module and Blocks ****************/
#ModuleContents {
	padding: 5px;
	line-height: 1.5em;
}

/* columns of xoops */
#CenterCColumn { padding: 0 5px; }
#CenterBlockWrapper {
	position: relative;
}
#CenterLColumn { float:left; width:48%; padding-left:5px; }
#CenterRColumn { float:right; width:48%; padding-right:5px; }

#Left .blockTitle,
#Right .blockTitle {
	padding: 3px;
	background-color: #660000;
	color: #ffffff;
	font-weight: bold;
	font-size: 1em;
	background-image:url(http://www.momo7.jp/main/themes/newbase0db/images/block_title.jpg);
	background-repeat:repeat-x;
	/* border-top: 1px solid #999999; */
}
#Left .blockTitle a,
#Right .blockTitle a {
	color: white;
}
#Left .blockTitle a:visited,
#Right .blockTitle a:visited {
	color: white;
}
#Left .blockTitle a:hover,
#Right .blockTitle a:hover {
	color: #ffa2ff;
}
#Center .blockTitle {
	margin: 0;
	padding: 3px;
	background-color: #660000;
	color: #ffffff;
	font-weight: bold;
	font-size: 1.2em;
	background-image:url(http://www.momo7.jp/main/themes/newbase0db/images/block_center_title.jpg);
	background-repeat:repeat-x;
}

.blockContent {
	padding: 3px 3px 9px 3px;
	line-height: 1.5em;
        letter-spacing: -1px;
}
.blockContent li {
        line-height: 1.1em;
        margin: 2px 0px 2px 10px;
        letter-spacing: -0.5px;
}
#Center .blockContent {
	margin-bottom: 2px;
}

/************** Special Fixes *************/

#OuterWrapper { word-wrap: break-word; }
										/* Prevents long urls from breaking layout in IE, must
										be hidden in a conditional comment for CSS to validate */

/* img { max-width: 100%; }	 */ /* prevents oversize images from breaking layout in browsers that support max-width */

/* */
* html #Filler1,
* html #Filler2,
* html #OuterWrapper a,
* html #ContainerLeft,
* html #ContainerRight,
* html #OuterWrapper,
* html h2,
* html #mainmenu a,
* html #usermenu a
{height: 1%;}
/* Holly hack */

/*** Variance fixes for IEwin ***/

/**/
* html #OuterWrapper p {margin-right: -6px;}
/* */


/**************** Utility Rules *******************/

/**/ /*/
#mainmenu a:hover,
#usermenu a:hover {
	position: relative;
}
/* this fixes an IEmac hover bug in the left column, hidden from other browsers */


.brclear { /* Use a break with this class to clear float containers */
  clear:both;
  height:0;
  margin:0;
  font-size: 1px;
  line-height: 0;
}

.clearFix:after {						/* www.positioniseveytthing.net */
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.clearFix { display: inline-block; }
/* Hides from IE-mac */
* html .clearFix {height: 1%;}
.clearFix {display: block;}
/* End hide from IE-mac */



/**************** Custom Rules of each sites *******************/

/*pico*/
div.pico_body {
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 20px;
}

div.pico_body h3 {
	color: #800000;
	background-color: #fff5f0;
	font-size: 24px;
        line-height: 28px;
	font-weight: bold;
	margin: 15px 0px 0px -20px;
	padding: 3px 3px 3px 3px;
	border-color: #800000;
	border-style: solid;
	border-width: 1px 5px 1px 5px
}

div.pico_body h4 {
	color: #800000;
	background-color: #fff5f0;
	font-size: 15px;
	font-weight: bold;
	margin: 20px 0px 15px -10px;
	padding: 2px 2px 2px 10px;
	border-color: #800000;
	border-style: dotted;
	border-width: 0px 0px 1px 0px
}
div.pico_body h5 {
	color: #800000;
	font-size: 13px;
	font-weight: bold;
	margin: 15px 0px 5px -5px;
	padding: 2px 2px 2px 10px;
	border-color: #800000;
	border-style: dotted;
	border-width: 0px 0px 1px 0px
}

div.pico_body p {
	margin: 15px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}
div.pico_body p.clear {
	margin: 15px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
        clear: both;
}


div.pico_body img.none {
	margin: 5px 5px 5px 20px
}

div.pico_body img.left {
	margin: 5px 10px 5px 20px;
	float: left;
}

div.pico_body img.right {
	margin: 5px 0px 5px 10px;
	float: right;
}

div.pico_body img.center {
	text-align: center;
	margin: 5px auto 5px auto;
	display: block
}


div.pico_body li {
	margin: 10px 0px 10px 30px;
}
div.pico_body blockquote {
	color:#800000;
	margin:20px 0px 0px 20px;
	padding:0px 0px 0px 0px;
}

//********　weblinks　************//
.weblinks_sub_category {
	font-size:80%;
	margin:3px 0px 5px 20px;
	padding:0px;
	border-width:0px;
	display:block;
}