/*** les couleurs
texte et titres : var(--bs-gray-900) ou var(--bs-primary)
Titre 1 et liens - c'est aussi bs-secondary : var(--bs-gray-600)
pave gris et pied de page : var(--bs-gray-200) ou class bg-light ou var(--bs-light)
gris foncé (couleur des boutons radio) : var(--bs-gray-800) ou var(--bs-dark)
 ***/
:root {
    --beige-moyen: rgb(219,213,205);
    --vert-moyen: rgb(140,155,147);
    --bleu-moyen: rgb(121,145,163);
    --rose-fonce: rgb(166,102,89);
    --orange-moyen: rgb(201,134,118);
    --jaune-moyen: rgb(206, 185, 100);
    --beige-fonce: rgb(184,173,156);
    --gris-fonce: rgb(105,104,101);
}

/** Pour faciliter les calculs de taille de police en rem: on initialise la taille "de base" à 10px = 1rem **/
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body:not(.ck-content) {
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: space-between;
}

.main-section>.header{
    background: var(--bs-gray-200);
    padding: 2rem 0;
}

/*************************************************************************/
/**                    responsive : MOBILE FIRST                        **/
/*************************************************************************/

/* X-Small devices (portrait phones, less than 576px / 36em)
 No media query for `xs` since this is the default in Bootstrap */

/**** generalites ****/
thead {
    border-bottom: 1px solid var(--bs-secondary);
    font-family: "League Spartan";
}
th[scope="col"] {
    white-space: nowrap;
}
th[scope="row"] {
    font-family: league spartan;
}
caption {
    font-family: "League Spartan";
    text-align: center;
    color: var(--bs-secondary);
    padding: 1rem 0;
}
h2, .h2 {
    margin-bottom: 2rem;
    margin-top: 2rem;
}
h4, .h4 {
    margin: 3rem 0 1rem 0;
    text-transform: uppercase;
    font-weight: 200;
}
h3, .h3 {
    font-weight: 200;
    margin-bottom: 2rem;
    margin-top: 2rem;
}
img{
    max-width: 100%;
    height: auto;
}
.ce-bodytext p, .ce-bodytext li {
    line-height: 1.8;
}
ul.ce-row{
    padding: 0;
    list-style: none;
}

a, a:before, a:after,
button, button:before, button:after,
svg, svg path,
.menu-image *,
a p:before, a p:after,
.btn {
    transition: all ease-out 500ms;
}
a img {
    transition: transform .7s;
}
a img:hover, a img:focus, a:hover img {
    transform: scale(1.1);
}

#main{
    margin-top: 6rem;
}

.btn:focus-visible {
    box-shadow: 0 0 0 .25rem rgba(12,11,12,.25);
}

#button-menu{
    border:1px solid var(--beige-moyen);
    border-radius: 50%;
    width: 7rem;
    height: 7rem;
}

#button-menu span{
    display: block;
    font-family: "League Spartan";
}


/*** Le menu "top" ***/
#user-block p {
    margin: 0;
    color: var(--bs-secondary);
}
#user-block p:after {
    display: inline-block;
    width: .7rem;
    height: 2px;
    background-color: var(--bs-secondary);
    margin-left: 1rem;
    vertical-align: middle;
    content: "";
}
#username {
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    padding-right: 0;
    padding-left: 0;
    margin-left: 1rem;
    font-weight: 600;
}

#dropdown-lang-navigation {
    font-family: "League Spartan";
    font-weight: 500;
    margin-left: 1rem;
    margin-bottom: 0;
}
#dropdown-lang-navigation button {
    text-transform: uppercase;
    font-size: 1.8rem;
    font-weight: 500;
    border: 1px solid var(--bs-gray-500);
    padding: .8rem .5rem;
    border-radius: .7rem;
}
#dropdown-lang-navigation ul {
    font-size: 2rem;
    padding-inline: 1.5rem;
    margin-inline-start: -2.5rem;
    padding-block-end: 2rem;
}

#btn-search svg path {
    fill: var(--bs-secondary);
}
#btn-search {
    background-color: var(--bs-white);
}
#btn-search:hover, #btn-search:focus {
    background: var(--bs-light);
    border-radius: 100%;
}
#btn-search:hover svg path, #btn-search:focus svg path {
    fill: var(--bs-primary);
}
#searchform {
    position: absolute;
    z-index: 10;
}

