* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.material-symbols-sharp {
    font-family: 'Material Symbols Sharp';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.material-symbols-outlined, .mso{
    font-family: 'Material Symbols Outlined';
    font-weight: 300;
    font-style: normal;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
}
.material-symbols {
    font-family: 'Material Symbols';
    font-weight: 300;
    font-style: normal;
    display: inline-block;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    line-height: 1.2;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: 'liga';
    font-variation-settings:
            'FILL' 1,
            'wght' 300,
            'GRAD' 200,
            'opsz' 24;
    font-size: 24px;
}
.material-icons {
    font-family: 'Material Icons';
    font-weight: 300;
    font-style: normal;
    display: inline-block;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    line-height: 1.2;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: 'liga';
}

.material-icons,.material-symbols ,.material-symbols-outlined, .mso {
    vertical-align: middle;
    display: inline-flex;
}
@keyframes spinanimation {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

.material-symbols-outlined.rotating {
    animation-name: "spinanimation";
    animation-duration: 1s;
    animation-iteration-count: infinite;
    margin: auto;
    display: block;
}

body {
    background-color: var(--bg-color);
    overflow-y: scroll;
    font-family: var(--font);
    font-size:1.2em;
}
html, body {
    height: 100%;
}
a {
    color: var(--color-primary);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
#wrapper{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main{
    flex: 1;
}
h1,h2,h3,H4,h5,h6{
    font-family: var(--font);
    font-weight: 600;
    text-align:left;
    color:#434B52;
}
h1{
    margin-top:40px;
    font-size: 40px;
    line-height: 80px;
}
h2{
    font-size: 36px;
    line-height: 50px;
}
h3{
    font-size: 30px;
    line-height: 36px;
}
h4{
    font-size: 24px;
    line-height: 30px;
}
h5{
    font-size: 20px;
    line-height: 24px;
}
h6{
    font-size: 16px;
    line-height: 16px;
}

.h1{
    font-size: 40px !important;
    line-height: 80px !important;
}
.h2{
    font-size: 36px !important;
    line-height: 50px !important;
}
.h3{
    font-size: 30px !important;
    line-height: 40px !important;
}
.h4{
    font-size: 24px !important;
    line-height: 36px !important;
}
.h5{
    font-size: 20px !important;
    line-height: 30px !important;
}
.h6{
    font-size: 16px !important;
    line-height: 20px !important;
}
h1 img{
    vertical-align:baseline;
    margin-right:20px;
}

ul{
    margin:0;
    padding:0;
}
li{
    list-style-position:inside;
}
p{
    font-family: var(--font);
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    color:#434B52;
}
.round{
    aspect-ratio: 1 !important;
    border-radius: 50% !important;
}
button.btn, a.btn{
    font-family: var(--font);
    margin-right:5px;
}
.padding{
    padding:1.5rem;
}

input.form-control,.form-control{
    color:var(--color);
}
input.form-control:focus,.form-control:focus{
    color:var(--color-primary);
}
input::placeholder, textarea::placeholder{
    color:#999 !important;
    font-size:.8em;
}

.form-select{
    color: var(--bs-color) !important;
}

.main-head{
    height: 150px;
    background: #FFF;
}

.sidenav {
    height: 100%;
    background-color: #000;
    overflow-x: hidden;
    padding-top: 20px;
}


.main {
    padding: 0px 10px;
}

/**************************************************** UTIL ****************************************************/
span.dev, div.dev{
    color: var(--bs-info);
    font-weight: bold;
    border:1px solid var(--bs-info);
    font-size:10px;
    padding:2px;
    border-radius: 3px;
    margin-top:10px;
}
/* Masquer les éléments de debug par défaut */
.dev {
    display: none;
}

/* Classe pour afficher les éléments de debug */
.dev-visible .dev {
    display: inline-block;
}

.text-bg-info{
    background-color: var(--bs-info);
    color:#ffffff;
    padding: 2px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
}

.border{
    border:1px solid #dddddd;
    border-radius: 3px;
}

.shadow{
    box-shadow: 0px 2px 30px 0px rgba(103, 103, 103, 0.25);
}

.spacer{
    margin-right:2em;
}

.dashed-circle{
    outline: 1px dashed #000;
    outline-offset: 5px;
    border: 1px solid #000;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    line-height: 30px;
    aspect-ratio: 1;
    width:30px;
    height:30px;
    margin-right:.5em;
}

.dashed-circle.smaller{
    outline-offset: 3px;
    width:16px;
    height:16px;
    line-height: 16px;
    font-size:12px;
}

.circle{
    width:40px;
    height:40px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    line-height: 40px;
    aspect-ratio: 1;
    font-size: 24px;
}

.orange{
    background: var(--color-primary);
    color:#ffffff;
}

.blue{
    background: var(--color-secondary);
    color:#ffffff;
}

.red{
    background: var(--bs-danger);
    color:#ffffff;
}

.lines{
    display: table;
    white-space: nowrap;
    text-align: center;
    margin-top:1em;
    margin-bottom:1em;
    color:#434b52;
}
.lines:after,.lines:before {
    content: "";
    display: table-cell;
    width: 50%;
    background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=) repeat-x left center;
    z-index:-1;
    position:relative;
}
.lines:after{
    left:20px;
}
.lines:before{
    right:20px;
}
.check{
    color:#fff;
    text-align:center;
    font-weight:bold;
    max-width:36px;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
}

.orange-border{
    border-left: 1px solid #f0ad4e;
    padding-left:2em;
}

.orange-text{
    color:var(--color-primary);
    margin-bottom: .5em;
    padding-top:10px;
}
.blue-text{
    color:var(--color-secondary);
}
.red-text{
    color:var(--bs-danger);
}
.size16{
    font-size:1.1em;
}

.hrgray{
    border-color: #ddd;
}

input[type=checkbox]
{
    transform: scale(1.5);
    accent-color: var(--color-primary);
    color:#fff;
}
.padding-24{
    padding: 0 24px !important;
}
.digit{
    font-weight:bold;
    font-family: "overpass-mono-bold", monospace, serif;
}
/**************************************************** responsive ****************************************************/
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
}

