* {
	box-sizing: border-box;
}
.logo-inner{
	margin-bottom:-20px !important;
}

/* Masquer le bouton hamburger en desktop */
.menu-toggle {
  display: none;
}
.si-header-widgets .si-header-widget {
    display:none;
    height: 100%;
    max-height: 90px;
    position: absolute!important;
    top: 30px!important;
    right: 30px!important;
    padding-left: .5rem;
    padding-right: .5rem;
}
/*@media (max-width: 830px) {
    #sinatra-primary-nav.menu{
        flex-direction: column;
    }
    .site-navigation ul.menu {
        display: none;
        }
   
    .sinatra-is-mobile #sinatra-header-inner .sinatra-nav ul {
        position: fixed; 
        top: 30px;
        left: 30px;
        margin-top: 45px;
        max-height: 450px!important;
        width: auto;
        background-color: #f2f2f2;
        border-color: none;
        z-index: 1000;
    }
    .menu-toggle {
        display: block;
        background-color: #005a87;
        color: white;
        border: none;
        padding: 10px 15px;
        font-size: 1.5rem;
        cursor: pointer;
        border-radius: 4px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        transition: background-color 0.3s ease;
        z-index: 1001;
        position: fixed;     
        top: 30px;           
        left: 30px;          
    }

    .menu-toggle:hover, .menu-toggle:focus {
        background-color: #007bbf;
        outline: none;
    }

    .menu-toggle:active {
        background-color: #004a6e;
    }

    .site-navigation .menu ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #f2f2f2;
        padding: 10px 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .site-navigation.menu-open .menu {
        display: flex;
    }

    .site-navigation .menu li {
        list-style: none;
        border-bottom: 1px solid #ddd;
        color: #005a87;
        position: relative;
    }

    .site-navigation .menu > li > a {
        display: block;
        padding: 12px 20px;
        font-size: 16px;
        color: #005a87;
        text-decoration: none;
        font-weight: bold;
    }

    .site-navigation .menu > li > a:hover {
        background-color: #e0e0e0;
    }

    
    .site-navigation .menu li ul {
        display: none;
        padding-left: 20px;
    }

    .site-navigation .menu li:hover > ul {
        display: block;
    }

    .site-navigation .menu li ul li a {
        font-weight: normal;
        color: #333;
        background-color: #fafafa;
    }
}
*/
/*.si-mobile-nav {
	padding:7px 5px !important;
	background-color:white;
	border: solid 1px #a71820;
}

@media (max-width: 830px ){
#sinatra-header-inner > div > div.si-logo-container > div > div.sinatra-logo.si-header-element > div > a > img {
	width: 100px !important;
	height:100px ! important;
	margin: 0px auto 30px !important;

}
}
@media (max-width: 830px ){
	#sinatra-header-inner > div > div.si-logo-container > div > div.sinatra-logo.si-header-element {
		align-content:center;
}
	#sinatra-header-inner {
		background-size: 200px;
	}
	#sinatra-header {
	border-bottom: solid 4px #56283a;
}
	#masthead > div.page-header.si-has-page-title {
		border-top: solid 20px #a71820;
	}
}
@media (max-width: 480px){
	#sinatra-header-inner > div > div.si-logo-container > div > div.sinatra-logo.si-header-element > div > a > img {
	width: 80px !important;
	height:80px ! important;
	margin: 0px auto 30px !important;
	}*/
.menu-login-icon::before {
  content: "\f007"; /* Unicode de l'icône FontAwesome "user" */
  font-family: "Font Awesome 5 Free"; /* Ou "Font Awesome 6 Free" */
  font-weight: 900;
  margin-right: 5px;
}
.logo-inner{
		margin-top: 2px!important;
		margin-bottom: -28px!important
}

