section#collections.margintop0 {
  margin-top: 0px;
}
section#collections {
  float: left;
  width: 100%;
}

/* Filter */
section#filter {
  min-height: 56px;
  background: #ffffff;
  margin-bottom: 0px;
  -moz-box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
}
section#filter ul {
  margin: 0px;
  padding: 0px;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -moz-flex;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
}
section#filter ul li {
  display: flex;
  flex: 1;
  position: relative;
  justify-content: center;
  align-items: center;
  margin: 0px;
  padding: 0px;
  float: left;
  height: 100%;
  min-height: 56px;
  text-align: center;
  border-right: 1px #a39161 solid;
}
section#filter ul li.first {
  width: 11.5%;
}
section#filter ul li.filter_products_enfant {
  background: #ededed;
  border-right: 0px;
}
section.filter-matelas section#filter ul li:first-child,
section#filter-container section#filter ul li:first-child {
  border-left: 0px #a39161 solid;
}
section.filter-matelas section#filter ul li:last-child,
section#filter-container section#filter ul li:last-child {
  border-right: 0px #a39161 solid;
}

section#filter ul li:last-child a {
  color: #8c8c8c;
}
section#filter ul li a,
section#filter ul li label {
  color: #a59063;
  text-transform: uppercase;
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  padding: 0 6px;
  cursor: pointer;
}
section#filter ul li label {
  margin-top: 6px;
}
section#filter ul li.active {
  background: #a39161;
}
section#filter ul li.active a,
section#filter ul li.active label {
  color: #fff;
}

/* Filter style 2 */
section#filter2 {
  background: transparent;
  margin-bottom: 20px;
  margin-top: 65px;
}
section#filter2 .items-filer {
  max-width: 100%;
  margin: 20px auto 45px;
  display: table;
  width: auto;
  text-align: center;
}
section#filter2 .items-filer h2 {
  margin: 30px 0 40px;
  font-size: 30px;
  line-height: 32px;
}
section#filter2 .items-filer ul {
  padding: 0px;
  float: left;
  width: auto;
  margin: auto;
  display: block;
  border: 1px #a39161 solid;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  overflow: hidden;
}
section#filter2 .items-filer ul li {
  display: inline-block;
  position: relative;
  margin: 0px;
  padding: 0px;
  float: left;
  line-height: 42px;
  min-height: 52px;
  text-align: center;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
}
section#filter2 .items-filer ul li.active {
  background: #a39161;
}
section#filter2 .items-filer ul li a,
section#filter2 .items-filer ul li label {
  color: #a39161;
  text-transform: uppercase;
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  padding: 16px 30px;
  display: block;
  cursor: pointer;
}
section#filter2 .items-filer ul li.active a,
section#filter2 .items-filer ul li.active label {
  color: #fff;
}

section#filter2 .menu-tabs {
  float: left;
  width: 100%;
  border-bottom: 1px solid #bdbdbd;
  margin: 0 0 80px;
  text-align: center;
}
section#filter2 .menu-tabs ul {
  border: 0px;
  padding: 0px;
  margin: 0 auto 9px;
}
section#filter2 .menu-tabs ul li {
  display: inline-block;
  float: none;
}
section#filter2 .menu-tabs .nav-tabs > li > a,
section#filter2 .menu-tabs .nav-tabs > li:first-child a,
section#filter2 .menu-tabs .nav-tabs > li:last-child a {
  padding: 10px 20px;
  cursor: pointer;
}

/* texte intro */
section.intro-matelas {
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: top right;
}

section#texte-intro .texte .title,
section.block-intro .texte .title,
section.block-intro .texte h2,
section#texte-intro .texte h2 {
  font-family: "TimesNewRomanItalic", sans-serif;
  font-size: 22px;
  line-height: 32px;
  color: #a39161;
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
  text-transform: none;
}
section#texte-intro .texte .title:after,
section.block-intro .texte .title:after,
section#texte-intro .texte h2:after,
section.block-intro .texte h2:after {
  content: "";
  position: absolute;
  bottom: -5px;
  width: 60px;
  height: 1px;
  background: #a39161;
  left: 0px;
}

