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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
body {
    background: #000;
    color: #433223;
    font-family: Helvetica, Liberation Sans, FreeSans, sans-serif;
    font-size: 100%;
    background: url("images/fond-bois.jpg");
}
* {
    box-sizing: border-box;
}
a {
    color: #F9B233;
    text-decoration: none;
}
a:hover {
    color: #433223;
}
h1 {
    position: absolute;
    top: 50px;
    left: 275px;
    max-width: 665px;
    font-family: aw-conqueror-carved, sans-serif;
    font-size: 6.5em;
    font-weight: 400;
    line-height: 0.85;
    color: #ffffff;
    letter-spacing: -2px;
    text-shadow: 5px 5px 5px rgba(0,0,0,0.5);
    transition: all 0.3s ease 0s;
}
h2 {
    font-family: corner-store, sans-serif;
    font-size: 2em;
    padding: 10px 0;
}
h3 {
    font-family: corner-store, sans-serif;
    font-size: 2em;
    padding: 0 0 15px 0;
}
hr {
    margin: 0 0 5px 0;
    border-color: #F9B233;
    border-style: double none solid;
    border-width: medium medium 2px;
}
/*figcaption {
    color: #ffffff;
    text-shadow: none;
}*/
fieldset {
    margin: 15px;
    border: 1px solid #433223;
    text-align: center;
}
legend {
    background-color: #F9B233;
    border: 1px solid #433223;
    padding: 15px 20px;
    margin: 0 0 0 25px;
    font-size: 1.1em;
}
input {
    display: block;
    margin: 15px auto;
    padding: 15px;
    font-family: Helvetica, Liberation Sans, FreeSans, sans-serif;
    font-size: 1.5em;
    border: 1px solid #433223;
}
button {
    background-color: #433223;
    color: #ffffff;
    border: none;
    cursor: pointer;
}
#wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
}
  
/***** HEADER *****/
            
header {
    position: fixed;
    width: 200px;
    height: 100%;
    background-color: #ffffff;
    overflow: auto;
    z-index: 9;
}
#logo {
    width: 100%;
    margin: 25px 0 0 0;
    text-align: center;
}
#recherche {
    margin: 25px 18px;
}
#search {
    display: inline-block;
    width: 78%;
    height: 30px;
    margin: 0;
    padding: 0 5%;
    border: thin solid #433223;
    font-size: 1em;
}
header button {
    padding: 0 5%;
    height: 30px;
}
header nav ul {
    padding: 0 18px;
}
header nav ul a {
    font-family: league-gothic, sans-serif;
    font-size: 2em;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.trier {
    font-family: league-gothic, sans-serif;
    font-size: 1.15em;
    text-transform: uppercase;
    line-height: 1.5;
    letter-spacing: 3px;
    text-transform: uppercase;
}
header hr {
    margin: 15px 0 5px 0;
}
            
/***** INDEX *****/
            
#content {
    margin-left: 200px;
    padding-bottom: 100px;
    transition: all 0.3s ease 0s;
}
.login {
    float: right;
    padding: 55px 25px;
}
.login ul {
    padding: 15px 0;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
}
.login ul li {
    display: inline;
}
.login ul li a {
    padding: 5px;
    color: #fff;
}
.login ul li a:hover {
    color: #F9B233;
}
#main {
    float: left;
    width: 100%;
    margin: 125px 0 0 0;
    padding: 0 50px 0 50px;
}
#main .liste-index {
    float: left;
    width: 640px;
    height: 300px;
    margin: 0 25px 25px 25px;
    padding-right: 25px;
    background-color: #fff;
    box-shadow: -5px -5px 5px rgba(0,0,0,0.25);
}
#main .img-petite {
    float: left;
    width: 300px;
    margin: 0 25px 0 0;
}
#main .liste-index p {
    font-family: league-gothic, sans-serif;
    font-size: 2em;
    text-transform: uppercase;
}
.clear {
    clear: both;
}
            
/***** fiche-recette *****/

#main-recette {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 25px 25px 0 25px;
    line-height: 1.4;
}
.close {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background: url("images/close.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    background-position: right top;
}
#recette {
    width: 100%;
    padding-bottom: 50px;
    background: #fff;
    box-shadow: -5px -5px 5px rgba(0,0,0,0.25);
}
#recette .recette-img {
    position: relative;
    height: 400px;
    overflow: hidden;
}
#recette figure img {
    width: 100%;
    padding: 25px;
    background: #fff;
}
.recette-titre {
    width: 60%;
    margin: 25px 0 15px 31%;
}
#main-recette h2 {
    position: relative;
    font-size: 2em;
    font-family: corner-store, serif;
    color: #F9B233;
    left: 0;
    top: 0;
    line-height: 1;
    letter-spacing: 0;
    text-shadow: none;
}
.recette-titre p {
    padding-top: 2px;
    font-style: italic;
    font-weight: 100;
}
#recette-gauche {
    float: left;
    width: 30%;
    padding: 0 10px 0 5%;
    text-align: right;
    color: #F9B233;
}
#recette-gauche span {
    color: #acacac;
}
.text-ingredients {
    padding-top: 22px;
}
#recette-droite {
    float: left;
    width: 70%;
    padding: 0 10% 0 10px;
    text-align: left;
}
.text-preparation{
               
}
#astuce {
    float: right;
    width: 300px;
    margin: -25px 25px 0 0;
    padding: 15px;
    background: #F9B233;
    text-align: center;
    box-shadow: -5px -5px 5px rgba(0,0,0,0.25);
}
      
/***** INSCRIPTION *****/

