@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css');

/* custom fonts */

@font-face
{
    font-family: 'SofiaPro';
    src: url('webfonts/SofiaProExtraLight.otf');
    font-weight: normal;
    font-style: normal;
}

/* end custom fonts */

body
{
    font-family: 'SofiaPro', sans-serif;
    color: #4b4c4d;
    font-size: 16px;
}

h1
{
    font-family: 'SofiaPro', sans-serif;
    font-weight: 400;
}

h2, h3, h4, h5, h6, .h2, .h3, .h4, .h5, .h6
{
    font-family: 'SofiaPro', sans-serif;
    font-weight: 400;
}

p.demo_store
{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    margin: 0;
    width: 100%;
    font-size: 1em;
    padding: 1em 0;
    text-align: center;
    background-color: #F00;
    color: #FFF;
    z-index: 99998;
    box-shadow: 0 1px 1em rgba(0, 0, 0, .2);
    opacity: .3;
}

.navbar
{
    background-color: #FFF;
    margin-bottom: 0;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.50);
}

.navbar-brand
{
    font-size: 1em;
    line-height: 1em;
    height: auto;
    padding: 0;
}

.navbar-header button.navbar-toggle {
    float: none;
    border: none;
}
.sidebar-menu li {
    color: #312b7f;
    font-size:18px;
    line-height:2.44;
}
.sidebar-menu .sub-menu {
    padding-left:20px;
    padding-top:10px;
}
.sidebar-menu .sub-menu li {
    list-style-type:none;
    font-size:18px;
    line-height:2.44;
    padding-bottom:10px;
}
.header-menu {
	margin-bottom:0;
}
.header-menu li {
    float: left;
    margin-right:38px;
}
.header-menu li a {
    font-size:18px;
    color: #312b7f;
}

.header-menu li > a:hover {
    color: #646464;
}

.header-menu .sub-menu {
    display: none;
    background: #fff;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.5);
    float: none;
    padding-top: 17.4px;
    padding-right: 15px;
    padding-bottom: 22.3px;
    list-style-type: none;
    padding-left: 18px;
    position: absolute;
    top: 51px;
    z-index: 100;
}

.header-menu .sub-menu li {
    float: none;
    margin-right: 0;
    margin-top: 16px;
}

.header-menu .sub-menu li:first-of-type {
    margin-top: 6px;
}

.header-menu .sub-menu li a {
    font-size: 18px;
    color: #312b7f;
}

.header-menu .sub-menu li a:hover {
    color: #646464;
}

#headerphone {
    font-size:18px;
    color: #312b7f;
}
.menu-item-36:hover .sub-menu {
    display: block;
}
.footer-menu {
    list-style-type: none;
    font-size: 14px;
    font-weight: 200;
    line-height: 1.79;
    color: #646464;
    color: #646464;
}
.es_lablebox {
    display: none;
}
.es_button {
    display: inline-block;
}
#es_txt_button_pg {
    width: 103px;
    height: 35px;
    border-radius: 9px;
    background-color: #312b7f;
    border:#312b7f;
    color:#fff;
}

#es_txt_email_pg {
    border-radius: 9px 0 0 9px;
    height: 35px;
}

#es_txt_button_pg {
    border-radius: 0 9px 9px 0;
}

a:focus, a:active,
button,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
select::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {
    outline: none !important;
}

