html{-webkit-font-smoothing:antialiased;}
body{padding:0;margin:0;font-family:"Arial","PMingLiU","Meiryo","ＭＳ Ｐゴシック","sans-serif";
text-align:center;background: #FFFFFF;padding:0 !important;margin:0 !important;
}
a:-webkit-any-link {
color: -webkit-link;
text-decoration: none;
border:none;
cursor: auto;
}
a{border:none;text-decoration:none;outline:none;}
a:visited{border:none;text-decoration:none;outline:none;}
a img{border:none;text-decoration:none;outline:none;}
a:visited img{border:none;text-decoration:none;outline:none;}
#index-body{
width:845px;
position:relative;display:inline-block;
text-align:center;vertical-align:middle;
-webkit-box-shadow: 0px 0px 5px #000000;
-moz-box-shadow: 0px 0px 5px #000000;
box-shadow: 0px 0px 5px #000000;
-webkit-border-radius-bottom:5px;
-moz-border-radius-bottom:5px;
border-radius:0 0 5px 5px;
overflow:hidden;padding:0 !important;margin:0 !important;
text-align:center;vertical-align:top;
background:#ffffff;
*border:solid 1px #333333;
*border-top:none;
}
#index-head{width:100%;padding:0;margin:0;display:block;}
#index-side{width:187px;padding:0;margin:0;display:inline-block;text-align:center;vertical-align:top;position:relative;float:left;margin:2px;}
#index-main{width:650px;display:inline-block;*height:3200px;padding:0;margin:0 0 10px 0;text-align:center;vertical-align:top;position:relative;float:right;margin:2px;overflow:auto}
#index-footer{clear:both;width:100%;padding:0;margin:0;text-align:center;vertical-align:top;display:block;position:relative;}
.index-3row{
font-size:12px;
padding:2px;margin:3px;
width:115px;height:150px;
overflow:hidden;
float:left;
text-align:center;
border:dotted #cccccc 1px;
background:#ffffff;
}
.index-image{
height:100px;margin:1px 0 1px 0;
max-width:100px;
overflow:hidden;
border:solid #cccccc 1px;
text-align:center;
}
.index-3row a{text-align:center;}
.popular{
margin:0 0 5px 0;padding:1px;
display:block;
font-size:12px;
width:108px;
height:140px;
display:inline-block;
overflow:hidden;
text-align:center;
border:solid #cccccc 1px;
background:#ffffff;
}
#index-right{
padding:0;margin:0;width:112px;display:inline-block;overflow:hidden;float:right;
}
.index-right-title{
width:120px;
}
#index-left{
padding:0;margin:0;width:520px;display:inline-block;overflow:hidden;float:left;
}
#side{margin:0;padding:0;}

/* LAYOUT ONLY!! */
#container {
	width: 780px;
	border: 1px solid gray;
	margin-top: 5px;
	margin-bottom: 5px;
	margin-left: auto;
	margin-right: auto;
	padding: 3px; /*10px;*/
	background-color: white;
}
#header {
	padding: 10px;
	margin-bottom: 5px;
	background-color: white;
	text-align: center;
}
#content {
	margin-left: 175px;
	padding: 20px;
	background-color: white;
	float: left; 
	width: 555px; 
	margin: 0 0 10px 0; 
	display: inline; 
	overflow: auto; 
	position: relative;
    margin-top: 0px;
}
#menu {
	float: left;
	width: 150px;
	margin: 0;
	margin-right: 5px;
	padding: 10px;
	background-color: white;
}
#footer {
	clear: both;
	padding: 5px;
	margin-top: 5px;
	background-color: white;
	text-align: center;
}

/* TOP MENU */
#icon-bar{border:none;display:inline-block;vertical-align:middle;margin:0 5px 0 0;}
#navcontainer2{
position:relative;display:block;
background:white;
text-align:left;
margin:0 0 2px 0;
}
#navcontainer2-L1{
text-align:right;
}
#navcontainer2-L1-logo{
background:#ffffff url('images/003.jpg') no-repeat;width:200px;height:76px;display:inline-block;*float:left;
}
#navcontainer2-L1-promte{
display:inline-block;
text-align:right;
padding:0 2px 2px 2px;
*float:right;*margin-top:0 2px 2px 2px;
}
#navcontainer2-L2{text-align:right;padding:0;margin:0;clear:both;position:relative;}
#navcontainer2-L2 ul#navlistbb{vertical-align:middle;padding:0;margin:0;display:inline-block;background:#96B3FA;}
#navcontainer2-L2 ul#navlistbb li{vertical-align:middle;text-align:center;list-style:none;margin:0;padding:2px;display:inline-block;height:22px;*float:right;*margin-right:2px}
#navcontainer2-L2 ul#navlistbb li:first-child{background:url("images/005.jpg") no-repeat top left;width:46px;border:none;*float:left;}
#navcontainer2-L2 ul#navlistbb li a:visited,#navcontainer2-L2 ul#navlistbb li a{
font-size:12px;
-webkit-transition:color .2s ease-out;padding:0 5px 0 5px;
border-left: 1px solid gray;
color:white;text-decoration:none;outline:none;background:none;vertical-align:middle;text-align:center;}
#navcontainer2-L2 ul#navlistbb li a:hover{color:black;}

