/*------------------------------------------------------------------
[Master Stylesheet]

Project:		Dex import Site
Version:		1
Author:			Cristian Sans
Company:		Gimmicklab
Date:			18/09/08  
Last change:	11/02/09  
URL:			http://www.deximport.es

Notes:			Fixes for IE6 in a separate stylesheet			

-------------------------------------------------------------------*/

@import "reset.css";

/* Main Estructure */

body, html, #container {
	height: 100%;
}

body {
	background: #fff;
	font-size: 62.5% !important;
	color: #6a625a;
}


/* Tipography */

body, h1, h2, h3, h4, h5, h6 {
	font-family: Arial, Verdana, sans-serif;
}

/* Layout */

div#container {
	width: 100%;
}
div#header {
	background: transparent url(../img/header-bg.png) repeat-x top left;
}
div#header div {
	margin: 0 auto;
	width: 975px;
	height: 110px;
}
div#main {
	width: 975px;
	margin: 0 auto;
}
div#footer {
	clear: both;
	width: 100%;
}
div#footer div {
	background: transparent url(../img/footer-left.png) no-repeat top left;
	width: 955px;
	padding-left: 20px;
	margin: 0 auto;
	height: 40px;	
	bottom: -10px;
}
div#footer ul {
	background: transparent url(../img/footer-right.png) no-repeat top right;
	height: 25px;
	padding-top: 15px;
}

/* Block Elements */

h1, h2, h3, h4, h5, h6 {
	color: #6a625a;
}
h1 {
	font-size: 2.8em;
	float: left;
}
h1 a {
	background: transparent url(../img/dex-logo.png) no-repeat top left;
	display: block;
	width: 176px;
	height: 32px;
	margin-top: 25px;
	text-indent: -9999px;
}
h2 {
	font-size: 2.2em;
}
h3 {
	font-size: 2em;
	font-weight: normal;
}
h4 {
	font-size: 1.8em;
}
h5 {
	font-size: 1.6em;
}
h6 {
	font-size: 1.4em;
}
p {
	font-size: 1.2em;
	line-height: 1.4em;
	margin: 15px 0 15px 0;
}
ul, ol, dl {
	font-size: 1.2em;
	line-height: 1.4em;
}
ol li {
	list-style-type: decimal;
	list-style-position: inside;
}
ul ul, ol ol {
	font-size: 1em;
}
li {
	list-style: none;
}
span {
	font-size: 1em;
}
img {
	border: none;
}
input {outline: none;}
hr {
	display: none;
	clear: both;
}
a {
	color: #6a625a;
	font-size: 1em;
	text-decoration: underline;
	outline: none;
}
a:hover {
	text-decoration: none;
}

/* Header */

div#header fieldset {
	margin-top: 30px;
	float: right;
}
div#header label {display: none;}
div#header input[type=text] {
	background: transparent url(../img/search-input.png) no-repeat top left;
	font-size: 1.2em;
	line-height: 1.2em;
	width: 155px;
	height: 15px;
	padding: 3px 15px;
	border: 0;
	color: #6a625a;
}
div#header input[type=submit] {
	background: transparent url(../img/search-btn.png) no-repeat top left;
	width: 17px;
	height: 16px;
	margin-left: 5px;
	border: 0;
	cursor: pointer;
	text-indent: -9999px;
	*line-height: 5em; /* FIX ME Targeting IE7 */
}

/* Footer */

div#footer li {
	display: inline;
	font-weight: bold;
	margin-right: 25px;
}
div#footer a {font-weight: normal;}
div#footer span {margin-right: 7px;}

/* Main */

div#main a {text-decoration: none;}
div#main a:hover {color: #ff1010;}

/* Navigator */

h2#breadcrumb {
	font-size: 1.2em;
	margin: 0 0 35px 0;
}
h2#breadcrumb a {
	margin-left: 10px;
	border-bottom: 1px dotted #6a625a;
	padding-bottom: 1px;
	text-decoration: none;
}
h2#breadcrumb a:hover {border-bottom: 1px dotted #ff1010;}
h2#breadcrumb span {
	margin-left: 10px;
}
h2#breadcrumb a#contact {
	float: right;
	margin: -20px 20px 0 0;
	display: block;
	background: transparent url(../img/contact-btn.png) no-repeat top left;
	width: 63px;
	height: 17px;
	padding: 5px 20px 0 11px;
	color: #fff;
	border: 0;
}
@media screen and (-webkit-min-device-pixel-ratio:0){ /* FIX ME Targeting Safari */
	
}
h2#breadcrumb a#contact:hover {color: #f6b412;}

/* Home */

