
/************** 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: #666666; 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: 5px; padding: 5px; font-size: small}
th {background-color: #666; 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: ;*/
	border-bottom: 1px solid #ffffff;
	background: #ffffff;
}
#TopHeader h1 { margin: 0; padding: 2px; font-size: 1em; background-color: #ffffff; }

#Header {
	width: 100%;
	color: #ffffff;
	height: 30px;
	border-bottom: 1px solid #ffffff;
	background: inherit;
	/*background: url(http://7c4k.org/themes/newbase0db/images/header_bg.gif) inherit repeat-x left top;*/
}
#Header img { float: left; margin: 0; }

#Footer {
	width: 100%;
	clear: both;
	height: 23px;
	position: relative;
	border-top: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
	text-align: center;
	background: #ffffff;
	color: gray;
}


/******************* xoops generic rules *****************/
input.formButton {}

.outer {border: 1px solid #ffffff;}
.head {background-color: #c2cdd6; padding: 5px; font-weight: bold;}
.even {background-color: #dee3e7; padding: 5px;}
.odd {background-color: #efefef; padding: 5px;}
.foot {background-color: #c2cdd6; padding: 5px; font-weight: bold;}
tr.even td {background-color: #dee3e7; padding: 5px;}
tr.odd td {background-color: #efefef; padding: 5px;}

div.errorMsg { background-color: #ffcccc; text-align: center; border: 1px solid #ffffff; font-weight: bold; padding: 10px;}
div.confirmMsg { background-color: #ddffdd; text-align: center; border: 1px solid #ffffff; font-weight: bold; padding: 10px;}
div.resultMsg { background-color: #dddddd; text-align: center; border: 1px solid #ffffff; font-weight: bold; padding: 10px;}

div.xoopsCode { background: inherit; border: 1px solid #ffffff; font-family: "Courier New","Courier","monospace"; padding: 0px 6px 6px 6px;}
div.xoopsQuote { background: inherit; border: 1px solid #ffffff; font-family: "Courier New","Courier","monospace"; padding: 0px 6px 6px 6px;}

div#Breadcrumbs {
  margin: 0 0 12px 6px;
  border-bottom: 1px solid #ccc;
  font-size: .96em; 
}
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 #ffffff;}
.itemHead {padding: 3px; background-color: #666; color: #ffffff;}
.itemInfo {text-align: right; padding: 3px; background-color: #efefef;}
.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: #efefef;}
.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 #ffffff; 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: white; /* url(http://7c4k.org/themes/newbase0db/images/xxxxx.gif) repeat-y left top; */ /* this BG tiles the area outside the columns */
	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 360px;
	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 -360px; 			/* neg side margin values should be < or = to side body padding */
	min-width: 720px; 			/* 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://7c4k.org/themes/newbase0db/images/bg_leftcolumn.gif) repeat-y 0 0;*/
	/* this BG tiles the backgroung and the left column */
		font-size: 80%;
		background-color: inherit;
	border-left: 1px solid #ffffff;
	border-right: 1px solid #ffffff;
}
#Filler2 {
	position: relative; /* extra insurance against bugs in IEwin */
	/*background: #fff url(http://7c4k.org/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 #ffffff; 	/*** Critical left divider dimension value ***/
	border-right: 1px solid #ffffff; 	/*** Critical right divider dimension value ***/
	margin-left: 170px; 			/*** Critical left col width value ***/
	margin-right: 170px; 			/*** Critical right col width value ***/
}
.showBlockL1R0 #OuterWrapper {		/* 2 cols of left and center */
	margin-left: 170px;
	border-left: 1px solid #ffffff;
}
.showBlockL0R1 #OuterWrapper {		/* 2 cols of center and right */
	margin-right: 170px;
	border-right: 1px solid #ffffff;
}
.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: 170px; 					/*** Critical left col width value ***/
	margin-left: -171px;			/*** Critical left col width value ***/
									/*** Critical left divider dimension value ***/
}

#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: #ffffff;
	color: #639ace;
	font-weight: bold;
	font-size: 1em;
	/* border-top: 1px solid #ffffff; */
}
#Center .blockTitle {
	margin: 0;
	padding: 3px;
	background-color: #ffffff;
	color: #639ace;
	font-weight: bold;
}

.blockContent {
	padding: 3px 3px 9px 3px;
	line-height: 1.5em;
}
#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 *******************/

/**** clearfix */
.clearfix:after {
  content: ".";  /* 新しい要素を作る */
  display: block;  /* ブロックレベル要素に */
  clear: both;
  height: 0;
  visibility: hidden;
}

.clearfix {
  min-height: 1px;
}

* html .clearfix {
  height: 1px;
  /*¥*//*/
  height: auto;
  overflow: hidden;
  /**/
}

.float_r{ float: right; }
.float_l{ float: left; }
img.float_r {margin-bottom: .2em; margin-left: .5em;}
img.float_l {margin-bottom: .2em; margin-right: .5em;}

.clear_r{ clear: right; }
.clear_l{ clear: left; }
.clear_b{ clear: both; }

/******** alt side block *********/

DIV.leftBlock {
  margin-right: 7px;
}

#Left DIV.blockTitle {
  background-color: #666;
  margin: 0; padding: .2em .5em;
  border: 0 solid #ccc;
  border-width: 0 1px 1px 0;
  color: #eee;
}

#Right DIV.blockContent,
#Left DIV.blockContent {
  padding: 0; margin: 0 0 1.5em 0;
}

#Right ul,
#Left ul {  
  padding:0; margin: 0;
}

#Right ul li,
#Left ul li {  
  list-style: none none outside;
  border: 1px solid #ccc;
  border-width: 0 0 1px 0;
  margin: 0;
  padding: .3em;
}
#Right ul li,
#Left ul li,
#Right ul li a,
#Left ul li a{
  color: #333;
  font-weight: normal;
  font-size: .96em;
  line-height: 140%;
  font-family: monospace;
}
#Right ul li a:hover,
#Left ul li a:hover{
  color: #ff6600; 
}


/******** other *********/

.itemPoster{display:none;}

.kakomi{
margin:1em; padding:1em; border:1px solid #999
}


/******** home *********/
/*
div.topLogo {
  text-align: center;
  margin: 1.6em 0 0 370px;
}

#home DIV.homeBg {
  height: 600px;
  background: #fff url('http://7c4k.org/uploads/imgf17abd51f99a4b4ebac43.jpg') no-repeat top center;
}


#home #CenterRColumn {
  background-image: url(http://7c4k.org/uploads/imga6c396bc38301b771bf6f.gif);
  padding:0; margin:0;
}

#home #CenterRColumn DIV.block {

  padding:0; margin:4px;
}

#home #CenterRColumn div.blockTitle{
  background-color: #efefef;
  border: 1px solid #ccc;
  border-width: 1px 1px 0 1px;
  border-color: #ccc #666 #ccc #ccc;
  
  padding: .5em 0 .5em .5em;
  color: #333;
  font-family:monospace;
  font-size: .96em;
  font-weight: normal;
}

#home #CenterRColumn div.blockContent{

  background-color: #efefef;
  border: 1px solid #ccc;
  border-width: 0 1px 1px 1px;
  border-color: #ccc #666 #666 #ccc;

}

#home #CenterRColumn li a,
#home #CenterRColumn li {
  font-family:monospace;
  font-size: .96em;
  font-weight: normal;
}

*/