/*****************************************************/
/*   Author:  The Mattress & Sleep Co                */
/*            service@tmasc.ca                       */
/*   Version: 5.5.0                                  */
/*   Date:   July 24, 2011                           */
/*****************************************************/

/*****************/
/*   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: helvetica,arial,verdana,sans-serif;
}

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

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

#rightcol {
        width: 35.7em;
	height: 20px;
        float: right; 
        position: relative;
	font-weight: bold;
	color:#494949;
        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;
}

a.breadcrumb:link {font-size: 11px;font-weight: bold;color: #494949;text-decoration:none;}
a.breadcrumb:visited {font-size: 11px;font-weight: bold;color: #494949;text-decoration:none;}
a.breadcrumb:hover {font-size: 11px;font-weight: bolder;color: #494949;text-decoration:underline;}
p.imgcap {font-size: 11px;font-weight: bold;color: #666666;text-align:center;}
p.imgcap2 {font-size: 12px;font-weight: bold;color: #666666;}
span.attprompt {font-size: 12px;font-weight: bold;color: #555555;}
a.imgcap:link {font-size: 11px;font-weight: bold;color: #666666;text-decoration:none;}
a.imgcap:visited {font-size: 11px;font-weight: bold;color: #666666;text-decoration:none;}
a.imgcap:hover {font-size: 11px;font-weight: bolder;color: #666666;text-decoration:underline;}
a.horzmenu:link {font-size: 16px;font-weight: bold;color: #666666;text-decoration:none;}
a.horzmenu:visited {font-size: 16px;font-weight: bold;color: #666666;text-decoration:none;}
a.horzmenu:hover {font-size: 16px;font-weight: bolder;color: #666666;text-decoration:underline;}

#attrProdTotal b {color:#e82126}

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

#header-background {
	width: 900px;
	height: 110px;
	float: left;
	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: bold;
	font-size: 1.0em;
	font-family: arial,helvetica,verdana,sans-serif;
	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: normal;
	font-size: 1.1em;
	font-family: arial,helvetica,verdana,sans-serif;
	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.0em;
	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(235,235,235);
	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);
}

#site-containerfb{
	width:500px;
	margin:0 auto;
	text-align:left;
	border-collapse:collapse;
}
	
/*************************/
/***   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);
}

.roundedcornr_box_616712 {
	background: url(/img/roundedcornr_616712_tl.png) no-repeat top left;
}
.roundedcornr_top_616712 {
	background: url(/img/roundedcornr_616712_tr.png) no-repeat top right;
}
.roundedcornr_bottom_616712 {
	background: url(/img/roundedcornr_616712_bl.png) no-repeat bottom left;
}
.roundedcornr_bottom_616712 div {
	background: url(/img/roundedcornr_616712_br.png) no-repeat bottom right;
}
.roundedcornr_content_616712 {
	background: url(/img/roundedcornr_616712_r.png) top right repeat-y;
}

.roundedcornr_top_616712 div,.roundedcornr_top_616712,
.roundedcornr_bottom_616712 div, .roundedcornr_bottom_616712 {
	width: 100%;
	height: 10px;
	font-size: 1px;
}
.roundedcornr_content_616712, .roundedcornr_bottom_616712 {
	margin-top: -19px;
}
.roundedcornr_content_616712 { padding: 0 10px; }

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

ul.tab-headers,
.tab-content {
    width: 670px;
}
ul.tab-headers { 
    height: 20px;      
    list-style-type: none;
    margin: 0 0 0 1;
    padding: 0;       
}
ul.tab-headers li {
    float: left;
    padding: 3px 10px 3px 10px;
    border: solid 1px rgb(201,218,194);
    border-bottom: solid 1px rgb(201,218,194)
    margin-left: 3px;
    cursor: pointer;
}
ul.tab-headers li.active {
    background-color: rgb(201,218,194);
    color: white;
}
.tab-content {
    margin: 0;
    padding: 0 5px 5px 5px;
    border: solid 2px rgb(201,218,194);
    visibility: hidden;
}

/* 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-white a{
	color:#494949;
	text-decoration:underline;
}

.middle-column-box-white a:hover{
	text-decoration:underline;
	font-weight: bold;
}

.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);	
}

.box {
border:1px solid #999;
background-color:#f6f6f6;
color:#000;
font-size: 11px;
}

/*******************/
/***   FOOTER    ***/
/*******************/
#footer {
	clear: both;
	float: left;
	width: 100%;
	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);
	border-left: solid 0.1em rgb(150,150,100);	
	border-right: solid 0.1em rgb(150,150,100);		
	background-color: #f6f6f6;
	text-align: left;
	color: #494949;
	font-size: 1.1em;
}

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

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

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

#lightbox{
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 600;
	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;
	}

.cssbutton {
	background-color:#6ebd44;
	-moz-border-radius:14px;
	-webkit-border-radius:14px;
	behavior: url(/css/border-radius.htc);
	border-radius:14px;
	border:1px solid #666666;
	display:inline-block;
	color:#ffffff;
	font-family:arial;
	font-size:16px;
	font-weight:bold;
	padding:3px 23px;
	text-decoration:none;
}.cssbutton:hover {
	background-color:#59bd38;
}.cssbutton:active {
	position:relative;
	top:1px;
}
