/** App Layouts
----------------------------------------------------------------------*/

body {
  line-height: 1.538;
}

#wrapper,
#header .wrapper,
#footer .wrapper {
  width: 960px;
  margin: 0 auto;
  text-align: left;
}

#wrapper,
#header .wrapper {
  background: transparent url('/images/bg_content.gif') repeat-y center top;
}

/*** Header
-------------------------------------------------------*/

#header .wrapper {
  height: 66px;
}

#home_link {
  float: left;
  margin: 20px 0 0 30px;
  line-height: 1px;
}

#home_link a {
  display: block;
  float: left;
  text-indent: -5000em;
}

/**** Global Nav
----------------------------------------------------------------*/

#global_nav {
  float: right;
  height: 66px;
  margin-right: 23px;
}

#global_nav li.tab {
  position: relative;
  float: left;
  height: 66px;
}

#global_nav li span.tab,
#global_nav li a.tab {
  display: block;
  float: left;
  height: 66px;
  text-indent: -5000em;
}

#global_nav div {
  position: absolute;
  left: 5px;
  top: 50px;
  width: 154px;
  padding-top: 10px;
  background: transparent url('/images/bg_gnav_pulldown_top.png') no-repeat left top;
  z-index: 2000;
}

#global_nav ol {
  width: 134px;
  padding: 0 10px 15px;
  background: transparent url('/images/bg_gnav_pulldown.png') left bottom;
}

#global_nav div li a {
  display: block;
  font-size: 93%;
  color: #666666;
}

#global_nav #collections_tab span.tab,
#global_nav #collections_tab a.tab    { width: 111px; background-position:   -5px 0px; }
#global_nav #products_tab span.tab,
#global_nav #products_tab a.tab       { width: 98px;  background-position: -137px 0px; }
#global_nav #safety_tab span.tab,
#global_nav #safety_tab a.tab         { width: 95px;  background-position: -253px 0px; }
#global_nav #customer_care_tab span.tab,
#global_nav #customer_care_tab a.tab  { width: 133px; background-position: -363px 0px; }
#global_nav #sign_in_tab span.tab,
#global_nav #sign_in_tab a.tab        { width: 142px; background-position: -510px 0px; }
#global_nav #sign_out_tab span.tab,
#global_nav #sign_out_tab a.tab       { width: 87px;  background-position: -669px 0px; }

#global_nav #collections_tab a.tab:hover,   #global_nav #collections_tab.active a.tab    { background-position:   -5px -75px ;}
#global_nav #products_tab a.tab:hover,      #global_nav #products_tab.active a.tab       { background-position: -137px -75px ;}
#global_nav #safety_tab a.tab:hover,        #global_nav #safety_tab.active a.tab         { background-position: -253px -75px ;}
#global_nav #customer_care_tab a.tab:hover, #global_nav #customer_care_tab.active a.tab  { background-position: -363px -75px ;}
#global_nav #sign_in_tab a.tab:hover,       #global_nav #sign_in_tab.active a.tab        { background-position: -510px -75px ;}
#global_nav #sign_out_tab a.tab:hover,      #global_nav #sign_out_tab.active a.tab       { background-position: -669px -75px ;}

/**** Global Nav1
----------------------------------------------------------------*/

#global1_nav {
  float: right;
  height: 66px;
  margin-right: 23px;
}

#global1_nav li.tab {
  position: relative;
  float: left;
  height: 66px;
}

#global1_nav li span.tab,
#global1_nav li a.tab {
  display: block;
  float: left;
  height: 66px;
  text-indent: -4000em;
}

#global1_nav div {
  position: absolute;
  left: 5px;
  top: 50px;
  width: 154px;
  padding-top: 10px;
  background: transparent url('/images/bg_gnav_pulldown_top.png') no-repeat left top;
  z-index: 2000;
}

#global1_nav ol {
  width: 134px;
  padding: 0 10px 10px;
  background: transparent url('/images/bg_gnav_pulldown.png') left bottom;
}

#global1_nav div li a {
  display: block;
  font-size: 93%;
  color: #666666;
}

