/* =========================================== */
/* ==== Créé par Nadj pour Cuisine.land ===== */
/* ========================================= */
/* Reproduction sans autorisation interdite */

body {
  font-family: 'nunitoregular', sans-serif;
  margin: 0;
  padding: 0;
}


@font-face {
    font-family: 'nunitoextrabold';
    src: url('font/nunito-extrabold-webfont.woff2') format('woff2'),
         url('font/nunito-extrabold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'nunitoextralight';
    src: url('font/nunito-extralight-webfont.woff2') format('woff2'),
         url('font/nunito-extralight-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'nunitoregular';
    src: url('font/nunito-regular-webfont.woff2') format('woff2'),
         url('font/nunito-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

header {
  background: #f9f5ef ;
  text-align: center;
  position: relative;
  padding: 10px 40px 40px 40px;
}


#recette #ingredients .title,
#recette #prepa .title {}

header h1 {
  font-family: 'Pacifico';
  font-weight: normal;
  text-align: center;
  font-size: 60px;
  margin: 0px;
  padding: 0px;
  display: inline-block;
  color: #000;
  word-spacing: 5px;
  letter-spacing: 0.01em;

}
header h1 a {
  color: #000;
  text-decoration: none;
}

header h2 {
  font-family: 'nunitoextralight';
  padding: 0px 20px;
  display: block;
  color: #000;
  font-size: 22px;
  font-weight: normal;
  position: relative;
  margin: 20px auto;
  text-align: center;
  max-width: 800px;
}
header h2:empty {
  display: none;
}

.banniere-perso {
  height: auto;
}


#sidebar {
  text-align: center;
  background: #F9F5EF;
  padding: 20px;
  margin: 0px;
  box-sizing: border-box;
}
#sidebar .title {
  font-family: 'Pacifico';
  font-size:  24px;
  background: rgba(0,0,0,0.05);
  padding:  5px;
  border-radius: 100px;
  display:  block;
  text-align:   center  ;
}
#sidebar .img-profil {
  border-radius: 200px;
  width: 150px;
  margin: 0 auto 0 auto;
}
#sidebar .img-profil img {
  background: #fff;
  width: 150px;
  border-radius: 150px;
  z-index: 999;
  margin: 0 auto;
}
#sidebar .blogueur {
  font-family: 'Pacifico';
  font-size: 28px;
  text-transform: capitalize;
}
#sidebar .nb {
  font-family: 'nunitoextralight';
  font-size: 18px;
  display: inline-block;
  padding: 8px 20px;
  margin: 4px;
  border-radius: 4px;
  word-spacing: 2px;
}

#sidebar .search {

}
#sidebar .search input[type=search] {
  font-family: 'nunitoregular';
}
#sidebar .listes {
  text-align:   left  ;
  font-size:  18px;
  line-height:  30px;
}
#sidebar .listes ul {
  margin:  0 20px!important;
}
#sidebar .categories .level_2 {
  padding-left:  inherit  ;
}
#sidebar .listes a {
  color:  #000;
}


/* */
.bienvenue {
  background: #fff;
  margin: 20px auto;
  border-radius: 8px;
  padding: 30 10px;
  font-size: 24px;
  border: 1px solid rgba(0,0,0,0.2);
  max-width: 1200px;
}



/* */


/* */
footer {
  font-family: inherit;
  font-size: 16px;
  text-align: center;
  margin: 50px 0px 0px 0px;
  padding: 20px;
}

/* intro */

.introindex {
  color: #333;
  margin: 20px auto;
  padding: 20px 50px;
  text-align: center;
  font-size: 20px;
  line-height: 34px;
  width: auto;
  max-width: 1200px;
  background: #fff;
  border-radius: 20px 0;
  position: relative;
}
.introindex:before,
.introindex:after {
  font-size: 50px;
  color: #aaa;
}
.introindex:before {
  content: '«';
  margin-left: -35px;
  position: absolute;
}
.introindex:after {
  content: '»';
  margin-left: 18px;
  position: absolute;
}


/* liste des recettes */
#page {
  text-align: center;
}


.recette-cuisine {
  background: #fff;
  padding: 0px;
  width: 360px;
  display: inline-block;
  vertical-align: top;
  margin: 12px;
  position: relative;
  box-sizing: border-box;
  border-radius:  45px;
  border:  10px solid #f9f5ef;
}

.recette-cuisine .nom-recette {
  font-family: 'nunitoextrabold';
  font-size: 28px;
  margin: 10px;
  line-height: 46px;
  display: inline-block;
  transform: rotate(-4deg);
}
.recette-cuisine .nom-recette a {
  color: #000;
  text-decoration: none;
  background: #ece6e3;
  padding:  4px 20px;
}
.recette-cuisine .nom-recette a:hover {
  background: #000;
  color:  #fff;
}

