@charset "UTF-8";
/* Fonction toute prête pour gérer Rem et Pixel en fonction des supports des navigateurs. */
.list-recipes li, .categories__list li {
  box-shadow: 0px 1px 17.85px 3.15px rgba(72, 71, 71, 0.15); }

:root {
  --gap: 8px; }

.mb-1 {
  margin-bottom: calc(var(--gap) * 1); }

.mb-2 {
  margin-bottom: calc(var(--gap) * 2); }

.mb-3 {
  margin-bottom: calc(var(--gap) * 3); }

.mb-4 {
  margin-bottom: calc(var(--gap) * 4); }

@font-face {
  font-family: 'aller';
  src: url("../font/aller_rg-webfont.eot");
  src: url("../font/aller_rg-webfont.eot?iefix") format("eot"), url("../font/aller_rg-webfont.woff") format("woff"), url("../font/aller_rg-webfont.ttf") format("truetype"), url("../font/aller_rg-webfont.svg#webfontw4T8TBOb") format("svg");
  font-weight: normal;
  font-style: normal; }

@font-face {
  font-family: 'avenir';
  src: url("../font/AvenirLT-Heavy.eot");
  src: url("../font/AvenirLT-Heavy.eot?iefix") format("eot"), url("../font/AvenirLT-Heavy.woff") format("woff"), url("../font/AvenirLT-Heavy.ttf") format("truetype"), url("../font/AvenirLT-Heavy.svg#webfontw4T8TBOb") format("svg");
  font-weight: normal;
  font-style: normal; }

.hidden {
  display: none; }

/*-_-_-_-_-_-_- slider -_-_-_-_-_-_- */
.bx-wrapper .bx-viewport {
  background: none;
  border: 0;
  box-shadow: none;
  left: 0; }

