
/* ----------- MAIN STRUCTURE ----------- */

body { 
	background: url(/images/bgtile.jpg) #23152e repeat-x top; 
	font-family:'Segoe UI', Tahoma, Geneva, sans-serif; 
	color:#323232;
	}

#page_wrap { width:990px; margin:auto; position:relative; }
	


/* ----------- GENERAL ----------- */


button:hover { cursor:pointer; }

#main_content { background:url(/images/main_curve_top.png) no-repeat top; clear:both; padding-top:11px; width:990px;  margin-top:2px; margin-bottom:1px; position: }
#main_content_inner { background-color:#fff; padding:3px 14px; clear:both; }

#main_content_base { background:url(/images/main_curve_bottom.png) no-repeat bottom; min-height:10px; }


#main_col {
	width:627px;
	float:left;
	padding:10px 0 10px 10px;
	position:relative;
	margin-right:20px;
	}

#side_col {
	width:277px;
	float:right;
	padding:15px 28px 10px 0px;
	}

#primary_content { float:left; }
#primary_content_colored { 
	float:left; 
	background:url(/images/texturebg.png) no-repeat bottom #EFE5FE; 
	width:596px; 
	min-height:350px;
	padding:20px;
	position:relative;
	}

 
.side_img { float:right; /*min-height:400px;*/ }


/* ----------- TYPOGRAPHY ----------- */