@media screen and (min-width: 768px){
    .main{

    }

    .register-form{
        margin-top: 20%;
    }
}
/**************************************************** MENU  ****************************************************/
#menu-container{
    margin-left:0;padding-left:0;padding-top:0;width:calc(200px + 1.5em);
}
#menu{
    width:200px; margin-right:1.5em;min-height: 100vh; position:fixed;
    text-align: center;
    padding:1.5em;
    color:#ffffff;
}

#menu .menu{
    color:#ffffff;
    line-height:1em;
    text-decoration: none;
    margin-bottom:1em;
    display: block;
    padding:5px;
    border-radius:5px;
}
#menu .menu .material-symbols-outlined{
    font-size:3em;
}
#menu .menu-text-entry{
    font-size:1em;
    display: block;
}
#menu .menu:hover{
    color: var(--color-primary);
    text-decoration: none;
    background:#fff;
}

#menu .menu.active .menu-text-entry:after{
    color: var(--bs-white);
    content: "⏵";
    position: absolute;
    right:0;
    font-size:1.2em;
}

#menu hr{
    color: #ffffff;
}
/**************************************************** SEARCH ****************************************************/
#backFromSearch{
    border:none;
    border-radius: 50%;
    font-size:2em;
}
/**************************************************** LOGIN ****************************************************/

.login-form{
    padding:2em;
    margin:2em;
}

.login-main-text{

}

.login-main-text h2{
    font-weight: 300;
}

.btn-black{
    background-color: #000 !important;
    color: #fff;
}
/**************************************************** Header ****************************************************/
.organisation-header{
    margin-bottom:1em;
}

.organisation-header h1{
    margin-bottom:0;
    line-height:1;
}

.header-logo{
    max-height: 1.4em;
}

