body
{
    font-family: calibri, sans-serif;
    color: #181818;
}

#bloc_page
{
    width: 900px;
    margin: auto;
}

section h1, footer h1, nav a, aside h1, .more_articles
{
    font-family: calibri, sans-serif;
    font-weight: normal;
    text-transform: uppercase; /* Les titres sont automatiquement convertis en majuscule */
}

/* Header */

#main
{
    display: flex;
    flex-direction: column;
    position: relative;
    height: 200px;
    width:  100%;
    border-radius: 0px 0px 5px 5px;
    background: url('img_site/main_title.jpg') no-repeat;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.6);
    margin-top:  -8px;
    margin-bottom:  12px;
    
}



/* Navigation */

nav
{
    width: 900px;
    position: fixed;
    bottom: 20px;
}

nav ul
{
    list-style-type: none;
    margin-top:  0px;
    margin-bottom:  0px;
    display: flex;
    justify-content:  center;
    border-bottom: 2px solid #ea9920;
    border-top: 2px solid #ea9920;
    padding-bottom: 2px;
    background-color:  rgba(255, 255, 255, 0.8);

}

nav li
{
    margin-right: 14px;
}

nav a
{
    font-size: 1.3em;
    font-weight: bold;
    color: #ea9920;
    /* Only useful when I used 2 different colors: */
    /*border-bottom: 2px solid;
    border-top: 2px solid;
    padding-top: 0px;
    padding-bottom: 2px;*/
    text-decoration: none;
}

nav a:hover
{
    color: #ea9920;
    background-color: rgba(234, 153, 32, 0.15);
}


.to-top-right:hover, .to-top-left:hover
{
    background-color: rgba(255, 255, 255, 0);
}

.to-top-right
{
    position:  absolute;
    height:  24px;
    width:  24px;
    background: url(img_site/go-to-top.png) no-repeat;
    background-size: 24px 24px;
    right: 0px;
    bottom: 4px;
    border:  none;
    padding: 0 0 0 0;
    }

.to-top-left
{
    position:  absolute;
    height:  24px;
    width:  24px;
    background: url(img_site/go-to-top.png) no-repeat;
    background-size: 24px 24px;
    left: 0px;
    bottom:  4px;
    border:  none;
    padding: 0 0 0 0;
}


/* Corps */

section
{
    display: flex;
    margin-bottom: 10px;
}

#date
{
    position: absolute;
    right: 10px;
    margin-top: 4px;
    font-size: 0.8em;
    font-style: italic;
    color: rgba(234, 153, 32, 1);
}

article, aside
{
    text-align: justify;
}

article
{
    position: relative;
    flex: 3;
    border: 1px rgba(234, 153, 32, 1) solid;
    border-radius: 5px;
    box-shadow: 2px 2px 4px rgba(234, 153, 32, 0.6);
    padding: 0px 10px;
    padding-bottom: 10px;
    background-color: rgba(234, 153, 32, 0.05);
}

.articles_project
{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 5px;
}

article h1
{
    font-size: 1.4em;
    font-weight: bold;
    padding-left: 6px;
    margin-bottom: 0px;
    border-left: 6px solid;
    border-bottom: 2px solid;
    color: rgba(234, 153, 32, 1);
}

article p
{
    font-size: 0.92em;
}

#img_style
{
    border: 1px solid;
    border-radius: 15px 0px 15px 0px;
}

.mini-title
{
    color: #ea9920;
    font-weight: bold;
    border-left: 2px solid;
    border-bottom: 1px solid;
    padding-left: 3px;
}

.article-italic
{
    font-style: italic;
}

.article-bold
{font-weight: bold;
    
}

.article-underlined
{
    text-decoration: underline;
}

.line_articles
{
    position: relative
    width: 100%;
    border-bottom: 3px double rgba(234, 153, 32, 1);
    padding-top: 6px;
    margin-bottom: 0px;
}

.nextchapter
{
    text-align: center;
}


/* Latest articles */

aside h1
{
    font-size: 1.4em;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 8px;
    color: rgba(234, 153, 32, 1);
}

