/*
Theme Name: Nanala
Author: AD
Version: 1.0
*/

/* Reset
-------------------------------------------------------------- */
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, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

html {
  font-size: 62.5%;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

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

body {
  background: #fff;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
  display: block;
}

ol, ul {
  list-style: none;
}

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

caption, th, td {
  font-weight: normal;
  text-align: left;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
}

blockquote, q {
  quotes: '« ' ' »' '“' '”';
}

a:hover, a:focus, a:active {
  outline: 0;
}

a img {
  border: 0;
}

/* Typography
-------------------------------------------------------------- */
@font-face {
  font-family: 'Nanala Regular';
  src: url('fonts/Nanala-Regular.woff2') format('woff2'),
       url('fonts/Nanala-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Nanala Medium';
  src: url('fonts/Nanala-Medium.woff2') format('woff2'),
       url('fonts/Nanala-Medium.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
  clear: both;
}

p {
  line-height: 1.5;
  margin-bottom: 24px;
}

p:last-child {
  margin-bottom: 0;
}

p a {
  background-image: linear-gradient(to right, #767676 100%, transparent 0%);
  background-repeat: repeat-x;
  background-size: 1px 1px;
  background-position: 0 98%;
}

p a:hover {
  background-image: linear-gradient(to right, #fa5434 100%, transparent 0%);
}

b, strong {
  font-family: 'Nanala Medium', 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
}

dfn, em, i {
  font-style: italic;
}

small {
  font-size: 14px;
}

/* Elements
--------------------------------------------------------------*/
hr {
  background-color: #767676;
  border: 0;
  height: 1px;
  margin: 30px 0;
}

ul, ol {
  margin: 0 0 30px 0;
}

ul {
  list-style: inside disc;
}

ol {
  list-style: inside decimal;
}

li > ul,
li > ol {
  margin-left: 30px;
  margin-bottom: 0;
}

dt {
  font-family: 'Nanala Medium', 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
}

dd {
  margin: 0 30px 30px;
}

img {
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

blockquote {
  font-size: 24px;
  letter-spacing: -0.025em;
  padding: 30px;
  margin-bottom: 30px;
}

blockquote cite {
  display: inline-block;
  font-size: 14px;
  margin-top: 15px;
}

blockquote p:last-of-type {
  margin-bottom: 0;
}

table {
  width: 100%;
}

thead th {
  font-family: 'Nanala Medium', 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
  padding-top: 0;
  border-bottom: 2px solid #767676;
}

th, td {
  word-break: break-all;
  padding: 15px 0;
  border: 1px solid #767676;
  border-width: 0 0 1px 0;
}

::-moz-selection {
  background-color: #fa5434;
  text-shadow: none;
}

::selection {
  background-color: #fa5434;
  text-shadow: none;
}

/* Globals
-------------------------------------------------------------- */
html {
  height: 100%;
}

body {
  min-height: 100%;
  background-color: #fff;
  color: #000;
  font-family: 'Nanala Regular', 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 16px;
  line-height: 1.375;
  letter-spacing: -0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
     -ms-flex-direction: column;
         flex-direction: column;
}

h1 {
  font-size: 48px;
  letter-spacing: -0.05em;
  margin-bottom: 30px;
}

h2 {
  font-size: 24px;
  letter-spacing: -0.025em;
  /*margin-bottom: 15px;*/
}

h3, h4, h5 {
  font-family: 'Nanala Medium', 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
  margin-bottom: 15px;
}

h6 {
  font-size: 14px;
  margin: 30px 0 5px;
  /*margin-bottom: 5px;*/
}

@media screen and (max-width: 600px) {
  h1 {
    font-size: 40px;
  }
}

a {
  color: #000;
  text-decoration: none;
  -webkit-transition: color .2s ease;
       -o-transition: color .2s ease;
          transition: color .2s ease;
}

a:hover, a:focus, a:active {
  color: #fa5434;
  text-decoration: none;
}

/* Layout
-------------------------------------------------------------- */
#page {
  -webkit-box-flex: 1;
          -ms-flex: 1 0 auto;
              flex: 1 0 auto;
}

.col-width {
  padding: 0 60px;
  margin: 0 auto;
}

#content .col-width {
  max-width: 1320px; /*1200px*/
}

.content-area {
  width: 100%;
}

.site-main {
  padding: 90px 0 120px;
  margin-top: 91px;
}

@media screen and (max-width: 600px) {
  .col-width {
    padding: 0 20px;
  }

  .site-main {
    padding: 60px 0 90px;
    margin-top: 81px;
  }
}

/* Header
-------------------------------------------------------------- */
#masthead {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  padding: 30px 0;
  margin: 0 60px;
  border-bottom: 1px solid #767676;
  z-index: 1;
}

.site-branding {
  float: left;
  position: relative;
  z-index: 3;
}

.site-title {
  display: block;
  background: url(images/logo.svg) no-repeat;
  width: 200px;
  height: 30px;
  text-indent: -9999px;
}

@media screen and (max-width: 600px) {
  #masthead {
    margin: 0 20px;
  }

  .site-title {
    height: 20px;
  }
}

/* Primary Navigation
-------------------------------------------------------------- */
.primary-navigation {
  font-size: 24px;
  letter-spacing: -0.025em;
}

.menu-container {
  clear: both;
}

.primary-navigation .nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  padding: 60px 0;
  text-align: center;
  overflow: auto;
  z-index: 4;
}

.primary-navigation ul {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
}

.primary-navigation li {
  position: relative;
  margin-bottom: 15px;
}

.primary-navigation li:last-child {
  margin-bottom: 0;
}

/*.primary-navigation ul:not(.sub-menu) > .current-menu-item > a,
.primary-navigation ul:not(.sub-menu) > .current-menu-parent > a {
  color: #fa5434;
}*/

.primary-navigation a:hover {
  color: #000;
}

.primary-navigation .menu-item-has-children > a:after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: url(images/cheveron-down.svg) no-repeat;
  margin-top: 10px;
  margin-left: 10px;
}

