* {
  box-sizing: border-box;
}

/* :root {
  --primary: #000;
  --secondary: #f0f0f0;
  --secondary-dark: #ececec;
  --accent: #a4ced7;
  --accent-active: #0b476d;
} */

:root {
  --primary: #000;
  --secondary: #fff;
  --secondary-dark: #ececec;
  --accent: #66cccc;
  --accent-active: #0b476d;
}

.hidden {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.clear {
  clear: both;
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}

ul,
li,
p,
h1,
h2,
h3 {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

body,
input,
textarea,
button {
  font-family: "Nunito Sans", sans-serif;
}

body {
  padding: 0;
  margin: 0;
}

img[data-sizes="auto"] {
  display: block;
}

#divworkspacearea {
  max-width: 1600px;
  margin: 0 auto;
  padding: 10px 10px 0;
}

.HomePageForm #divworkspacearea {
  padding: 0;
}

#item-info-container {
  max-width: 1600px;
}

#content-theme-3.static-page h1 {
  margin: 0 0 25px 0;
}

@media screen and (max-width: 767px) {
  #content-theme-3.static-page h1 {
    margin: 0;
  }
}

/* MANHATTAN HEADER */
  img {
    width: 100%;
    height: auto;
  }

  header {
    max-width: 1600px;
    margin: 0 auto;
    padding: 10px 10px 0;
    background-color: var(--secondary)
  }

  ul,
  #sticky-nav ul {
    list-style: none;
  }

  #header-banner {
    background-color: var(--accent);
    color: var(--secondary);
    text-align: center;
  }

  #header-banner p {
    text-transform: uppercase;
    color: var(--secondary);
    line-height: 1;
    letter-spacing: 1.2;
    padding: 10px 0;
  }

  #header-banner a {
    text-decoration: none;
    color: var(--secondary);
  }

  #header-banner a:hover {
    text-decoration: underline;
  }

  #header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  #logo {
    flex-shrink: 0;
    padding-right: 20px;
  }

  #logo img {
    width: 100%;
    max-width: 290px;
    height: auto;
  }

  #search-box {
    width: 35%;
    height: 38px;
    position: relative;
  }

  #search-box input {
    width: 100%;
    height: 38px;
    padding: 0 20px;
    border: 0;
    background-color: var(--secondary);
  }

  #search-box input::placeholder {
    color: var(--primary);
  }

  #search-box input,
  button:focus {
    outline: 0;
    border: 1px solid var(--primary);
  }

  #search-box button {
    height: 38px;
    position: absolute;
    right: -42px;
    top: 0;
    padding: 0 20px;
    font-size: 17px;
    font-weight: 300;
    background-color: var(--accent);
    color: var(--secondary);
    text-transform: uppercase;
    border: 1px solid var(--primary);
    transition: 0.1s;
  }

  #search-box button:hover {
    background-color: var(--accent-active);
    cursor: pointer;
  }

  #account>ul {
    display: flex;
  }

  #account>ul>li {
    position: relative;
  }

  #account a {
    white-space: nowrap;
    text-decoration: none;
  }

  #account ul {
    margin-left: 5px;
  }

  #account ul li a {
    color: var(--primary);
    padding: 10px 0 10px 10px;
  }

  #account ul ul {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 25px;
    right: -10px;
    text-align: right;
    padding: 5px 0;
    background-color: var(--primary);
    z-index: 1000;
    -webkit-transition: opacity 0.3s ease, visibility 0s ease 0.3s;
    -moz-transition: opacity 0.3s ease, visibility 0s ease 0.3s;
    -o-transition: opacity 0.3s ease, visibility 0s ease 0.3s;
    -ms-transition: opacity 0.3s ease, visibility 0s ease 0.3s;
    transition: opacity 0.3s ease, visibility 0s ease 0.3s;
  }

  #account li:hover ul {
    visibility: visible;
    opacity: 1;
    -webkit-transition: opacity 0.3s ease;
    -moz-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    -ms-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
  }

  #account li ul li {
    display: block;
  }

  #account li ul a {
    display: block;
    padding: 0 15px;
    font-size: 0.9em;
    line-height: 1.75em;
    color: var(--secondary);
    text-decoration: none;
  }

  #account li ul a:hover {
    text-decoration: underline;
  }

  .mobile-nav {
    display: none;
  }

  #main-nav {
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
  }

  #main-nav a {
    text-decoration: none;
    color: var(--primary);
  }

  #main-nav>ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 10px;
  }

  #main-nav>ul>li {
    position: relative;
  }

  #main-nav>ul>li>a {
    text-transform: uppercase;
    font-size: 1.1em;
    padding: 10px 0;
  }

  #main-nav>ul>li>a:hover {
    color: var(--primary);
  }

  #main-nav>ul>li:hover>a {
    color: var(--primary);
  }

  #main-nav>ul>li:not(:last-child) {
    margin-right: 20px;
  }

  #main-nav ul>li>ul {
    position: absolute;
    display: none;
    background: var(--secondary);
    top: 30px;
    left: -10px;
    z-index: 100;
    min-width: 200px;
  }

  #main-nav>ul>li:hover>ul {
    display: block;
  }

  #main-nav ul>li>ul>li>a {
    display: block;
    padding: 10px 20px;
  }

  #main-nav ul>li>ul>li:first-child>a {
    padding-top: 20px;
  }

  #main-nav ul>li>ul>li:last-child>a {
    padding-bottom: 20px;
  }

  #main-nav ul>li>ul>li>a:hover {
    color: var(--accent);
    text-decoration: underline;
  }

  #sticky-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 10px;
    background-color: var(--secondary);
    position: sticky;
    top: 0;
    z-index: 500;
  }

  #sticky-nav>ul {
    display: flex;
    color: var(--primary);
  }

  #sticky-nav>ul li:not(:first-child) {
    padding-left: 20px;
  }

  #sticky-nav>ul li a {
    text-decoration: none;
    color: var(--primary);
  }

  #sticky-nav>ul li a.accent {
    text-decoration: underline;
  }

  #sticky-nav>ul li a.accent:hover {
    color: #202020;
  }

  #sticky-nav>ul li:first-child {
    display: flex;
  }

  @media screen and (max-width: 1200px) {
    #main-nav ul>li>ul {
      top: 31px;
    }

    #main-nav>ul>li>a {
      font-size: .9em;
    }

    #main-nav>ul>li:not(:last-child) {
      margin-right: 14px;
    }

    #sticky-nav>ul li:first-of-type {
      display: none;
    }
  }

  @media screen and (max-width: 767px) {
    header {
      padding: 10px 10px;
    }

    #logo img {
      width: 100%;
      max-width: 120px;
      height: auto;
    }

    #search-box {
      width: 70%;
      height: 38px;
      position: relative;
      margin-right: 50px;
    }

    #search-box button {
      padding: 0px 12px;
    }

    .mobile-nav {
      display: block;
    }

    .mobile-nav a {
      color: var(--secondary)
    }

    #sticky-nav>ul li:not(:first-child) {
      padding-left: 10px;
    }

    #main-nav>ul.nav-active {
      display: block;
    }

    #main-nav ul {
      display: none;
    }

    #main-nav>ul {
      position: absolute;
      background-color: var(--secondary);
      width: 100%;
      max-width: 300px;
      top: 32px;
      left: 0;
      z-index: 100;
      border-bottom-left-radius: 10px;
      border-bottom-right-radius: 10px;
      box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5);
    }

    #main-nav>ul>li:first-of-type {
      padding-top: 10px;
    }

    #main-nav>ul>li:not(:first-child)>a {
      border-top: 1px solid #ccc;
    }

    #main-nav>ul>li:not(:last-child) {
      margin-right: 0;
    }

    #main-nav>ul>li:hover>ul {
      display: none;
    }

    #main-nav>Ul>li>a {
      display: block;
      width: 100%;
      padding-left: 20px;
    }

    #main-nav ul>li>ul {
      position: static;
      display: none;
      min-width: auto;
    }

    #main-nav>ul>li>ul.nav-active {
      display: block;
    }

    #main-nav ul>li>ul>li:first-child>a {
      padding-top: 0;
    }

    #main-nav ul>li>ul>li>a {
      padding: 5px 0 5px 20px;
    }
  }

  @media screen and (max-width: 500px) {
    #logo img {
      width: 100%;
      max-width: 100px;
      height: auto;
    }
  }

  .hp-promo-banner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    background-color: var(--secondary-dark);
    margin-top: -5px;
  }

  .hp-promo-banner div {
    text-align: center;
    align-self: center;
    flex: 1 0 33.33%;
    padding: 30px 0;
  }

  .hp-promo-banner div a {
    text-decoration: none;
    color: var(--primary);
    font-size: 18px;
  }


  .savings-banner {
    text-align: center;
  }

  .savings-banner a {
    display: inline-block;
    text-decoration: none;
    color: var(--secondary);
    background-color: var(--primary);
    border: 1px solid var(--primary);
    padding: 10px 20px;
    margin-bottom: 30px;
  }

  .savings-banner a:hover {
    background-color: var(--accent);
  }

  .our-story-banner {
    background-color: var(--accent);
    color: var(--secondary);
    margin-top: 50px;
  }

  .our-story-banner div {
    text-align: center;
    padding: 30px 0;
    text-transform: uppercase;
  }

  .our-story-banner div h2 {
    font-weight: 200;
    margin-bottom: 20px;
  }

  .our-story-banner div a {
    display: inline-block;
    text-decoration: none;
    color: var(--secondary);
    border: 1px solid var(--secondary);
    padding: 10px 20px;
    margin-bottom: 20px;
    ;
  }

  .our-story-banner div a:hover {
    background-color: var(--secondary);
    color: var(--accent);
  }


  @media screen and (max-width: 767px) {
    .hp-promo-banner div a {
      font-size: 16px;
    }
  }