#global1_nav #collections_tab span.tab,
#global1_nav #collections_tab a.tab    { width: 112px; background-position:   -24px 0px; }
#global1_nav #products_tab span.tab,
#global1_nav #products_tab a.tab       { width: 98px;  background-position: -141px 0px; }
#global1_nav #safety_tab span.tab,
#global1_nav #safety_tab a.tab         { width: 93px;  background-position: -243px 0px; }
#global1_nav #customer_care_tab span.tab,
#global1_nav #customer_care_tab a.tab  { width: 132px; background-position: -340px 0px; }
#global1_nav #blog_tab span.tab,
#global1_nav #blog_tab a.tab        { width: 55px; background-position: -473px 0px; }
#global1_nav #sign_in_tab span.tab,
#global1_nav #sign_in_tab a.tab        { width: 132px; background-position: -531px 0px; }
#global1_nav #sign_out_tab span.tab,
#global1_nav #sign_out_tab a.tab       { width: 82px;  background-position: -672px 0px; }

#global1_nav #collections_tab a.tab:hover,   #global1_nav #collections_tab.active a.tab    { background-position:   -24px -75px ;}
#global1_nav #products_tab a.tab:hover,      #global1_nav #products_tab.active a.tab       { background-position: -141px -75px ;}
#global1_nav #safety_tab a.tab:hover,        #global1_nav #safety_tab.active a.tab         { background-position: -243px -75px ;}
#global1_nav #customer_care_tab a.tab:hover, #global1_nav #customer_care_tab.active a.tab  { background-position: -340px -75px ;}
#global1_nav #blog_tab a.tab:hover,           #global_nav #blog_tab.active a.tab         { background-position: -473px -75px ;}
#global1_nav #sign_in_tab a.tab:hover,       #global1_nav #sign_in_tab.active a.tab        { background-position: -531px -75px ;}
#global1_nav #sign_out_tab a.tab:hover,      #global1_nav #sign_out_tab.active a.tab       { background-position: -672px -75px ;}

/*** page structures
------------------------------------------------------------*/

#content_wrap {
  position: relative;
  float: left;
  width: 930px;
  margin: 14px 0 50px;
  padding: 0 15px;
  
  /* min-height hack */
  min-height: 450px;
  height: auto !important;
  height: 450px;
}

#content_wrap.aux {
  position: relative;
  width: 694px;
  padding-left: 251px;
  padding-right: 15px;
}

#sidebar {
  position: relative;
  float: left;
  right: 266px;
  width: 222px;
  margin-left: -100%;
  padding: 0 14px 0 15px;
}

#content_wrap.aux #page_content {
  padding-right: 15px;
}

#page_content {
  float: left;
  width: 100%;
}

#static #content_wrap.aux {
  width: 645px;
  padding-left: 300px;
}

#static #sidebar {
  right: 315px;
  width: 170px;
  padding: 0 115px 0 15px;
}

.row            { clear: both; }

.double { width: 458px; } /* 222 + 14 + 222 */

/*** Footer
----------------------------------------------------------------------*/

#footer {
  clear: both;
  margin-bottom: 100px;
}

#footer .wrapper {
  position: relative;
  width: 930px;
  padding: 0 15px 45px;
}

#footer a {
  color: #666;
}

#footer .breadcrumb {
  margin-bottom: 15px;
  font-weight: bold;
}

.breadcrumb li {
  display: inline;
}

#cart_link {
  display: block;
  position: absolute;
  right: 15px;
  top: 0;
  padding-right: 22px;
  background: transparent url('/images/icon_cart_fpo.gif') no-repeat right 3px;
}

#footer_nav {
  padding-top: 15px;
  border-top: 1px solid #aaa;
}

#footer_nav dl {
  float: left;
  width: 180px;
}

#footer_nav dt {
  font-weight: bold;
  margin-bottom: .4em;
}
#footer1_nav {
  padding-top: 15px;
  border-top: 1px solid #aaa;
}

#footer1_nav dl {
  float: left;
  width: 180px;
}

#footer1_nav dt {
  font-weight: bold;
  margin-bottom: .4em;
}
#search_form {
  float: left;
}

#search_container,
#search_container span {
  display: block;
  height: 24px;
  background-image: url('/images/bg_search_box.png');
}

#search_container {
  padding-right: 20px;
  background-position: right top;
}

#search_container span {
  padding-left: 1px;
  background-position: left top;
  background-color: #fff;
}

#search_form input {
  height: 20px;
  padding-left: 3px;
  padding-top: 4px;
  border: 0;
  background-color: transparent;
  color: #666666;
}