div.home ul {
	margin-left: 10px;
}
div.home ul li {
	background: transparent url(../img/box-home-bg.png) repeat-y top left;
	display: block;
	float: left;
	width: 171px;
	margin: 0 20px 20px 0;
}
div.home ul li h2 {
	background: transparent url(../img/box-home-header.png) no-repeat top left;
	height: 50px;
}
div.home ul li h2 span {
	display: block;
	text-indent: -9999px;
}
div.home ul ul {
	background: transparent url(../img/box-home-footer.png) no-repeat bottom left;
	padding-bottom: 30px;
	margin: 0;
}
div.home li li {
	float: none;
	line-height: 1.4em;
	margin: 0;
}
div.home ul li img {
	margin: 0 7px;
}
div.home li h3, div.home li li a {
	width: 135px;
	margin: 0 15px;
}
div.home li h3 {
	font-size: 1.4em;
	border-bottom: 1px dotted #6a625a;
	padding-bottom: 5px;
	margin-bottom: 7px;
}

/* Sidebar */

div#sidebar {
	background: transparent url(../img/box-cat-footer.png) no-repeat bottom left;
	width: 165px;
	padding-bottom: 21px;
	float: left;
}
div#sidebar h2 {
	background: transparent url(../img/box-cat-header.png) no-repeat top left;
	height: 31px;
	padding: 48px 15px 0 15px;
	font-size: 1.4em;
	font-weight: normal;
}
div#sidebar h2 span {
	display: block;
	border-bottom: 1px dotted #6a625a;
	padding-bottom: 7px;
}
div#sidebar ul {
	background: transparent url(../img/box-cat-bg.png) repeat-y bottom left;
	padding: 3px 0 20px 0;
	height: 1%;
}
div#sidebar li {
	display: block;
	margin: 0 15px;
	line-height: 1.4em;
}
div#sidebar ul ul {
	background: none;
	padding: 3px 0 5px 0;
	margin: 0;
}
div#sidebar li li {
	margin-left: 12px;
	*margin-left: 5px; /* FIXME targetting IE bc doesn't suppor li:before */
}
div#sidebar li li:before {
	content: '\203A';
	margin: 0 5px 0 -10px;
}
div#sidebar a.active {font-weight: bold;}

/* Catalogue */

div.catalogue div#content, div.product div#content {
	width: 750px;
	float: right;
}
div.catalogue div#content ul {
	clear: both;
}
div.catalogue div#content li {
	background: transparent url(../img/box-catalogue-bg.png) no-repeat top left;
	display: block;
	float: left;
	width: 157px;
	height: 175px;
	margin: 0 25px 25px 0;
}
div.catalogue div#content li img {
	margin: 5px 13px 0 13px;
	padding: 0;
}
div.catalogue div#content li h3, div#content li span {
	margin: 0 13px;
	font-size: 1em;
	line-height: 1em;
}
div.catalogue div#content li h3 {
	border-top: 1px dotted #6a625a;
	padding-top: 7px;
	margin-bottom: 3px;
	font-weight: bold;
}
div.catalogue div#content li span {display: block;}

/* Product */

div#product {
	background: transparent url(../img/box-product-header.png) no-repeat top left;
	float: left;
	width: 495px;
	padding-top: 21px;
}
div#product dl, div#product h3 {padding: 0 20px;}
div#product dl {
	background: transparent url(../img/box-product-bg.png) repeat-y top left;
	padding-top: 5px;
	min-height: 220px;
	position: relative;
}
div#product p#back {
	background: transparent url(../img/box-product-footer.png) no-repeat bottom left;
	height: 21px;
	margin: 0;
}
div#product h3 {
	background: transparent url(../img/box-product-bg.png) repeat-y top left;
	font-size: 1.8em;
	line-height: 1em;
}
div#product h3 span {
	display: block;
	font-size: .7em;
	font-weight: bold;
	border-bottom: 1px dotted #6a625a;
	padding-bottom: 10px;
}
div#product p#back a {
	position: absolute;
	float: right;
	margin: 35px 0 0 20px;
	display: block;
	background: transparent url(../img/back-btn.png) no-repeat top left;
	width: 48px;
	height: 19px;
	padding: 3px 11px 0 11px;
	color: #fff;
	text-align: center;
	font-weight: bold;
}
div#product p#back a:hover {color: #f6b412;}
div#product dt, div#product dd {width: 36%;}
div#product dt {font-weight: bold; margin-top: 10px;}
div#product img {
	position: absolute;
	margin-left: 190px;
	top: 230px;
}
div.product div#content {
	padding-bottom: 75px;
}

/* Related */

