body {
  font-family: 'domineregular', serif;
  background: #fff;
}

.width {
  max-width: 1740px;
}


@font-face {
    font-family: 'Montserrat';
    src: url('font/montserrat-bold-webfont.woff2') format('woff2'),
         url('font/montserrat-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Satisfy';
    src: url('font/satisfy-regular-webfont.woff2') format('woff2'),
         url('font/satisfy-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'domineregular';
    src: url('font/domine-regular-webfont.woff2') format('woff2'),
         url('font/domine-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

header {
  background: #fff;
  margin: 50px 50px 20px 50px;
  padding: 10px;
  text-align: center;
}
header h1 {
  font-family: 'Satisfy', cursive;
  font-size: 74px;
  line-height: 72px;
  font-weight: bold;
  margin: 10px 0 0px 0;
  padding: 0;
}
header h1 a {
  color: #000;
  text-decoration: none;
}
header h2 {
  font-size: 18px;
  font-weight: normal;
  letter-spacing: 1px;
  word-spacing: 1px;
  color: #aaa;
  margin: 40px auto 20px auto;
  max-width: 800px;
}

#navbt {
  border-top: 4px double #ddd;
  border-bottom: 4px double #ddd;
  padding: 14px;
  color: #555;
  font-size: 18px;
  margin: 0;
}
#navbt span {
  margin: 0 30px;
}
#navbt span b {
  color: #000;
  font-weight: bold;
  margin-right: 5px;
}
#navbt span a {
  color: #000;
  text-decoration: none;
  color: #555;
}


.introindex {
  background: #E6E9ED;
  padding: 20px 40px;
  margin: 40px auto;
  max-width: 1200px;
  font-size: 18px;
  border-radius: 3px;
}

/* index : cadre recette */


.recette-cuisine {
  width: 600px;
  padding: 0px 0px 20px 0;
  border: 4px double #E6E9ED;
  margin: 30px;
  align-content: stretch;
}

.recette-cuisine .zone-img {
  overflow: hidden;
  flex-grow: 2;
}
.recette-cuisine img {
  width: 100%;
  transition: ease 0.5s all;
  overflow: hidden;
}

.recette-cuisine:hover img {
  transform: scale(1.15);
}
.recette-cuisine .zone-img img[src*="templates/base/css/img/pixel.png"] {
  width: inherit;
}

.recette-cuisine .nom-recette {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 0.8px;
  word-spacing: 2px;
  line-height: 28px;
  margin: 20px;
}
.recette-cuisine .nom-recette a {
  color: #000;
  text-decoration: none;
  transition: ease 0.1s;
}
.recette-cuisine .nom-recette a:hover {
  border-bottom: 4px solid #ddd;
}
.recette-cuisine .nom-recette:after {
  content: '___________';
  display: block;
  color: #E6E9ED;
  letter-spacing: -4px;
}
.recette-cuisine .date {
  font-family: 'domineregular', serif;
  color: #666;
}

.recette-cuisine .com {
  display: inline-block;
}


.recette-cuisine.article .nom-recette {
  flex-grow: 0;
}
.recette-cuisine.article .intro {
  font-size: 18px;
}



.plus {
  margin: 20px;
}
.plus a {
  font-family: 'PT Sans', sans-serif;
  background: #000;
  color: #fff;
  padding: 10px 28px;
  text-decoration: none;
  font-size: 28px;
  border-radius: 8px;
}

/* fiche recette */
.fiche-recette {
  background: #fff;
  padding: 20px;
  max-width: 1200px;
  margin: 20px auto;
}
.fiche-recette .date {
  text-align: center;
  font-size: 20px;
  color: #aaa;
  margin: 20px;
  font-weight: normal;
}
.fiche-recette h1 {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  text-align: center;
  font-size: 52px;
  max-width: 80%;
  margin: 0 auto;
}

.fiche-recette .semange {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  font-size: 17px;
  text-transform: uppercase;
  margin: 40px auto;
  color: #333;
}
.fiche-recette .semange b {
  display: inline-block;
  border: 2px solid #222;
  border-radius: 6px;
  margin: 6px;
  padding: 6px 12px;
  letter-spacing: -0.5px;
  font-weight: normal;
  white-space: nowrap;
}


.fiche-recette .categorie {
  margin-top: 20px;
}