#post-123 > div > ul > li {
	margin-bottom: 0px;
}
#sinatra-copyright {
	height: 50px;
}
.si-flex-row {
	padding-top:4px!important;
	padding-bottom:0px!important;
}
#sinatra-header {
    background-image: url("/wp-content/uploads/2024/10/fond-banniere.webp");
    background-size: 20vw;
    background-repeat: repeat;
}
.sinatra-logo.si-header-element img{
    max-width: 150px;
    margin: 5px 5px 0px 5px;
}
.legende-liste-articles{
    color: var(--site-principal-color);
    padding-left: 20px;
    margin-bottom: 5px;
}
.page-header, #main #primary {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 10px;
    background-color: white;
}
body .si-header-container .si-nav-container {
    border-style: solid;
    border-top-width: 4px;
    border-bottom-width: 2px;
    border-color: #56283a;
}
.si-nav-container {
    color: white;
    background: var(--site-principal-color);
    margin-top: 10px;
}
ul.wp-block-latest-posts.wp-block-latest-posts__list{
    display: flex;
    flex-direction: column;;
    border-left: 3px solid var(--site-principal-color);
    padding-left: 15px;
    border-radius: 10px;
}
:root {
    /* couleurs principales */
    --bulle-arts-color: #069628;
    --bulle-musicale-color: #0D5A90;
    --bulle-danse-color: #7a0d90;
    --bulle-theatre-color: #90270d;
    --bulle-sciences-color: #906d0d;
    --site-principal-color: #8c0126;
    --current-bulle-color: var(--site-principal-color);
    --current-bulle-bg: #f5f5f5;
    --current-bulle-border: var(--site-principal-color);
    /* couleurs spécifiques */
    
}
.category-bulles-artistiques {
    --border-style: solid;
    --border-width: 4px;
    --border-style-full: var(--border-style) var(--border-width) var(--current-bulle-color);
}
.category-bulle-arts {
    --current-bulle-color: var(--bulle-arts-color);
    --current-bulle-bg: #a7faba;
    --current-bulle-bg-audio: #a5f6ac;
    --current-bulle-icone: url('/icones/palette.png')
}

.category-bulle-musicale {
    --current-bulle-color: var(--bulle-musicale-color);
    --current-bulle-bandeau-bg: #3185c2;
    --current-bulle-border: #3185c2;
    --current-bulle-bg-audio: #A5D4F6;
    --current-bulle-icone: url('/icones/musique.png')
}
.category-bulle-danse {
    --current-bulle-color: var(--bulle-danse-color);
    --current-bulle-bg: #efb1fc;
    --current-bulle-bg-audio: #e6a5f6;
}
.category-bulle-theatre {
    --current-bulle-color: var(--bulle-theatre-color);
    --current-bulle-bg: #fcbcac;
    --current-bulle-bg-audio: #f6a5a5;
}
.category-bulle-sciences {
    --current-bulle-color: var(--bulle-sciences-color);
    --current-bulle-bg: #fae7b2;
    --current-bulle-bg-audio: #f6d6a5;
}
.category-bulles-artistiques .post a, .post a {
    color: var(--current-bulle-color);
    font-weight: bold;
    text-decoration: underline;
}
.entry-content {
  transition: box-shadow 0.3s ease;
}
.entry-content:hover {
  box-shadow: 0 0 12px rgba(0,0,0,0.08);
}
.si-entry ul.menu-bulle-musicale {
    display: flex;
    list-style: none;
    padding-left: 0;
    margin-left: 20px;
}

.si-entry ul.menu-bulle-musicale > li {
    margin-bottom: 1em;
}

