@import url("./layout.css");
@import url("./content.css");

@import url("./admin.css");
@import url("./notifications.css");


body, html
{
    /* Colors and font defined by content.css */
	margin: 0;
	padding: 0;
}


/* Specific page elements */
/* ---------------------- */

#body
{
    border-top: 6px solid white;
	overflow: hidden;	/* Wrap contained floats (Proper browsers) */
	min-height: 1px;	/* Wrap contained floats (IE) */
    background: white /* url("../img/page_bkg.jpg") no-repeat; */
}



/* Header */
/* ------ */

#languages,
#main-navigation
{
    margin: 0;
    padding: 0;
    list-style: none;
    list-style-image: none;
}

#languages li,
#main-navigation li { display: inline; }

#pre-header
{
    margin-bottom: 8px;
    padding: 5px 8px;
    background: url("../img/languagebar_bkg.jpg") no-repeat;
    min-height: 1px;
    overflow: hidden;
}

#parent-site-link   { font-weight: bold; margin-left: 8px; }

#account-info
{
    float: right;
    margin-right: 10px;
}
#account-links a    { font-weight: bold; }

#languages
{
    float: right;
    text-align: right;
    border-left: 4px solid white;
    margin: -5px 0;
    padding: 5px 0 5px 8px;
}

#header
{
    background: #c30027 url("../img/header_bkg.jpg") no-repeat;
    height: 87px;
    position: relative;
}
#site-title
{
	position: absolute;
	top: 24px;
	left: 32px;
	margin: 0;
}
#site-title img
{
    vertical-align: top; 
}
#site-tagline
{
    position: absolute;
    top: 24px;
    right: 40px;
    margin: 0;
}

#main-navigation    { position: absolute; left: 30px; bottom: 4px; }

#main-navigation a,
#main-navigation span	{ color: white; padding: 0 2px; text-decoration: none; }


/* Main content area */
/* ----------------- */

#content
{
	padding: 0 20px 20px;
	width: 600px;
}

/* Pull content out to edges of content region */
#content .fit-to-edge,
#content .pagination,
#content .grid-list,
#content .grid-header       { margin-left: -20px; margin-right: -20px; }

#content table.grid-list    { margin-right: -21px; }

#page-header
{
	margin: 0 -20px;
	position: relative;
	z-index: 1;
}

#product-filter-wrapper
{
	background: white url("../img/filter_bar_corner.png") bottom right no-repeat;
	padding: 4px 10px 8px;
	margin: 0 -20px;
	overflow: hidden;	/* Wrap contents */
}

#product-filter-search			{ float: left; margin: 0; }
#product-filter-manufacturer	{ float: right; margin: 0; }
#product-filter-search *        { vertical-align: middle; }


#page-header
{
    background: #c30027 url("../img/header_bkg.jpg") 100% 100% no-repeat;
	color: white;
	padding: 8px 10px;
	margin-bottom: -1px; /* Swallows top borders of following elements */
}

#page-header h2,
#page-header .breadcrumbs
{
	color: white;
	margin: 0;
	padding: 0;
	font: bold 1.3em "Trebuchet MS", sans-serif;
}
#page-header .breadcrumbs li
{
	display: inline;
	padding: 0 5px 0 10px;
	background: url("../img/bullet_white.png") center left no-repeat;
}
#page-header .breadcrumbs li.first	{ padding-left: 0; background: transparent; }
#page-header a	{ color: white; }

#page-header .more-links
{
	list-style: none;
	list-style-image: none;
	padding: 0;
	margin: 0;
	float: right;
	line-height: 1.66;
}

#page-header .more-links a
{
	padding-right: 6px;
	background: 100% 50% no-repeat;
}
#page-header .more-links a	{ background-image: url("../img/bullet_white.png"); }


/* Sidebars */
/* -------- */

.sidebar h2 { font-size: 133%; }
.sidebar h3 { color: black; font: bold 1em/1.5 Verdana, sans-serif; margin-top: 0; }

.sidebar .section
{
	padding-top: 10px;
	margin: 20px 0;
	border-top: 1px dotted #cdcfcd;
	border-top-color: rgba(0, 0, 0, 0.2);
}

.sidebar ul,
.sidebar ol   { padding-left: 12px; }

