/**
* Site wide screen CSS
* 
* @package css
* @author Tim Carr
* @version 1
* @copyright n7 Studios
*/

/* Tag Declarations */
body {
    font: 0.75em/160% Helvetica, Arial, Verdana, sans-serif;      
    background: url(../images/background.gif) repeat-x #9f9987;    
    color: #000; 
}
h1 {
    font-size: 1.6em;
    color: #924a2e;
    padding: 0 0 1em 0;
}
h2 {
    font-size: 1.2em;
    color: #924a2e;
    padding: 0 0 1em 0;
}
h3 {
    font-size: 1.6em;
    color: #003300;
}
p {
    line-height: 1.6em;
    padding: 0 0 0.8em 0;
}
a:visited {
    color: #0000ff;
}
a:hover {
    color: #000;
}
img { border: none; }

/* Forms */
form {
    width: 100%;
    float: left;
}
form p {
    clear: both;
    float: left;
    width: 100%;
    margin: 0;
    padding: 0;
}
form p label {
    clear: both;
    float: left;
    width: 25%;
    line-height: 22px;
}
form p input.text {
    width: 70%;
    margin: 0 0 5px 0;
    background: #fff;
    border: 1px solid #e1e1e1;
    padding: 3px 5px;
    font: inherit;
}
form p textarea {
    font-family: Helvetica, Arial, Verdana, sans-serif; 
    font-size: 1em;
    width: 70%;
    height: 100px;
    background: #fff;
    border: 1px solid #e1e1e1;
    margin: 0 0 5px 0;
    padding: 3px 5px;   
}
form p select {
    font: inherit;
}
form p input.description { color: #a09d9d }

/* Helper Classes */
.bold { font-weight: bold; }
.underline { text-decoration: underline; }
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.clearLeft { clear: left; }
.clearRight { clear: right; }
.border { border: 1px solid #999; }
.hidden { display: none; }
.centre { text-align: center; margin: 0 auto; }
.green { color: #547d46 !important; }
.description { color: #a09d9d; }
.pad { margin: 20px; }

/* Background Icons */
.tick { background: url(../images/icons/tick.png) 90% 50% no-repeat; }

/* Layout */
.container {
    width: 960px;
    margin: 0 auto;
}

#header {
    width: 960px;
    height: 110px;
}

#logo {
    float: left;
    width: 220px;
    height: 75px;
    margin: 11px 0 0 0;
    background: url(../images/logo.png) no-repeat;
    text-indent: -9999px;
}

/* Login Box */
#login {
    float: right;
    width: 425px;
    height: 38px;
    margin: 5px 0 0 0;
}
#login input#username {
    float: left;
    width: 155px;
    border: 1px solid #e1e1e1;
    padding: 4px 5px;
    margin: 0 5px 0 0;
}
#login input#password {
    float: left;
    width: 155px;
    border: 1px solid #e1e1e1;
    padding: 4px 5px;
}
#login input#loginButton { 
    float: right; /* For IE, as it doesn't use text-align on input images */
}
#login form #rememberMe {
    float: left;
    width: 150px;
}
#login form #registerForgotPassword {
    float: right;
    text-align: right;
    width: 250px;
}
#login form p.error {
    text-align: right;
}
/* Logged in */
#login p {
    text-align: right;
    padding: 0;
}

#menu {
    width: 960px;
    height: 35px;
    margin: 0 0 10px 0;
}
#menu ul li {
    float: left;
}
#menu ul li a {
    display: block;
    width: 160px;
    height: 35px;
    line-height: 35px;
    margin: 0 2px 0 0;
    text-align: center;
    color: #7b6d51;
    text-decoration: none;
    background: #f3f2e9;
}
#menu ul li.basket {
    float: right;
}
#menu ul li.basket a {
    display: block;
    width: 30px;
    height: 35px;
    line-height: 35px;
    margin: 0 2px 0 0;
    padding: 0 10px 0 30px;
    text-align: center;
    color: #7b6d51;
    text-decoration: none;
    background: url(../images/icons/shopping-basket.png) 5px 3px no-repeat #f3f2e9;
}
#menu ul li a:hover {
    background: #e4e1cf;
    color: #000;
}
#menu ul li.basket a:hover {
    background: url(../images/icons/shopping-basket.png) 5px 3px no-repeat #e4e1cf; 
}
#menu ul li a.selected {
    background: #e4e1cf;
    color: #000;
    font-weight: bold;
}
#menu ul li.basket a.selected {
    background: url(../images/icons/shopping-basket.png) 5px 3px no-repeat #e4e1cf; 
    color: #000;
    font-weight: bold;
}

