@import "bootstrap-datepicker.standalone.min.css";
@import "select2.min.css";
@import "select2-bootstrap4.min.css";


*,
body,
html,
div,
#footer,
.footer_bottom,
a,
h1,
h2,
h3,
h4,
input,
label,
li,
p,
span {
    font-smooth: always;
    font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    font-family: 'Montserrat', sans-serif;
}

.container{
    width: 1380px;
    max-width: calc(100% - 60px);
}


.navbar-fixed,
h4 {
    text-transform: uppercase;
}

#header,
#header2 h1 {
    background-repeat: no-repeat;
}

#container,
#header2 h1,
#header_mali img,
.claim {
    width: 100%
}

#container,
#content,
.white,
body,
section {
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
    padding-right: 0;
    padding-left: 0;
}

h1,
h2 {
    font-family: 'Raleway', sans-serif;
}

hr {
    margin-top: 15px;
    margin-bottom: 15px;
    border-top: 1px solid #aaaaaa;
}

h1 {
    font-weight: 700;
    margin: 1rem .25rem .25rem;
}

h2 {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #21242C;
}

h3 {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #21242C;
}


#content h1 {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 300;
    font-size: 32px;
    line-height: 125%;
    color: #307110;
    padding: 35px 0;
    margin: 0rem 0rem 0.25rem;
    position: relative;
    margin: 0;
    position: relative;
    display: block;
    margin-bottom: 1rem;
}

#content h1 i.flag-jo{
    background: url(../images/icon/flag-jo-big.svg) no-repeat;
    background-size: contain;
    display: inline-block;
    width: 88px;
    height: 110px;
    margin-top: -55px;
    margin-bottom: -55px;
    transform: translateY(-11px);
    margin-right: 20px;
}

#content h1 i.flag-cr{
    background: url(../images/icon/flag-cr-big.svg) no-repeat;
    background-size: contain;
    display: inline-block;
    width: 88px;
    height: 110px;
    margin-top: -55px;
    margin-bottom: -55px;
    transform: translateY(-11px);
    margin-right: 20px;
}

#content h1 i.flag-dc{
    background: url(../images/icon/flag-dc-big.svg) no-repeat;
    background-size: contain;
    display: inline-block;
    width: 88px;
    height: 110px;
    margin-top: -55px;
    margin-bottom: -55px;
    transform: translateY(-11px);
    margin-right: 20px;
}

#content h1 i.flag-di{
    background: url(../images/icon/flag-di-big.svg) no-repeat;
    background-size: contain;
    display: inline-block;
    width: 88px;
    height: 110px;
    margin-top: -55px;
    margin-bottom: -55px;
    transform: translateY(-11px);
    margin-right: 20px;
}

#content.home h1 {
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 125%;
    text-align: center;
    color: #21242C;
    margin: 0px;
    padding: 0;
}

h2,
h3,
h4,
h5,
h6 {
    margin: .5rem;
}

label {
    font-size: inherit;
    font-weight: 500;
    display: block;
}

.navbar-fixed {
    background-color: #e5e5e5;
    color: #009543;
    font-weight: 700;
}



#header,
#header2 {
    vertical-align: bottom;
    background-color: #307110;
    position: relative;
}

#header img {
    vertical-align: middle;
    /* cursor: pointer; */
    /* position: absolute; */
    /* bottom: 0; */
    /* left: 7%; */
    vertical-align: -webkit-baseline-middle;
}

.last_textes a {
    font-weight: 300;
}

.last_jos li,
.last_textes li {
    padding: .5em;
    border-top: 1px solid #e9e9e9;
}

.collapsible,
.nocollapsible {
    border-top: 0 solid #ddd;
    border-right: 0 solid #ddd;
    border-left: 0 solid #ddd;
}

#header {
    position: sticky;
    top: 0;
    min-height: 100px;
    height: 100px;
    z-index: 1000;
    background: #307110;
}

#header2 {
    height: auto!important;
    z-index: 900!important;
    text-align: center;
}

#header2 h1 {
    display: block;
    background-color: #009543!important;
    background-position: center 60px;
    text-align: center!important;
    height: 130px;
    margin: 0;
    font-weight: 400!important;
    font-size: 12px;
    padding-top: 1em;
}




#footer{
    background: #307110;
    padding: 12px 0;
    margin: 0;
    margin-top: 50px;
    display: block;

}
#footer p {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    margin: 0;
    color: #FFFFFF;
}
#footer ul {
    display: flex;
    align-items: center;
    padding:0;
    margin: 0;
}

#footer ul li{
    display: block;
    padding:0;
    margin: 0;
    margin-right: 20px;
}

#footer ul li a {
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 21px;
    color: #FFFFFF;
    letter-spacing: 0.02em;
    text-transform: uppercase;   
    white-space: nowrap;
}
#footer ul li a:focus,
#footer ul li a:hover{
    color: #B7BECD;
}
#footer ul li + li {
    padding-left: 20px;
    border-left: 1px solid #FFFFFF;
}

select {
    background-color: #FFF;
}

.mdi-navigation-menu,
.mdi-navigation-menu:hover {
    color: #009543!important;
    padding-left: 1em;
}

.collapsible-header.titre_annee{
  padding: 0 !important;
}

.collection.jos h4 a {
    display: block;
    transition: all 0.3s ease;
    padding: 0px 0 0 5px !important;
    line-height: 45px !important;
    margin: 0 !important;
}

.collection.jos h4 a i{
  width: 2rem;
  text-align: center;
}
.collection.jos h4 a:hover {
  display: block;
  padding-left: 10px!important;
}


.nocollapsible a,
a.nocollapsible {
    text-decoration: underlined;
}

.nocollapsible .collection-item {
    list-style: none!important;
}

.results_rows {
    margin-bottom: -2.6rem!important;
}

.jolink {
    color: #01bb54!important;
    padding-top: 5px;
    padding-bottom: 5px;
}

.jolink:hover {
    color: #000000!important;
}

.nojo,
.nojo:hover {
    cursor: default!important;
    color: #666666!important;
}

.contact_global {
    margin: 0!important;
}

.dropdown-content {
    top: 177px!important;
}

ul.side-nav li {
    padding: 0!important;
}


#content .collapsible-header ul li,
.collapsible-header ul li,
.collapsible ul li {
    list-style: none!important;
    margin: 0!important;
}

li.collapsible-header,
.collapsible-header li {
    list-style: none!important;
    margin: 0!important;
}


#content table,
#content td,
#content th {
    border: .1em solid;
}

#content strong {
    font-weight: 700;
}

.collection a.collection-item{
  line-height: 45px;
  margin: 0;
  padding: 0 5px;
  min-height: 45px;
  height: auto;
  transition: all 0.3s ease;
}

.collection a.collection-item.compterendu{
  display: flex;
  align-items: center;
}

.collection a.collection-item.compterendu span.text{
  display: block;
  line-height: 1.5;
}

.collection a.collection-item.compterendu i{
  width: 100%;
  max-width: 30px;
  display: block;
}

.collection a.collection-item:not(.active):hover{
  padding-left: 10px;
  background-color:white;
  border-bottom: 1px solid #009543;
}
.collection a.collection-item i{

  font-size: 18px;
  width: 2rem;
  text-align: center;
  line-height: 1em;
  padding-left: 0;
  padding-right: 0;
  margin: 0;
  font-weight: 300!important;
  float: left;
  line-height: 45px;
  margin-top: 0;

}

.collection a,
.collection-item item-colonne,
collection-item item-colonne li a,
.collection.with-header .collection-item li a {
    color: #009543!important;
    font-weight: 400;
}

#content > .collection-item > a:last-child {
    color: #01bb54!important;
    font-weight: 400;
}



.josp_title {
    cursor: pointer;
}

.collection {
    background-color: #fff;
    margin: 0;
    border: 0px solid #ffffff;
    border-top: 1px solid #aaaaaa;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    background-clip: padding-box;
    overflow: hidden;
    color: #009543;
    text-align: left;
    width: 100%;
}


.with-header li:first-child {
    color: #fff;
}

.collection .lien-actif,
.lien-actif {
    color: #01bb54!important;
    text-align: left;
}


.collection .lien-actif::before,
.lien-actif::before {
    font-family: Material-Design-Icons;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    letter-spacing: normal;
    display: inline-block;
    word-wrap: normal;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    content: ">"!important;
}

.jumbotron {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    gap: 15px;
    background: #307110;

}
.card + .jumbotron {
    margin-top: 45px;
}
.jumbotron .container{
    max-width: 100%;
}

.modal-body{
    padding: 0;
}

button[data-target="#filterModal"]{
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #FFFFFF;
    border-radius: 74px;
    margin-bottom: 30px;
}

button[data-target="#filterModal"]:after{
    content:" ";
    mask-image:url(../images/icon/filter.svg);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image:url(../images/icon/filter.svg);
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    display: inline-block;
    width: 24px;
    height: 25px;
    background: #DCF2D1;
    margin-bottom: 2px;
    vertical-align: middle;
    margin-left: 15px;
}
.jumbotron{
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #FFFFFF;
    margin-bottom: 20px;
}
.jumbotron .newsletter{
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 125%;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 20px;
}

.jumbotron .newsletter:before{
    content:" ";
    mask-image:url(../images/icon/mail.svg);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image:url(../images/icon/mail.svg);
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    display: inline-block;
    width: 39px;
    height: 39px;
    background: #409615;
    margin-right: 15px;
    margin-bottom: 2px;
    vertical-align: middle;
    margin-left: -20px;
}


