.primaryMenu .the_list_item {
    width: 43%!important;
}
.SocialFooter .the_list_item {
    width: 71%!important;
}
#the_footer .the_list_item {
    width: -10%!important;
}

#fxd_1 {
 bottom: 8.5%;
 position: fixed;
 right: -5px;
 z-index: 11;
}
 .mobileview #fxd_1 {
 display: none !important;
   }

 html:not(.mobileview) #fxd_1 {
 display: block !important;
   }

 .ftr_tab {
 background-color: #0096aa;
 border-top-left-radius: 10px;
 border-bottom-left-radius:10px;
 border: solid 2px #fff !important;
 color: #fff;
 font-size: 15px;
 margin: 5px;
 padding: 15px;
 text-transform: uppercase;
 font-weight: 600;
 box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
 transition: all 1s ease-in-out !important;
   }

 .ftr_tab:after {content:" >";font-family: "tsi-cms";font-size:75%;}

 .ftr_tab:hover{
 background-color: #fff;
 -webkit-transition: all .3s ease !important;
 border: solid 2px #0096aa !important;
 color: #0096aa !important;
 box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
 transition: all 1s ease-in-out !important;
   }

 /*-----End of Fixed Footer Tab-----*/


.tsidesign_dl .the_list_item_headline {
color: #fff !important;  
}

.logo-slot.pct33.slot_0.slot-type-text.align-right p {
    border: 2px solid rgba(26, 99, 205, 1) !important;
    color: white !important;
    background: rgba(26, 99, 205, .5) !important;
    padding: 1rem !important;
    padding-top: .3em !important;
    max-width: 22rem !IMPORTANT;
    margin: 0 auto !IMPORTANT;
    line-height: 1 !important;
    border-radius: 10px !important;
    font-family: lato !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !IMPORTANT;
    font-weight: 700 !important;
}

.logo-slot.pct33.slot_0.slot-type-text.align-right a {
    color: white !important;
}


/*Stearns Foster Landing Page*/
.page-id-59960 #container h1, .page-id-59960 #container h2, .page-id-59960 #container h3 {
  font-family: Georgia !important;
  color: #6E6359 !important;
}
.page-id-59960 #container .the_list_item .the_list_item_desc {
  color: #6E6359 !important;
}
/*End Stearns Foster Landing Page*/




/*Sealy Landing Page*/
.tsidesign_sealy_options .the_list_item.hero:nth-child(1) {
  background: #1D4E8F !important;
}
.tsidesign_sealy_options .the_list_item.hero:nth-child(2) {
  background: #5881A6 !important;
}
.tsidesign_sealy_options .the_list_item.hero:nth-child(3) {
  background: #333D47 !important;
}
.tsidesign_sealy_options .the_list_item_headline, .tsidesign_sealy_options .the_list_item_headline a, .tsidesign_sealy_options .the_list_item_subheadline, .tsidesign_sealy_options .the_list_item_desc p{
  color: #fff !important;
}
.tsidesign_sealy_feat .the_list_item_image {
  max-width: 10rem !important;
  margin: 0 auto !important;
}
.tsidesign_sealy_feat .the_list_wrap {
  max-width: 20rem !important;
  margin: 0 auto !important;
}
.page-id-59959 #container .the_list_item_headline, .page-id-59959 #container .the_list_item_headline a, .page-id-59959 #container .the_list_item_headline_subheadline{
  color: #333D47 !important;
}
.page-id-59959  #container .the_list_item .the_list_item_desc {
  color: #838383 !important;
}
/*End Sealy Landing Page*/