.si-entry ul.menu-bulle-musicale .articles {
    list-style: disc;
    padding-left: 20px;
    margin-top: 0.5em;
}
.structure-contenu.category-bulles-artistiques, .structure-contenu.category-bulle-musicale{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
}
.structure-contenu.category-bulles-artistiques .category-bulle-musicale{
    grid-column: 2;
    grid-row: 1 / span 99;
}
.category-bulles-artistiques h2.entry-title, #main .category-bulles-artistiques .entry-header .entry-title,  .wp-block-latest-posts__list .category-bulles-artistiques{
    position: relative; /* nécessaire pour ancrer le ::before */
    padding-left: 30px; /* espace pour l'image à gauche */
    line-height: 1; /* ou comme tu veux */
}
.category-bulles-artistiques h2.entry-title::before,  .wp-block-latest-posts__list .category-bulles-artistiques::before{
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%); /* centre verticalement */
    width: 20px;
    height: 20px;
    background-image: var(--current-bulle-icone);
    background-size: contain;
    background-repeat: no-repeat;
}
body.category-bulles-artistiques .si-entry a:hover, .si-entry a:hover {
    color: var(--current-bulle-titre);
}
.category-bulles-artistiques .entry-content h1, .entry-content h1 {
    font-size: 2rem;
    font-weight: normal;
    text-align: center;
    margin: 0 -15px;
    padding: 15px;
    color: white;
    background-color: var(--current-bulle-color);
}
.category-bulles-artistiques .entry-content h2, .entry-content h2 {
	font-style: italic;
	font-size: 1.4rem;
	color: var(--current-bulle-color);
	border-bottom: 1px solid var(--current-bulle-color);
	padding-left: 0px;
	margin: 20px 40px 15px 40px;
}
.category-bulles-artistiques .bloc-page-fille h3, .entry-content h3 {
  font-style: italic;
  font-size: 1.2rem;
  color: rgba(0, 0, 0, 0.7); /* ou un ton plus doux */
  border-left: 2px solid var(--current-bulle-color);
  padding-left: 8px;
  margin: 10px 50px;
}
.si-entry .bloc-page-fille ul {
  list-style: none;
  padding-left: 60px; /* aligné avec le margin du h3 */
  margin: 0 0 20px 0;
}

.bloc-page-fille ul li {
  margin: 6px 0;
}

