body {
    margin: 0;
    font-family:'abel-regular', serif;
    font-size: 14px;
    color: black;
}

.topsite {
    order: 1;
    display: inline-block;
    width: 50%;
}

#main {
    display: flex;
    flex-flow: row wrap;
    margin: auto;
}

header {
    display: inline-block;
    margin: auto;
    background-position: center;
    padding-left: 30px;
}

h2 {
    color: black;
    text-transform: uppercase;
}

.logo {
    float: left;
    padding-left: 2px;
    padding-top: 2px;
}

.logo img{
    height: 60px;
}

.titres {
    float: left;
    font-weight: bold;
    margin-top: 12px;
}

.titres .h1 {
    color: black;
    padding-top: 5px;
    padding-left: 20px;
    font-size: 18px;
    text-decoration: none;
    margin-bottom: 0;
}

.titres .h1 a {
    color: black;
    text-decoration: none;
}

.titres .slogan {
    margin-top: 0;
    padding-left: 60px;
    font-weight: bold;
    font-size: 12px;
    color: black;
}

nav {
    order: 2;
    margin-bottom: 0px;
    width: 50%;
    padding-top: 25px;
    text-align: right;
}

.bandeau {
    order: 3;
    width: 100%;
    text-align: center;
    height: 1px;
}

.item-menu {
    text-transform: uppercase;
    font-size: 15px;
    position: relative;
    margin-right: 15px;
}
.item-menu:last-child{
    margin-right: 30px;
}

.item-menu:hover:after {
    content: '';
    position: absolute;
    left: 0;
    display: inline-block;
    width: 100%;
    border-bottom: 2px solid #E9934A;
    margin-top: 25px;
}

.item-menu a {
    color: #000000;
    text-decoration: none;
}

@font-face {
    font-family: 'abel-regular';
    src: url('https://safaricar.net/abel-regular.ttf');
    font-style: normal;
    font-weight: 400;
}

.item{
    order: 4;
    width: 100%;
    display: block;
    margin: auto;
}

.item .content-intro {
    width: 100%;
    background-color: #E9934A;
    color: black;
}
.item .content-intro a{
   color: #FFFFFF;
}

.item .content-intro-container {
    width: 100%;
    max-width: 1001px;
    margin: 0 auto;
    display: flex;
   align-items: center;
}

.item .content-intro-container .content-intro-text {
    width: calc(50% - 40px);
    padding: 20px 23px 20px 17px;
    display: inline-block;
}
.item .content-intro-container .content-intro-text h1 {
    color: black;
    font-size: 24px;
}
.item .content-intro-container .img_header {
    width: 50%;
    display: inline-block;
}
.item .content-intro-container .img_header img {
    width: 100%;
    display: block;
}
.item .content-intro-container .content-intro-text.content-no-image {
    width: 100%;
}

.item .content-part {
   order: 3;
   width: 100%;
   background-color: #B66018;

}
.item .content-part:nth-of-type(even) {
    background-color: #E3781E;
}
.item .content-part.force-background {
    background-color: #E3781E;
}
.item .content-part-container {
    max-width: 1001px;
    margin: 0 auto;
    padding: 40px 20px;
}

.item .content-part-container h1{
   font-size: 21px;
}


img {
    max-width: 100%;
}
item h1, h2, h3, h4, h5, h6 {
    color: black;
    font-family: 'abel-regular', serif;
    text-transform: uppercase;
}

item a {
   color: #E9934A;
}

alternate {
    order: 5  ;
    max-width: 1001px;
    width: 100%;
    margin: auto;
    padding-bottom: 2em;
    padding-left: 20px;
    padding-right: 20px;
}
alternate a{
    color: #E9934A;
}
footer {
    order: 6;
    background-color:#E9934A;
    text-align: center;
    width: 100%;
    padding: 25px 50px;
}

footer .language {
    display: inline-block;
    margin-top: 10px;
    width: 33%;
    text-align: left;
}

footer .footer-links {
    display: inline-block;
    text-align: center;
    width: 33%;
}
footer .footer-links a {
    display: block;
    color: #FFFFFF;
}
footer .footer-social {
    display: inline-block;
    width: 33%;
    text-align: right;
}

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:%% site_style_liseret_color%%;
    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;
}