.dropdown-menu {
    border: none;
}

.dropdown-toggle::after {
    content: "";
    display: inline-block;
    width: .6em;
    height: .6em;
    margin-right: .2em;
    margin-bottom: .4rem;
    border-top: none;
    border-left: none;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    vertical-align: initial;
}
/*** Fin menu "top" ***/

/*** Le menu principal ***/
.nav-item {
    flex: 1 1 100%;
    margin: 0 1.5rem;
}

#fenetre-menu-principal .modal-header {
    border-bottom: none;
}

.main-navigation a {
    border-bottom: none;
    color: var(--bs-primary);
}

.main-navigation .level-1 a {
    font-family: "League Spartan";
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--bs-secondary);
    text-decoration: none;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .level-1 .active a,
.main-navigation .level-1 .current a {
    color: var(--bs-dark);
}

.main-navigation .nav-item .nav-link {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 0 none !important;
    padding: .6rem 0;
    letter-spacing:0.15rem;
    text-align: center;
    text-decoration: none;
}
#main-navigation-modal .nav-item .nav-link {
    min-height: 8rem;
    margin-top: -3rem;
}

.main-navigation .nav-link:after {
    content: "";
    display: block;
    width: 0;
    height: 5px;
    background-color: var(--rose-fonce);
    border-radius: 0;
    border: 0 none;
    padding: 0;
    margin-top: 1rem;
    transition: width 0.3s ease;
}
.main-navigation .nav-link:hover::after,
.main-navigation .nav-link:focus::after,
.main-navigation .nav-link[aria-current="page"]::after,
.main-navigation li.active .nav-link:after,
#main-navigation-modal .nav-link:after {
    width: 100%;
}

/* 2e nav-item */
.main-navigation .nav-item:nth-child(2) .nav-link:after {
    background-color: var(--beige-moyen);
}

/* 3e nav-item */
.main-navigation .nav-item:nth-child(3) .nav-link:after {
    background-color: var(--vert-moyen);
}

/* 4e nav-item */
.main-navigation .nav-item:nth-child(4) .nav-link:after {
    background-color: var(--bleu-moyen);
}

/* 5e nav-item */
.main-navigation .nav-item:nth-child(5) .nav-link:after {
    background-color: var(--gris-fonce);
}

.level-1 li {
    padding: .5rem 0;
}

#list-hub{
    list-style: none;
    padding: 0;
    display: grid;
    grid-auto-flow: row;      /* empilement vertical */
    grid-auto-rows: max-content;
    justify-items: stretch;  /* même largeur */
    width: max-content;   
}

#list-hub a{
    font-weight: bold;
    font-family: "League Spartan";
    width: 100%;
    margin-bottom: 1rem;
}

#list-hub a:is(:hover,:focus) {
    color: var(--bs-dark);
}

/*** fin menu ***/

blockquote {
    margin-left: 2rem;
    padding: 2rem 0 1rem 10.5rem;
    border-left: 1px solid var(--bs-light);
    position: relative;
}
blockquote:before {
    content: "";
    display: block;
    width: 7rem;
    height: 7rem;
    position: absolute;
    top: .5rem;
    left: 2rem;
    background: url("../Images/SVG/picto-blockquote.svg") no-repeat top left/100%;
    transform: rotate(180deg);
}

#main ul li,
#main ol li {
    margin-bottom: 0.5rem;
}

/*** gestion des images dans les tt_content****/
.ce-intext {
    align-items: center;
}
.frame-type-textmedia .ce-intext .ce-gallery {
    float:none !important;
}
.frame-type-textmedia .ce-intext > div {
    width: 100%;
}
.frame-type-textmedia .ce-intext.ce-left .ce-gallery, .frame-type-textmedia .ce-intext.ce-right .ce-gallery {
    margin: 0 0 3rem 0;
}

/** Si on met vidéo dans un text & média, il la faut positionner à gauche, et une seule colonne **/
.ce-left .ce-gallery[data-ce-columns="1"] {
    float: none;;
}
.ce-left .ce-gallery[data-ce-columns="1"] .ce-column {
    width: 100%;
    float: none;
}

/*** les classes spécifiques et rte - on reste dans les généralités ****/
.relative {position: relative;}