input[type=text]
{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

label
{
    font-weight: 400;
}

td
{
    vertical-align: top;
}

ul > li,
ol > li
{
    vertical-align: top;
}

.navbar-default .navbar-nav > li > a.phone, .navbar-default .navbar-nav > li > a.cart
{
    color: #673956;
}

.navbar-default .navbar-nav > li > a
{
    color: #4b4c4d;
    font-weight: bold;
    font-size: 18px;
}

.navbar-default .navbar-toggle .icon-bar
{
    background-color: #532944;
    height: 3px;
}

.navbar-default .navbar-toggle
{
    background-color: transparent;
}

.row-eq-height
{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

/* yet another mega menu */

.yamm .nav, .yamm .collapse, .yamm .dropup, .yamm .dropdown
{
    position: static;
}

.yamm .container
{
    position: relative;
}

.yamm .dropdown-menu
{
    left: auto;
}

.yamm .yamm-content
{
    padding: 20px 30px;
    text-transform: none;
}

.yamm .dropdown.yamm-fw .dropdown-menu
{
    left: 0;
    right: 0;
}

.yamm .yamm-content a
{
    text-decoration: none;
    color: #000;
}

/* jumbotron for specific pages */

.jumbotron
{
    position: relative;
    background-color: #78909c;
    background-position: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-align: left;
    color: #FFF;
    display: table;
    margin-bottom: 30px;
    background-size: cover;
}

/*.jumbotron .container
{
    display: table-cell;
    vertical-align: middle;
}*/

.home-jumbo
{
    margin-bottom: 0;
    background-repeat: no-repeat;
}

.jumbotron .callout
{
    background-color: #cfd8dc;
    padding: 40px;
}

.home-jumbo .callout
{
    background: none;
}

.jumbotron .btn-lg
{
    padding-left: 50px;
    padding-right: 50px;
}

.jumbotron h1
{
    font-size: 55px;
    font-family: 'SofiaPro', sans-serif;
    font-weight: bold;
    line-height: 1.2;
    padding-bottom: 40px;
    margin-bottom: .2em;
    margin-top: 0;
}

.jumbotron h2
{
    font-family: 'SofiaPro', sans-serif;
    font-size: 24px;
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.jumbotron .cta
{
    padding-top: 48px;
}

.home .jumbotron
{
    background-color: #cfd8dc;
}

.home .jumbotron h1,
.home .jumbotron h2
{
    color: #424242;
    padding-bottom: 0;
}

.home .jumbotron h2
{
    font-weight: bold;
}

.thanks-page
{
    background-image: url('../images/photos/mother-and-daughter-playing-on-bed.jpg');
}

.home-featured-specials
{
    background: #cfd8dc;
}

.home-featured-specials, .home-reviews
{
    text-align: center;
    font-weight: bold;
    color: #474747;
    padding-top: 30px;
    padding-bottom: 30px;
}

.home-featured-specials h2, .home-reviews h2
{
    color: #424242;
    font-weight: bold;
    font-size: 46px;
    font-family: 'SofiaPro', sans-serif;
    margin: 0 0 .15em;
}

.home-featured-specials h4, .home-reviews h4
{
    font-family: 'SofiaPro', sans-serif;
    font-weight: bold;
    margin: 0;
    line-height: 1.3;
}

.home-reviews div[class^='col-']
{
    padding: 20px 50px;
}

.home-reviews .review-stars img
{
    height: 30px;
    width: auto;
}

.featured-product-image img
{
    max-width: 100%;
    height: auto;
    display: block;
}

.featured-prod1
{
    background: #cfd8dc;
}

.triangle
{
    -webkit-clip-path: polygon(calc(50% - 35px) 0%, 50% 24px, calc(50% + 35px) 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%);
    clip-path: polygon(calc(50% - 35px) 0%, 50% 24px, calc(50% + 35px) 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%);
}

.featured-prod1 .triangle
{
    background: #FFF;
}

.featured-prod2
{
    background: #FFF;
}

.featured-prod2 .triangle
{
    background: #cfd8dc;
}

.home-featured-products .row
{
    padding-top: 50px;
    padding-bottom: 50px;
}

.home-featured-products h3 a
{
    font-family: 'SofiaPro', sans-serif;
    font-weight: normal;
    font-size: 36px;
    color: #616161;
}

.home-featured-products h3 a:hover
{
    opacity: 0.8;
}

.home-featured-products .featured-price
{
    font-family: 'SofiaPro', sans-serif;
    color: #616161;
}

.home-featured-products .featured-price span
{
    font-family: 'SofiaPro', sans-serif;
    font-size: 28px;
    margin-bottom: 18px;
    display: inline-block;
}

.home-featured-products p
{
    font-size: 1.1em;
    font-weight: bold;
}

.featured-contact
{
    color: #6b8398;
    margin-left: 24px;
    font-size: 1.1em;
}

.home-free-shipping
{
    background: #3A3A3A;
    color: #FFF;
    padding-top: 40px;
    padding-bottom: 40px;
}

.home-free-shipping h3
{
    margin: 0 0 .2em;
}

.no-padding
{
    padding-right: 0;
    padding-left: 0;
}

/* pinterest images */

.pin
{
    position: absolute !important;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden;
}

/* customized buttons */

.btn-primary
{
    background-color: #546e7a;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background-image: none;
    color: #FFF;
    font-family: 'SofiaPro', sans-serif;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active
{
    background-color: #546e7a;
    border: none;
    color: #FFF;
}

.btn-primary.disabled:hover, .btn-primary.disabled:focus, .btn-primary.disabled:active, .btn-primary.disabled.active, .btn-primary[disabled]:hover, .btn-primary[disabled]:focus, .btn-primary[disabled]:active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary:hover, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary:active, fieldset[disabled] .btn-primary.active
{
    background-color: #546e7a;
    border: none;
}

.nav-pills
{
    font-family: 'SofiaPro', sans-serif;
    font-weight: 400;
}

.nav-pills > li > a
{
    border: 1px solid #FFF;
    margin: 0 10px;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus
{
    color: #000;
    background-color: #FFF;
    border-color: #444;
}

.input-group-btn .btn-primary
{
    border-color: #CCCCCC;
}

.drop-shadow
{
    -webkit-box-shadow: 0 3px 4px 0 rgba(0, 0, 0, .14), 0 3px 3px -2px rgba(0, 0, 0, .2), 0 1px 8px 0 rgba(0, 0, 0, .12);
    -moz-box-shadow: 0 3px 4px 0 rgba(0, 0, 0, .14), 0 3px 3px -2px rgba(0, 0, 0, .2), 0 1px 8px 0 rgba(0, 0, 0, .12);
    box-shadow: 0 3px 4px 0 rgba(0, 0, 0, .14), 0 3px 3px -2px rgba(0, 0, 0, .2), 0 1px 8px 0 rgba(0, 0, 0, .12);
}

.vertical-align
{
    display: table;
}

.vertical-align div
{
    display: table-cell;
    vertical-align: middle;
}

.our-guarantees
{
    border-bottom: 2px solid #DDDDDD;
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.gicon
{
    padding-right: 14px;
}

.gicon img
{
    height: 43px;
    width: auto;
}

.footer-social
{
    background-color: #607D8B;
    padding: 30px 0;
}

.footer-social .social-circle
{
    width: 41px;
    height: 41px;
    display: block;
    border: #FFF solid 1px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    margin-top: 20px;
    margin-right: 20px;
}

.footer-social h2
{
    margin: 0;
    color: #FFF;
    font-size: 1.9em;
}

.footer-social h4
{
    font-family: 'SofiaPro', sans-serif;
    font-weight: bold;
}

.footer-social .fa
{
    color: #FFF;
    font-size: 1.7em;
    padding: 8px;
}


.footer
{
    position: relative;
    background: #eceff1;
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer a
{
    font-weight: bold;
}

.footer .footer-logo
{
    margin-bottom: 20px;
    max-width: 100%;
}

.footer h3
{
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 0;
    color: #4b4c4d;
    margin-bottom: 16px;
}

.footer .footer-nav
{
    list-style: none;
    line-height: 1.2;
}

.footer .footer-nav li
{
    margin-bottom: 16px;
}

.footer .footer-contact a.phone:hover
{
    text-decoration: none;
}

footer.footer .footer-newsletter input[id^='gform_submit_button']
{
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.footer .footer-newsletter .gform_wrapper .top_label input#input_2_1
{
    padding: 8px;
    width: 100%;
    height: 48px;
    border: none;
}

.footer .footer-newsletter input[type=submit]
{
    -webkit-border-radius: 4px;
    -webkit-border-top-right-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    -moz-border-radius: 4px;
    -moz-border-radius-topright: 0;
    -moz-border-radius-bottomright: 0;
    border-radius: 4px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    width: 100%;
    padding: 0 8px;
}

.footer .footer_weareheretohelp-container
{
    padding: 0;
}

.footer .footer_weareheretohelp
{
    text-transform: uppercase;
    background-color: rgb(136, 211, 232);
    height: 324px;
}

.footer .footer_weareheretohelp p.hero-text
{
    font-size: 36px;
    padding-top: 45px;
}

.newsletter-email::-webkit-input-placeholder
{
    color: #808284;
}

.newsletter-email:-moz-placeholder
{
    color: #808284;
}

.newsletter-email::-moz-placeholder
{
    color: #808284;
}

.newsletter-email:-ms-input-placeholder
{
    color: #808284;
}

.woocommerce .footer input.button
{
    color: #FFF;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.page-header
{
    margin: 0;
    border-bottom: none;
    text-align: center;
}

.page-header h2
{
    line-height: 1;
    margin: 0;
}

.bordered-action
{
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
    left: 0;
}

#home-bottom .inside
{
    position: absolute;
    bottom: 20px;
}

.home-review-box
{
    background-image: url(../images/photos/feet-hanging-off-bed.jpg);
    background-size: cover;
    background-color: #F1F2F2;
}

.home-unboxing-box
{
    background-color: #F1F2F2;
    padding-top: 30px;
    padding-bottom: 30px;
}

.home-unboxing-box h4
{
    text-transform: uppercase;
    margin-bottom: 4px;
}

.home-unboxing-box p
{
    margin-bottom: 4px;
}

.home-unboxing-box-content
{
    display: table;
    height: 100%;
    width: 100%;
}

.home-unboxing-box-content div:first-child
{
    display: table-cell;
    vertical-align: middle;
    padding: 10px;
    width: 25%;
}

.home-unboxing-box-content div:last-child
{
    display: table-cell;
    vertical-align: middle;
    padding: 10px 10px 10px 30px;
    width: 75%;
}

.home-donation-box
{
    background-image: url(../images/photos/girl-crawling-in-box-with-dream-pillow.jpg);
    background-color: #F1F2F2;
}

.shop-day-guarantee
{
    padding-bottom: 30px;
}

.dark-grey-shapes
{
    padding: 20px 0 40px;
    color: #F2F2F2;
    background: url(../images/bg-dark-version.png) #6A6A6A;
    background-position: 0 -10px;
}

.light-grey-shapes
{
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #DADCDD;
    background-position: 0 -10px;
}

.light-grey-fill
{
    padding: 20px 0;
    background-color: #F2F2F2;
}

.dark-grey-fill
{
    padding: 20px 0;
    background-color: #6A6A6A;
    color: #FFF;
}

.orange-fill
{
    padding: 20px 0;
    background-color: #F79D33;
    color: #FFF;
}

.inner-shadow
{
    -webkit-box-shadow: inset 0 20px 20px -20px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: inset 0 20px 20px -20px rgba(0, 0, 0, 0.6);
    box-shadow: inset 0 20px 20px -20px rgba(0, 0, 0, 0.6);
}

.home-bed-options
{
    padding: 0 0 20px;
    background-color: #FFF;
}

.home-bed-options h4
{
    text-transform: uppercase
}

.home-bed-options p
{
    margin-bottom: 0;
}

.home-bed-options .btn
{
    width: 218px;
    margin-bottom: 30px;
}

.go-under-jumbotron
{
    margin-top: -30px;
}

.home-middle1
{
    background-image: url(../images/photos/blue-box-on-stoop.jpg);
    background-color: #999;
}

.home-middle2
{
    background-image: url(../images/photos/girl-on-pink-bed.jpg);
    background-color: #999;
}

.special-circles
{
    padding-top: 30px;
}

.special-circles img
{
    display: block;
    width: 80%;
    height: auto;
    margin-bottom: 15px;
}

.special-circles p
{
    margin-left: 10%;
    width: 80%;
}

.special-circles h3
{
    margin-left: 5%;
    width: 90%;
    margin-top: 0;
}

.why-choose img
{
    height: 80px;
    width: auto;
    display: block;
    margin-top: 20px;
}

.why-choose h5
{
    text-transform: uppercase;
    margin-bottom: .3em;
}

.featured-news
{
    padding-top: 30px;
    padding-bottom: 30px;
}

.featured-news h2
{
    margin-bottom: 20px;
}

.featured-news img
{
    height: auto;
    width: 175px;
    max-width: 100%;
    display: block;
    opacity: .6;
}

.featured-news [class^="col-"]:hover img
{
    opacity: 1;
}

.featured-news .btn-link
{
    text-transform: uppercase;
    margin-bottom: 0;
    color: #808285;
    text-decoration: underline;
}

.featured-news .btn-link:hover
{
    color: #6A6A6B;
}

.dark-grey
{
    background-color: #6A6A6B;
    color: #FFF;
}

.home-review-box h3
{
    line-height: 1;
    margin-top: 0;
}

.fivestars
{
    margin-bottom: 17px;
}

.products
{
    margin-bottom: 30px;
}

.products h3
{
    margin-bottom: .1em;
    color: #000;
}

.products h3 a
{
    color: #000;
    text-decoration: none;
}

.products .product-img
{
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.products .product-text
{
    width: 75%;
    margin: 0 auto;
}

.product-image-cta
{
    position: relative;
}

.product-image-cta .product-cta
{
    position: absolute;
    bottom: 35px;
    width: 100%;
}

.rowspace
{
    margin-bottom: 30px;
}

.rowpadding > div
{
    padding: 30px;
}

.partners
{
    padding-top: 30px;
}

.partners img
{
    width: 230px;
    max-width: 25%;
    height: auto;
}

.team-page
{
    margin-bottom: 30px;
}

.team-page .light-grey-fill
{
    margin-top: 30px;
    margin-bottom: 30px;
}

.team-page .insta .row
{
    margin-bottom: 30px;
}

.how-we-dream > div
{
    padding-left: 30px;
    padding-right: 30px;
}

.how-we-dream img
{
    height: 119px;
    width: auto;
    max-width: 100%;
    margin-bottom: 20px;
}

.how-we-dream h4
{
    text-transform: uppercase;
    margin-bottom: 4px;
}

.design-page .img-responsive
{
    margin-bottom: 30px;
}

.original
{
    color: #FF6B00;
}

.original a
{
    color: #FF6B00;
}

.cool
{
    color: #61B4E4;
}

.cool a
{
    color: #61B4E4;
}

.reviews-page .row
{
    margin-bottom: 30px;
}

.reviews-page h1 a:hover
{
    color: #FBA54C;
    text-decoration: none;
}

.reviews-page .none
{
    margin-bottom: 0;
}

.stars img
{
    height: 15px;
    width: auto;
}

.review-personal-text h4
{
    margin-top: 0;
    text-transform: uppercase;
}

.review-personal-text .reviewer
{
    font-weight: 400;
}

.review-personal-text .iconset img
{
    height: 40px;
    width: auto;
    vertical-align: middle;
    margin-right: 10px;
}

.reviewtop
{
    border-bottom: 1px solid #D9D9DA;
    padding-bottom: 15px;
}

.reviewtop label
{
    font-weight: 400;
}

.review-header h4
{
    text-transform: uppercase;
    margin-bottom: 0;
}

.review-header h4 small
{
    text-transform: none;
    display: inline-block;
    padding-left: 10px;
    vertical-align: 1px;
}

.review-header img
{
    width: auto;
    height: 15px;
    vertical-align: middle;
}

.instagram-review-photos ul
{
    padding-left: 0;
    margin-left: 0;
    list-style: none
}

.instagram-review-photos ul > li
{
    display: inline-block;
}

.instagram-review-photos ul > li img
{
    width: 100%;
}

.how-to-dream-page, .search-page
{
    padding-bottom: 30px;
}

.basic-page
{
    padding-top: 30px;
    padding-bottom: 30px;
}

.how-to-dream-page .editable-content
{
    padding-bottom: 30px;
}

.search-result
{
    border: 1px solid #DDD;
    padding: 20px;
    margin-bottom: 20px;
}

.search-result h3
{
    margin-top: 0;
}

.search-result p:last-child
{
    margin-bottom: 0;
}

.faq-header
{
    padding-top: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #DDD;
}

.faq-header h1
{
    margin-bottom: 80px;
}

.faqpage .dreamsearchform
{
    margin-bottom: 15px;
}

.faqpage .nav-tabs
{
    border-bottom: none;
}

.faqpage .nav > li > a
{
    padding: 10px;
    font-size: 12px;
}

.faq_subcategory h2
{
    text-align: center;
}

.a-question
{
    border-left: 1px solid #DDD;
    border-right: 1px solid #DDD;
    border-top: 1px solid #DDD;
    padding: 20px;
}

.a-question:last-child
{
    border-bottom: 1px solid #DDD;
}

.a-question h4
{
    margin-top: 2px;
    margin-bottom: 0;
}

.a-question h4 a .fa
{
    color: #E58E2A;
}

.a-question h4 a:focus
{
    text-decoration: none;
    color: #828282;
}

.a-question h4 a:hover, .a-question h4 a:active
{
    text-decoration: none;
    color: #E58E2A;
}

.a-question p
{
    margin-top: 15px;
}

.tab-pane
{
    margin-top: 15px;
    margin-bottom: 15px;
}

.tab-pane h3:first-child
{
    margin-top: 0;
}

.tab-pane p:last-child
{
    margin-bottom: 0;
}

.faq-footer
{
    font-size: 1.429em;
    padding-bottom: 30px;
}

.faq-footer a:hover
{
    text-decoration: none;
}

.faq-footer .email
{
    color: #FD9D2E;
    text-transform: uppercase;
}

.faq-footer .phone
{
    color: #808284;
}

.stylish-input-group .input-group-addon
{
    background: white !important;
    border-left: none;
}

.stylish-input-group .form-control
{
    border-right: none;
    box-shadow: 0 0 0;
    border-color: #CCC;
}

.stylish-input-group button
{
    border: 0;
    background: transparent;
}

.bootstrap-select
{
    width: 220px \0;
    /*IE9 and below*/
}

.bootstrap-select > .dropdown-toggle
{
    width: 100%;
    padding-right: 25px;
    z-index: 1;
}

.bootstrap-select > select
{
    position: absolute !important;
    bottom: 0;
    left: 50%;
    width: 0.11px !important;
    height: 100% !important;
    padding: 0 !important;
    opacity: 0 !important;
    border: none;
}

.bootstrap-select > select.mobile-device
{
    top: 0;
    left: 0;
    display: block !important;
    width: 100% !important;
    z-index: 2;
}

.has-error .bootstrap-select .dropdown-toggle,
.error .bootstrap-select .dropdown-toggle
{
    border-color: #B94A48;
}

.bootstrap-select.fit-width
{
    width: auto !important;
}

.bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn):not(.tmcp-field)
{
    width: 220px;
}

.bootstrap-select .dropdown-toggle:focus
{
    outline: thin dotted #333333 !important;
    outline: 5px auto -webkit-focus-ring-color !important;
    outline-offset: -2px;
}

.bootstrap-select.form-control
{
    margin-bottom: 0;
    padding: 0;
    border: none;
}

.bootstrap-select.form-control:not([class*="col-"])
{
    width: 100%;
}

.bootstrap-select.form-control.input-group-btn
{
    z-index: auto;
}

.bootstrap-select.btn-group:not(.input-group-btn),
.bootstrap-select.btn-group[class*="col-"]
{
    float: none;
    display: inline-block;
    margin-left: 0;
}

.bootstrap-select.btn-group.dropdown-menu-right,
.bootstrap-select.btn-group[class*="col-"].dropdown-menu-right,
.row .bootstrap-select.btn-group[class*="col-"].dropdown-menu-right
{
    float: right;
}

.form-inline .bootstrap-select.btn-group,
.form-horizontal .bootstrap-select.btn-group,
.form-group .bootstrap-select.btn-group
{
    margin-bottom: 0;
}

.form-group-lg .bootstrap-select.btn-group.form-control,
.form-group-sm .bootstrap-select.btn-group.form-control
{
    padding: 0;
}

.form-inline .bootstrap-select.btn-group .form-control
{
    width: 100%;
}

.bootstrap-select.btn-group.disabled,
.bootstrap-select.btn-group > .disabled
{
    cursor: not-allowed;
}

.bootstrap-select.btn-group.disabled:focus,
.bootstrap-select.btn-group > .disabled:focus
{
    outline: none !important;
}

.bootstrap-select.btn-group.bs-container
{
    position: absolute;
}

.bootstrap-select.btn-group.bs-container .dropdown-menu
{
    z-index: 1060;
}

.bootstrap-select.btn-group .dropdown-toggle .filter-option
{
    display: inline-block;
    overflow: hidden;
    width: 100%;
    text-align: left;
}

.bootstrap-select.btn-group .dropdown-toggle .caret
{
    position: absolute;
    top: 50%;
    right: 12px;
    margin-top: -2px;
    vertical-align: middle;
    color: #999;
}

.bootstrap-select.btn-group[class*="col-"] .dropdown-toggle
{
    width: 100%;
}

.bootstrap-select.btn-group .dropdown-menu
{
    min-width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.bootstrap-select.btn-group .dropdown-menu.inner
{
    position: static;
    float: none;
    border: 0;
    padding: 0;
    margin: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.bootstrap-select.btn-group .dropdown-menu li
{
    position: relative;
}

.bootstrap-select.btn-group .dropdown-menu li.active small
{
    color: #FFF;
}

.bootstrap-select.btn-group .dropdown-menu li.disabled a
{
    cursor: not-allowed;
}

.bootstrap-select.btn-group .dropdown-menu li a
{
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.bootstrap-select.btn-group .dropdown-menu li a.opt
{
    position: relative;
    padding-left: 2.25em;
}

.bootstrap-select.btn-group .dropdown-menu li a span.check-mark
{
    display: none;
}

.bootstrap-select.btn-group .dropdown-menu li a span.text
{
    display: inline-block;
}

.bootstrap-select.btn-group .dropdown-menu li small
{
    padding-left: 0.5em;
}

.bootstrap-select.btn-group .dropdown-menu .notify
{
    position: absolute;
    bottom: 5px;
    width: 96%;
    margin: 0 2%;
    min-height: 26px;
    padding: 3px 5px;
    background: #F5F5F5;
    border: 1px solid #E3E3E3;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    pointer-events: none;
    opacity: 0.9;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.bootstrap-select.btn-group .no-results
{
    padding: 3px;
    background: #F5F5F5;
    margin: 0 5px;
    white-space: nowrap;
}

.bootstrap-select.btn-group.fit-width .dropdown-toggle .filter-option
{
    position: static;
}

.bootstrap-select.btn-group.fit-width .dropdown-toggle .caret
{
    position: static;
    top: auto;
    margin-top: -1px;
    color: #E58E2A;
}

.bootstrap-select.btn-group.show-tick .dropdown-menu li.selected a span.check-mark
{
    position: absolute;
    display: inline-block;
    right: 15px;
    margin-top: 5px;
}

.bootstrap-select.btn-group.show-tick .dropdown-menu li a span.text
{
    margin-right: 34px;
}

.bootstrap-select.show-menu-arrow.open > .dropdown-toggle
{
    z-index: 1061;
}

.bootstrap-select.show-menu-arrow .dropdown-toggle:before
{
    content: '';
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid rgba(204, 204, 204, 0.2);
    position: absolute;
    bottom: -4px;
    left: 9px;
    display: none;
}

.bootstrap-select.show-menu-arrow .dropdown-toggle:after
{
    content: '';
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid white;
    position: absolute;
    bottom: -4px;
    left: 10px;
    display: none;
}

.bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:before
{
    bottom: auto;
    top: -3px;
    border-top: 7px solid rgba(204, 204, 204, 0.2);
    border-bottom: 0;
}

.bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:after
{
    bottom: auto;
    top: -3px;
    border-top: 6px solid white;
    border-bottom: 0;
}

.bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:before
{
    right: 12px;
    left: auto;
}

.bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:after
{
    right: 13px;
    left: auto;
}

.bootstrap-select.show-menu-arrow.open > .dropdown-toggle:before,
.bootstrap-select.show-menu-arrow.open > .dropdown-toggle:after
{
    display: block;
}

.bs-searchbox,
.bs-actionsbox,
.bs-donebutton
{
    padding: 4px 8px;
}

.bs-actionsbox
{
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.bs-actionsbox .btn-group button
{
    width: 50%;
}

.bs-donebutton
{
    float: left;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.bs-donebutton .btn-group button
{
    width: 100%;
}

.bs-searchbox + .bs-actionsbox
{
    padding: 0 8px 4px;
}

.bs-searchbox .form-control
{
    margin-bottom: 0;
    width: 100%;
    float: none;
}

.bootstrap-select .btn
{
    text-transform: none;
}

/* buttons for shop radios */

.btn-primary-size
{
    background-color: #FFF;
    border-color: #808284;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background-image: none;
    color: #808284;
    text-transform: uppercase;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    width: 50%;
    margin-top: -1px;
}

.btn-primary-size:first-child
{

}

.btn-primary-size:hover, .btn-primary-size:focus
{
    background-color: #FFF;
    border-color: #808284;
    color: #FF9E14;
}

.btn-primary-size:active, .btn-primary-size.active
{
    background-color: #F2F2F2;
    border-color: #808284;
    color: #FF9E14;
}

.btn-primary-size.disabled:hover, .btn-primary-size.disabled:focus, .btn-primary-size.disabled:active, .btn-primary-size.disabled.active, .btn-primary[disabled]:hover, .btn-primary-size[disabled]:focus, .btn-primary[disabled]:active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary-size:hover, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary-size:active, fieldset[disabled] .btn-primary-size.active
{
    background-color: #FD9D2E;
    border-color: #FD9D2E;
}

.mattress-overview h1
{
    text-align: center;
    font-size: 2.143em;
    margin-bottom: 4px;
}

.mattress-add-ons > div
{
    border: 1px solid #808284;
    padding: 4px;
}

.mattress-add-ons img.q
{
    width: 16px;
    height: 16px;
    margin-left: 5px;
    vertical-align: -1px
}

.mattress-add-ons .price
{
    display: block;

}

.mattress-add-cart
{
    text-align: center;
}

.mattress-add-cart .price
{
    font-size: 1.714em;
}

.promise-text
{
    margin-top: 30px;
    margin-bottom: 30px;
}

.promise-text img
{
    margin-right: 30px;
    float: left !important;
}

.promise-text h3
{
    font-size: 3.571em;
    color: #808284;
}

.btn-breadcrumb
{
    width: 100%;
    margin-top: 2px;
}

.thanks-down
{
    position: relative;
    top: 40px;
    z-index: 1000;
}

.comparison-table .table-bordered
{
    border-bottom: 1px solid #DDD;
    border-top: none;
    border-left: none;
    border-right: none;
}

.comparison-table
{
    padding-right: 2px;
    padding-left: 2px;
}

.comparison-table .table-bordered td
{
    border-top: 1px solid #DDD;
    border-left: 1px solid #DDD;
}

.comparison-table .table-bordered td:last-child
{
    border-right: 1px solid #DDD;
}

.comparison-table .table-bordered th
{
    border-top: 1px solid #DDD;
    border-left: 1px solid #DDD;
}

.comparison-table .table-bordered .nobox th
{
    border: none;
}

.btn-breadcrumb .btn:not(:last-child):after
{
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
    border-left: 10px solid white;
    position: absolute;
    top: 50%;
    margin-top: -17px;
    left: 100%;
    z-index: 3;
}

.btn-breadcrumb .btn:not(:last-child):before
{
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
    border-left: 10px solid rgb(173, 173, 173);
    position: absolute;
    top: 50%;
    margin-top: -17px;
    margin-left: 1px;
    left: 100%;
    z-index: 3;
}

.btn-breadcrumb .btn
{
    padding: 8px 12px 8px 24px;
    text-transform: uppercase;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    width: 33%;
}

.btn-breadcrumb .btn.disabled
{
    opacity: 1;
}

.btn-breadcrumb .btn:first-child
{
    padding: 8px 6px 8px 10px;
}

.btn-breadcrumb .btn:hover
{
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.btn-breadcrumb .btn:last-child
{
    padding: 8px 18px 8px 24px;
    width: 34%;
}

.btn-breadcrumb .show
{
    color: #FF9E14;
}

/** Default button **/
.btn-breadcrumb .btn.btn-default:not(:last-child):after
{
    border-left: 10px solid #FFF;
}

.btn-breadcrumb .btn.btn-default:not(:last-child):before
{
    border-left: 10px solid #CCC;
}

.btn-breadcrumb .btn.btn-default:hover:not(:last-child):after
{
    border-left: 10px solid #EBEBEB;
}

.btn-breadcrumb .btn.btn-default:hover:not(:last-child):before
{
    border-left: 10px solid #ADADAD;
}

.thanks-text
{
    margin-bottom: 30px;
}

.thanks-text a.email
{
    color: #FD9D2E;
    text-transform: uppercase;
}

.thanks-text a.phone
{
    color: #808284;
}

.thanks-text ul.contact
{
    font-size: 1.429em;
}

.thanks-text a.phone:hover
{
    text-decoration: none;
}

.footer-newsletter
{
    margin-bottom: .7em;
}

.footer-newsletter .gform_wrapper .top_label .gfield_label
{
    display: none;
}

.footer-newsletter .gform_wrapper
{
    margin-top: -10px;
}

footer .gform_wrapper .gform_footer input[type=submit]
{
    font-weight: 600;
    background-color: #546E7A;
    padding: 8px 40px;
    font-size: 22px;
    line-height: 1.4em;
}

.footer-newsletter .gform_button:hover,
.footer-newsletter .gform_button:focus,
.footer-newsletter .gform_button:active,
.footer-newsletter .gform_button.active,
.open .dropdown-toggle.gform_button
{
    background-color: #546E7A;
    color: #FFF;
}

.footer-newsletter .gform_wrapper .button:hover,
.footer-newsletter .gform_button:hover,
.footer-newsletter .gform_button:focus
{
    opacity: 0.8;
}

.footer-newsletter .ginput_container
{
    display: inline-block;
    float: left;
    width: 62%;
}

.footer-newsletter .gform_wrapper .gform_footer
{
    display: inline-block;
    float: left;
    width: auto;
    padding: 0;
    margin: .375em 0 0 12px;
    clear: none;
}

.footer-newsletter .input#gform_submit_button_2.gform_button.button
{
    float: right;
}

/* newsletter modal */

.close
{
    font-size: 20px;
    font-weight: 700;
    color: #666;
    text-shadow: none;
    filter: alpha(opacity=20);
    opacity: .8;
    text-transform: none;
}

.subfooter ul li {
    display: inline;
}

.modal-header .close
{
    margin-top: -3px;
}

.close:hover, .close:focus
{
    color: #512B44;
    opacity: 1;
}

.modal-header, .modal-footer
{
    border: none;
}

.modal-content h1
{
    font-weight: 700;
    font-size: 30px;
}

.modal-content p
{
    font-size: 16px;
}

.modal-body .gfield_label
{
    display: none;
}

.modal-body .gform_wrapper .button, .modal-body .gform_button
{
    border-color: #FD9D2E;
    background-color: #FDA641;
    border-radius: 0;
}

.modal-body .gform_wrapper .signup .button, .modal-body .signup .gform_button
{
    width: 100%;
}

.modal-body .gform_button:hover, .modal-body .gform_button:focus, .modal-body .gform_button:active, .modal-body .gform_button.active, .modal-body .open .dropdown-toggle.gform_button
{
    border-color: #FDA641;
    background-color: #FDA641;
    color: #FFF;
}

.modal-body .gform_wrapper .button:hover, .modal-body .gform_button:hover, .modal-body .gform_button:focus
{
    border-color: #FDA641;
    background-color: #FDA641;
    color: #FFF;
}

.woocommerce #respond .modal-body input#submit, .woocommerce .modal-body a.button, .woocommerce .modal-body button.button, .woocommerce .modal-body input.button
{
    color: #FFF;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 20px;
    border: 1px solid #FD9D2E;
    font-weight: 400;
}

.modal-body .ginput_container
{
    display: inline-block;
    float: left;
}

.modal-body .gform_footer
{
    display: inline-block;
    float: left;
    margin-bottom: 0;
}

.modal-body .input#gform_submit_button_1.gform_button.button
{
    float: right;
    border-radius: 0;
}

.ginput_container input, .ginput_container select, .ginput_container textarea
{
    border-radius: 0;
}

.modal
{
    text-align: center;
    padding: 0 !important;
}

.modal:before
{
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -4px;
}

.modal-dialog
{
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

/* inside of wp_head(), we're going to hide tracking pixels offscreen */
.pixel
{
    position: absolute;
    top: -50px;
    left: -50px;
}

/* also hide the tracking pixels in the footer */

#tracking-pixels
{
    position: absolute;
    top: -100px;
    left: -100px;
}

button.alm-load-more-btn
{
    font-weight: 400;
    background: #FFF;
    color: #808080;
    border: 1px solid #D7D7D8;
}

button.alm-load-more-btn:hover
{
    background: #F4F5F5;
    color: #808080;
    text-decoration: none;
}

/* Temporary Removal of Variation selection while Products have none */
table.variations.rb {
    display: none;
}
div.home-reviews {
	display:none;
}

.product-cat-hero {
    height: 400px;
    background-size: cover;
    background-repeat: no-repeat;
}

#foam-product-cat .product-cat-hero {
    background-position-y: 14%;
}

#innerspring-product-cat .product-cat-hero {
    background-position-y: 30%;
}

#pocketedspring-product-cat .product-cat-hero {
    background-position-y: 40%;
}

.product-cat-hero h1 {
    color: rgb(49, 43, 127);
    text-align: center;
    padding-top: 45px;
    font-size: 48px;
    margin-top: 0;
}

.product-cat-text {
    margin: 0 auto;
}

.product-cat-text p {
    color: rgb(49, 43, 127);
    text-align: center;
    padding: 25px 25%;
    font-size: 18px;
    line-height: 1.39;
}

.tax-product_cat .carousel-indicators {
    list-style-type: circle;
}

.tax-product_cat .carousel-indicators li {
    border: 1px solid #312b7f;
}

.tax-product_cat .carousel-indicators li.active {
    background-color: #312b7f;
}

.tax-product_cat .carousel.slide {
    padding-bottom: 80px;
}

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    border: none !important;
    margin: 0 1% 2.992em 1% !important;
    padding: 25px !important;
    text-align: center;
}

.woocommerce ul.products li.product:hover, .woocommerce-page ul.products li.product:hover {
    border: none !important;
}

.woocommerce ul.products {
    border-top: none !important;
    padding-top: 0 !important;
}

.woocommerce-loop-product__title {
    font-size: 20px;
    color: rgb(49, 43, 127);
    line-height: 1.35;
    padding: 0.3em 0px 0px 0 !important;
}

.woocommerce-product-details__short-description {
    margin-top: 15px;
    font-size: 18px;
    color: rgb(100, 100, 100);
}

.woocommerce img {
    max-width: 90%;
    margin: 0 10%;
}

.product-price-range {
    font-size: 18px;
    color: rgb(49, 43, 127);
    margin-top: 15px;
}

.features-header {
    font-size: 24px;
    text-align: center;
    text-transform: uppercase;
    padding-top: 50px;
    margin-bottom: 51px;
    color: rgb(146, 137, 183);
}

.features-list-header {
    color: rgb(49, 43, 127);
    text-align: center;
    font-size: 20px;
}

.features-list {
    padding: 15px 15px 50px 75px;
}

.features-list li {
    color: rgb(100, 100, 100);
    font-size: 18px;
    line-height: 1.65;
}

.features-list-image {
    width: 75%;
    margin: 0 auto;
    display: block;
}

.other-category-container-row {
    padding-bottom: 60px;
    color: white;
}

.other-category-container-column {
    height: 545px;
    text-align: center;
}

.other-category-container-row div:first-child {
    background-color: rgb(136, 211, 232);
    padding-left: 51px;
    padding-right: 38px;
    padding-top: 77px;
}

.other-category-container-row div:last-child {
    background-color: rgb(146, 137, 183);
    padding-left: 82px;
    padding-right: 97px;
    padding-top: 77px;
}

.other-category-container-column h3 {
    font-size: 24px;
    line-height: 1.75;
    font-weight: 200;
    color: white;
    text-transform: uppercase;
}

.other-category-container-column p {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.61;
}

.other-category-container-column a, .northeast-modal a {
    font-size: 22px;
    color: #312b7f;
    text-align: center;
    padding-top: 12px;
    width: 250px;
    height: 53.1px;
    border-radius: 9px;
    background-color: #fff;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3);
    margin-left: auto;
    margin-right: auto;
    margin-top: 35px;
    display: block;
}

.other-category-container-column a:hover, .northeast-modal a:hover {
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
}

.northeast-modal a {
    width: 180px;
}

#headerbuttons .storebutton {
    margin-top: 22px;
}

.storebutton, .shopbutton {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3);
}

.storebutton:hover, .shopbutton:hover {
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
}

.storebutton a:hover {
    color: #e0e0e0;
}

.product-cat .we-are-here-to-help {
    background: #fff !important;
}

a.social-icon {
    cursor: pointer;
}
a:hover svg #facebook {
    fill: #fff;
}
a:hover svg #youtube {
    fill: #fff;
}
a:hover svg #twitter {
    fill: #fff;
}

.social-icon {
    cursor: pointer;
}

.social-icon div {
    background-size: cover;
    height: 20px;
}

#facebook-icon {
    width: 14px;
    height: 25px;
    background-image: url('../images/facebook.svg');
}

#facebook-icon:hover {
    width: 14px;
    height: 25px;
    background-image: url('../images/facebook_hover.svg');
}

#twitter-icon {
    width: 25px;
    background-image: url('../images/twitter.svg');
}

#twitter-icon:hover {
    width: 25px;
    background-image: url('../images/twitter_hover.svg');
}

#youtube-icon {
    width: 27px;
    background-image: url('../images/youtube.svg');
}

#youtube-icon:hover {
    width: 27px;
    background-image: url('../images/youtube_hover.svg');
}

/* Custom, iPhone Retina */
@media only screen and (min-width: 320px)
{

    body
    {
        padding-top: 54px;
    }

    h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6
    {
        font-size: 1.857em;
    }

    .h2
    {
        font-size: 1em;
        line-height: 1.429em;
    }

    h3, .h3
    {
        font-size: 1.1em;
        font-weight: bold;
        color: #4b4c4d;
    }

    .navbar-brand
    {
        position: absolute;
        left: 15px;
        top: 16px;
        text-align: left;
        margin: auto;
    }

    .navbar-brand img
    {
        margin: 0 auto;
        width: 200px;
        height: auto;
    }

    /*.jumbotron
    {
        height: 300px;
        min-height: 300px;
    }*/

    .jumbotron.thanks-page
    {
        margin-top: -40px;
    }

    .page-header
    {
        padding: 15px;
    }

    .page-header h2
    {
        font-size: 2.143em;
    }

    .giving h2
    {
        font-size: 24px;
    }

    .btn-lg
    {
        padding-left: 20px;
        padding-right: 20px;
        font-size: 1em;
        font-weight: 700;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
    }

    .iconset
    {
        border-bottom: 1px solid #CCC;
        padding-bottom: 15px;
    }

    .review-header .average-stars
    {
        display: block;
        padding-top: 6px;
    }

    .review-header img
    {
        margin-right: 5px;
    }

    .call-us-now
    {
        position: fixed;
        bottom: 0;
        padding: 0;
        margin: 0;
        font-size: 18px;
        color: #FFF;
        width: 100%;
        text-align: center;
        z-index: 100;
    }

    .call-us-now i
    {
        margin-right: 5px;
    }

    .call-us-now a
    {
        color: #FFF;
        font-weight: 700;
        text-transform: uppercase;
        background: #B9D62D;
        padding: 10px 30px 5px;
        display: inline-block;
    }

    .call-us-now a:hover
    {
        text-decoration: none;
    }

    .signup
    {
        width: 100%;
    }

    .modal-body .ginput_container
    {
        width: 60%;
    }

    .modal-body .gform_footer
    {
        width: 40%;
    }

    .instagram-review-photos ul > li
    {
        padding-bottom: 15px;
    }

    .faq-header
    {
        margin-bottom: -88px
    }

}

/* Extra Small Devices, Phones */
@media only screen and (min-width: 480px)
{

    .btn-breadcrumb
    {
        width: 100%;
        margin-top: 0
    }

    .shop-badge-text
    {
        padding-top: 20px;
    }

    .signup
    {
        width: 80%;
    }

    .modal-body .ginput_container
    {
        width: 80%;
    }

    .modal-body .gform_footer
    {
        width: 20%;
    }

    .instagram-review-photos ul > li:nth-child(even)
    {
        padding-left: 7.5px;
    }

    .instagram-review-photos ul > li:nth-child(odd)
    {
        padding-right: 7.5px;
    }

    .footer .row [class^="col-"]
    {
        padding-bottom: 20px;
    }

    .home-jumbo
    {
        background-position: bottom;
    }

    .home-free-shipping img
    {
        margin-top: 30px;
    }

    .share-posts-box
    {
        margin-left: 0;
    }

    .stylish-input-group
    {
        width: 100%;
    }

    .review-pagination
    {
        text-align: center;
        padding-bottom: 15px;
    }

    .review-add-button
    {
        text-align: center;
    }

    .faq-header
    {
        margin-bottom: -88px
    }

    .faqpage .dreamsearchform
    {
        margin-bottom: 15px;
        margin-top: 0;
    }

}

@media only screen and (max-width: 768px)
{

    .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
        width: 100% !important;
    }
    #headertext {
        padding-top: 20px;
    }

    #headerbuttons {
        text-align: center;
        padding-top: 66px;
    }
        #headerbuttons div {
            float: none;
            width: 250px;
            margin-left: auto;
            margin-right: auto;
        }
    .title {
        margin-top:0;
        font-size:30px;
        text-align:center;
    }
    .subtitle {
        color: white;
        line-height: 1.39;
        font-size: 18px;
        text-align:center;
    }
    .categoriestitle {
        font-size: 36px;
        color: #9289b7;
        font-weight: 200;
        text-transform: uppercase;
    }

    .categoriessubtitle {
        padding-left: 7.81%;
        padding-right: 7.81%;
    }
    .es_textbox {
        display: inline-block;
        width: 241px;
    }

    .es_textbox_class {
        width: 241px;
    }
    .shopbutton {
        font-size: 22px;
        color: #ffffff;
        padding-top: 9px;
        width: 250px;
        height: 53.1px;
        border-radius: 9px;
        background-color: #312b7f;
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3)
    }
    .shopbutton a {
        color:white;
    }
        .shopbutton:hover {
           box-shadow: 0px 2px 4px rgba(0,0,0,.5);
        }

    .storebutton {
        font-size: 22px;
        width: 250px;
        height: 53.1px;
        border-radius: 9px;
        border: solid 2px #ffffff;
        padding-top: 9px;
        background-color: #fff;
    }
        .storebutton a {
            color: #312b7f;
        }
    #locationpin {
        fill: #312b7f;
    }
    .greysub {
        padding-bottom: 11px;
        padding-top: 5px;
        text-align: center;
    }
    .menuheaderpadding {
        padding-top: 0px;
    }
    .sleepyexperience {
        height: 545px;
        background-color: #9289b7;
        text-align: center;
        padding-left: 51px;
        padding-right: 38px;
        padding-top: 77px;
    }
        .sleepyexperience h3 {
            font-size: 24px;
            line-height: 1.75;
            font-weight: 200;
            color: white;
            text-transform: uppercase;
        }

    .homexperience {
        height: 545px;
        background-color: #312b7f;
        text-align: center;
        padding-left: 82px;
        padding-right: 97px;
        padding-top: 77px;
    }
    .homexperience h3 {
        font-size: 24px;
        line-height: 1.75;
        font-weight: 200;
        color: white;
        text-transform: uppercase;
    }
    .sleepytext {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.61;
    }
    .sleepystorebtn {
        padding-top: 12px;
        width: 250px;
        height: 53.1px;
        border-radius: 9px;
        background-color: #ffffff;
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3);
        margin-left: auto;
        margin-right: auto;
		margin-top:25px;
    }
        .sleepystorebtn a {
            display: block;
            font-size: 22px;
            color: #312b7f;
        }
    .sleepyhomebtn {
        padding-top: 9px;
        width: 250px;
        height: 53.1px;
        border-radius: 9px;
        background-color: #ffffff;
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3);
        margin-left: auto;
        margin-right: auto;
		margin-top:25px;
    }
        .sleepyhomebtn a {
            color: #312b7f;
            font-size: 22px;
        }
    .product-cat-hero h1 {
        font-size: 24px;
    }
    .product-cat-text p {
        display: none;
    }
    .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
        margin: 0 0 2.992em 0 !important;
    }
}
.menuheaderpadding {
    display: none;
}
    .categorybuttons {
        font-size: 22px;
        color: #312b7f;
        padding-top: 12px;
        width: 120px;
        height: 53.1px;
        border-radius: 9px;
        background-color: #ffffff;
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3);
        margin-left: auto;
        margin-right: auto;
    }
    .categorylist {
        margin-top:30px;
    }
    .mobilesleepysabout {
        display:block;
    }
    .desktopsleepysabout {
        display:none;
    }
    .videodesktop {
        display:none;
    }
    .videomobile {
        display:block;
    }