.jumbotron p.lead{
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.jumbotron p a{
    text-decoration: none !important;
    color: #FFFFFF;
}

.jumbotron p a:hover{
    text-decoration: underline !important;
}   

.jumbotron form{
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    display: flex;
    position: relative;
    flex-wrap: wrap;
}

.jumbotron form small{
    display: block;
    color: #fff;
    font-size: 12px;
    line-height: 150%;
    padding: 10px;
}
.jumbotron form .msg{
    display: block;
    color: #fff;
    font-size: 14px;
    line-height: 150%;
    padding: 10px;
}

.jumbotron form input[type=email]{
    width: 100%;
    border: 2px solid #fff;
    border-radius: 100px;
    height: 52px;
}

.jumbotron form input[type=submit]{
    position: absolute;
    width: 42px;
    height: 42px;    
    border-radius: 38px;
    display: block;
    border:none;
    right: 5px;
    top: 5px;
    transition: all 0.3s linear;
    background: #409615 url(../images/icon/send.svg) no-repeat center;
}


.jumbotron form input[type=submit]:focus,
.jumbotron form input[type=submit]:hover{
    background-color: #307110;
}

.slider {
    border: 0!important;
    max-height: 310px!important;
}

.card,
.dropdown-content {
    border-radius: 0!important;
    moz-border-radius: 0!important;
    webkit-border-radius: 0!important;
}

.slider ul.slides {
    background-color: #f3f4f4!important;
    margin: 0;
}

.slider ul,
.slider ul li {
    list-style: none!important;
}
.pos-relative{
    position: relative;
}
.slider ul.slides li .caption {
    list-style: none;
    color: #000;
    position: relative;
    width: 100%;
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
    text-align: justify;
    padding: 5px;
}

.claim,
.slider ul.slides li .caption p {
    color: #000!important;
}

.slider ul.slides li {
    list-style: none;
    margin-left: 0!important;
    text-align: justify!important;
}

.collapsible li,
.collapsible-body li,
.collection li,
li .collapsible-body {
    list-style: none!important;
    margin-left: 0px!important;
}

.collapsible li a,
.collapsible-body li a,
.collection li a,
a li .collapsible-body {
    list-style: none!important;
    margin-left: 45px!important;
}

.sous-menu ul.collection li.collection-item a,
a li.collection-item ul.collection div.sous-menu {
    margin-left: 0px!important;
}

.claim {
    text-align: left;
    background-color: rgba(255, 255, 255, .8);
    padding: 0;
    margin: 0;
    bottom: 0;
    position: absolute;
}

.claim a {
    font-weight: 500;
    font-size: 1.1em;
    z-index: 10000;
}

.annuaire h3{

    margin: 0;
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 125%;
    color: #21242C;

}

.annuaire .edition{
   
}

.annuaire .price{
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 150%;
    color: #307110;
    margin-top: 15px;
    
}

i.right {
    float: right;
    margin-left: 5px;
}

.item-colonne,
.sous-menu ul li,
.titre-colonne {
    margin-left: 0!important;
}

.noPaddingRight {
    padding-right: 0!important;
}

.noMarginRight {
    margin-right: 0!important;
}

ul li a .mdi-navigation-arrow-drop-down {
    display: none;
}

.titre-colonne {
    background-color: #009543!important;
}

.titre-colonne h4 {
    color: #FFF!important;
    font-weight: normal;
    font-weight: 300!important;
    font-size: 12px;
}

#adresse-bamako {
    margin-top: 40px;
    text-align: center;
}

.JO-special {
    font-weight: 500;
}

.josp_preview,
.josp_preview p,
.josp_preview span {
    font-size: 13px!important;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 1em;
    padding-left: 20px;
}

.collection.with-header .collection-header {
    background-color: #fff;
    border-bottom: 0px solid #ffffff!important;
    padding: 5px;
    display: inline-block;
    width: 100%;
    min-height: 38px;
}

.sous-menu .collection.with-header .collection-header {
    background-color: #009543!important;
    color: #ffffff!important;
}

.sous-menu .collection.with-header .collection-header h1 {
    color: #ffffff!important;
    font-weight: 300!important;
    font-size: 14px!important;
    padding: 10px;
}

input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=url] {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    gap: 15px;
    appearance: none;
    width: 330px;
    max-width: 100%;
    height: 44px;
    border: none;
    /* White */
    background: #FFFFFF;
    border-radius: 74px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
}
textarea{
    padding: 10px 15px;
    gap: 15px;
    appearance: none;
    width: 100%;
    max-width: 100%;
    border: none;
    /* White */
    background: #FFFFFF;
    border-radius: 15px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
}

.search-form input[type=date],
.search-form input[type=email],
.search-form input[type=number],
.search-form input[type=password],
.search-form input[type=search],
.search-form input[type=tel],
.search-form input[type=text],
.search-form input[type=url]{
    width: 100%;
}

form[name="form_contact"]{
    background: #EFF7EB;
    padding: 50px;
    max-width: 680px;
}

#message-content {
    padding-left: 3em;
    font-weight: 500;
}

#goodFlash {
    font-size: 1.9em;
}

.wysiwyg ol{
    list-style: auto;
    padding-left: 1.4rem;
}
.wysiwyg ul{
    list-style: initial;
    padding-left: 1.4rem;
}

.wysiwyg h2{
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 150%;
    color: #21242C;
    margin: 0;
    margin-bottom: 15px;

}
.wysiwyg h3{
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    /* identical to box height */

    display: flex;
    align-items: center;

    color: #21242C;
    margin: 0;
    margin-bottom: 15px;

    /* Gray/100 */

    color: #21242C;

}
.wysiwyg p{
/* Body - Regular */

font-family: 'Montserrat';
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 150%;
color: #21242C;

}
.wysiwyg a{
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 150%;
    color: #307110;
    display: inline-flex;
    align-items: center;
    transition: all 0.25s linear;
    text-decoration: underline;
}

.wysiwyg a:focus,
.wysiwyg a:hover{
    color: #21242C;
    text-decoration: underline;
}

a.link{
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 150%;
    color: #21242C;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    padding: 10px 5px;
    transition: all 0.25s linear;
}

input[type=text]#keywordInputBig{
    padding: 5px 5px 5px 20px;
    height: 52px;
    width: 100%;
    background: #FFFFFF;
    border: 2px solid #307110 !important;
    border-radius: 100px;
}

a.link:focus,
a.link:hover{
    color: #307110;
}

a.link:focus .fa.fa-info-circle:before,
a.link:hover .fa.fa-info-circle:before{
    opacity: 0.8;
}

.fa.fa-info-circle:before{
    content: ' ';
    display: inline-block;
    background: no-repeat url(../images/icon/help.svg);
    background-position: center;
    background-size: contain;
    min-width: 12px;
    width: 12px;
    height: 12px;
    margin-left: -5px;
    transition: all 0.25s linear;
}

a.more{
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 150%;
    color: #409615;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    padding: 10px 5px;
    transition: all 0.25s linear;
}
a.more:after{
    content: ' ';
    display: inline-block;
    background: no-repeat url(../images/icon/more.svg);
    background-position: center;
    background-size: contain;
    min-width: 14px;
    width: 14px;
    height: 14px;
    margin-left: 5px;
}
a.more:focus,
a.more:hover{
    color: #307110;
}

.card {
    box-shadow: none;
    padding: 0;
    margin: 0;
    overflow: visible;
    position: relative;
    border:none;
    margin-top: 45px;
}

.card .card-title{
    background: #DCF2D1;
}
.card .card-title h2 a {
    padding-left: 60px;
    color: #102605;
    display: block;
}
.card .card-title h2{
    margin: 0;
    padding-left: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
}
.card .card-title h2 img{
   position: absolute;
   left: 15px;
   top: -15px;
}

.card .card-content ul:not(.collapse) {
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
}

.card .card-content ul ul.sommaire{
    width: 100%;
}
.card .card-content ul ul.sommaire li{
    padding-top: 15px;
    font-size: 14px;
}

.card .card-content ul li{
    display: block;
    margin: 0;
    padding: 0;
    border-bottom:  1px solid #DCF2D1;
}

.card .card-content ul li > span,
.card .card-content ul li a{
    display: flex;
    padding: 15px;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #21242C;
    transition: all 0.3s linear;
    width: 100%;
}

.card .card-content ul li a:hover{
    background: #EFF7EB;
    color: #102605;
    font-weight: 700;
}

.card .card-title{
    margin-bottom: 0px;
}

.card .card-content ul li a:after{
    content:" ";
    display: block;
    background: no-repeat url(../images/icon/icon-jo.svg);
    background-position: center;
    background-size: contain;
    min-width: 24px;
    width: 24px;
    height: 24px;
    margin-left: auto;
}

.card .card-content ul li a:not(.link-jo):after{
    background: no-repeat url(../images/icon/icon-pdf.svg);
}

.card .card-content ul li a:not(.link-jo)[data-toggle='collapse']:after{
    background: no-repeat url(../images/icon/arrow-right.svg) center;
    transition: all 0.15s linear;
}

.grecaptcha-badge { visibility: hidden; }

.card .card-content ul li a:not(.link-jo)[data-toggle='collapse'][aria-expanded="true"]:after{
    transform: rotate(90deg);
}
.list-group-item{
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 150%;
    color: #21242C;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    transition: all 0.25s linear;
}

.list-group-item:not(.active):hover{
    color: #307110;
    background-color: #fff;
}

.list-group-item:after {
    content: ' ';
    display: inline-block;
    background: no-repeat url(../images/icon/more.svg);
    background-position: center;
    background-size: contain;
    min-width: 14px;
    width: 14px;
    height: 14px;
    margin-left: 5px;
}

.list-group-item.active{
    background-color: #307110;
    border-color: #307110;
}


.card .card-content ul li a.jo:not(.link-jo):after{
    background: no-repeat url(../images/icon/icon-jo.svg);
}


.card .card-content ul li > span .tag,
.card .card-content ul li a .tag{
    display: inline-block;
    margin-right: 10px;
    font-weight: 700;
    color: #ECB52B;
}
.card .card-content ul li > span .name,
.card .card-content ul li a .name{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    width: auto;
    padding-right: 20px;
}

.card .card-content ul li a.link-cr .tag{
    color: #25AF36;
}

.card .card-content ul li > .link-dc .tag,
.card .card-content ul li a.link-dc .tag{
    color: #ED1D1D;
}

.card .card-content ul li > .link-di .tag,
.card .card-content ul li > span.link-di .tag,
.card .card-content ul li a.link-di .tag{
    color: #3486FA;
}

.card.secondary .card-title{
    background: #307110;
    padding: 26.5px;
}

.card.secondary .card-title h3{
    text-align: center;
    margin: 0;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #FFFFFF;
}

.card.secondary .card-content{
    background: #EFF7EB;
    padding: 30px;
}

.card .card-content ul li .links{
    margin-left: auto;
}

.card .card-content ul li > div .name,
.card .card-content ul li a .name{
    display: block;
    width: auto;
    padding-right: 20px;
    margin-bottom: 0;
}

.card .card-content ul li > div .tag{
    display: inline-block;
    margin-right: 10px;
    font-weight: 700;
}

.card.search-results{
    margin-top: 0;
}
.card.search-results .card-content ul li > div:not(.links) {
    display: flex;
    padding: 15px;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #21242C;
    transition: all 0.3s linear;
    flex: 1;
}

.card.search-results .card-content ul li    {
    display: flex;
    flex-wrap: wrap;
}
.card.search-results .card-content ul li .links{
    display: flex;
    padding: 15px;
}
.card.search-results .card-content ul li .links a {
    width: 24px;
    height: 24px;
    padding: 0;
    margin-left: 5px;
    background: none !important;
}