.primary-navigation .sub-menu {
  font-size: 16px;
  padding: 30px 0 15px;
}

/* Dropdown Toggle */
.dropdown-toggle {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  cursor: pointer;
}

.dropdown-toggle:after {
  content: '\A';
  white-space: pre-wrap;
}

/* Mobile Toggle */
.menu-toggle {
  float: right;
  cursor: pointer;
}

.menu-toggle:after {
  content: '';
  display: block;
  width: 24px;
  height: 30px;
  background: url(images/menu.svg) no-repeat center;
}

.close:after {
  background: url(images/close.svg) no-repeat center;
  position: relative;
  z-index: 5;
}

@media screen and (max-width: 600px) {
  .menu-toggle:after {
    height: 20px;
  }
}

@media screen and (min-width: 1040px) {
  .primary-navigation {
    float: right;
    font-size: 14px;
    letter-spacing: inherit;
  }

  .primary-navigation .nav-menu {
    position: relative;
    background-color: transparent;
    padding: 0;
    display: flex;
    line-height: 30px;
    text-align: inherit;
    overflow: visible;
    z-index: auto;
  }

  .primary-navigation ul {
    display: block;
  }

  .primary-navigation li {
    margin-bottom: 5px;
  }

  .primary-navigation ul:not(.sub-menu) > li {
    display: inline-block;
    margin-bottom: 0;
    margin-right: 30px;
  }

  .primary-navigation ul:not(.sub-menu) > li:last-child {
    margin-right: 0;
  }

  .primary-navigation a:hover {
    color: #fa5434;
  }

  /*.primary-navigation .menu-item-has-children > a {
    padding-right: 25px;
  }*/

  .primary-navigation .menu-item-has-children > a:after {
    content: none;
    background: none;
    /*width: 15px;
    height: 15px;
    background: url(images/cheveron-down.svg) no-repeat;*/
  }

  .primary-navigation .sub-menu {
    position: fixed;
    left: 60px;
    right: 60px;
    background-color: #fff;
    font-size: 14px;
    line-height: 1.375;
    padding-top: 46px;
    padding-bottom: 15px;
    border-bottom: 1px solid #767676;
    z-index: 2;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all .2s ease;
         -o-transition: all .2s ease;
            transition: all .2s ease;
  }

  .primary-navigation ul li:hover > ul {
    visibility: visible;
    opacity: 1;
  }

  .primary-navigation .sub-menu:before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    border-top: 1px solid #767676;
  }

  .dropdown-toggle {
    display: none;
  }

  .menu-toggle {
    display: none;
  }
}

/* Secondary Navigation
-------------------------------------------------------------- */
.secondary-navigation {
  margin-bottom: 30px;
}

.secondary-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.secondary-navigation li {
  margin-bottom: 5px;
}

.secondary-navigation li:last-child {
  margin-bottom: 0;
}

/*.secondary-navigation .nav-social span {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
}

.secondary-navigation .nav-social a:before {
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
  font-style: normal;
  font-variant: normal;
  font-size: 24px;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  vertical-align: bottom;
}

.secondary-navigation .nav-social a[href*="facebook.com"]:before {
  content: '\f09a';
}

.secondary-navigation .nav-social a[href*="instagram.com"]:before {
  content: '\f16d';
}

.secondary-navigation .nav-social a[href*="pinterest.com"]:before,
.secondary-navigation .nav-social a[href*="pinterest.fr"]:before {
  content: '\f0d2';
}

.secondary-navigation .nav-social a[href*="twitter.com"]:before {
  content: '\f099';
}

.secondary-navigation .nav-social a[href*="youtube.com"]:before {
  content: '\f167';
}*/

