/* @override 
	http://localhost/~andy/ABC/CSS/bookstore.css
	http://abc.dev/CSS/bookstore.css
*/

body {
	font-family: Arial, Helvetica, Geneva, sans-serif;
}

/* @group index */

#bookstore_index {
	background-color: silver;
	width: 150px;
	border: 1px dashed black;
	padding: 10px;
	position: absolute;
	top: 0;
	left: 0;
	font-size: 14px;
}

#bookstore_index ul li {
	margin-top: 3px;
}

#bookstore_index ul.bookstore_category_level_1 {
	list-style-type: none;
	padding: 0;
}

#bookstore_index ul.bookstore_category_level_1 li {
	font-weight: bold;
}

#bookstore_index ul.bookstore_category_level_2 {
	list-style-type: none;
	padding-left: 2em;
}

#bookstore_index ul.bookstore_category_level_2 li {
	font-weight: normal;
}

#bookstore_index ul.bookstore_category_level_3 {
	list-style-type: none;
	padding-left: 2em;
}

#bookstore_index ul.bookstore_category_level_3 li {
	font-weight: normal;
}

#bookstore_index ul a {
	display: block;
	color: maroon;
	background-color: silver;
}

#bookstore_index ul a:hover {
	color: black;
	background-color: gray;
}

/* @end */

/* @group featured items */

#featured_items {
	width: 500px;
	position: absolute;
	top: 10px;
	left: 200px;
	border: 1px dashed black;
	padding: 10px;
}

#featured_items h3 {
	margin: 0;
}

#featured_items ul {
	padding: 0;
	list-style-type: none;
}

#featured_items ul li {
	padding-top: 5px;
	padding-bottom: 5px;
	display: block;
	position: relative;
}

#featured_items ul li a span.bookstore_featured_thumb {
	width: 50px;
	height: 50px;
	display: block;
	border: 1px solid black;
}

#featured_items ul li span.bookstore_featured_thumb img {
	max-width: 50px;
	max-height: 50px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

#featured_items ul li span.item_name {
	position: absolute;
	top: 20px;
	left: 60px;
}

/* @end */

/* @group add to cart */

div#item_container div#bookstore_add_to_cart {
	margin-top: 50px;
}

#bookstore_add_to_cart fieldset {
	border: none;
	padding: 0;
}

#bookstore_add_to_cart span.price {
	display: block;
}

#bookstore_add_to_cart label {
	display: inline;
}

#bookstore_add_to_cart input#quantity {
	display: inline;
	width: 2em;
}

#bookstore_add_to_cart label[for="os0"] {
	display: block;
}

#bookstore_add_to_cart input#os0 {
	display: block;
	width: 20em;
}

#bookstore_add_to_cart input[name="submit"] {
	float: right;
	margin: 5px;
}

#bookstore_add_to_cart p {
	font-size: small;
	margin-top: 0;
}

/* @end */

/* @group item detail info */

#item_container p.category_trail {
	display: block;
	z-index: 2;
}

#category_sheet img.bookstore_detail_image {
	float: left;
	clear: both;
}

#item_container {
	display: block;
	position: relative;
	width: 300px;
}

#item_info {
	width: 300px;
	color: white;
	padding-right: 8px;
	display: block;
	float: right;
}

ul#bookstore_info {
	list-style-type: none;
	font-size: 12px;
	padding-top: 0;
}

span.bookstore_price_crossed {
	text-decoration: line-through;
}

span.bookstore_sale_price {
	font-weight: bold;
	color: red;
}

/* @group CD track info table */

.bookstore_CD_info {
	font-size: x-small;
	width: 400px;
}

.bookstore_CD_info td {
	
}

td.bookstore_track_length {
	text-align: right;
}

/* @end

*/

#bookstore_info li.description ul {
	display: block;
	padding-top: 0;
	margin-top: 0px;
	list-style-type: circle;
	margin-left: 15px;
}

/* @end */

div#header_splash {
	display: block;
	width: 800px;
	height: 315px;
	background-image: url(../images/bookstore_header.jpg);
}

