/* ==========================================================================
   Base / Reset léger
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font: 400 12px/1.4 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #000;
  text-shadow: 0 0 1px transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border: 0;
}

a {
  color: #000;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover,
a:focus,
a:active {
  outline: none;
}

a:hover,
.footer a:hover,
.colored {
  color: #f90082;
}

input:focus {
  outline: none;
  border: 1px solid #04a4cc;
}

/* Utilitaire clearfix moderne */
.clear::after {
  content: "";
  display: table;
  clear: both;
}

/* ==========================================================================
   Layout global
   ========================================================================== */

.wrapper,
.copyright {
  max-width: 1280px;
  width: 95%;
  margin: 0 auto;
  position: relative;
}

/* Petit badge */
.templateUsed {
  position: absolute;
  top: 0;
  left: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-top: none;
  color: #000;
  z-index: 1000;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  width: 100%;
  margin-top: 10px;
  border-bottom: 1px solid #ccc;
}

.logo {
  position: relative; /* FIX: reative -> relative */
  margin-top: 30px;
  width: 140px;
  height: 73px;
}

.logo-img {
  width: 140px;
  height: 73px;
}

#openings p {
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  font-size: 0.9em;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav,
.socialNav {
  width: auto;
  text-transform: uppercase;
  font-weight: 700;
}

.nav {
  bottom: 16px;
  font-size: 1.1em;
}

.socialNav {
  bottom: 46px;
  font-size: 0.8em;
}

.nav ul,
.socialNav ul {
  margin: 0;
  padding: 0;
}

.nav a {
  color: #000;
  transition: color 0.3s;
}

.nav a:hover,
.nav li.current_page_item a {
  color: #f90082;
}

.nav li,
.socialNav li,
.logoFooter li {
  list-style: none;
}

.nav li {
  float: left;
  width: auto;
}

.nav li::before {
  content: "\00a0\00a0/\00a0\00a0";
}

.nav li:first-child::before {
  content: "";
}

.socialNav li {
  float: left;
  width: auto;
  margin-left: 15px;
}

.socialNav .btnFacebook a,
.socialNav .btnTwitter a,
.socialNav .btnInstagram a {
  display: block;
  padding-left: 17px;
  line-height: 14px;
  min-height: 14px;
  background-repeat: no-repeat;
  background-position: 0 0;
}

.socialNav .btnFacebook a {
  background-image: url(img/icons/icon_facebook.png);
}

.socialNav .btnTwitter a {
  background-image: url(img/icons/icon_twitter.png);
}

.socialNav .btnInstagram a {
  background-image: url(img/icons/icon_instagram.png);
}

/* ==========================================================================
   Contenu
   ========================================================================== */

section {
  margin: 30px 0;
}

.home section {
  margin: 0;
}

#firstCol {
  float: left;
  width: 29%;
  margin-right: 1%;
}

#firstCol h1 {
  margin: 0 0 50px;
  padding: 0;
  font-weight: 300;
  font-style: normal;
  line-height: 95%;
  letter-spacing: -6px;
  font-size: 5.2em;
  text-align: left;
  overflow-wrap: break-word; /* modern */
  word-wrap: break-word; /* fallback */
}

#firstCol .intro {
  margin: 0 0 50px;
  text-transform: uppercase;
  font-size: 1.8em;
  font-weight: 300;
}

#contentCol {
  float: left;
  width: 70%;
}

#contentCol p {
  line-height: 1.6em;
  font-size: 1.2em;
  text-transform: none;
}

#contentCol p a.blackLink,
#contentCol p a.highlightedLink {
  background-color: #000;
  padding: 1px 3px;
  color: #fff;
  transition: all 0.3s;
}

#contentCol p a.highlightedLink {
  opacity: 1;
}

#contentCol p a.highlightedLink:hover {
  opacity: 0.6;
}

#contentCol p a.blackLink:hover {
  background-color: #f90082;
  color: #fff;
}

/* ==========================================================================
   Fancybox / titres
   ========================================================================== */