#search_form input.instructions {
  color: #bbbbbb;
}

#learn_more {
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  padding-left: 50px;
  background-repeat: no-repeat;
  color: #fff;
  background-position: left 2px;
  font-size: 93%;
}

#learn_more a {
  color: #fff;
  text-decoration: underline;
}

#learn_more a:hover {
  text-decoration: none;
}

#copyright {
  position: absolute;
  right: 0;
  bottom: 0;
  color: #fff;
}

#copyright a {
  color: #fff;
}

/** Shared
----------------------------------------------------------------------*/

h1 {
  font-size: 230.8%;
  font-weight: normal;
}

h2 {
  font-size: 153.9%;
  font-weight: normal;
}

.grey_bn,
.grey_bn span {
  display: block;
  float: left;
  background-color: #fff;
  background-image: url('/images/bn_bg.gif');
}

.grey_bn {
  height: 31px;
  margin-right: 5px;
  padding-left: 10px;
  background-position: left top;
}

.grey_bn span {
  height: 26px;
  padding: 5px 10px 0 0;
  background-position: right top;
}

.grey_bn:hover { background-position: left bottom; }
.grey_bn:hover span { background-position: right bottom;}

/*** Modal styling
----------------------------------------------------------------------*/

#nyroModalContent {
  text-align: left;
}

#nyroModalContent #solo_form {
  margin: 0 130px;
  width: 300px;
}

/** Individual Pages
----------------------------------------------------------------------*/

/*** Home Page
----------------------------------------------------------------------*/

#home #content_wrap {
  margin-bottom: 13px;
}

#home #page_content #staging_area {
  position: relative;
  float: left;
  width: 694px;
  height: 480px;
}

#home #page_content .feature {
  position: absolute;
  top: 0;
  height: 480px;
}

#home #page_content #buttons {
  float: right;
}

#home #page_content #buttons li {
  margin-bottom: 4px;
}

#home #page_content #buttons li.last {
  margin-bottom: 0;
}

#home #page_content #buttons a {
  display: block;
  width: 222px;
  height: 117px;
  background-position: left top;
  text-indent: -9999em;
}

#home #page_content #buttons li.active a,
#home #page_content #buttons a:hover {
  background-position: left bottom;
}

#home #page_content #footer_bar {
  clear: both;
}

#home #page_content #footer_bar li.column {
  display: block;
  float: left;
  margin-left: 14px;
  margin-right: 14px;
  width: 204px;
}

#home #page_content #footer_bar li.double {
  width: 436px;
}

#home #page_content #footer_bar .footer {
  clear: both;
  height: 14px;
  background-position: left bottom;
}


/*** collection and product index pages
----------------------------------------------------------------------*/

.listing {
  float: left;
  width: 222px;
  margin: 20px 14px 20px 0;
}

.listing.last {
  margin-right: 0;
}

.listing_image {
  position: relative;
  height: 153px;
  margin-bottom: 15px;
}

.listing_image img {
  position: absolute;
  left: 0;
  bottom: 0;
}

.listing_title a {
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: underline;
  color: #333;
}

.listing_title a:hover {
  text-decoration: none;
}

.listing_availability {
  text-transform: uppercase;
  font-size: 85%;
  color: #666;
}

/*** Collection & Product Show Pages
----------------------------------------------------------------------*/

#collections .right_sidebar,
#products .right_sidebar {
  float: right;
  width: 222px;
}

#collections h1,
#collections h4,
#products h1,
#products h4 {
  clear: left;
  margin-top: 10px;
  margin-bottom: .4em;
  padding-top: 6px;
}

#collections h1,
#products h1 {
  color: #41457b;
  font-size: 100%;
  font-weight: bold;
  margin-top: 0;
  padding-top: 0;
}

#collections h4,
#products h4 {
  border-top: 1px solid #d6d6d6;
}

#collections h4.borderless,
#products h4.borderless {
  border-top: none;
}

#collections .page_bottom,
#products    .page_bottom {
  line-height: 1.385;
}

#collections .page_bottom li,
#products    .page_bottom li {
  margin-bottom: 0;
}

#collections .actions,
#products    .actions {
  font-size: 93%;
}

#collections .available_finishes li,
#products    .available_finishes li {
  float: left;
  width: 60px;
  margin: 0 21px 3px 0;
  text-align: center;
  color: #888;
}