/* Content with Sidebar */
#contentWithSidebarHead {
    width: 960px;
    height: 20px;
    background: url(../images/content-head.png) top center repeat-y;
}
#contentWithSidebar {
    float: left;
    width: 960px;
    background: url(../images/content-background.gif) top center repeat-y;
    padding: 0 0 20px 0;
}
#contentWithSidebar #sidebar {
    float: left;
    width: 210px;
}
#contentWithSidebar #sidebar h1 {
    padding: 5px 18px 15px 18px;
}
#contentWithSidebar #sidebar ul li, #contentWithSidebar #sidebar ul li a {
    display: block;
    width: 210px;
    height: 42px;
    line-height: 42px;
    text-decoration: none;
    color: #000;
    text-indent: 18px;    
}
#contentWithSidebar #sidebar ul li a:hover {
    background: #f9f8f2;
}
#contentWithSidebar #sidebar ul li.selected, #contentWithSidebar #sidebar ul li a.selected {
    background: #f9f8f2;
    font-weight: bold;
}
#contentWithSidebar #content {
    float: left;
    width: 750px;
}
#contentWithSidebar #content h1 {
    padding: 5px 0 0 20px;
}
#contentWithSidebar #content h2 {
    padding: 5px 20px 0 0;
}

/* Content no Sidebar */
#contentNoSidebarHead {
    width: 960px;
    height: 20px;
    background: url(../images/content-head.png) top center repeat-y;
}
#contentNoSidebar {
    float: left;
    width: 960px;
    background: #f9f8f2;
    padding: 0 0 20px 0;
}
#contentNoSidebar #content {
    float: left;
    padding: 10px;
    width: 940px;
}
#contentNoSidebar #content #recaptcha_widget_div {
    clear: both;
    float: left;
    padding: 0 0 0 25%;
}

#content ul li {
    list-style-type: circle;
    margin-left: 20px;
}

/* Products Listing */
div.product {
    clear: both;
    float: left;
    width: 655px;
    background: url(../images/icons/product.png) 5% 28px no-repeat;
    padding: 20px 0 20px 95px;
}
div.product div.description {
    float: left;
    width: 475px;
}
div.product div.description h2 {
    padding: 0;
}
div.product div.price {
    float: left;
    width: 135px;
    text-align: center;
}
div.productHighlight {
    background: url(../images/icons/product.png) 5% 28px no-repeat #fff;
}
div.product div.details, div.product div.detailsStatic {
    clear: both;
    float: left;
    width: 475px;
}

/* Order Listing */
div.order-item {
    clear: both;
    float: left;
    width: 730px;
    padding: 20px 0 20px 20px;
}
div.order-item div.download {
    float: left;
    width: 90px;
    text-align: center;
}
div.order-item div.download a { text-decoration: none; }
div.order-item div.description {
    float: left;
    width: 505px;
}
div.order-item div.description h2 {
    padding: 0;
}
div.order-item div.price {
    float: left;
    width: 135px;
    text-align: center;
}

/* Login and Signup Boxes for Checkout */
.checkout {
    clear: both;
    margin: 20px;
}
#loginCreateAccount {
    float: left;
    width: 680px;
    padding: 10px; 
    background: #fff;
    border: 1px solid #666;
}

/* Footer */ 
#footer {
    clear: both;
    float: left;
    width: 100%;
    height: 387px;
    color: #fff;
    padding: 20px 0 0 0;
    background: url(../images/footer-background.gif) top left repeat-x #54514c;
}
#footerLeft {
    float: left;
    width: 465px;
    padding: 0 0 0 10px;
}
#footerRight {
    float: right;
    width: 465px;
    padding: 0 10px 0 0;
}

/* Footer Menu */
#footerLeft #footerMenu {
    float: left;
    width: 100%;
    height: 20px;
    margin: 0 0 10px 0;
}
#footerLeft #footerMenu ul li {
    display: inline; 
}
#footerLeft #footerMenu ul li a {
    display: block;
    float: left;
    height: 20px;
    line-height: 20px;
    margin: 0 6px 0 0; /* Spacing between menu items */
    text-align: left; 
    color: #fff;  
}
#footerLeft #contentCopyright {
    clear: both;
    float: left;
    width: 465px;
    height: 20px;
}

/* Footer Legal Menu */
#footerRight #footerLegalMenu {
    float: right;
    height: 20px;
    margin: 0 0 10px 0;
}
#footerRight #footerLegalMenu ul li {
    display: inline;
}
#footerRight #footerLegalMenu ul li a {
    display: block;
    float: left;
    height: 20px;
    line-height: 20px;
    margin: 0 0 0 6px; /* Spacing between menu items */
    color: #fff;   
}
#footerRight #createdBy {
    clear: both;
    float: right;
    width: 465px;
    height: 20px;
    text-align: right;
}
#footerRight #createdBy p a {
    color: #fff;
}
