#footer {
  padding-top: 0;
  .footer-container {
    background: #E9E5DE;
  }
}
#footer  .container {
  margin: 0;
}
body#cms #footer  .footer-container .container {
  padding-left: 0;
  padding-right: 0;
}
#footer  .container > .row:not(.display_footer_after) {
  border-bottom: 1px solid #979797;
}

#footer h4 {
  color: #666439 !important;
  font-size: clamp(1.875rem,1.2980769231rem + 1.6025641026vw,2.5rem) !important;
  line-height: 100% !important;
  font-family: "Manier", serif !important;
  font-weight: normal;
  margin-bottom: 20px;
}

#blockEmailSubscription_displayFooterBefore {
  margin: 0;
  padding: 0;
}

.footer-container {
  padding-top: 0px;
}

.footer_image {
  flex: 0 0 44%;
  border-right: 1px solid #979797;
  background-image: url('/img/cms/Tienda_de_colchones_cerca_de_mi.jpg');
  background-position: center center;
  background-size: cover;
}
.footer_image img {
  width: 100%;
  visibility: hidden;
}

.block_newsletter {
  flex: 1 1 56%;
  max-width: 100%;
  background-color: transparent;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
.newsletter-top {
  padding: 70px 46px 46px 46px;
  flex: 1;
  border-bottom: 1px solid #979797;
}
.newsletter-links {
  flex: 0;
  display: flex;
  flex-direction: row;
}

.newsletter-links p:nth-child(1) {
  border-right: 1px solid #979797;
}

.newsletter-links p {
  flex: 1;
  height: 100px;
  line-height: 100px;
  padding: 0 !important;
  margin: 0;
}
.newsletter-links p:hover {
  /*background: linear-gradient(86.74deg, #D1B5B2 -7.02%, #C36C2A 21.73%, #CF9D12 51.07%, #ABBAAE 78.64%, #666439 105.64%);
  background-size: 200% 200%;
  animation: sonpuragradient 5s ease infinite;
  -webkit-animation: sonpuragradient 5s ease infinite;*/
  background-color: #666439;
}

.newsletter-links p a {
  width: 100%;
  height: 100%;
  line-height: 50px;
  padding: 26px 46px;
  color: #666439 !important;
  font-size: 16px;
  text-decoration: none;
  transition: all .5s ease 0s;
  display: flex;
  font-family: "Neue Haas Grotesk Display", sans-serif !important;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.newsletter-links p:hover a {
  /*background: url('/img/cms/mask-grain2.png') repeat left top;*/
  color: #FFF !important;
}

.flex {
  display: flex;
}
.f-33 {
  flex: 0 0 33%;
}
.f-66 {
  flex: 0 0 66%;
}
.gap-10 {
  gap: 10px;
}

.block_newsletter form {
  max-width: 640px;
}

.block_newsletter form input[type=text]{
  width: 100%;
}
.block_newsletter form input[type=email]{
  width: calc(100% - 160px);
}
.block_newsletter form input[type=submit]{
  width: 160px;
  background: #666439 !important;
  color: #FFF !important;
  font-weight: normal;
}

.block_newsletter form input[type=text],
.block_newsletter form input[type=email],
.block_newsletter form input[type=submit] {
  min-width: auto;
  height: 58px !important;
  line-height: 58px;
  font-size: 14px;
  padding: 0 10px;
  position: relative;
  outline: 0;
  border: 1px solid #666439;
  color: #666439;
  background-color: transparent;
}
.block_newsletter form input[type=checkbox] {
  height: auto;
}

.consent {
  margin-top: 20px;
}



.consent input {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 20px;
}

.consent label {
  position: relative;
  display: block;
  padding-left: 30px;
  cursor: pointer;
  text-align: left;
  color: #666439;
}

.consent label a {
  color: #666439;
  text-decoration: underline;
}

.consent label:before {
  content: '';
  position: absolute;
  top: 50%;
  margin-top: -10px;
  left: 0;
  display: block;
  height: 20px;
  width: 20px;
  border: 1px solid #666439;
  background-color: transparent;
  border-radius: 3px;
}

.consent label:hover:before {
  background-color: #666439;
}
.consent label::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #333;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  opacity: 0;
}

.consent input:checked + label:before {
  content: '';
  opacity: 1;
  background-color: #666439;
}



::-webkit-input-placeholder,
::-moz-placeholder,
::-moz-placeholder,
::-ms-input-placeholder{
  color: #666439 !important;
}

.block_newsletter form input[type=text]:focus,
.block_newsletter form input[type=email]:focus {
  background-color: transparent;
  border: 1px solid #666439;
}

#block-newsletter-label {
  width: 100%;
}