.bloc-page-fille ul li a {
  text-decoration: none;
  color: var(--current-bulle-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.bloc-page-fille ul li a:hover {
  color: #000; /* ou une teinte plus foncée si `--current-bulle-color` est trop pâle */
}

.bloc-page-fille {
  animation: fadeIn 0.4s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.compositeur {
    color: rgb(114, 114, 114);
    font-style: italic;
    font-size: 1em;
}
.category-bulles-artistiques .entry-content {
    display: flex;
    flex-direction: column;
    max-width: 780px;
    margin: 10px auto;
    padding: 15px;
    border-radius: 10px;
    word-break:normal;
    line-height:1.2em;
    border: var(--border-style-full);
}

.entete-article {
    display: flex;
    height: 120px;
    padding: 0px 0px;
    margin: -15px -15px 0px -15px;
    gap: 20px;
    text-align: center;
    font-size: 1.2em;
    color: #e7f0f9;
    line-height: 1.2em;
    align-items: center;
    justify-content: center;
    background-color: var(--current-bulle-bandeau-bg);
    border-bottom: solid 6px var(--current-bulle-color);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.si-entry .fichiers-audios ul {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px;
}
.fichiers-audios li {
    display: flex;
    flex-direction: column;
    width: 140px;
    height:100px;
    list-style-type: none;
    margin: 20px;
    padding: 5px;
    border: solid 2px grey;
    border-radius: 5px;
}
span.libelle {
    display: block;
    text-align: center;
	margin-top: 5px;
}
.texte-en-image {
	display: flex;
    flex-direction: column;
    max-width: 100%;
}
.si-entry .texte-en-image ul {
    margin: 0px;
}
.texte-en-image li{
    border:solid 3px var(--current-bulle-border);
    border-radius: 10px;
    margin: 10px 0px;
    padding: 5px;
    list-style: none;
    max-height: 350px;
}
.texte-en-image li:hover, .fichiers-audios li:hover{
    background-color: var(--current-bulle-bg-audio);
}
.texte-en-image span {
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    max-width: 100%;;
    gap: 20px;
    text-align:center;
}
.texte-en-image span {
    flex: 0 1 auto;
    max-width: 100%;
    min-width: 0;
    height: auto;
    max-height: 150px; /* limite la hauteur pour garder une bonne proportion */
}
.texte-en-image span img {
    flex: 0 1 auto;
    max-width: 100%;
    min-width: 0;
    height: auto;
    max-height: 150px; /* limite la hauteur pour garder une bonne proportion */
}
.refrain{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}
/*********************************
texte destiné seulement aux enseignants
**********************************/
  
 fieldset.cadre-enseignant {
    max-width: 600px;
    border: 2px solid var(--current-bulle-color);
    border-radius: 8px;
    padding: 10px 10px;
    background-color: var(--current-bulle-bg); /* léger fond bleu */
    margin: 20px auto;
    text-align: left;
}
  fieldset.cadre-enseignant p{
	text-indent:0px;
    margin: 0px;
	color:var(--current-bulle-color);
    line-height: 1.4;
  }
  legend.legende-enseignant p {  	
 	margin-left: 20px;
    position: relative;
    top: -6px;
	color:var(--current-bulle-color);
	font-size:1em;
	font-weight: 700;
  }
/***************************************
            * Player Audio*
**************************************/
.player-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    background-color: var(--current-bulle-bg-audio);
    max-width: 340px;
    border: solid 2px var(--current-bulle-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.player {
    display: none;
}
.groupe-audio {
    display:flex;
    flex-direction: column;
    align-items: center;
    margin: 5px 0;
}
.play-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    outline: none;
}
.play-button svg {
    fill: #4a64fb;
    width: 25px;
    height: 25px;
    padding: 0px;
}
.progress {
    flex-grow: 1;
    cursor: pointer;
    min-width: 50px;
}
.volume-container {
    position: relative;
    display: flex;
    align-items: center;
}
.volume-button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.volume-button svg {
    width: 30px;
    height: 30px;
}
.volume-slider {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) rotate(-90deg);
    width: 120px;
    display: none;
}
.volume-container:hover .volume-slider {
    display: block;
}
.download-button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0px;
}
.download-button svg {
    width: 30px;
    height: 30px;
}
#canope {
    background-color: #b8f512;
    border: solid 2px grey;
    color: rgb(189, 114, 16);
}
#canope a {
color: rgba(19, 59, 221, 0.639);
}
.mode_emploi {
    border: dotted 4px grey;
    width: 600px;
    font-size: 1.1rem;
    padding: 10px;
    margin: 10px auto;
    border-radius: 8px;
    width: 90%;
}
.mode_emploi img {
    display: inline-block;
    vertical-align: middle;
}
.mode_emploi ol {
    padding-left: 20px;
}
.pas_a_pas {
    display: flex;
    flex-direction: column;
    /* border: solid 2px #4a64fb;
    border-radius: 20px;
    padding: 10px; */
    margin: 15px auto;
    /* background-color: rgb(247, 246, 244); */
    text-align: right;
    font-size: 1.2rem; 
}
.pas_a_pas li {
    list-style-type: none;
    margin-bottom: 3px;
    vertical-align: middle;
}
.pas_a_pas ul {
    display:flex;
    flex-direction: column;
    justify-content: center;
}
.pas_a_pas li.groupe {
    display:flex;
    justify-content: right;
    margin-bottom: 15px;
    margin-right: 2px;
}
.pas_a_pas li.groupe:last-of-type {
    margin-bottom: 0px;
}
.pas_a_pas li img {
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
}
.crochet {
    width: 12px;
    border-style: solid;
    border-width: 2px 2px 2px 0px;
    border-color: blueviolet;
    flex: 0 0 auto;
}
.pas_a_pas a {
    text-decoration: none;
}
.pas_a_pas ul a:first-child {
    color:rgb(163, 81, 136);
}
.pas_a_pas a:nth-child(2) {
    color:rgb(0, 110, 255);
}
.pas_a_pas a:nth-child(3) {
    color:rgb(10, 128, 29);
}
.pas_a_pas a:nth-child(4) {
    color:rgb(190, 119, 11);
}
.realisation {
    max-width: 1100px;
    font-size: 0.8rem;
    font-style: italic;
    text-align: right;
    margin: 10px 40px 20px 10px;
}
.structure {
    max-width: 90%;
    margin: 10px auto;
}
.structure .groupe ul li {
    display: flex;
    flex-wrap: wrap;
    border: solid 2px gray;
    border-radius: 8px;
    font-size: 0.8em;
}
.structure .groupe ul li figure {
    margin: 0px;
    padding: 0px 10px;
}
.structure figcaption {
    text-align: center;
}
.narration {
    /* background-color: rgb(212, 224, 241); */
    max-width: 50%;
    margin: 10px auto 10px 10%;
    text-align: left;
    font-style: normal;
    color: rgb(31, 118, 232);
    justify-content: left;
    border-left: solid 2px gray;
    border-radius: 8px;
    padding:10px;
    font-size: 1.2rem;
}
.chant {
    background-color: rgb(247, 246, 244);
    border: solid 2px grey;
    padding: 10px;
    margin: 10px auto;
    border-radius: 8px;
    width: 90%;
}
.chant span.personnages {
    text-align: left;
    font-style: normal;
}
.narration span.personnages {
    text-align: left;
    color: rgb(82, 82, 82);
    margin-left: 30px;
    text-decoration: underline;
}
.personnages {
    display: block;
    align-self: flex-start;
    font-size: 1.2rem;
    font-weight:lighter;
    text-align: right;
    text-decoration: underline;
}
.narrateur {
    font-style: italic;
    color: rgb(122, 124, 126);
}
.libre img {
    margin: 0 auto;
    border: 1px solid;
}
.partenaires {
    display: flex;
    width: 750px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 10px auto 0;
}
.partenaires li {
    width: 250px;
    height: 100px;
    flex: 0 1 auto;
}
#objet_tempo {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    margin: 5px auto;
    padding: 3px;
    width: 114px;
}
.bouton_moins, .bouton_plus {
    width: 20px;
    height: 20px;
    font-size: 15px;
    font-weight: bold;
    margin: 0 auto;
    padding: 0;
}
.si-entry p.titre_tempo {
    width: 100%;
    margin: 5px auto;
}
.si-entry p.valeur_tempo {
    width: 30%;
    margin: 0 auto;
}