#navcontainer2-L3{
background:url(images/topmenu_bg2.jpg) #d9dffb;text-align:right;padding:0;margin:0;
-webkit-box-shadow: 0px 0px 2px #e1e1e1;
-moz-box-shadow: 0px 0px 2px #e1e1e1;
box-shadow: 0px 0px 2px #e1e1e1;
}
#navcontainer2-L3 ul{text-align:right;padding:0;margin:0;}
#navcontainer2-L3 ul li{height:24px;vertical-align:middle;list-style:none;margin:0;padding:2px;display:inline-block;*float:right;*margin-right:2px;}
#navcontainer2-L3 ul li a{font-size:12px;color:#003366;padding:2px 5px 2px 5px;-webkit-transition:background-color .2s ease-out;border-left: 1px solid gray;}
#navcontainer2-L3 ul li a:hover{background-color:white;}

/* TEXT MAKEUP AND OTHER COSMETICS HERE!!! */

#hideable {
	background-color: white;
}

/* image properties */
.imgleft {
float: left;
padding: 6px 10px 6px 0px;	  
}

.imgright {
float: right;
padding: 6px 0px 6px 10px;	  
}
	
img { 
border-width:none; 
}

/* this image is used in details.php and browse.php, all other images should not have borders */
.borderimg { 
border-style:solid;
border-color: #D6DDE6;
border-width:1px;
}

/* the headings you can use */
h1, h2, h3, h4, h5, h6, h7
{
	margin: 0px;
	padding: 0px;
	color: black;
}
h1 { 
	 /* left menu */
	 font-size: 13px;
     font-weight: bold;
	 color: #33517A;
}
h2 { /* page headers */
	 font-size: 14px;
     font-weight: bold;
} 
h3 { /* slogan under logo */ 
	 font-size: 15px; 
     font-weight: bolder;
     position: relative;
}
h4 { /* back to admin options, and other text links like that */
	 font-size: 12px;   
	 text-align: center;
     font-weight: normal;
}
h5 { /* product id in details.php */
	 font-size: 12px;
     font-weight: bold;
} 
h6 { /* the headers in editsettings.php */
     font-size: 13px;   
	 text-align: center;
     font-weight: bold;
     color: black;
     border: 1px solid #808080;
	 background: url(images/h6_bg.png) #d9dffb;
}

/* how the links should behave (apart from the menu) */

/* a link class that is pretty plain */
a.plain{text-decoration:none;border:none;}
a.plain:link { color: black; }
a.plain:visited { color: black; }
a.plain:active { color: black; }
a.plain:hover { color: black; }

/* single pixel borders on input boxes */
input, textarea
{
   background-color: #ffffff;
   border-width: 1px;
   border-style: solid;
   border-color: black;
}
table{border-spacing:0px;}
/* text in tables */
td, th {
	font: 11px Verdana,Tahoma,Arial,sans-serif;
}
/* tables of this class have no border */
table#borderless {
	border-collapse: collapse;
	border-style: hidden;
	text-align:center;
}
table.borderless th,
table.borderless td {
	border:none;
	border-style: hidden;
	vertical-align: top;
	text-align:left;
}
table.borderless caption {
		font-size: 14px;
		font-weight: bold;
		color: #33517A;
		text-align: left;
		padding-top: 3px;
		padding-bottom: 8px;
		margin-left: auto;
		margin-right: auto;
}

/* a class that describes how tables should look */
.datatable {
    border:none;
		margin:0;padding:0;
		text-align:center;
}
.datatable form{
text-align:center;
display:block;position:relative;
}
.datatable td {
		border: 1px solid #dce3f3;	
		text-align:left;
    vertical-align: top;
		background-color: #FFFFFF;
}
.datatable th {
		background-color: #ccccdd;
		font-weight: bold;
		color: #666677;
		text-align: center;
		padding:1px;
        border: 0px solid #000000;

}
.datatable caption {
		font-size: 14px;
		font-weight: bold;
		color: #33517A;
		text-align: left;
		padding-top: 3px;
		padding-bottom: 8px;
		margin-left: auto;
		margin-right: auto;
}
.datatable tr.altrow {
		background-color: #E9EEF5;
		color: #000000;
}
.datatable ul,.datatable li{
text-align:left;
}
/*.datatable tr:hover, .datatable tr.hilite {
		background-color: #dff;
		color: #000000;
}*/
	
/* (?) popup properties */
a.info{
    position:relative; /*this is the key*/
    z-index:24; background-color:red; 
    color:#000;
    text-decoration:none;
    font-size: 11px;
    font-weight: normal;
}

a.info:hover{z-index:90; background-color:#ff0}

a.info span{display: none}

a.info:hover span{ /*the span will display just on :hover state*/
    display:block;
    position:absolute;
    z-index: 90;
    top:2em; left:1em; width:25em;
    border:1px solid #0cf;
    background-color:#cff; color:#000;
    text-align: left
}
