#divHeader
{
    background-image: url(/images/header3.jpg);
    background-repeat: no-repeat;
    background-size: cover; /* Couvre tout le div */
    background-position: right bottom; /* Garde le côté droit visible */

    display: flex; /* Utilise Flexbox pour le conteneur */
    justify-content: space-between; /* Distribue les éléments avec un espace entre eux */
    align-items: center; /* Centre les éléments verticalement */
    overflow: hidden;
    white-space: nowrap; /* Empêche le retour à la ligne des éléments */
}

#divHeader img {
    height: auto; /* Ajuste la hauteur automatiquement */
}

.logo-left {
    flex-shrink: 0; /* Empêche l'image de gauche de rétrécir */
    max-width: none; /* Assure que l'image ne se rétrécit pas */
    width: auto; /* Permet à l'image de conserver sa largeur naturelle */
}

.logo-right {
    flex-shrink: 1; /* Permet à l'image de droite de rétrécir si nécessaire */
    max-width: 100%; /* Assure que l'image de droite ne dépasse pas la largeur disponible */
}

@font-face {
    font-family: Aspekta;
    src: url("/css/Aspekta-250.otf") format("opentype");
}

@font-face {
    font-family: OpenSans;
    src: url("/css/OpenSans-VariableFont.ttf") format("opentype");
}

body{
    margin:0px;
    padding:0px;
    /* font-family: OpenSans, ui-sans-serif, system-ui, sans-serif; */
    font-family: "Roboto", sans-serif;
    font-style: normal;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('/images/bg3.jpg') no-repeat center center;
    background-attachment: fixed;
    background-size: cover;
}

a {
    color: #1a73e8; /* Couleur du texte des liens */
    text-decoration: none; /* Supprime le soulignement */
}

a:hover {
    color: #d93025; /* Couleur du texte au survol */
}

a:active {
    color: #e02020; /* Couleur du texte lorsque le lien est cliqué */
}

.content{
    padding:10px;
}

.thumbnail{
    max-width: 200px;
}

.divPost{
    margin-right:25px;
    margin-bottom:25px;
    padding-top:0px;
    padding-bottom:10px;
    padding-left:0px;
    padding-right:0px;
    /*border-radius: 7px;*/
    background-color: #fff;
    box-shadow: 3px 3px 3px #888;
    width: 400px;
}

.divPostPage{
    padding-top:0px;
    padding-bottom:10px;
    padding-left:0px;
    padding-right:0px;
    /*border-radius: 7px;*/
    background-color: #fff;
    box-shadow: 3px 3px 3px #888;
    max-width: 1000px;
}

.divPostPageFull{
    padding-top:0px;
    padding-bottom:10px;
    padding-left:0px;
    padding-right:0px;
    /*border-radius: 7px;*/
    background-color: #fff;
    box-shadow: 3px 3px 3px #888;    
}

.divPostSponsors{
    padding-top:0px;
    padding-bottom:10px;
    padding-left:0px;
    padding-right:0px;
    /*border-radius: 7px;*/
    background-color: #fff;
    box-shadow: 3px 3px 3px #888;
    width: 100%;
    position: sticky;
    top: 60px;
    right: 0px;
    z-index: 999;
}

.divPostTitle{
    padding:15px;
    font-size: 1.2em;   
    font-weight: bold;
    color: #532482;
}

.divImage{
    display: flex;
    padding-top:0px;
    padding-bottom:0px;
    padding-left:0px;
    padding-right:0px;
    margin:0px;
    background-color: #fff;
    justify-content: center;
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
}