.card.search-results .card-content ul li .links a:focus,
.card.search-results .card-content ul li .links a:hover{
    opacity: 0.6;
}
.card .card-content ul li ul li > a,
.card .card-content ul li ul li > div .name{
    position: relative;
}
.card .card-content ul li ul li > a .name::before,
.card .card-content ul li ul li > div .name::before{
    content: " ";
    width: 24px;
    height: 24px;
    background: url(../images/icon/arrow-right.svg) no-repeat center;
    display: inline-block;
    position: absolute;
    left: -34px;
}

[dir="rtl"] .card .card-content ul li ul li > a .name::before,
[dir="rtl"] .card .card-content ul li ul li > div .name::before {
    left: auto;
    right: -34px;
    rotate: 180deg;
}

.card .card-content ul li ul li {
    border-top: 1px solid #DCF2D1;
    border-bottom: none;
    padding-left: 64px;
}


[dir="rtl"] .card .card-content ul li ul li {
    padding-left: 0;
    padding-right: 64px;
}


.paging{
    text-align: right;
    height: 50px;
    padding: 13px 15px;
}
.paging a {
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 100px;
    display: inline-block;
    font-style: normal;
    text-align: center;
    font-weight: 400;
    font-size: 12px;
    line-height:24px;
    color: #383D48;
    margin: 0 3px;
    transition: all 0.3s linear;
    vertical-align: middle;
}

.paging a:focus,
.paging a:hover{
    background: #DCF2D1;
}

.paging span{
    width: 24px;
    height: 24px;
    background: #409615;
    border-radius: 100px;
    display: inline-block;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 24px;
    text-align: center;
    color: #FFFFFF;
    vertical-align: middle;
}

.paging a.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    vertical-align: middle;
}

.paging a.icon img {
    display: block;
    width: 12px;
    height: 12px;
    vertical-align: middle;
}

.reset_search_btn{
    margin-top: 30px;
}

.reset_search_btn .btn{
   /* Auto layout */

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px 30px 35px 30px;
    gap: 15px;
    width: 100%;
    height: 44px;
    /* White */

    background: #FFFFFF;
    border: 1px solid #21242C;
    border-radius: 74px;
    /* Button - Bold */

    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 150%;
    text-transform: uppercase;
}

.reset_search_btn .btn:hover{
    background: #307110;
    color: #ffffff;
    border: 1px solid #307110;
}


#box_search_btn{
    margin-left: -30px;
    margin-right: -30px;
    margin-bottom: -30px;
    margin-top: 30px;
}

#box_search_btn .btn{
    border-radius: 0px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 150%;
    /* identical to box height, or 21px */
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 0.7rem 1rem;
}

.btn-dark{
    background-color: #307110;
    border-color: #307110;
}

.btn-dark:hover{
    background-color: #409615;
    border-color: #409615;
}


.card.search-results .card-title{
    padding-top: 10px;
    padding-bottom: 10px;
}

.newscard {
    border-bottom: 1px solid #DCF2D1;
    margin-bottom: 25px;
    padding-bottom: 25px;
}
.newscard .col-image{
    max-width: 323px;
}

.newssingle .col-image{
    max-width: 323px;
}

.newscard .textnews{
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #21242C;
}
.newssingle .date,
.newscard .date{
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #21242C;
    margin-bottom: 15px;
}
.newssingle .date:before,
.newscard .date:before{
    content:" ";
    mask-image:url(../images/icon/date.svg);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image:url(../images/icon/date.svg);
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #21242C;
    margin-bottom: -1px;
}


.newscard h2{
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 150%;
    margin: 0 0 15px;
}
.newscard h2 a{
    color: #21242C;
    display: block;
}
.newscard h2 a:hover{
    color: #307110;
}


/*
* FORM
*/

.form-group {
    margin-bottom: 2rem;
}

.form-group label{
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 150%;
    color: #307110;
}

.search-form input[type=text].dateinput{
    background: #fff url(../images/icon/date.svg) no-repeat  91% center;
}

/* .select2-container{
    border-radius: 74px;
    appearance: none;
    font-size: 12px;
    border: none;
    width: 100%;
    background: #fff url(../images/icon/select.svg) no-repeat  97% center;
} */
.form-control:focus{
    border: 1px solid #8690A2 !important;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.form-control{
    border: 1px solid #fff !important;
}
select.dark + .select2-container--bootstrap4 .select2-selection--single {
    border: 1px solid #409615;
    background-color: #409615;
}
select.dark + .select2-container--bootstrap4 .select2-selection--single .select2-selection__placeholder{
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #FFFFFF;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
}
select.dark + .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow b{
    background: url(../images/icon/select-white.svg) no-repeat center;
}

select.dark + .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered{
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #FFFFFF;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
}

.select2-container--bootstrap4 .select2-selection--single{
    height: 44px !important;
    border-radius: 74px !important;
    border: 1px solid #fff;
}
.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered{
    line-height: 44px;
    padding: 0 15px;
    font-size: 12px;
}
.select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow b{
    background: url(../images/icon/select.svg) no-repeat center;
    width: 24px;
    height: 24px;
    border:none;
    top: -10px;
    left: -12px;
}

.select2-container .select2-selection--single .select2-selection__clear{
    width: 24px;
    height: 24px;
    border: none;
    margin: 0;
    padding: 0;
    top: 8px;
    right: 15px;
    position: absolute;
    color: #22242c;
    font-size: 37px;
    background-color: white;
    z-index: 2;
}

.select2-container--bootstrap4 .select2-results__option--highlighted, .select2-container--bootstrap4 .select2-results__option--highlighted.select2-results__option[aria-selected="true"]{
    background: #307110;
}
.select2-container--bootstrap4.select2-container--focus .select2-selection{
    border: 1px solid #8690A2 !important;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.select2-container--bootstrap4 .select2-results__option{
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #21242C;
}
.select2-container--bootstrap4 .select2-dropdown.select2-dropdown--below{
    width: 380px;
    background: #FFFFFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    padding: 15px;
    border: none;
    margin-top: 15px;
}

.select2-container--bootstrap4.select2-container--open.select2-container--below .select2-selection--single .select2-selection__arrow b{
    transform: rotate(-180deg);
}

.soustitrepagination {
    background-color: #009543!important;
    color: #ffffff!important;
    margin-top: 0px!important;
    margin-bottom: 0px!important;
    font-weight: 300!important;
    font-size: 12px!important;
    line-height: 15px!important;
    text-transform: uppercase!important;
    text-align: left!important;
    padding: 1em!important;
}

ul.greybgres {
    background: #f5f4f4!important;
    background-color: #f3f4f4!important;
    border: 0px!important;
    border-bottom: #aaaaaa 1px solid!important;
    padding-top: 10px!important;
    padding-bottom: 10px;
    margin-top: 10px!important;
    vertical-align: top!important;
}

div ul.greybgres:first-child {
    margin-top: 0px !important;
    padding-top: 0px!important;
}

li.greybgres {
    background: #f5f4f4!important;
    background-color: #f3f4f4!important;
    font-weight: 300!important;
}

li.greybgres i {
    font-size: 18px;
    line-height: 1em;
    background: transparent;
    background-color: transparent;
    border: 0px!important;
    padding-top: 0!important;
    margin-top: 0px!important;
    vertical-align: top!important;
}

li.collection-item a {
    margin: 5px;
    padding: 5px;
    padding-bottom: 15px!important;
    padding-top: 15px!important;
    padding-left: 40px!important;
    font-size: 15px!important;
    color: #666666!important;
}

.card li.collection-item a {
    margin: 5px;
    padding: 5px;
    padding-bottom: 15px!important;
    padding-top: 15px!important;
    padding-left: 15px!important;
    font-size: 15px!important;
    color: #666666!important;
}

#mobile-menu > ul > li.collection-item a {
    margin: 5px;
    padding: 5px;
    padding-bottom: 15px!important;
    padding-top: 15px!important;
    padding-left: 15px!important;
    font-size: 15px!important;
    color: #666666!important;
}

ul.side-nav .collapsible-header {
    background-color: transparent;
    border: none;
    line-height: inherit;
    height: inherit;
    padding-left: 0px!important;
    margin-left: 3px!important;
    margin: 0;
}

.greybgres:first-child,
.greybgres::first-child {
    border-top: #009543 0px solid!important;
}

.collapsible-body a {
    color: #666666!important;
    font-size: 14px!important;
    line-height: 14px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 40px!important;
    font-weight: normal;
}

.collapsible-body a:hover {
    color: #01bb54!important;
    font-size: 14px!important;
    line-height: 14px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 40px!important;
    font-weight: normal;
}

.collapsible-body a:before,
.collapsible-body a::before {
    color: #888888!important;
    font-size: 12px!important;
    line-height: 12px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 5px;
}


.no-padding {
    padding-left: 0px!important;
}

#mapCanvas {
    margin-left: -15px;
}

.JO-spe i {
    font-size: 18px;
    line-height: 1em;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
    font-weight: 300!important;
    float: left;
    margin-top: -2px;
}

.JO-normal i {
    font-size: 18px;
    line-height: 1em;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
    font-weight: 300!important;
    float: left;
    margin-top: -2px;
}

li.collection-item a i,
i a li.collection-item {
    font-size: 18px;
    line-height: 1em;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
    font-weight: 300!important;
    float: left;
    margin-top: -2px;
}

.right-content h1 {
    padding-left: 0px!important;
}

.right-content .row .col {
    padding-left: 0px!important;
}

.soustitrepagination,
.right-content .row .soustitrepagination {
    padding-left: 10px!important;
}



#header {
    z-index: 10 !important;
}

#header .container {
    display: flex;
    height: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

#header nav{
    position: relative;
    box-shadow: none;
    background: transparent;
    width: auto;   
    height: 100%; 
    
}
#header nav ul a {
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 150%;
    color: #FFFFFF;
    text-transform: uppercase;
    transition: all 0.25s linear;
}

#header nav.mobile-navigation{
    display: none;
}

#header.openmobilenav .mobile-navigation { 
    display: block; 
}

#header.openmobilenav.anim .mobile-navigation {
     opacity: 1; 
     -webkit-transform: translateY(0px); 
     transform: translateY(0px); 
}

#header .mobile-navigation { 
    display: none; opacity: 0; background: #fff; position: fixed; left: 0; width: 100%; 
    height: calc(var(--app-height) - 100px); overflow: hidden; -webkit-transform: translateY(100px); transform: translateY(100px); top: 100px; -webkit-transition: all 0.35s ease; transition: all 0.35s ease; }

#header .mobile-navigation .wrappermenu { 
    -webkit-transition: all 0.35s ease; transition: all 0.35s ease; -webkit-transform: translateX(0); transform: translateX(0); white-space: nowrap; display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; overflow: auto; overflow-x: hidden; height: calc(100vh - 100px); }

#header .mobile-navigation .wrappermenu ul { 
    padding: 0; margin: 0; padding-top: 0; display: block; width: 100%; 
}