.bt-primary {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ef6f6c;
  border: 2px solid #2d37c3;
  color: #fff;
  padding: 20px 30px;
  text-decoration: none;
  outline: none;
  position: relative;
  font-size: 30px;
  font-size: 3rem;
  transition: .5s all ease; }
  .bt-primary:after, .bt-primary:before {
    content: "";
    position: absolute;
    border: 2px solid #2d37c3;
    width: calc(100% + 15px);
    height: 60px;
    transition: 0.5s ease; }
  .bt-primary:after {
    top: -15px;
    left: -15px;
    border-right: none;
    border-bottom: none; }
  .bt-primary:before {
    bottom: -15px;
    right: -15px;
    border-left: none;
    border-top: none; }
  .bt-primary:hover {
    background: #fff;
    color: #2d37c3; }
    .bt-primary:hover:after, .bt-primary:hover:before {
      width: calc(100% - 30px);
      height: 80px;
      border-color: #ea423e; }

.bt-secondary, .comment-reply-link, .submit {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #2da2c3;
  color: white;
  border: 2px solid #ef6f6c;
  font-size: 25px;
  font-size: 2.5rem;
  transition: all .3s linear;
  padding: 10px 20px;
  text-decoration: none; }
  .bt-secondary:hover, .comment-reply-link:hover, .submit:hover {
    background: white;
    color: #2da2c3; }

:root {
  --container-padding: 20px;
  --container-width: calc(100vw - var(--container-padding) * 2); }

.home .header, .site__nav,
.container {
  box-sizing: border-box;
  width: 100%;
  padding-left: calc(50% - var(--container-width) / 2);
  padding-right: calc(50% - var(--container-width) / 2); }

.container-full {
  box-sizing: border-box;
  width: 100%;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding); }

.container-narrow {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto; }

@media only screen and (min-width: 1370px) {
  :root {
    --container-width: 1330px; } }

.last h3, .categories h3, .list-ingredients h3,
.primary-title {
  font-family: "avenir";
  color: #0d160b;
  font-size: 2.5rem;
  margin-bottom: calc(var(--gap) * 3); }

.last h3::after, .categories h3::after, .list-ingredients h3::after,
.primary-title::after {
  content: '';
  display: flex;
  height: 7px;
  width: 100px;
  background: #2da2c3; }

.list-recipes h2, .ingredients h2, .recipe .content .right .content-recipe h2,
.recipe .content .right .astuces h2,
.secondary-title {
  font-size: 2.2rem; }


.read-more {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 1.8rem; }


.read-more span {
  display: flex;
  flex-direction: column; }


.read-more span::after {
  content: '';
  display: inline-block;
  transition: .3s;
  width: 0;
  height: 4px;
  background: #2da2c3;
  margin-top: calc(var(--gap) * 1); }

@media (min-width: 1000px) {
  .last h3, .categories h3, .list-ingredients h3,
  .primary-title {
    font-size: 3.5rem; }
  .last h3::after, .categories h3::after, .list-ingredients h3::after,
  .primary-title::after {
    height: 10px;
    width: 150px; }
  .list-recipes h2, .ingredients h2, .recipe .content .right .content-recipe h2,
  .recipe .content .right .astuces h2,
  .secondary-title {
    min-height: calc(var(--gap) * 10); } }

.checkbox {
  position: relative;
  width: 20px;
  height: 20px;
  cursor: pointer; }

.checkbox input {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 20px;
  height: 20px;
  z-index: 2;
  background: blue; }

.checkbox span {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 1;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 1px solid #0d160b; }

.checkbox input:checked ~ span {
  background: url(../images/check.svg) center center no-repeat;
  background-size: 80%; }

.search-form {
  display: flex;
  justify-content: center; }

.search-form input[type="text"] {
  display: flex;
  align-items: center;
  border: 1px solid #69626d;
  height: 25px;
  width: 110px;
  padding: 0 calc(var(--gap) * 1); }

.search-form button {
  background: none; }

.search-form button svg {
  max-width: 25px;
  height: 25px; }

@media (min-width: 1000px) {
  .search-form {
    justify-content: flex-end; }
  .search-form input[type="text"] {
    width: 250px; } }

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;
  box-sizing: border-box; }

strong, b {
  font-weight: bold; }

ul, ol {
  list-style-type: none; }

table {
  border: 0;
  border-spacing: 0;
  empty-cells: show;
  border-collapse: 0; }

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

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 62.5%;
  -ms-text-size-adjust: 62.5%; }

body {
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.3;
  font-family: "aller", Arial, Verdana, Helvetica, sans-serif;
  color: #69626d; }

html,
button,
input,
select,
textarea {
  font-family: sans-serif; }

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

h1, h2, h3, h4, h5 {
  font-weight: normal; }

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

button,
input,
select,
textarea {
  font-size: 100%;
  border: 0;
  vertical-align: baseline;
  *vertical-align: middle; }

button,
input {
  line-height: normal; }

button,
select {
  text-transform: none; }

input[type="text"],
input[type="password"],
input[type="number"] {
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  border-radius: 0; }

/* input[type="number"] {
     -webkit-appearance: textfield;
     -moz-appearance:textfield;
} */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
  /* <-- Apparently some margin are still there even though it's hidden */ }

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
  *overflow: visible; }

button[disabled],
html input[disabled] {
  cursor: default; }

input[type="checkbox"],
input[type="radio"] {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  *height: 13px;
  *width: 13px; }

input[type="search"] {
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box; }

textarea {
  overflow: auto;
  vertical-align: top;
  resize: vertical; }

fieldset {
  border: 0;
  margin: 0;
  padding: 0; }

a {
  color: inherit; }

#wpadminbar.mobile {
  display: none !important; }

.header {
  background: url(../images/bg-food.jpg) top center no-repeat;
  background-size: cover;
  height: 300px;
  transition: .5s; }

.header.active {
  margin-top: calc(-100vh); }

.header__logo, .header .down {
  display: none; }

.home .header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative; }
  .home .header.hidden {
    display: none; }

.home .header__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 6rem;
  text-shadow: #00a2ff 1px 0 20px;
  text-align: center; }

.home .header__logo svg {
  height: 300px;
  width: 300px; }

.home .header .down {
  position: absolute;
  bottom: 10%;
  display: flex;
  color: #fff;
  border: 5px solid #fff;
  padding-left: 15px;
  padding-top: 10px;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
  transition: 250ms ease-in-out; }

.home .header .down:hover {
  padding: 20px 10px 10px 25px;
  transform: rotate(360deg); }