.links-block {
  flex: 0 0 72.01%;
  border-right: 1px solid #979797;

}
.block-contact {
  flex: 1;
}

.newsletter-links .arrow-icon a::after,
.newsletter-links .phone-icon a::after {
  content: "";
  background-position: center center;
  display: inline-block;
  margin-left: 5px;
  -webkit-transition: background-position 400ms cubic-bezier(0.165,0.84,0.44,1) 0s;
  transition: background-position 400ms cubic-bezier(0.165,0.84,0.44,1) 0s;
}

.newsletter-links .arrow-icon a::after {
  background-image: url('/img/cms/arrow-left.svg');
  width: 40px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: 40px 16px;
}
.newsletter-links .phone-icon a::after {
  background-image: url('/img/cms/telf.svg');
  width: 40px;
  height: 28px;
  background-repeat: no-repeat;
  background-size: 40px 28px;
}

.newsletter-links p.arrow-icon:hover > a::after {
  background-image: url('/img/cms/arrow-left-b.svg');
}
.newsletter-links p.phone-icon:hover > a::after {
  background-image: url('/img/cms/telf-b.svg');
}

.newsletter-links p.arrow-icon a span,
.newsletter-links p.phone-icon a span{
  color: inherit;
}

.newsletter-links p.arrow-icon:hover a span,
.newsletter-links p.phone-icon:hover a span{
  color: #FFF;
}

.links-block .row .wrapper,
.block-contact {
  padding: 46px;
}

.links-block > .row {
  justify-content: flex-end;
}

.links-block > .row > .col {
  width: 32%;
}

.links-block ul li {
  margin: 0 0 10px;
  line-height: 26px;
}

.links-block ul li a {
  font-family: "Neue Haas Grotesk Display", sans-serif !important;
  font-size: 1em;
  color: #666439;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}
.links-block ul li a:hover {
  color: #222;
}

.copyright {
  padding: 30px 20px;
  margin: 0;
  color: #222;
}

.mb-2 {
  margin-bottom: clamp(2.5rem, 0.1923076923rem + 6.4102564103vw, 5rem) !important;
}

#contact-infos {
  font-family: "Neue Haas Grotesk Text", sans-serif;
  font-size: 1em;
  color: #666439;
  font-weight: bold;
}

#contact-infos a {
  font-size: 16px;
  color: #666439;
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

.display_footer > .block-social {
  display: none !important;
}

.facebook {
  background-image: url('/img/cms/facebook.png');
  background-position: center center;
}

.instagram {
  background-image: url('/img/cms/instagram.png');
  background-position: center center;
}

.linkedin {
  background-image: url('/img/cms/linkedin.png');
  background-position: center center;
}

.block-social ul li {
  display: inline-block;
  width: 26px;
  height: 26px;
  margin: 0 18px 0 0;
  background-color: transparent !important;
}

.block-social ul li:hover {
  opacity: 0.8;
}

@media (min-width: 0px) {
  #footer .container {
    width: 100% !important;
  }
}

@media (max-width: 1200px) {
  .newsletter-links {
    flex-direction: column;
  }
  .newsletter-links p:nth-child(1),
  .links-block {
    border-bottom: 1px solid #979797;
    border-right: 0px solid transparent;
  }
  .newsletter-top .flex {
    flex-direction: column;
  }
  .newsletter-top .f-33,
  .newsletter-top .f-66 {
    flex: 0 0 50%;
  }
  .display_footer {
    flex-direction: column;
  }
  .links-block,
  .block-contact {
    flex: 1 1 100%;
    width: 100%;
  }
  #footer  .container {
    padding: 0;
  }
}

@media (max-width: 767px) {
  .display_footer_before {
    flex-direction: column;
  }
  .footer-container .links ul {
    background-color: transparent;
  }
  .footer-container .links ul li {
    border-bottom: 0px;
  }
  .links-block .row,
  .block-contact {
    margin-bottom: 30px;
  }
  .links-block > .row {
    flex-direction: column;
  }
  .links-block > .row > .col {
    width: 100%;
  }
  .footer-container .wrapper:not(.links) {
    padding: 30px 20px 0 !important;
  }
  .links, .footer-container .wrapper.links {
    padding: 30px 25px 0 25px !important;
  }
  .footer-container .links ul>li,
  .block-contact #contact-infos,
  .block-social {
    padding: 0 !important;
  }
  .copyright-row .col-md-12 {
    margin: auto;
  }
  #footer  .container {
    padding: 0;
  }
}