/* END MANHATTAN HEADER */

/* MANHATTAN HOME PAGE */

main {
  max-width: 1600px;
  margin: 0 auto;
}

#home-slides {
  position: relative;
  overflow: hidden;
  height: 0;
  display: block;
  /* padding-top: calc(height / width * 100%); */
  padding-top: calc(950 / 1920 * 100%);
}

/* For sites using Mobile Images */
/* @media only screen and (max-width: 768px) {
  #home-slides {
    padding-top: calc(600 / 768 * 100%);
  }
} */

#home-slides > div {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
}

#home-slides > div img {
  width: 100%;
  height: auto;
  display: block;
}

.home-title {
  margin: 40px 20px;
  text-align: center;
}

.home-title h2 {
  font-size: 2em;
  font-weight: 400;
  color: var(--primary);
}

.home-title p {
  font-weight: 300;
  text-transform: uppercase;
  color: var(--primary);
}

.shop-by-dept {
  display: flex;
  flex-wrap: wrap;
  max-width: 1600px;
  margin: 0 auto;
}

.shop-by-dept.grid > div {
  flex: 1 0 33%;
  padding: 10px;
}

.shop-by-dept.single > div {
  flex: 1 0 100%;
  padding: 10px;
}

.shop-by-dept > div > a {
  display: block;
  position: relative;
  color: var(--primary);
  transition: 0.1s;
  text-decoration: none;
}

