/*****************************************************/
/*   Author:  The Mattress & Sleep Co                */
/*            service@tmasc.ca                       */
/*   Version: 5.2.5                                  */
/*   Date:    July 8, 2010                           */
/*****************************************************/

/*****************/
/*   MAIN BODY   */
/*****************/
body {
	font-size: 62.5%;
	margin: 0em auto;
	padding: 0em;
	background: url(/img/img_background_new.gif) top center repeat-y;
  	font-family: Century Gothic, Trebuchet MS, Arial Narrow, Arial, sans-serif;
}

#wrap {
	width: 90em;
	margin: 0em auto;
}

#leftcol {
        width: 40.3em;
	height: 20px;
	float: left;
	font-weight: bold;
	margin: 0.4em 0em 0em 0em;
	padding: 0em 0em 0em 0em;
	border: none;
}

#rightcol {
        width: 49.7em;
	height: 20px;
        float: right; 
        position: relative;
	font-weight: bold;
        text-align: right; 
        text-transform: none;
	margin: 0.4em 0em 0em 0em;
	padding: 0em 0em 0em 0em;
        background-color: #FFFFFF;
}

.rightcol a{
	color:#494949;
	text-decoration:none;
}

.rightcol a:hover{
	text-decoration:underline;
}


/**************/
/*   HEADER   */
/**************/
#header-section {
	width: 90em;
	margin: 0em 0em 0em 0em;
}

#header-background {
	width: 100%; 
	height: 100%;
	float: left;
	border: none;
	margin: 0em 0em 0em 0em;
}

#header-background-left {
	width: 20.3em;
	float: left;
	margin: 0em 0em 0em 0em;
	padding: 0em 0em 0em 0em;
	border: none;
}

#header-background-right {
	width: 69.7em;
	float: right;
	margin: 0em 0em 0em 0em;
	padding: 0em 0em 0em 0em;
	border: none;
}

#header {
	clear: both;
	margin: 0em 0em 1.0em 0em;
	border-top: solid 0.1em rgb(175,175,175);
	border-bottom: solid 0.1em #f6f6f6;
	background-color: #f6f6f6;	
	text-transform: none;
	line-height: 2.0em;
	height: 2.9em;
	color: rgb(50,50,50);
}

* html #header a {width:1%;}


/***********************/
/***   LEFT COLUMN   ***/
/***********************/
#left-column {
	width: 19.5em;
	float: left;
	vertical-align: top;
	background-color: rgb(255,255,255);
	font-size: 1.1em;
	color: rgb(50,50,50);
}

#left-column ul {	
	width: 95%;
	padding: 0em;
	margin: 0em;
	list-style: none;
}	

#left-column li {
	margin: 0em 0em 0em 0em;
}

#left-column li a {
	display: block;
	padding: 0.3em 0.7em 0.2em 0.2em;
	border-left: solid 0.5em rgb(235,235,235);
	border-top: solid 0.1em rgb(200,200,200);
	background-color: rgb(235,235,235);
	text-decoration: none;
	font-weight: normal;
	font-size: 1.1em;
	color: rgb(0,0,0);
	height: 1.2em;
}	
	
#left-column a:hover {
	border-left: solid 0.5em rgb(201,218,194);
	background-color: rgb(220,220,220);
	text-decoration: none;
	font-weight: bold;
	color: rgb(0,0,0);
}

#left-column .selected {
	display: block;
	padding: 0.3em 0.7em 0.2em 1.2em;
	border-left: solid 0.5em rgb(175,175,175);
	border-top: solid 0.1em rgb(200,200,200);
	background-color: rgb(220,220,220);
	font-size: 1.1em;
	font-weight: bold;
	color: rgb(0,0,0);
}

#left-column .left-navheader-1first {
	display: block;
	margin: 0em 0em 1.0em 0em;
	padding: 0.3em 0.7em 0.3em 0.9em;
	border-left: solid 0em rgb(255,210,113);
	background-color: rgb(201,218,194);
	text-transform: none;
	text-decoration: none;
	font-weight: bold;
	color: rgb(0,0,0);
}

#left-column .left-navheader-1first a:hover{
	color: rgb(230,35,40);
	border-left: none;
	background-color: ffffff;
	border-top: none;
}

#left-column .left-navheader-first {
	display: block;
	margin: 0em 0em 1.0em 0em;
	padding: 0.3em 0.7em 0.3em 0.9em;
	border-left: solid 0em rgb(255,210,113);
	background-color: rgb(220,220,220);
	text-transform: none;
	text-decoration: none;
	font-weight: bold;
	color: rgb(0,0,0);
}

#left-column .left-navheader {
	display: block;
	margin: 1.0em 0em 0em 0em;
	padding: 0.3em 0.7em 0.2em 0.4em;
	border-left: solid 0.5em rgb(235,235,235);
	background-color: rgb(220,220,220);
	text-transform: none;
	text-decoration: none;
	font-weight: bold;
	color: rgb(0,0,0);
}

#left-column .left-navheader-green {
	display: block;
	margin: 1.0em 0em 0em 0em;
	padding: 0.3em 0.7em 0.2em 0.4em;
	border-left: solid 0.5em rgb(235,235,235);
	background-color: rgb(201,218,194);
	text-transform: none;
	text-decoration: none;
	font-weight: bold;
	color: rgb(0,0,0);
}
	
/*************************/
/***   MIDDLE COLUMN   ***/
/*************************/

