/*
Theme Name: Routhiau
Theme URI: https://www.routhiau.fr
Author: Damien DOMINGUEZ
Description: SAS ROUTHIAU - 2020
Requires at least: WordPress 5.0
Version: 1.0
*/

/*****************************************************/
/*********************** FONTS ***********************/
/*****************************************************/

/* latin-ext */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src: url(fonts/KFOmCnqEu92Fr1Mu7GxKOzY.woff2) format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: fallback;
  src: url(fonts/KFOmCnqEu92Fr1Mu4mxK.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: fallback;
  src: url(fonts/KFOlCnqEu92Fr1MmWUlfChc4EsA.woff2) format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: fallback;
  src: url(fonts/KFOlCnqEu92Fr1MmWUlfBBc4.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 900;
  font-display: fallback;
  src: url(fonts/KFOlCnqEu92Fr1MmYUtfChc4EsA.woff2) format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 900;
  font-display: fallback;
  src: url(fonts/KFOlCnqEu92Fr1MmYUtfBBc4.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/*****************************************************/
/*********************** RESET ***********************/
/*****************************************************/

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  line-height: 1;
  background-color: #fff;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

ul,
ol {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
  outline: 0;
}

/*****************************************************/
/********************** GENERAL **********************/
/*****************************************************/

html {
  font-size: 62.5%;
  /* 1rem = 10px */
}

body {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 2rem;
  color: #333;
}

/*****************************************************/
/************************ MENU ***********************/
/*****************************************************/

#top-nav {
  display: flex;
  flex-wrap: wrap;
  padding: 15px;
}

#logo-nav {
  height: 50px;
}

#logo-nav img {
  height: 50px;
  width: 100%;
}

#main-menu-container {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-end;
}

#hamburger {
  height: 50px;
  width: 50px;
  background-color: #1a9da2;
  outline: 0;
  border: none;
  position: relative;
  order: 3;
}

.hamburger-box {
  width: 30px;
  height: 24px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -15px;
  margin-top: -12px;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
  transition-duration: 0.22s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 30px;
  height: 4px;
  background-color: #fff;
  border-radius: 4px;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -10px;
  transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in;
}

.hamburger-inner::after {
  bottom: -10px;
  transition: bottom 0.1s 0.25s ease-in,
    transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

#hamburger.active .hamburger-inner {
  transform: rotate(225deg);
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

#hamburger.active .hamburger-inner::before {
  top: 0;
  opacity: 0;
  transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out;
}

#hamburger.active .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
  transition: bottom 0.1s ease-out,
    transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

#pro-space, #routhiau-space {
  width: 50px;
  height: 50px;
  margin: 0 15px 0 0;
  order: 1;
}

#pro-space a, #routhiau-space a {
  display: block;
  height: 50px;
  line-height: 50px;
  background-image: url(img/eBAT.png);
  background-repeat: no-repeat;
  background-position: center;
  background-color: #0020ff;
}

#pro-space a:hover {
  background-color: #2d2e2e;
}

#pro-space a span {
  display: none;
}

#routhiau-space {
  order: 2;
}

#routhiau-space a {
  background-image: url(img/r_routhiau.png);
  background-color: #a21a3f;
}

#routhiau-space a:hover {
  background-color: #1a9da2;
}

#main-menu {
  position: fixed;
  top: 15px;
  left: 0;
  z-index: 800;
  width: calc(100% - 80px);
  padding: 15px 15px 0 15px;
  background-color: #1a9da2;
  transform: translateX(-100%);
  transform-origin: left;
  transition: all 0.2s ease-out;
}

#main-menu.active {
  transform: translateX(0);
}

#menu-principal > li {
  padding: 0 0 30px 0;
}

#menu-principal li a {
  display: block;
  font-size: 2rem;
  line-height: 2.5rem;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
}

#menu-principal li.menu-item-has-children > a {
  background-image: url(img/menu_dwn.svg);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
}

.sub-menu {
  display: none;
  transition: all 0.3s ease-out;
}

.sub-menu li {
  padding: 30px 0 0 15px;
}

#menu-principal li.active .sub-menu {
  display: block;
}

#menu-principal li.active.menu-item-has-children > a {
  background-image: url(img/menu_up.svg);
}

.menu-item-object-jobs {
  display: flex;
  flex-wrap: wrap;
}