.shop-by-dept > div > a:hover {
  transform: translateY(-3px);
}

.shop-by-dept > div > a img {
  width: 100%;
  height: auto;
  display: block;
}

.shop-by-dept > div > a > div {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  padding: 30px 0;
}

.shop-by-dept > div > a > div p {
  padding: 0 10px;
  font-size: 1.1em;
  text-transform: uppercase;
}

.shop-by-dept > div > a > div > p span {
  font-weight: bold;
}

.shop-by-dept > div > a:hover span {
  color: var(--accent);
}

.design-idea {
  display: flex;
  flex-wrap: wrap;
}

.design-idea > div {
  flex: 1 0 50%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.design-idea > div > img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.design-idea > div > div {
  display: flex;
  flex-direction: column;
  min-height: calc(50% - 20px);
  justify-content: center;
  align-items: center;
}

.design-idea > div > div img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.design-idea-intro {
  background-color: var(--secondary-dark);
  text-align: center;
}

.design-idea-intro p {
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 300;
  margin: 0 20px;
}

.design-idea-intro h2 {
  font-size: 2em;
  font-weight: 400;
  line-height: 1.2em;
  color: var(--primary);
  margin: 0 20px 30px;
}

.design-idea-intro a {
  padding: 10px 30px;
  font-size: 17px;
  font-weight: 300;
  background-color: var(--accent);
  /* border-radius: 20px; */
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.1s ease-out;
}

.design-idea-intro a:hover {
  background-color: var(--accent-active);
  transform: translateY(-2px);
}

#our-company {
  display: flex;
}

