body{
 	margin: 0;
 	padding:0;
 	background: #959086;
  	font-size: 14px;
 	font-family: Times, Serif;
 	line-height: 1.3em;
 	color: #000000;
 }
 
#hdr{
 	margin: 0;
 	padding:0;
 	background: #5b5144 url(images/logo.png) no-repeat center top;
 	height: 130px;
}
 
#hdr2{
 	height: 205px;
 	background: #555450 url(images/bg.jpg);
 	margin: 0 0 0 0;
} 

div.wrapper {
 	margin-left: 20px;
 	margin-right: 20px;
 	margin-top: -120px;
 	background: transparent url(images/border_left.png) left repeat-y;
   }
/* width of div.wrapper is always 80% of viewport width */

div.left{
 	left: 15px;
 	float: left;
 	width: 180px;
 	margin: 25px 0 0 0;
}

div.centercont{
	background: url(images/cellbg1.jpg);
	margin: 2px 90px 0 220px;
} 

#left-shadow 
	{	background: url(images/content_left.png) repeat-y;
		padding: 0 0 0 50px;
		margin-left: -20px;
	}
#right-shadow 
	{	background: url(images/content_right.png) right repeat-y;
		padding: 0 50px 0 0;
		margin-right: -20px;
	}

.footer {
	height: 100%;
 	text-align: center;
 	margin-top: auto;
 	margin-left: auto;
  	margin-right: auto;
 	font-family: Verdana, sanserif;
 	font-size: 65%;
}

/*- Navigation--------------------------- */

#nav, #nav ul { /* all lists */
	position: absolute;
	left: 15px;
	padding: 0;
	margin: auto;
	list-style: none;
	float: left;
	width: 200px;
	background-image: url(images/cellbg2.jpg);
	background-repeat: repeat-y;}
	
#nav li { /* all list items */
	position: relative;
	float: left;
	line-height: 1.55em;
	margin-bottom: -1px;
	width: 180px;}
	
#nav li ul { /* second-level lists */
	position: absolute;
	left: -999em;
	margin-left: 188px;
	margin-top: -1.65em;}
	
#nav li ul ul { /* third-and-above-level lists */
	left: -999em;}
	
#nav li a {width: 180px;
	display: block;
	color: black;
	font-weight: normal;
	text-decoration: none;
	border: 1px solid black;
	padding-left: 0.5em;
  	background-position: right;
  	background-repeat: no-repeat;}
	
#nav li a:hover {
	color: #dedad3;
	background-color: #959086;}
	
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -999em;}
	
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;}

/*Links*/


a:link {
	color: #0C577C;
	text-decoration : underline;
}

a:link:hover {
	color: #5b0b0b;
	background: #AAC1CE;
	text-decoration: none;
}


a:visited {
	color: #5b0b0b;
	text-decoration: underline;
}

a:visited:hover {
	color: #003366;
	background: #AAC1CE;
	text-decoration: none;
}

/*Headers*/

h1{	margin-top: -60px;
	font-weight: bold;
	font-size: 20pt;
	text-decoration: none;
	text-align: center;
	background-image: url(images/1.png);
	padding-top: 60px;
	padding-bottom: 50px;
	background-repeat: no-repeat;
	background-position: center center;
	}
	
h2 {
	font-weight: bold;
	font-size: 16pt;
	text-decoration: none;
	text-align: left;
	clear: right;
	padding-bottom: 15px;
	padding-top: 15px;
	background:url(images/hdrbullet1.png) no-repeat;
	text-indent: 32px;
	}

h3 {
	font-size: 14pt;
	font-weight: bold;
}

h4{
	font-weight: bold;
	font-size: 14pt;
	font-style: italic;
	text-decoration: underline;
}

h5 {
	font-size: 16px;
	text-decoration: underline;
}

h6 {
	font-style:  italic;
	font-weight: bold;
	font-size: 14pt;
}

/*MISC*/

.title {
	text-decoration: underline;
	font-weight: bold;
}

.hi-lt {
	border: 2px double #5b0b0b;
	padding: 1px 10px 1px 10px ;
	background: transparent url(images/cellbg1.jpg);
	color: black;
	line-height: 1em;
	width: 80%;
	margin: auto;
}

.emph {
	font-family: Arial, sans-serif;
	font-size: 10pt;
	font-style: italic;
	color:  #003366;
	background-color: transparent;
}

.floatbox {float: right; 
	border: 2px solid #5b0b0b; 
	background: transparent url(images/cellbg1.jpg);
	padding: .5em 1em .5em 1em;
	margin: 1em 0 0.15em .8em;
	text-align: right; 
	min-height: 100%; 
	max-height: 100%;
}

td.floatbox2 {float: right; 
	border: 2px solid #5b0b0b; 
	background: transparent url(images/cellbg1.jpg);
	padding: .5em 1em .5em 1em;
	margin: 3em 0 0.15em .8em;
	text-align: right; 
	min-height: 100%; 
	max-height: 100%;
	width: 180px;
}

.floatright{
	float: right;
	margin-top: 0px;
	margin-left: 8px;
	margin-right: 8px;
	width: 165px;
	border: 1px solid black;
}

.weather{
	float: right;
	margin-top: 0px;
	margin-left: 8px;
	margin-right: 8px;
	width: 180px;
	height: 196px;
	overflow: hidden;
	border: 1px solid black;
}

ul.plain {
	list-style: none;
	margin-left: 0;
	margin-top: -15px;
	padding-left: 1em;
	text-indent: 0;
	}

/*Images*/

img.floatLeft { 
    float: left; 
    margin: 4px; 
}

img.divider {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
    margin-bottom: 25px;
    border-width: 0; 
}

