@media screen and (min-width:954px) {
    #main {
        margin: auto;
        width:953px;
        padding: 0 4px 0 4px;
        box-shadow: 1px 1px 12px #555;
    }
}

@media (max-width:953px) {
    #main {
        margin: auto;
        width: 90%;
        padding: 0 4px 0 4px;
        box-shadow: 1px 1px 12px #555;
    }
}

.topsite {
    order: 1;
    width: 100%;
}

#main {
    display: flex;
    flex-flow: row wrap;
}

header {
    display: table;
    margin: auto;
    max-width:953px;
    background-position: center;
    background-color:#C9890D;
}

.logo {
    float: left;
    padding-left: 2px;
    padding-top: 2px;
}

.titres {
    float: right;
    font-family:'rubik-regular', serif;
    font-weight: bold;
    font-size: 32px;
}

.titres .h1 {
    color:#F5BA46;
    padding-top: 20px;
    padding-left: 20px;
    font-size: 32px;
    text-decoration: none;
    margin-bottom: 0;
}

.titres .h1 a {
    color:#F5BA46;
    text-decoration: none;
}

.titres .slogan {
    margin-top: 0;
    padding-left: 60px;
    font-weight: bold;
    font-size: 24px;
    color: black;
}

nav {
    order: 2;
    max-width:953px;
    width: 100%;
    margin: auto;
    padding: 10px 4px 0px 4px;
    margin-bottom: 0px;
}

.bandeau {
    order: 3;
    width: 100%;
    background-color:#F1A717;
    text-align: center;
}

.item-menu {
    border-top-left-radius:3px;
    border-top-right-radius:3px;
    border-color:#F1A717;
    border-width: 1px;
    border-style: solid;
    padding: 3px 3px 4px 3px;
    margin: 3px 3px 0px 3px;
    bottom: 0px;
}

.item-menu:hover {
    padding: 3px;
    margin: 3px;
    background-color:#F1A717;
}

.item-menu a {
    font-weight: bold;
    color:#F1A717;
    text-decoration: none;
}

.item-menu a:hover {
    color: white;
}

@font-face {
    font-family: 'rubik-regular';
    src: url('http://www.pose-fenetre-toit.net/rubik-regular.ttf');
    font-style: normal;
    font-weight: 400;
}
page{
    order: 4;
    flex: 1;
    width: 100%;
    display: block;
    max-width:953px;
    margin: auto;
}
.page.img_header {
    padding-top: 10px;
    padding-bottom: 5px;
    text-align: center;
    max-width: 100%;
}

img {
    max-width: 100%;
}
.page h1, h2, h3, h4, h5, h6 {
    color:#F1A717;
    font-family: 'http://www.pose-fenetre-toit.net/rubik-regular.ttf', serif;
}

also {
    order: 5  ;
    max-width:953px;
    width: 100%;
    margin: auto;
    padding-bottom: 2em;
}

footer {
    order: 6;
    background-color:#F1A717;
    text-align: center;
    width: 100%;
}

footer .footer-links a:first-child:after{
    content: " - ";
}

articles article {
    display: inline-block;
    width: 100%;
    padding-bottom: 25px;
}

articles article h3 {
    margin-bottom: 2px;
}

articles article .view-more {
    float: right;
    padding: 4px;
    margin-top: 50px;
    font-weight: bold;
    background-color:#F1A717;
    color: white;
}

.img_resume_frame {
    padding: 0 10px 0 10px
}

.img_resume {
    float: left;
    width: 300px;
    margin: 10px;
}
.ok {
    background-color: lightgreen;
    padding: 0.3em;
}

.error {
    background-color: lightpink;
    padding: 0.3em;
}


.page {
    display: flex;
    flex-direction: column;
}
.page  > p:first-child{
    order: -2;
}
.page  .news{
    order: -1;
    max-width: %% site_style_one_column_width%%px;
    margin:0 auto;
}

.news {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: baseline;
    padding-inline-start: unset;
    list-style-type: none;
}
.news > li {
    flex: 1;
    max-width: 33%;
    margin: 8px;
    border: 1px solid #eeeeee;
}
.news > li .news-image{
    max-height: 188px;
    text-align: center;
    display: block;
}
.news > li .news-content{
    padding: 10px;
}
.news > li .news-image img{
    height: 188px;
}

.news > li .news-logo{
    display: inline-block;
    max-width: 30px;
}

.news > li .news-title{
    display: inline-block;
    width: calc(100% - 45px);
    margin-left: 15px;
    font-size: 19px;
    font-weight: bold;
    vertical-align: top;
}
.news > li .news-desc{
    margin-top: 10px;
    font-size: 13px;
}
.news > li .view-more{
    display: block;
    text-transform: uppercase;
    color: ##C9890D;
    padding-left: 10px;
    padding-top: 10px;
    font-size: 13px;
    font-weight: 900;
}


.dernieres-news-other {
    list-style: none;
    padding-left: 0;
}
.dernieres-news-other li{
    display: block;
    min-height: 190px;
}
.dernieres-news-other li .dernieres-news-image{
    float: left;
    max-width: 175px;
    padding-right: 10px;
    padding-bottom: 5px;
}
.dernieres-news-other li .dernieres-news-image img{
    max-width: 170px;
    max-height: 135px;
}
.dernieres-news-other li h3{
    display: block;
}
.dernieres-news-other li .view-more{
    display: block;
    padding: 4px;
    margin-top: 5px;
    font-weight: bold;
    color: %% site_style_one_main_color%%;
    text-decoration: underline;
}