section#texte-intro .image,
section.block-intro .image {
  text-align: center;
  display: block;
  min-height: auto;
}
section#texte-intro .image .img-rond,
section.block-intro .image .img-rond {
  width: 265px;
  height: 265px;
  background: #fff;
  border: 3px #fff solid;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  vertical-align: middle;
  margin: auto;
  position: relative;
  background-position: 40% 30% !important;
  background-repeat: no-repeat !important;
  -webkit-box-shadow: 0px 0px 60px -5px rgba(40, 40, 40, 0.2);
  -moz-box-shadow: 0px 0px 60px -5px rgba(40, 40, 40, 0.2);
  box-shadow: 0px 0px 60px -5px rgba(40, 40, 40, 0.2);
}
section#texte-intro .image .img-rond:before,
section.block-intro .image .img-rond:before {
  content: "";
  background: url("../images/icons/icon-filet.png") no-repeat center center;
  display: block;
  position: absolute;
  height: 32px;
  width: 32px;
  right: 4px;
  top: 4px;
}
section#texte-intro .image .img-rond:after,
section.block-intro .image .img-rond:after {
  content: "";
  background: url("../images/icons/icon-filet.png") no-repeat center center;
  display: block;
  position: absolute;
  height: 32px;
  width: 32px;
  left: 4px;
  bottom: 4px;
}

section.intro-conseil {
  min-height: 720px !important;
}

.intro2 .title:after {
  display: none !important;
}

@media (min-width: 769px) {
  section#texte-intro .image,
  section.block-intro .image {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  section#texte-intro .col-sm-7.texte,
  section.block-intro .col-sm-7.texte {
    float: right;
  }
}
@media (max-width: 769px) {
  section#filter2 {
    margin-top: 0;
  }
  section#texte-intro,
  section.block-intro {
    padding: 0 0 30px;
  }
  section#texte-intro .texte,
  section#texte-intro .image,
  section.block-intro .texte,
  section.block-intro .image {
    padding: 20px 0;
  }
}
@media (max-width: 520px) {
  section#filter2 .items-filer ul li a,
  section#filter2 .items-filer ul li label {
    padding: 16px 10px;
  }
}
@media (max-width: 1220px) {
  section#filter2 .menu-tabs {
    margin: 0 0 60px;
    padding-bottom: 10px;
  }
  section#filter2 .menu-tabs ul li {
    max-width: 20%;
    width: 100%;
    text-align: center;
    margin-top: 10px;
    float: left;
    line-height: 15px;
    min-height: 50px;
  }
  section#filter2 .items-filer ul li a,
  section#filter2 .items-filer ul li label {
    line-height: 20px;
  }
}
@media (max-width: 769px) {
  section#filter2 .menu-tabs {
    padding-bottom: 6px;
    margin-bottom: 20px;
  }
}
@media (max-width: 520px) {
  section#filter2 .menu-tabs ul li {
    min-height: 60px;
  }
}
@media (max-width: 580px) {
  section#filter2 .items-filer ul li a,
  section#filter2 .items-filer ul li label {
    font-size: 12px;
  }
  section#filter2 .menu-tabs ul li {
    width: 100%;
    float: left;
    max-width: 100%;
    min-height: auto;
    padding: 15px 0px 5px;
  }
}

@media (max-width: 960px) {
  section#filter ul li {
    width: 22.5%;
    padding: 0 6px;
    min-height: 56px;
    height: auto;
  }
  section#filter ul li.first {
    width: 10%;
    padding: 0px;
  }
  section#filter ul li a,
  section#filter ul li label {
    font-size: 13px;
    line-height: 16px;
  }
}
@media (max-width: 769px) {
  section#filter-container section#filter .container {
    padding: 0px;
  }
  section#filter ul li {
    width: 50% !important;
    padding: 15px 15px;
    justify-content: center;
    min-height: 56px;
    height: auto;
    display: inline-block;
    display: flex;
  }
  section#filter ul li:nth-child(3) {
    border-left: 0px #a39161 solid;
  }
}

