@font-face {
   font-family: fontTitre;
   src: url(fonts/wcroughtrad.otf);
}

@font-face {
   font-family: fontMenu;
   src: url(fonts/timesansserif.ttf);
}

@font-face {
   font-family: fontArticles;
   src: url(fonts/timesansserif.ttf);
}

@font-face {
   font-family: fontAll;
   src: url(fonts/timesansserif.ttf);
}

body {
	font-family: fontAll, Cursive, Verdana, Arial, sans-serif;
	background-color: #EEE;
	color: #000;
}

#bloc_page {
	display: flex;
	flex-direction: column;
	width: 100%;
   max-width: 1280px;
	margin: auto;
	font-size: medium;
}

header {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
   margin-bottom: 20px;
}

.surBandeau {
   display: flex;
	flex-direction: row;
}

.navigation {
   display: flex;
	flex-direction: row;

}

.elementsNavigation {
   margin-top: auto;
   margin-bottom: auto;
   padding-left: 20px;
   padding-right: 20px;
   font-variant: small-caps;
   font-family: fontMenu;
}

.elementsNavigation a {
   color: #b7483d;
   text-decoration: none;
}

.elementsNavigation a:hover {
   color: #7b1a0a;
   text-decoration: none;
}

.recherche {
	margin: auto;
}

.recherche label {
   display: block;
	float: left;
}

.connexion {
   display: flex;
	flex-direction: row;
}

.elementsConnexion {
   margin-top: auto;
   margin-bottom: auto;
   padding: 10px;
   color: #b7483d;
   font-variant: small-caps;
}

.elementsConnexion img {
   opacity: 0.65;
}

.elementsConnexion img:hover {
   opacity: 1.0;
}

.bandeau {
   display: flex;
	flex-direction: row;
   background-image: url("img/header.jpg");
   background-repeat: no-repeat;
   background-position: center;
	height: 170px;
}

.logo {
	margin-left: 15px;
   margin-top: 15px;
}

.titre {
   font-family: fontTitre;
   font-size: 250%;
   font-variant: small-caps;
   margin-left: auto;
   margin-right: auto;
   margin-bottom: 20px;
   margin-top: 20px;
}

.message {
   font-size: medium;
   margin: 20px 0px 20px 0px;
   padding-left: 10px;
	font-style: italic;
   border-left: 8px solid #27190d;
   border-bottom: 1px solid #27190d;
   border-top: 1px solid #27190d;
   border-right: 8px solid #27190d;
   background-color: #faf0e2;
}

.page {
	display: flex;
	flex-direction: row;
}

.elementsContact {
   margin-top: auto;
   margin-bottom: auto;
   margin-left: 20px;
   padding: 10px;
}

.elementsContact td {
   min-width: 30px;
}

.livre {
   display: flex;
	flex-direction: column;
   width: 80%;
   min-width: 640px;
   max-width: 800px;
   margin-left: auto;
   margin-right: auto;
   font-family: fontAll;
}

.messageCompletLivre {
   display: flex;
	flex-direction: column;
   margin: 25px 0px;
}

.messageHaut {
   display: flex;
	flex-direction: row;
   justify-content: space-between;
   padding: 50px 60px 30px 60px;
   font-style: italic;
   background: url("img/cornerTL.png") no-repeat left top;
}

.nomMessage {
   font-size: large;
   width: 75%;
   word-break: break-all;
}

.dateMessage {
   font-size: medium;
   width: 250px;
}

.idMessage {
   font-size: medium;
}

.messageLivre {
   font-size: large;
   padding: 20px 100px 60px 100px;
   word-break: break-all;
   background: url("img/cornerBR.png") no-repeat right bottom;
}

.apropos {
   margin-left: 30px;
   margin-right: 30px;
   text-align: justify;
   font-style: italic;
}

nav {
   margin-left: 5px;
   background-image: url("img/menu.jpg");
   background-repeat: repeat-y;
}

nav ul {
   list-style-type: none;
   font-family: fontMenu;
   font-variant: small-caps;
	text-align: left;
   font-size: large;
   margin: 0;
   padding: 0;
   width: 200px;
}

nav li a {
   display: block;
   padding: 10px 20px;
   text-decoration: none;
   color: #7b1a0a;
}

nav li a:hover {
   background-color: #EEE;
   text-decoration: none;
   color: #7b1a0a;
   animation-name: example;
   animation-duration: 0.5s;
}

@keyframes example {
   from {background-color: rgba(221, 221, 221, 0);}
   to {background-color: rgba(221, 221, 221, 1);}
}

.accueil {
   margin-left: 30px;
}

.listeArticles {
   display: flex;
   flex-direction: column;
   width: 100%;
   font-family: fontArticles;
}

.articles {
   display: flex;
   flex-direction: row;
   width: 100%;
}

.photos {
   padding: 5px 10px 5px 10px;
   margin: 10px;
   width: 400px;
   height: 150px;
   text-align: center;
}

.photos img {
   border: 2px solid #27190d;
}

.descriptionArticle {
   padding: 10px;
   width: 100%;
   text-align: left;
   margin-left: 40px;
   border-top: 1px solid #CCC;
}

.cookie {
   font-size: small;
   font-style: italic;
   text-align: center;
}

footer {
   display: flex;
	flex-direction: row;
   justify-content: space-between;
   margin: 25px 5px 0px 5px;
	font-size: small;
	font-style: italic;
	text-align: center;
   padding: 10px;
   border-top: 1px solid #CCC;
}

footer img {
   opacity: 0.55;
}

footer img:hover {
   opacity: 1.0;
}

table {
	border-collapse: collapse;
}

td {
   padding-left: 5px;
}

#gauche {
	text-align: left;
}

#droite {
	text-align: right;
}

#centre {
	text-align: center;
}

a {
	text-decoration: none;
	color: #7b1a0a;
   font-weight: bold;
}
a:hover {
	color: #b7483d;
   font-weight: bold;
}

#miniatures {
	text-align: center;
	height: 150px;
}

label {
	display: block;
}

p.italic {
    font-style: italic;
}

p.nom {
   font-size: medium;
   font-weight: bold;
}

p.laisserMessage {
   font-size: large;
   font-variant: small-caps;
   font-weight: bold;
}

p.laisserMessage a {
   font-size: large;
   font-variant: small-caps;
   margin-left: auto;
   margin-right: auto;
}

p.erreur {
   color: #DD0000;
	font-weight: bold;
}

h1 {
	font-size: x-large;
}
h2 {
	font-size: large;
}

#gauche_blanc {
	background-color: #FFFFFF;
	text-align: left;

}
#centre_blanc {
	background-color: #FFFFFF;
	text-align: center;
	width: 35px;
}
#gauche_gris {
	background-color: #DDDDDD;
	text-align: left;
}
#centre_gris {
	background-color: #DDDDDD;
	text-align: center;
	width: 35px;
}

#alerte {
	color: #DD0000;
	font-weight: bold;
}
