/****************************************
Unwritten Legends site style sheet
Created 01/12/09 by MH/TK
Last updated 12/10/09 by MH/TK
*****************************************/

/****************************************
General
*****************************************
*****************************************/
body {
	font-family: Arial, Verdana, sans-serif;
	text-align: justify;
	background-color: #5f5f5f;
	height: 100%;
	font-size: 12px;
	background-image: url(images/backgroundgradient.jpg);
	background-repeat: repeat-x;
	background-attachment: fixed;
}

p {
	margin: 1.2em 0;
}

p.center
{
	margin:1.2em 0;
	text-align: center;
}

p.right
{
	margin:1.2em 0;
	text-align: right;
}

p.underline
{
	text-decoration: underline;
}

.caps {
	text-transform: uppercase;
}

/* What is this, am I using it?
ol.body li, ul.body li {
	padding-bottom: 7px;
	padding-right: 25px;
}*/

ol li, ul li {
	margin: 10px auto;
}

h1	{font-size:16px;color:#000000;padding-top: 15px;}
h2	{font-size:14px;color:#333333;text-decoration: underline;padding-top: 15px;}
h3	{font-size:13px;color:#333333;padding-top: 10px;}
h4	{font-size:12px;color:#333333;}
h5	{font-size:10px;color:#000000;}
h6	{font-size:10px;color:#000000;}

a, a:link, a:visited {
	color: #0074cc;
	text-decoration: none;
}
a:hover, a:active {
	text-decoration: underline;
	color: #0071ff;
}

a img {
	border-width: 0;
	border-style: none;
}

table.borderless {
	border: 0px;
	margin-top: 10px;
	margin-bottom: 10px;
	border-collapse: collapse;
	text-align: left;
}

table.borderless td {
	vertical-align: top;
	padding: 5px;
	border: 0px;
}

table {
	width: 100%;
	border: 1px solid #c4c4c4;
	margin-top: 10px;
	margin-bottom: 10px;
	border-collapse: collapse;
	text-align: left;
}

table td, th {
	vertical-align: top;
	padding: 5px;
	border: 1px solid #c4c4c4;
}

/****************************************
Specific
*****************************************
*****************************************/

/* wrapper for everything */
#layout {
	height: 100%;
	width: 840px;
	margin: auto;
	background: url(images/leftmenu.gif) repeat-y #FFFFFF;
	border: 2px solid #303030;
}

/* Logo container */
#header { 
	width: 840px;
	height: 127px;
	padding-top: 0;
	padding-bottom: 0;
	background-color: #000000;
	position: relative;
}

#header img {
	display: block;
}

/* Main body text area */
#content {
	padding: 0 27px 20px 0;
	margin: auto;
	width: 630px;
	float: right;
	display: inline;
}

/* Wrapper for footer */
#footer {
	width: 840px;
	clear: both;
}

/* Legal disclaimer */
.legal {
	color: #FFFFFF;
	text-align: center;
}

.legal a {
	color: #6badff;
}

/* Topic divisions */
.topic {
	font-size: 14px;
	border-bottom: 1px dotted #999999;
	/*text-decoration: underline;*/
	padding-top: 10px;
	color: #0074cc;
}

.topic:hover {
	cursor: pointer;
	color: #0071ff;
}

/* Spell divisions */
.spell {
	border-bottom: 1px dotted #999999;
	width: 275px;
	padding-top: 8px;
	color: #0074cc;
}

.spell:hover {
	cursor: pointer;
	color: #0071ff;
}

/* Show/hide divisions */
p.expandall a {
	color: #0074cc;
}

p.expandall a:hover {
	cursor: pointer;
	color: #0071ff;
}

img.right {
	display: block;
	float: right;
    margin: auto;
    padding-bottom: 5px;
	padding-top: 3px;
	padding-left: 15px;
}

/* Boxes with snippets of data on races; fix later */
/* What was I fixing? */
.infobox {
	width: 200px;
	text-align: left;
	float: right;
	margin-left: 10px;
	margin-bottom: 5px;
	margin-top: 5px;
	padding-left: 10px;
	padding-right: 10px;
	background: #ccdff0;
	border: 1px solid #666666;
}

.infobox p {
	margin: .75em 0;
	font-size: 11px;
}

.infobox table {
	border: 0px;
	margin-top: 0;
	margin-bottom: 5px;
	border-collapse: collapse;
	text-align: left;
}

.infobox table td {
	vertical-align: top;
	padding: 2px;
	border: 0px;
	font-size: 11px;
}

/* colour-coding for skill tables */
.verygood {
	background-color: #9bbb58;
}

.good {
	background-color: #c5d9f1;
}

.normal {
	background-color: #fce9da;
}

.bad {
	background-color: #b2a0c6;
}

.verybad {
	background-color: #c0504e;
}

.cant {
	background-color: #8a480e;
}

/* Skill colour tables */
table.skill {
	width: 60%;
	border: 1px solid #c4c4c4;
	margin-top: 10px;
	margin-bottom: 10px;
	border-collapse: collapse;
	text-align: left;
}

table.skill tr {
	vertical-align: top;
	padding: 5px;
	border: 1px solid #c4c4c4;
}

table.skill td {
	vertical-align: top;
	padding: 5px;
	border: 0;
}

/* Google search styles
*****************************************/
/* td. classes get rid of table borders */
td.gsc-input {
	border: 0px;
	border-collapse: collapse;
}

td.gsc-search-button {
	border: 0px;
	border-collapse: collapse;
}

td.gsc-clear-button {
	border: 0px;
	border-collapse: collapse;
}

/* Removes empty table from results page */
.gsc-resultsHeader td, tr, table {
	border: 0px;
	border-collapse: collapse;
}

/* Hides "Unwritten Legends Search Engine" tab */
.gsc-tabHeader.gsc-tabhActive {
	visibility: hidden;
}

/* Reduces empty space vacated by "UL Search Engine" tab */
.gsc-tabsArea {
	height: 0;
}
/* end Google search styles
*****************************************/


/****************************************
*****************************************
** Menus
*****************************************
*****************************************

Main horizontal menu
*****************************************
*****************************************/
ul.menubackground {
	background-color: #303030;
	border-bottom: 1px solid #666666;
}

ul#menu {
	padding: 0;
	margin: 0;
	color: #f1f1f1;
	float: right;
	width: 100%;
	font-weight: bold;
}