#header .mobile-navigation ul#mobile-menu { 
    padding: 35px 30px 100px;
    margin: 0; 
    
    
    position: relative; }
#header .mobile-navigation ul#mobile-menu li {    
    padding: 0; margin: 0; display: block; 
}

#header .mobile-navigation ul#mobile-menu li > a {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 26px;
    /* identical to box height, or 18px */
    padding: 0 20px;
    display: flex;
    align-items: center;
    letter-spacing: 0.02em;
    text-transform: uppercase;

    /* Gray/60 */

    color: #8690A2;
}


#header .mobile-navigation ul#mobile-menu li > .sub-menu { 
    display: block !important; 
    margin: 0;
     padding: 0; }
#header .mobile-navigation ul#mobile-menu li > .sub-menu li {
     margin: 0; padding: 0; 
    }
#header .mobile-navigation ul#mobile-menu li + li {
    margin-top: 30px;
}
body #header .mobile-navigation ul#mobile-menu li > a + .sub-menu > li > a {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 24px;
    padding: 0 20px;
    display: block;
    color: #21242C;
    text-decoration: none;
    text-transform: none;
}

#header #burgermobile{
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    margin-left: 15px;
    position: relative;
    background: transparent;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

#header #burgermobile span {
    -webkit-transition: all 0.15s linear;
    transition: all 0.15s linear;
    width: 32px;
    height: 4px;
    border-radius: 3px;
    background: #fff;
    display: block;
}

#header #burgermobile span + span {
    margin-top: 9px;
}

#header nav ul a:focus,
#header nav ul a:hover{
    color: #B7BECD;
}

#header nav ul a:focus::after,
#header nav ul a:hover::after{
    background-color: #B7BECD;
}

#header nav ul a[href='#']{
    cursor: default;
}

#mobile-menu{
    display: none;
}

.main-menu{
    display: flex;
    align-items: center;
    gap:20px;
    margin: 0;
    height: 100%; 
}
.main-menu li {
    height: 100%;  
    position: relative;
}



.main-menu li.has-submenu > a{
    white-space: nowrap;
}
.main-menu li.has-submenu > a::after{
    content: ' ';
    display: inline-block;
    background-color: #fff;
    transition: all 0.25s linear;
    mask-image: url(../images/icon/more.svg);
    mask-position: center;
    mask-size: contain;
    -webkit-mask-image: url(../images/icon/more.svg);
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    min-width: 14px;
    width: 14px;
    height: 14px;
    margin-left: 5px;
    transform: rotate(90deg);
}


.main-menu li a {
    height: 100%;  
    display: flex;
    align-items: center;
    letter-spacing: 0.02em;
}
.main-menu .sub-menu{
    display: none;
    position: absolute;
    padding: 5px 0px;
    background: #FFFFFF;
    margin: 0;
    transform: translateY(40px);
    transition: all 0.25s linear;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

#header nav ul.main-menu .sub-menu li a {
    color: #8690A2;
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    padding: 10px 15px;
    transition: all 0.25s linear;
}
#header nav ul.main-menu .sub-menu li a:hover{
    color: #21242C;
}
.main-menu .sub-menu.menuappear{
    display: block;
    opacity: 0;
}
.main-menu .sub-menu.menuappear.showmenu{
    opacity: 1;
    transform: translateY(-20px);
}


#header .headerlogo a span{
    font-family: 'Raleway';
}
#header .headerlogo a {
    display: flex;
    color: #fff;
    height: 100%;
    font-family: 'Raleway';
    font-style: normal;
    align-items: center;
    font-weight: 700;
    font-size: 16px;
    line-height: 125%;
}
#header .headerlogo a span{
    display: block;
}
#header .headerlogo a span span{
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 19px;
}

#header .headerlogo .logoheader {
    display: inline-block;
    vertical-align: middle;
    float: left;
    margin-right: 23px;
    width: 62px;
    height: 62px;
    object-fit: contain;
}

nav .navbar-fixed {
    z-index: 5;
}

#header .headerlogo h1.title {
    color: white;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 125%;
}

#header .headerlogo h2.ontitle {
    margin: 0;
    color: white !important;
    font-size: 15px !important;
    vertical-align: middle;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    display: inline-block;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.35);
}

#header .headerlogo .wrapflag {
    display: block;
    padding-top: 15px;
}

#header .headerlogo .flag {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

#header .partner {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
}

#header .partner a {
    height: 100%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

#header .partner a img {
    margin-left: 10px;
}

.search_home{
    background: #307110;
    text-align: center;
    padding-top: 15px;
    margin-bottom: 60px;
    position: relative;
}

.search_home:after{
    content: " ";
    position: absolute;
    top: 0;
    right: 0;   
    display : inline-block;
    height : 0;
    width : 0;
    border-left : var(--width-triangle) solid transparent;
    border-bottom : var(--height-triangle) solid #FFF;
}

.search_home:before{
    content: " ";
    position: absolute;
    top: 0;
    left: 0;   
    display : inline-block;
    height : 0;
    width : 0;
    border-right : var(--width-triangle) solid transparent;
    border-bottom : var(--height-triangle) solid #FFF;
}



.search_home h2{
    font-family: 'Raleway';
    margin: 0;
      color: #fff;
    font-style: normal;
    font-weight: 300;
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 28px;
}

.search_home form{
    max-width: 676px;
    width: calc(100% - 30px);
    margin: 0 auto;
    transform: translateY(22px);
    display: flex;
    position: relative;
}

.search_home form input[type=text]{
    width: 100%;
    border: 2px solid #307110;
    border-radius: 100px;
    height: 52px;
}

#keywordInputBigSearch,
.search_home form input[type=submit]{
    position: absolute;
    width: 42px;
    height: 42px;    
    border-radius: 38px;
    display: block;
    border:none;
    right: 5px;
    top: 5px;
    transition: all 0.3s linear;
    background: #307110 url(../images/icon/search.svg) no-repeat center;
}


#keywordInputBigSearc:focus,
#keywordInputBigSearch:hover,
.search_home form input[type=submit]:focus,
.search_home form input[type=submit]:hover{
    background-color: #4B5362;
}

.textnojo.collapsible {
    margin: 0;
}

.textnojo.collapsible li.collapsible-header {
    height: 45px;
    transition: all 0.3s ease;
}

.textnojo.collapsible li.collapsible-header:hover {
    border-bottom: 1px solid #009543;
}

.textnojo.collapsible li.collapsible-header:hover h4 {
    transform: translateX(5px);
}

.textnojo.collapsible li.collapsible-header h4 {
    line-height: 45px !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.3s ease;
}

.textnojo.collapsible li.collapsible-header h4 i {
    line-height: 45px;
    margin-top: 0;
}

.textnojo.collapsible li.collapsible-body {
    background: white;
    padding-bottom: 10px;
}

.textnojo.collapsible li.collapsible-body a.readtexte {
    display: block;
    margin: 15px 0px 10px !important;
    padding: 0;
    font-size: 14px!important;
    padding-left: 20px!important;
    padding-right: 20px!important;
    border: none !important;
}

.textnojo.collapsible li.collapsible-body span.nolinktexte {
    display: block;
    margin: 16px 0px 19px !important;
    padding: 0;
    font-size: 14px!important;
    padding-left: 20px!important;
    padding-right: 20px!important;
    line-height: 18px;
}

.textnojo.collapsible li.collapsible-body a.readtexte i {
    vertical-align: middle;
    margin-left: 4px;
}

li.greybgres .jotitle {
    color: #009543 !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    font-size: 1rem !important;
    padding-right: 0 !important;
    margin-right: 0 !important;
}

li.greybgres span.jotitle {
    color: inherit !important;
}

a.imglink{
  background-size: cover;
  background-position: center;
  display: block;
  width:100%;
  height: 300px;
}

.vert{
    color: #307110 !important;
}


/* Switch 4 Specific Style Start */
.switch_box{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	height: auto;
    justify-content: flex-end;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
}

.input_wrapper{
    width: auto;
    height: auto;
  position: relative;
  cursor: pointer;
  margin-right: 10px;
  margin-left: 10px;

}

label.switchcontrol {
    cursor: pointer;
}

.input_wrapper input[type="checkbox"]{
    width: 50px;
    height: 30px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #D9E3F0;
    border-radius: 4px;
    position: relative;
    outline: 0;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.input_wrapper input[type="checkbox"]:after{
    position: absolute;
    content: "";
    top: 4px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #FFFFFF;
    z-index: 2;
    border-radius: 2px;
    -webkit-transition: all .35s;
    transition: all .35s;
}

.input_wrapper svg{
  position: absolute;
  top: 50%;
  -webkit-transform-origin: 50% 50%;
          transform-origin: 50% 50%;
  fill: #fff;
  -webkit-transition: all .35s;
  transition: all .35s;
  z-index: 1;
}

.input_wrapper .is_checked{
    width: 12px;
    left: 14%;
  -webkit-transform: translateX(190%) translateY(-30%) scale(0);
          transform: translateX(190%) translateY(-30%) scale(0);
}

.input_wrapper .is_unchecked{
    width: 10px;
    right: 12%;
    -webkit-transform: translateX(0) translateY(-30%) scale(1);
    transform: translateX(0) translateY(-67%) scale(1);
}

/* Checked State */
.input_wrapper input[type="checkbox"]:checked{
  background: #319467;
}

.input_wrapper input[type="checkbox"]:checked:after{
  left: calc(100% - 27px);
}

.input_wrapper input[type="checkbox"]:checked + .is_checked{
          transform: translateX(0) translateY(-63%) scale(1);
}

.input_wrapper input[type="checkbox"]:checked ~ .is_unchecked{
  -webkit-transform: translateX(-190%) translateY(-30%) scale(0);
          transform: translateX(-190%) translateY(-30%) scale(0);
}

/* Switch 4 Specific Style End */


/* ===== GESTION RTL POUR L'ARABE ===== */

/* Direction générale */
html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

/* NAVIGATION ET MENUS */
html[dir="rtl"] #header nav {
    margin-right: 0;
    margin-left: 120px;
}

html[dir="rtl"] .main-menu {
    direction: rtl;
}

html[dir="rtl"] .main-menu li {
    text-align: right;
}

html[dir="rtl"] .main-menu li a {
    direction: rtl;
    text-align: right;
}

/* Sous-menus en RTL */
html[dir="rtl"] .main-menu .sub-menu {
    direction: rtl;
    text-align: right;
    right: 0;
    left: auto;
}

html[dir="rtl"] .main-menu .sub-menu li {
    text-align: right;
}

html[dir="rtl"] .main-menu .sub-menu li a {
    direction: rtl;
    text-align: right;
    padding: 10px 15px 10px 15px;
}

html[dir="rtl"] .card .card-title h2 {
    padding-left: 0;
    padding-right: 10px;
}

