@import url("form.css");

/* -- bbroShops V2 -- */

/* -- HTML Tags --------------- */
* {margin: 0; padding: 0; font-size: 100%;}
html, body {height: 101%;}
body {font: normal 76% arial, sans-serif; line-height: 160%; background-color: #cfe7fa; color: #555555;}
p {margin-bottom: 1em;}
a {color: #308cca;}
a:hover {color: #ffafc8;}
a img {border: none;}

h1 {font: normal 2.3em arial; margin-bottom: 0.4em; color: #ffafc8;}
h2 {font: normal 1.4em arial; margin-bottom: 1em; color: #308cca;}
h3 {font: normal 1.4em arial; margin-bottom: 1em;}

/* -- Main Div Blocks --------- */
#wrapper {width: 900px; margin: 0 auto; background-color: #ffffff; padding: 8px;}

#header {height: 151px; background-image: url(/images/header.jpg); position: relative;}

#header #logo_home {width: 360px; height: 60px; display: block;}

#main_nav {position: absolute; bottom: 0; left: 0; width: 528px; height: 29px; background-color: #ffafc8; border-top: 3px solid #ffffff; border-right: 3px solid #ffffff;}
#main_nav a {color: #ffffff; text-transform: uppercase; text-decoration: none; font-size: 1.1em; display: block; float: left; height: 18px; margin-top: 4px; padding: 0 14px; border-right: 1px solid #ffffff; font-weight: bold;}
#main_nav a:hover, #sub_nav a:hover {text-decoration: underline;}

#sub_nav {margin-top: 4px; background-color: #fccb6b; height: 58px;}
#sub_nav a {color: #ffffff; text-decoration: none; font-size: 1.1em; display: block; float: left; height: 22px; margin-top: 4px; padding: 0 7px; border-right: 1px solid #ffffff; font-weight: bold;}

#header form {padding-top: 3px; position: absolute; bottom: 40px; left: 6px;}
#header .text {width: 150px; color: #999999; margin-right: 4px; padding: 2px 5px;}
#header .submit {width: 40px;}
#header_contact {display: block; position: absolute; bottom: 0px; left: 540px; width: 230px; height: 40px;}
#basket {position: absolute; bottom: 40px; left: 250px; font-weight: bold; color: #ffffff;}

#body {margin-top: 10px; float: left; width: 100%;}

#sidebar {float: left; width: 190px;}
#sidebar ul {margin-bottom: 2em; padding-left: 15px; color: #ffafc8; list-style: square; margin-left: 1em;}
#sidebar ul a {text-decoration: none;}
#sidebar ul a:hover {text-decoration: underline; color: #308cca;}
#sidebar h2 {background-color: #cfe7fa; color: #308cca; padding: 3px 0 3px 5px; }
#sidebar p {margin-left: 1em;}

#main {width: 675px; float: right; margin-right: 15px;}
#main ul {margin: 1em 0 1em 1em; padding-left: 1em;}

#footer {
	text-align: center;
	font-size: 0.9em;
}
#footer img {
	margin: 10px 0;
}


.category_listing, .product_listing {
	float: left;
	width: 212px;
	height: 305px;
	position: relative;
	margin: 5px 3px 20px 3px;
	display: inline;
	border:2px solid #cfe7fa;
}

.category_listing .title, .product_listing .title {
	text-align: center;
	line-height: 1.2em;
	padding: 4px 5px 0 5px;
	color: #765;
	overflow: hidden;
	display: block;
}
.category_listing .title {
	height: 54px;
	font-weight: bold;
}
.product_listing .title {
	height: 32px;
	font-weight: bold;
}

.category_listing .image_container, .product_listing .image_container {
	display: block;
	height: 240px;
	width: 200px;
	background: no-repeat center;
	margin-left: 5px;
}

.category_listing .phover, .product_listing .phover {
	display: block;
	text-decoration: none;
	background: url(/images/cat-back.png) no-repeat;
	height: 100%;
}

.category_listing .phover:hover, .product_listing .phover:hover {
	background: url(/images/cat-back-hover.png) no-repeat;
	cursor: hand;
}

.product_listing .price {
	height: 20px;
	text-align: center;
	font-weight: bold;
	font-size: 1.2em;
	display: block;
	overflow: hidden;
}

.product_listing .moreinfo, .category_listing .moreinfo {padding-top: 8px;}

.product_listing .moreinfo a, .category_listing .moreinfo a {
	text-align: center;
	display: block;
	width: 120px; height: 22px;
	padding-top: 10px;
	background-color: #ffafc8;
	font-weight: bold;
	color: #ffffff;
	margin: 0 auto;
	text-decoration: none;
}

.category_listing .moreinfo a {
	width: 200px;
}

.product_listing .moreinfo a:hover, .category_listing .moreinfo a:hover {
	background-color: yellow;
}



.error {
	background-color: #FFE1E1;
	padding: 4px;
	font-weight: bold;
}


.number {
	text-align: right;
}

#crumbs {margin-bottom: 1em;}
#sort_prods {float: right;}