#our-company > div {
  flex: 1 0 50%;
  padding: 10px;
}

#our-company > div > div {
  position: relative;
}

#our-company > div > div a {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  padding: 10px 40px;
  font-size: 2em;
  background-color: var(--accent);
  color: #fff;
  /* border-radius: 20px; */
  transition: 0.1s ease-out;
}

#our-company > div > div a:hover {
  background-color: var(--accent-active);
  transform: translate(-50%, -53%);
}

#our-company > div img {
  width: 100%;
  height: auto;
  display: block;
}

#our-company > div h2 {
  font-weight: 400;
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--primary);
}

#our-company > div p {
  line-height: 1.5em;
  color: var(--primary);
}

.curator {
  margin-top: 50px;
}

#newsletterbox {
  /* width: calc(100% - 20px); */
  background-color: var(--secondary-dark);
  padding: 50px 20px;
  margin: 0 auto;
}

#newsletter-form {
  width: 50%;
  height: 38px;
  position: relative;
  margin: 0 auto;
}

#newsletter-form input {
  width: 100%;
  height: 38px;
  padding: 0 20px;
  border: 1px solid var(--primary);
  background-color: #fff;
  /* border-radius: 17px; */
}

#newsletter-form input::placeholder {
  color: #a6a6a6;
}

#newsletter-form input,
button:focus {
  outline: 0;
}

#newsletter-form button {
  height: 36px;
  position: absolute;
  right: 1px;
  top: 1px;
  padding: 0 30px;
  font-size: 17px;
  font-weight: 300;
  background-color: var(--accent);
  /* border-radius: 20px; */
  color: #fff;
  text-transform: uppercase;
  border: 0;
  transition: 0.1s;
  border-left: 1px solid var(--primary);
}


#newsletter-form button:hover {
  background-color: var(--accent-active);
  cursor: pointer;
}

@media screen and (max-width: 1024px) {
  .shop-by-dept.grid > div {
    flex: 1 0 50%;
  }

  .design-idea-intro h2 {
    font-size: 1.6em;
    margin: 0 20px 15px;
  }

  .design-idea-intro a {
    padding: 8px 25px;
    font-size: 1em;
  }

  #our-company > div > div a {
    padding: 10px 30px;
    font-size: 1.5em;
    /* border-radius: 15px; */
  }

  #newsletter-form {
    width: 80%;
  }
}

@media screen and (max-width: 767px) {
  .home-title {
    margin: 20px 20px;
  }

  .home-title h2 {
    font-size: 1.7em;
  }

  .shop-by-dept > div > a > div {
    position: static;
    padding: 10px 0;
  }

  .shop-by-dept > div > a > div p {
    font-size: 1em;
    text-transform: uppercase;
  }

  .design-idea > div {
    flex: 1 0 100%;
  }

  .design-idea-intro {
    margin-bottom: 20px;
    padding: 30px 0;
  }

  .design-idea.bottom > div:first-child {
    order: 2;
  }

  .design-idea.bottom > div:last-child {
    order: 1;
  }

  #our-company {
    flex-direction: column;
  }

  #our-company > div {
    flex: 1 0 100%;
  }

  #newsletter-form {
    width: 100%;
  }

  #newsletter-form button {
    padding: 0 20px;
  }
}

/* END MANHATTAN HOME PAGE */

/* MANHATTAN FOOTER */

footer {
  max-width: 1600px;
  margin: 50px auto 0 auto;
}

footer h2 {
  font-size: 1.2em;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 10px;
}

footer p {
  color: var(--primary);
  font-size: 0.9em;
}

footer p > a {
  font-size: 1em;
}

footer a {
  text-decoration: none;
  color: var(--primary);
  font-size: 0.9em;
}

footer a:hover {
  text-decoration: underline;
}

#footer-top {
  width: calc(100% - 20px);
  display: flex;
  padding: 30px 10px;
  border-top: 1px solid var(--secondary-dark);
  margin: 0 auto;
}

#footer-top > div {
  flex: 1 0 33%;
  display: flex;
}

#footer-top .fa {
  font-size: 3em;
  color: var(--secondary-dark);
}

#footer-top iframe {
  width: 100%;
}

#footer-top > div > div:first-child {
  padding-right: 20px;
  flex-grow: 0;
}