/* Menu mobile en RTL - Forcer la largeur complète */
html[dir="rtl"] .mobile-navigation {
    direction: ltr; /* Structure LTR pour éviter les problèmes de layout */
    text-align: left; /* Alignement par défaut */
    margin: 0 !important; /* Forcer margin 0 */
    padding: 0 !important; /* Forcer padding 0 */
    width: 100% !important; /* Forcer largeur complète */
    left: 0 !important; /* Forcer position à gauche */
    right: auto !important; /* Annuler position droite */
}

html[dir="rtl"] #header .mobile-navigation {
    margin: 0 !important; /* Supprimer toutes les marges */
    padding: 0 !important; /* Supprimer tous les paddings */
    width: 100% !important; /* Largeur complète */
    left: 0 !important; /* Position à gauche */
}

html[dir="rtl"] #header .mobile-navigation .wrappermenu {
    margin: 0 !important; /* Supprimer marges */
    padding: 0 !important; /* Supprimer paddings */
    width: 100% !important; /* Largeur complète */
    left: 0 !important; /* Position à gauche */
    transform: translateX(0) !important; /* Annuler tout décalage */
}

html[dir="rtl"] #header .mobile-navigation .wrappermenu ul {
    margin: 0 !important; /* Supprimer marges */
    padding: 0 !important; /* Supprimer paddings externes */
    width: 100% !important; /* Largeur complète */
}

html[dir="rtl"] #header .mobile-navigation ul#mobile-menu {
    margin: 0 !important; /* Supprimer marges externes */
    padding: 35px 30px 100px !important; /* Garder seulement le padding interne */
    width: 100% !important; /* Largeur complète */
    left: 0 !important; /* Position à gauche */
}

html[dir="rtl"] #mobile-menu {
    direction: rtl; /* RTL pour le contenu */
    text-align: right; /* Texte à droite */
}

html[dir="rtl"] #mobile-menu li > a {
    direction: rtl; /* RTL pour les liens */
    text-align: right; /* Texte à droite */
    padding: 0 20px 0 20px;
}

html[dir="rtl"] #mobile-menu li > .sub-menu li > a {
    direction: rtl; /* RTL pour les sous-menus */
    text-align: right; /* Texte à droite */
    padding: 0 20px 0 20px;
}

/* CONTENU GÉNÉRAL */
html[dir="rtl"] .container {
    direction: rtl;
}

html[dir="rtl"] #content {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] #content h1 {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] #content h1 i.flag-jo,
html[dir="rtl"] #content h1 i.flag-cr,
html[dir="rtl"] #content h1 i.flag-dc,
html[dir="rtl"] #content h1 i.flag-di {
    margin-right: 0;
    margin-left: 20px;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] p,
html[dir="rtl"] div,
html[dir="rtl"] span,
html[dir="rtl"] li {
    direction: rtl;
    text-align: right;
}

/* LISTES ET COLLECTIONS */
html[dir="rtl"] .collection {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .collection a.collection-item {
    direction: rtl;
    text-align: right;
    padding: 0 5px 0 5px;
}

html[dir="rtl"] .collection a.collection-item:not(.active):hover {
    padding-right: 10px;
    padding-left: 5px;
}

html[dir="rtl"] .collection a.collection-item i {
    float: right;
    margin-left: 0;
    margin-right: 0;
}

/* CARTES */
html[dir="rtl"] .card .card-content ul li a,
html[dir="rtl"] .card .card-content ul li > span {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .card .card-content ul li a .tag {
    margin-right: 0;
    margin-left: 10px;
}

html[dir="rtl"] .card .card-content ul li a .name {
    padding-right: 0;
    padding-left: 20px;
}

html[dir="rtl"] .card .card-content ul li .links {
    margin-left: 0;
    margin-right: auto;
}

/* Correction pour les icônes PDF en mode RTL */
html[dir="rtl"] .card .card-content ul li a:after {
    margin-left: 0;
    margin-right: auto;
}

/* FORMULAIRES */

/* FORMULAIRES */
html[dir="rtl"] input[type=date],
html[dir="rtl"] input[type=email],
html[dir="rtl"] input[type=number],
html[dir="rtl"] input[type=password],
html[dir="rtl"] input[type=search],
html[dir="rtl"] input[type=tel],
html[dir="rtl"] input[type=text],
html[dir="rtl"] input[type=url],
html[dir="rtl"] textarea {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .search-form input[type=text].dateinput {
    background: #fff url(../images/icon/date.svg) no-repeat 9% center;
}

/* FOOTER */
html[dir="rtl"] #footer {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] #footer ul {
    direction: rtl;
    justify-content: flex-end;
}

html[dir="rtl"] #footer ul li {
    margin-right: 0;
    margin-left: 20px;
}

html[dir="rtl"] #footer ul li + li {
    padding-left: 0;
    padding-right: 20px;
    border-left: none;
    border-right: 1px solid #FFFFFF;
}

/* WYSIWYG CONTENT */
html[dir="rtl"] .wysiwyg {
    direction: rtl;
}

html[dir="rtl"] .wysiwyg h2,
html[dir="rtl"] .wysiwyg h3,
html[dir="rtl"] .wysiwyg p,
html[dir="rtl"] .wysiwyg a {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .wysiwyg ol,
html[dir="rtl"] .wysiwyg ul {
    padding-left: 0;
    padding-right: 1.4rem;
}

/* ICÔNES ET ÉLÉMENTS FLOTTANTS */
html[dir="rtl"] i.right {
    float: left;
    margin-left: 0;
    margin-right: 5px;
}

/* BURGER MENU */
html[dir="rtl"] #burgermobile {
    margin-left: 0;
    margin-right: 15px;
}

/* CORRECTION SPÉCIFIQUE POUR LES FLÈCHES DE MENU */
html[dir="rtl"] .main-menu li.has-submenu > a::after {
    margin-left: 0;
    margin-right: 5px;
}

/* CORRECTION SPÉCIFIQUE POUR LES FLÈCHES DES LIENS "MORE" */
html[dir="rtl"] a.more:after {
    margin-left: 0;
    margin-right: 5px;
    transform: scaleX(-1); /* Miroir horizontal pour inverser la flèche */
}

/* NEWS ET ARTICLES */
html[dir="rtl"] .newscard,
html[dir="rtl"] .newssingle {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .newscard .date:before,
html[dir="rtl"] .newssingle .date:before {
    margin-left: 5px;
    margin-right: 0;
}

/* PAGINATION */
html[dir="rtl"] .paging {
    text-align: left;
    direction: rtl;
}

/* JUMBOTRON */
html[dir="rtl"] .jumbotron {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .jumbotron .newsletter:before {
    margin-right: 0;
    margin-left: 15px;
}

.carousel-group-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    padding: 10px 50px;
    pointer-events: none;
    display: none; /* Caché par défaut, affiché par JS sur mobile */
}

.carousel-group-mobile.active {
    opacity: 1 !important;
    pointer-events: auto;
}

@media (max-width: 575px) {
    .carousel-group-mobile {
        padding: 15px 30px;
    }
    
    .carousel-group-mobile .col-12 {
        padding: 0 15px;
    }
}

/* ===== SÉLECTEUR DE LANGUE - VERSION MOBILE (position absolue) ===== */
.language-switcher-mobile {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    z-index: 100;
    animation: slideInFromRight 0.5s ease-out;
    display: block;
}

.language-switcher-mobile .lang-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #2c5530;
    border-radius: 25px;
    text-decoration: none;
    color: #2c5530;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    text-transform: none !important;
}

.language-switcher-mobile .lang-link:hover {
    background: #2c5530;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.3);
}

html[dir="rtl"] .language-switcher-mobile {
    right: auto;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

html[dir="rtl"] .language-switcher-mobile .lang-link {
    flex-direction: row-reverse;
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* ===== SÉLECTEUR DE LANGUE - VERSION DESKTOP (dans le menu) ===== */
.language-switcher-menu {
    display: none;
    align-items: center;
    margin-left: 15px;
}

.language-switcher-menu .lang-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #2c5530;
    border-radius: 25px;
    text-decoration: none;
    color: #2c5530 !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    text-transform: none !important;
}

.language-switcher-menu .lang-link:hover {
    background: #2c5530;
    color: white !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.3);
}

.language-switcher-menu .lang-link::after {
    display: none;
}

html[dir="rtl"] .language-switcher-menu {
    margin-left: 0;
    margin-right: 15px;
}

html[dir="rtl"] .language-switcher-menu .lang-link {
    flex-direction: row-reverse;
}

.lang-text {
    font-size: 14px;
    line-height: 1;
}

/* ===== MEDIA QUERY POUR DESKTOP (>= 990px) ===== */
@media (min-width: 990px) {
    .language-switcher-mobile {
        display: none !important;
    }
    
    .language-switcher-menu {
        display: flex !important;
        height:auto !important;
    }
    
    #header nav {
        margin-right: 0;
    }
    
    html[dir="rtl"] #header nav {
        margin-right: 0;
        margin-left: 0;
    }
}

/* ===== MEDIA QUERY POUR MOBILE (< 990px) ===== */
@media (max-width: 989px) {
    .language-switcher-mobile {
        display: block !important;
    }
    
    .language-switcher-menu {
        display: none !important;
    }
    
    #header nav {
        margin-right: 120px;
    }
    
    html[dir="rtl"] #header nav {
        margin-right: 0;
        margin-left: 120px;
    }

    .card.actus-card-carousel {
        margin-top: 0;
    }

    .actus-minister-info {
        margin-top: 0;
    }

    .actus-minister-info a {
        padding: 0;
    }
}
/* ===== STYLES CAROUSEL RTL ===== */
html[dir="rtl"] .carousel-prev {
    left: 15px !important;
    right: auto !important;
}

html[dir="rtl"] .carousel-next {
    right: 15px !important;
    left: auto !important;
}

html[dir="rtl"] .carousel-container {
    border-radius: 8px !important;
}

html[dir="rtl"] .carousel-slide {
    border-radius: 8px !important;
}

html[dir="rtl"] .carousel-slide img {
    border-radius: 8px !important;
}

html[dir="rtl"] .carousel-caption {
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

/* ===== VERSION RESPONSIVE ===== */
@media (max-width: 768px) {
    .language-switcher {
        top: 50%;
        transform: translateY(-50%);
        right: 60px; /* Augmenter l'espace pour éviter le burger menu */
    }
    
    html[dir="rtl"] .language-switcher {
        right: auto;
        left: 60px; /* Même ajustement pour RTL */
        top: 50%;
        transform: translateY(-50%);
    }
    
    /* Ajuster la navigation pour laisser plus d'espace */
    #header nav {
        margin-right: 130px; /* Augmenter la marge */
    }
    
    html[dir="rtl"] #header nav {
        margin-right: 0;
        margin-left: 130px; /* Augmenter la marge pour RTL */
    }
    
    /* S'assurer que le burger menu a assez d'espace */
    #header #burgermobile {
        margin-left: 15px;
        flex-shrink: 0; /* Empêcher la compression */
    }
    
    html[dir="rtl"] #burgermobile {
        margin-left: 0;
        margin-right: 15px;
    }
}

