/* reset.css */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
body {line-height:1.5;}
table {border-collapse:separate;border-spacing:0;}
caption, th, td {text-align:left;font-weight:normal;}
table, td, th {vertical-align:middle;}
blockquote:before, blockquote:after, q:before, q:after {content:"";}
blockquote, q {quotes:"" "";}
a img {border:none;}

/* typography.css */
body {font-size:75%;color:#222;background:#fff;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;}
h1, h2, h3, h4, h5, h6 {font-weight:normal;color:#111;}
h1 {font-size:3em;line-height:1;margin-bottom:0.5em;}
h2 {font-size:2em;margin-bottom:0.75em;}
h3 {font-size:1.5em;line-height:1;margin-bottom:1em;}
h4 {font-size:1.2em;line-height:1.25;margin-bottom:1.25em;}
h5 {font-size:1em;font-weight:bold;margin-bottom:1.5em;}
h6 {font-size:1em;font-weight:bold;}
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin:0;}
p {margin:0 0 1.5em;}
p img.left {float:left;margin:0 1em 1em 0;padding:0;}
p img.right {float:right;margin:0em 0 1em 1em;}
a:focus, a:hover {color:#000;}
a {color:#009;text-decoration:underline;}
blockquote {margin:1.5em;color:#666;font-style:italic;}
strong {font-weight:bold;}
em, dfn {font-style:italic;}
dfn {font-weight:bold;}
sup, sub {line-height:0;}
abbr, acronym {border-bottom:1px dotted #666;}
address {margin:0 0 1.5em;font-style:italic;}
del {color:#666;}
pre {margin:1.5em 0;white-space:pre;}
pre, code, tt {font:1em 'andale mono', 'lucida console', monospace;line-height:1.5;}
li ul, li ol {margin:0 1.5em;}
ul, ol {margin:0 1.5em 1.5em 1.5em;}
ul {list-style-type:square;}
ol {list-style-type:decimal;}
dl {margin:0 0 1.5em 0;}
dl dt {font-weight:bold;}
dd {margin-left:1.5em;}
table {margin-bottom:1.4em;width:100%;}
th {font-weight:bold;}
thead th {background:#c3d9ff;}
th, td, caption {padding:4px 10px 4px 5px;}
tr.even td {background:#e5ecf9;}
tfoot {font-style:italic;}
caption {background:#eee;}
.small {font-size:.8em;margin-bottom:1.875em;line-height:1.875em;}
.large {font-size:1.2em;line-height:2.5em;margin-bottom:1.25em;}
.hide {display:none;}
.quiet {color:#666;}
.loud {color:#000;}
.highlight {background:#ff0;}
.added {background:#060;color:#fff;}
.removed {background:#900;color:#fff;}
.first {margin-left:0;padding-left:0;}
.last {margin-right:0;padding-right:0;}
.top {margin-top:0;padding-top:0;}
.bottom {margin-bottom:0;padding-bottom:0;}

/* Forms */
form {clear: both;margin-right: 20px;padding: 0;width: 80%;}
fieldset {border: 1px solid #ccc;margin-top: 30px;padding: 16px 20px;}
fieldset legend {background:#fff;color: #e32;font-size: 160%;font-weight: bold;}
fieldset fieldset {margin-top: 0px;margin-bottom: 20px;padding: 16px 10px;}
fieldset fieldset legend {font-size: 120%;font-weight: normal;}
fieldset fieldset div {clear: left;margin: 0 20px;}
form div {clear: both;margin-bottom: 1em;padding: .5em;vertical-align: text-top;}
form div.input {color: #444;}
form div.required {color: #333;font-weight: bold;}
form div.submit {border: 0;clear: both;margin-top: 10px;margin-left: 140px;}
label {display: block;font-size: 110%;padding-right: 20px;}
input, textarea {clear: both;font-size: 140%;padding: 2px;width: 100%;}
select {clear: both;font-size: 120%;vertical-align: text-bottom;}
select[multiple=multiple] {width: 100%;}
option {font-size: 120%;padding: 0 3px;}
input[type=checkbox] {clear: left;float: left;margin: 0px 6px 7px 2px;width: auto;}
input[type=radio] {float:left;width:auto;margin: 0 3px 7px 0;}
div.radio label {margin: 0 0 6px 20px;}
input[type=submit] {display: inline;font-size: 110%;padding: 2px 5px;width: auto;vertical-align: bottom;}

/* -------------------------------------------------------------- 
  
   fancy-type.css
   * Lots of pretty advanced classes for manipulating text.
   
   See the Readme file in this folder for additional instructions.

-------------------------------------------------------------- */

/* Indentation instead of line shifts for sibling paragraphs. */
   p + p { text-indent:1em; margin-top:-1.5em; }
   form p + p  { text-indent: 0; } /* Don't want this in forms. */
   

/* For great looking type, use this code instead of asdf: 
   <span class="alt">asdf</span>  
   Best used on prepositions and ampersands. */
  
.alt { 
  color: #666; 
  font-family: "Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua", Georgia, serif; 
  font-style: italic;
  font-weight: normal;
}


/* For great looking quote marks in titles, replace "asdf" with:
   <span class="dquo">&#8220;</span>asdf&#8221;
   (That is, when the title starts with a quote mark). 
   (You may have to change this value depending on your font size). */  
   
.dquo { margin-left: -.5em; } 


/* Reduced size type with incremental leading
   (http://www.markboulton.co.uk/journal/comments/incremental_leading/)

   This could be used for side notes. For smaller type, you don't necessarily want to 
   follow the 1.5x vertical rhythm -- the line-height is too much. 
   
   Using this class, it reduces your font size and line-height so that for 
   every four lines of normal sized type, there is five lines of the sidenote. eg:

   New type size in em's:
     10px (wanted side note size) / 12px (existing base size) = 0.8333 (new type size in ems)

   New line-height value:
     12px x 1.5 = 18px (old line-height)
     18px x 4 = 72px 
     72px / 5 = 14.4px (new line height)
     14.4px / 10px = 1.44 (new line height in em's) */

p.incr, .incr p {
	font-size: 10px;
	line-height: 1.44em;  
	margin-bottom: 1.5em;
}


/* Surround uppercase words and abbreviations with this class.
   Based on work by Jørgen Arnor Gårdsø Lom [http://twistedintellect.com/] */
   
.caps { 
  font-variant: small-caps; 
  letter-spacing: 1px; 
  text-transform: lowercase; 
  font-size:1.2em;
  line-height:1%;
  font-weight:bold;
  padding:0 2px;
}

/* The CSS that's required to position the footer */
* {
	margin:0;
	padding:0;
}
html {
	height: 100%;
}
body {
	height: 100%;
	text-align:center;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #354D6A;
	line-height:normal;

	background-color: #354D6A;
	background-image: url(../img/bg_body2.png);
	background-repeat: no-repeat;
	background-position: center top;
}
#nonFooter {
	position: relative;
	width: 960px;
	margin: 0 auto;
	min-height: 100%;
	background-image: url(../img/bg_body.png);
	background-repeat:repeat-y;
	background-position: center top;	
}
* html #nonFooter {
	height: 100%;
}

#nonFooterContent {
	position: relative;
	width: 960px;
	margin: 0 auto;
	text-align:left;
	padding-bottom: 70px;
	background-image: url(../img/bg_head.png);
	background-repeat: no-repeat;
	background-position: center top;
}

#footer {
	position: relative;
	width: 960px;
	margin: 0 auto;
	height:70px;
	margin-top: -70px;
	text-align: center;
	background-image: url(../img/bg_bottom.jpg);
	background-repeat: no-repeat;
	background-position: center top;
}

#footerContent {
	position:relative;
	height: 70px;
	margin:0 auto;
	text-align:left;	
}

#head{
	position:relative;
	width: 960px;
	height:456px;
	margin: 0 auto;
}
#head #title {
	position: relative;
	height: 96px;
	width:950px;
}
#head #title h1 {
	visibility: hidden;
}

#head #slideshow {
	position:absolute;
	top: 96px;
	left:5px;
	height: 310px;
	width:950px;
	z-index:1000;
}

#head #menu {
	position:absolute;
	top: 406px;
	left: 160px;
	height: 50px;
	width: 640px;
	overflow: hidden;
}

		#menu ul{
			border: 0;
			margin: 0;
			padding: 0;
			list-style-type: none;
		}
		#menu ul li{
			display: block;
			float: left;
			padding: 0;
			margin: 0;
			height: 50px;
			background-color: transparent;
		}
		#menu ul li a {
			display: block;
			width: 160px;
			height: 50px;
		}
		#menu ul li a:focus, #menu ul li a:hover, #menu ul li.current a {
			background-position: left bottom;
			background-repeat:no-repeat;
		}

		#menu ul li a span {
			visibility: hidden;
			display: none;
		}

		#menu ul li.who_we_are a{ background-image: url('../img/menu_item_1.png'); }
		#menu ul li.products a{ background-image: url('../img/menu_item_2.png'); }
		#menu ul li.showroom a{ background-image: url('../img/menu_item_3.png'); }
		#menu ul li.where_we_are a{ background-image: url('../img/menu_item_4.png'); }

#body{
	width:950px;
	margin: 0 auto;
	text-align:justify;
}

#body #center{float:left; margin-top:20px;width:660px; margin-left:20px;}
#body #right{float:right; margin-top:20px;width:240px;}

#products_quick_links ul {border: 0;margin: 0;padding: 0;list-style-type: none;}
#products_quick_links ul li {display: block;padding: 0;margin: 0;width:240px;height: 89px;background-color: transparent;}
#products_quick_links ul li a { float:left;display: block;padding: 0;margin: 0;width:240px;height: 89px;}
#products_quick_links ul li a span {visibility: hidden;display: none;}
#products_quick_links ul li a:focus, #products_quick_links ul li a:hover, #products_quick_links ul li.current a {background-position: left bottom;background-repeat:no-repeat;}
#products_quick_links ul li.accessories a { background-image: url('../img/menu_products_item_1.png'); }
#products_quick_links ul li.mattresses a { background-image: url('../img/menu_products_item_2.png'); }
#products_quick_links ul li.grids a { background-image: url('../img/menu_products_item_3.png'); }
#products_quick_links ul li.gsi a { background-image: url('../img/menu_products_item_4.png'); }
#products_quick_links ul li.tempur a { background-image: url('../img/menu_products_item_5.png'); }

.showroom a img {
	padding: 2px;
	border: 1px solid #354D6A;
	margin: 5px;
}
.alpha-shadow {
	float: left;
	padding: 2px;
	border: 1px solid #354D6A;
	margin-top: 0px;
	margin-right: 15px;
	margin-bottom: 15px;
	margin-left: 0px;
}
#gmap_frame {
	display:block;
	position: relative;
	width: 660px;
	height: 330px;
	background-image: url(../img/gmap_frame.png);
	background-attachment: scroll;
	background-repeat: no-repeat;
	background-position: center center;
	margin-bottom:1.5em;
}
#gmap { left:10px; top: 10px;}

.clear {clear:both;}
#footer a {
	color:#354D6A;
	text-decoration:none;
}