#footer-top > div > div:last-child {
  flex-grow: 1;
}

.footer-button {
  display: inline-block;
  padding: 6px 20px;
  font-weight: 300;
  background-color: var(--accent);
  /* border-radius: 20px; */
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 5px;
  transition: 0.1s ease-out;
}

.footer-button:hover {
  text-decoration: none;
  background-color: var(--accent-active);
  transform: translateY(-2px);
}

#footer-bottom {
  width: calc(100% - 20px);
  display: flex;
  padding: 30px 10px;
  border-top: 1px solid var(--secondary-dark);
  margin: 0 auto;
}

#footer-bottom > div {
  flex: 1 0 20%;
}

#footer-bottom > div:first-child img {
  width: 100%;
  max-width: 200px;
  height: auto;
}

#footer-social {
  margin-top: 20px;
}

#footer-social ul {
  display: flex;
}

#footer-social li:not(:last-child) {
  padding-right: 12px;
}

#footer-social .fa {
  font-size: 2em;
}

#footer-social a {
  color: var(--primary);
}

#footer-social a:hover {
  color: var(--accent-active);
}

#footer-social img {
  max-width: 165px;
}

#copyright {
  width: calc(100% - 20px);
  padding: 20px 10px;
  border-top: 1px solid var(--secondary-dark);
  margin: 0 auto;
  text-align: center;
}

@media screen and (max-width: 1200px) {
  #footer-top > div:nth-child(1) {
    flex: 1 0 35%;
  }

  #footer-top > div:nth-child(2) {
    flex: 1 0 25%;
  }

  #footer-top > div:nth-child(3) {
    flex: 1 0 40%;
  }

  #footer-bottom > div:first-child {
    display: none;
  }
}

@media screen and (max-width: 900px) {
  #footer-top {
    flex-direction: column;
  }

  #footer-top > div:nth-child(2) {
    margin: 30px 0;
  }

  #footer-top > div:nth-child(1),
  #footer-top > div:nth-child(2),
  #footer-top > div:nth-child(3) {
    flex: 1 0 100%;
  }
}

@media screen and (max-width: 800px) {
  footer ul li {
    line-height: 28px;
  }

  #footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  #footer-bottom > div {
    flex: 1 0 100%;
  }

  #footer-bottom > div > ul {
    margin-bottom: 30px;
  }

  #footer-social {
    margin: 10px auto 0 auto;
    display: inline-block;
  }
}

/* END MANHATTAN FOOTER */

/* MATTRESS LANDING PAGE */
/*#divworkspacearea {
  max-width: 100%;
}*/

#mattress-page {
  -webkit-transition: all 0.3s ease 0.15s;
  -moz-transition: all 0.3s ease 0.15s;
  -o-transition: all 0.3s ease 0.15s;
  -ms-transition: all 0.3s ease 0.15s;
  transition: all 0.3s ease 0.15s;
  /*font-family: 'Lato', sans-serif;*/
}

#mattress-page img {
  max-width: 100%;
  height: auto;
}

#mattress-page h1 {
  letter-spacing: 2px;
  font-size: 36px;
  margin-bottom: 10px;
}

#mattress-page .intro {
  text-align: center;
  border-bottom: 1px solid #dadada;
  padding: 0 0 45px 0;
  margin: 25px auto;
}

/*#mattress-page .intro > p {
    font-family: "Times New Roman", Times, serif;
    letter-spacing: 2px;
}*/

#mattress-page h2 {
  text-align: center;
  font-size: 22px;
  font-weight: 300;
  vertical-align: text-bottom;
  color: #7d7d7d;
  margin: 0 0 25px 0;
}

#mattress-page h2 > span {
  border-radius: 100%;
  width: 35px;
  height: 35px;
  padding: 10px;
  background: #014b6e !important;
  color: #fff !important;
  text-align: center;
  display: inline-block;
  vertical-align: middle;
  font-size: 18px;
  line-height: 14px;
  margin-right: 5px;
  box-sizing: border-box;
  font-weight: 500;
}

#mattress-page type-widget {
  display: block;
  /*margin:25px 0;*/
  padding: 35px 0;
  border-bottom: 1px solid #ccc;
}

#mattress-page type-widget:nth-child(even) {
  background: #fafafa;
}