/*Tempur Landing Page*/
.page-id-59958 #container h1, .page-id-59958 #container h2, .page-id-59958 #container h3 {
  font-weight: normal !important;
  color: #8A8B8D !important;
}
.page-id-59958 #container .the_list_item .the_list_item_desc {
  color: #b0b0b0 !important;
}
.tempfeat img {
  display: block !important;
  margin: 0 auto !important;
}
.tempfeat {
  vertical-align: top;
  text-align: center !important;
  margin: 2rem 0 1rem !important;
  color: #fff;
}
@media(min-width: 600px){
.tempfeat {
  display: inline-block;
  width: 33.33%;
  padding: 0 2%;
}
}
.tsidesign_tempfeature .the_list_item.hero {
  background-color: #61A4D5 !important;
}
.tsidesign_tempfeature .the_list_item h2, .tsidesign_tempfeature .the_list_item h3, .tsidesign_tempfeature .the_list_item h1, .tsidesign_tempfeature .the_list_item_desc.txt_color {
  color: #fff !important;
}
/*Tempur Landing Page*/






x.share_icons-wrap.share_icons {
  display:none !important;
}

#wrapper {
  border-top:6px double #5B483D !important;
}
#the_header {
  z-index: 101 !important;
  box-shadow: 0 0 1px rgba(0,0,0,.12), 0 2px 3px rgba(0,0,0,.38) !important;
}

.logo-variation-header {
  border-bottom:1px solid #E8E4D6 !important;
}

.logo-variation-header img {
  max-height:12rem !important;
}

.logo-slot.pct33.align-center.slot-type-image {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
}

#the_header, .home .full_width_content, #the_footer {
  max-width:100% !important;
}

.logo-variation-header {
  max-width:106rem !important;
  margin-right:auto !important;
  margin-left:auto !important;
}

.footer #_the_copyright {
  max-width:106rem !important;
  margin-right:auto !important;
  margin-left:auto !important;
}

.the_list_item_action {
  background-color:#88b31b !important;
}

.the_list_item_action a {
  background: rgba(0, 0, 0, 0) linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%) repeat scroll 0 0 !important;
  border:2px solid #88b31b !important;
  box-shadow: 0 0 2px rgba(0,0,0,.12), 0 4px 10px rgba(0,0,0,.38) !important;
  text-transform: uppercase !important;
  color: rgba(0,0,0,.54) !important;
  transition: all .5s ease 0s !important;
}
.the_list_item_action a:hover {
  background-color:#82D173 !important;
  border:2px solid #82D173 !important;
  transition: all .5s ease 0s !important;
}

.the_list_item_headline {
  color: rgba(83, 70, 54,1) !important;
}
.the_list_item_subheadline {
  color: rgba(83, 70, 54,1) !important;
}
.the_list_item_desc.txt_color {
  color: rgba(0,0,0,.87) !important;
}
#the_footer #_the_copyright .copy {
  color: rgba(255,255,255,.7) !important;
}


xx.page-id-59956 .slidesjs-container {
  max-height:50rem !important;
}

xx.page-id-59956 #container {
  margin-top: -5.2rem !important;
  margin-bottom: 1rem !important;
}
xx.page-id-59956 #wrapper #container .full_width_content.content_bg.wrp_color_bg .section.w1060 .list_block.type_gallery.column_amt_1.widescreen_2-4_1.large {
  max-width:100% !important;
  margin-right:auto !important;
  margin-left:auto !important;
  position: relative !important;
  z-index: -9999 !important;
}

.tsidesign_feature{
  max-width: 106rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: -20rem !important;
  position: relative !important;
  z-index: 9999 !important;
  padding-bottom: 0 !important;
}

.tsidesign_feature .the_list_item.hero .the_list_item_image {
border-radius: 50% !important;
  border: 4px solid #fff !important;
}

.tsidesign_feature .the_list_item.hero .the_list_item_image .the_list_item_heads h3.the_list_item_headline.hds_color {
position:absolute !important;
bottom:0 !important;
left: 0 !important;
margin-bottom: 85px !important;
padding-top: 10px !important;
}

.tsidesign_feature .the_list_item_headline, .tsidesign_features .the_list_item.hero .the_list_item_headline {
font-size: 1.7rem !important;
text-transform: uppercase !important;
}