.h1_linetop
{
    position: absolute;
    left: 0px;
    width: 100%;
    height: 0px;
    border-bottom: 1px solid rgba(234, 153, 32, 1);
}

.h1_linebottom
{
    position: absolute;
    left: 0px;
    width: 100%;
    bottom: 20px;
    border-bottom: 1px solid rgba(234, 153, 32, 1);
    padding-top: 6px;
}


aside
{
    width: auto;
    position: relative;        
    right: 0px;
    font-size: 0.9em;
    background-color: rgba(234, 153, 32, 0.05);
    box-shadow: 2px 2px 4px rgba(234, 153, 32, 0.6);
    border: 1px solid rgba(234, 153, 32, 1);
    border-radius: 5px;
    padding: 0px 10px 14px 10px;
    margin-left: -5px;
    margin-right: 0px;
}


#iframe_articles iframe
{
    position: relative;
    width: 270px;
    height: 100%;
    border: none;
    top: -8px;
    right: 0px;
    margin-right: -8px;
}

article a, aside a
{
    font-weight: bold;
    color: #ea9920;
    border-bottom: 1px solid;
    border-left: 3px double;
    padding-left: 3px;
    text-decoration: none;
}

article a:hover, aside a:hover
{
    color: #ea9920;
    border-bottom: 2px solid;
}

article a:visited, aside a:visited
{
    color: #ea5920;
}

aside p
{
    margin-bottom: -8px;
}


.more_articles
{
    background-color: rgba(234, 153, 32, 0.1);
    margin: 15px -10px -14px -10px;
}


.more_articles a
{
    position: relative;
    font-weight: bold;
    color: #ea9920;
    border: none;
    text-decoration: none;
    font-size: 1.2em;    
}

.more_articles a:hover
{
    position: relative;
    font-weight: bold;
    color: #ea9920;
    border: none;
    text-decoration: none;
    font-size: 1.2em;    
}


/* Calling the Footer */

#iframe_footer iframe
{
    display: flex;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 420px;
    border: none;
    left: 0px;
    right: 0px;
}


/* Copyrights at the bottom of the page */

#copyright
{
    display: flex;
    justify-content: center;
}

.copyright
{
    display: flex;
    position: absolute;
    padding-bottom: 2px;
    font-size: 0.9em;
    opacity: 0.6;
}

/* *********************** */
/* USE ON SMARTPHONES etc. */
/* *********************** */

@media screen and (max-width: 1280px)
{
    #bloc_page
    {
        width: auto;
        min-width: 650px;
    }

    #main
    {
        display: flex;
        flex-direction: column;
        position: relative;        
        max-width: 900px;
        border-radius: 0px 0px 5px 5px;
        background: url('img_site/main_title.jpg') center no-repeat;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.6);
        margin: auto;
        margin-top:  -8px;
        margin-bottom:  12px;
    }

    section
    {
        flex-direction: column;
        margin-bottom: 20px;
    }


    article
    {
        position: relative;
        margin-right: 0px;
        border: 1px rgba(234, 153, 32, 1) solid;
        border-radius: 5px;
        box-shadow: 2px 2px 4px rgba(234, 153, 32, 0.6);
        padding: 0px 10px;
        background-color: rgba(234, 153, 32, 0.05);    
    }


    nav
    {
        width: 100%;
        left: 0px;
        position: fixed;
        bottom: 20px;
    }


    aside
    {
        width: auto;
        position: relative;        
        right: 0px;
        font-size: 0.9em;
        background-color: rgba(234, 153, 32, 0.05);
        box-shadow: 2px 2px 4px rgba(234, 153, 32, 0.6);
        border: 1px solid rgba(234, 153, 32, 1);
        border-radius: 5px;
        padding: 0px 10px 14px 10px;
        margin-left: -5px;
        margin-right: 0px;
    }


    #iframe_articles iframe
    {
        position: relative;
        width: 100%;
        height: 400px;
        border: none;
        margin-top: 20px;
        margin-bottom: -100px;
    }

    #iframe_footer iframe
    {
        position: relative;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        height: 672px;
        border: none;
    }

}