/* ===== STYLES SPÉCIFIQUES ACTUS JURIDIQUES ===== */

/* Classes pour remplacer les styles inline */
.actus-container {
    padding: 20px;
}

.actus-row-bottom {
    margin-bottom: 40px;
}

.actus-card-minister {
    min-height: 300px;
    margin-top: 55px;
}

.actus-card-minister-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.actus-minister-info img {
    width: 100%;
    height: auto; /* ← Changé de 100% à auto */
    max-width: 400px; /* Limite la taille max sur desktop */
    object-fit: cover;
    display: block;
    margin: 0 auto; /* Centrer l'image */
}

/* RTL - Même comportement qu'en français */
html[dir="rtl"] .actus-minister-info img {
    width: 100%;
    height: auto;
    max-width: 400px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.actus-minister-info p {
    margin-top: 10px;
}

.actus-card-carousel {
    min-height: 300px;
}

.actus-card-carousel-content {
    height: 100%;
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.actus-column-flex {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.actus-card-msgg {
    height: 230px;
}

.actus-card-msgg-title {
    padding: 0 15px;
}

.actus-card-msgg-content {
    height: calc(100% - 60px);
    padding: 0;
}

.actus-card-msgg-content p {
    padding: 15px;
}

.actus-card-publications {
    height: 230px;
}

.actus-card-publications-title {
    padding: 0 15px;
}

.actus-card-publications-content {
    height: calc(100% - 60px);
    padding: 0;
}

.actus-card-publications-content p {
    padding: 15px;
}

/* ===== CAROUSEL À 3 CARTES ===== */
.carousel-container-grid {
    position: relative;
    width: 100%;
    height: 280px !important;
    min-height: 280px !important;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-wrapper-grid {
    position: relative;
    width: 100%;
    height: 280px !important;
    min-height: 280px !important;
}

.carousel-group {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    padding: 10px 50px;
    pointer-events: none; /* Désactive les interactions pour les groupes cachés */
}

.carousel-group.active {
    opacity: 1 !important;
    pointer-events: auto; /* Réactive les interactions pour le groupe visible */
}

.carousel-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.carousel-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.carousel-card {
    height: 260px;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 3px;
    display: flex;
    flex-direction: column;
    background-color: #307110 !important;
    cursor: pointer;
}

.carousel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background-color: #307110 !important; /* Maintien de la couleur au hover */
}

.carousel-card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.carousel-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.carousel-card-content {
    flex: 1;
    padding: 10px;
    color: white !important;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #307110 !important; /* Force la couleur */
    min-height: 80px;
}

.carousel-card-content h4 {
    margin: 0;
    font-size: 0.8em;
    font-weight: 600;
    line-height: 1.2;
    color: white !important;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== FLÈCHES DE NAVIGATION ===== */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #333;
    z-index: 4;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.carousel-nav:hover {
    background: rgba(255,255,255,1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 10px; /* Repositionné pour être visible mais pas sur les cartes */
}

.carousel-next {
    right: 10px; /* Repositionné pour être visible mais pas sur les cartes */
}

.carousel-nav svg {
    width: 16px;
    height: 16px;
}

/* ===== MEDIA QUERY POUR MOBILE 575PX - CAROUSEL 1 CARTE ===== */
@media (max-width: 575px) {
    /* Dans le carousel, masquer les cartes 2 et 3, ne garder que la première */
    .carousel-group .row .col-4:nth-child(2),
    .carousel-group .row .col-4:nth-child(3) {
        display: none;
    }
    
    /* La première carte prend toute la largeur */
    .carousel-group .row .col-4:nth-child(1) {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 15px;
    }
    
    /* Ajustements pour la carte unique */
    .carousel-card {
        height: 280px;
        margin: 0 auto;
        max-width: 320px;
    }
    
    .carousel-card-image {
        height: 200px;
    }
    
    .carousel-card-content {
        min-height: 80px;
        padding: 12px;
    }
    
    .carousel-card-content h4 {
        font-size: 0.9em;
        -webkit-line-clamp: 3;
    }
    
    /* Ajuster le padding du groupe pour la carte unique */
    .carousel-group {
        padding: 15px 30px;
    }
    
    /* Ajuster les flèches pour la carte unique */
    .carousel-prev {
        left: 5px;
    }
    
    .carousel-next {
        right: 5px;
    }

}


#header .headerlogo a .title {
    display: flex;
    flex-direction: column;
    font-family: 'Raleway';
}

#header .headerlogo a .title-line-1,
#header .headerlogo a .title-line-devise {
    display: block;
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 19px;
}

#header .headerlogo a .title-line-2 {
    display: block;
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 125%;
}

.headerlogo .title-line-1 {
    font-weight: 300;
    font-size: 16px;
    line-height: 19px;
}

.headerlogo .title-line-devise {
    font-weight: 300;
    font-size: 16px;
    line-height: 19px;
}

.headerlogo .title-line-2 {
    font-weight: 300;
    font-size: 16px;
    line-height: 19px;
}

.card.search-results .card-content ul li .links a.link-pdf:after {
    content: " ";
    display: block;
    background: no-repeat url(../images/icon/icon-pdf.svg);
    background-position: center;
    background-size: contain;
    min-width: 24px;
    width: 24px;
    height: 24px;
}

.card.search-results .card-content ul li .links a.link-jo:after {
    content: " ";
    display: block;
    background: no-repeat url(../images/icon/icon-jo.svg);
    background-position: center;
    background-size: contain;
    min-width: 24px;
    width: 24px;
    height: 24px;
}

/* ===== VERSION RESPONSIVE POUR TABLETTES (769px à 989px) ===== */
@media (min-width: 769px) and (max-width: 989px) {
    .language-switcher {
        top: 50%;
        transform: translateY(-50%);
        right: 60px;
    }
    
    html[dir="rtl"] .language-switcher {
        right: auto;
        left: 60px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    #header nav {
        margin-right: 130px;
    }
    
    html[dir="rtl"] #header nav {
        margin-right: 0;
        margin-left: 130px;
    }
    
    #header #burgermobile {
        margin-left: 15px;
        flex-shrink: 0;
    }
    
    html[dir="rtl"] #burgermobile {
        margin-left: 0;
        margin-right: 15px;
    }
}

/* ===== VERSION RESPONSIVE POUR MOBILE (768px et moins) ===== */
@media (max-width: 768px) {
    .language-switcher {
        top: 50%;
        transform: translateY(-50%);
        right: 60px;
    }
    
    html[dir="rtl"] .language-switcher {
        right: auto;
        left: 60px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    #header nav {
        margin-right: 130px;
    }
    
    html[dir="rtl"] #header nav {
        margin-right: 0;
        margin-left: 130px;
    }
    
    #header #burgermobile {
        margin-left: 15px;
        flex-shrink: 0;
    }
    
    html[dir="rtl"] #burgermobile {
        margin-left: 0;
        margin-right: 15px;
    }
}

/* ===== CORRECTIONS RTL POUR LE HEADER ===== */

html[dir="rtl"] #header .headerlogo .logoheader {
    float: none; /* Désactiver le float */
    display: inline-block; /* Revenir à inline-block pour un alignement correct */
    vertical-align: middle;
    margin-right: 23px; /* Marge à droite du logo (qui est maintenant à droite du texte) */
    margin-left: 0;
}

html[dir="rtl"] #header .headerlogo a {
    flex-direction: row; /* Garder l'ordre normal car nous avons déjà inversé dans le HTML */
    justify-content: flex-start; /* Aligner à gauche dans le conteneur RTL */
}

html[dir="rtl"] #header #burgermobile {
    margin-left: 0;
    margin-right: 20px;
}

/* ===== VERSION RESPONSIVE POUR TABLETTES RTL (769px à 989px) ===== */
@media (min-width: 769px) and (max-width: 989px) {
    html[dir="rtl"] .language-switcher {
        right: auto;
        left: 60px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    html[dir="rtl"] #header nav {
        margin-right: 0;
        margin-left: 130px;
    }
    
    html[dir="rtl"] #burgermobile {
        margin-left: 0;
        margin-right: 20px;
    }
    
    html[dir="rtl"] #header .headerlogo .logoheader {
        margin-right: 20px;
        margin-left: 0;
    }
}

/* ===== VERSION RESPONSIVE POUR MOBILE RTL (768px et moins) ===== */
@media (max-width: 768px) {
    html[dir="rtl"] .language-switcher {
        right: auto;
        left: 60px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    html[dir="rtl"] #header nav {
        margin-right: 0;
        margin-left: 130px;
    }
    
    html[dir="rtl"] #burgermobile {
        margin-left: 0;
        margin-right: 20px;
    }
    
    html[dir="rtl"] #header .headerlogo .logoheader {
        margin-right: 15px;
        margin-left: 0;
    }
}