#collections .available_finishes li.last,
#products    .available_finishes li.last {
  margin-right: 0;
}

#collections .available_finishes li .finish_img,
#products    .available_finishes li .finish_img {
  display: block;
  width: 60px;
  height: 60px;
  border: 0px solid;
  -moz-border-radius: 30px;
  -webkit-border-radius: 30px;
}

#collections .available_finishes li a,
#products    .available_finishes li a {
  color: #424242;
}

#collections .available_finishes li.active a,
#products    .available_finishes li.active a,
#collections .available_finishes li a:hover,
#products    .available_finishes li a:hover {
  color: #00954E;
  text-decoration: none;
}

#collections .available_finishes li.active a,
#products    .available_finishes li.active a {
  cursor: default;
}

#collections .product_thumbs,
#products .product_thumbs {
  float: left;
}

#collections .product_thumbs li,
#products .product_thumbs li {
  float: left;
  width: 100px;
  margin: 0 19px 14px 0;
}

#collections .product_thumbs li.last,
#products .product_thumbs li.last {
  margin-right: 0px;
}

#collections .product_thumbs li img,
#products .product_thumbs li img {
  display: block;
  text-decoration: none;
  border: none;
}

#collections .product_thumbs a,
#products .product_thumbs a {
  color: #424242;
}

#collections .product_thumbs a:hover,
#products .product_thumbs a:hover {
  color: #00954E;
  text-decoration: none;
}

#collections .features .tpoint,
#products .features .tpoint {
  float: left;
  margin: 0 14px 14px 0;
}

#collections #inner_modal_content .wrap,
#products #inner_modal_content .wrap {
  padding: 20px;
}

/**** collection specific
----------------------------------------------------------------------*/

#collections .triple {
  float: left;
  width: 694px;
}

#collections .actions li {
  display: block;
  float: left;
  margin-right: 20px;
}

#collections .top_half {
  min-height: 240px;
}

#collections #overview {
  font-size: 93%;
}

#collections .set_of {
  font-weight: bold;
  margin-top: .3em;
}

#collections .page_bottom {
  clear: both;
}

#collections .left_col {
  float: left;
}

#collections .right_col {
  float: right;
}

#collections #mattress_care {
  clear: left;
}

/**** product specific
----------------------------------------------------------------------*/

#products .center_column {
  float: left;
}

#products .actions {
  border-top: 1px solid #d6d6d6;
  margin-top: 5px;
  padding-top: 10px;
}

#products .actions ul {
  float: left;
  width: 106px;
  margin-right: 5px;
}

#products .additional_images li,
#products .additional_images li a {
  display: block;
  width: 66px;
  height: 60px;
  background-position: center center;
  background-repeat: no-repeat;
}

#products .additional_images li {
  position: relative;
  float: left;
  margin-right: 12px;
  margin-bottom: 6px;
}

#products .additional_images li.last {
  margin-right: 0;
}

#products .additional_images li a {
  border-bottom: 1px solid #fff;
}

#products .additional_images li.active a,
#products .additional_images li a:hover {
  border-color: #d6d6d6;
}

#products .additional_images li.active .alpha_screen,
#products .additional_images a:hover .alpha_screen {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 66px;
  height: 60px;
  background-color: #e3dcd7;
  z-index: 10;
  opacity: 0.35;
  filter: alpha(opacity=35);
}

/**** Sidebar
----------------------------------------------------------------------*/

#sidebar {
  padding-top: 14px;
}

#sidebar .tab {
  display: block;
  margin-bottom: 30px;
}

#sidebar .tab:hover {
  color: #00954E;
  text-decoration: none;
}

#sidebar .side_main_link {
  color: #333333;
  text-transform: uppercase;
  font-weight: bold;
}

#sidebar .side_main_link.active,
#sidebar .side_main_link.active:hover {
  color: #40B17B;
  text-decoration: none;
  cursor: default;
}

#sidebar dt,
#sidebar dd {
  margin-left: 1em;
  text-indent: -1em;
}

#sidebar dt a {
  font-weight: bold;
  color: #666666;
}

#sidebar dt a:hover {
  color: #00954E;
  text-decoration: none;
}

#sidebar .expanded {
  border-bottom: 1px solid #cccccc;
}

#sidebar dd a {
  margin-left: .5em;
  color: #666666;
}

#sidebar dd a:hover,
#sidebar dd.active a {
  color: #40b17b;
}