@media (max-width: 800px) {
.tsidesign_feature {
  display:none !important;
 }
  #_the_logo .logo-slot.align-right {
    xdisplay: none !important;
}
}


@media (min-width: 1000px) {
.logo.logo-v2 div.logo-variation.logo-variation-header div.logo-slot.pct50.slot_2.slot-type-text.align- {
 max-width: 37% !important; 
}
  
.logo.logo-v2 div.logo-variation.logo-variation-header div.logo-slot.pct50.slot_0.slot-type-image.align-right {
	 max-width: 60% !important; 
	width: 60% !important;
  }

}

.page-id-59960 .full_width_content.section_content.content_bg.wrp_color_bg {
    width: 100% !important;
}

@media(min-width: 700px){
.tsidesign_tempur iframe{
  height: 19500px !important;
}
}
@media(max-width: 680px){
.tsidesign_sealy2 iframe{
  height: 6150px !important;
}
}

.tsidesign_dl_video .the_list_item {
  max-height: 80rem !important;
}
.tsidesign_dl_video .the_list_item .the_list_wrap {
  padding: 10% 8% !important;
  position: relative !important;
  text-align: center !important;
  z-index: 2 !important;
}
html:not(.mobileview) .tsidesign_dl_video .the_list_item .the_list_wrap{
    background: transparent !important;
}
.mobileview #video_container{
  display: none !important;
}

#video_container {
  position: relative !important;
  z-index: 1 !important;
}
.video_dl {
  position: relative !important;
  width: 100% !important;
  height: 0 !important;
  padding-bottom: 56.25% !important;
}
.video_dl iframe {
  position: absolute !important;
  width: 100% !important;
  height: 100% !important;
  left: 0 !important; 
  top: 0 !important;
}


CSS
/*-----------Popup Modal----------*/
.btn{
  margin: 5px auto;
}

.btn, .exit-btn{
    display: inline-block;
    padding: 4px 20px;
    margin-bottom: 0;
    /* font-size: 2rem; */
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    margin: 4% auto;
}
.btn-primary, .exit-btn{
    color: #fff;/*----Button Text----*/
    background-color: #8cb1e6; /*-----Button Color----*/
    text-transform: uppercase;
    font-weight: bold;
    padding: .8rem 2.6rem;
    margin-left:5px;
    margin-right:5px;
}

.btn-primary:hover {
  background: #22d85d; /*----Button hover color----*/
  text-shadow: 1px 1px 1px #000;
}

#modal_popup {
    position: fixed;
    pointer-events: none;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    text-align: center;
    white-space: nowrap;
    height: 100%;
}
#modal_popup:before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    margin-right: -0.25em;
}
.css-only-modal-check {
    pointer-events: auto;
}
.css-only-modal-check:checked ~ .css-only-modal {
    opacity: 1;
    pointer-events: auto;
  
}
.css-only-modal {
  top: 12%;
  width: 50%;
  min-width: 250px;
  background: #dbe5ee; /*----Modal Background Color----*/
  z-index: 1;
  display: inline-block;
  position: relative;
  pointer-events: auto;
  text-align: center;
  white-space: normal;
  display: inline-block;
  vertical-align: middle;
  opacity: 0;
  pointer-events: none;
  overflow:visible;
  border: solid 5px #8cb1e6;
}

#modal_wrapper {
  padding: .8rem 1.6rem 0;
  position: relative;
}
.css-only-modal h2 {
    text-align: center;
}
.css-only-modal p {
    font-size: 1.5rem;
  color: #fff;  
}
.modal_desc {
  display: inline-block;
  width: 100%;
  padding-top: 2%;
}