#mattress-page type-widget:nth-child(even) h2 {
  color: #000;
}

/*#mattress-page type-widget:nth-child(odd) {
    background: #fafafa;
}

#mattress-page type-widget:nth-child(odd) h2 {
    color:#000;
}*/

/*#mattress-page type-widget:nth-child(odd) h2 span {
   color:#014b6e !important;
    background:#fff !important;
}*/

/*#mattress-page type-widget .ajax-loader*/
#mattress-page .ajax-loader {
  display: block;
  margin: 0 auto;
  padding: 5% 0 3%;
}

#mattress-page type-widget ul {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}

#mattress-page type-widget li {
  list-style: none;
  display: inline-block;
  vertical-align: top;
  max-width: 150px;
  margin: 5px;
  background: #fff;
  align-self: stretch;
  border: 1px solid #f5f5f5;
  border-radius: 5px;
}

#mattress-page type-widget .is-support li {
  background: #fff;
  color: #014b6e;
  border: 1px solid;
  border-radius: 5px;
  margin: 5px;
  max-width: unset;
}

#mattress-page type-widget .is-support input[type="checkbox"] + label {
  padding: 2px 10px;
}

#mattress-page type-widget .is-support input[type="checkbox"]:checked + label {
  background-color: #fff;
  color: #014b6e;
}

#mattress-page type-widget .is-support label > p:last-of-type {
  display: none;
}

#mattress-page
  type-widget
  .is-support
  input[type="checkbox"]:checked
  + label
  > p:last-of-type {
  display: inline-block;
  color: #014b6e;
  position: static;
  margin: 0 10px 0 0;
}

#mattress-page
  type-widget
  .is-support
  input[type="checkbox"]:checked
  + label
  > p:first-of-type {
  display: inline-block;
}

#mattress-page type-widget input[type="checkbox"] {
  display: none;
}

#mattress-page type-widget label {
  display: block;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

#mattress-page type-widget label > p:last-of-type {
  display: none;
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 10px;
  font-size: 1rem;
  color: #222;
}

#mattress-page type-widget img {
  display: block;
  pointer-events: none;
}

#mattress-page type-widget label > p:first-of-type {
  padding: 10px;
  font-size: 1rem;
}

#mattress-page type-widget input[type="checkbox"]:checked + label {
  border: 1px solid #014b6e;
  border-radius: 5px;
}

#mattress-page
  type-widget
  input[type="checkbox"]:checked
  + label
  > p:last-of-type {
  display: block;
  color: #014b6e;
}

#mattress-page type-widget label:hover p {
  text-decoration: underline;
}

#mattress-page .submit-container {
  margin: 45px 0;
  text-align: center;
}

#mattress-page .submit-container a {
  padding: 15px 45px;
  font-size: 1em;
  text-decoration: none;
  display: inline-block;
  background: #014b6e;
  color: #fff;
  border: 1px solid #014b6e;
  border-radius: 5px;
}

#mattress-page .submit-container a:active {
  color: #fff;
  background: #014b6e;
}

#mattress-page .submit-container a:hover {
  background: #fff;
  color: #014b6e;
  text-decoration: none;
  border: 1px solid #014b6e;
}

/* BRAND WIDGET */
#mattress-page brand-widget {
  display: block;
  padding: 35px 0;
  border-top: 1px solid #ccc;
}

#mattress-page brand-widget .owl-stage {
  margin: 0 auto;
}

#mattress-page brand-widget ul {
  padding: 0 40px;
  width: inherit;
}

#mattress-page brand-widget li {
  list-style: none;
}

#mattress-page .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 33px;
  height: 33px;
  border-radius: 100%;
  background: #014b6e;
  color: #fff;
  border: 1px solid #014b6e;
}

#mattress-page button.owl-prev {
  left: -15px;
}

#mattress-page button.owl-next {
  right: -15px;
}

#mattress-page .owl-nav button i {
  line-height: 30px;
}

#mattress-page .owl-theme .owl-nav [class*="owl-"]:hover {
  background: #fff;
  color: #014b6e;
}

#mattress-page .owl-theme .owl-nav .disabled {
  opacity: 1;
  background: #ccc;
  border-color: #ccc;
}

#mattress-page .owl-theme .owl-nav .disabled:hover {
  background: #ccc;
  color: #fff;
}
/* BRAND WIDGET */