#job-count {
  position: relative;
  margin: 0 0 0 20px;
  line-height: 25px;
  width: 20px;
  text-align: center;
  background-color: #ff9900;
  font-weight: 700;
  color: #ffffff;
}

#job-count::before,
#job-count::after {
  content: "";
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  margin: 0;
  border-style: solid;
}

#job-count::before {
  left: -13px;
  border-width: 0 0 25px 13px;
  border-color: transparent transparent #ff9900 transparent;
}

#job-count::after {
  right: -13px;
  border-width: 25px 13px 0 0;
  border-color: #ff9900 transparent transparent transparent;
}

#socials-networks {
  border-top: 2px solid #fff;
}

#socials-networks ul {
  display: flex;
  flex-wrap: wrap;
  padding: 15px 0;
}

#socials-networks ul li {
  margin: 0 15px 0 0;
}

#socials-networks ul li a,
#socials-networks ul li button {
  display: block;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 25px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

#search {
  background-image: url(img/search_wht.svg);
}

#instagram {
  background-image: url(img/logo_instagram_wht.svg);
}

#facebook {
  background-image: url(img/logo_facebook_wht.svg);
}

#linkedin {
  background-image: url(img/logo_linkedin_wht.svg);
}

#search-form {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 900;
  width: 100%;
  padding: 15px 0;
  background-color: #1a9da2;
  transform: translateY(-100%);
  transform-origin: top;
  transition: all 0.2s ease-out;
}

#search-form.active {
  transform: translateY(0);
}

#search-form form {
  display: flex;
  flex-wrap: wrap;
  padding: 0 15px;
}

#search-form form input[type="text"] {
  width: calc(100% - 65px);
  padding: 0;
  font-size: 3.5rem;
  line-height: 4rem;
  font-weight: 700;
  color: #ffffff;
  border: none;
  background-color: transparent;
}

#search-form form input[type="text"]::placeholder {
  color: #ffffff;
  opacity: 0.3;
}

#search-form form input[type="image"] {
  width: 50px;
  height: 50px;
  margin: 0 0 0 15px;
}

@media (min-width: 900px) {
  #pro-space {
    width: auto;
  }

  #pro-space a {
    position: relative;
    padding: 0 10px 0 45px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    background-position: left center;
    transition: all 0.3s ease-out;
  }

  #pro-space a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -29px;
    width: 0;
    height: 0;
    margin: 0;
    border-style: solid;
    border-width: 0 0 50px 29px;
    border-color: transparent transparent #0020ff transparent;
    transition: all 0.3s ease-out;
  }

  #pro-space:hover a::before {
    border-color: transparent transparent #2d2e2e transparent;
  }

  #pro-space a span {
    display: block;
  }

  #routhiau-space a {
    transition: all 0.3s ease-out;
  }

  #search-form form {
    margin: 0 auto;
    padding: 0;
    max-width: 800px;
  }
}