.sidebar .continue	{ text-align: right; }



/* Left sidebar */
/* ------------ */

#sidebar-left
{
    width: 134px;
    border-right: 6px solid white;
}


/* Top-tier category navigation */
/* We use <h4> for marking selected category headings and <span> for marking selected subcategories */

#category-navigation
{
	margin: 0 -10px;
	padding: 0;
	list-style: none;
	list-style-image: none;
    background: #f2f2f2 url("../img/left_sidebar_fade_opaque.png") bottom left repeat-x;
	padding-bottom: 112px; /* Puts fade below content */
}

#category-navigation a,
#category-navigation span
{ 
	display: block;
}

#category-navigation a,
#category-navigation h4
{
	color: #a81c39;
	font-weight: normal;
	margin: 0;
	border-bottom: 1px solid #cdcfcd;
	border-bottom-color: rgba(0, 0, 0, 0.1);
	background: url("../img/bullet.png") 96% 50% no-repeat;
	padding: 2px 20px 2px 10px;	/* Allows for parent borders */
	text-decoration: none;
}
#category-navigation a:hover,
#category-navigation a:active,
#category-navigation a:focus
{
    color: black;
    background-color: #cdcfcd;
    background-color: rgba(0, 0, 0, 0.1);
}

/* Second-tier category navigation */
#category-navigation ol
{
	padding: 5px 0;
	margin: 0;
	list-style: none;
	list-style-image: none;
	border-bottom: 1px solid #cdcfcd;
	border-bottom-color: rgba(0, 0, 0, 0.1);
}

#category-navigation ol a,
#category-navigation ol span
{
	border: 0;
	padding-left: 19px;
	background: url("../img/bullet.png") 9px 50% no-repeat;
	color: #626262;
}

/* Active navigation items */
#category-navigation .selected h4	{ background: #c30027; padding-right: 9px; color: white; }
#category-navigation .selected h4 a	{ color: white; background: transparent; padding: 0; border: 0; }
#category-navigation .selected span	{ text-decoration: underline; }

/* Third-tier category navigation (phew) */

#category-navigation ol ol				{ padding: 0; border: 0; }
#category-navigation .selected ol h4
{
	background: transparent;
	padding-right: 9px;
	font-style: italic;
	color: black;
}

/* Drag content following the navigation kicking and screaming up into the fade area */
#category-navigation + .section { margin-top: -96px; border-top: 0; }

#subscribe-blurb    { text-align: center; }
#subscribe-email    { width: 95%; margin: 2px 0; }
#subscribe-email.with-placeholder   { text-align: center; }


/* Right sidebar */
/* ------------- */

#sidebar-right
{
    width: 134px;
    border-left: 6px solid white;
	padding-bottom: 10px; /* Ensures suitable division between last sidebar section and bottom of sidebar */
}

/* Shopping cart sidebar display */
#shopping-cart-items	{ margin: 0 0 1em; }
#shopping-cart-items td	{ padding: 0.1em 0.33em; }
#shopping-cart-items a	{ color: black; }
#shopping-cart-total	{ text-align: right; }
#shopping-cart-view		{ text-align: center; margin: 0; }

#register-blurb
{
    margin: 20px -5px 20px;
    text-align: center;
    background: #e6e6e6;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    padding: 5px 10px;
}
#register-blurb p { margin: 0; }

#shopping-cart
{
	background: #f2f2f2 url("../img/left_sidebar_fade_opaque.png") bottom left repeat-x;
	margin: -10px -10px 10px;
	padding: 5px 10px;
	border-top: 0;
}

#olympic-promo-sidebar   { padding-top: 20px; }

#olympic-promo-sidebar a
{
    text-align: center;
    text-decoration: none;
    color: black;
    display: block;
    margin: 0 -10px;
    font-style: "Trebuchet MS", sans-serif;
}

#olympic-promo-sidebar .caption
{
    display: block;
    font-weight: bold;
    margin: 0.5em -0.5em;
}


/* Page footer content */
/* ------------------- */

#footer
{
	color: white;
	border-top: 8px solid white;
	background: #c30027 url("../img/footer_bkg.jpg") no-repeat;
	height: 77px;
	clear: both;
}
#footer-tagline { margin: 0; }