.admin-access{
    margin-top:1em;
}
.header-hr{
    margin-top:2em;
    border-color: #ccc;
    border-width:1px;
}
/**************************************************** THEMES AND ACTIVITIES STYLES ****************************************************/

.learning-path,.theme{
    padding:1em;
}

.learning-path-title,.theme-title{
    margin-left:5px;
}

.learning-path a, .theme a {
    display:block;
    border-radius : 1em;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.learning-path-legend, .theme-legend{
    background-color: #ffffff;
    position:absolute;
    bottom:0;
    width:100%;
    padding:1em;
    border-top: 4px solid var(--color-primary);
    text-align: center;
    transition: all .3s ease-out;
}

.learning-path-legend h2, .theme-legend h2{
    text-align: center;
}

.learning-path-legend h2, .theme-legend h2, .activity-legend h2{
    font-size: 1.5em;
    line-height: 1.1 !important;
    min-height: 3.3em;
    font-weight:bold;

}

.learning-path a .description, .theme a .description{
    color: var(--bs-body-color);
    max-height:0;
    transition: all .3s ease-out;
    overflow : auto;
}

.learning-path a:hover, .theme a:hover .theme-legend{
    border-top: 8px solid var(--color-primary);
}

.learning-path a:hover .description, .theme a:hover .description{
    height:auto;
    max-height:5em;
}

.learning-path a:hover h2, .theme a:hover h2{
    color: var(--color-primary);
    text-decoration: none;
}

.activity{
    padding:1em;
    padding-top:0;
}

.activity-content {
    display:block;
    border-radius : 1em;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.activity-content h2{
    padding:0;
    margin-top:0;
}

#activity .activity-content{
    background-color: #f9f9f9;
    padding:1em;
}

.activity-visual{
    background-size: cover;
    background-position: center;
    max-width:220px;
}

.activity-legend{
    background-color: #ffffff;
    position:relative;
    padding:2em  1em 2em 1em;
    height:100%;
    margin-bottom:2em;
}

.activity-legend hr{
    border-color: #ccc;
    border-width:1px;
    display:block;

}

.activity-link{
    /*position:absolute;
    bottom:2em;
    */

    margin-top:2em;
}
.activity-links{
    position:absolute;
    bottom:1.2em;

}
.activity-links a{
    margin-right:1em;
}
/*************************************************** BreadCrump ***************************************************/
.breadcrumb{
    display: flex;
    align-items: center;
    margin-top:1em;
    margin-bottom:1em;
    color:#999999;
    padding:0;
    margin-left:5px;

    button{
        margin-right:1em;
    }

    a span.material-symbols{
        font-feature-settings: 'liga';
        font-variation-settings: 'FILL' 1, 'wght' 700, 'GRAD' 200, 'opsz' 48;
        font-size:1em;
    }

    i.spacer{
        margin-right:1em;
        font-style: normal;
        padding-top:8px;
        padding-bottom:8px;
        font-size:1em;
    }

    a{
        color: var(--color-primary);
        text-decoration: none;
        margin-right:1em;
        color:#999999;
    }

    .breadcrumb-padding{
        padding-top:8px;
        padding-bottom:8px;
    }

    .round-number{
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: var(--color-secondary);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5em;
        z-index:2;
        border:4px solid white;
        margin-right:1em;
    }

}



/*************************************************** playground ***************************************************/
#playground{
}
/*************************************************** ACTIVITY DETAILS ***************************************************/

.activity-block {
    padding:1em;

    border-radius: 48px 8px 48px 8px;
    padding:24px;
    padding-left:48px;
    padding-right:48px;
    background-color:var(--bg-color);
    color:var(--color);
}
.activity-block h2{
    color:var(--color);
    line-height:36px;
    display:flex;
}

h2.h3 .btn-default-outlined {
    background: transparent;
    color: #333;
    border-color: #333;
}

#backToActivity{
    margin-right:15px;
}