@media (min-width: 1200px) {
  #top-nav {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    padding: 20px 20px 0 20px;
  }

  #logo-nav {
    height: 40px;
  }

  #logo-nav img {
    height: 40px;
  }

  #main-menu-container {
    justify-content: flex-start;
  }

  #hamburger {
    display: none;
    order: 0;
  }

  #main-menu {
    position: inherit;
    display: flex;
    flex: 1;
    width: auto;
    padding: 0;
    background-color: transparent;
    transform: none;
    order: 1;
  }

  .menu-principal-container {
    flex: 1;
  }

  #menu-principal {
    display: flex;
    margin: 0 0 0 30px;
  }

  #menu-principal > li {
    line-height: 40px;
    margin: 0 15px 0 0;
    padding: 0 0 15px 0;
    border-bottom: 5px solid transparent;
    transition: all 0.3s ease-out;
  }

  #menu-principal > li:hover,
  #menu-principal > li.current-menu-item,
  #menu-principal > li.current-category-ancestor,
  #menu-principal > li.current-post-parent,
  #menu-principal > li.current-menu-parent {
    padding: 0 0 15px 0;
    border-color: #1a9da2;
  }

  #menu-principal > li a {
    display: block;
    height: 40px;
    line-height: 42px;
    font-size: 1.5rem;
    color: #333333;
  }

  .sub-menu {
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: 0;
    z-index: -2;
    padding: 0 190px;
    background-color: #1a9da2;
    overflow: hidden;
    transition: all 0.3s ease-out;
  }

  #menu-principal > li:hover > .sub-menu {
    padding: 0 190px 10px;
  }

  .sub-menu > li {
    margin: 10px 5px 0;
    padding: 0;
    width: calc(33.333333% - 10px);
    text-align: center;
    border-bottom: none;
  }

  .sub-menu > li.last {
    margin: 0 5px 10px 5px !important;
  }

  .sub-menu > li a {
    display: block;
    position: relative;
    height: 100% !important;
    color: #ffffff !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    line-height: 220px !important;
  }

  .sub-menu > li a::after {
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
    transition: all 0.3s ease-out;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }

  .menu-meuble a::after {
    background-image: url(img/menu_furniture.webp);
  }

  .menu-mitigeur a::after {
    background-image: url(img/menu_tap.webp);
  }

  .menu-douche a::after {
    background-image: url(img/menu_shower.webp);
  }

  .menu-bain a::after {
    background-image: url(img/menu_bath.webp);
  }

  .menu-toilette a::after {
    background-image: url(img/menu_toilets.webp);
  }

  .menu-vasque a::after {
    background-image: url(img/menu_washbasin.webp);
  }

  .menu-home a::after {
    background-image: url(img/menu_athome.webp);
  }

  .menu-bay a::after {
    background-image: url(img/menu_bay.webp);
  }

  .menu-reflections a::after {
    background-image: url(img/menu_reflections.webp);
  }

  .menu-novellini a::after {
    background-image: url(img/menu_novellini.webp);
  }

  .sub-menu li a:hover::after {
    opacity: 0.5;
  }

  .menu-item-object-jobs {
    position: relative;
  }

  #job-count {
    margin: 10px 0 0 15px;
    line-height: 20px;
    height: 20px;
  }

  #job-count::before {
    left: -11px;
    border-width: 0 0 20px 11px;
  }

  #job-count::after {
    right: -11px;
    border-width: 20px 11px 0 0;
  }

  #menu-connection {
    display: flex;
    border-top: none;
    padding: 0;
  }

  #pro-space {
    height: 40px;
    order: 2;
  }

  #pro-space a {
    height: 40px;
    line-height: 42px;
    font-size: 1.5rem;
    font-weight: 700;
  }

  #pro-space a::before {
    left: -23px;
    border-width: 0 0 40px 23px;
  }

  #routhiau-space {
    height: 40px;
    order: 3;
    margin: 0;
  }

  #routhiau-space a {
    height: 40px;
    line-height: 42px;
  }

  #socials-networks {
    border: none;
  }

  #socials-networks ul {
    padding: 0 10px 0 0;
  }

  #socials-networks ul li {
    margin: 0 10px 0 0;
  }

  #socials-networks ul li:last-child {
    margin: 0 18px 0 0;
  }

  #search {
    background-image: url(img/search_grey.svg);
    transition: all 0.3s ease-out;
  }

  #search:hover {
    background-image: url(img/search_rth.svg);
  }

  #instagram {
    background-image: url(img/logo_instagram_grey.svg);
    transition: all 0.3s ease-out;
  }

  #instagram:hover {
    background-image: url(img/logo_instagram_rth.svg);
  }

  #facebook {
    background-image: url(img/logo_facebook_grey.svg);
    transition: all 0.3s ease-out;
  }

  #facebook:hover {
    background-image: url(img/logo_facebook_rth.svg);
  }

  #linkedin {
    background-image: url(img/logo_linkedin_grey.svg);
    transition: all 0.3s ease-out;
  }

  #linkedin:hover {
    background-image: url(img/logo_linkedin_rth.svg);
  }
}

/*****************************************************/
/*********************** FOOTER **********************/
/*****************************************************/

footer {
  margin: 30px 0 0 0;
  padding: 0 0 30px 0;
  background-color: #a21a40;
}

body.home > footer {
  padding: 0 0 80px 0;
}

#footer-menu {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  width: calc(100% - 30px);
}

.footer-menu-col {
  margin: 30px 0 0 0;
  width: 100%;
}

.footer-menu-col h3 {
  margin: 0 0 5px 0;
  padding: 0 0 7.5px 0;
  border-bottom: 2px solid #ffffff;
  font-size: 2.5rem;
  line-height: 3rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-menu-col li {
  /*margin: 10px 0 0 0;*/
}

.footer-menu-col li a {
  display: block;
  padding: 10px 0;
  color: #ffffff;
  text-decoration: none;
}

.footer-menu-col li a:hover {
  text-decoration: underline;
}

#footer-logo {
  margin: 30px 0 0 0;
  width: 100%;
}

