* {
margin: 0;
padding: 0;
}

.wrapper {
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -4em;
width: 100%;
}

html, body {
height: 100%;
font: 10pt georgia, baskerville "new times roman", serif;
line-height: 14pt;
letter-spacing: 0.1em; 
color: #000;
background: #ccc url(images/site/cielchess.jpg) bottom right fixed no-repeat;
}

a:link {
text-decoration: none;
color: #99cc00;
}

a:visited {
text-decoration: none;
color: #999;
}

a:hover {
text-decoration: none;
color: #ff9999;
}

.mainnav {
Width: 150px;
float: left; 
margin: 0; 
clear: both;
background: #e9f0ed;
text-align: right;
padding: 8px;
margin-top: 0px;
margin-bottom: 10px;
border: #000;  
border-style: dashed; 
border-top-width: 1px; 
border-bottom-width: 1px; 
border-left-width: 1px;
border-right-width: 1px;
}


.content {
width: 50%; 
float: left; 
margin: 0; 
clear: both;
z-index: 1;
padding: 15px;
background: #fff4f5;
border: dashed 1px #000;
}

.description {
text-align: left;
vertical-align: text-middle;
font: 7pt;
line-height: 12pt;
letter-spacing: 0.1em;
width: 170px;
//filter:alpha(opacity=90);
//-moz-opacity:.90;
//opacity:.90;
}

.align-right { 
float: right; 
margin: 0; 
clear: both;
}


.align-left { 
float: left; 
margin: 0 15px 15px 0; 
clear: both;
}

.footer {
width: 50%; 
text-align: center;
clear: both;
float: left;
margin: 20px;
padding: 20px;
background: #000;
border: dashed 1px #000;
}

h4 {
font-size: 13pt;
margin: 0;
color: #cc0000;
}

h5 {
top: -1em;
font-size: 9pt;
font-weight: bold;
margin: 0 3.5em;
letter-spacing: 0.5em;
text-transform: uppercase;
color: #336699;
}

hr {
color: #000;
}

.imgBorder {
float: left;
margin: 2px;
border: dashed 1px #000;
}

.shitajiki {
width: 85%; 
text-align: center;
margin: 3px;
background: #eaf0e8;
border: dashed 1px #000;
}

.standoutfont {
color: #ffcc33;
}

ul
{list-style-type: disk;
margin-left: 15px;
text-align: left;}

#lightbox
{	
position: absolute;	
left: 0; 
width: 100%; 
z-index: 100; 
text-align: center; 
line-height: 0;}

#lightbox img
{width: auto; height: auto;}

#lightbox a img
{border: none;}

#outerImageContainer
{position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto;}

#imageContainer
{padding: 10px;}

#loading
{position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0;}

#hoverNav
{position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }

#imageContainer>#hoverNav{left: 0;}

#hoverNav a{ outline: none;}

#prevLink, #nextLink
{width: 49%; 
height: 100%; 
background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ 
display: block;}

#prevLink 
{left: 0; float: left;}

#nextLink 
{right: 0; float: right;}

#prevLink:hover, #prevLink:visited:hover
{background: url(images/prevlabel.gif) left 15% no-repeat;}

#nextLink:hover, #nextLink:visited:hover 
{background: url(images/nextlabel.gif) right 15% no-repeat;}

#imageDataContainer
{font: 10px Verdana, Helvetica, sans-serif; 
background-color: #fff; 
margin: 0 auto; 
line-height: 1.4em; 
overflow: auto; 
width: 100%;
}

#imageData
{padding:0 10px; 
color: #666;
}

#imageData #imageDetails
{width: 70%; 
float: left; 
text-align: left;
}
	
#imageData #caption
{font-weight: bold;
}

#imageData #numberDisplay
{display: block; 
clear: left; 
padding-bottom: 1.0em;
}	
		
#imageData #bottomNavClose
{width: 66px; 
float: right;  
padding-bottom: 0.7em; 
outline: none;
}	 	

#overlay
{position: absolute; 
top: 0; 
left: 0; 
z-index: 90; 
width: 100%; 
height: 500px; 
background-color: #000;
}

div.mainmenu {
position: relative;
font-weight: bold;
z-index: 1;
}

div.menu {
float: right;
margin-left: 10px; 
}

div.popup a:hover { background-color: #fff; }
div.menu:hover div:first-child { border-bottom: none; }
div.menu div.popup { display: none; }
div.menu:hover div.popup { 
    display: block; 
    background-color: #fff; 
}


div.menu div {
    width: 140px;
    background-color: #cc99cc;
    padding: 5px;
    border: dashed 1px #000;
}


div.popup div, div.popup a { display:block; text-decoration: none; margin: 2px 2px 2px 5px; }
div.popup div + div, div.popup a + a { margin-top: 10px; } 



