/*
Theme Name: heyjoe
Theme URI: https://github.com/tidythemes/heyjoe
Author: heyjoe
Version: 2020.1
*/

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

html {
  box-sizing: border-box;
}

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

/*
    font-family: 'Lora', serif;
    font-family: 'Raleway', sans-serif;
*/

body {
  background-color: #eee;
  counter-reset: menuitem;
}

nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  background-color: rgba(10, 10, 10, 1);
  height: 100vh;
}

body.ouvert nav {
  transform: matrix(1, 0, 0, 1, -320, 0);
}

nav > ul {
  padding-top: 60px;
  background-color: rgba(10, 10, 10, 1);
  display: flex;
  flex-direction: column;
  justify-content: left;
  text-align: left;
}

nav > ul > li a::before {
  counter-increment: menuitem;
  content: counters(menuitem, "", decimal-leading-zero);
  position: relative;
  font-size: 0.85rem;
  color: #444;
  padding-right: 10px;
}

nav > ul > li:hover a::before {
  color: #4ce5ab;
}

nav h1 {
  padding-left: 5vw;
  font-family: tenez, serif;
  font-weight: 700;
  font-size: 1.5em;
}

nav ul li a {
  text-decoration: none;
  color: #ccc;
  padding-left: 15px;
  line-height: 1.5em;
  font-size: 1.3em;
  font-family: "Lora", serif;
}

nav ul li a:hover {
  text-decoration: none;
}

a[actif="non"],
nav > ul > li:hover a[actif="non"]::before,
nav > ul > li [actif="non"]::before,
nav ul li [actif="non"]:hover {
  color: #444;
  text-decoration: line-through;
}

body > header {
  display: block;
  position: fixed;
  top: 0px;
  left: 0px;
  color: #111;
  padding: 40px;
  z-index: 1001;
}

.logo {
  width: 100px;
  transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.petit .logo {
  width: 50px;
  transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.switch {
  cursor: pointer;
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 2000000;
}
img {
  width: 100%;
  height: auto;
}
.mypage {
  font-size: 1.4rem;
  line-height: 2rem;
  font-family: "Lora", serif;
}

@media screen and (max-width: 800px) {
  .mypage {
    padding:0 5px;
  }
}

.mypage > p,
.mypage > .wp-block-columns {
  width: 90vw;
  margin: 5vw auto;
  padding: 0 5vw;
}

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

.content {
  width: 100vw;
  position: relative;
  left: 0;
}

body.ouvert nav {
  transform: matrix(1, 0, 0, 1, -320, 0);
}

body.ouvert .content {
  left: -320px;
}

.content,
body.ouvert .content,
body.ouvert nav,
nav {
  transition: all 500ms cubic-bezier(0.075, 0.82, 0.165, 1);
}

.ouvert .switchcircle {
  fill: #4ce5ab;
  transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.slide {
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.contenu {
  margin-left: 300px;
}

.st0 {
  fill: #000000;
}
.st1 {
  fill: #000000;
  transition: fill 0.4s ease;
}

.monslider,
.n2-ss-slider-2 {
  max-height: 100vh !important;
}

.n2-ss-slide {
  width: unset;
}

.wp-block-spacer {
  width: 10px;
}

.swiper-button-next,
.swiper-button-prev {
  color: rgb(63, 63, 63) !important;
}
.swiper-pagination-bullet-active,
.swiper-pagination-bullet-active-main {
  background-color: rgb(63, 63, 63) !important;
}

/* Élément | http://heyjoe:8888/ */

.slide {
  font-family: Raleway;
  background-color: white;
}

.slide > div.title {
  width: 100%;
  height: 100%;
  position: relative;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}

.slide > div.title > h1 em {
  background-color: red;
  font-style: normal;
  font-weight: 200;
  display: block;
  text-transform: none;
}

.slide > div.title > h1 {
  text-transform: uppercase;
  font-weight: 800;
}

@media screen and (max-width: 800px) {
  header {
    padding: 15px;
  }
  .logo {
    width: 50px;
  }
  .switch {
    cursor: pointer;
    position: fixed;
    top: 0px;
    right: 15px;
    z-index: 2000000;
  }
}

.home-last {
  max-width: 1600px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  padding: 60px 20px;
}

.home-last a {
  font-family: raleway;
  color: #f4533f;
  font-size: 40px;
  line-height: 35px;
  font-weight: 700;
  text-decoration: none;
  display: block;
  margin-top: 5px;
}

.home-last li {
  width: 30vw;
  height: 30vw;
  max-width: 480px;
  max-height: 480px;
  text-align: right;
}

.home-last li div {
  width: 100%;
  height: 100%;
}

.home-last img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#menu-main {
  padding-left: 0;
  list-style: none;
}

.center {
  text-align: center;
}

footer {
  width: 90vw;
  margin: 10vw auto 1vw;
  padding: 0 5vw;
  text-align: center;
  font-family: raleway;
}

footer a,
footer strong {
  color: #f4533f;
}

input,
textarea {
  border: none !important;
  border-bottom: 1px solid #999 !important;
  padding: 6px 30px;
  background-color: unset;
  padding: 5px 0;
  color: rgba(0, 0, 0, 1);
  font-size: 16px;
  font-family: raleway;
}

.wpcf7-not-valid-tip {
  font-size: 16px;
}

form {
  max-width: 500px;
  margin: auto;
}

.titre-home-form {
  color: #f4533f;
  font-family: raleway;

  width: 500px !important;
  margin: auto;
}

article {
  display: flex;
  padding-bottom: 40px;
}

article:nth-child(odd) {
  flex-direction: row-reverse;
}

article > header {
  width: 50%;
}

article > div {
  width: 50%;
}

article > div img {
  width: 80%;
}

.archive-meta {
  padding-top: 60px;
}

article > header {
  padding-right: 50px;
  padding-left: 50px;
}

article > header h2 {
  text-align: right;
}

article > header h2 > a {
  color: black;
  text-decoration: none;
  font-style: italic;
}

.infos,
.entry-meta,
.headergroup {
  font-size: 16px;
  text-align: right;
}

article > header {
  display: flex;
  justify-content: right;
  align-items: center;
}

article:nth-child(odd) > header {
  justify-content: left;
  text-align: left;
}

article:nth-child(odd) > header > .headergroup {
  text-align: left;
}

article:nth-child(odd) > header > .headergroup > h2,
article:nth-child(odd) > header > .headergroup > .infos,
article:nth-child(odd) > header > .headergroup > .entry-meta {
  text-align: left;
}

article:nth-child(odd) > .entry-summary {
  justify-content: right;
  text-align: right;
}

.mypage > h2,
.mypage form {
  width: 90vw;
  margin: 5vw auto;
}