@media (max-width: 989px) {
    .actus-container {
        display: flex;
        flex-direction: column;
        padding: 15px;
    }
    
    .actus-row .col-md-8 {
        order: 2;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .actus-row .col-md-4 {
        order: 1;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .actus-row-bottom .col-md-4:nth-child(2) {
        order: 3;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .actus-row-bottom .col-md-4:nth-child(3) {
        order: 4;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .actus-row-bottom .col-md-4:nth-child(1) {
        display: none;
    }
    
    .actus-row,
    .actus-row-bottom {
        display: flex;
        flex-direction: column;
        margin-bottom: 0;
    }
    
    .actus-card-minister,
    .actus-card-carousel {
        min-height: auto;
    }
    
    .actus-card-carousel-content {
        min-height: 250px;
    }
    
    .carousel-container-grid {
        height: 250px !important;
        min-height: 250px !important;
    }
    
    .carousel-wrapper-grid {
        height: 250px !important;
        min-height: 250px !important;
    }
    
    .carousel-card {
        height: 230px;
    }
    
    .carousel-card-image {
        height: 150px;
    }
    
    .actus-minister-info {
        text-align: center;
    }
    
    .actus-minister-info img {
        max-width: 315px !important;
        width: 100%;
        height: auto !important;
        margin: 0 auto 15px;
    }
    
    html[dir="rtl"] .actus-minister-info img {
        max-width: 315px !important;
        width: 100%;
        height: auto !important;
        margin: 0 auto 15px;
    }
    
    .actus-minister-info h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .actus-minister-info h3 {
        font-size: 14px;
        margin-bottom: 15px;
    }
}

@media (max-width: 575px) {
    .actus-container {
        padding: 10px;
    }
    
    .actus-card-carousel-content {
        min-height: 220px;
    }
    
    .carousel-container-grid {
        height: 220px !important;
        min-height: 220px !important;
    }
    
    .carousel-wrapper-grid {
        height: 220px !important;
        min-height: 220px !important;
    }
    
    .carousel-card {
        height: 200px;
    }
    
    .carousel-card-image {
        height: 130px;
    }
    
    .actus-minister-info img {
        max-width: 280px !important;
        height: auto !important;
    }
    
    html[dir="rtl"] .actus-minister-info img {
        max-width: 280px !important;
        height: auto !important;
    }
    
    .actus-minister-info h2 {
        font-size: 16px;
    }
    
    .actus-minister-info h3 {
        font-size: 13px;
    }
}

@media (min-width: 576px) and (max-width: 989px) {
    .actus-minister-info img {
        max-width: 400px !important;
    }
    
    html[dir="rtl"] .actus-minister-info img {
        max-width: 400px !important;
    }
}

/* CORRECTION SPÉCIFIQUE POUR LES FLÈCHES DES LIST-GROUP-ITEM */
html[dir="rtl"] .list-group-item:after {
    margin-left: 0;
    margin-right: 5px;
    transform: scaleX(-1); /* Miroir horizontal pour inverser la flèche */
}

/* ===== CORRECTIONS RTL POUR LE HEADER - ALTERNATIVE ===== */

html[dir="rtl"] #header .headerlogo .logoheader {
    float: none;
    display: block;
    order: 2; /* Mettre le logo en deuxième */
    margin-right: 0;
    margin-left: 23px;
}

html[dir="rtl"] #header .headerlogo a .title {
    order: 1; /* Mettre le texte en premier */
}

html[dir="rtl"] #header .headerlogo a {
    flex-direction: row; /* Garder l'ordre normal mais utiliser order */
    justify-content: flex-start;
}

/* ===== CORRECTIONS RTL POUR LE HEADER - APPROCHE FLEX SIMPLE ===== */

/* Forcer le conteneur parent à utiliser flexbox en RTL */
html[dir="rtl"] #header .headerlogo a {
    display: flex !important;
    align-items: center !important;
    flex-direction: row-reverse !important; /* Inverser l'ordre */
}

/* Désactiver complètement le float pour le logo en RTL */
html[dir="rtl"] #header .headerlogo .logoheader {
    float: none !important;
    display: block !important;
    margin-right: 0 !important;
    margin-left: 23px !important;
}

/* S'assurer que le texte ne flotte pas non plus */
html[dir="rtl"] #header .headerlogo .title {
    float: none !important;
    display: block !important;
}

/* ===== FOOTER STICKY EN BAS DE PAGE ===== */

/* Supprimer les règles précédentes du footer fixe et revenir au footer sticky */
#footer {
    background: #307110 !important;
    padding: 12px 0 !important;
    margin: 0 !important;
    margin-top: 50px !important;
    display: block !important;
    /* Supprimer les propriétés fixed */
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
    z-index: auto !important;
    box-shadow: none !important;
}

/* Configuration pour que le footer soit toujours en bas de page */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 0 !important; /* Supprimer le padding-bottom ajouté précédemment */
}

/* Le contenu principal doit grandir pour pousser le footer en bas */
main#global,
#global {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#container {
    flex: 1;
    padding-bottom: 0 !important; /* Supprimer le padding-bottom ajouté précédemment */
}

/* Le footer se place automatiquement en bas grâce au flexbox */
#footer {
    margin-top: auto !important; /* Auto pour qu'il se place en bas */
    flex-shrink: 0; /* Empêche le footer de rétrécir */
}

/* Corrections RTL */
html[dir="rtl"] body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

html[dir="rtl"] main#global,
html[dir="rtl"] #global {
    flex: 1;
    display: flex;
    flex-direction: column;
}

html[dir="rtl"] #container {
    flex: 1;
}

html[dir="rtl"] #footer {
    margin-top: auto !important;
    flex-shrink: 0;
}

/* Corrections pour les structures de page alternatives */
.page-footer {
    margin-top: auto !important;
}

#footer-content.footer {
    margin-top: auto !important;
}

/* Responsive - pas de changements nécessaires */
@media (max-width: 768px) {
    body {
        padding-bottom: 0 !important; /* S'assurer qu'il n'y a pas de padding */
    }
}

/* ===== CORRECTION POUR ÉVITER LE CHEVAUCHEMENT DES CARTES H-100 AVEC LE FOOTER ===== */

/* Empêcher les éléments h-100 de chevaucher le footer sans ajouter de scroll */
.h-100 {
    height: calc(100% - 100px) !important; /* Réduire légèrement la hauteur pour laisser de l'espace au footer */
    min-height: auto !important;
}

/* Pour les cartes spécifiquement */
.card.h-100 {
    height: calc(100% - 80px) !important;
}

/* Pour les containers avec h-100 */
.container.h-100,
.container-fluid.h-100 {
    height: calc(100% - 60px) !important;
}

/* Pour les rows avec h-100 */
.row.h-100 {
    height: calc(100% - 40px) !important;
}

/* Dans le contenu principal, réduire encore plus pour être sûr */
#content .h-100,
#container .h-100 {
    height: calc(100% - 180px) !important;
}

/* Supprimer les propriétés de scroll ajoutées précédemment */
.card.h-100,
.h-100 {
    overflow-y: visible !important;
    max-height: none !important;
}

.card.h-100 .card-body {
    overflow-y: visible !important;
    max-height: none !important;
}

/* Responsive pour mobile - réduire encore plus l'espace */
@media (max-width: 768px) {
    .h-100 {
        height: calc(100% - 150px) !important;
    }
    
    .card.h-100 {
        height: calc(100% - 120px) !important;
    }
    
    #content .h-100,
    #container .h-100 {
        height: calc(100% - 180px) !important;
    }
}

/* Masquer les sidebars avec hauteur 100vh/120vh en dessous de 992px */
@media (max-width: 991.98px) {
    .d-flex.flex-column[style*="100vh"],
    .d-flex.flex-column[style*="120vh"] {
        display: none !important;
    }
    
    /* Forcer la colonne de contenu à prendre toute la largeur quand la sidebar est cachée */
    .row:has(.d-flex.flex-column[style*="100vh"]) .col-md-8,
    .row:has(.d-flex.flex-column[style*="120vh"]) .col-md-8 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

#box_search_btn_ar{
    margin-left: -30px;
    margin-right: -30px;
    margin-bottom: -30px;
    margin-top: 30px;
}

#box_search_btn_ar .btn{
    border-radius: 0px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 150%;
    /* identical to box height, or 21px */
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 0.7rem 1rem;
}

.btn-dark{
    background-color: #307110;
    border-color: #307110;
}

/* Couleur verte pour le bouton clear (×) dans les select2 - toutes langues */
.select2-container .select2-selection--single .select2-selection__clear {
    color: #409615 !important;
}

.select2-container .select2-selection--single .select2-selection__clear span {
    color: #409615 !important;
}

/* Datepicker - Couleur verte pour la date sélectionnée */
.datepicker table tr td.active,
.datepicker table tr td.active:hover,
.datepicker table tr td.active.disabled,
.datepicker table tr td.active.disabled:hover,
.datepicker table tr td.selected,
.datepicker table tr td.selected:hover,
.datepicker table tr td.selected.disabled,
.datepicker table tr td.selected.disabled:hover {
    background-color: #409615 !important;
    background-image: none !important;
    border-color: #409615 !important;
    color: #fff !important;
    text-shadow: none !important;
}

.datepicker table tr td.active:active,
.datepicker table tr td.active:hover:active,
.datepicker table tr td.selected:active,
.datepicker table tr td.selected:hover:active {
    background-color: #409615 !important;
}

.datepicker table tr td.today,
.datepicker table tr td.today:hover,
.datepicker table tr td.today.disabled,
.datepicker table tr td.today.disabled:hover {
    background-color: #f5f5f5 !important;
    border: 1px solid #409615 !important;
    color: #409615 !important;
}

@media (max-width: 400px) {
.headerlogo {
min-width: 50% !important;

}
}

/* ===== CORRECTIONS OVERFLOW À 375PX VERSION ARABE ===== */

/* Réduire le padding du container sur très petits écrans */
@media (max-width: 400px) {
    .container {
        max-width: calc(100% - 30px); /* Réduire de 60px à 30px */
        padding-right: 15px;
        padding-left: 15px;
    }
    
    /* Réduire les marges du nav pour éviter l'overflow */
    #header nav {
        margin-right: 70px !important; /* Au lieu de 120px */
    }
    
    html[dir="rtl"] #header nav {
        margin-right: 0 !important;
        margin-left: 70px !important; /* Au lieu de 120px */
    }
    
    /* S'assurer que le header container est à 100% */
    #header .container {
        max-width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }
    
    /* Ajuster le sélecteur de langue */
    .language-switcher-mobile {
        right: 10px; /* Au lieu de 20px */
    }
    
    html[dir="rtl"] .language-switcher-mobile {
        left: 10px;
        right: auto;
    }
    
    /* Réduire la taille du bouton burger */
    #header #burgermobile {
        margin-left: 10px;
    }
    
    html[dir="rtl"] #burgermobile {
        margin-left: 0;
        margin-right: 10px;
    }
    
    /* S'assurer que le logo ne déborde pas */
    #header .headerlogo .logoheader {
        width: 50px; /* Au lieu de 62px */
        height: 50px;
        margin-right: 15px; /* Au lieu de 23px */
    }
    
    html[dir="rtl"] #header .headerlogo .logoheader {
        margin-left: 15px;
        margin-right: 0;
    }
    
    /* Réduire la taille du texte du header */
    #header .headerlogo a {
        font-size: 14px; /* Au lieu de 16px */
    }
    
    #header .headerlogo a span span {
        font-size: 14px; /* Au lieu de 16px */
    }
    
    /* Forcer la navigation mobile à ne pas déborder */
    html[dir="rtl"] #header .mobile-navigation,
    #header .mobile-navigation {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    /* S'assurer que tous les éléments dans body ne débordent pas */
    body {
        overflow-x: hidden;
    }
    
    html[dir="rtl"] body {
        overflow-x: hidden;
    }
}

/* Correction spécifique pour exactement 375px */
@media (max-width: 375px) {
    .container {
        max-width: calc(100% - 20px);
    }
    
    #header .container {
        max-width: 100%;
    }
}

/* ===== CORRECTIONS POUR LES IMAGES SUR MOBILE - PAGE MOT DU MINISTRE ===== */