#inscription {
    position: relative;
    width: 500px;
    height: 500px;
    background: #ffffff;
    margin: 0 auto;
    padding: 15px;
    overflow: hidden;
}
#inscription h2 {
    color: #F9B233;
    padding: 15px;
    text-align: center;
}
#inscription input {
    width: 75%;
}
#inscription button {
    display: block;
    font-size: 1.1em;
    margin: 25px auto;
    padding: 15px;
}
.echo-inscription {
    position: absolute;
    width: 470px;
    height: 470px;
    padding: 15% 5%;
    background: #ffffff;
    border: solid 1px #433223;
    text-align: center;
    line-height: 2;
}
.echo-text-inscription {
    font-size: 2em;
    padding: 15px 0 35px 0;
}

/***** LOGIN *****/

#login {
    position: relative;
    width: 500px;
    background: #ffffff;
    margin: 0 auto;
    padding: 15px;
    overflow: hidden;
}
#login h2 {
    color: #F9B233;
    padding: 15px;
    text-align: center;
}
#login input {
    width: 75%;
}
#login button {
    display: block;
    font-size: 1.1em;
    margin: 25px auto;
    padding: 15px;
}

/***** PUBLIER *****/

#publier {
    position: relative;
    width: 500px;
    margin: 0 auto;
    padding: 15px;
    overflow: hidden;
    background: #ffffff;
}
#publier h2 {
    color: #F9B233;
    font-size: 4em;
    padding: 15px;
    text-align: center;
}
.deconnection {
    margin: 0 15px 0 0;
    text-align: right;
}
.publier {
    margin: 50px 15px;
    padding: 3%;
    background: #ffffff;
    border: solid 1px #433223;
    text-align: center;
    line-height: 1.4;
}
.titre-publier {
    font-size: 2em;
    padding: 0 0 25px 0;
}
.text-publier {
    text-decoration: underline;
}
#publier input {
    width: 320px;
}
input[type="number"] {
}
label {
    display: inherit;
}
select {
    display: block;
    width: 320px;
    margin: 15px auto;
    padding: 15px;
    text-align: center;
    font-family: Helvetica, Liberation Sans, FreeSans, sans-serif;
    font-size: 1.5em;
    border: 1px solid #433223;
    background: transparent;
    -webkit-appearance: none;
}
textarea {
    display: block;
    width: 320px;
    height: 150px;
    margin: 15px auto;
    padding: 3px 0 0 3px;
    resize: none;
    border: 1px solid #433223;
}
#publier button {
    display: block;
    font-size: 1.1em;
    margin: 25px auto;
    padding: 15px;
}
.echo-publier {
    margin: 15px;
    padding: 3%;
    background: #ffffff;
    border: solid 1px #433223;
    text-align: center;
    line-height: 1.4;
}
.echo-text-publier {
    font-size: 2em;
    padding: 0 0 25px 0;
}

/***** ASIDE *****/
            
/*aside {
    display: inline-block;
    width: 300px;
    margin: 100px 0 0 25px;
    vertical-align: top;
}
#nouvelles {
    width: 300px;
    background-color: #ffffff;
    text-align: left;
}
.text-aside {
    margin:  0 10px 15px 20px;
}*/
            
/***** FOOTER *****/
            
footer {
    width: 100%;
    text-align: right;
    z-index: 10;
}
#copyright {
    padding: 0 25px 0 0;
    font-family: corner-store, sans-serif;
    color: #ffffff;
}

/**************** --------------- MEDIAQUERIES --------------- ***************/

/* 1100px */
@media only screen and (max-width: 70em) {
/* page index */
h1 {
    font-size: 4.5em;
} 
}
/* 960px */
@media only screen and (max-width: 60em) {
/* page index */
.login {
    display: none;
}
h1 {
    font-size: 3.5em;
    left: 220px;
} 
#main {
    margin: 200px 0 0 0;
    padding: 0;
}
#main .liste-index {
    height: 580px;
    width: 300px;
    margin: 0 0 0 25px;
    padding: 0;
}
h2 {
    padding: 0 10px 0 10px;
}
#main .liste-index p {
    padding: 0 10px 0 10px;
}
/* page fiche-recette */
#recette .recette-img {
    height: auto;
}
figcaption {
    display: none;
}
.recette-titre {
    margin: 0 0 15px 31%;
}
}
/* 720px */
@media only screen and (max-width: 45em) {
/* page fiche-recette */
.recette-titre {
    margin: 0 0 15px 25px;
    width: initial;
}
#recette-gauche {
    padding: 0 10px 0 25px;
    text-align: left;
    width: 100%;
}
#recette-droite {
    padding: 25px 25px 0 25px;
    width: 100%;
}
}
/* 480px */
@media only screen and (max-width: 30em) {
/* page index */
.open-menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background: url("images/open.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    z-index: 8;
}
.ouvrir-menu {
    left: 0;
    transition: all 0.3s ease 0s;
}
.close-menu {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background: url("images/close.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}
.fermer-menu {
    left: -200px;
    transition: all 0.3s ease 0s;
}
#logo {
    margin: 5px 0 0 0;
}
#logo a img {
    width: 50%;
}
#recherche {
    display: none;
}
header hr {
    display: none;
}
.trier {
    line-height: 1;
}
.h1-mobile {
    left: 20px !important;
}
.content-mobile {
    margin: 0 0 0 20px !important;
}
#main .liste-index {
    margin: 0;
}
/* page fiche-recette */
#main-recette {
    padding: 0;
}
}
/* 320px */
@media only screen and (max-width: 20em) {

}