#footer-logo a {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

#footer-logo a img {
  width: auto;
  height: 35px;
}

@media (min-width: 600px) {
  .footer-menu-col {
    margin: 30px 15px 0 0;
    width: calc(33.333333% - 10px);
  }

  .footer-menu-col:nth-child(n + 3) {
    margin: 30px 0 0 0;
  }

  #footer-logo a {
    width: 20%;
  }
}

@media (min-width: 900px) {
  footer {
    margin: 60px 0 0 0;
  }

  .footer-menu-col,
  .footer-menu-col:nth-child(n + 3) {
    margin: 30px 15px 0 0;
    width: calc(25% - 11.25px);
  }

  #footer-logo {
    width: calc(25% - 11.25px);
  }

  #footer-logo a {
    width: 60%;
    margin: 0 0 0 auto;
  }

  #footer-logo a img {
    height: 40px;
  }
}

@media (min-width: 1200px) {
  footer,
  body.home > footer {
    margin: 120px 0 0 0;
    padding: 0 0 60px 0;
  }

  #footer-menu {
    width: calc(100% - 240px);
  }

  .footer-menu-col,
  .footer-menu-col:nth-child(n + 3) {
    margin: 60px 30px 0 0;
    width: calc(20% - 24px);
  }

  .footer-menu-col h3 {
    margin: 0 0 15px 0;
    padding: 0 0 15px 0;
  }

  .footer-menu-col li {
    margin: 10px 0 0 0;
  }
  
  .footer-menu-col li a {
    display: initial;
    padding: 0;
    color: #ffffff;
    text-decoration: none;
  }

  #footer-logo {
    width: calc(40% - 18px);
    margin: 60px 0 0 0;
  }

  #footer-logo a {
    width: 25%;
  }

  #footer-logo a img {
    height: 45px;
  }
}

/*****************************************************/
/********************** LOADING **********************/
/*****************************************************/

.infinite-loader {
  width: 100%;
  margin: 15px 0 0 0;
}

.infinite-loader .spinner {
  width: 45px;
  height: 45px;
}

.infinite-loader .spinner-inner {
  transform: translateZ(0) scale(0.45);
}

#infinite-aria {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

/*****************************************************/
/**************** FORMULAIRE CONTACT *****************/
/*****************************************************/

#home-contact-form-button {
  display: block;
  position: fixed;
  bottom: 0;
  z-index: 800;
  width: 100%;
  text-align: center;
  background-color: #ff9900;
}

#home-contact-form-button button {
  padding: 15px 15px 15px 60px;
  border: none;
  color: #ffffff;
  font-weight: 700;
  transition: all 0.3s ease-out;
  background-image: url(img/contact.svg);
  background-position: left 15px center;
  background-repeat: no-repeat;
  background-size: 30px;
  background-color: #ff9900;
  cursor: pointer;
}

#home-contact-form-button button:hover {
  border: none;
  background-color: #cc6600;
}

.contact-form-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 900;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0, 0.5);
}

.contact-form-content {
  position: relative;
  width: 75%;
  margin: 0 auto;
  padding: 15px;
  max-width: 350px;
  color: #ffffff;
  background-color: #1a9da2;
}

.contact-form-close {
  position: absolute;
  display: block;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  border: none;
  background-image: url(img/close_cross.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px;
  background-color: #10676a;
  transition: all 0.3s ease-out;
  cursor: pointer;
}

#contact-form-single {
  display: none;
}

#contact-form-title {
  font-size: 3.5rem;
  line-height: 3.5rem;
  font-weight: 700;
}

#contact-subject {
  display: none;
}

#office-contact-infos {
  margin: 15px 0 0 0;
}

#home-contact-form-phone {
  text-align: center;
}

#home-contact-form-phone a {
  font-size: 2.5rem;
  line-height: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

#home-contact-form-link {
  margin: 10px 0 0 0;
  text-align: center;
}

#home-contact-form-link a {
  display: inline-block;
  padding: 10px 15px;
  color: #ffffff;
  background-color: #10676a;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease-out;
}

#contact-field-select select {
  width: calc(100% - 45px);
}

.contact-field-container {
  margin: 15px 0 0 0;
}

.contact-form-label {
  width: 100%;
  margin: 0 0 5px 0;
  font-weight: 700;
  color: #ffffff;
}