.divPostContent{
    background-color: #fff;
    padding:15px;
    font-size: 1em;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.divPostFooter{
    padding-left:15px;
    padding-right:15px;
    padding-top:15px;
    padding-bottom:5px;
    align-items: right;
    text-align: right;
    font-size: 0.8em;
}

.iconAlign
{
    display: flex;
    align-items: center;
    text-align: center;
}

.postImage{
    max-width:100%;
    max-height: 1000px;
    height: auto;
    display: block;
}

.styled-quote {
    position: relative;
    padding: 20px;
    margin: 20px 0;
    color: #333;
    font-style: italic;
    border-left: 4px solid #007BFF; /* Barre verticale bleue */
    background-color: #f9f9f9;
}

.container {
    display: flex;
    flex-direction: column;
}

.content {
    flex: 0 1 auto;
    padding: 10px;
    order: 2;
}

.contentPosts{
    display: flex;    
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;    
    gap: 0px;    
    width: auto;
    margin: 0;
    padding: 0;
}

.sponsors {
    flex: 0 1 auto;
    padding: 10px;
    order: 1;
}

.carousel {
    width: 100%;
    max-height: 300px;
}

.carousel-tile {
    max-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.carousel-item {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-shrink: 1;
    max-width: 100%;
    gap: 10px;
}

.carousel-item img {
    margin: 0;
    width: auto;
    height: auto;
    object-fit: contain;
    max-width: 100%;
    max-height: 300px;
}

@media (min-width: 1400px) {
    .container {
        display: flex;
        flex-direction: row;        
    }

    .content {
        flex: 1 1 auto;
        order: 1;
    }

    .carousel {
        width: 300px;
        max-height: 3000px;
        height: auto;
    }

    .carousel-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
    }

    .carousel-item img {
        margin: 0;
        width: auto;
        height: 100%;
        max-width: 300px;
        max-height: 300px;
    }

    .divPostSponsors{
        padding-top:0px;
        padding-bottom:10px;
        padding-left:0px;
        padding-right:0px;
        /*border-radius: 7px;*/
        background-color: #fff;
        box-shadow: 3px 3px 3px #888;
        width: 330px;
        position: sticky;
        top: 60px;
        right: 0px;
        z-index: 999;
    }

    .sponsors {
        flex: 1 1;
        margin-left: auto;
        align-self: stretch;
        order: 2;
    }
}





/* Style du menu principal */
.menu {
    position: sticky;
    font-size: 1em;
    top: 0;
    box-shadow: 3px 3px 5px #888;
    z-index: 1000; /* Assurez-vous que le menu est au-dessus des autres éléments */
}

.menu > div > ul {
    display: flex;
    min-width: 250px;
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #532482;
}

.menu ul > li {
    position: relative;
    color: white;
    align-items: center;
}

.menu ul > li.align-right {
    margin-left: auto; /* Aligne l'élément à droite */
}

.menu ul > li > a {
    color: white;
    text-decoration: none;
    display: flex;
    padding: 10px 20px 10px 20px;
    white-space: nowrap;
}

.menu ul > li > a:hover {
    background-color: #feba29;
    color: #000000;
}

.menu ul li img {
    vertical-align: middle; /* Aligne l'image verticalement avec le texte */
    margin-right: 8px; /* Espace entre l'image et le texte */
}

.menu > div > ul li:last-child {
  border-right: none;
}

.active {  
  background-color: #feba29;
  color: #000000;
}

/* Style des sous-menus (niveau 1) */
.menu ul.submenu {
    background-color: #532482;
    color: #feba29;
    border: 1px solid #ccc;
    padding: 0;
    margin: 0;
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: auto;
    list-style: none;
    z-index: 1000;
}

.menu ul.submenu li {
    position: relative;
}

.menu ul.submenu li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    white-space: nowrap;
}

.menu ul.submenu li a:hover {
    background-color: #feba29;
    color: #000000;
}

/* Style des sous-sous-menus (niveau 2 et +) */
.menu ul.submenu-level-2,
.menu ul.submenu-level-3 {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: auto;
    background-color: #532482;
    color: #feba29;
    border: 1px solid #ccc;
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 1001;
    white-space: nowrap;
}