.footer .fancybox-content {
  border: 5px solid #000;
}

.fancybox-title-over {
  font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  text-transform: uppercase;
  text-align: center !important;
  font-weight: 700;
}

/* ==========================================================================
   Grilles catégories
   ========================================================================== */

.dividerSpace .oneCat {
  float: left;
  margin-bottom: 20px;
}

.dividerSpace .oneCat h2 img {
  max-height: 20px;
}

.dividerSpace .oneCat p {
  font-size: 1.2em;
}

.dividerSpace.divOne .oneCat,
.dividerSpace.divThree .oneCat.wide {
  float: none;
  width: 100%;
  margin-right: 0;
}

.dividerSpace.divTwo .oneCat {
  width: 48%;
  margin-right: 2%;
}

.dividerSpace.divThree .oneCat {
  width: 32%;
  margin-right: 2%;
}

.dividerSpace.divThree .oneCat:nth-child(3n + 3) {
  margin-right: 0;
}

/* ==========================================================================
   Slider ResponsiveSlides
   ========================================================================== */

.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0 0 20px;
}

.rslides li {
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  -webkit-backface-visibility: hidden;
}

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
}

.rslides img {
  display: block;
  float: left;
  width: 100%;
  height: auto;
}

.rslides .homeImages {
  display: block;
  float: left;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
}

/* ==========================================================================
   Masonry
   ========================================================================== */

#masonryContainer {
  width: 890px;
  margin: 0;
}

#masonryContainer .item {
  display: block;
  width: 220px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

#masonryContainer .item:hover {
  opacity: 1;
}

/* ==========================================================================
   Carte ACF
   ========================================================================== */

.acf-map {
  width: 230px;
  height: 230px;
  border: 1px solid #ccc;
  margin: 20px 0;
}

/* ==========================================================================
   Facebook feed
   ========================================================================== */

.fb-feed {
  padding: 10px;
  margin: 0 auto 50px;
  width: 70%;
  border: 1px solid #000;
  text-transform: none;
}

#contentCol .fb-feed-item p {
  text-transform: none;
}

.fb-feed-item p,
p.fb-page-name {
  font-size: 100%;
  margin: 4px 0;
  padding: 0;
}

p.fb-page-name {
  background: url(https://fbcdn-profile-a.akamaihd.net/hprofile-ak-prn1/t1.0-1/c6.0.48.48/p48x48/1959582_233732043481175_261313618_s.png)
    no-repeat left center;
  font-size: 125%;
  color: #f90082;
  font-weight: 700;
  line-height: 30px;
  margin-top: 8px;
  height: 30px;
  padding-left: 50px;
  text-align: left;
}

p.fb-page-name a {
  color: #f90082;
  line-height: 30px;
}

.fb-feed-item {
  border-top: 1px solid #ccc;
  margin: 20px 0 0;
  padding: 20px 0 0;
}

.fb-feed-item:first-child {
  border: 0;
  margin-top: 20px;
}

.fb-feed-item p.message {
  margin-top: 4px;
  text-align: left;
}

.fb-feed-item blockquote {
  margin: 10px 0 0;
  overflow: auto;
  padding: 4px 0 4px 10px;
  text-align: left;
}

.fb-feed-item blockquote img.alignleft {
  margin: 0 10px 10px 0;
  max-width: 98%;
  box-shadow: 2px 2px 6px #aaa;
}

.fb-feed-item blockquote a.the_link {
  display: block;
  margin-bottom: 8px;
}

.fb-feed-item blockquote p {
  text-align: left;
}

.fb-feed-item blockquote p.caption {
  font-size: 0.9em;
  margin: -15px 0 0;
  color: #4d4d4d;
}

.fb-feed-item blockquote p.caption a {
  color: #4d4d4d;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer .wrapper {
  position: relative;
}

.footer {
  background-color: #fff;
  padding: 10px;
  height: 60px;
  width: 100%;
  position: absolute;
  bottom: 0;
  color: #999;
  font-size: 0.8em;
}

.footer a {
  color: #666;
  transition: color 0.3s;
}

.copyright {
  text-align: right;
  padding: 10px 0 0;
}

.logoFooter {
  height: 23px;
  margin: 0;
  overflow: hidden;
}

.logoFooter li {
  margin: 0 10px 0 0;
  float: right;
  width: auto;
  padding: 0;
  font-size: 12px;
  line-height: 23px;
  vertical-align: middle;
  text-transform: uppercase;
  font-weight: 700;
}

.logoFooter li a {
  color: #000;
}

.logoFooter li a img {
  border: none;
  height: 23px;
}

.manyMoreBrands {
  position: absolute;
  right: 265px;
  top: 0;
  height: 23px;
  width: auto;
  padding: 2px 15px;
  background: #fff;
  font-size: 9px;
  line-height: 100%;
  font-weight: 900;
}

.footer a.newsletterLink {
  background: url(img/envelope.png) no-repeat right top;
  color: #fff;
  font-weight: 700;
  display: block;
  width: auto;
  height: 23px;
  font-size: 1.3em;
  line-height: 19px;
  padding: 2px 33px 2px 5px;
  text-transform: uppercase;
  transition: background-color 0.2s;
  position: absolute;
  right: 0;
  top: 0;
}

.footer a.newsletterLink:hover {
  background-color: #000;
}

/* ==========================================================================
   Newsletter
   ========================================================================== */

#newsletterForm {
  width: 400px;
  height: 400px;
}

