@font-face {
    font-family: AnkeSans;
    src: url('polices/AnkeSans.ttf');
}

@font-face {
    font-family: Candara;
    src: url('polices/CANDARA.TTF');
}

body
{
    font-family: Candara;
    /*font-family: AnkeSans;*/
    /*background:url('../images/background.jpg');*/
    background-color: #FFFFFF;
}

section
{
    background-color: white;
    border-radius: 7px;
    padding: 20px 20px 20px 20px;
    margin-top: 15px;
}

section a
{
    color: black;
}

header
{
    background-color: white;
    text-decoration: none;
    color:black;
    margin-top: 20px;
    border-radius: 7px;
    padding: 10px 19px 10px 19px;
}

footer
{
    background-color: black;
    color: white;
    text-decoration: none;
    border-radius: 7px;
    margin-top: 15px;
    padding: 10px;
    text-align: center;
}

footer a
{
    color: white;
}

footer a img {
    position: relative;
    top: 5px;
}

header h1
{
    margin: 0px 0px 0px 0px; 
}

header h2
{
    margin: 0px 0px 0px 0px;
    text-align: right;
}

nav
{
    display: inline-block;
    background-color: white;
    border-radius: 7px;
    width:840px;
    margin-top: 15px;
}
 
nav ul
{
    list-style-type: none;
    padding: 0px 0px 0px 0px
}
 
nav li
{
    display: inline-block;
    width: 160px;
    text-align: center;
}
 
nav a
{
    font-size: 1.3em;
    color: black;
    font-weight: bold;
    padding-bottom: 3px;
    text-decoration: none;
}

input[type="email"]:invalid
{
    background-color: #ffaaaa;
}

input[type="email"]:valid
{
    background-color: #aaffaa;
}

nav a:hover
{
/*
    color: #760001;
    border-bottom: 3px solid #760001;
*/
    border-bottom: 3px solid;
}

img {
    border: none;
}

#main
{
    width: 840px;
    margin: auto;
}

#title
{
    margin-bottom: 10px;
}

#messages
{
    box-shadow: 0px 0px 5px 5px #cc0000;
}

.infos
{
    display: inline-block;
    margin-left: 20px;
    vertical-align: top;
    width: 250px;
}

.admin
{
    display: inline-block;
    vertical-align: top;
    text-align: right;
    width: 350px;
}

#navigation_admin {
  display:table;
  width: 100%;
  padding-left: 0%
}
#navigation_admin li{
  display:table-cell;
  text-align:center;
}

#image_galerie {
    margin:20px;
    display: inline-block;
    width: 200px;
    height: 200px;
}

.admin_galerie{
    width: 100%;
    height: 100%;
}

#titre {
    margin-top: 10px
}