#retailers #sidebar,
#retailer_documents #sidebar,
#stores #sidebar {
  padding-top: 48px;
}

#stores.where_to_buy #sidebar {
  padding-top: 20px;
}

/*** search results
----------------------------------------------------------------------*/

.search_page #page_content {
  padding: 0 90px;
  width: auto;
}

.search_page h2 {
  clear: both;
  border-bottom: 1px solid #c8c8c8;
}

/*** user show page
----------------------------------------------------------------------*/

#users .account_info dt {
  float: left;
  clear: left;
}

#users .account_info dd {
  text-indent: 5px;
}

#users .edit_acct_info {
  clear: left;
}

#users .address {
  position: relative;
  margin: 0 0 20px;
}

/*** user edit page
----------------------------------------------------------------------*/

#users #split_screen_page .right_submit {  /* the following styles override existing .right_col styling */
  margin-top: 30px;
  border-left: 0;
}

/*** Solo forms: Contact us, Address Edit
----------------------------------------------------------------------*/

#solo_form {
  margin: 0 45px 0 235px;
}

#content_wrap.aux #solo_form {
  margin: 0 45px 0 0;
}

#solo_form h1 {
  margin-bottom: 10px;
}

#solo_form .std_form {
  margin: 42px 0 0 0;
}

#solo_form .std_form li {
  width: 256px;
}

#solo_form input.text,
#solo_form input.date_picker {
  display: block;
  width: 250px;
}

#solo_form select {
  display: block;
  width: 260px;
}

#solo_form textarea {
  display: block;
  width: 256px;
}

#solo_form input,
#solo_form select,
#solo_form textarea,
#solo_form .img_preview img {
  display: block;
  margin-bottom: 5px;
}

#solo_form li.half {
  float: left;
  width: 116px;
  margin-right: 7px;
}

#solo_form li.half label,
#solo_form li.half input.text {
  width: 111px;
}

#solo_form .checkbox,
#solo_form .checkbox_label {
  display: inline;
  margin-bottom: 0
}

/**** contact us specific
----------------------------------------------------------------------*/

#contact_submissions h2 {
  line-height: 1em;
  margin-top: 0;
  margin-bottom: 42px;
}

#contact_submissions .std_form {
  width: auto;
  margin-top: 20px;
  font-size: 123.1%;
}

#contact_submissions .std_form li {
  width: auto;
}

#contact_submissions input.text,
#contact_submissions input.date_picker {
  display: block;
  width: auto;
}

#contact_submissions textarea {
  width: auto;
}

/*** split screen form (sign up / sign in, register product)
----------------------------------------------------------------------*/

#split_screen_page {
  margin: 0 236px;
}

#split_screen_page h1 {
  margin-bottom: 10px;
}

#split_screen_page .row {
  margin-top: 40px;
}

#split_screen_page .left_col {
  float: left;
  width: 222px;
}

#split_screen_page .right_col {
  float: right;
  width: 221px;
  padding-left: 7px;
  border-left: 1px solid #DDDDDD;
}

#split_screen_page .subhead {
  display: block;
  margin-bottom: 30px;
}

#split_screen_page .std_form li {
  width: 206px;
}

#split_screen_page label,
#split_screen_page input.text,
#split_screen_page input.datepicker {
  display: block;
  width: 200px;
}

#split_screen_page li.half {
  float: left;
  width: 103px;
  margin-right: 5px;
}

#split_screen_page li.half label,
#split_screen_page li.half input.text {
  width: 97px;
}

#split_screen_page select {
  width: 210px;
}

#split_screen_page li.text,
#split_screen_page li.checkbox,
#split_screen_page select {
  margin-bottom: 5px;
}

#split_screen_page input.checkbox,
#split_screen_page label.checkbox_label {
  display: inline;
  margin-bottom: 0
}

#split_screen_page p.submit {
  clear: both;
}

/**** sign in/sign u page specific
----------------------------------------------------------------------*/

#user_sessions .submit {
  float: left;
  height: 62px;
  margin: 0;
  border: 0;
  text-transform: uppercase;
  color: #fff;
}

#user_sessions .submit:hover {
  text-decoration: underline;
}

#user_sessions .left_col .submit {
  width: 67px;
  padding: 32px 5px 10px 0;
  background: url('/images/bn_login_ducky.gif');
}