#newsletterForm .spacer {
  padding: 10px;
}

#newsletterForm h1 {
  color: #fff;
  background-color: #f90082;
  font-size: 18px;
  text-align: center;
  text-transform: uppercase;
  line-height: 100%;
  padding: 5px;
}

.mc-field-group input[type="email"],
.mc-field-group input[type="text"] {
  width: 70%;
  margin: 5px 0;
  border: 1px solid #000;
  padding: 5px;
  text-align: center;
  color: #f90082;
  font-weight: 600;
  text-transform: uppercase;
}

/* Placeholder moderne (+ legacy léger) */
::placeholder {
  color: #000;
}
::-webkit-input-placeholder {
  color: #000;
}
::-moz-placeholder {
  color: #000;
  opacity: 1;
}
:-ms-input-placeholder {
  color: #000;
}

/* ==========================================================================
   Sélection de texte
   ========================================================================== */

::selection {
  background: #f90082;
  color: #fff;
  text-shadow: none;
}

/* ==========================================================================
   Alignements WP
   ========================================================================== */

.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignleft,
.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
  height: auto;
}

.wp-caption .wp-caption-text,
.gallery-caption {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 320px) {
  .header {
    height: auto;
    position: relative;
    margin: 10px auto 20px;
    padding-bottom: 10px;
  }

  .logo {
    margin-left: auto;
    margin-right: auto;
  }

  #openings {
    display: none;
    position: relative;
    width: 100%;
    text-align: center;
    margin: 15px 0;
  }

  .socialNav {
    margin: 10px 0;
    padding: 10px 0;
    border-top: 1px solid #ccc;
    float: none;
    bottom: 0;
    width: 100%;
    text-align: left;
    position: relative;
  }

  .socialNav ul {
    width: 102px;
    margin: 0 auto;
  }

  .socialNav li {
    width: 14px;
    overflow: hidden;
    margin: 0 10px;
  }

  .nav {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
    float: none;
    bottom: 0;
    text-align: left;
    position: relative;
  }

  .nav li::before,
  .nav li:first-child::before {
    content: "";
  }

  .nav li {
    float: none;
    width: 100%;
    text-align: center;
  }

  #firstCol {
    float: none;
    width: 100%;
    margin-right: 0;
    text-align: center;
  }

  #firstCol h1 {
    font-size: 4em;
    text-align: center;
    letter-spacing: -1px;
    margin: 0 0 30px;
    font-weight: 400;
  }

  #contentCol {
    float: none;
    width: 100%;
    text-align: center;
  }

  .footer {
    position: relative;
    border-top: 1px solid #ccc;
    margin-top: 10px;
    padding-bottom: 10px;
    height: auto; /* plus robuste en mobile */
  }

  #firstCol .rslides {
    display: none;
  }

  .logoFooter {
    width: 100%;
    margin: 0;
    height: auto;
    padding: 0;
    overflow: auto;
  }

  .logoFooter li {
    margin: 0 21px 10px;
    float: left;
  }

  .manyMoreBrands {
    position: relative;
    right: 0;
  }

  .footer a.newsletterLink {
    position: relative;
  }

  #masonryContainer {
    width: 100%;
    margin: 0 auto;
  }

  #masonryContainer .item {
    width: 100%;
  }
}

