
/* Eléments principaux de la page */

body
{
    background: #f6f2ec;
    font-family: 'Trebuchet MS', Arial, sans-serif;
    color: #181818;
    line-height: 1.5;
    margin: 0;
}

#page
{
    width: 900px;
    margin: auto;
    padding: 0 10px;
}

section h1, section h2, nav a
{
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
}

a
{
    color: #760001;
}

/* Header */

header
{
    border-bottom: 3px solid #4d4437;
    margin-bottom: 20px;
    padding-top: 30px;
}

#titre_page
{
    display: inline-block;
}

header h1
{
    font-family: 'Rambla', sans-serif;
    font-size: 3em;
    font-weight: bold;
    color: #4d4437;
    display: inline-block;
    margin: 0;
    letter-spacing: 1px;
}

header h2
{
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.95em;
    margin-top: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #760001;
}

/* Navigation */

nav
{
    display: inline-block;
    width: 890px;
    text-align: right;
}

nav ul
{
    list-style-type: none;
    margin: 0 0 10px 0;
}

nav li
{
    display: inline-block;
    margin-left: 15px;
}

nav a
{
    font-size: 0.95em;
    font-weight: 500;
    color: #181818;
    padding-bottom: 3px;
    text-decoration: none;
}

nav a:hover, nav a.actif
{
    color: #760001;
    border-bottom: 3px solid #760001;
}


/* Corps */

article, aside
{
    display: inline-block;
    vertical-align: top;
}

article
{
    width: 585px;
    margin-right: 15px;
    margin-top: 20px;
    padding: 10px 20px 20px 20px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0px 2px 5px #c9bfb1;
}

article p, article ul
{
    font-size: 0.85em;
    text-align: justify;
}

article > p:first-child
{
    font-weight: bold;
    color: #4d4437;
}

article h2
{
    font-size: 1.3em;
    color: #4d4437;
    border-bottom: 2px solid #e6dfd4;
    padding-bottom: 5px;
    margin-top: 30px;
    text-align: left;
}

article h3
{
    font-size: 1em;
    color: #760001;
    margin-bottom: 2px;
    text-align: left;
}

article h3 + p
{
    font-style: italic;
    color: #897962;
    margin-top: 0;
}

article li
{
    margin-bottom: 4px;
}

aside
{
    position: relative;
    width: 235px;
    background-color: #4d4437;
    box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 5px;
    padding: 10px;
    color: white;
    font-size: 0.9em;
    margin-top: 20px;
    text-align: center;
}

aside h2
{
    margin-top: 10px;
}

aside p
{
    margin: 6px 0;
}

aside a
{
    color: #f6f2ec;
}

aside a:hover
{
    color: #ffffff;
}

aside .email
{
    font-size: 0.85em;
    color: #d8cfc3;
    user-select: all;
}

#photo
{
    text-align: center;
}

#photo img
{
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #f6f2ec;
}


/* Footer */

footer
{
    padding: 25px 0;
    font-size: 0.7em;
    color: #897962;
    text-align: center;
}

footer a, footer a:link, footer a:visited
{
    color: #897962;
    text-decoration: none;
}


/* Petits écrans (téléphone) */

@media (max-width: 920px)
{
    #page, nav, article, aside
    {
        width: auto;
        display: block;
    }

    nav
    {
        text-align: left;
    }

    nav li
    {
        margin: 0 15px 0 0;
    }

    article
    {
        margin-right: 0;
    }
}


/* Correctifs pour les vieilles versions d'Internet Explorer */

/* Pour activer un positionnement type inline-block sur les vieilles versions d'IE */

.old_ie #titre_page, .old_ie #logo, .old_ie header h1, .old_ie nav, .old_ie nav li, .old_ie article, .old_ie aside
{
    display: inline;
}

/* Quelques ajustements pour les vieilles versions d'IE pour la maquette CV*/

.old_ie section h1, .ie8 section h1
{
    font-size: 1.1em;
}