div#related {
	background: transparent url(../img/box-related-header.png) no-repeat;
	background-position: 0 42px;
	float: right;
	width: 190px;
	margin-right: 5px;
}
div#related h3 {
	background: transparent url(../img/bar-results-left.png) repeat-x top left;
	height: 29px;
	margin-bottom: 30px;
	font-size: 1.6em;
	line-height: 1.8em;
}
div#related h3 span {
	background: transparent url(../img/bar-results-right.png) no-repeat top right;
	display: block;
	width: 158px;
	height: 29px;
	float: right;
	padding-right: 10px;
}
div#related ul {
	background: transparent url(../img/box-related-footer.png) no-repeat bottom left;
	margin-top: 15px;
	padding: 0 20px 20px 20px;
	height: 1%;
}
div#related li {
	line-height: 1.4em;
	margin: 0 0 5px 12px;
	*margin-left: 1px; /* FIXME targetting IE bc doesn't suppor li:before */
}
div#related li:before {
	content: '\203A';
	margin-right: 5px;
	margin: 0 5px 0 -10px;
}
div#related li a {
	border-bottom: 1px dotted #6a625a;
	padding-bottom: 1px;
}
/* Pagination */

div#pagination {
	background: transparent url(../img/bar-results-left.png) repeat-x top left;
	width: 92%;
	height: 29px;
	padding-left: 15px;
	margin-bottom: 25px;
}
div#pagination p {
	margin: 0px 0;
	height: 29px;
	line-height: 2.5em;
}
div#pagination p#products {
	float: left;
}
div#pagination p#products span {
	font-weight: bold;
	margin-right: 5px;
}
div#pagination p#pages {
	background: transparent url(../img/bar-results-right.png) no-repeat top right;
	float: right;
	padding-right: 10px;
}
div#pagination p#pages a {
	border-bottom: 1px dotted #6a625a;
	padding-bottom: 1px;
	margin: 0 5px;
}
div#pagination p#pages span {font-weight: bold; 
	margin: 0 5px;
}
div#pagination p#pages a:hover {border-bottom: 1px dotted #ff1010;}
div.catalogue div#pagination {margin-right: 45px;}
div#pagination p#pages a.all {margin-right: 10px;}
div#pagination p#pages a.arrow {
	border: 0 !important;
	font-size: .9em;
}
div.search div#pagination {width: 89.5%;}

/* Search Results */

div.search div#content {
	width: 100%;
	margin-left: 10px;
}
div.search div#content ul {
	clear: both;
}
div.search div#content li {
	background: transparent url(../img/box-catalogue-bg.png) no-repeat top left;
	display: block;
	float: left;
	float: left;
	width: 157px;
	height: 175px;
	margin: 0 25px 25px 0;
}
div.search div#content li img {
	margin: 5px 13px 0 13px;
	padding: 0;
}
div.search div#content li h3, div#content li span {
	margin: 0 13px;
	font-size: 1em;
	line-height: 1em;
}
div.search div#content li h3 {
	border-top: 1px dotted #6a625a;
	padding-top: 7px;
	margin-bottom: 3px;
	font-weight: bold;
}
div.search div#content li span {display: block;}

/* Contact */

div.contact h3 {margin: 0 0 25px 15px;}
div.contact dl {
	line-height: 1.5em;
	padding: 0 0 2px 15px;
	margin-bottom: 25px;
}
div.contact dt {
	font-size: 1.2em;
	font-weight: bold;
	margin: 0 0 5px 0;
}
div.contact a, .error a {
	border-bottom: 1px dotted #6a625a;
	padding-bottom: 1px;
}
div.contact a:hover, .error a:hover {border-bottom: 1px dotted #ff1010;}
div#info {
	border-top: 1px dotted #ccc;
	padding-top: 20px;
}
div#info dl {
	width: 47.5%;
	float: left;
}
div#info dt {
	font-size: 1.1em;
}

/* Clases */

#container:after, #header:after #main:after, #home ul:after, #pagination:after, #content:after, #footer:after, #breadcrumb:after, #info:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
.top {margin-top: 5px;}
.excl {margin-top: 25px;}
.error {margin-left: 13px;}

@media screen and (-webkit-min-device-pixel-ratio:0){ /* FIX ME Targeting Safari */
	div#footer {
		background: transparent url(../img/footer-bg.png) repeat-x top left;
		height: 40px;
		padding-top: 20px;
		position: fixed;
		bottom: 0;
	}
	div#content {margin-bottom: 35px;}
	div#product {margin-bottom: 20px;}
	h2#breadcrumb a#contact {margin-top:-20px !important;}
}