p { font-size:12px; line-height:170%; margin-bottom:1em; }
p.top_para { border-top:1px solid #DCDCDC; padding-top:20px; margin-top:8px; }

.important { font-size:16px; color:#622b65; }

#main_content ul { margin-bottom:.9em ; margin-top:.8em; }
#main_content li { background:url(/images/bullet.png) no-repeat 0 6px; padding-left:20px; margin-top:0px; margin-bottom:10px; font-size:12px; line-height:170%; }

#main_content a { color:#3f7846; text-decoration:none; border-bottom:1px dotted #3f7846; padding-bottom:1px; }

h1 { font-size:21px; margin-bottom:.7em; color:#512961; }
h2 { font-size:17px; margin-bottom:.3em; color:#512961; }
h3 { font-size:18px; margin-bottom:.5em; color:#7c4f92; }
h3 { font-size:18px; margin-bottom:.5em; color:#7c4f92; }
h4 {  font-size:14px; margin-bottom:.3em; color:#512961; }
/* subtext */
h5 { font-size:10px; color:#b8aacc; line-height:130%; } 

td { font-size:12px; }

/* ------------ NAV ------------ */

#nav { clear:both; position:relative; background:url(/images/ul-rep.jpg) repeat-x bottom; }
img#nav_curve { position:absolute; right:-1px; top:24px; }
#nav li { float:left; line-height:normal; margin:0; height:63px; }
#nav a { display:block; text-indent:-9999px; height:63px; }
#nav a:hover  { background-position:0 -63px; height:63px; }
#nav li.active a, #nav li.active a:hover { background-position:0 -126px; }

#nav_home a { background-image:url(/images/nav-home.png); width:60px; }
#nav_collections a { background-image:url(/images/nav-collections.png); width:98px; }
#nav_whychoosesleepyhead a { background-image:url(/images/nav-whychoosesleepyhead.png); width:177px; }
#nav_findyourperfectbed a { background-image:url(/images/nav-findyourperfectbed.png); width:156px; }
#nav_ourstory a { background-image:url(/images/nav-our-story.png); width:94px; }
#nav_customercare a { background-image:url(/images/nav-customercare.png); width:116px; }
#nav_storefinder a { background-image:url(/images/nav-storefinder.png); width:101px; }
#nav_careers a { background-image:url(/images/nav-careers.png); width:72px; }

/* ------------ SUBNAV ------------ */

#subnav { position:relative; float:left; clear:both; z-index:2; width:990px; background:url(/images/subnav-bg.png) no-repeat right 5px; margin-top:-6px; margin-bottom:1px; }
#subnav li { float:left; line-height:normal; margin:0; }
#subnav a { display:block; float:left; text-indent:-9999px; height:44px; }
#subnav a:hover { background-position:0 -88px; }
#subnav li.active a { background-position:0 -220px; }

 /* Safari  and Chrome fix */
 @media screen and (-webkit-min-device-pixel-ratio:0)
 {  #subnav li { margin-top:0px;  }  }


li#intro { clear:both; }

#beds a { background-image:url(/images/secondary-nav-beds.png); width:51px; }
#pillows a { background-image:url(/images/secondary-nav-pillows.png); width:68px; }
#accessories a { background-image:url(/images/secondary-nav-accessories.png); width:90px; }
#whychoosewell a { background-image:url(/images/secondary-nav-why-choose-well.png); width:120px; }
#whatsinside a { background-image:url(/images/secondary-nav-whats-inside.png); width:96px; }
#thingstoconsider a { background-image:url(/images/secondary-nav-things-to-consider.png); width:127px; }
#yourstorevisit a { background-image:url(/images/secondary-nav-your-store-visit.png); width:110px; }
#faqs a  { background-image:url(/images/secondary-nav-faqs.png); width:52px; }
#commercial a  { background-image:url(/images/secondary-nav-commercial-beds.png); width:119px; }
#childrens a { background:url(/images/secondary-nav-kids-special.png); width:185px; }
#brand a { background:url(/images/secondary-nav-brand-story.png); width:95px; }
#history a { background:url(/images/secondary-nav-sleepyheads-history.png); width:137px; }


/* ------------ HEADER ------------ */

#header { width:990px; position:relative; height:127px;   }
h2#logo { background:url(/images/sleepyhead-logo.png) no-repeat; width:187px; height:65px; float:left; margin:0; }
h2#logo a { display:block; text-indent:-9999px; width:187px; height:65px; }

p#slogan { 
	background:url(/images/let-the-journey-begin.png) no-repeat; 
	width:236px; 
	height:65px; 
	text-indent:-9999px;
	float:right;
	margin:0;
	margin-right:5px;
	}

form#search_form { 
	/*background:url(/images/menu-right-bg.png) no-repeat right bottom; */
	width:196px; 
	position:absolute; 
	right:0; 
	top:4px;
	height:63px;
	}
#search { 
	float:left;
	background:url(/images/search-form-bg.png) no-repeat; 
	width:104px; 
	height:22px; 
	border:none; 
	margin:30px -10px 0 29px;
	color:#fff;
	padding:5px 0 0 3px;
	}
#btn_search { 
	background:url(/images/btn-search.png) no-repeat; 
	width:65px; 
	height:27px; 
	padding-top:10px; 
	float:left;
	border:none; 
	text-indent:-9999px; 
	margin:30px 5px 0 0;
	}

/* rounded corners inserted with jquery */
#curv_tl { position:absolute; top:0; left:0; }
#curv_tr { position:absolute; top:0; right:0; } 

	

/* ----------- HOME ----------- */

#main_content.home { padding-top:0; position:relative; background:none; margin-top:1px; }
/* webkit browsers */
 @media screen and (-webkit-min-device-pixel-ratio:0)  
 {
#main_content.home { margin-bottom:2px; }
 }


#home_flash { width:990px; height:444px; z-index:1; position:relative; margin-top:1px; }

#story_launch { 
	position:absolute; 
	left:246px; 
	top:115px; 
	width:85px; 
	height:20px; 
	z-index:500;		
	opacity:0;
	background-color:#fff;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);	
 	}
	#story_launch a { 
		display:block; 
		width:85px; 
		height:20px; 
		border:none;
		text-decoration:none; 
	}
		
#trans { 
	background:url(/images/trans.png);
	width:85px; 
	height:20px; 
	display:block;
	}


		


/* ----------- BED SELECTOR ----------- */

#pageoptions { position:absolute; top:-5px; right:0px; width:116px; }
#pageoptions li { padding:0; }
#pageoptions li { padding:0; background-position:0 -18px; }

#pageoptions #btn_email { background:url(/images/btn-email.png) no-repeat; width:57px; height:18px; text-indent:-9999px; display:block; float:right}
#pageoptions #btn_email:hover { background:url(/images/btn-email.png) no-repeat 0 -18px; }

#pageoptions #btn_print { background:url(/images/btn-print.png) no-repeat; width:57px; height:18px; text-indent:-9999px; display:block; float:left;}
#pageoptions #btn_print:hover { background:url(/images/btn-print.png) no-repeat 0 -18px; }

#googlemaps { margin-bottom:15px; }
#contact_list li { background-image:none; padding:0; margin-bottom:12px; } 
#contact_list li a { text-decoration:none; border:none; padding:0; }

#googlemaps + h3 { margin-bottom:-7px;  }



/* ----------- FIND YOUR PERFECT BED ----------- */

#main_content #perfect_bed_prod_list { margin-top:18px; margin-bottom:0; margin-left:18px; }
#main_content #perfect_bed_prod_list li { background:none; padding:0px; padding-bottom:22px; border-bottom:1px dotted #BEB1CF; position:relative; margin-bottom:11px; min-height:106px;  }

#perfect_bed_prod_list { width:600px; }

.perfect_bed_prod_img { float:left; position:absolute; left:0px; top:0; }
.perfect_bed_prod_content { margin-left:180px; }
.perfect_bed_prod_content h2 { font-size:15px; margin-top:0; margin-bottom:0; }
.perfect_bed_prod_content p { color:#383838; }

#vid_content { padding:0 20px 10px 30px; }
#vid_content h4 { font-size:14px; color:#22152d; line-height:150%; }

#main_content #video_list li { background:none; padding:0; margin-bottom:15px; line-height:165%; }
#main_content .vid_launch { background:url(/images/video-play.png) no-repeat 0 3px; padding-left:15px; color:#871647; border-bottom:1px solid #871647; }

#comfort_layer { margin-left:150px; }
#comfort_layer li { float:left; background:none; padding:0; margin-bottom:15px;}
#comfort_layer li a { background:url(/images/lightbox-icon.png) no-repeat; padding:0; padding-left:33px; color:#622b65; display:block; height:25px; width:105px; border:none;   }

.comfort_layers img { float:left; }


/* ----------- BASE FEATURES ----------- */

#base { position:relative; clear:both; margin-top:0px; height:189px; }
#base_menu_wrap { background:url(/images/bottom-panel-right.png) no-repeat; width:329px; height:189px; float:right; }
#base_menu_wrap1 { width:325px; height:189px; float:right; position:absolute; top:530px; left:648px; display:none; }

#base_promo_1 { float:left; position:relative; z-index:1; }
#base_promo_1  { background:url(/images/left-banner.jpg) no-repeat; width:330px; height:189px; display:block; text-indent:-9999px; }
#base_promo_1:hover { background:url(/images/left-banner.jpg) no-repeat 0 -189px; cursor:pointer; }


#flash_bedfinder { /*position:absolute; left:0; top:0;*/ float:left; }
#flash_news { /*position:absolute; left:330px; top:0;*/ float:left; }

#base_menu_wrap ul { margin:13px 0 0 13px; }
#base_menu_wrap1 ul { margin:13px 0 0 13px; }

#base_menu_wrap a { width:304px; height:53px; margin: 0 0 1px 0; display:block; text-indent:-9999px; background-repeat:no-repeat; }
#base_menu_wrap1 a { width:317px; height:55px; margin: 0 0 1px 0; display:block; text-indent:-9999px; background-repeat:no-repeat; }
#base_menu_wrap a:hover { background-position:0 -53px; }
#base_menu_wrap1 a:hover { background-position:0 -55px; }

#bm_store a { background-image:url(/images/btn-find-your-career.png);  }
#bm_store1 a { background-image:url(/images/btn-job.png);  }

#bm_news a { background-image:url(/images/btn-latest-news.png); height:55px; }
#bm_news a:hover {  background-position:0 -55px; }

#bm_quality a { background-image:url(/images/btn-quality-guarantee.png); }

/*#view_tv { display:block; background:url(/images/btn-viewTVC.png) no-repeat; width:126px; height:19px; position:absolute; top:158px; left:12px; z-index:200; text-indent:-9999px; }*/
#view_tv { display:none; background:url(/images/btn-tvc-banner2.png) no-repeat; width:126px; height:19px; position:absolute; top:13px; left:12px; z-index:200; text-indent:-9999px; }
#view_tv:hover { display:block; background:url(/images/btn-tvc-banner2.png) no-repeat 0 -19px; }

#storenav a { width:304px; height:53px; margin: 0 0px 0 0px; display: block; text-indent:-9999px; background-repeat:no-repeat; }
#storenav ul {margin:0px;padding:0px; }
#storenav li {display:inline; margin:0px 0px 0px 0px; float:left;}
#storenav a:hover { background-position:0 -53px; }

#store_farmers a { background-image:url(/images/btn-store-farmers.png); width:107px; height:53px;  margin: 0 0px 0 13px; }
#store_bedsrus a { background-image:url(/images/btn-store-bedsrus.png); width:92px; height:53px; }
#store_smithcity a { background-image:url(/images/btn-store-smithcity.png); width:105px; height:53px; }



/* ----------- COLLECTIONS ----------- */


#collection_content { background-color:#EFE5FE; padding:20px; padding-top:12px; margin:-17px 0 0 -24px; min-height:332px; width:500px; }

#collection_nav { 
	background:url(/images/collection_nav_bg.jpg) repeat-x; 
	overflow:hidden;
	margin:15px 0 15px -19px;
	/*margin:15px 0 15px 0px;*/
	/*width:527px;*/
	width:531px;
	padding-left:8px;
	}

#main_content #collection_nav li { 
	float:left;
	background:url(/images/menu-divider.jpg) no-repeat right 3px;
	padding:0 15px 0 7px;
	margin-right:4px;
	margin-top:5px;
	margin-bottom:0;
	}

.collection_img { width:411px; height:342px; position:absolute; left:0; top:0; }

div.collection_intro p { font-size:15px; color:#512861; line-height:160%; }
div.collection_intro strong { font-weight:normal; }


#main_content #collection_nav li a { border:none; color:#22152d; height:30px; display:block; padding-top:10px; } 

#main_content #collection_nav li.active { padding-right:0; background:url(/images/collection_nav_left.png) no-repeat top left; padding-left:8px; }
#main_content #collection_nav li.active a { background:url(/images/collection_nav_right.png) no-repeat top right; padding-right:11px; color:#871647; }

.collection_types { 
	margin:0px 0 0 0px; 
	padding:17px 28px 0px 446px;
    /*padding:17px 28px 111px 446px;*/
	position:relative;
	background:url(/images/collections-content-bg.png) no-repeat 427px 0;
	min-height:350px; 
	height:auto; 
	background:none;
	}

#serenity_content {	background:url(/images/serenity-bg.jpg) no-repeat; }

#main_content .content_switcher { color:#323232; margin-top:20px; display:none; position:relative; }
#main_content .content_switcher li { margin-bottom:2px; line-height:170%!important; margin-top:0; }

#main_content .content_switcher td { padding:10px 0; }


#collection_nav li.lastitem { background-image:none!important; }
.last_collection_item { background-image:none!important; }
.last_collection_item.active { background:url(/images/collection_nav_left.png) no-repeat top left!important; padding-left:8px; }

#select_wrap { position:absolute; left:0; top:0; background:url(../images/select-bg.png) no-repeat; width:409px; height:41px; margin-bottom:1px; }
#collections_selector { width:328px; float:left; margin:10px 10px 0 10px; height:21px;  }
  
#select_wrap #selector_prev { background:url(/images/selector-prev.png) no-repeat; width:20px; height:21px; display:block; text-indent:-9999px; float:left; margin:10px 0 0 10px; border:none; }
#select_wrap #selector_next { background:url(/images/selector-next.png) no-repeat; width:20px; height:21px; display:block; text-indent:-9999px; float:left; margin:10px 0 0 0px; border:none;  }


/* no image on menu item precedign active state */
#collection_nav li.no_divider { background-image:none!important; }

table.collections_table { margin-top:12px; width:100%; }
#collections_col_2 { width:264px; }
table.collections_table td.th { border:none; padding:0; padding-bottom:3px; }
table.collections_table th { padding-bottom:5px; }
table.collections_table td { border-top:1px dotted #BCB1D1; padding-top:12px; padding-bottom:13px; vertical-align:top;  }
table.collections_table td h3 { margin-bottom:0; font-size:15px;  }
#main_content .collections_table li { background:none; padding:0; margin-bottom:10px; }
#main_content .collections_table li,  #main_content .collections_table li { max-width:640px; }

.collections_product .prod_info { background:url(/images/findoutmore-bg.png) no-repeat; width:230px; height:22px; margin-left:10px; padding:7px 12px; margin-top:-1px; }
.collections_product h3 { font-size:15px; margin-bottom:0px;  color:#330033; margin-left:9px; text-transform:uppercase; }
.collections_product .prod_info .price { color:#330033; float:left; font-size:14px; }
.collections_product .prod_info .find_out { float:right; font-size:11px; }
#main_content .collections_product .prod_info .find_out a { color:#fff; border:none; }



/* new */

#main_content ul#beds_list { margin:0; margin-top:0px; }
ul#beds_list li { padding:0; background:none; margin-bottom:16px; height:204px; }

.beds_img { width:254px; height:204px; float:left; }
.beds_content { width:388px; height:204px; background:url(/images/range-bg-rollover.png) no-repeat; margin-left:255px; position:relative; }
.beds_content:hover { width:388px; height:204px; background:url(/images/range-bg-rollover.png) no-repeat 0 -204px; cursor:pointer; }
.beds_description { position:absolute; top:16px; left:19px; }
.beds_price { position:absolute; top:5px; right:18px; color:#fff; font-size:11px; }
.find_out { position:absolute; bottom:1px; right:12px; }
#main_content .find_out a { background:url(/images/find_out_more.png) no-repeat; display:block; text-indent:-9999px; width:97px; height:17px; padding:0; border:none; }
#main_content a.thumb_link { border:none; padding:0; }

/* end new */




/* ----------- FORMS ----------- */

input, select, teaxtarea { font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#090909; }


.contact_form { width:565px; margin-bottom:40px; clear:left; }

select#title { }

input.general_input.general_input_short { background:url(../images/input-bg-short.png) no-repeat; width:177px; height:21px; }

.contact_form label { display:block; color:#414141; font-size:11px; padding-bottom:8px; }

input.general_input {  background:url(../images/input-bg.png) no-repeat; padding:3px; width:259px; height:21px; border:none; border:0;  }

.form_row { margin-right:22px; width:265px; margin-bottom:12px; float:left; }
.form_row_short { width:183px; }
.form_row.last { margin-right:0px; }
.form_row.select_wrap { width:60px; } 

.contact_form .btn_wrap { clear:both; margin-top:20px; margin-left:287px; }

select.select_wide { width:259px; }

.contact_form textarea { width:259px; border:0; border:none; background:url(/images/textarea-bg.png) no-repeat; font-family:Arial, Helvetica, sans-serif; font-size:12px; height:104px; padding:3px; }

.contact_form button { background:url(../images/btn_bg.png) no-repeat; width:100px; height:27px; border:none; border:0; color:#fff;  }

.contact_form label.error { position:absolute; color:red; margin-top:-1px; margin-left:0px; }


/* ----------- CONTACT ----------- */

#physical_address { width:268px; float:left; margin-right:20px; margin-bottom:22px; }


/* ----------- SEARCH ----------- */

#search_res li { list-style-type:decimal; margin-left:20px; background:none; padding:0; }


/* ----------- FOOTER ----------- */

#footer { clear:both; padding:20px 10px 30px 20px;  }

#footer li {  float:left;  margin-right:6px; font-size:10px; color:#372742; }
#footer li { color:#897baa; }
#footer li a { text-decoration:none; color:#FFF; padding-right:5px; color:#fff; }
#footer li a:hover { color:#e7e7e7; }

#footer_list_1 { float:left; }
#footer_list_2 { float:right; }






/* ----------- TOOLS ----------- */

.float_L { float:left; }
.float_R { float:right; }
.clear { clear:both; }

.clearfix {
	zoom: 1; /* for IE7 */
}
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
* html>body .clearfix {
	display: inline-block;
	width: 100%;
}
* html .clearfix {
	/* Hides from IE-mac /*/
	height: 1%;/* End hide from IE-mac */
	}

/* STORES */

#store_info_wrap { border-top:1px dotted #CFB7CA; padding-top:15px; }

#store_info_col_1 { width:354px; float:left; }
#store_info_col_2 { width:354px; float:right; }

#store_imgs, #google_map { margin-bottom:15px; }

#address_holder { margin-bottom:20px; }
#address_holder address { font-size:12px; margin-bottom:.5em; } 
#address_holder span { color:#FF9306; }

.store_teaser { background:url(../images/colored_feature.png) no-repeat top; padding-top:23px; }
.store_teaser_base { background:url(../images/colored_feature_base.png) no-repeat bottom; height:20px; }

.store_teaser h2, .store_teaser p { margin:10px 30px; }
#store_info_wrap .store_teaser h2{ margin-top:0px; margin-bottom:0; max-width:290px; }


#main_content #storeslist { width:642px; margin:0; }

#storeslist.js div { display:none; }

#main_content #storeslist li {
	margin:0;
	margin-bottom:1px;
	list-style-type:none;
	padding:0;
	background-image:none;
	line-height:normal;
	}

#main_content #storeslist li:hover {
	cursor:pointer;
	}

#storeslist li p.principal_link {
	color:#EFE8FD;
	text-decoration:none;
	background:url(/images/stores_bgrnd.png) no-repeat 0 0px;
	display:block;
	height:25px;
	padding:5px 0 0 30px;
	margin-bottom:0!important;
	font-size:13px;
	}

#storeslist li p.principal_link:hover {
	background:url(/images/stores_bgrnd.png) no-repeat 0 -30px;
	}

#storeslist li p.principal_link.active {
	background:url(/images/stores_bgrnd.png) no-repeat 0 -60px;
	color:#fff;
	}

#storeslist div {
	background:url(/images/stores_white_bg.png) #F0E5FF no-repeat bottom;
	margin:0;
	width:642px;
	padding-bottom:8px;
	}

dl.store {
	margin:0px;
	margin-left:15px;
	padding-top:15px;
	padding-bottom:8px;
	width:609px;
	position:relative;
	overflow:hidden;
	border-bottom:1px dotted #7C7193;
	}

dl.store:hover { cursor:pointer; }

dl.store:last-child { border-bottom:none; }

.show { display:block!important; }

dl.store dt { margin:0; padding-bottom:5px; } 

dt.store_title {
	color:#871647;
	font-size:14px;
	}

dd.store_address { margin-top:7px;   }
dd.store_contact_info { }
	dd.store_contact_info span { color:#871647; }
	dd.store_contact_info a { color:#b95aa6; }

dd.store_contact_info li { display:inline; margin-right:10px;  }

.googlemaps {
	position:absolute;
	top:15px;
	right:0px;
	width:89px;
	height:17px;
	}

#main_content .googlemaps a { background:url(/images/btn-googlemaps.png) no-repeat; height:17px; display:block; text-indent:-9999px; padding:0; border:none; }
#main_content .googlemaps a:hover { background:url(/images/btn-googlemaps.png) no-repeat 0 -17px; }


/*****************************************************************************
scalable Inman Flash Replacement (sIFR) version 3.

Copyright 2006 – 2008 Mark Wubben, <http://novemberborn.net/>

Older versions:
* IFR by Shaun Inman
* sIFR 1.0 by Mike Davidson, Shaun Inman and Tomas Jogin
* sIFR 2.0 by Mike Davidson, Shaun Inman, Tomas Jogin and Mark Wubben

See also <http://novemberborn.net/sifr3> and <http://wiki.novemberborn.net/sifr3>.

This software is licensed and provided under the CC-GNU LGPL.
See <http://creativecommons.org/licenses/LGPL/2.1/>
*****************************************************************************/

@media screen {
  .sIFR-flash {
    visibility: visible !important;
    margin: 0;
    padding: 0;
  }
  
  .sIFR-replaced, .sIFR-ignore {
    visibility: visible !important;
  }
  
  .sIFR-alternate {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    display: block;
    overflow: hidden;
  }
  
  .sIFR-replaced div.sIFR-fixfocus {
    margin: 0pt; 
    padding: 0pt; 
    overflow: auto; 
    letter-spacing: 0px; 
    float: none;
  }
}

@media print {
  .sIFR-flash {
    display    : none !important;
    height     : 0;
    width      : 0;
    position   : absolute;
    overflow   : hidden;
  }
  
  .sIFR-alternate {
    visibility : visible !important;
    display    : block   !important;
    position   : static  !important;
    left       : auto    !important;
    top        : auto    !important;
    width      : auto    !important;
    height     : auto    !important;
  }
}

/*
Place CSS rules for to-be-replaced elements here. Prefix by .sIFR-active
so they only apply if sIFR is active. Make sure to limit the CSS to the screen
media type, in order not to have the printed text come out weird.
*/
@media screen {
    .sIFR-active h1 {
    visibility: hidden;
	margin-bottom:15px;
	letter-spacing:1px;
	margin-top:0;
    }
	.sIFR-active #main_content h2 {
    visibility: hidden;
	letter-spacing:2px;

    }
	.sIFR-active #main_content h3 {
    visibility: hidden;
	letter-spacing:2px;

    }

}