.home .header .down svg {
  width: 50px;
  height: 50px; }

.site__nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  height: 50px;
  background: #fff;
  border-bottom: 2px solid #0d160b;
  margin-bottom: calc(var(--gap) * 3); }

.site__nav li a {
  position: relative;
  display: flex;
  align-items: center;
  height: 50px;
  color: #0d160b;
  text-decoration: none;
  font-size: 1.5rem;
  padding: 0 2rem;
  transition: .3s; }

.site__nav li a::after {
  content: '';
  display: none;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 5px;
  background: #2da2c3; }

.site__nav li a:hover {
  font-style: italic; }

.site__nav li a:hover::after,
.site__nav .current-menu-item a::after,
.site__nav .current-category-ancestor a::after,
.site__nav .current-post-ancestor a::after,
.search-results .site__nav li:nth-child(2) a::after,
.single-ingredients .site__nav li:nth-child(2) a::after {
  display: block; }

@media (min-width: 1000px) {
  .header__logo {
    font-size: 10rem; }
  .site__nav {
    position: sticky;
    top: 0;
    z-index: 1; }
  .site__nav li a {
    font-size: 2.6rem;
    padding: 0 4rem; }
  .site__nav li:nth-child(3) {
    flex: 1; }
  .home .header .down {
    bottom: 5%; } }

@media (min-width: 500px) and (max-width: 800px) {
  .home .header .down {
    bottom: 15%; } }

.footer {
  border-bottom: 10px solid #2da2c3; }

.pagination {
  padding: calc(var(--gap) * 3) 0; }

.page-numbers {
  display: flex;
  justify-content: center; }

.page-numbers li {
  display: flex;
  margin: 0 calc(var(--gap) * 1);
  font-size: 2rem; }

.page-numbers li a,
.page-numbers li span {
  display: block;
  padding: calc(var(--gap) * 1) calc(var(--gap) * 2);
  border: 1px solid #ef6f6c; }

.page-numbers li a {
  text-decoration: none;
  background: #ef6f6c;
  color: #fff; }

.page-numbers li span {
  background: #fff;
  color: #ef6f6c; }

.list-recipes {
  display: flex;
  flex-direction: column; }

.list-recipes li {
  margin-bottom: calc(var(--gap) * 3); }

.list-recipes .photo {
  height: 300px;
  position: relative;
  background: #2da2c3; }

.list-recipes .photo::before {
  content: 'No photo';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  color: #fff;
  font-size: 3rem; }

.list-recipes .photo img {
  display: block;
  position: relative;
  object-fit: cover;
  width: 100%;
  height: 100%; }

.list-recipes a {
  text-decoration: none;
  color: #0d160b; }

.list-recipes a:hover .read-more span::after {
  width: 100%; }

.list-recipes h2 {
  padding: calc(var(--gap) * 1) calc(var(--gap) * 2);
  margin-bottom: calc(var(--gap) * 2); }

.list-recipes .read-more {
  text-align: right;
  padding: 0 calc(var(--gap) * 2);
  margin-bottom: calc(var(--gap) * 2); }

@media (min-width: 1000px) {
  .list-recipes {
    flex-direction: row;
    gap: 24px 16px; }
  .list-recipes li {
    width: calc(25% - 12px);
    margin-bottom: 0;
    background: white; }
  .list-recipes li .photo {
    overflow: hidden; }
  .list-recipes li img {
    transition: .250s ease-out; }
  .list-recipes li:hover img {
    transform: scale(1.2); }
  .search-results .list-recipes li {
    width: 24%; } }

@media (min-width: 500px) and (max-width: 800px) {
  .list-recipes {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap; }
  .list-recipes li {
    width: 48%; }
  .list-recipes li:nth-child(5) {
    display: none; } }

.ingredients li {
  display: flex;
  padding: calc(var(--gap) * 2) calc(var(--gap) * 1); }

.ingredients li + li {
  border-top: 1px dashed #69626d; }

.ingredients h2 {
  margin-bottom: calc(var(--gap) * 2);
  min-height: 0;
  padding-bottom: calc(var(--gap) * 3) !important; }

.ingredients ul li {
  display: flex;
  align-items: center;
  font-size: 2rem; }

.ingredients ul li .ingredient__name {
  flex: 1;
  margin-left: calc(var(--gap) * 1); }

.ingredients ul li .qte {
  margin-left: 5px; }

body.first-visite {
  overflow: hidden; }

.last, .categories {
  margin-bottom: calc(var(--gap) * 5); }

.categories__list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; }

.categories__list li {
  width: 100%;
  margin-bottom: calc(var(--gap) * 4);
  text-align: center;
  padding: calc(var(--gap) * 3) calc(var(--gap) * 2); }

.categories__list li a {
  text-decoration: none; }

.categories__list li .photo {
  margin-bottom: calc(var(--gap) * 3); }

.categories__list li .photo img {
  max-width: 80%;
  height: auto; }

.categories__list li h2 {
  font-size: 4rem; }

.recipes .list-recipes {
  flex-wrap: wrap; }

.recipe .content {
  display: flex;
  flex-direction: column;
  width: 100%; }

.recipe .content h2 {
  border-bottom: 1px solid #69626d;
  padding-bottom: calc(var(--gap) * 1); }

.recipe .content .left {
  width: 100%;
  margin-bottom: calc(var(--gap) * 4); }

.recipe .content .left .photo {
  margin-bottom: calc(var(--gap) * 3); }

.recipe .content .left .photo img {
  object-fit: cover;
  width: 100%; }

.recipe .content .left .nbr-personnes {
  border-bottom: 1px solid #69626d;
  padding: 0 0 calc(var(--gap) * 3) 0;
  margin-bottom: calc(var(--gap) * 3);
  font-size: 2rem; }

.recipe .content .right {
  flex: 1;
  position: sticky;
  top: 90px; }

.recipe .content .right .content-recipe h2,
.recipe .content .right .astuces h2 {
  min-height: 0;
  margin-bottom: 0; }

.recipe .content .right .steps li {
  display: flex;
  align-items: start;
  font-size: 2rem;
  padding: calc(var(--gap) * 3) calc(var(--gap) * 1);
  line-height: 1.4; }

.recipe .content .right .steps li + li {
  border-top: 1px dashed #69626d; }

.recipe .content .right .steps li .number {
  font-size: 4rem;
  margin-right: calc(var(--gap) * 3);
  line-height: 1; }

.recipe .content .right .steps li .checkbox {
  margin-top: calc(var(--gap) * 2.3);
  margin-right: calc(var(--gap) * 3); }

.recipe .content .right .steps li div {
  align-self: center;
  flex: 1; }

.recipe .content .right .astuces {
  font-size: 2rem; }

.recipe .content .right .astuces h2 {
  border-top: 1px solid #69626d;
  padding-top: calc(var(--gap) * 1.5);
  margin-bottom: calc(var(--gap) * 2); }

.recipe .content .right .astuces .content-astuces p {
  display: flex;
  align-items: center; }

.recipe .content .right .astuces .content-astuces p::before {
  content: '\00a4';
  margin-right: calc(var(--gap) * 1); }

.ingredients {
  position: sticky;
  top: 90px; }

.list-ingredients {
  margin-bottom: calc(var(--gap) * 5); }

.list-ingredients__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; }

.list-ingredients__list li {
  font-size: 2.3rem;
  margin: 0 calc(var(--gap) * 2);
  line-height: 1.6; }

.list-ingredients__list li a {
  text-decoration: none; }

.list-ingredients__list li a:hover {
  text-decoration: underline; }

.no-result {
  font-size: 3rem;
  text-align: center; }

.taken {
  background: #eee;
  font-style: italic;
  color: #9c95a0; }

#wpadminbar {
  display: none; }

@media (min-width: 1000px) {
  .categories__list li {
    width: 24%; }
  .recipe .content {
    flex-direction: row; }
  .recipe .content .left {
    width: 30%; }
  .recipe .content .right {
    margin-left: calc(var(--gap) * 5); } }

@media (min-width: 500px) and (max-width: 800px) {
  .categories__list li {
    width: 24%; }
  .categories__list li h2 {
    font-size: 2rem; } }