/* Small Devices, Tablets */
@media only screen and (min-width: 768px)
{
    body
    {
        padding-top: 70px; /* this is for the fixed navbar - take out if not using */
    }

    .design-page .h2
    {
        font-size: 2.143em;
    }

    .navbar-brand
    {
        position: absolute;
        width: 100%;
        text-align: center;
        margin: auto;
        top: 25px;
    }

    .navbar-brand img
    {
        margin: 0 auto;
        width: 200px;
        height: auto;
    }

    .navbar-nav > li > a
    {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .btn-lg
    {
        padding-left: 30px;
        padding-right: 30px;
        font-size: 1.25em;
        font-weight: 400;
    }

    .page-header h2
    {
        font-size: 2.857em;
    }

    .footer
    {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .footer .footer-nav li:first-child,
    .footer .footer-nav li:nth-child(2),
    .footer .footer-nav li:nth-child(3)
    {
        display: block;
    }

    .footer-social h2
    {
        font-size: 2em;
    }

    .shop-badge-text
    {
        padding-top: 0;
    }

    .instagram-review-photos ul > li:nth-child(even)
    {
        padding-left: 15px;
        padding-right: 15px;
    }

    .instagram-review-photos ul > li:nth-child(odd)
    {
        padding-left: 15px;
        padding-right: 15px;
    }

    .as-seen-on
    {
        width: 200px;
        height: auto;
    }

    .home-jumbo
    {
        background-position: 0 60%;
    }

    .home-free-shipping img
    {
        margin-top: 20px;
    }

    .featured-news p:last-child
    {
        display: block;
    }

    .dreamsearchform
    {
        margin-bottom: 0;
        margin-top: 15px;
        display: inline-block;
    }

    .faqpage .dreamsearchform
    {
        float: right;
        margin-top: 0;
        margin-bottom: 0;
    }

    .dreamsearchform .stylish-input-group
    {
        width: 325px;
    }

    .faqpage .dreamsearchform .stylish-input-group
    {
        width: 205px;
    }

    .blog-search
    {
        display: block;
    }

    .faqpage .nav > li > a
    {
        padding: 10px;
        font-size: 12px;
    }

    .faq-header
    {
        margin-bottom: -39px
    }
    #headertext {
        padding-left: 35px;
        padding-top: 49px;
    }
    #headerbuttons {
        text-align: center;
        padding-top: 66px;
        padding-right: 125px;
    }
        #headerbuttons div {
            float: right;
        }
    .title {
        margin-top: 0;
        font-size: 48px;
        padding-right: 35px;
        text-align:left;
    }
    .subtitle {
        color: white;
        line-height: 1.39;
        font-size: 18px;
        text-align:left;
    }
    .categoriestitle {
        font-size: 36px;
        color: #9289b7;
        font-weight: 200;
        text-transform: uppercase;
    }

    .categoriessubtitle {
        padding-left: 18.67%;
        padding-right: 18.67%;
    }
    .es_textbox {
        display: inline-block;
        width: 402px;
    }

    .es_textbox_class {
        width: 402px;
    }
    .shopbutton {
        font-size: 22px;
        color: #312b7f;
        padding-top: 12px;
        width: 250px;
        height: 53.1px;
        border-radius: 9px;
        background-color: #ffffff;
    }
    .storebutton {
        font-size: 22px;
        width: 250px;
        height: 53.1px;
        border-radius: 9px;
        border: solid 2px #ffffff;
        padding-top: 9px;
    }
    .storebutton a {
        color: #fff;
        text-decoration:none;
    }
    .greysub {
        padding-bottom:17px;
        padding-top: 5px;
        text-align: center;
    }
    .menuheaderpadding {
        padding-top: 29px;
        display:block;
    }
    .sleepyexperience {
        height: 545px;
        background-color: #9289b7;
        text-align: center;
        padding-left: 51px;
        padding-right: 38px;
        padding-top: 77px;
    }

        .sleepyexperience h3 {
            font-size: 24px;
            line-height: 1.75;
            font-weight: 200;
            color: white;
            text-transform: uppercase;
        }

    .homexperience {
        height: 545px;
        background-color: #312b7f;
        text-align: center;
        padding-left: 82px;
        padding-right: 97px;
        padding-top: 77px;
    }

    .homexperience h3 {
        font-size: 24px;
        line-height: 1.75;
        font-weight: 200;
        color: white;
        text-transform: uppercase;
    }

    .sleepytext {
        width: 420px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.61;
    }

    .sleepystorebtn {
        padding-top: 9px;
        width: 250px;
        height: 53.1px;
        border-radius: 9px;
        background-color: #ffffff;
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3);
        margin-left: auto;
        margin-right: auto;
		margin-top:74px;
    }

        .sleepystorebtn a {
            display: block;
            font-size: 22px;
            color: #312b7f;
        }

    .sleepyhomebtn {
        padding-top: 12px;
        width: 250px;
        height: 53.1px;
        border-radius: 9px;
        background-color: #ffffff;
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3);
        margin-left: auto;
        margin-right: auto;
		margin-top:74px;
    }

        .sleepyhomebtn a {
            color: #312b7f;
            font-size: 22px;
        }
    .navbar-collapse {
        display:none;
    }
	.categorybuttons {
		font-size: 22px;
		color: #312b7f;
		padding-top: 9px;
		width: 250px;
		height: 53.1px;
		border-radius: 9px;
	background-color: #ffffff;
		box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3);
		margin-left: auto;
		margin-right: auto;
        margin-bottom: 22px;
	}
	.mobilesleepysabout {
		display: block;
	}

	.desktopsleepysabout {
		display: none;
	}
	.videodesktop {
		display: none;
	}

	.videomobile {
		display: block;
	}
}