.frame-aplat {
    background: #cdc6be;
    padding: 2rem;
    width: 60%;
    margin: 2rem auto;
}
.frame-siblings h3{
    border-top: 1px solid var(--bs-gray-500);
    padding: 3rem 0 0 0;
}
.frame-siblings ul.nohub a.more {
	text-transform: unset;
	padding:0;
    font-weight: 400;
}

.frame-aplat h2,
.frame-aplat h3,
.frame-aplat h4 {
    color: #fff;
}
.ce-gallery figcaption, .frame-layout-multicarousel figcaption {
    font-family: "League Spartan";
    text-align:center;
    color: var(--bs-secondary);
    padding:.5rem 0;
    line-height: 1.2;
}
.frame-pano .ce-gallery figcaption {
    text-align: left;
}
.download {
    font-weight: 600;
    text-decoration:none;
    border: none;
    display: inline-block;
    padding: 1.5rem 3rem;
    background: url("../Images/SVG/picto-telecharger.svg") no-repeat center left/25px;
}
.carte {
    font-weight: 600;
    border: none;
    padding-left: 3rem;
    background: url("../Images/SVG/picto-carte.svg") no-repeat center left/25px;
}
.fleche:before {
    content: "";
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    background: url("../Images/SVG/angle-right.svg") no-repeat left bottom/90%;
}
ul.fleche {
    list-style: none;
    padding-left:0;
    background: 0 none;
}
a.carte, a.fleche {
    display:inline-block;
}
.lien_trait {
    display:inline-block;
}
.toutes a, .lien_trait, .hub a, .more, .toutes, .back-link {
    text-decoration: none;
    border: none;
}
.toutes:before {
    content: "";
    display: inline-block;
    width: 2rem;
    height: 1px;
    background-color: var(--bs-primary);
}
.toutes:hover:before, .toutes:focus:before {
    width: 8rem;
}
.more, .back-link {
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}
.back-link {
    margin-top: 2rem;
}
.more:before,
.back-link:before {
    content: "";
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    background: url("../Images/SVG/angle-right.svg") no-repeat left bottom/90%;
}
.back-link:before {
    transform: rotate(180deg);
}
.more:hover, .more:focus, .back-link:hover, .back-link:focus {
    font-weight: 600;
}
.back-link:hover, .back-link:focus {
    text-decoration: underline;
}
.acces a {
    text-decoration:none;
    border: none;
}
.acces a:after,
.lien_trait:after,
.hub a p:after,
.more:after,
.mail_sel:after {
    content: "";
    display: block;
    width: 1.5rem;
    height: 1px;
    background-color: var(--bs-primary);
}

.more:after {
    background-color: transparent;
    display: block;
}
.more:hover:after, .more:focus:after {
    width: 100%;
    background-color: var(--bs-primary);
}
.acces a:hover:after, .acces a:focus:after,
.lien_trait:hover:after, .lien_trait:focus:after,
.hub a:hover p:after, .hub a:focus p:after,
.mail_sel:hover:after, .download_sel:hover:after,
.download:hover:after, .download:focus:after  {
    width: 100%;
}
.lien_trait,
.hub, .toutes {
    font-size: 2rem;
    font-weight: 700;
    font-family: "league Spartan";
}
.menu-pictos p {
    font-family: "League Spartan";
    font-size: 1.35rem;
    letter-spacing: .1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 1.5rem;
    line-height: 1.6rem;
}
.menu-pictos a {
    border: none;
}
.menu-image a {
    overflow: hidden;
    border: none;
}
.menu-image img {
    min-height: 20rem;
    object-fit: cover;
    width: 100%;
}
.frame-pano .menu-image img {
    width: 100%;
    max-height: 70vh;
    filter: brightness(0.75);
}
.menu-image {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:center;
}
.frame-pano a {
    width: 100%;
}
.menu-image .accroche {
    display: flex;
    flex-direction: column;
    padding: 2rem 3.5rem 3rem 3.5rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
}
.menu-image h2 {
    margin-bottom: .8rem;
    font-size: 2rem;
}
.page .frame-pano .menu-image .accroche {
    color: var(--bs-white);
}
.page .frame-pano .toutes {
    padding: 3.5rem 5.5rem;
    border: 1px solid;
    font-size: 3.5rem;
}
.page .frame-pano .toutes:before {
    background-color: var(--bs-white);
}
.menu-image > div {
    margin: 1rem;
}