@media (max-width: 580px) {
  section#filter ul {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -moz-flex;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
  }
  section#filter ul li {
    flex: 1 0 50%;
    /*width: 22.5%;*/
    padding: 5px 15px;
    height: 100%;
    min-height: auto !important;
    height: auto;
    text-align: center;
    border-right: 1px #a39161 solid;
  }
  section#filter-container section#filter ul li:nth-child(3),
  section#filter-container section#filter ul li:nth-child(4) {
    border-top: 1px #a39161 solid;
  }
  section#filter ul li.first {
    width: 10%;
    padding: 0px;
  }
}
@media (max-width: 580px) {
  section#filter ul li a,
  section#filter ul li label {
    font-size: 12px;
    line-height: 16px;
  }
}

section#filter-container.filter-sommiers-mobile {
  display: none;
}

section#filter-container #filter ul.filter-mobile {
  display: none;
}

@media (max-width: 767px) {
  section#filter-container.filter-sommiers-desktop {
    display: none;
  }
  section#filter-container.filter-sommiers-mobile {
    display: block !important;
    margin: 0;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  #filter-container.filter-sommiers-mobile #filter-mobile {
    min-height: 56px;
    background: #ffffff;
    -moz-box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
  }
  #filter-container.filter-sommiers-mobile #filter-mobile ul {
    margin: 0px;
    padding: 0px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -moz-flex;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
  }
  #filter-container.filter-sommiers-mobile #filter-mobile ul li {
    display: flex;
    flex: 1;
    position: relative;
    justify-content: center;
    align-items: center;
    margin: 0px;
    padding: 0px;
    float: left;
    /*width: 25%;*/
    height: 100%;
    min-height: 56px;
    text-align: center;
    border-right: 1px #a39161 solid;
  }

  #menu-mobile .style-prod.open ul li a {
    color: #8c8c8c;
    display: inline-block;
    padding: 18px 30px;
  }

  #menu-mobile .style-prod.open ul li:hover a,
  #menu-mobile .style-prod.open ul li.active a {
    color: #004411;
  }

  section#filter-container.filter-sommiers-mobile.fixed {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    z-index: 9999999;
    margin: 0;
    background: #fff;
  }

  #menu-mobile .etape3.filter_nav {
    -webkit-transition: left 0.5s;
    -moz-transition: left 0.5s;
    -ms-transition: left 0.5s;
    transition: left 0.5s;
    left: 100%;
    right: 0;
    z-index: 9999999;
    padding-top: 0;
    overflow: hidden;
    position: fixed;
    height: 100vh;
    display: block !important;
  }

  #menu-mobile .etape3.filter_nav .header {
    position: absolute;
  }

  #menu-mobile .etape3 .header .img-top {
    display: block;
    cursor: pointer;
    padding-right: 45px;
  }

  #menu-mobile .etape3.filter_nav.style-prod ul {
    padding: 0 15px;
    padding-top: 75px;
    overflow: auto;
    display: block;
    float: none;
  }

  #menu-mobile .etape3.filter_nav.style-prod ul li {
    flex: none;
    display: block;
    padding: 52px 0;
  }

  #menu-mobile .etape3.filter_nav.open {
    left: 0;
  }

  #menu-mobile .block-btn .btn {
    background: transparent;
    color: #a39161;
    border: 1px solid #a39161;
  }

  section#filter-container #filter ul {
    display: none;
  }

  section#filter-container #filter ul.filter-mobile {
    display: block;
    flex-wrap: unset;
  }

  section#filter-container #filter ul.filter-mobile li {
    width: 100% !important;
    flex: none;
    font-family: "Raleway", sans-serif;
    font-size: 12px;
    line-height: 50px;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    color: #004411;
    border: none !important;
    position: relative;
    padding: 5px 20px;
    cursor: pointer;
  }

  section#filter-container #filter ul.filter-mobile li:after {
    content: "";
    background: url("../images/icons/ui-expand-open.svg") no-repeat center right;
    background-size: 100%;
    width: 40px;
    height: 15px;
    position: absolute;
    z-index: 99;
    right: 0;
    top: 22px;
  }
}