/* Medium Devices, Desktops */
@media only screen and (min-width: 992px)
{
	#headertext {
		padding-left:125px;
		padding-top:49px;
	}
	#headerbuttons {
		text-align:center;
		padding-top:66px;
		padding-right: 125px;
	}
	#headerbutton div {
		float:right;
	}
	.title {
		margin-top:0;
		font-size: 48px;
		padding-right:270px;
		text-align:left;
	}
	.subtitle {
		color:white;
		line-height:1.39;
		font-size:18px;
		text-align:left;
	}
    .navbar-brand
    {
        padding-left: 0;
        top: 20px;
    }

    .navbar-brand img
    {
        margin: 0 auto;
        width: 298px;
        height: auto;
    }

    .yamm .yamm-content
    {
        font-size: 18px;
    }

    /*.jumbotron
    {
        height: 480px;
        min-height: 480px;
    }*/

    .page-header
    {
        padding: 25px;
    }

    .footer
    {
        padding-top: 60px;
        padding-bottom: 30px;
    }

    .footer .footer-logo
    {
        width: 210px;
        height: auto;
    }

    .btn-lg
    {
        font-size: 1.2em;
        font-weight: 400;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
        line-height: 1.25em;
    }

    .footer .btn-primary
    {
        padding: 7px 12px;
    }

    .footer .row [class^="col-"]
    {
        padding-bottom: 0;
    }

    .review-pagination
    {
        text-align: left;
        padding-bottom: 0;
    }

    .review-add-button
    {
        text-align: right;
    }

    .home-jumbo
    {

    }

    .home-free-shipping img
    {
        margin-top: 20px;
    }

    .home-reviews .review-stars img
    {
        height: 15px;
        width: auto;
    }

    .featured-news h2
    {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .featured-news p
    {
        display: block;
    }

    .share-posts-box
    {
        margin-left: auto;
        margin-right: auto;
    }

    .share-posts
    {
        text-align: center;
    }

    .faqpage .dreamsearchform
    {
        float: right;
        margin-top: 10px;
    }

    .faqpage .dreamsearchform .stylish-input-group
    {
        width: 325px;
    }

    .faq-header
    {
        margin-bottom: -62px
    }

    .mattress-bg img
    {
        margin: 0 auto 80px auto;
    }

    .mattress-bg h1
    {
        top: 25px;
    }

    .faqpage .nav > li > a
    {
        padding: 20px;
        font-size: 14px;
    }

}