#user_sessions .right_col .submit {
  width: 65px;
  padding: 21px 2px 21px 0;
  background: url('/images/bn_horse.gif');
}

#user_sessions #privacy_link {
  display: block;
  float: left;
  margin-top: 22px;
  margin-left: 5px;
}

.extra_login_links {
  display: block;
  clear: left;
  margin-top: 10px;
}

.extra_login_links a {
  display: block;
}

/*** registration pages
----------------------------------------------------------------------*/

.registration_list dt {
  font-weight: bold;
  margin-top: 1em;
}

.registration_specs dt {
  font-weight: bold;
  margin-top: 1em;
}

/*** product order
----------------------------------------------------------------------*/
.product_order dl {
  
}
.product_order dt {
  
}
.product_order dd {
  font-weight: bold;
}



/*** faq
----------------------------------------------------------------------*/
.faq { padding-top: 10px; }
.faq ol,
.faq ul {
  margin: 1em;
  margin-left: 2em;
}

.faq ol li {
  list-style-type: decimal;
}

.faq ul li {
  list-style-type: disc;
}

/*** static pages
----------------------------------------------------------------------*/

.news_items_container,
#static_page_content {
  margin: 0 45px 0 235px;
}

.faq_items_container {
  margin: 14px 45px 0 0;
}

#static_page_content h1 {
  margin-top: 14px;
  margin-bottom: 42px;
  line-height: 1em;
}

.managed_content ol,
.managed_content ul {
  margin: 1em;
  margin-left: 2em;
}

.managed_content ol li {
  list-style-type: decimal;
}

.managed_content ul li {
  list-style-type: disc;
}

/*** faq page
----------------------------------------------------------------------*/

.faq_items_container .questions {
  padding-bottom: 10px;
  border-bottom: 1px solid #666666;
}

.faq_items_container .questions li {
  list-style-type: disc;
  margin-left: 1em;
}

.faq_items_container .questions li a {
  color: #333333;
}

/*** mattress
----------------------------------------------------------------------*/

#mattress_page {
  position: relative;
  height: 530px;
  padding-top: 20px;
  background-image: url('/images/mattress/bg_mattress_main.jpg');
  color: #fff;
}

#mattress_page h1 {
  width: 358px;
  height: 72px;
  margin: 0 0 0 20px;
  padding: 0;
  background-image: url('/images/mattress/bg_mattress_header.png');
  text-indent: -5000em;
}

#mattress_page #about_mattresses {
  position: absolute;
  top: 20px;
  right: 5px;
  width: 448px;
  font-size: 88%;
}

#mattress_page h2 {
  position: absolute;
  top: 125px;
  width: 207px;
  height: 17px;
  text-indent: -5000em;
  background-repeat: no-repeat;
  background-position: center top;
}

#mattress_page #standard  h2 { background-image: url('/images/mattress/bg_mattress_standard.png'); }
#mattress_page #natural   h2 { background-image: url('/images/mattress/bg_mattress_natural.png');  }
#mattress_page #mini_crib h2 { background-image: url('/images/mattress/bg_mattress_minicrib.png'); }
#mattress_page #pads      h2 { background-image: url('/images/mattress/bg_mattress_pads.png');     }

#mattress_page .textbox {
  position: absolute;
  top: 173px;
  width: 207px;
  height: 133px;
  line-height: 1.3em;
  font-size: 96%;
}

#mattress_page #standard h2,
#mattress_page #standard  .textbox { left: 22px; }
#mattress_page #natural h2,
#mattress_page #natural   .textbox { left: 250px; }
#mattress_page #mini_crib h2,
#mattress_page #mini_crib .textbox { left: 477px; }
#mattress_page #pads h2,
#mattress_page #pads      .textbox { left: 705px; }

#mattress_page .mattresses {
  position: absolute;
  top: 325px;
}

#mattress_page #standard  .mattresses { left: 13px; width: 224px; }
#mattress_page #natural   .mattresses { left: 303px; }
#mattress_page #mini_crib .mattresses { left: 489px; }
#mattress_page #pads      .mattresses { left: 696px; width: 240px; }

#mattress_page .mattresses li {
  position: relative;
  float: left;
  line-height: 0;
}

#mattress_page .popup_bubble,
#mattress_page .popup_bubble_foot {
  display: none;
  position: absolute;
  z-index: 10;
  background-image: url('/images/mattress/bg_popup_bubble.png');
  background-repeat: no-repeat;
}