/*** hub sans image ***/
ul.nohub .more:after{
    display:none;
}
ul.nohub a.more {
    text-transform: uppercase;
    font-family: "League Spartan";
    color: var(--bs-secondary);
    font-size: 2rem;
}
ul.nohub a {
    text-decoration: none;
    border: none;
    white-space: nowrap;
    padding: 1rem 1rem 1rem 0;
    font-size: 1.4rem;
}
ul.nohub a:before {
    content: "";
    display: inline-block;
    width: 3rem;
    height: 0.1rem;
    margin-right: 0.5rem;
    background-color: var(--bs-dark);
    position: relative;
    top: -0.5rem;
    transition: all ease-in-out 300ms;
}
ul.nohub a:hover, ul.nohub a:focus {
    color: var(--bs-dark);
}

/********************/
/*    composants  ***/
/********************/


/** uploads **/
.ce-uploads img{
    float:none;
    display:block;
    padding: 0;
}

/** SOKOA chiffre **/
.frame-type-novaldi_sokoachiffre,
.frame-type-novaldi_sokoachiffre > div{
    height: 100%;
    text-align: center;
}
.frame-type-novaldi_sokoachiffre > div{
    border:1px solid var(--beige-moyen);
    border-radius: 10px;
    padding: 2rem 1rem 1rem;
}
.frame-type-novaldi_sokoachiffre p{
    margin: 0;
    font-family: 'League Spartan';
}
.frame-type-novaldi_sokoachiffre p:first-of-type {
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 6rem;
    font-weight: normal;
}

.frame-type-novaldi_sokoachiffre .title{
    font-size: 1.9rem;
    font-weight: bold;
}
.frame-type-novaldi_sokoachiffre .chiffre{
    font-size: 2.8rem;
    font-weight: bold;
    color:var(--vert-moyen)
}

.frame-type-novaldi_sokoachiffre img{
    height: 5.5rem;
}
.frame-type-novaldi_sokoachiffre .bad{
    color:var(--rose-fonce)
}

/**** carousel ****/
.frame-type-container-carousel,.frame-type-container-carousel .slide{
    height: calc(100% - 5rem);
    margin-top: 10rem;
}
.frame-type-container-carousel .slide{
    background: var(--bs-gray-200);
    border-radius: var(--bs-border-radius-lg);
    padding-inline: 3rem;
    display: flex;
    align-items: center;
}
.frame-type-container-carousel .carousel-inner{
    padding-block: 2rem ;
}
.frame-type-container-carousel .carousel-inner header *{
    margin-top: 0 !important;
}
.frame-type-container-carousel .carousel-control-prev,.frame-type-container-carousel .carousel-control-next{
    display: flex;
    align-items: center;
    left: -3.5rem;
    opacity: 1 !important;
}
.frame-type-container-carousel .carousel-control-next{
    right: -3.5rem;
    left: unset;
}
.frame-type-container-carousel .carousel-control-prev-icon,.frame-type-container-carousel .carousel-control-next-icon{
    border: 1px solid var(--bs-gray-700);
    border-radius: 50%;
    height: 4rem;
    width: 4rem;
    background-color: black;
    filter: grayscale(1) invert(0.95);
    background-size: 2rem;
}
.frame-type-container-carousel :is(.carousel-control-prev-icon,.carousel-control-next-icon):is(:hover,:focus){
    filter: grayscale(1) invert(1);
    border-color:white;
}

/**** accordion ****/
.accordion {
    margin-top:2rem;
}
.header-accordion {
    border-top: 1px solid var(--bs-secondary);
    font-size: 2rem;
    font-weight: 600;
    text-align: left;
}
.header-accordion.collapsed .fa-angle-right {
    display: block;
}
.header-accordion.collapsed .fa-angle-down,
.header-accordion .fa-angle-right{
    display: none;
}

/**** paginationss****/
.kesearch_pagebrowser {
    margin-top: 4rem;
}
.kesearch_pagebrowser ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding-left: 0;
}
.kesearch_pagebrowser ul {
    list-style: none;
    font-family: "League Spartan";
    font-size: 2.2rem;
}
.kesearch_pagebrowser ul:before {
    content: "";
    display: block;
    width: 4rem;
    height: .1rem;
    background: var(--bs-primary);
    margin-right: 1rem;
}
.kesearch_pagebrowser ul li {
    padding: 1rem;
}