/* Large Devices, Wide Screens */
@media only screen and (min-width: 1200px)
{

    .home-free-shipping img
    {
        margin-top: 10px;
    }

}

/* Retina-specific stuff here */

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)
{

}

.title {
    color: white;
}

a:hover {
    color: #646464;
    text-decoration:none;
}
.extralinks {
    background-color: #f1f1f1;
    padding-left: 30px;
    padding-top: 10px;
}
.extrafooterlinks {
    padding-left: 0;
}
    .extrafooterlinks li {
        padding-right: 8px;
    }
        .extrafooterlinks li a {
            font-size: 14px;
            color: #646464;
            font-weight: 200;
        }
        .extrafooterlinks li span {
            font-size: 14px;
            color: #646464;
            font-weight: 200;
        }

.categoryheaders {
    font-size: 24px;
    text-transform: uppercase;
    display: block;
    color: #9289b7;
}

.sidebarcontent {
    display:none;
}
.activemenu {
    -webkit-transition: width 2s; /* Safari */
    transition: width 2s;
}
.sidebarcontent.activemenu {
    display:inline;
}
.activeoverlay {
    background-color: rgba(74, 74, 74, 0.8);
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 200;
    overflow: hidden;
    top: 0;
}
.sidebar-left {
    padding: 15px;
}
.truesitecontent {
	padding-right: 0;
}
.row {
	margin-right: 0;
}
.sidebar-col-xs-6 {
	overflow-x:hidden;
	padding-left:0;
	width:50%;
}
html, body {
	max-width: 100% !important;
	overflow-x: hidden !important;
}