#mattress_page .popup_bubble {
  left: -104px;
  top: -235px;
  width: 200px;
  height: 170px;
  padding: 30px 18px 0px 45px;
  background-position: 0 0;
  font-size: 93%;
  line-height: 1.15em;
}

#mattress_page .popup_bubble_foot {
  left: -19px;
  top: -35px;
  width: 105px;
  height: 60px;
  padding: 0 0 0 0;
  background-position: -85px -200px;
}

#mattress_page #willow      .popup_bubble      { padding-top: 25px; height: 175px;}
#mattress_page #sunshine    .popup_bubble      { top: -215px; }
#mattress_page #sunshine    .popup_bubble_foot { top: -15px; }
#mattress_page #crescent    .popup_bubble      { top: -265px; }
#mattress_page #crescent    .popup_bubble_foot { top: -30px; }
#mattress_page #cradle_pad  .popup_bubble,
#mattress_page #changer_pad .popup_bubble      { width: 180px; height: 160px; padding: 40px 41px 0 42px; }

#mattress_page .popup_bubble h3 {
  height: 31px;
  margin-top: 0;
  margin-bottom: .5em;
  text-indent: -5000em;
  background-repeat: no-repeat;
  background-position: left bottom;
}

#mattress_page .large .popup_bubble {
  left: -140px;
  top: -255px;
  width: 255px;
  height: 185px;
  padding: 40px 16px 10px 40px;
  background-image: url('/images/mattress/bg_popup_bubble_lg.png');
}

#mattress_page .large .popup_bubble_foot {
  left: -35px;
  top: -20px;
  width: 120px;
  height: 68px;
  padding: 0 0 0 0;
  background-image: url('/images/mattress/bg_popup_bubble_lg.png');
  background-position: -105px -235px;
}

#mattress_page .right_bubbles .popup_bubble {
  left: -35px;
  padding: 30px 18px 0px 45px;
  background-image: url('/images/mattress/bg_popup_bubble_right.png');
}

#mattress_page .right_bubbles .popup_bubble_foot {
  left: 50px;
  background-image: url('/images/mattress/bg_popup_bubble_right.png');
}

#mattress_page .right_bubbles #twilight .popup_bubble {
  padding-top: 22px;
  height: 178px;
}

#mattress_page .right_bubbles .large .popup_bubble {
  left: -60px;
  top: -300px;
  width: 255px;
  height: 190px;
  padding: 35px 30px 25px 50px;
  background-image: url('/images/mattress/bg_popup_bubble_right_lg.png');
}

#mattress_page .right_bubbles .large .popup_bubble_foot {
  left: 40px;
  top: -50px;
  width: 120px;
  height: 76px;
  padding: 0 0 0 0;
  background-image: url('/images/mattress/bg_popup_bubble_right_lg.png');
  background-position: -100px -250px;
}

#mattress_page #crescent       .popup_bubble h3 { background-image: url('/images/mattress/h_crescent.png');       width: 71px; }
#mattress_page #emily_ii       .popup_bubble h3 { background-image: url('/images/mattress/h_emily_ii.png');       width: 64px; }
#mattress_page #luna           .popup_bubble h3 { background-image: url('/images/mattress/h_luna.png');           width: 37px; }
#mattress_page #starbrite      .popup_bubble h3 { background-image: url('/images/mattress/h_starbrite.png');      width: 73px; }
#mattress_page #sunshine       .popup_bubble h3 { background-image: url('/images/mattress/h_sunshine.png');       width: 74px; }
#mattress_page #twilight       .popup_bubble h3 { background-image: url('/images/mattress/h_twilight.png');       width: 65px; }
#mattress_page #willow         .popup_bubble h3 { background-image: url('/images/mattress/h_willow.png');         width: 55px; }
#mattress_page #cradle_pad     .popup_bubble h3 { background-image: url('/images/mattress/h_cradle_pad.png');     width: 87px; }
#mattress_page #changer_pad    .popup_bubble h3 { background-image: url('/images/mattress/h_changer_pad.png');    width: 103px; }
#mattress_page #contour_pad_34 .popup_bubble h3 { background-image: url('/images/mattress/h_contour_pad_34.png'); width: 153px; }
#mattress_page #contour_pad_31 .popup_bubble h3 { background-image: url('/images/mattress/h_contour_pad_31.png'); width: 151px; }