div#bookstore_content_container {
	display: block;
	width: 800px;
	height: auto;
	position: relative;
	margin: 225px 0 0;
	padding: 0;
	background: #003300 url(../images/bookstore-background.png) repeat-y;
}

/* @group featured_sidebar */

div#featured_items_sidebar {
	position: relative;
	float: left;
	width: 198px;
	background-color: #c4a185;
}

#featured_items_sidebar h3 {
	border-bottom: 1px solid black;
	margin: 0;
	padding-bottom: 10px;
	background: url(../inc/bookstore_top_shadow.php?color=cream) repeat-x;
}

div#featured_items_sidebar ul {
	display: block;
	margin: 0 0 29px;
	list-style-type: none;
	padding: 0;
	border-bottom: 1px solid white;
}

div#featured_items_sidebar ul li {
	display: block;
	width: 178px;
	height: 178px;
	padding: 10px;
	border-top: 1px solid white;
	border-bottom: 1px solid black;
}

div#featured_items_sidebar ul li a {
	color: white;
	text-decoration: none;
}

div#featured_items_sidebar ul li a:hover {
	color: #004010;
	text-decoration: underline;
}

#featured_items_sidebar ul li span.bookstore_featured_thumb {
	display: block;
	width: 125px;
	height: 125px;
	margin-left: auto;
	margin-right: auto;
	border-style: none;
}

#featured_items_sidebar ul li span.bookstore_featured_thumb img.bookstore_featured_thumb {
	margin-right: auto;
	margin-left: auto;
	display: block;
	border-style: none;
}

#featured_items_sidebar ul li span.item_name {
	display: block;
	text-align: center;
	width: 170px;
	height: 50px;
	font-weight: bold;
}

/* @end */

/* @group featured_splash */

div#featured_items_splash {
	display: block;
	position: relative;
	width: 602px;
	height: 650px;
	float: right;
	clear: none;
	background: url(../images/bookstore_splash.jpg) no-repeat;
}

div#featured_items_splash div a {
	display: block;
	width: 152px;
	height: 223px;
	position: absolute;
}

div#featured_items_splash div a span.hidden_text {
	display: none;
}

/* @group featured items buttons */

div#featured_items_splash div#a a {
	top: 20px;
	left: 33px;
}

div#featured_items_splash div#b a {
	top: 20px;
	left: 226px;
}

div#featured_items_splash div#c a {
	top: 20px;
	left: 416px;
}

div#featured_items_splash div#d a {
	top: 289px;
	left: 33px;
}

div#featured_items_splash div#e a {
	top: 289px;
	left: 226px;
}

div#featured_items_splash div#f a {
	top: 289px;
	left: 416px;
}

/* @group hovers */

div#featured_items_splash div a:hover {
	background-image: url(../images/bookstore_splash.jpg);
}

div#featured_items_splash div#a a:hover {
	background-position: -33px -675px;
}

div#featured_items_splash div#b a:hover {
	background-position: -226px -675px;
}

div#featured_items_splash div#c a:hover {
	background-position: -416px -675px;
}

div#featured_items_splash div#d a:hover {
	background-position: -33px -944px;
}

div#featured_items_splash div#e a:hover {
	background-position: -226px -944px;
}

div#featured_items_splash div#f a:hover {
	background-position: -416px -944px;
}

/* @end */

/* @end */

/* @end */

/* @group category sheet */

#category_sheet p.category_trail {
	float: left;
}

#category_sheet p.categories_count_top {
	padding-bottom: 5px;
	text-align: right;
	float: right;
}

#category_sheet p.categories_count a.page_num {
	font-size: smaller;
}

#category_sheet p.categories_count {
	padding-bottom: 5px;
	margin-right: auto;
	margin-left: auto;
	display: block;
	width: 350px;
	text-align: center;
}

#category_sheet p.categories_count span.small_count {
	font-size: small;
}

#category_sheet ul {
	list-style-type: none;
	padding: 0 0 0 5px;
	display: block;
	margin-top: 25px;
	clear: left;
}

#category_sheet ul.sub_categories_list li {
	margin-top: 0;
	display: block;
	position: relative;
	padding: 2px 5px 7px;
}