.kesearch_pagebrowser ul li a {
    font-weight: 300;
}
.kesearch_pagebrowser ul li a {
    border: 0;
}
.kesearch_pagebrowser ul li a.current,
.kesearch_pagebrowser ul li a:hover,
.kesearch_pagebrowser ul li a:focus {
    font-weight: 500;
}
.kesearch_pagebrowser li a.next:after {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    display: inline-block;
    font-size: 2rem;
    padding-left: 1rem;
    position: relative;
    top: .1rem;
}
.kesearch_pagebrowser li a.prev:before {
    content: "\f104";
    font-family: "Font Awesome 6 Free";
    display: inline-block;
    font-size: 2rem;
    padding-right: 1rem;
    position: relative;
    top: .1rem;
}
.result_txt {
    text-align: center;
    margin-top: 3rem;
}

/*** recherche ***/
#kesearch_filters legend {
    margin: .5rem 0;
    font-size: 1.8rem;
    font-weight: 500;
}

mark,
.mark {
    padding: 0.5rem;
    background-color: var(--bs-light);
    font-weight: 400;
}
/**** formulaires ****/
legend {
    margin: 3rem 0 2rem;
    font-family: "League Spartan";
    font-size: 3rem;
    font-weight: 700;
}
label {
    font-family: "League Spartan";
    font-size: 1.8rem;
    font-weight: 500;
}
.help-block p {
    margin-bottom: 0;
    font-size: 1.4rem;
    color: var(--bs-secondary);
}
span.mandatory {
    color: red;
    padding-left: 0.2rem;
}
.form-group {
    margin-top: 2rem;
}

/**** header ****/
body > header {
    position : relative;
}
#header {
    border: 1px solid var(--beige-moyen);
    padding-bottom: 1rem;
}

.main-section {
    position: relative;
}

#logo img {max-width: 100%;}
#logo a {
    border: none;
}
.acces {
    list-style: none;
    align-items: center;
}
.d-lg-inline-flex.acces,


.d-lg-inline-flex.acces li {
    margin: 0 1rem;
}

/*********************** main *****************/
/*** breadcrumb ***/
.breadcrumb {
    list-style: '/';
    font-family:"League Spartan";
    color: var(--bs-secondary);
}

.breadcrumb-item {
    padding-right: 1rem;
}

.breadcrumb-item a {
    padding-right: .3rem;
    text-decoration: none;
    border: none;
    color: var(--bs-secondary);
}

.breadcrumb-item:first-child {
    list-style: none;
}

.breadcrumb-item.current {
    font-weight: 500;
    color: var(--bs-primary);
}

.breadcrumb-item:before {
    display: none;
}

.entry-title,
#colophon h2 {
    text-transform:uppercase;
    color: var(--bs-secondary);
    margin:1rem 0 1rem 0;
}
 .all{
    display: block;
    text-align: right;
    font-family: "League Spartan";
    font-weight: bold;
    font-size: 2.2rem;
    text-decoration: none;
 }
 .all::before{
    content: '';
    display: inline-block;
    width: 3rem;
    height: .1rem;
    margin-right: 1rem;
    background: black;
    vertical-align: middle;
 }

/* agenda */
.news-list-view{
    padding:2rem;
}

#main .news-list-view li{
    display: block;
    font-family: "League Spartan";
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--bs-gray-400);
}

.news-list-view time,.news-list-view .category{
    text-transform: uppercase;
    font-weight: bold;
}
.news-list-view time {
    line-height: 2.3rem;
    font-size: 2rem;
    color:var(--bleu-moyen);
}
.news-list-view time span.event-month{
    font-size: 1.8rem;
}
.news-list-view .category {
    background: var(--bs-gray-200);
    border-radius: var(--bs-border-radius);
    display: inline-block;
    padding: 0.8rem 0.5rem 0.5rem;
    font-size:1.3rem;
    line-height: 1.3rem;
}
.news-list-view :is(h2,h3) {
    margin: 0;
}

.news-single .category span {
    text-transform: uppercase;
    font-weight: bold;
    background: var(--bs-gray-200);
    border-radius: var(--bs-border-radius);
    display: inline-block;
    padding: 0.5rem;
    font-size:1.3rem;
    line-height: 1.3rem;
    margin-bottom: 1rem;
}