.contact-form-input {
  width: 100%;
  padding: 5px;
  border: none;
}

#contact-form-message {
  height: 80px;
}

#contact-submit-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  margin: 15px 0 0 0;
  width: 100%;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#contact-submit-container input[type="submit"] {
  width: 100%;
  padding: 15px;
  font-size: 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  border: none;
  background-color: #10676a;
  transition: all 0.3s ease-out;
  cursor: pointer;
}

#contact-submit-container input[type="submit"]:hover {
  color: #1a9da2;
  background-color: #ffffff;
}

.contact-form-content .wpcf7-form .wpcf7-spinner,
.contact-form-content .wpcf7-form .ajax-loader {
  display: none;
  margin: 15px 15px 0 15px !important;
}

.contact-form-content .wpcf7-form.submitting .wpcf7-spinner,
.contact-form-content .wpcf7-form.submitting .ajax-loader {
  display: block;
}

.contact-form-content .wpcf7 form .wpcf7-response-output {
  margin: 15px 0 0 0 !important;
  padding: 5px;
  box-sizing: border-box;
}

@media (min-width: 1200px) {
  .contact-form-close:hover {
    background-color: #a21a3f;
  }

  #home-contact-form-button {
    right: 120px;
    bottom: unset;
    width: 165px;
  }

  #home-contact-form-link a:hover {
    color: #10676a;
    background-color: #ffffff;
  }

  #home-contact-form-button button {
    padding: 10px 60px 10px 10px;
    font-size: 2rem;
    line-height: 2rem;
    text-align: left;
    background-size: 35px;
    background-position: right 15px center;
  }
}

/*****************************************************/
/********************** ARCHIVE **********************/
/*****************************************************/

.parallax {
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-size: cover;
}

.archive-header {
  position: relative;
  width: 100%;
  height: 200px;
}

.archive-header h1 {
  position: absolute;
  left: 15px;
  bottom: 0;
  font-size: 3.5rem;
  line-height: 3.75rem;
  font-weight: 900;
  color: #ffffff;
}

@media (min-width: 600px) {
  .archive-header {
    height: 300px;
  }

  .archive-header h1 {
    font-size: 6rem;
    line-height: 6.5rem;
  }
}

@media (min-width: 1200px) {
  .archive-header {
    height: 450px;
  }

  .archive-header h1 {
    font-size: 12rem;
    line-height: 13rem;
    left: 120px;
  }
}

/*****************************************************/
/*********************** PAGE ************************/
/*****************************************************/

#page-container {
  padding: 30px 15px 0 15px;
}

#page-title {
  font-size: 5rem;
  line-height: 6rem;
  font-weight: 900;
  color: #a21a40;
}

#page-content h2 {
  margin: 30px 0 0 0;
  font-size: 3rem;
  line-height: 4rem;
  font-weight: 900;
  color: #1a9da2;
}

#page-content h3 {
  margin: 15px 0 0 0;
  font-size: 2rem;
  line-height: 3rem;
  font-weight: 700;
}

#page-content p {
  margin: 5px 0 0 0;
}

@media (min-width: 900px) {
  #page-container {
    margin: 0 auto;
    padding: 60px 0 0 0;
    max-width: 800px;
  }
}

@media (min-width: 1200px) {
  #page-container {
    padding: 120px 0 0 0;
  }
}

/*****************************************************/
/***************** ANIMATION PRODUIT *****************/
/*****************************************************/

@media (min-width: 1200px) {
  .img-animation::before,
  .link-animation::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a9da2;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: all 0.3s ease-out;
  }

  .img-animation::before {
    opacity: 0.15;
  }

  .img-animation .txt-opacity {
    opacity: 0;
    background-color: transparent;
    transition: all 0.3s ease-out;
    transition-delay: 0.3s;
  }

  .img-animation:hover:before,
  .img-animation:focus:before,
  .img-animation:active:before,
  .link-animation:hover:before,
  .link-animation:focus:before,
  .link-animation:active:before {
    transform: scaleY(1);
    background: #10676a;
  }

  .img-animation:hover:before,
  .img-animation:focus:before,
  .img-animation:active:before {
    opacity: 0.5;
  }

  .img-animation:hover .txt-opacity,
  .img-animation:focus .txt-opacity,
  .img-animation:active .txt-opacity {
    opacity: 1;
  }
}