.recette-cuisine .zone-img {
  background: url(img/assiete.png) no-repeat center;
  overflow: hidden;
  padding:0;
  margin:0;
  border-radius: 2px 2px 0 0;
  min-height: 180px;
  border-radius:  30px;
}

.recette-cuisine img {
  object-fit: cover;
  width: 360px;
  height: 320px;
  margin: 0px;
  overflow: hidden;
  transition: ease-in-out 0.5s;
  box-sizing: border-box;
}
.recette-cuisine:hover img {
  overflow: hidden;
  transform: scale(1.1); 
}
.recette-cuisine .zone-img:hover {
  overflow: hidden;
}

.recette-cuisine .date {
  text-align: center;
  font-size: 16px;
  color: #999;
  padding: 9px 0 0 0;
  opacity: 0.8;
}




.recette-cuisine .com {
  background: url(img/com.png) no-repeat;
  width: 48px;
  height: 48px;
  position: absolute;
  top: 10px;
  right: 10px;
  line-height: 38px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 0px rgba(0,0,0,0.5);
}


/* */
.recette-cuisine.article {
  display: flex;
  flex-direction: column;
  padding: 20px 10px;
  border:  10px solid #f9f5ef;
  border-radius:  25px;
}


.recette-cuisine.article .nom-recette {
  min-height: inherit;
  font-size: 30px;
}

.recette-cuisine.article .date {
  margin: 20px;
  font-size: 18px;
}

.recette-cuisine.article .intro {
  font-size: 20px;
  line-height: 28px;
  margin: 10px;
  flex-grow: 2;
}

.recette-cuisine.article .lire {
  font-family: 'nunitoextrabold';
  font-size: 28px;
  margin: 20px;
  text-align: center;
}
.recette-cuisine.article .lire a {
  background: #000;
  text-decoration: none;
  color: #fff;
  padding: 2px 20px;
  border-radius: 4px;
  transition: ease 0.4s;
}
.recette-cuisine.article .lire a:hover {
  padding: 2px 26px;
}
.plus {
  margin: 30px;
}
.plus a {
  font-family: 'nunitoextrabold';
  background: #000;
  padding: 10px 40px;
  font-size: 32px;
  color: #fff;
  border-radius: 40px;
  text-decoration: none;
  transition: ease 0.5s;
}
.plus a:hover {
  padding: 10px 50px;
}


/* */
#recette .article {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
}

/* affichage d'une recette */

#recette {
  margin: 0 auto;
  background: #fff;
  padding: 10px 0px;
  font-size: 19px;
}
#recette h1 {
  font-family: 'nunitoextrabold';
  margin: 50px auto 10px auto;
  padding: 0;
  text-align: center;
  font-size: 48px;
  max-width: 900px;
/*  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;*/
}

#recette .intro-recette:empty {
  display: none;
}

#recette .intro-recette {
  font-family: 'nunitoextralight', sans-serif;
  text-align: center;
  font-size: 22px;
  margin: 50px auto;
  max-width: 1200px;
  color:  #000;
  border: 4px solid #F9F5EF;
  border-radius:  20px;
}
#recette .intro-recette a {
  color: #7b6b6b;
}
#recette .categories-recette {
  text-align: center;
  margin: 20px;
  font-size: 22px;
  font-family: 'nunitoextrabold';
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
#recette .categories-recette b {
  background: #000;
  color: #fff;
  margin: 4px 10px;
  padding: 6px 20px;
  font-weight: normal;
  text-transform: uppercase;
  border-radius: 20px;
  letter-spacing: 1px;
  white-space: nowrap;
}

#recette .tags-recette a,
#recette .mentions a {
  color:  #000;
}


#head-recette {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0 auto 30px auto;
  max-width: 1200px;
  box-sizing: border-box;
  position: relative;
}

#recette .img-recette {
  margin: 0;
  width: 85%;
}
#recette .img-recette img {
  width: 100%;
  box-sizing: border-box;
  border-radius:  25px;
}


#head-recette .info-recette .cout b {
  font-size: 18px;
}


#recette .info-recette {
  font-family: 'nunitoextralight';
  text-align: center;
  display: flex;
  flex-direction: row;
}
#recette .info-recette div {
  display: block;
  background: rgba(255,255,255,0.6);
  color: #000;
  padding: 15px 15px 10px 15px;
  border-radius:  10px;
  margin:  10px;
}
#recette .info-recette div:last-child {
  border-bottom:  0;
}