#footer a:focus, #footer a:hover {
	color:#354D6A;
	text-decoration: underline;
}

#footerContent {
	position:relative;
	display:block;
	background-attachment: scroll;
	background-image: url(../img/bg_footer_content.png);
	background-repeat: no-repeat;
	background-position: center top;
}
#footerText, #wallaceMultimediaLogo {
	float:left;
}
#footerText {
	margin-left: 15px;
	margin-right: 20px;
	color:#354D6A;
	line-height:70px;
	width: 710px;
	font-size:11px;
}
#wallaceMultimediaLogo {
	position:absolute;
	right: 5px;
	top: 0;
	width:124px;
	height:70px;
}
#wallaceMultimediaLogo a {
	display:block;
	width:124px;
	height:70px;
	background-attachment: scroll;
	background-image: url(../img/logo_wm.png);
	background-repeat: no-repeat;
	background-position: left top;
}
#wallaceMultimediaLogo a:hover {
	background-position: left bottom;
}
#wallaceMultimediaLogo a span {
	display: none;
	visibility: hidden;
}

#quntiDiVistaLogo {
	position:absolute;
	right: 129px;
	top: 0;
	width:100px;
	height:70px;
}
#quntiDiVistaLogo a {
	display:block;
	width:100px;
	height:70px;
	background-attachment: scroll;
	background-image: url(../img/logo_qv.png);
	background-repeat: no-repeat;
	background-position: left top;
}
#quntiDiVistaLogo  a:hover {
	background-position: left bottom;
}
#quntiDiVistaLogo a span {
	display: none;
	visibility: hidden;
}