#mattress_page .popup_bubble .learn_more,
#mattress_page .popup_bubble .close_bubble {
  display: block;
  margin-top: .5em;
  color: #fff;
}

#mattress_page .popup_bubble .learn_more {
  float: left;
  text-decoration: underline;
}

#mattress_page .popup_bubble .learn_more:hover {
  text-decoration: none;
}

#mattress_page .popup_bubble .close_bubble {
  float: right;
  margin-right: 40px;
}

/** causes index page
----------------------------------------------------------------------*/

.causes_container {
  margin: 0 45px 0 235px;
}

.causes_container .cause {
  margin-top: 30px;
  padding-left: 236px;
  background-repeat: no-repeat;
  background-position: left center;
}

/*** retailer
----------------------------------------------------------------------*/

/*** retailer documents index
----------------------------------------------------------------------*/

#retailer_documents .doc span {
  font-size: 85%;
}

#retailer_documents .doc a {
  float: right;
}

#retailer_documents .retailer_contact_info {
  width: 222px;
}

#retailer_documents .california {
  float: left;
}

#retailer_documents .georgia {
  float: right;
}

.retailer_contact_info dt {
  font-weight: bold;
  margin-top: .5em;
}

/*** retailer documents - certificates
----------------------------------------------------------------------*/

#retailer_documents .filter {
  margin-bottom: 1em;
}

#retailer_documents .filter li {
  display: inline;
  padding-right: 15px;
}

#retailer_documents .filter li.filter_by {
  display: block;
}

#retailer_documents .filter a:hover,
#retailer_documents .filter a.active {
  text-decoration: none;
  color: #424242;
}

#retailer_documents .filter a.active {
  cursor: default;
}

/*** retailer profile
----------------------------------------------------------------------*/

#retailers .company dt {
  font-weight: bold;
}

#retailers .company dd {
  margin-bottom: .5em;
}

#retailers h2 span {
  margin-left: 2em;
  font-size: 60%;
}

#retailers #store_list {
  margin-top: 15px;
}

#retailers #store_list li.store {
  float: left;
  width: 222px;
  margin-right: 14px;
}

#retailers #store_list li.store.last {
  margin-right: 0;
}

/** store index page
----------------------------------------------------------------------*/

#stores h2 {
  font-size: 123.1%;
}

#stores h2.modify {
  margin-bottom: 5px;
}

#stores .bn.submit {
  margin-top: 5px;
  padding: 0 8px;
}

#stores .stores_content_wrapper label {
  display: block;
}

#stores .store_menu a {
  color: #666666;
}

#stores .store_menu .active a {
  text-decoration: none;
  cursor: default;
}

#stores #google_map {
  height: 300px;
}

#stores .right_sidebar {
  float: right;
  width: 222px;
}

#stores #online_stores .store {
  text-align: center;
}

#stores .stores_list {
  margin-bottom: 50px;
}

#stores .store {
  float: left;
  width: 222px;
  margin-right: 14px;
  margin-top: 1em;
}

#stores .store.last {
  margin-right: 0;
}

#stores .store dt {
  margin-top: 5px;
  font-weight: bold;
  font-size: 116%;
}

#stores .store_image a,
#stores .store_image span {
  display: block;
  width: 222px;
  height: 117px;
  border: 1px solid #e0e0e0;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  background-position: center center;
  background-repeat: no-repeat;
  text-indent: -9999em;
}

/** Store std_form
----------------------------------------------------------------------*/

#stores #brick {
  margin-top: 0;
}

/** team index page
----------------------------------------------------------------------*/

#team_members h1 {
  padding-left: 236px;
}

.team_container {
  margin: 0 45px 0 235px;
}

.team_container .team_member {
  padding-top: 30px;
  clear: both;
}

.team_container .team_member_photo {
  float: left;
}

.team_container .team_member_desc {
  float: right;
  width: 414px;
}

.team_container .team_member_desc h3 {
  margin-top: 0;
}

/** documents index page
----------------------------------------------------------------------*/

#documents #content_wrap{
  padding: 0 25px;
  width: 900px;
}

#documents .docs_section ul {
  display: block;
  float: left;
  width: 280px;
  margin-right: 20px;
}

#documents .docs_section h2 {
  margin-bottom: .5em;
}