#recette .info-recette b {
  font-family: 'nunitoextrabold';
  display: block;
  font-size: 20px;
  font-weight: normal;
  line-height: 42px;
}
#recette .info-recette .facilite b,
#recette .info-recette .tps-prepa b,
#recette .info-recette .tps-cuisson b,
#recette .info-recette .tps-repos b {
  font-size: 24px;
}
#recette .info-recette .nb-personnes {
  font-size: 40px;
  font-family: 'nunitoextrabold';
}

#recette #corp-recette {
  display: flex;
  justify-content: space-between;
  max-width: 1250px;
  margin: 0 auto;
}

#recette #ingredients {
  background: #f9f5ef;
  margin: 10px 30px;
  border-radius: 10px;
  padding: 20px;
  min-width: 300px;
  border-radius: 20px;
  padding: 0;
  color:  #3e3a3a;
}
#recette #ingredients .liste-ingredients {
  padding:  0 0 30px 0;
}
#recette #ingredients .liste-ingredients .ingredient {
  padding:  6px 10px 6px 20px;
}

#recette #ingredients .liste-ingredients p:before {
  content:  '➜ ';
}
#recette #ingredients .liste-ingredients p:empty {
  display: none;
}
.liste-ingredients br {
  height: 0;
  font-size: 4px;
}
#recette #prepa {
  background: #f9f9f9;
  margin: 10px;
  border-radius: 20px;
  flex-grow: 2;
}

#recette #ingredients .title,
#recette #prepa .title {
  font-family: 'Pacifico', sans-serif;
  font-size: 32px;
  margin: 0px 0 20px 0;
  padding: 10px;
  text-align: left;
  color: #000;;
  background: #fff;
}

#recette #ingredients .title {
  border-color: #ccc;
}

#recette #prepa .liste-preparation {
  padding: 10px;
}
#recette #prepa img {
  width: 90%;
  max-width: 600px;
  margin: 10px auto;
  display: block;
  padding: 10px;
  border: 1px solid #ddd;
}

#recette .conservation,
#recette .deguste {
  margin:  10px 40px;
}


.img-recette:empty  {
  flex-direction: column;
  display: none;
}
.recettes-similaires .recette img {
  border-radius:  10px;
}


#head-recette .img-recette:empty + .info-recette {
  flex-direction: row;
  border: 1px solid #ddd;
  align-items: center;
}
#head-recette .img-recette:empty + .info-recette div {
  border-left: 1px solid #ddd;
  border-top: 0;
  border-bottom: 0;
  vertical-align: middle;
}
#head-recette .img-recette:empty + .info-recette div:first-child {
  border-left: 0;
}

.commentaires-ajout {
  background: #F9F5EF;
  width: auto;
  color: #000;
  margin: 10px;
  padding:  20px;
  box-sizing: border-box;
  position: relative;
  z-index: 0;
  overflow: hidden;
  width: 100%;
  border-radius: 20px;
}

.commentaires-ajout h3,
#recette h3 {
  font-family: 'nunitoextrabold';
  color: #000;
  text-align: center;
  font-size: 42px;
  word-spacing: 5px;
  margin:  5px;
}

h3#comment_view {
  font-family: 'nunitoextrabold';
  text-align: center;
  font-size: 42px;
}

.commentaires-ajout form {
  max-width: 600px;
  margin: 0 auto;
  z-index: 22;
}
.commentaires-ajout .com-title {
  font-family: 'nunitoextralight';
}
.commentaires-ajout textarea, 
.commentaires-ajout input[type=text] {
  background: rgba(255,255,255,0.6);
  border: 2px solid #fff;
  border-radius: 10px;
  box-shadow: 0px 0px 20px rgba(0,0,0,0.1);
  padding:  10px;
}
.commentaires-ajout input[type="submit"] {
  font-family: 'nunitoextrabold';
  background: #000;
  border-radius: 100px;
  padding: 10px 25px;
  font-size: 28px;
} 
.commentaires-ajout .comment_name {
  font-family: 'nunitoextrabold';
}


#comment_list {
  max-width: 1200px;
  margin: 10px auto;
}
.commentaires-recette .com {
  margin: 50px;
}
.commentaires-recette .com .pseudo {
  font-size: 32px!important;
}

.commentaires-recette .avatar {
  width: 130px;
  height: 130px;
  border-radius: 40px;
}
.commentaires-recette .avatar:empty {
  background-size: 100%;
  opacity: 1;
}