.news-single .event-date {
    font-size: 2rem;
    font-weight: bold;
    color: var(--bleu-moyen);
    background: url(../Images/SVG/picto-calendar-grey-circle.svg) no-repeat left / 6rem;
    padding-left: 8rem;
    height: 6rem;
    line-height: 6rem;
}

.news-text-wrap {
    padding-bottom: 3rem;
}

/************************ footer *******************/
#return-to-top {
    position:fixed;
    right: 1rem;
    bottom: .5rem;
    z-index: 333333;
    background: none;
    border: none;
    margin: 0;
    padding: 0;
}
#colophon {
    margin-top: 5rem;
}
#colophon>.container {
    border-top: 1rem solid var(--bs-gray-200);
}
#colophon h2{
    margin: 2.7rem 0 1.4rem;
    font-size: 2.2rem;
}
#colophon footer {
    background: var(--bs-gray-200);
    padding-block: 4rem;
    margin-top: 4rem;
}
#colophon .reseaux li{
    margin-right:1rem;
}
#colophon .reseaux a{
    display: inline-block;
    border-radius: 50%;
    border:1px solid;
    color: var(--bs-secondary);
    height: 5rem;
    width: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
#colophon .reseaux a:is(:hover,:focus){
    background:#000;
}
#colophon .reseaux a:is(:hover,:focus) img{
    filter: brightness(0) invert(1);
}
#colophon a {
    text-decoration: none;
    border: none;
    font-size: 1.4rem;
    font-weight: 600;
}
#colophon .copyright a {
    font-family: "League Spartan";
    font-weight: 400;
    text-transform: none;
    color: var(--bs-secondary);
}
.infos ul {
    list-style: none;
    padding-left: 0;
}
.infos ul {
    margin-bottom: 2rem;
}
.infos li {
    margin-bottom: 1rem;
}
.infos p a {
    font-size: 1.4rem;
    text-transform: none !important;
    line-height: 1.7;
}
#colophon .copyright ul li a {
    border-right: 1px solid;
    padding-right: .5rem;
}
#colophon .copyright ul li:last-child a {
    border: 0 none;
}
/***** attention la css de la homepage est gérée dans une feuille de style accueil.css******/

/* Small devices (landscape phones, 576px / 36em and up) */
@media (min-width: 36em) {
    .nav-item {
        flex: 1 1 50%;
    }
}

/* Medium devices (tablets, 768px / 48em and up) */
@media (min-width: 48em) {
    .nav-item {
        flex: 1 1 30%;
    }
    .frame-type-textmedia .ce-intext {
        display: flex;
    }
    .frame-type-textmedia .ce-right .ce-gallery {
        order:2;
    }

    .frame-type-textmedia .ce-intext.ce-left .ce-gallery {
        margin-right: 3rem;
    }
    .frame-type-textmedia .ce-intext.ce-right .ce-gallery {
        margin-left: 3rem;
    }
}
/* en dessous de (desktops, 992px / 62em and up) */
@media (max-width: 62em) {
    .nav-item {
        flex: 1 1 25%;
    }
    .main-navigation > button {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .breadcrumb {
        margin-bottom: 0;
    }
    h3 {
        font-size: 2.5rem;
    }
    .acces a:after {
        display: none;
    }
    .acces a {
        display: block;
        font-size: 1.5rem;
        font-weight: 600;
        text-transform: uppercase;
        border: 0 none !important;
        margin: 1rem;
        letter-spacing: 0.15rem;
    }
}
/* Large devices (desktops, 992px / 62em and up) */
@media (min-width: 62em) {
    .nav-item {
        flex: 1 1 0;
    }
    h2, h3 {
        margin-top: 3rem;
    }
    h2 {
        margin-bottom: 3rem;
    }
    .col-lg-8 .tx-powermail form {
        border-left: 1px solid var(--bs-gray-500);
        padding-left: 4rem;
        margin-top:0;
    }
}

/* X-Large devices (large desktops, 1200px / 75em and up) */
@media (min-width: 75em) {

}

/* XX-Large devices (larger desktops, 1400px / 87.5em and up) */
@media (min-width: 87.5em) {
}

/* XXX-Large devices (larger desktops, 1600px / 100em and up) */
@media (min-width: 100em) {

}