@media (max-width: 1001px) {
    .item .content-intro-container .content-intro-text{
       padding-left: 20px;
   }
    .topsite {
        width: 100%;
    }
    header {
        display: block;
        padding-left: 5px;
        padding-right: 30px;
    }
    .logo {
        padding-left: 20px;
    }
    .titres {
        float: right;
    }
    nav {
        width: 100%;
        text-align: left;
        padding-bottom: 20px;
    }
    .item-menu:last-child {
        margin-right: 0;
    }
    .item-menu:first-child {
        margin-left: 30px;
    }
    .item .content-intro-container{
       display: block;
    }
    .item .content-intro-container .content-intro-text {
       width: auto;
    }
    .item .content-intro-container .img_header {
        width: auto;
        display: block;
        text-align: center;
    }
    .item .content-intro-container .img_header img{
        width: auto;
        display: block;
        margin: 0 auto;
    }
}


@media (max-width:824px) {
    footer .language {
        display: block;
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }

    footer .footer-links {
        display: block;
        text-align: center;
        width: 100%;
    }
    footer .footer-social {
        display: block;
        width: 100%;
        text-align: center;
    }
}

.item {
    display: flex;
    flex-direction: column;
}
.item  .content-intro{
    order: 1;
}
article .item{
    max-width: 1001px;
}
.item  .article-new{
    order: 2;
}
article{
    order: 3;
    margin:auto;
}
.article-new > li .view-more{
   display: block;
   text-transform: uppercase;
   color: #%% site_header_background_color%%;
   padding-left: 10px;
   padding-top: 10px;
   font-size: 13px;
   font-weight: 900;
}

.infos-other {
    list-style: none;
    padding-left: 0;
}
.infos-other li{
    display: inline-block;
    width: 100%;
    border: 1px solid #E9934A;
    margin: 20px 0 20px 0;
    padding: 0 10px 0 10px;
}
.infos-other li > span{
    font-size: 1.5em;
}
.infos-other li .infos-image{
    float: left;
    max-width: 250px;
    padding-right: 10px;
    padding-bottom: 5px;
}
.infos-other li .infos-image img{
    max-height: 250px;
}
.infos-other li h2{
    display: block;
}
.infos-other li .view-more{
    display: block;
    padding: 4px;
    font-size: 2em;
    margin-top: 5px;
    font-weight: bold;
    color: #E9934A;
    text-decoration: underline;
}

ul.article-new {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.article-new > li {
    list-style-type: none;
    border: 1px solid lightgray;
    margin: 5px;
    padding: 5px;
    box-sizing: border-box;
}

.article-new > li img {
    max-width: 100%;
    height: auto;
    display: block;
}

.article-new > li h2,
.article-new > li p {
    display: block;
    margin: 5px;
}


.article-new > li.articles-1, .article-new > li.articles-2,.article-new > li.articles-3 {
    width: 100%;
    display: flex;
    flex-wrap:wrap;
}

.article-new > li.articles-1 .article-new-content {
    display: flex;
    width: 100%;
}
.article-new > li.articles-1 h2 a{
    font-size:1.5em;
}
.article-new > li.articles-1 p {
    font-size:1.4em;
}
.article-new > li.articles-2 h2 a{
    font-size:1.2em;
}
.article-new > li.articles-2 p {
    font-size:1.2em;
}

.article-new > li.articles-1 .text-content {
    width: 50%;
    padding-left: 10px;
}

.article-new > li.articles-2{
    flex: 1 0 calc(50% - 10px);
}

.article-new >  li.articles-3{
    flex: 1 0 calc(33.33% - 10px);
}

@media only screen and (max-width: 500px) {
    .article-new > li.articles-1 .article-new-content {
        display: block;
    }
    .article-new > li.articles-1 .article-content {
        flex-direction: column;
    }

    .article-new > li.articles-1 img,
    .article-new > li.articles-1 .text-content {
        width: 100%;
    }

    .article-new > li.articles-1 .text-content {
        padding-left: 0;
    }

    .article-new > li.articles-3 {
        width: calc(100% - 22px);
    }

    .article-new > li.articles-2 img {
        width: 100%;
    }
}
/*** BURGER MENU ***/
.burger-menu {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    border: none;
    font-size: 30px; /* taille du symbole burger */
    cursor: pointer;
}
.burger-menu, .close-menu {
    background: transparent;
    border: none;
    cursor: pointer;
}
.close-menu {
    font-style: italic; /* Mettre le texte en italique */
    position: absolute;
    bottom: 0;
    left: 0;
}

.burger-menu {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 30px;
}

.menu-links {
    position: absolute;
    top: 0;
    left: 0;
    background: #E9934A; /* Arrière-plan de couleur principale */
    border: 1px solid lightgray; /* Bordure d'une épaisseur de 1px de couleur lightgray */
    width: 100%;
    transition: all 0.3s ease;
}

.menu-links a {
    display: block; /* Assurez-vous que les liens sont visibles lorsque .menu-links est affiché */
}

.hidden {
    display: none;
}