/* SLIDESHOW */
#mattress-page .intro {
  margin: 25px auto 0;
}

/* changed type-widget background color to (even) */

#mattress-page .mattress-slides {
  margin-top: 35px;
}

#mattress-page .mattress-slides img {
  width: 100%;
}
/* SLIDESHOW */

@media screen and (max-width: 1440px) {
  #mattress-page h2 {
    font-size: 1.5rem;
  }

  /*#mattress-page type-widget,
    #mattress-page .submit-container {
        margin-bottom: 35px;
    }*/

  /*#mattress-page type-widget li,
    #mattress-page type-widget img {
        max-width: 175px;
    }*/
}

@media screen and (max-width: 767px) {
  #content-theme-2.category-page h1 {
    margin: 0 0 10px;
  }

  #content-theme-2.category-page h1 span {
    padding: 10px 20px;
  }

  /*#mattress-page type-widget {
        margin: 25px 0;
    }*/

  /*#mattress-page type-widget li {
        margin: 0;
    }*/

  /*#mattress-page type-widget li,
    #mattress-page type-widget img {
        max-width: 150px;
    }*/

  /*#mattress-page .submit-container {
        margin-bottom: 25px;
    }
*/
  .progress {
    top: 0 !important;
  }
}

@media screen and (max-width: 400px) {
  #content-theme-2.category-page h1 {
    font-size: 1.75rem;
  }

  #content-theme-2.category-page h1 span {
    padding: 5px 20px;
  }

  #mattress-page h2 {
    font-size: 1.25rem;
  }

  /*#mattress-page type-widget li,
    #mattress-page type-widget img {
        max-width: 135px;
    }*/

  #mattress-page type-widget label > p:first-of-type {
    font-size: 0.875rem;
  }
}
/* END MATTRESS LANDING PAGE */

/*Epiphany 4 BravoV2 item information color changes*/
#item-info-container #item-info-pagination a {
  color: #000;
}

#consist-of-container .product-group-item .product-group-info p {
  color: #000;
}

#item-info-container #basic-function-icons li a .fa {
  color: #333;
}

#item-info-pricing .price {
  color: #fe9063;
}

#item-info-pricing .add-to-cart a {
  background-color: #fe9063;
  border: 1px solid #fe9063;
}

#item-info-pricing .add-to-cart a:hover {
  background-color: #fff;
  color: #fe9063;
  border: 1px solid #fe9063;
}

#email-friend a {
  color: #fff;
}

#request-information,
#email-friend {
  background-color: #fe9063;
}

#request-information:hover a,
#email-friend:hover a {
  color: #fe9063;
}

#request-information a:hover,
#email-friend a:hover {
  color: #fe9063;
  text-decoration: none;
}

.RequestInfoPageButtonSend {
  border: 1px solid #fe9063;
  background: #fe9063;
}

.RequestInfoPageButtonSend:hover {
  border: 1px solid #fe9063;
}

.filter-show-button {
  background: #fe9063;
}

.filter-show-button:hover {
  color: #fe9063;
  background: #fff;
}

#item-info-product-info .product-tab-heading.tab-active {
  border-bottom: 3px solid #fe9063;
}

#item-info-product-info .product-tab-heading.tab-active {
  border-bottom: 3px solid #fe9063;
}

#item-info-draping .customize-choice-tabs::-webkit-scrollbar-track {
  background: #fe9063;
}

#item-info-product-info .product-tab-heading {
  color: #fe9063;
}

#item-info-short-description .view-collection {
  color: #fe9063;
}

#item-info-draping .draping-pagination a {
  color: #fe9063;
}

#item-info-draping .customize-choice-tabs li.selected a span {
  background: #fe9063;
}

#snap-shot a {
  color: #fe9063;
}

#item-info-rotators .heading:after {
  background: #fe9063;
}

#item-info-draping .customize-choice-tabs li.selected a span {
  background: #fe9063;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: #fe9063 !important;
}

.noUi-handle {
  background-color: #fe9063;
}

/* End Epiphany 4 BravoV2 item information color changes  */




/* 77809 */
.ProductThumbnailIconOnSale:not(:empty) {
  top: -20px;
  left: 0;
  right: auto;
  /*bottom: auto;
  right: 20px;*/
  background: none;
  color: #cc0101;
  font-size: 15px;
  font-weight: bold;
}