/* Sections */
/************/
#middle-column {
	float: left;
	width: 75.5%;
	padding: 0em 0.1em 0em 0.1em;
	background-color: rgb(255,255,255);
	color: rgb(0,0,0);
	line-height: 1.3em;
	font-size: 1.3em;
	font-weight: normal;
}

.middle-column-left {
	float: left;
	width: 62.75%;
}

.middle-column-right {
	float: right;
	width: 62.75%;
}

/* Box titlebars */
/*****************/
.middle-column-box-title-green2 {
	clear: both;
	display: block;
	margin: 0em 0em 0.5em 0em;
	padding: 0.2em 0em 0.2em 0.3em;
	background-color: rgb(201,218,194);			
	font-weight: bold;
	color: rgb(50,50,50);
}

.middle-column-box-title-green3 {
	clear: both;
	display: block;
	margin: 0em 0em 0.5em 0em;
	padding: 0.2em 0em 0.2em 0.3em;
	background-color: rgb(179,215,141);			
	font-weight: bold;
	color: rgb(50,50,50);
}

/* Box backgrounds */
/*******************/

/* Box backgrounds -  Full width boxes */
/***************************************/
.middle-column-box-white {
	float: left;
	width: 100%;
	margin: 0em 0em 1.5em 0em;
	padding: 0em 0em 0em 0em;
}

/* Box backgrounds -  Half width boxes */
/**************************************/
.middle-column-box-left-white {
	float: left;
	width: 98%;
	margin: 0em 0em 1.5em 0em;
	padding: 0em 0em 0em 0em;
}

/* Text headings and paragraphs */
/********************************/
.middle-column-box-white p.heading {
	margin: 1.0em 0em 1.0em 0em;
	font-weight: bold;
	font-size: 1.2em;
}

.middle-column-box-white p.subheading {
	margin: 1.0em 0em 0.6em 0em;	
	font-weight: bold;
}

.middle-column-box-white p {
	margin: 0em 0em 0.6em 0em;
}

.middle-column-box-green p.heading {
	margin: 1.0em 0em 1.0em 0em;
	padding: 0em 1.0em 0em 0.8em;
	font-weight: bold;
	font-size: 1.2em;
}

.middle-column-box-green p.subheading {
	margin: 1.0em 0em 0.6em 0em;
	padding: 0em 1.0em 0em 0.8em;
	font-weight: bold;
}

.middle-column-box-green p {
	margin: 0em 0em 0.6em 0em;
	padding: 0em 1.0em 0em 0.8em;
}

.middle-column-box-left-white p.heading {
	margin: 1.0em 0em 1.0em 0em;
	font-weight: bold;
	font-size: 1.2em;
}

.middle-column-box-left-white p.subheading {
	margin: 1.0em 0em 0.6em 0em;
	font-weight: bold;
}

.middle-column-box-left-white p {
	margin: 0em 0em 0.6em 0em;
}

.middle-column-box-left-green p.heading {
	margin: 1.0em 0em 1.0em 0em;
	padding: 0em 1.0em 0em 0.8em;
	font-weight: bold;
	font-size: 1.2em;
}

.middle-column-box-left-green p.subheading {
	margin: 1.0em 0em 0.6em 0em;
	padding: 0em 1.0em 0em 0.8em;	
	font-weight: bold;
}

.middle-column-box-left-green p {
	margin: 0em 0em 0.6em 0em;
	padding: 0em 1.0em 0em 0.8em;
}

.middle-column-box-right-white p.heading {
	margin: 1.0em 0em 1.0em 0em;
	font-weight: bold;
	font-size: 1.2em;
}

.middle-column-box-right-white p.subheading {
	margin: 1.0em 0em 0.6em 0em;
	font-weight: bold;
}

.middle-column-box-right-white p {
	margin: 0em 0em 0.6em 0em;
}

.middle-column-box-right-green p.heading {
	margin: 1.0em 0em 1.0em 0em;
	padding: 0em 1.0em 0em 0.8em;
	font-weight: bold;
	font-size: 1.2em;
}

.middle-column-box-right-green p.subheading {
	margin: 1.0em 0em 0.6em 0em;
	padding: 0em 1.0em 0em 0.8em;
	font-weight: bold;
}

.middle-column-box-right-green p {
	margin: 0em 0em 0.6em 0em;
	padding: 0em 1.0em 0em 0.8em;
}

/* Images */
/**********/
.middle-column-img-left{
	float: left;
	margin: 0.3em 0.5em 0em 0em;
	border: solid 1px rgb(100,100,100);
}

.middle-column-img-right{
	float: right;
	margin: 0.3em 0em 0em 0.5em;
	border: solid 1px rgb(100,100,100);	
}


/*******************/
/***   FOOTER    ***/
/*******************/
#footer {
	clear: both;
	float: left;
	width: 90em;
	height: 100%;
	margin: 1.0em 0em 1.0em 0em;
	padding: 0.25em 0em 0.3em 0em;
	border-top: solid 0.1em rgb(150,150,150);
	border-bottom: solid 0.1em rgb(150,150,100);	
	background-color: rgb(220,220,220);
	text-align: left;
	color: rgb(0,0,0);
	font-size: 1.0em;
}

/**************************/
/***   MISCELLANEOUS    ***/
/**************************/

#lightbox{
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}

#lightbox a img{ border: none; }

#outerImageContainer{
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	}

#imageContainer{
	padding: 10px;
	}

#loading{
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
	}
#hoverNav{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
	}
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 49%;
	height: 100%;
	background: transparent url(/images/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(/images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(/images/nextlabel.gif) right 15% no-repeat; }


#imageDataContainer{
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	overflow: auto;
	width: 100%	
	}

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em;	}	
		
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	}