.liste-sous-categorie {
    margin-bottom: 2em;
}

.liste-sous-categorie h2 {
    font-size: 1.5em;
    border-bottom: 2px solid #ccc;
    margin-bottom: 0.5em;
}

.liste-sous-categorie ul {
    list-style: none;
    padding-left: 0;
}

.liste-sous-categorie li {
    margin-bottom: 0.5em;
}
/* test menu bulle*/
.bandeau-bulle {
  background-color: var(--current-bulle-bg, #f0f0f0);
  border-bottom: 2px solid var(--current-bulle-color);
  padding: 10px 20px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.bandeau-bulle a {
  text-decoration: none;
  color: var(--current-bulle-color);
}
.bandeau-bulle a:hover {
  text-decoration: underline;
}

.menu-bulle {
  background-color: var(--current-bulle-bg);
  border-left: 3px solid var(--current-bulle-color);
  padding: 15px;
  margin: 20px 0;
  border-radius: 6px;
}
.menu-bulle ul {
  list-style: none;
  padding: 0;
}
.menu-bulle li {
  margin-bottom: 6px;
}
.menu-bulle a {
  text-decoration: none;
  color: var(--current-bulle-color);
  font-weight: 500;
}
.menu-bulle a:hover {
  color: black;
}

.info-cycle {
  margin: 10px 20px;
  font-size: 0.9rem;
  color: #444;
}