body {
	padding-top: 0;
}


#homehero {
	background-repeat:no-repeat!important;
	background-size:cover!important;
	width:100%!important;
	min-height:700px!important;
	background-position-x: center!important;
	background-position-y: 90%!important;
	overflow:auto!important;
}

.big-home-image {
	display:block;
	margin: 0 auto;
	width: 100%;
}

.home-image-container {
	margin-right: -15px;
	margin-left: -15px;
	padding: 0;
}

.videodesktop {
	padding: 0;
}

.videomobile {
	padding: 0;
	margin-left: -15px;
    margin-right: -15px;
}

.move-left-30 {
	padding-left: 30px;
}
.move-left-15 {
	padding-left: 15px;
}

.move-both-30-15 {
	padding-left: 30px;
	padding-right: 15px;
}


.footer-menu {
	line-height: 2.2;
}
.footer-menu a {
	font-weight: 200;
	color: #646464;
}

ul.sidebar-menu {
	padding-left:0;
	padding-right:0;
}
ul.sidebar-menu .sub-menu li {
	line-height: 1.2;
	padding-bottom: 20px;
}
#headerphone {
	white-space: nowrap;
}
 
@media (min-width: 768px){ 
	.navbar-brand img {
		width:115px!important;
		height:34px!important;
		float:left!important;
	}
}
@media (max-width: 768px){
	.navbar-brand img {
		width:115px!important;
		height:34px!important;
	}
	.other-category-container-row div:last-child {
		padding-left: 50px;
		padding-right: 35px;
	}
}

@media (max-width: 1050px){
	.menuheaderpadding {
		/*padding-left: 80px;*/
		/*width: 50%;*/
	}
}

@media only screen and (max-width: 768px){
	.homexperience {
	    height: auto; 
	    background-color: #312b7f;
	    text-align: center;
	    padding-left: 30px; 
	    padding-right: 15px; 
	    padding-top: 77px;
	    padding-bottom: 40px;
	}
	#homehero {
		min-height:530px !important;
		height:530px !important;
		background-position-y: 20%!important;
	}
}

@media (max-width: 320px){
	#es_txt_email_pg, #es_txt_button_pg {
		border-radius: 9px;
	}
}

@media only screen and (min-width: 992px) {
	#headertext {
		padding-left: 0;
		padding-top: 0;
	}
	.title {
		padding-right: 0;
	}
}

@media only screen and (min-width: 768px) {
	#headertext {
		padding-left: 0;
		padding-top: 40px;
	}
	.title {
		padding-right: 0;
	}
}



body
{
    color: #808284;
}

body.single-product .woocommerce-breadcrumb
{
    display: none;
}

a {
    color: #312b7f;
    text-decoration: none;
}

#main .woocommerce
{
    margin-bottom: 40px;
}