@media screen and (min-width: 1040px) {
  .secondary-navigation {
    float: right;
    margin-bottom: 0;
  }

  .secondary-navigation ul {
    display: flex;
  }

  .secondary-navigation li {
    display: inline-block;
    margin-bottom: 0;
    margin-right: 30px;
  }

  .secondary-navigation li:last-child {
    margin-right: 0;
  }
}

/* Content
--------------------------------------------------------------*/
.page-header,
.entry-header,
.entry-content {
  margin: 0 auto;
  text-align: center;
}

.page-header,
.entry-header,
.entry-content .half {
  max-width: 600px;
}

.entry-content .half {
  margin-left: auto;
  margin-right: auto;
}

.entry-image {
  margin-bottom: 90px;
}

.entry-image img {
  display: block;
  padding: 0;
  margin: 0 auto;
}

/* Pages */
.page-accueil .entry-header {
  display: none;
}

/* Archive Layout
--------------------------------------------------------------*/
/*.grid-view .hentry {
  margin-bottom: 60px;
  overflow: hidden;
}

@media screen and (min-width: 600px) and (max-width: 800px) {
  .grid-view .hentry {
    float: left;
    width: calc(50% - 15px);
    margin-right: 30px;
  }

  .grid-view .hentry:nth-child(2n) {
    margin-right: 0;
  }

  .grid-view .hentry:nth-child(2n +1) {
    clear: both;
  }
}

@media screen and (min-width: 800px) {
  .grid-view .hentry {
    float: left;
    width: calc(33.333% - 20px);
    margin-right: 30px;
  }

  .grid-view .hentry:nth-child(3n) {
    margin-right: 0;
  }

  .grid-view .hentry:nth-child(3n +1) {
    clear: both;
  }
}

.grid-view .hentry .entry-image {
  background-color: #f0f0f0;
}

@media screen and (max-width: 600px) {
  .grid-view .hentry .entry-image {
    margin-bottom: 15px;
  }
}

@media screen and (min-width: 1280px) {
  .grid-view .hentry .entry-image {
    height: 228px;
  }
}

.grid-view .hentry .fallback-thumbnail {
  padding: 15% 35%;
}

.grid-view .hentry .entry-title {
  font-size: 24px;
  letter-spacing: -0.025em;
  margin-bottom: 5px;
}*/

/* Single Post Layout
--------------------------------------------------------------*/
/*.single-post .entry-meta {
  margin-bottom: 15px;
}

.single-post .entry-image {
  margin-bottom: 60px;
}*/

/* Paging Navigation
--------------------------------------------------------------*/
/*.paging-navigation {
  padding-top: 30px;
  border-top: 1px solid #767676;
  overflow: hidden;
}

.paging-navigation .paging-meta {
  float: left;
  margin-bottom: 0;
}

.paging-navigation .nav-links {
  float: right;
}

.nav-previous,
.nav-next {
  display: inline-block;
}

.meta-nav:after {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-style: normal;
  font-variant: normal;
  font-size: 24px;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.nav-next .meta-nav:after {
  content: '\f053';
}

.nav-previous .meta-nav:after {
  content: '\f054';
  margin-left: 30px;
}*/

/* Colophon
--------------------------------------------------------------*/
#colophon {
  font-size: 14px; /*12px*/
  text-align: center;
  padding: 30px 0;
  margin: 0 60px;
  border-top: 1px solid #767676;
}

@media screen and (max-width: 600px) {
  #colophon {
    margin: 0 20px;
  }
}

@media screen and (min-width: 1040px) {
  #colophon {
    line-height: 30px;
    text-align: inherit;
  }

  .site-info {
    float: left;
  }
}

/* Clearings
--------------------------------------------------------------*/
.clearfix:before,
.clearfix:after {
  content: '';
  display: table;
}

.clearfix:after {
  clear: both;
}

/* Media
--------------------------------------------------------------*/
embed,
iframe,
object {
  max-width: 100%;
}

/* WordPress Blocks
--------------------------------------------------------------*/
.has-small-font-size {
  font-size: 14px;
}

.has-medium-font-size {
  font-size: 24px;
  letter-spacing: -0.025em;
}

.has-large-font-size,
.has-huge-font-size {
  font-size: 48px;
  letter-spacing: -0.05em;
}

.wp-block-image {
  margin-bottom: 30px;
}

.wp-block-image:last-child {
  margin-bottom: 0;
}

.wp-block-image img {
  vertical-align: middle;
}

.wp-block-image figcaption {
  color: inherit;
  font-size: 14px;
  margin-top: 5px;
  margin-bottom: 0;
}

.wp-block-embed {
  margin-bottom: 0;
}

.wp-block-columns {
  margin-bottom: 0;
}

@media screen and (max-width: 781px) {
  .wp-block-column {
    margin-bottom: 30px;
  }

  .wp-block-column:last-child {
    margin-bottom: 0;
  }
}

.wp-block-table {
  min-width: 600px;
}

@media screen and (max-width: 600px) {
  .wp-block-spacer { /*60px*/
    height: 30px !important;
  }
}
