body {
  margin: 0;
  padding: 0;
}
@font-face {
    font-family: 'questrialregular';
    src: url('font/questrial-regular-webfont.eot');
    src: url('font/questrial-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/questrial-regular-webfont.woff2') format('woff2'),
         url('font/questrial-regular-webfont.woff') format('woff'),
         url('font/questrial-regular-webfont.ttf') format('truetype'),
         url('font/questrial-regular-webfont.svg#questrialregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
  font-family: 'ralewayextrabold';
  src: url('font/raleway-extrabold-webfont.eot');
  src: url('font/raleway-extrabold-webfont.eot?#iefix') format('embedded-opentype'),
       url('font/raleway-extrabold-webfont.woff2') format('woff2'),
       url('font/raleway-extrabold-webfont.woff') format('woff'),
       url('font/raleway-extrabold-webfont.ttf') format('truetype'),
       url('font/raleway-extrabold-webfont.svg#ralewayextrabold') format('svg');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'questrialregular';
  font-size: 18px;
}

/* */
header,
.introindex {
  text-align: center;
}
header h1 {
  font-size: 46px;
  font-family: 'ralewayextrabold';
  margin: 20px 0;
}
header h1 a {
  color: #000;
  text-decoration: none;
}
.introindex {
  max-width: 990px;
  margin: 0 auto;
}


/* */
.recherche {
  background: #eee;
  padding: 10px;
  margin: 20px 0;
  text-align: center;
  border-top: 8px solid #888;
}

.recherche input[type=search] {
  font-family: 'ralewayextrabold';
  padding: 10px 20px;
  font-size: 22px;
  background: transparent;
  border: transparent;
  border-bottom: 4px solid #aaa;
  width: 30%;
}
.recherche input[type=search]:hover,
.recherche input[type=search]:focus {
  border-color: #000;
}
.recherche input[type="submit"] {
  position: relative;
}


/* sidebar */
#sidebar {
  width: 300px;
  float: right;
  background: #fff;
  padding: 0 10px;
  border: 2px solid #ddd;
  box-shadow: 8px 8px 0px #eee;
}

#sidebar .title {
  font-family: 'ralewayextrabold';
  background: #333;
  margin: 0 -10px;
  padding: 5px;
  text-align: center;
  color: #fff;
  font-weight: normal;
  font-size: 28px;
}

#sidebar a {
  color: #000;
  line-height: 32px;
}

#sidebar .profil {
  text-align: center;
}
#sidebar .profil .img {
  padding: 10px;
}
#sidebar .profil .img img {
  border-radius: 8px;
  border: 2px solid #fff;
}
#sidebar .profil .texte {
  margin: 0 10px 20px 10px;
  font-size: 16px;
}

#content {
  text-align: left;
  margin-right: 340px;
}
#content p a {
  text-decoration: underline;
  color: #000;
}


/* */
.recette-cuisine {
  display: inline-block;
  vertical-align: top;
  width: 46%;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin: 10px;
}
.recette-cuisine .zone-img {
  max-height: 200px;
  vertical-align: middle;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  display: table-cell;
  vertical-align: middle;
}
.recette-cuisine .zone-img img {
  border-radius: 6px 6px 0 0;
  height: auto;
  width: 100%;
}

.recette-cuisine .nom-recette {
  text-align: center;
  font-size: 20px;
  overflow: hidden;
  margin: 10px 4px;
}
.recette-cuisine .nom-recette a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  white-space: nowrap;
}

.recette-cuisine .date {
  text-align: center;
  font-size: 14px;
  color: #aaa;
  margin: 5px;
}
.recette-cuisine .com {
  display: inline-block;
}



.big .recette-cuisine {
  width: 95%;
}
.big .recette-cuisine .nom-recette {
  font-size: 28px;
}

.big .recette-cuisine .zone-img {
  width: 100%;
  max-height: 400px;
  display: inherit!important;
}
.big .recette-cuisine .zone-img img {
  width: 100%;
}


.recette-cuisine.article .intro {
  padding: 20px;
}





.plus {
  background: #333;
  padding: 14px;
  font-size: 28px;
  text-align: center;
  margin: 5px;
  border-radius: 2px;
}
.plus a {
  color: #fff;
  text-decoration: none;
  display: block;
}

/* fiche recette */
#recette {
  font-size: 22px;
}

#recette h1 {
  text-align: center;
  font-family: 'ralewayextrabold';
  font-size: 38px;
  font-weight: normal;
}