.css-only-modal-close {
/*--This is your X button, you can choose to display:none; if you do not want an X in the top right--*/
  position:absolute;
  right:0;
  top:0;
  margin-top:0 !important;
  width: auto !important;
}
.css-only-modal-check {
    display: none;
}
.css-only-modal-check:checked ~ #screen-shade {
    opacity: 0.5; /*----How dark the shade covering the site is----*/
    pointer-events: auto;
}
#screen-shade {
    opacity: 0;
    background: #000; /*-----Color of the shade----*/
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
    transition: opacity 0.8s;
}

#container #modal_popup a{
    color:#fff!important;
}

.modal_logo {
  padding: 0;
  width: 80%;
}

.modal_headline {
  width: 100%;
  font-size: 2.8rem;
  font-weight: bold;
  letter-spacing: .05em;
  line-height: 2.8rem;
  padding-bottom: 2%;
}

.modal_txt_area {
  padding:0 4%;
}

.modal_txt_area .modal_desc em {
  font-weight:bold;
}


@media (max-width: 1035px){
  .modal_headline {
  font-size: 2rem;
    line-height: 2rem;
  }
  .modal_desc {
  display: block;
  width: 100%;
  padding-top: 5%;
}

  .btn, .exit-btn{
  margin-top: 2%;
  width: 100%;
}
}

/*---- Fix for landscape mobile ----*/
.mobileview .css-only-modal {
max-height:100% !important;
overflow:auto !important;
top:0;
}

@media (max-width: 700px){
  .modal_headline {
  font-size: 1.8rem;
    line-height: 1.8rem;
  }
}

@media (max-width: 525px){
    .btn, .exit-btn{
  margin-top: 10%;
    font-size: 1rem;
    width: 100%;
}
}



.tsidesign_quote {
  margin: 0 !important;
 padding: 0 !important;
  background-color: #534636 !important;
}

.quote_box {
  height: 50vh !important;
  background-color: #534636 !important;
}

.tsidesign_quote .the_list_item {
  margin-top: 0 !important;
  margin-bottom:0!important;
}

.tsidesign_quote .the_list_item {
  padding: 2% 10% 0 !important;
}

.tsidesign_quote .the_list_item_headline {
  color: #fff !Important;
  font-size: 1.7rem !Important;
  text-transform: uppercase !important;
  line-height: 2rem !important;
  letter-spacing: .1em !important;
}

.tsidesign_quote .the_list_item_desc {
  color: #fff !important;
}
/*Pallister iframe */
.tsidesign_palliser iframe{
  height:700px !important;
}

/*------------side fixed floating button cta------*/
 .fxd_1 {
    bottom: 7.5%;
    position: fixed;
    left: -5px;
    z-index: 11;
}

 .mobileview .fxd_1 {
 display: none !important;
 }
 html:not(.mobileview) .fxd_1 {
 display: block !important;
 }

.fxd_1 a {
  text-decoration: none !important;  
}

 .ftr_tab {
    background: linear-gradient(to right, rgb(136, 179, 27) 40%, rgb(93 70 64));
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border: solid 2px #575757 !important;
    color: #fff;
    font-size: 15px;
    margin: 5px;
    padding: 13px;
    text-transform: uppercase;
    font-weight: 600;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.7) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 1s ease-in-out !important;
}
 .ftr_tab:after {content:" >";font-family: "tsi-cms";font-size:75%;}
 .ftr_tab:hover{
 -webkit-transition: all .3s ease !important;
 border: solid 2px #575757 !important;
 font-size: 16px;
 color: #fff !important;
 box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
 transition: all 1s ease-in-out !important;
 }

.page-id-243597 #hide-floating-btn,
.page-id-243578 #hide-floating-btn {
  display: none !important; 
}
 /*----end side fixed floating button cta--------*/

.footer_brand {
    display: none !important;
}

.footerLinks a{
color:#fff!important;
font-weight: 700;
font-size: 1.4rem;
}
.col{
  width:100%;
  clear:both!important;
}
.row{
  float:left;
  width:50%!important;
}

.quote_box {
    max-height: 30rem!important;
}