/* Toutes les images dans le contenu principal doivent être responsives */
#content img,
.card-content img,
.content-placeholder img,
.wysiwyg img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Sur mobile, limiter la taille maximale des images */
@media (max-width: 767px) {
    #content img,
    .card-content img,
    .content-placeholder img,
    .wysiwyg img {
        max-width: 100%;
        height: auto;
        margin: 0 auto 20px; /* Centrer l'image et ajouter un espace en bas */
    }
    
    /* Pour les très petits écrans (mobiles), limiter encore plus */
    @media (max-width: 575px) {
        #content img,
        .card-content img,
        .content-placeholder img,
        .wysiwyg img {
            max-width: 280px; /* Limiter à 280px sur très petits écrans */
            height: auto;
            margin: 0 auto 15px;
        }
    }
    
    /* Pour les écrans très étroits comme 375px */
    @media (max-width: 400px) {
        #content img,
        .card-content img,
        .content-placeholder img,
        .wysiwyg img {
            max-width: 240px; /* Encore plus petit pour 375px */
            height: auto;
            margin: 0 auto 15px;
        }
        #header {
            min-height: 80px;
            height: 80px;
        }
        
        /* Réduire la taille du logo */
        #header .headerlogo .logoheader {
            width: 45px; /* Au lieu de 62px */
            height: 45px;
            margin-right: 12px; /* Au lieu de 23px */
        }
        
        html[dir="rtl"] #header .headerlogo .logoheader {
            margin-left: 12px;
            margin-right: 0;
        }
        
        /* Réduire la taille du texte du header */
        #header .headerlogo a {
            font-size: 12px; /* Au lieu de 16px */
            line-height: 1.2;
        }
        
        #header .headerlogo a span {
            font-size: 12px;
        }
        
        #header .headerlogo a span span {
            font-size: 12px; /* Au lieu de 16px */
            line-height: 1.2;
        }
        
        /* Réduire la largeur du logo header pour laisser plus d'espace */
        #header .headerlogo {
            max-width: 50% !important; /* Limiter à 50% de la largeur */
            min-width: auto !important;
            flex-shrink: 1 !important;
        }
        
        /* BOUTON DE LANGUE - Version compacte */
        .language-switcher-mobile {
            right: 55px !important; /* Positionner à gauche du burger */
            top: 50%;
            transform: translateY(-50%);
        }
        
        html[dir="rtl"] .language-switcher-mobile {
            left: 55px !important; /* Version RTL */
            right: auto !important;
        }
        
        .language-switcher-mobile .lang-link {
            padding: 6px 10px !important; /* Au lieu de 8px 15px */
            gap: 5px !important; /* Au lieu de 8px */
            font-size: 11px !important;
            border: 1.5px solid #2c5530 !important; /* Bordure plus fine */
        }
        
        .lang-text {
            font-size: 11px !important; /* Au lieu de 14px */
        }
        
        /* BURGER MENU - Version compacte */
        #header #burgermobile {
            width: 35px !important; /* Au lieu de 40px */
            height: 35px !important;
            margin-left: 8px !important; /* Au lieu de 10px */
            flex-shrink: 0;
        }
        
        html[dir="rtl"] #header #burgermobile {
            margin-left: 0 !important;
            margin-right: 8px !important;
        }
        
        #header #burgermobile span {
            width: 26px !important; /* Au lieu de 32px */
            height: 3px !important; /* Au lieu de 4px */
        }
        
        #header #burgermobile span + span {
            margin-top: 7px !important; /* Au lieu de 9px */
        }
        
        /* Réduire les marges du nav */
        #header nav {
            margin-right: 100px !important; /* Au lieu de 120px */
        }
        
        html[dir="rtl"] #header nav {
            margin-right: 0 !important;
            margin-left: 100px !important;
        }
        
        /* Assurer que le container utilise toute la largeur */
        #header .container {
            max-width: 100%;
            padding-right: 8px;
            padding-left: 8px;
            justify-content: space-between;
            gap: 8px;
        }
        
/* Ajuster la navigation mobile pour la nouvelle hauteur */
#header .mobile-navigation {
    height: calc(var(--app-height) - 80px) !important;
    top: 80px !important;
}

/* État fermé : décalage de 80px */
#header:not(.openmobilenav) .mobile-navigation {
    transform: translateY(80px) !important;
}

/* État ouvert : aucun décalage */
#header.openmobilenav.anim .mobile-navigation {
    transform: translateY(0px) !important;
}

#header .mobile-navigation .wrappermenu {
    height: calc(100vh - 80px) !important;
}
    }
}
    /* ===== CORRECTION DÉBORDEMENT TITRE FRANÇAIS EN DESSOUS DE 375PX ===== */

@media (max-width: 375px) {
    /* Augmenter la largeur du headerlogo pour le texte français */
    #header .headerlogo {
        max-width: 60% !important; /* Au lieu de 50% ou 45% */
        min-width: auto !important;
        flex-shrink: 1 !important;
        flex-grow: 1 !important; /* Permettre de grandir si nécessaire */
    }
    
    /* Réduire encore plus les marges pour gagner de l'espace */
    #header .headerlogo .logoheader {
        width: 38px !important;
        height: 38px !important;
        margin-right: 8px !important; /* Réduire la marge */
    }
    
    html[dir="rtl"] #header .headerlogo .logoheader {
        margin-left: 8px !important;
        margin-right: 0 !important;
    }
    
    /* Permettre au texte de passer sur 2 lignes si nécessaire */
    #header .headerlogo a span {
        line-height: 1.15 !important; /* Ligne plus serrée */
    }
    
    /* Réduire un peu plus la taille de police */
    #header .headerlogo a {
        font-size: 10.5px !important;
    }
    
    #header .headerlogo a span span {
        font-size: 10.5px !important;
        line-height: 1.15 !important;
    }
    
    /* Ajuster l'espace disponible pour les boutons à droite */
    #header nav {
        margin-right: 85px !important; /* Réduire pour laisser plus d'espace au titre */
    }
    
    html[dir="rtl"] #header nav {
        margin-right: 0 !important;
        margin-left: 85px !important;
    }
}

@media (max-width: 360px) {
    /* Pour les écrans encore plus petits */
    #header .headerlogo {
        max-width: 62% !important; /* Encore plus d'espace */
    }
    
    #header .headerlogo .logoheader {
        width: 36px !important; /* Logo encore plus petit */
        height: 36px !important;
        margin-right: 6px !important;
    }
    
    html[dir="rtl"] #header .headerlogo .logoheader {
        margin-left: 6px !important;
        margin-right: 0 !important;
    }
    
    #header .headerlogo a {
        font-size: 10px !important;
    }
    
    #header .headerlogo a span span {
        font-size: 10px !important;
    }
    
    /* Réduire encore l'espace des boutons */
    #header nav {
        margin-right: 80px !important;
    }
    
    html[dir="rtl"] #header nav {
        margin-right: 0 !important;
        margin-left: 80px !important;
    }
}

@media (max-width: 340px) {
    /* Pour les écrans extrêmement petits (Galaxy Fold, etc.) */
    #header .headerlogo {
        max-width: 65% !important;
    }
    
    #header .headerlogo .logoheader {
        width: 34px !important;
        height: 34px !important;
        margin-right: 5px !important;
    }
    
    html[dir="rtl"] #header .headerlogo .logoheader {
        margin-left: 5px !important;
        margin-right: 0 !important;
    }
    
    #header .headerlogo a {
        font-size: 9.5px !important;
    }
    
    #header .headerlogo a span span {
        font-size: 9.5px !important;
    }
    
    /* Bouton de langue ultra compact */
    .language-switcher-mobile .lang-link {
        padding: 3px 6px !important;
        font-size: 8.5px !important;
    }
    
    .lang-text {
        font-size: 8.5px !important;
    }
    
    /* Burger ultra compact */
    #header #burgermobile {
        width: 30px !important;
        height: 30px !important;
        margin-left: 5px !important;
    }
    
    html[dir="rtl"] #header #burgermobile {
        margin-left: 0 !important;
        margin-right: 5px !important;
    }
    
    #header #burgermobile span {
        width: 22px !important;
        height: 2px !important;
    }
    
    #header nav {
        margin-right: 75px !important;
    }
    
    html[dir="rtl"] #header nav {
        margin-right: 0 !important;
        margin-left: 75px !important;
    }
}

/* ===== VERSION ARABE - MÊMES RÈGLES QUE FRANÇAIS ===== */

/* Règle de base arabe */
html[dir="rtl"] #content img,
html[dir="rtl"] .card-content img,
html[dir="rtl"] .content-placeholder img,
html[dir="rtl"] .wysiwyg img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile arabe - mêmes limites que français */
@media (max-width: 767px) {
    html[dir="rtl"] #content img,
    html[dir="rtl"] .card-content img,
    html[dir="rtl"] .content-placeholder img,
    html[dir="rtl"] .wysiwyg img {
        max-width: 100%;
        height: auto;
        margin: 0 auto 20px;
    }
    
    /* Petits écrans arabe - même limite 280px */
    @media (max-width: 575px) {
        html[dir="rtl"] #content img,
        html[dir="rtl"] .card-content img,
        html[dir="rtl"] .content-placeholder img,
        html[dir="rtl"] .wysiwyg img {
            max-width: 280px !important;
            height: auto;
            margin: 0 auto 15px;
        }
    }
    
    /* Très petits écrans arabe - même limite 240px */
    @media (max-width: 400px) {
        html[dir="rtl"] #content img,
        html[dir="rtl"] .card-content img,
        html[dir="rtl"] .content-placeholder img,
        html[dir="rtl"] .wysiwyg img {
            max-width: 240px !important;
            height: auto;
            margin: 0 auto 15px;
        }
    }
}

/* Exception pour le header et autres zones spécifiques */
#header img,
#header .headerlogo img,
.card .card-title h2 img {
    max-width: none;
}

/* Mobile : masquer les deux premières lignes, garder seulement le ministère */
@media (max-width: 989px) {
    .headerlogo .title-line-1,
    .headerlogo .title-line-devise {
        display: none !important;
    }
    
    .headerlogo .title-line-2 {
        display: block;
    }
}

@media (max-width: 375px) {
    .headerlogo .title-line-1,
    .headerlogo .title-line-devise {
        display: none !important;
    }
    
    .headerlogo .title-line-2 {
        display: block !important;
    }
}

@media (max-width: 360px) {
    .headerlogo .title-line-1,
    .headerlogo .title-line-devise {
        display: none !important;
    }
    
    .headerlogo .title-line-2 {
        display: block !important;
    }
}

@media (max-width: 340px) {
    .headerlogo .title-line-1,
    .headerlogo .title-line-devise {
        display: none !important;
    }
    
    .headerlogo .title-line-2 {
        display: block !important;
    }
}