@media (min-width: 480px) {
  #masonryContainer {
    width: 450px;
    margin: 0 auto;
  }

  .fb-feed {
    width: 100%;
  }

  #masonryContainer .item {
    width: 220px;
  }
}

@media (min-width: 768px) {
  .nav,
  .socialNav {
    border-top: none;
  }

  .socialNav ul {
    width: auto;
  }

  .socialNav li {
    width: auto;
    margin: 0 0 0 10px;
  }

  .socialNav a {
    font-size: 1.3em;
  }

  .nav li::before {
    content: "\00a0\00a0/\00a0\00a0";
  }

  .nav li:first-child::before {
    content: "";
  }

  .nav li {
    float: left;
    width: auto;
    text-align: left;
  }

  .logo {
    margin-left: 0;
    margin-right: 0;
  }

  #openings {
    display: block;
    position: absolute;
    width: 300px;
    top: 55px;
    left: 153px;
    text-align: left;
    margin: 0;
  }

  .header {
    width: 100%;
    height: auto;
    min-height: 120px;
    position: relative;
    top: 0;
  }

  #firstCol {
    float: left;
    width: 29%;
    margin-right: 1%;
    text-align: left;
  }

  #firstCol h1 {
    letter-spacing: -4px;
    font-size: 4.5em;
    text-align: left;
  }

  #contentCol {
    float: left;
    width: 70%;
    text-align: left;
  }

  #masonryContainer {
    width: 530px;
    margin: 0 auto;
  }

  .footer {
    border-top: none;
    position: fixed;
    bottom: 0;
    z-index: 2;
    padding-bottom: 0;
  }

  .logoFooter {
    height: 23px;
    padding: 0 380px 0 0;
    overflow: hidden;
  }

  .logoFooter li {
    margin: 0 21px 10px 0;
    float: right;
  }

  .manyMoreBrands {
    position: absolute;
    right: 265px;
  }

  .footer a.newsletterLink {
    position: absolute;
  }

  .fb-feed {
    width: 70%;
  }

  #firstCol .rslides {
    display: block;
  }
}

@media (min-width: 900px) {
  .socialNav {
    float: right;
    text-align: right;
    width: auto;
    position: absolute;
    margin: 0;
    padding: 0;
    border: 0;
    right: 0;
    bottom: 46px;
    font-size: 0.8em;
  }

  .socialNav a {
    font-size: 1em;
  }

  .nav {
    float: right;
    text-align: right;
    width: auto;
    position: absolute;
    margin: 0;
    padding: 0;
    border: 0;
    right: 0;
    bottom: 13px;
    font-size: 1.1em;
  }

  #masonryContainer {
    width: 680px;
    margin: 0 auto;
  }
}

@media (min-width: 1280px) {
  #masonryContainer {
    width: 890px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  a[href^="javascript:"]::after,
  a[href^="#"]::after,
  .ir a::after {
    content: "";
  }

  blockquote,
  pre {
    border: 1px solid #999;
    break-inside: avoid;
    page-break-inside: avoid; /* legacy */
  }

  thead {
    display: table-header-group;
  }

  img,
  tr {
    break-inside: avoid;
    page-break-inside: avoid; /* legacy */
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
  }

  h2,
  h3,
  p {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