.sub-activity-pagination{
    background: #ffffff;
    border: 1px solid #bbb;
    color:#bbb;

    margin-top:10px;

    padding:3px;
    font-size:20px;
    text-align:center;
    border-radius: 100%;
    width: 25px;
    aspect-ratio:1;
    display:inline-block;

    leading-trim: both;

    text-edge: cap;
    font-family: Outfit;
    font-size: 18.667px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px; /* 85.714% */
    height:25px;
    margin-right:8px;
}

.btn.bbtn{
    aspect-ratio: 1;
    width:40px;
    height:40px;
}

.sub-activity-pagination.visited{
    background: #bbb;
    border: 1px solid #bbb;
    color: #FFF;
}

.sub-activity-pagination.active{
    background: var(--color-primary);
    border: 1px solid var(--color-primary);
    color: #FFF;
}

.activity-image-container{
    padding: 0;
    padding-left: 36px;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
    overflow: hidden;
}

.activity-image-container img{
    max-height:100%;
    max-width:100%;
    display:block;
    margin:0;
    padding:0;
    min-height:250px;
    aspect-ratio: 1;
    background-position: center;
}

.activity-image{
    min-width:100%;
    background-size: cover;
    background-position: center;
    height: 100%;
    border-radius: 4px 16px;
    background: lightgray 50% / cover no-repeat;
}

.fixed-width-272{
    width:272px !important;
}

.component-miniblock{
    margin-top:.5em;
    margin-bottom:.5em;
}

.component-miniblock .label{
    font-weight: bold;
    color:var(--color);
    border-radius: 2px 8px 2px 8px;
    /*background: var(--color-primary);*/
    min-width: 150px;
    text-align:center;
    display:inline-block;
    margin-right:20px;
    padding-top:5px;
    padding-bottom:5px;
    padding-right:10px;
    padding-left:10px;
    font-size:1em !important;
}

#top-miniblock .component-miniblock .label{
    color:#ffffff !important;
}

.component-miniblock .label.outlined, #top-miniblock .label.outlined{
    background: transparent;
    border: 1px solid var(--color-primary);
    border-bottom-width: 3px;
    color: var(--color);
}

.component-miniblock .label.activity-miniblock-option{
    background-color:transparent !important;
}

.sub-activity-block{
    border-radius:8px;
    background-color:var(--bg-color);
    color:var(--color);
    padding:24px;
    margin:1em;
    margin-left:59px;
    margin-right:59px;
    padding-left:60px;
    transition: opacity 0.5s ease-in-out;
}

/* Style pour l'écran intermédiaire des sous-activités (#243) */
.sub-activity-block.sub-activity-dimmed {
    opacity: 0.2;
    pointer-events: none;
}

.sub-activity-block:not(.sub-activity-dimmed) {
    opacity: 1;
    pointer-events: auto;
}

.sub-activity-block h3{
    color:var(--color);
}

.sub-activity-block h3 span.rounded{
    border:1px solid var(--color-primary);
    border-radius: 50% !important;
    padding: 5px;
    color: var(--color-primary);
    width: 40px;
    height:40px;
    aspect-ratio:1;
    display:inline-block;
    text-align:center;
    margin-right: 10px;
}


.activity-label{
    text-decoration: underline;
}

.activity-goal{
    color:var(--color-secondary);
    font-weight:bold;
    margin-bottom: 1em;
    line-height: 1;
}

.activity-goal .material-symbols-outlined, .activity-goal .material-icons,.activity-knowHow .material-symbols-outlined, .activity-knowHow .material-icons{
    color: #ffffff;
    border-radius:50%;
    padding: 3px;
    padding-left: 5px;
    padding-right: 5px;
    font-size:1em;
}

.activity-goal .material-symbols-outlined, .activity-goal .material-icons{
    background: var(--color-secondary);
}

.activity-knowHow{
    color:var(--color-primary);
    font-weight:bold;
    margin-bottom: 1em;
    line-height: 1;
}

