/*----------------------------------------------------------
Base CSS rules for Titans of Fortune, Dan Alef

author:     Andrew Le
email:      andrew@alchemistcreative.com
website:    http://alchemistcreative.com/
version:    1.0
date:       28 May 2008
----------------------------------------------------------*/

body {
    background-color: #47617F;
    text-align: center; /* IE6 centering */
}

.container {
    background-color: #D0DDE4;
    position: relative;
    width: 940px;
    margin: 0 auto;
    padding: 0;
    text-align: left;
}

/* Header
----------------------------------------------------------*/
#header {
    background-color: #0D417F;
    padding: 0.25em 0 0;
}

#header h1 a {
    display: block;
    text-indent: -999999px;
    width: 259px;
    height: 100px;
    margin-left: 0.25em;
    background: url(http://titansoffortune.com/images/layout/Logotype.png) top left;
}

.navigation {
    list-style: none;
    border-top: 1px solid black;
    border-bottom: 3px solid black;
    margin: 1em 0 0 0;
    height: 1.9em;
}

.navigation li {
    float: left;
    width: 8em;
    border-left: 1px solid black;
}

.navigation li a {
    display: block;
    line-height: 1.75em;
    padding-left: 0.5em;
}

.navigation .first {
    border: none;
    width: 7.95em;
}

.subnav {
    position: absolute;
    background-color: #6396B8;
    list-style: none;
    margin: -0.1em 0 0 0;
    width: 940px;
    left: 0;
    z-index:10;
}

.subnav li, .subnav li.first {
    float: left;
}

.subnav li a:hover {
    border: none;
}

div#members {
    position: absolute;
    top: 5px;
    right: 10px;
}

/* Main
----------------------------------------------------------*/
#main {
    float: left;
    background-color: white;
    border-left: 2px solid #fff; /* Adjustment to line up the right border with the nav elements */
    border-right: 1px solid black;
    width: 38.1em;
    min-height: 35em;
    padding: 2em;
}

ul.purchasing {
    list-style: none;
    margin: 0;
}

ul.purchasing li {
    float: left;
    margin-right: 2em;
}

/* Sidebar
----------------------------------------------------------*/
#sidebar {
    background-color: #D0DDE4;
    float: left;
    padding: 2em 1em 1em;
    width: 315px;
}

#sidebar ul {
    list-style: none;
    margin: 0;
}

#sidebar ul.purchasing {
    margin-bottom: 1.25em;
}

#sidebar ul.purchasing li {
    float: none;
    width: 100%;
}

/* Footer
----------------------------------------------------------*/
#footer {
    color: #fff;
    background-color: #000;
    margin: 0;
    padding: 0.5em 2em 0.5em;
}

#footer h2 {
    color: #fff;
}

#footer p {
    font-size: 0.8em;
    margin: 0;
}

#about {
    float: left;
    width: 38em;
}

#explore {
    float: right;
    width: 20em;
}


/* 
----------------------------------------------------------*/
/* Clearing floats without extra markup
   Based on How To Clear Floats Without Structural Markup by PiE
   [http://www.positioniseverything.net/easyclearing.html] */

.clear { display: inline-block; }   
.clear:after, .container:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
* html .clear { height: 1%; }
.clear { display: block; }