img.backtotop {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    margin-bottom: 30px;
    border-width: 0; 
}
	
/* Beverages */ 

.section {font-weight: bold;
	font-size: 16pt;
	text-align: center;
	padding: 5px;
	background-color: transparent;}
	
td.header {font-weight: bold;
	font-size: 10pt;
	color: #003366;
	text-align: center;
	background-color: transparent;}
	
.bev {font-weight: bold;
	font-size: 9pt;
	font-family: Arial;
	text-align: center;
	vertical-align: middle;
	padding: 5px;
	background-color: transparent;}
	
.reg {font-weight: normal;
	font-size: 9pt;
	font-family: Arial;
	text-align: center;
	vertical-align: middle;
	padding: 5px;
	background-color: transparent;}
	
.desc {font-weight: normal;
	font-size: 9pt;
	font-family: Arial;
	text-align: left;
	vertical-align: middle;
	padding: 5px;
	background-color: transparent;}
	
.rare {font-weight: normal;
	font-size: 9pt;
	font-family: Arial;
	color: #990000;}
		
/* FoodMenu */ 

.daycwt {font-weight: bold;
	font-size: 13pt;
	text-align: center;
	text-decoration: underline;
	padding: 5px;
	background-color: transparent;}
	
.price {font-weight: bold;
	font-size: 10pt;
	text-align: center;
	background-color: transparent;
	border-bottom: 1px solid #5b0b0b;}

.items {font-weight: normal;
	font-size: 9pt;
	font-family: Arial;
	text-align: center;
	vertical-align: top;
	padding: 5px;
	background-color: transparent;}

hr {width: 70%;
margin-bottom:1cm;
}

/* Timelines, Character List */ 

.info2 {background-color: #b1becb;
	padding: 6px;} 

.date {font-size: 130%;
	font-weight: bold;
	text-align: left;
	background-color: #8E8D88;
	padding: 2px;}
	
.update {font-size: 75%;
	font-family: Arial, sans-serif;
	line-height: 14pt;}
	
.char {font-weight: bold;
	font-size: 11pt;
	text-align: left;
	padding: 3px;
	background-color: transparent;}
	
.inact {background: transparent url(images/cellbg3.jpg);}
	
.notes {font-size: 90%;
	text-align: justify;
	background-color: transparent;
	padding: 3px;}
	
.hi-lt2 {font-family: Arial, sanserif;
	border: 1px double #5b0b0b;
	border-width: 2px 2px 2px 2px;
	line-height: 1em;}

/* Businesses */ 

.note { text-indent: 20px; 
   font-size: 90%;}
   
.note2{ text-indent: 20px;}

.bus {margin-bottom: 0;
   margin-top: 30px;
   border-top: 0.1em solid #5b0b0b;
   padding-top: 3px;}
   
/* Language */ 
   
.lang {font-weight: bold;
	font-size: 11pt;
	padding: 3px;
	text-align: center;
	background-color: transparent;}
	
.normal {text-align: center;}

.letter {font-weight: bold;
	font-size: 20pt;
	padding: 15px;
	text-align: center;
	background-color: transparent;}
	
/* SMK and Solars, Imperial Library*/

td.rank { width: 500px; 
	text-align: left;
	vertical-align: top; 
	padding-top: 15px;}
  
td.emblem {width: 100px; 
	padding-top: 5px;
	vertical-align: top;}
	
td.emblem2 {width: 100px; 
	padding-top: 20px;
	vertical-align: top;}
	
.forts {width: 700px; 
	display: block; 
	margin-right: auto;
	margin-left: auto;}
  
 /* Bestiary */
 
 .alpha {font-size: 10pt;
	text-align: left;
	padding: 2px;
	background-color: transparent;}
	
.labela {font-size: 14pt;
	font-weight: bold;
	color: #000000;
	text-align: left;
	background-color: transparent;}
	
.labelm {font-size: 14pt;
	font-weight: bold;
	color: #663399;
	text-align: left;
	background-color: transparent;}
	
img.displayed {
    display: block;
    margin-left: auto;
    margin-right: auto }
    
.title2 {text-decoration: underline;
	font-weight: bold;
	margin-left: 26px;}
  
 /* Celestial Bodies */
  
table.moons {background-color: transparent;
	font-family: Trebuchet, sans-serif;
	font-size: 90%;}
td.year {font-weight: bold;
	font-size: 14pt;
	text-align: center;
	text-decoration: underline;
	padding: 9px;
	background-color: transparent;
	border: 1px solid #5b0b0b;}
td.dates {font-weight: normal;
	padding: 0px;
	background-color: transparent;
	border: 1px;}
	
	
/* Conversion Calendar */

td.headerconv {font-weight: bold;
	font-size: 11pt;
	color: #000000;
	text-align: center;
	text-decoration: underline;
	font-family: Arial;
	font-variant: small-caps;
	height: 20px;
	padding: 1px;}
	
td.day {font-weight:normal;
	font-size: 8pt;
	font-family: Arial;
	text-align: center;
	vertical-align: middle;
	height: 17px;
	padding: 1px;
	font-style: italic;}
	
td.tel {font-weight:normal;
	font-size: 8pt;
	font-family: Arial;
	text-align: center;
	vertical-align: middle;
	height: 17px;
	padding: 1px;
	background-color: #C4D6E1;}
	
td.lt {font-weight: normal;
	font-size: 8pt;
	font-family: Arial;
	text-align: center;
	vertical-align: middle;
	height: 20px;
	padding: 1px;
	background-color: transparent;}	
	
td.header2 {font-weight: bold;
	text-decoration: underline;
	font-size: 11pt;
	color: #000000;
	text-align: center;
	background-color: transparent;}	
	
	
	
	
	