.fiche-recette .info-recette {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  padding: 12px;
  margin: 0 30px;
  border-radius: 8px;
}
.fiche-recette .info-recette div {
  display: inline-block;
  margin: 2px 20px;
  background-repeat: no-repeat;
  background-position: center left;
  padding: 7px 5px 7px 40px;
}

.fiche-recette .info-recette .tps-repos {
  background-image: url(img/icon-repos.png);
}
.fiche-recette .info-recette .tps-prepa {
  background-image: url(img/icon-prepa.png);
}
.fiche-recette .info-recette .tps-cuisson {
  background-image: url(img/icon-cuisson.png);
}
.fiche-recette .info-recette .nb-personnes {
  background-image: url(img/icon-nb-personnes.png);
}
.fiche-recette .info-recette .cout {
  background-image: url(img/icon-cout.png);
}
.fiche-recette .info-recette .difficulte {
  background-image: url(img/icon-difficulte.png);
}

.fiche-recette .info-recette .tooltip {
  display: inline-block;
  position: relative;
}
.fiche-recette .info-recette .tooltip:hover {
  cursor: help;
}
.fiche-recette .info-recette .tooltip:hover:after {
  background: #111;
  background: rgba(0,0,0,.8);
  border-radius: 2px;
  margin: 5px 0 0 0px;
  color: #fff;
  content: attr(data-tooltip);
  display: block;
  padding: 5px 20px;
  position: absolute;
  white-space: nowrap;
  z-index: 98;
}


.fiche-recette .cadre {
  font-family: 'Satisfy', cursive;
  margin: 30px;
  font-size: 28px;
  line-height: 38px;
  text-align: center;
  color: #264E77;
}

.fiche-recette #ingredients p.title,
.fiche-recette #prepa p.title {
  font-family: 'Satisfy', cursive;
  text-align: center;
  font-size: 38px;
  color: #000;
  padding: 0;
  margin: 0 0 20px 0;
  text-decoration: underline;
  font-weight: bold;
}
.fiche-recette #ingredients {
  background: #e6e9ed;
  color: #000;
  font-size: 20px;
  border-radius: 10px;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
}

.fiche-recette #prepa {
  font-size: 18px;
  padding: 20px;
}



.fiche-recette .img-recette {
  padding: 0;
  margin: 20px auto;
  text-align: center;
}

.fiche-recette .img-recette,
.fiche-recette .img-recette img {
  margin: 20px auto;
  width: 90%;
  border-radius: 20px;
}


.fiche-recette h3 {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  font-size: 52px;
  border-top: 4px double #ddd;
  padding-top: 30px;
}

.fiche-recette #qrcode {
  background: #eee;
  margin: 20px auto;
  border: 0px solid #000;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 50%;
}




#newsletter {
  background: #e6e9ed;
  color: #000;
}
#newsletter .title,
#newsletter input[type="submit"] {
  font-family: 'Montserrat', sans-serif;
  font-weight: normal;
  font-weight: bold;
}
#newsletter input[type="submit"] {
  border-radius: 20rem;
  box-shadow: 2px 1000px 1px #eee inset;
  color: #000;
}


.pagination a {
  background: #e6e9ed;
  color: #666!important;
  border-radius: 4px;
  font-size: 20px;
}

.sider {
  background: #e6e9ed;
  box-shadow: 0 0 20px #aaa;
}
.sider h4 {
  background: rgba(0,0,0,0.1);
  color: #000;
}
.sider a {
  color: #000;
  text-shadow: 1px 1px 0px #fff;
}
.sider a:hover {
  color: #000;
  text-shadow: 2px 2px 0px #fff;
}


@media (min-width: 1024px) {
  .recette-cuisine.article .nom-recette {
    font-size: 24px;
    line-height: 40px;
  }
  .recette-cuisine.article .intro {
    font-size: 28px;
    margin: 30px;
  }
  .fiche-recette #col {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
  }
  .fiche-recette #col #ingredients {
    position: sticky;
    top: 0;
    min-width: 320px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .recette-cuisine { width: 40%; margin: 10px; }
  .introindex {
    border-radius: 10px;
    margin: 30px 8%;
  }
}


@media (max-width: 767px) {
  header h1 {
    font-size: 40px;
    line-height: 50px;
  }
  header h1:after {
  content: "o-----------------------------o";
  margin: -10px 0 0 0;
  }
  .recette-cuisine { width: 90%; }
  #navbt span {
    margin: 4px;
  }
    #newsletter {
    flex-direction: column;
  }
  .introindex {
    border-radius: 10px;
    margin: 10px;
  }
}