/* Affichage des sous-menus au survol */
.menu ul > li:hover > ul.submenu {
    display: block;
    min-width: auto;
}

.menu ul.submenu li:hover > ul.submenu-level-2 {
    display: block;
    min-width: auto;
}

.menu ul.submenu-level-2 li:hover > ul.submenu-level-3 {
    display: block;
    min-width: auto;
}




/* MENU */

.menu-container {
    display: flex;
    align-items: center;
    background-color: #532482;
    color: #ffffff;
}

.menu-text {
    display: none ;
    cursor: pointer ;
    font-size: 1.2em ;
    margin-left: 15px ;
}

.menu-icon {
    display: none ;
    flex-direction: column ;
    cursor: pointer ;
    padding-bottom: 6px ;
    padding-top: 6px ;
    padding-left: 6px ;
}

.menu-icon .bar {
    width: 40px;
    height: 6px;
    background-color:  #ffffff;
    border-radius: 4px;
    margin-top: 3px;
    margin-bottom: 3px;
    margin-left: 4px;
    margin-right: 4px;
}

.menu-mobile {
    display: none;
    flex-direction: column ;
    cursor: pointer ;
    padding-top: 10px ;
    padding-bottom: 10px ;
}

/* Responsive design */
@media (max-width: 1400px) 
{
    .menu {
        position: sticky ;
        font-size: 1em ;
        top: 0 ;
        box-shadow: 3px 3px 5px #888;
        z-index: 1000; /* Assurez-vous que le menu est au-dessus des autres éléments */
    }

    .menu-text {
        display: flex ;
    }

    .menu-icon {
        display: flex ;
        background-color: #532482 ;
        color: #ffffff ;
    }

    .menu-links {
        display: none ;
        flex-direction: column ;
    }

    .menu-mobile.swap {
        display: flex;
        width: 100%;
    }

    .menu-mobile li {
        width:100%;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .submenu-mobile, .submenu-mobile2, .submenu-mobile3 {
        display: none;
        width: 100%;
        padding-left: 20px;
    }

    /* Affiche uniquement les sous-menus avec la classe 'swap' */
    .dropdown-mobile.swap > .submenu-mobile {
        display: flex;
    }
    .dropdown-mobile2.swap > .submenu-mobile2 {
        display: flex;
    }
    .dropdown-mobile3.swap > .submenu-mobile3 {
        display: flex;
    }

    .submenu-mobile li, .submenu-mobile2 li, .submenu-mobile3 li {
        background-color: #cccccc;
        width: 100%;
    }

    .submenu-mobile li a, .submenu-mobile2 li a, .submenu-mobile3 li a {
        color: black;
        display: flex;
        width: 100%;
        box-sizing: border-box;
    }

    .dropdown-mobile {
        display: flex;
        flex-direction: column;
        width: 100%;
        text-align: left;
    }

    .dropdown-mobile2, .dropdown-mobile3 {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: left;
    }

    .dropdown-mobile > a, .dropdown-mobile3 > a, .dropdown-mobile3 > a {
        display: flex;
        align-items: center; /* Centre verticalement le contenu */
        justify-content: space-between; /* Aligne le texte à gauche et la flèche à droite */
        width: 100%;
        padding: 10px 15px;
        margin-left: 0; /* Supprime la marge à gauche */
        box-sizing: border-box;
    }


    .dropdown-mobile li, .dropdown-mobile2 li, .dropdown-mobile3 li {
        float: right;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .dropdown-mobile.swap .submenu-mobile, .dropdown-mobile2.swap .submenu-mobile2, .dropdown-mobile3.swap .submenu-mobile3 {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .menu-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
    }

    .arrow-menu {
        margin-left: auto; /* Aligne l'image à droite */
        margin-right: 30px;
    }
}

/*****************/
/* TOGGLE BUTTON */
/*****************/

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/*********************/
/* END TOGGLE BUTTON */
/*********************/