#recette .cadre-img {
  border: 1px solid #ddd;
  border-radius: 4px;
}
#recette .img-recette {
  height: 500px;
  overflow: hidden; 
}
#recette .img-recette img {
  width: 100%;
}

#recette .info-recette .icon {
  background-position: center;
  background-repeat: no-repeat;
  display: inline-block;
  width: 130px;
  height: 110px;
  text-align: center;
  margin: 15px 0 10px 0;
  font-size: 18px;
}
#recette .info-recette .icon span {
  display: block;
  font-size: 14px;
  color: #888;
}
#recette .info-recette .icon b {
  display: inline-block;
  margin-top: 70px;
}

#recette .info-recette .icon.tps-prepa {
  background-image: url(img/preparation.png);
  float: right;
}
#recette .info-recette .icon.tps-cuisson {
  background-image: url(img/cuisson.png);
  float: right;
}
#recette .info-recette .icon.tps-repos {
  background-image: url(img/repos.png);
  float: right;
}
#recette .info-recette .icon.cout {
  background-image: url(img/cout.png);
  font-size: 16px;
}
#recette .info-recette .icon.facilite {
  background-image: url(img/difficulte.png);
}
#recette .info-recette .nb-personnes {
  background-image: url(img/personnes.png);
}

#recette .info-recette:after {
  clear: both;
  display: block;
  content: '';
}

#recette .img-recette {
  background: #eee;
  max-width: 100%;
}

#recette .semange,
#recette .date {
  text-align: center;
}

#recette .semange b {
  margin: 0 10px;
  padding: 5px 20px;
  background: #000;
  color: #fff;
  border-radius: 2px;
}

#recette .date {
  color: #999;
  font-size: 16px;
  margin: 0 0 20px 0;
}

#recette .title {
  font-family: 'ralewayextrabold';
  font-size: 28px;
}
#recette .liste-ingredients {
  border-left: 6px solid #ddd;
}
#ingredients .sous-titre, 
#prepa .sous-titre {
  font-size: 22px;
}
#recette .conservation,
#recette .deguste {
  margin:  10px 40px;
}

#prepa .liste-preparation p {
  margin: 10px 0;
  line-height: 30px
}

#recette .cadre {
  padding: 10px 20px;
  font-size: 18px;
  border: 1px solid #aaa;
  border-radius: 4px;
  margin: 20px 0;
}

#recette #social a {
  border-radius: 20px;
  padding: 5px 30px;
}


#recette h3 {
  font-family: 'ralewayextrabold';
  background: #666;
  color: #fff;
  text-align: center;
  border-radius: 16px;
  padding: 7px;
  font-weight: normal;
  margin: 50px 0 0 0;
}



/* */
.pagination {
    display: block;
    margin: 20px auto;
    padding: 10px;
    text-align: center;
}
.pagination a, 
.pagination span {
    background: none repeat scroll 0 0 #fff;
    border: 0 solid #c6c6c6;
    border-radius: 20px;
    box-shadow: 0 4px 3px rgba(255, 255, 255, 0.2) inset, 
                0 1px 3px rgba(0, 0, 0, 0.2);
    color: #222;
    font-size: 18px;
    font-weight: bold;
    margin: 2px;
    padding: 6px 12px;
    text-decoration: none;
}
.pagination span {
    background: none repeat scroll 0 0 #aaa;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.8);
    color: #ffffff;
    cursor: default;
    font-size: 24px;
    text-shadow: 0 1px #3f789f;
}
.pagination a:hover {
    background: -moz-linear-gradient(center top , #ffffff 0%, #e8e8e8 100%) repeat scroll 0 0 transparent;
    border: medium none;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.55);
    color: #575757;
}
.pagination a:active {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.5) inset, 0 1px 1px 0 #ffffff !important;
}
.pagination .nav {
    background: none repeat scroll 0 0 #111;
    color: #fff;
}
.pagination .nav:hover {
    background: none repeat scroll 0 0 #000;
    color: #fff;
}


footer {
  background: #333;
  color: #fff;
  margin: 50px 0 0 0;
  padding: 5px;
}
footer a,
footer .copy-mini {
  color: #fff;
}

.pubban {
  margin: 5px auto 20px auto;
}



@media only screen and (max-width: 1000px) {
  .recette-cuisine {
    width: 95%;
  }
}

@media only screen and (max-width: 640px) {
#sidebar {
  float: none!important;
  width: auto!important;
  }
 #content {
  margin-right:0 !important;
 } 
 .recherche input[type="search"] {
  width: 70%;
 }
}