.activity-knowHow .material-symbols-outlined, .activity-knowHow .material-icons{
    /*background: var(--color-primary);*/
}

.activity-goal, .activity-knowHow{
    font-size:1.1em;
}

.activity-reading-time{
    color:var(--color-complementary);
    font-weight:200;
}

.playerbutton.active{
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color:#ffffff;
}

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

#top-miniblock .component-miniblock .label.outlined div{
    font-weight:200;
    color:#142136 !important;
}

.activity-arrow{
    color:var(--color-primary);
    font-size:1.5em;
    font-weight:bold;
    display:inline-block;
    margin:auto;
    transform: rotate(90deg);
}

#subactivity-menu{
    position:fixed;
    border-left : solid #586681 36px;
    border-radius:10px;
    padding-left:1em;
    color : #586681;
    margin-left:24px;
    transition: all .5s ease-out;
    margin-top: 2em;
    background-color:#ffffff;
    z-index:100;

}

#subactivity-menu-button{
    position:absolute;
    left:-56px;
    top:calc(50% - 18px);
    border:none;
    background : none   ;
    cursor:pointer;
    transition: all .5s ease-out;
}

#subactivity-menu-button:hover{
    scale: 1.2;
}

#subactivity-menu-button.folded{
    rotate:540deg;
}

#subactivity-menu-ico{
    border:2px solid #fff;
    line-height: 36px;
}

#subactivity-menu-content{
    width:auto;
    transition: all .5s ease-out;
    overflow:hidden;
}

#subactivity-menu-content.folded{
    width:0;
}

#subactivity-menu .menuTitle{
    color : #586681;
    font-weight:bold;
    margin-bottom:1em;
    display: block;
    line-height: 1;
    padding-top:5px;
}

#subactivity-menu  a{
    color : #586681;
    text-decoration: none;
}

#subactivity-menu ul{
    padding-left:0;
}

#subactivity-menu li{
    list-style-type: none;
    margin-bottom:.2em;
    text-align: left;
}
#subactivity-menu li button{
    text-align:left;
}

.res-doc{
    padding-left:2em;
}

.jumpToSubActivitySection .dashed-circle{
    outline:none;
}
.jumpToSubActivitySection.visited .dashed-circle{
    background-color: var(--color-primary);
    color:#ffffff;
    border: 1px solid var(--color-primary);
}
.jumpToSubActivitySection.visited.active .dashed-circle{
    outline: 1px dashed #000;
    border: 1px solid #000;
    color:inherit;
    background-color:#ffffff;
}

.anchor{

}

.jumpToSubActivitySection{
    border:none;
    background:none;
}

#subactivity-content{
    position:relative;
    transition: all .5s ease-out;
    padding-top:2em;
}

.subactivity-section{
    width:100%;
    position:absolute;
    left:-200%;
    transition: left .5s ease-out;
    transition: opacity 1s ease-in;
    opacity: 0;
    display:none;
}

.subactivity-section.active{
    left:0;
    top:0;
    position:static;
    opacity:1;
    display:block;
}

.subactivity-section h3{
    margin-bottom:2em;
}

#downarrow{
    margin:auto;
    color:  var(--color-primary);
    font-size: 3em;
    margin-top:1.5em;
}

#subactivity-nav-placeholder{
    text-align: center;
}

.om-line{
    font-weight:bold;  line-height:1;
}

.op-title{
    font-weight:bold;
    font-size: 16px;
}

.om-options{
    margin-top:1em;
    margin-left:20px;
    padding-left:16px;
    padding-right:16px;
    background-color: #f9f9f9;
    padding-top:.5em;
    padding-bottom:.5em;
}

.om-headers span{
    background-color:#ddd;
    color:#fff;
    cursor: pointer;
}
.om-todo{

    font-weight:600 !important;
}
.om-purpose{
    font-weight:300 !important;
    font-family: 'Nunito-light' !important;
}

.om-todo, .om-purpose{
    line-height:1;
}
.op{
    display:none;
}
.component-value{
    line-height:1;
}