#category_sheet {
	display: block;
	position: relative;
	width: 572px;
	min-height: 655px;
	float: right;
	clear: none;
	padding: 15px;
	color: white;
	overflow: visible;
	margin-bottom: 15px;
	background-image: url(../images/bookstore_side_shadow.png);
}

#category_sheet h3 {
	margin: 0;
}

#category_sheet table {
	width: inherit;
	clear: both;
	margin-top: 15px;
}

#category_sheet table tbody {
	
}

#category_sheet table.sub_categories_list tr {
	margin-top: 0;
	position: relative;
	height: 150px;
	border-bottom-style: solid;
	border-bottom-color: #002b0b;
	padding-top: 2px;
	padding-bottom: 7px;
	width: inherit;
	margin-right: auto;
	margin-left: auto;
	background-color: #2f6736;
}

#category_sheet table.sub_categories_list td {
	border-left: 1px solid #228738;
	border-top: 1px solid #228738;
}

#category_sheet table.sub_categories_list td.thumb {
	width: 110px;
	padding: 5px;
}

#category_sheet table.sub_categories_list td.info {
	width: 310px;
	padding: 5px;
	display: block;
	height: inherit;
}

#category_sheet table.sub_categories_list td.purchase {
	width: 110px;
	padding: 5px;
}

#category_sheet table.sub_categories_list td.search_info {
	width: 432px;
	padding: 5px;
	display: block;
	height: inherit;
}

#category_sheet table.sub_categories_list td.thumb a {
	border: none;
}

#category_sheet table.sub_categories_list td.thumb a img {
	margin-right: auto;
	margin-left: auto;
	display: block;
	border-style: none;
}

/* @group add to cart
 */

#category_sheet table.sub_categories_list tbody tr td.purchase form fieldset {
	padding: 0;
	font-weight: normal;
	font-style: normal;
	font-size: smaller;
}

#category_sheet table.sub_categories_list tbody tr td.purchase form a {
	font-size: smaller;
}

#category_sheet table.sub_categories_list tbody tr td.purchase form fieldset {
	border-style: none;
}

#category_sheet table.sub_categories_list tbody tr td.purchase form input#quantity {
	width: 30px;
	display: inline;
	margin-bottom: 5px;
}

#category_sheet table.sub_categories_list tbody tr td.purchase form fieldset label {
	display: inline;
}

#category_sheet table.sub_categories_list tbody tr td.purchase form fieldset span.price {
	display: block;
}

#category_sheet table.sub_categories_list tbody tr td.purchase form input[name="submit"] {
	margin: 2px 0;
	padding: 0;
	font-size: 8px;
}

#category_sheet table.sub_categories_list tbody tr td.purchase img {
	margin: 0;
	padding: 0;
	display: inline;
}

/* @end */

#category_sheet ul li span.bookstore_featured_thumb img {
	max-width: 50px;
	max-height: 50px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

#category_sheet ul li span.item_name {
	position: absolute;
	top: 20px;
	left: 60px;
}

#category_sheet ul.sub_categories_list li a img.item_thumb {
	padding-right: 10px;
}

/* @end

 */

div.clear_for_copyright {
	clear: both;
	display: block;
	width: 1px;
	height: 1px;
}

#category_sheet a {
	color: white;
	text-decoration: none;
	border-bottom: 1px dotted white;
}

#category_sheet a:hover {
	color: white;
	text-decoration: none;
	border-bottom: 1px solid white;
}

/* @group search */

div#featured_items_sidebar form fieldset {
	border: none;
	height: 20px;
	display: block;
	margin: 0;
	padding-top: 25px;
	padding-left: 10px;
	padding-right: 10px;
	background: url(../inc/bookstore_top_shadow.php?color=cream) repeat-x;
}

div#featured_items_sidebar input#search {
	width: 100px;
}

form#bookstore_search fieldset {
	border: none;
	height: 25px;
	display: block;
}

#category_sheet table.search_results td {
	margin-top: 0;
	position: relative;
	padding: 2px 5px 7px;
}

/* @end */

#bookstore_menu li.top_level ul.sublist li ul.sub_sublist li.long {
	height: 44px;
}