ul#menu li {
	display: inline;
	width: 24%;
}

ul#menu li a {
	padding: .25em 1em;
	color: #f1f1f1;
	text-decoration: none;
	float: right;
}

ul#menu li a:hover {
	color: #f1f1f1;
	/*background: url(images/hoverbg.gif) repeat-x;*/
	background-color: #5a5a5a;
}

ul#menu li.current a {
	display: inline;
	width: auto;
	background-color: #5a5a5a;/*#ffcf2b;*/
	color: #f1f1f1;
}

/*
Left-hand menu
*****************************************
*****************************************/
.leftmenu {
	float: left;
	text-align: left;
	margin-right: 10px;
	margin-bottom: auto;
	background: url(images/leftmenu.gif) repeat-y #FFFFFF;
	width: 160px;
	height: 100%;
	display: inline;
	clear: both;
}

.leftmenutitle {
	display: block;
	padding: 10px 15px;
	margin: 0;
	line-height: 14px;
	color: #303030;
	font-weight: bold;
}

.leftmenutitle:hover {
	cursor: pointer;
}

.leftmenu img {
	display: block;
    margin-left: auto;
    margin-right: auto;
	padding-bottom: 5px;
	padding-top: 5px;
}

/* Menu items that don't have submenus */
a.menulink {
	display: block;
	padding: 10px 15px;
	margin: 0;
	line-height: 14px;
	color: #303030;
	font-weight: bold;
	text-decoration: none;
}

/* Sub menu items */
.leftmenu ul {
	height: 100%;
	padding: 0;
	text-indent: 0;
	margin: 0;
	list-style: none;
	background: #ebe0ce;/*#fff2c4;*/
	border-top: 1px solid #666666;
}

.leftmenu ul li ul {
	height: 100%;
	padding: 0;
	text-indent: 0;
	margin: 0;
	list-style: none;
	background: #ebe0ce;/*#fff2c4;*/
	border-top: 0;
	font-style: italic;
	padding-left: 20px;
}

.leftmenu ul li {
	margin: 0;
}

.leftmenu ul li a {
	display: block;
	margin: 0;
	padding: 5px 15px;
	line-height: 14px;
}

.leftmenusub {
	display: block;
	margin: 0;
	padding: 5px 15px;
	line-height: 14px;
	color: #0074cc;
}

.leftmenusub:hover {
	cursor: pointer;
	color: #0071ff;
}

/*
End Menus
*****************************************
*****************************************/

/****************************************
Twitter
*****************************************
*****************************************/
/* Old home page layout; keeping until new design is for certain
#twitter_div {
	width: 150px;
	text-align: left;
	float: right;
	margin-left: 10px;
	margin-top: 10px;
	padding-left: 10px;
	padding-right: 10px;*/
	/*background: #ccdff0;*/
	/*border: 1px solid #666666;*/
	/*font-size: 11px;
}*/

#twitter_div {
	width: 145px;
	text-align: left;
	float: left;
	margin-left: 0px;
	padding-left: 10px;
	padding-right: 15px;
	padding-top: 5px;
	background: url(images/leftmenu.gif) repeat-y #FFFFFF;
	font-size: 11px;
}

ul#twitter_update_list {
	width: 150px;
	padding: 0;
	margin: 0;
	overflow: hidden;
}
 
ul#twitter_update_list li {
	width: 150px;
	padding-bottom: 5px;
	padding-top: 0;
	list-style: none;
}
 
.twitter-link {
	display: block;
	text-align: right;
	font-size: 10px;
	padding-bottom: 5px;
	padding-right: 5px;
	border-bottom: 1px solid #666666;
}

/*ul#twitter_update_list li a {
	color: #FFFFFF; border-bottom: dotted 1px; text-decoration: none; }

ul#twitter_update_list li a:hover { color: #CA0A6C; border-bottom: solid 1px; } */