.checkorange{
    height:76px;
    line-height:1.5;
    padding-top:5px;
}

.gradient{
    background: rgb(255,146,0);
    background: var(--gradient);
}
.check-progression{
    background: var(--color-primary);
    color:#ffffff;
    padding: 5px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    margin-top: 5px;
    display: inline-block;
}
/********************************************* Mode opératoire *********************************************/
.operating-mode-block{
    padding:1em;
    margin-bottom:1em;
    margin-left:59px;
    border-radius:8px;
    padding:24px;
    padding-left:60px;
    padding-right:48px;
    background-color:var(--bg-color);
    color:var(--color);
}
.operating-mode-block h4{
    color:var(--color);
}
.js-stack-cards__item{
    opacity: .3;
}
.js-stack-cards__item.behind,.js-stack-cards__item:nth-child(1){
    opacity: 1;
}

.stack-cards{
    min-height:100px;
}

.ui-state-highlight{
    background-color: #f9f9f9;
    border: 4px dashed var(--error-color);
    color: #333;
    padding: 0.5em;
    margin-top: 20px;
    margin-bottom: 20px;
    height: 100px;
}


/********************************************* Print *********************************************/
#print{

}
#print .dashed{
    border: 4px dashed var(--color-primary);
    margin-bottom:2em;
    padding:1em;
}
#print .dashed.disabled{
    border: 4px dashed #aaa;
    margin-bottom:2em;
    padding:1em;
}

#print .dashed .ico{
    max-width:4em;
}
#print .dashed .ico span{
    font-size:3em;
}

#print .theme label{
    border-radius : 1em;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    min-width:100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#print label .theme-legend{
    width:80%;
    margin:auto;
    border-radius:10px;
    position:static;
    opacity:.9;
    bottom:0;
}

#print label .theme-legend h3.h4{
    font-size:1.2em !important;
    text-align:center;
    line-height: 1.2 !important;
}

#print .themetoprint{
    scale:1.2;
    margin-right:.3em;
}

footer{
    text-align:right;
    font-size:1.2em;
    position: sticky;
    top: 100%;
    padding:1em;
    margin-top:2em;
}

@media (prefers-color-scheme: light) {
    footer {
        color:  #142136;
        background-color:#ffffff;
    }
}
/* Mode sombre désactivé - Mode clair forcé */
/* @media (prefers-color-scheme: dark) {
    footer {
        color: #ffffff;
        background-color: #142136;
        border-top:1px solid #344560 !important;
    }
} */

/********************************************* Activity admin *********************************************/

.add-component{
    border:none;
}


/*********************************************** Bouton interrupteur *****************************************/
.switch,.toggle-wrapper ,.switch-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f9fb;
    float:right;

    --toggle-size: 24px;

    &.small{
        --toggle-size: 10px;
    }
    &.large{
        --toggle-size: 40px;
    }

    >.toggle-button ,>.switch-button,>div{
        position: relative;
        width: calc(var(--toggle-size) * 2 );
        height: calc(var(--toggle-size));
        border-radius:var(--toggle-size);
        background: #ccc;
        cursor: pointer;
        transition: all 0.3s ease;
    
        &::before{
            content: '';
            position: absolute;
            top: 1px;
            left: 1px;
            width: calc(var(--toggle-size) - 2px);
            height: calc(var(--toggle-size) - 2px);
            background: white;
            border-radius: 50%;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease-in-out;
        }
        &.active{
            background: var(--color-primary);
            &::before {
                transform: translateX(var(--toggle-size));
            }
        }
    }
}


.centered-span {
    display: flex; /* ou grid */
    justify-content: center;
    align-items: center;

    font-size: 5em;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.theme-admin,.add-theme{
    opacity: .5;
    position: relative;
    cursor:pointer;

}
.theme-admin:hover, .add-theme:hover{
    opacity: 1;
}

/* Issue #340: Réduire le padding du logo dans la navbar */
.navbar-brand {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}