.ProductThumbnailSection:hover .ProductThumbnailIconOnSale {
  background: none;
}

.ProductThumbnailIconOnSale:not(:empty)::before {
  font-family: "FontAwesome";
  content: "\f02b";
  padding-right: 5px;
  font-size: 18px;
  position: relative;
  bottom: -2px;
}

/*zd 85140 */
.ProductThumbnailIconOnDisplay:not(:empty) {
  bottom: -18px;
  font-size: 13px;
  z-index: 9;
  background-color: #000;
  border: 1px solid #000;
  color: #fff;
  font-weight: bold;
  padding: 5px 10px;
  position: relative;
  float: left;
  width: auto;
}



.ProductThumbnailIconCustomizable:not(:empty) {
  /* top: -20px;
  left: 0;
  right: auto; */
  /*bottom: auto;
  right: 20px;*/
  padding: 5px 10px;
  position: relative;
  float: left;
  width: auto;
  border: 1px solid #114D8B;
  background: #114D8B;
  color: white;
  bottom: -18px;
  font-size: 13px;
  font-weight: bold;
  z-index: 9;
}

/*zd 85140 */

.ProductThumbnailIconAvailabilityOne:not(:empty) {
  bottom: -18px;
  font-size: 13px;
  z-index: 9;
  background-color: #fff;
  border: 1px solid #000;
  color: #000;
  font-weight: bold;
  padding: 5px 10px;
  position: relative;
  float: left;
  width: auto;
}
/*
.ProductThumbnailIconAvailabilityOne:not(:empty) {
  bottom: -18px;
  left: 0;
  font-size: 13px;
  z-index: 9;
  background-color: #fff;
  border: 1px solid #000;
  color: #000;
  font-weight: bold;
  padding: 5px 10px;
  max-width: 95px;
  width: 95px;
  position: relative;
  float: left;
}*/


/* ZD#82920 */
.ItemBrowserThumbnailContainer .ProductThumbnailParagraphCompare {
  right: 0;
  left: auto;
}

/* Promo Popup */
#promo-popup {
  width: 772px;
  height: 472px;
  margin: 0 auto;
  background: url('/css/807/images/e-mail-sign-up.jpg') no-repeat;
  text-align: center;
  position:relative;
}

#promo-popup-fields {
  display: flex;
  padding-top: 294px;
}

#promo-popup-fields > div {
  flex: 1 0 50%;
}

#promo-popup-fields > div:first-of-type {
  text-align: right;
  display: flex;
  justify-content: end;
}

#promo-popup-fields > div:first-of-type input {
  margin-right: 7px;
}

#promo-popup-fields > div:last-of-type input {
  margin-left: 7px;
}

#promo-popup input {
  width: 283px;
  height: 40px;
  border: 1px solid #fff;
  color: #000;
  font-size: 16px;
  padding:10px;
  display: block;
  box-sizing: border-box;
}

#promo-popup button:not(.mfp-close) {
  width: 248px;
  height: 43px;
  background-color: #69c8cc;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  box-sizing: border-box;
  margin-top: 40px;
}
/* End Promo Popup */


/* zd 84632 */
.ProductInfoSpanNameSKU,
.ProductInfoSpanValueSKU
  {
    font-size: 14px;
  }

/* ZD#86812 */
#content-theme-3 .contact-form #ReCaptchaContact {
  background-color: #333;
  color: #fff;
  border: 1px solid #333;
  text-decoration: none;
  text-transform: uppercase;
  display: block;
  padding: 10px;
  font-size: 16px;
  width: 100%;
  cursor: pointer;
  margin: 25px 0;
}

#content-theme-3 .contact-form #ReCaptchaContact:hover {
  background-color: #fff;
  color: #333;
}

#content-theme-3 .contact-form #ReCaptchaJoinEmail {
  background-color: #333;
  color: #fff;
  border: 1px solid #333;
  text-decoration: none;
  text-transform: uppercase;
  display: block;
  padding: 10px;
  font-size: 16px;
  width: 100%;
  cursor: pointer;
  margin: 25px 0;
}

#content-theme-3 .contact-form #ReCaptchaJoinEmail:hover {
  background-color: #fff;
  color: #333;
}

/* sf 822883 */
.grecaptcha-badge { visibility: hidden; }