.commentaires-recette .com .bulle,
.commentaires-recette .auteur .bulle {
  display: none;
}
.commentaires-recette .commentaire {
  
  margin: 0 0 0 80px;
}
.commentaires-recette .commentaire .com-content {
  padding: 10px;
}
.commentaires-recette .commentaire .com-date {
  font-size: 18px;
  margin: 0 10px 0 0;
}
.commentaires-recette .auteur .commentaire {
  margin: 0 80px 0 0!important;
  border-left: 0;
}
.commentaires-recette .auteur .com-date {
  margin-right: 20px;
  color: orange;
}
.com.anonymous, .com.anonymous a {
  font-size: 22px;
}

.commentaires-recette .com #comment_fait, 
.commentaires-recette .com #comment_goute {
  position: inherit;
  font-size: 18px;
  display: inline-block;
  padding: 3px 16px;
  transform: rotate(-12deg);
  margin: -20px;
}


/* */
.pagination {
  margin: 20px auto;
  padding: 20px;
  font-size: 24px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}
.pagination a {
  background: #fff;
  text-decoration: none;
  padding: 8px 14px;
  color: #222;
  border: 1px solid #fff;
  border-radius: 4px;
  line-height: 48px;
}
.pagination a:hover {
  border: 1px solid #ddd;
  color: #000;
}
.pagination span {
  padding: 8px 18px;
  border-radius: 6px;
  color: #fff;
  margin: 4px;
}
.pagination .nav {
  border: 1px solid #444;
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: bold;
}
.pagination .nav:hover {
  border-color: #000;
}
/* contact */
.contact form {
  margin: 50px;
  text-align: center;
}
.contact form label {
  display: block;
  margin: 20px 0 0 0;
}
.contact form input,
.contact form textarea {
  font-family: 'candelabook';
  padding: 4px 10px;
  border: 2px solid #ddd;
  border-radius: 2px;
  font-size: 28px;
  margin: 4px;
  width: 80%;
  transition: ease 0.5s;
}
.contact form textarea {
  height: 150px;
}
.contact form input:hover,
.contact form textarea:hover,
.contact form input:focus,
.contact form textarea:focus  {
  border-color: #666;
  border-radius: 6px;
}


.contact form input[type="submit"] {
  width: 50%;
  margin: 20px;
  cursor: pointer;
  font-weight: bolder;
}

.contact .recherche {
  display: none;
}

/* */
.retour-accueil {
  background: #eee;
  margin: 0px 0px 0 -20px;
  padding: 10px;
  display: block;
  width: 230px;
  border-radius: 0 5px 5px 0;
  text-align: left;
  transition: ease 0.4s;  
}
.retour-accueil:hover {
  background: #ddd;
}


/* Affichage d'une recette */

.width {
  margin: 0 auto;
}

section {
  border: 7px solid #E0CDC2;
  border-top: 0 none;
  padding: 20px 20px 20px 20px;
  background: #fff;
  border-radius: 0 0 6px 6px;
  margin-top: -20px!important;
}



#menu {
  background: #fff;
  border-radius: 4px;
}
#menu ul,
#menu li {
  list-style-type: none;
  margin :0;
  padding: 0;
}

#menu .dropbtn {
  font-weight: bold;
  cursor: pointer;
}

#menu .level_1 {}
#menu .level_2 {
  padding-left: 20px;
}
#menu .level_3 {
  padding-left: 30px;
}



@media only screen and (max-width: 1024px) {
  .commentaires-ajout {
    width: inherit!important;
  }
  #recette .info-recette {
    position: relative;
    flex-wrap: wrap;
    justify-content: center;
    margin:  20px;
  }
  #recette .info-recette div {
    background: #F9F5EF;
  }

  header {
    padding: 0 0 150px 0;
    height: auto;
  }
  header h1 {
    font-size: 8vw;
  }
  .recette-cuisine {
    width: 85%;
    height: auto;
  }
  .recette-cuisine img {
    width: 100%;
    max-width: inherit;
  }

  #recette h1 {
    font-size: 28px;
  }
  #recette .categories-recette {
    font-size: 16px;
  }
  #recette .intro-recette {
    padding: 20px;
    margin: 0;
  }
  #recette .img-recette {
    width: 100%;
  }
  #head-recette {
    flex-direction: column;
  }
  #recette #corp-recette {
    display: block;
  }
  #recette #ingredients {
    min-width: inherit;
    width: 100%;
    margin: 0;
  }
  #recette #prepa img {
    width: 90%;
    margin: 5px auto;
  }
  #recette #prepa {
    width: 100%;
    margin: 0;
    border: 0 none;
  }
  #qrcode-float {
    display: none!important;
  }

}


@media only screen and (min-width: 1024px) {
  #sidebar {
    border-radius:  20px;
    margin:  20px;
  }
}