.woocommerce #respond input#submit,
.woocommerce a.button, .woocommerce button.button,
.woocommerce input.button
{
    border-radius: 0;
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt
{
    background-color: #FF9E14;
}

.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover
{
    background-color: #808284;
}

.woocommerce .orderby-div .woocommerce-ordering, .woocommerce-page .orderby-div .woocommerce-ordering
{
    float: none;
}

.single_variation_wrap .woocommerce button.button
{
    margin: 10px;
    
}

.orderby-div
{
    margin: 20px 15px;
}

.bootstrap-select .btn
{
    border-radius: 0;
}

.shopping-categories
{
    font-size: 16px;
    color: #000;
    margin-top: 20px;
}

.shopping-categories a
{
    color: #000;
}

.shopping-categories h5
{
    font-family: 'Lato Light', sans-serif;
    display: inline-block;
    float: left;
    padding: 2px 15px 2px 0;
}

.woocommerce ul.products
{
    border-top: 2px solid #F3F3F3;
    padding-top: 50px;
    margin-bottom: 30px;
}

/* make this behave like bootstrap col-4 - see width below */
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product
{
    padding: 15px;
    margin: 0;
    border: 2px solid #FFF;
}

.woocommerce ul.products li.product:hover, .woocommerce-page ul.products li.product:hover
{
    border-color: #CCC;
}

.woocommerce ul.products li.product a img
{
    width: 90%;
    margin: 0 auto 15px;
}

.woocommerce ul.products li.product h3
{
    font-size: 14px;
}

.woocommerce ul.products li.product .price
{
    text-decoration: none;
    font-size: 20px;
    color: #000;
}

.woocommerce ul.products li.product .price ins
{
    display: inline-block;
    text-decoration: none;
    font-weight: 400;
    font-family: 'Lato', sans-serif;
}

.woocommerce ul.products li.product .price del
{
    display: inline-block;
    padding-left: 10px;
    font-size: 14px;
}

.woocommerce .star-rating
{
    color: #FAAF4C;
}

.on-sale
{
    display: block;
    font-style: italic;
    color: #F00;
    font-size: 16px;
}

.woocommerce nav.woocommerce-pagination
{
    text-align: right;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.woocommerce nav.woocommerce-pagination ul
{
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li
{
    border: none;
}

a.page-numbers, span.page-numbers
{
    border: none;
    color: #000;
}

.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span
{
    padding: 12px 15px;
}

.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover
{
    background: #EEE;
    color: #000;
}

.woocommerce nav.woocommerce-pagination ul li span.current
{
    background: #512641;
    color: #FFF;
}

/* Icons */

.woocommerce .woocommerce-message::before
{
    color: #FF9E14;
}

.woocommerce .woocommerce-info
{
    border-top-color: #FF9E14;
}

.woocommerce .woocommerce-info:before
{
    color: #FF9E14;
}

/*--------------------------------------------------------------
# Product Page
--------------------------------------------------------------*/

.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images
{
    float: none;
    width: 100%;
}

.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary
{
    float: none;
    width: 100%;
    background-color: #EEE;
    padding: 10px 20px;
    color: #000;
}

.woocommerce-page div.product div.summary .logo img
{
    height: 14px;
    width: auto;
}

.summary-contact
{
    color: #6B8398;
    font-size: 18px;
    font-weight: bold;
}

.product-top-row
{
    padding-top: 46px;
    padding-bottom: 46px;
}

.woocommerce div.product .product_title
{
    font-size: 32px;
    margin-top: 10px;
    margin-bottom: 0;
}

.star-rating .woocommerce-review-link
{
    color: #FAAF4C;
}

.mattress-overview
{
    padding-left: 60px;
    padding-right: 65px;
    padding-top: 32px;
}

.mattress-overview .short-description
{
    text-align: center;
    padding-bottom: 10px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title
{
    font-size: 20px;
}

.woocommerce ul.products li.first,
.woocommerce-page ul.products li.first
{
    clear: none;
}

/* get rid of some stuff so i can woocommerce tabs act like bootstrap nav pills */

.woocommerce div.product .woocommerce-tabs
{

}

.woocommerce div.product .woocommerce-tabs ul.tabs
{
    padding: 0 0 30px;
    margin: 0 0 30px;
    border-bottom: 1px solid #CCC;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active
{
    border: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active:before
{
    box-shadow: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li
{
    border: none;
    background-color: #FFF;
    display: inline-block;
    position: relative;
    z-index: 0;
    border-radius: 0;
    margin: 0;
    padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li:before
{
    left: 0;
    -webkit-border-bottom-right-radius: 0;
    -moz-border-bottom-right-radius: 0;
    border-bottom-right-radius: 0;
    border-width: 0;
    box-shadow: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active:after
{
    box-shadow: -2px 2px 0 #FFF;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li:after, .woocommerce div.product .woocommerce-tabs ul.tabs li:before
{
    border: none;
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    content: "";
}

.woocommerce div.product .woocommerce-tabs ul.tabs li:after
{
    right: 0;
    -webkit-border-bottom-left-radius: 0;
    -moz-border-bottom-left-radius: 0;
    border-bottom-left-radius: 0;
    border-width: 0;
    box-shadow: -none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs:before
{
    border-bottom: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a
{
    padding: 10px 15px;
    font-weight: 400;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a
{
    color: #000;
}

.woocommerce div.product .woocommerce-tabs .panel
{
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding: 0 25px;
}

.woocommerce div.product .woocommerce-tabs .panel > h3:first-child
{
    margin-top: 0;
}

.woocommerce #reviews h3
{
    margin-bottom: 1em;
}

.woocommerce #reviews h3#reply-title
{
    font-size: 18px;
    margin-bottom: .3em;
}

.woocommerce div.product .woocommerce-tabs .panel .faq
{
    margin: 10px 0;
    padding: 0 0 10px;
    border-top: 1px solid #EEE;
}

.woocommerce div.product form.cart
{
    margin-bottom: 0;
}

.woocommerce div.product form.cart .variations label
{
    color: #000;
    font-size: 16px;
    font-weight: bold;
    line-height: 22px;
}

.woocommerce div.product form.cart .variations select#pa_size
{
    display: none;
}

.woocommerce div.product form.cart .variations .bootstrap-select
{
    width: 100%;
}

/* Product Slider Image */
/*
.woocommerce #content div.product div.images,
.woocommerce div.product div.images,
.woocommerce-page #content div.product div.images,
.woocommerce-page div.product div.images {
    float: left;
    width: 100%;
}
*/
.woocommerce #content div.product div.thumbnails a,
.woocommerce div.product div.thumbnails a,
.woocommerce-page #content div.product div.thumbnails a,
.woocommerce-page div.product div.thumbnails a
{
    float: left;
    width: 100%;
    margin-right: 3.8%;
    margin-bottom: 1em;
}

#product-slider
{
    z-index: 100;
}

#product-slider .carousel-indicators
{
    bottom: 0;
}

.carousel-link .thumb
{
    width: calc(10% - 10px);
    cursor: pointer;
    float: left;
    margin-right: 10px;
    margin-top: 10px;
}

.woocommerce div.product div.images .carousel-link .thumb img
{
    width: 100%;
    margin: 0;
}

.carousel-link .thumb:first-of-type img
{
    margin-left: 0;
}

.carousel-link .thumb:last-of-type img
{
    margin-right: 0;
}

.item img
{
    width: 100%;
}

/* Product Options */

.cart-instructions
{
    text-align: center;
}

.mattress-overview .quantity_select
{
    text-align: center;
    margin-bottom: 1em;
}

.cart-instructions img
{
    width: 21px;
    height: auto;
    vertical-align: -5px;
    margin-right: 3px;
}

.pdp-review-stars-container
{
    text-align: center;
    font-size: 16px;
    margin-bottom: 8px;
    white-space: nowrap;
}

.pdp-review-stars-container img
{
    width: 20px;
    height: auto;
    vertical-align: -3px;
    margin: auto 2px;
}

.pdp-review-stars-container a
{
    text-decoration: none;
    color: #FF9E14;
}

.pdp-review-stars-container a:hover
{
    text-decoration: none;
    color: #FFB64F;
}

.pdp-review-link
{
    text-transform: uppercase;
    display: inline-block;
    margin: 0 6px;
}

.pdp-under-cart-badges
{
    padding-top: 20px;
    text-align: center;
    margin-left: -10px;
    margin-right: -10px;
}

.pdp-under-cart-badges img
{
    width: 28%;
    margin: 0 2%;
}

.pdp-under-cart-badges img:first-child
{
    margin-left: 0;
}

.pdp-under-cart-badges img:last-child
{
    margin-right: 0;
}

.tm-epo-variation-section .reset_variations
{
    display: none !important;
}

.tm-epo-field-label.tm-left + .tm-extra-product-options-container li.tmcp-field-wrap,
.tm-epo-field-label.tm-right + .tm-extra-product-options-container li.tmcp-field-wrap
{
    padding: 0;
}

.tm-epo-field-label.tm-left + .tm-extra-product-options-container,
.tm-epo-field-label.tm-right + .tm-extra-product-options-container
{
    max-width: 100%;
    width: 100% !important;
}

.tm-variation-ul-radio li
{
    display: inline-block;
    width: 50% !important;
    border: 1px solid #828282;
    text-align: center;
    text-transform: uppercase;
}

.tm-variation-ul-radio li,
.tm-variation-ul-radio li label
{
    cursor: pointer;
}

.tm-variation-ul-radio li:hover
{
    color: #FF9E14;
}

.tm-variation-ul-radio li.active
{
    background-color: #808285;
    color: #FFF;
}

.tm-variation-ul-radio li:nth-child(even)
{
    border-top-width: 0;
    border-left-width: 0;
}

.tm-variation-ul-radio li:nth-child(odd)
{
    border-top-width: 0;
}

.tm-variation-ul-radio li:nth-child(1),
.tm-variation-ul-radio li:nth-child(2)
{
    border-top-width: 1px;
}

.tm-variation-ul-radio li:last-child
{
    border-right-width: 1px;
}

.tm-variation-ul-radio li input[type="radio"]
{
    display: none;
}

.tm-variation-ul-radio li label
{

}

.tm-epo-required
{
    display: none;
}

.tm-epo-field.tmcp-select
{
    width: 100%;
}

.tm-epo-totals
{
    padding-bottom: 0;
    padding-top: 0;
    font-family: 'Lato', sans-serif;
}

.tm-epo-totals dt, .tm-epo-totals dd
{
    font-weight: 400;
    vertical-align: top;
    text-transform: uppercase;
    line-height: 1;
}

.tm-epo-totals dt
{
    padding-right: 20px;
}

.tm-final-totals
{
    float: none;
    display: inline-block;
}

.tm-extra-product-options-totals .amount.final
{
    font-weight: 400;
    font-size: 24px;
    
}

/* Cross Sell */

.tm-extra-product-options .col-12,
.tm-extra-product-options .tm-cell.col-12
{
    margin: 0;
}

.tm-extra-product-options ul.tmcp-elements li.tmcp-field-wrap
{
    padding: 0;
}

.tm-quantity.tm-right + .tm-field-display
{
    /*border: 1px solid #828282;*/
    text-align: left;
    padding: 10px;
    
}

.tm-field-display
{
    float: left;
}

.tm-quantity.tm-right
{
    float: right;
    margin-top: 5px;
    margin-right: 5px;
}

/* Extra Images */

.two-product-features
{
    padding-top: 30px;
    padding-bottom: 30px;
}

.two-product-features img
{
    height: 80px;
    margin-right: 20px;
    float: left;
}

.two-product-features .row div
{
    padding: 0 20px;
}

.two-product-features .row div:first-child
{
    border-right: 1px solid #848588;
}

.two-product-features img
{
    height: 80px;
}

.bed-setup .setup-img
{
    width: 80%;
    margin: 10px auto;
}

.bed-setup h4
{
    text-transform: uppercase;
    margin-bottom: .3em;
}

.compare-beds
{
    background-color: #F2F5F5;
    margin-top: 30px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.compare-beds h2
{
    margin-bottom: 30px;
    margin-top: 0;
}

.compare-beds td
{
    background-color: #FFF;
}

.compare-beds .table-bordered > tbody > tr.nobox > th
{
    border: none;
}

.pdp-giving img
{
    width: 100%;
    max-width: 100%
}

#extra-images
{
    margin-bottom: 125px;
}

#extra-images .stacked-image
{
    padding: 30px 0;
}

#stacked-images
{
    margin-bottom: 50px;
}

#featured-product-reviews
{
    padding-top: 40px;
    padding-bottom: 30px;
    background: #6A6A6B;
    color: #FFF;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price
{
    color: #828282;
    font-size: inherit;
}

.single_variation_wrap, .product-top-row div.price
{
    padding-top: 10px;
}

.product-top-row div.price
{
    margin: 20px 0;
    font-weight: 400;
    font-size: 22px;
    font-family: 'Lato Bold', sans-serif;
    text-transform: uppercase;
    line-height: 1;
}

.woocommerce-variation-price
{
    margin: 20px 0;
    font-weight: 400;
    font-size: 24px;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    line-height: 1;
}

.product-top-row div.price span
{
    padding-right: 20px;
    display: inline-block;
    font-size: 16px;
    vertical-align: top;
}

.entry-summary > .woocommerce-Price-amount
{
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
    font-family: 'Lato', sans-serif;
    margin-top: 20px;
}

.woocommerce-loop-product__link .woocommerce-Price-amount
{
    display: inline-block;
    font-size: 22px;
    font-weight: bold;
    font-family: 'Lato', sans-serif;
}

.woocommerce ul.products li.product .star-rating
{
    font-size: 1.2em;
}

.woocommerce #reviews #comments ol.commentlist
{
    padding-left: 0;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text
{
    padding-left: 0;
    margin-left: 0;
    border: none;
}

/** Can't disable the review tab, it breaks the review listing **/
#review_form_wrapper, .reviews_tab { display: none !important; }

.logged-in #review_form_wrapper
{
    display: block !important;
}

/* Add to Cart */

.variations_button
{
    padding-top: 10px;
}

button.single_add_to_cart_button
{
    width: 100%;
    height: 50px;
    margin-top: 5px;
    font-size: 20px;
}

.product-pricer
{
    text-align: center;
    font-size: 20px;
    padding-bottom: 10px;
}

#picker_pa_color .btn-group.bootstrap-select
{
    display: none;
}

/* Reviews */

#featured-product-reviews h3
{
    font-size: 30px;
    text-align: center;
    margin-top: 0;
}

#featured-product-reviews .reviewer
{
    text-transform: uppercase;
    margin-bottom: 20px;
}

/*--------------------------------------------------------------
# Cart
--------------------------------------------------------------*/

.woocommerce .woocommerce-checkout-review-order table.shop_table th.product-total
{
    text-align: right;
}

.woocommerce table.shop_table
{
    margin: 0 -1px 24px 0;
    border-radius: 0;
    border-width: 0;
}

.woocommerce-cart table.cart td,
.woocommerce-cart table.cart th
{
    border-color: #828282;
}

.woocommerce-cart table.cart input.btn
{
    line-height: 1.42857143;
}

.woocommerce a.remove:hover
{
    background: #FF9E14;
}

.woocommerce a.remove
{
    color: #FF9E14 !important;
}

.woocommerce-cart table.cart tr:last-child td
{
    padding: 25px 0 0;
}

.woocommerce-cart table.cart .product-thumbnail
{
    width: 75px;
}

.woocommerce td.product-name dl.variation
{
    margin: 0;
}

.woocommerce td.product-name dl.variation dd
{
    padding: 0;
}

.woocommerce td.product-name dl.variation dd,
.woocommerce td.product-name dl.variation dt
{
    margin-bottom: 0;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button
{
    margin-bottom: 0;
}

.woocommerce-cart table.cart td.actions .coupon .input-text
{
    padding: 0 8px;
    margin: 0;
    outline: 0;
    line-height: 1.3;
}

.woocommerce #content table.cart td.actions .input-text, .woocommerce table.cart td.actions .input-text, .woocommerce-page #content table.cart td.actions .input-text, .woocommerce-page table.cart td.actions .coupon .input-text
{
    width: 100%;
}

.woocommerce-cart .wc-proceed-to-checkout
{
    padding-bottom: 0;
}

/* Collaterals */

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals
{
    float: none;
    width: auto;
}

.cart-collaterals .coupon label
{
    display: none;
}

.cart-collaterals .cart_totals h2
{
    display: none;
}

.cart-collaterals .coupon
{
    border-style: solid;
    border-color: #231F20;
    border-width: 1px 1px 0;
    padding: 10px;
}

.cart-collaterals .cart_totals
{
    border: 1px solid #CCC;
    padding: 10px;
}

.cart-collaterals .coupon input
{
    border-width: 0;
    border-radius: 0;
}

.cart-collaterals .coupon input.input-text
{
    background-color: #F8F8F8;
    padding: 6px 15px;
}

.cart-collaterals .coupon input.button
{
    background-color: #808284;
    color: #FFF;
}

a.continue.shopping
{
    color: #FF9E14;
    font-size: 20px;
    background: url(../images/icon-arrow-back.png) no-repeat scroll left 5px;
    padding-left: 12px;
    text-transform: uppercase;
    margin-top: -50px;
    position: absolute;
}

.cart-collaterals .coupon
{
    border-style: solid;
    border-color: #231F20;
    border-width: 1px 1px 0;
    padding: 10px;
    position: relative;
    height: 61px;
    width: 100%;
}

.cart-collaterals .coupon input.input-text
{
    background-color: #F8F8F8;
    padding: 6px 15px;
    height: 40px;
    padding-right: 100px;
    width: 100%;
    display: inline-block;
}

.cart-collaterals .coupon input.button
{
    background-color: #808284;
    color: #FFF;
    width: 90px;
    height: 40px;
    position: absolute;
    top: 10px;
    right: 10px;
}

.woocommerce-cart .cart-collaterals .cart_totals table
{
    width: 100%;
    font-size: 16px;
}

.woocommerce-cart .cart-collaterals .cart_totals tr td,
.woocommerce-cart .cart-collaterals .cart_totals tr th
{
    border-top-width: 0;
    padding: 0;
}

.woocommerce-cart .cart-collaterals .cart_totals tr td:nth-child(even)
{
    text-align: right;
}

.cart-collaterals tr.cart-subtotal
{
    display: none;
}

.cart-collaterals tr.shipping form
{
    display: none;
}

/*--------------------------------------------------------------
# Checkout
--------------------------------------------------------------*/

#checkout-form-container .seperator
{
    border-bottom: 1px solid #828282;
    margin-bottom: 30px;
    padding-bottom: 30px;
}

/* Order Summary */
#checkout-form-container
{
    padding-right: 80px;
}

#order-summary-container
{
    padding: 5px 20px;
    border: 1px solid #828282;
}

.woocommerce table.woocommerce-checkout-review-order-table
{
    border-top: 1px solid #828282;
}

.woocommerce table.woocommerce-checkout-review-order-table tbody td
{
    border-bottom: 1px solid #828282;
    padding: 10px 0;
}

.woocommerce table.woocommerce-checkout-review-order-table tbody td,
.woocommerce table.woocommerce-checkout-review-order-table tfoot td,
.woocommerce table.woocommerce-checkout-review-order-table tfoot th
{
    border-top: none;
}

.woocommerce table.woocommerce-checkout-review-order-table tfoot td,
.woocommerce table.woocommerce-checkout-review-order-table tfoot th
{
    padding: 5px 0;
}

.woocommerce td.product-name dl
{
    margin-bottom: 0;
}

.woocommerce table.woocommerce-checkout-review-order-table td:nth-child(even)
{
    text-align: right;
}

.woocommerce table.woocommerce-checkout-review-order-table td.product-name img
{
    float: left;
    width: 50px;
    display: inline-block;
    margin-right: 15px;
}

.woocommerce td.product-name dl.variation
{
    margin: 0;
    display: block;
}

.woocommerce td.product-name dl.variation dt
{
    font-weight: 400;
}

.woocommerce td.product-name dl.variation dt.variation-
{
    display: none;
}

.woocommerce td.product-name dl.variation dd.variation-
{
    display: block;
    clear: left;
}

.woocommerce form .form-row label
{
    line-height: 1em;
}

.woocommerce-checkout #payment
{
    background: transparent;
    border-radius: 0;
}

#customer_details .billing-address-label:before
{
    border-top: 1px solid #828283;
    content: "";
    display: block;
    margin-top: 20px;
    padding-bottom: 20px;
}

#customer_details .billing-address-label label
{
    font-size: 20px;
    text-transform: uppercase;
    margin-top: 20px;
    margin-bottom: 10px;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
}

#customer_details .billing-address-label input
{
    display: none;
}

#ship-to-different-address .checkbox
{
    margin-top: 0;
}

#billing_country_field
{
    display: none;
}

.select2-container .select2-choice
{
    display: block;
    height: 40px;
    padding: 0 0 0 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid #828283;
    white-space: nowrap;
    line-height: 38px;
    color: #444;
    border-radius: 0;
    background-image: none;
}

.select2-drop-active
{
    border: inherit;
    border-top: none;
}

#checkout-form-container h3
{
    font-size: 20px;
    text-transform: uppercase;
}

#checkout-form-container h3 label
{
    font-weight: 500;
}

#customer_details .woocommerce-billing-fields h3 span
{
    font-size: 0.6em;
    display: block;
    margin-top: 21px;
    margin-bottom: 11px;
}

/* Shipping text inline */

#customer_details #ship-to-different-address span
{
    font-size: 0.6em;
}

.woocommerce form .form-row.woocommerce-validated .select2-container,
.woocommerce form .form-row.woocommerce-validated input.input-text,
.woocommerce form .form-row.woocommerce-validated select,
.woocommerce form .form-row.woocommerce-invalid .select2-container,
.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select
{
    border-color: inherit;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea
{
    line-height: 1.2;
    padding: 10px 10px;
}

.edit-cart-fix
{
    padding-top: 20px;
}

.btn-breadcrumb .show
{
    color: #FF9E14;
    background-color: #EFEFEF;
}

.btn-breadcrumb .btn.show.btn-default:not(:last-child):after
{
    border-left: 10px solid #EFEFEF;
}

.woocommerce-thankyou-order-received
{
    margin-bottom: 1.8em;
}

.woocommerce-important-message
{
    color: #000;
    padding: 10px 15px;
    border: 2px solid #E2E2E2;
}

/* Extra Small Devices, Phones */
@media only screen and (min-width: 480px)
{

}

/* Small Devices, Tablets */
@media only screen and (min-width: 768px)
{
    
    a.continue.shopping
    {
        margin-top: 0;
        position: relative;
        display: block;
        padding-bottom: 30px;
    }
    
    .carousel-link .thumb
    {
        width: calc(20% - 10px);
        cursor: pointer;
        float: left;
        margin-right: 10px;
        margin-top: 10px;
    }
    
    .two-product-features img
    {
        height: 80px;
        float: none;
        display: block;
        margin: 10px auto;
    }
    
    .pdp-giving img
    {
        width: 50%;
        max-width: 50%
    }
    
    .pdp-giving
    {
        margin-bottom: 30px;
        margin-top: 30px;
    }
    
    .pdp-giving h4
    {
        font-size: 16px;
        padding-left: 15%;
        padding-right: 15%;
    }
    
    .woocommerce ul.products li.product, .woocommerce-page ul.products li.product
    {
        width: 33.33333333%;
    }
}

/* Medium Devices, Desktops */
@media only screen and (min-width: 992px)
{
    
    .orderby-div
    {
        position: relative;
        margin: 15px 0 0 0;
        width: 25%;
        float: right;
    }
    
    .shopping-categories
    {
        padding-top: 30px;
        padding-bottom: 30px;
        margin-top: 0;
    }
    
}

/* Large Devices, Wide Screens */
@media only screen and (min-width: 1200px)
{

}