body {
  background-image: url(/images/bg-body.png);
  background-repeat: inherit;
  background-size: inherit;
  background-attachment: inherit;
  background-position: 0 0;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 0.95rem;
  line-height: 1.42857143;
  color: #333;
}

@font-face {
  font-family: 'Gotham Light';
  src: url('../fonts/gothamcondensed-light-webfont.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham Book';
  src: url('../fonts/gothamcondensed-book-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham Medium';
  src: url('../fonts/gothamcondensed-medium-webfont.woff') format('woff');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham Bold';
  src: url('../fonts/gothamcondensed-bold-webfont.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham Black';
  src: url('../fonts/gothamblack-webfont.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

body.ltr.offcanvs-position-left .body-wrapper {
  left: 0;
}
.body-wrapper {
  position: relative;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  backface-visibility: hidden;
}

.body-innerwrapper {
  background: #ffffff;
}
.body-innerwrapper {
  max-width: 1240px;
  margin: 0 auto;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
.body-innerwrapper {
  overflow-x: hidden;
}

.container {
  padding-left: 15px;
  padding-right: 15px;
}

:root {
  --cassiopeia-color-primary: #e75c21;
  --cassiopeia-color-hover: #F2B708;
  --cassiopeia-color-link: #e75c21;
}

/* Topbar */
#topbar {
  background: #f5f5f5;
    background-color: rgb(245, 245, 245);
  color: #aaaaaa;
}
#topbar {
  padding: 8px 0;
  font-size: 0.875rem;
}

#topbar li {
  color: #aaaaaa;
}

.contact-info {
  float: right;
  list-style: none;
  padding: 0;
  margin: 0 10px;
}

.contact-info li {
  display: inline-block;
  margin: 0px 10px 0px 0px;
  font-size: 90%;
  white-space: nowrap;
}

#topbar a{
  color: #e75c21;
}

.contact-info li {
  display: inline-block;
  margin: 0px 10px 0px 0px;
  font-size: 90%;
  white-space: nowrap;
}

/* header avec le logo */
.header {
  padding: 15px 15px 15px 15px;
}
.header {
  background: #ffffff none repeat scroll 0 0;
  box-shadow: 0 3px 3px rgba(0,0,0,0.05);
  height: 150px;
  left: 0;
  position: relative;
  top: 0;
  width: 100%;
  z-index: 99;
}

.header {
  box-shadow: none !important;
  height: 100% !important;
  margin: 10px 0 !important;
}

/* Menu principal */
section#menu {
  margin-top: -15px !important;
  padding-top: 0px !important;
}
#menu {
  padding: 15px 15px 15px 15px;
    padding-top: 15px;
}

#menu > div nav {
  height: 100%;
}

ul#menu {
  list-style: none;
  padding-top: 0;
  margin: 0;
  margin-bottom: 0px;
  margin-bottom: 0px;
  z-index: 99;
  display: block;
  float: right;
  position: relative;
}

ul#menu {
  float: left !important;
  margin-bottom: 20px !important;
}

.metismenu.mod-menu .metismenu-item.active > a, .metismenu.mod-menu .metismenu-item.active > button, .metismenu.mod-menu .metismenu-item > a:hover, .metismenu.mod-menu .metismenu-item > button:hover {
  text-decoration: none;
}

ul#menu > li:first-child {
  border-left-width: 0 !important;
  padding-left: 0 !important;
}
ul#menu > li {
  padding: 5px 17px !important;
  padding-left: 17px;
  padding-left: 17px;
  -webkit-transition: all .2s ease !important;
  -moz-transition: all .2s ease !important;
  -o-transition: all .2s ease !important;
  transition: all .2s ease !important;
  cursor: pointer !important;
  border-left: 1px solid #eaeaea !important;
  border-left-width: 1px;
  border-left-width: 1px;
}

ul#menu > li {
  cursor: pointer !important;
}
ul#menu {
  list-style: none;
}

ul#menu > li {
  display: inline-block;
  position: relative;
  padding: 0;
}

ul#menu > li.active > a {
  font-weight: 500;
}
ul#menu > li > a {
  border-bottom: 3px solid #e75c21 !important;
  font-size: 1.5em !important;
  line-height: 38px !important;
  font-family: 'Gotham Book' !important;
  color: #000 !important;
  letter-spacing: .01em !important;
  text-transform: uppercase !important;
  text-decoration: none;
  display: inline-block;
  padding: 0 15px;
}

li.metismenu-item button{
  font-family: "Font Awesome 5 Free";
  content: "";
  float: right;
  margin-left: 7px;
  font-weight: 900;
  margin-top: 15px;
}

li.metismenu-item{
  padding: 5px 17px !important;
}

/* Module de recherche */
div.recherche{
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.container-search {
  margin-top: -10px;
}

/* Bannière slider */
section#banner {
  margin-top: -15px !important;
  padding-top: 0px !important;
}
section#banner {
  padding: 0px !important;
}

.slide-desc-text-default .slide-title {
  font-size: 1.5em;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 600;
}

.slide-desc-bg-default {
  background-color: rgba(255,255,255,0.75) !important;
  -webkit-transition: all .2s ease !important;
  -moz-transition: all .2s ease !important;
  -o-transition: all .2s ease !important;
  transition: all .2s ease !important;
}

/* Breadcrumbs */
.breadcrumb {
  padding: 0.75rem 1rem;
  background-color: #e9ecef;
  border-radius: 0.25rem;
  list-style: none;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0 0;
  margin-bottom: 1rem;
  list-style: none;
}

.breadcrumb a{
  text-decoration: none;
}

ol .breadcrumb__item span, li{
  color: #333;
}

.breadcrumb-item a span{
  color: #e75c21!important;
}

/* Mise en page articles */
.blog {
  margin-bottom: 30px;
  padding: 20px;
}

.article-body{
  margin: 10px 30px 30px 30px;
}

.com-content-category-blog__item {
  margin-bottom: 30px;
  padding: 20px;
  border: 1px solid #f5f5f5;
  border-radius: 3px;
}

.blog-featured{
  padding-top: 20px;
}

.com-content-article.item-page{
  padding-top: 20px;
}


/*
.blog-item .item-content{
  margin-bottom: 30px;
  padding: 20px;
}
*/

.blog-items > .blog-item{
    margin-bottom: 30px;
  padding: 20px;
  border: 1px solid #f5f5f5;
  border-radius: 3px;
}


h2.item-title, h2.item-title a{
  color: #e75c21 !important;
  font-size: 2rem;
  font-family: 'Gotham Black' !important;
  text-decoration: none;
  margin: 0 0 1.25rem 0;
}

.item-title{
  border-bottom: 1px #eee solid !important;
  padding-bottom: 30px !important;
  margin-bottom: 30px !important;
  margin-top: 20px !important;
}

.page-header h2 {
  border-bottom: 1px #eee solid !important;
  font-size: 1.375rem;
  margin: 0 0 1.25rem 0;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 1.25rem;
  margin-left: 0px;
  padding-bottom: 1.5rem;
  color: #e75c21 !important;
  font-size: 2rem;
  font-family: 'Gotham Black' !important;
}

.page-header h2 a {
  text-decoration: none;
}

.article-details .article-header h1, .article-details .page-header h1 {
  font-size: 2.25rem;
}
.page-header h1 {
  color: #e75c21 !important;
  font-size: 2rem;
  font-family: 'Gotham Black' !important;
  border-bottom: 1px #eee solid !important;
  margin-bottom: 1.25rem;
  padding-bottom: 1.5rem;
}

div.w-100 .counter{
  padding-top: 0.5em!important;
}

/*Supprime le copyright de fetchrss */
span:has(a[href*="fetchrss.com"]) {
    display: none !important;
}

/*Limite le nombre de lignes du fil */
.feed-item-description  {
    display: -webkit-box;
    -webkit-line-clamp: 6; /* Nombre de lignes avant coupure */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* bar droite sidebar-right et sidebar-left */
.container-sidebar-right .sidebar-right {
  margin-top: 30px;
}

#container-sidebar-right .sidebar-right:first-child {
  margin-top: 2em;
}

#container-sidebar-right{
  padding: 0 30px 30px 30px ;
}

#container-sidebar-right .sidebar-right {
  margin-top: 50px;
  border: 1px solid #f3f3f3;
  padding: 20px;
  border-radius: 3px;
}

.sidebar-left .card-header, .sidebar-right .card-header {
  padding-bottom: 20px;
  font-size: 22px;
  font-weight: 700;
  border-bottom: 1px solid #f3f3f3;
  background-color: rgb(0,0,0,0);
  width:100%;
}
.card-header{
  font-family: 'Gotham Book' !important;
  font-size: 1.8em !important;
}

/* Module news CFDT Services / fil d'actualités */
.sidebar-right .newsfeed li, .newsfeed{
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-right .newsfeed a{
  text-decoration: none;
}

/* plugin pdf-embeded */
.embed-container {
  height: 100%;
}

/* Menu Offcanvas */
.offcanvas.show {
  background-color: #fff;
  background-image: none;
}

/* Module derniers articles main-bottom */
.main-bottom.card{
  margin: 10px 30px 30px 30px;

}

/* Footer adherer */
div.moduletable.footer3{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 400px;
}

div#adherer{
  font-size: 1.5rem;
}

#adherer a:nth-child(1){
  background-image: url('../images/bg-btn-grey.png');
  color: #757575;
  text-shadow: 1px 1px 2px #fff;
  letter-spacing: .01em;
  margin-right: 5px;
}

#adherer a{
  border-color: transparent;
  font-family: 'Gotham Bold';
  font-size: .9em;
  text-transform: uppercase;
  text-decoration: none;
}

#adherer a{
  float: left;
  padding: 10px 18px 10px 16px;
  background-color: #FFF;
  border-color: transparent;
  font-family: 'Gotham Bold';
  text-transform: uppercase;
  text-decoration: none;
}

#adherer a:nth-child(2){
  background-image: url('../images/bg-btn-orange.png');
  color: #e75c21;
  text-shadow: 1px 1px 2px #fff;
  letter-spacing: .05em;
}

.mapael div.mapTooltip {
  opacity: 1!important;
  background-color: #E75C21!important;
  max-width: 300px!important;
  height: auto;
  color: #fff;
}

.mapTooltip a{
  color: blue;
  font-style: italic;
}

@media (min-width: 992px) {
  .offcanvas-start {
    width: 100%;
  }
}
@media (max-width: 991.98px) {
  .offcanvas .metismenu.mod-menu .metismenu-item > ul {
    position: relative;
    width: 100%;
    margin-top: 1rem;
  }

  button.navbar-toggler-right span {
    color: #e75c21;
  }
  
  .navbar-toggler {
    font-size: 2rem;
    line-height: 2;
  }

  .navbar {
    position: relative;
    top: -10px;
    padding-bottom: 1rem;
  
  }

  div#logomobile img{
    max-width: 30%!important;
  }

  div#logomobile .btn-close{
    position: absolute;
    top: 25px;
    z-index: 1;
    right: 15px;
  }

  .offcanvas-body ul#menu{
    padding-top: none!important;
    display: flex;
  } 

  ul#menu > li {
    border-left: 0px!important;
    padding: 0!important;
    font-size: 18px;
    padding: 10px 0px!important;
    line-height: 18px;
  }

  .offcanvas .metismenu.mod-menu .mm-collapse {
    background-color: transparent;
  }
  .offcanvas .metismenu.mod-menu .metismenu-item > a {
    color: #fff;
  }
}
.offcanvas-header > *:only-child {
  margin-left: auto;
}

/* Footer reseau social, Footer1 */
.footer {
  background-color: --cassiopeia-color-primary;
  background-image: none ;
  margin-top: 1em;
}

ul.social-icons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-block;
}

ul.social-icons > li:not(:last-child) {
  margin-right: 20px;
}

ul.social-icons > li {
  display: inline-block;
  line-height: 1.5;
    color: #fff;
}

.footer .grid-child {
  justify-content: center;
  padding: 1em 2em;
}

footer div.grid-child #mod-custom214 ul li a {
  list-style: none;
  padding: 0;
  margin: 5px;
  display: inline-block;
}

footer div.grid-child #mod-custom219 a span{
  color: #fff!important;
}

footer div.grid-child #mod-custom219 span .fab, .icon-joomla {
  font-family: Font Awesome 5 Brands;
  font-weight: 400;
}

div#mod-custom219 {
  font-size: 2.5rem;
}

/* Footer 2, footer copyright */
footer div.mod-footer {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  padding: 2px 20px;
  font-family: 'Gotham Book';
  color: #FFF;
  font-size: 1.1em;
  letter-spacing: .02em;
  margin: 1rem;
}

footer.footer2{
  background-color: #000;
  padding:  7px 0 !important;
  line-height: 20px;
}

/* Aligner la section du footer contenant les liens Mentions Légales et CFDT Services à droite */
.footer-legal {
    display: flex;
    justify-content: flex-end; /* Aligne tout à droite */
    width: 100%;
    padding-right: 20px;
}

/* Appliquer la flexbox sur la liste */
.footer-legal ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Ajouter un espace entre les éléments */
.footer-legal ul li {
    margin-left: 15px;
}

/* Assurer que le footer est bien organisé */
.footer2 {
    display: flex;
  flex-direction: row;
    justify-content: flex-end; /* Sépare les blocs */
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

/* Assurer que le footer3 est bien aligné */
.footer3 {
    display: flex;
    justify-content: center; /* Centrer les boutons */
    align-items: center;
    flex-wrap: wrap; /* Permet d'éviter un débordement */
    width: 100%;
    gap: 10px; /* Espacement entre les boutons */
}

/* Uniformiser les boutons adhérer */
.footer3 .adherer-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 180px; /* Taille fixe pour tous les boutons */
    padding: 10px 15px;
    font-size: 1.1em;
    font-weight: bold;
    background-color: #fff; /* Met le même fond pour tous */
    border: 2px solid #000; /* Même bordure */
    color: #000;
    text-transform: uppercase;
    text-decoration: none;
}

/* Ajuster si le texte est trop long */
.footer3 .adherer-btn span {
    white-space: nowrap; /* Empêche le texte de sauter à la ligne */
}/* Organiser le footer sur une seule ligne */
footer .grid-child {
    display: flex;
    justify-content: space-between; /* Sépare les blocs */
    align-items: center;
    flex-wrap: nowrap; /* Empêche le retour à la ligne */
    width: 100%;
}

/* Assurer que les sections à l'intérieur du footer sont bien alignées */
.footer2, .footer3, .footer-legal {
    flex: 1; /* Permet aux éléments de prendre l'espace disponible */
    display: flex;
    align-items: center;
}

/* Centrer les boutons "Adhérer" */
.footer3 {
    justify-content: center;
}

/* Aligner la section "Mentions légales" à droite */
.footer-legal {
    justify-content: flex-end;
    padding-right: 20px;
}

/* Appliquer la flexbox sur la liste des liens légaux */
.footer-legal ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Ajouter un espace entre les liens */
.footer-legal ul li {
    margin-left: 15px;
}

/* Uniformiser les boutons "Adhérer" */
.footer3 .adherer-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 180px; /* Taille fixe pour tous les boutons */
    padding: 10px 15px;
    font-size: 1.1em;
    font-weight: bold;
    background-color: #fff;
    border: 2px solid #000;
    color: #000;
    text-transform: uppercase;
    text-decoration: none;
    margin: 0 10px; /* Ajoute un espace entre les boutons */
}

/* Empêcher le texte des boutons de sauter à la ligne */
.footer3 .adherer-btn span {
    white-space: nowrap;
}


@media (min-width: 768px) {
  footer div.mod-footer {
    flex-direction: row;
  }
}

/* Modifier le bouton Modifier */

div.icons{
  display: flex;  /* Pour faire afficher sur une ligne a part le bouton */
}

div.icons >.float-end {
  display: inline-block;
  background: #e75c21;
  padding: 5px 12px;
  border-radius: 3px;
  font-size: 14px;
  color: #fff;
}

div.icons >.float-end a{
  color: #fff;
}

div.icons >.float-end{
  margin-left: 10px;
  margin-bottom: 10px;
}

/* Module adhésion dans le menu haut, près du logo */
div#adhesion{
  display: flex;
  justify-content: flex-end;
  align-content: center;
}

div.moduletable.adhesion{
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#zone-adhesion a:nth-child(1) {
  background-image: url('../images/bg-btn-grey.png');
  color: #757575;
  text-shadow: 1px 1px 2px #fff;
  letter-spacing: .03em;
  margin-right: 5px;
}
#zone-adhesion a {
  float: left;
  padding: 7px 17px 7px 16px;
  background-color: #FFF;
  border-color: transparent;
  font-family: 'Gotham Bold';
  font-size: .9em;
  text-transform: uppercase;
  text-decoration: none;
}

#zone-adhesion a:nth-child(2) {
  background-image: url('../images/bg-btn-orange.png');
  color: #e75c21;
  text-shadow: 1px 1px 2px #fff;
  letter-spacing: .05em;
}
#zone-adhesion a {
  float: left;
  padding: 7px 17px 7px 16px;
  background-color: #FFF;
  border-color: transparent;
  font-family: 'Gotham Bold';
  text-transform: uppercase;
  text-decoration: none;
}

#zone-adhesion {
  font-size: 1.4em;
  padding: 0px 20px 0 0;
}

#zone-adhesion .liens-btn{
background-image: url('../images/bg-btn-grey.png');
color: #757575;
text-shadow: 1px 1px 2px #fff;
letter-spacing: .03em;
margin-left: 5px;
}


/* Module adhésion près du logo, dans le header : responsivité */
/* Menu offcanvas : responsivité */
@media (max-width: 768px) {
  div#adhesion {
    display: flex;
    flex-direction: row;
  }
  
  div#adhesion{
    display: flex;
    flex-direction: row!important;
      justify-content: space-around;
      align-items: stretch;
    max-width: 100%;
    height: auto;
  }

  ul#menu > li > a {
    border-bottom: none!important;
    color: #e75c21!important;
    font-size: 1.6rem!important;
    position: relative;
    line-height: 18px;
  }
  
  ul#menu > li {
    display: flex;
  }
  
  ul#menu{
    margin-top: 10px;
  }
}

@media (max-width: 768px){
  div.moduletable.adhesion {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: fit-content;
  }
  
  div#adhesion{
    display: flex;
    flex-direction: row!important;
      justify-content: space-around;
      align-items: stretch;
    max-width: 100%;
    height: auto;
  }
  
  #zone-adhesion a:nth-child(1) {
    	margin-right: 15px;
	}
  
  div#mod-custom171{
    display: flex;
    flex-direction: row!important;
      justify-content: space-around;
      align-items: stretch;
  }

  header.container-header{
    display: flex;
    justify-content: space-between;
  } 
  
  #zone-adhesion a {
  padding: 7px 17px 7px 16px;
  background-color: #FFF;
  border-color: transparent;
  font-family: 'Gotham Bold';
  font-size: .7em;
  text-transform: uppercase;
  text-decoration: none;
  }

  .slide-desc-text-default .slide-title {
		font-size: 0.8em !important;
		letter-spacing: -0.03em !important;
		margin-bottom: 0 !important;
	}
  
	.slide-desc-text-default {
		padding: 0 5px !important;
	}
  /* Disparition du module de connexion sur mobile */
  div.sidebar-right.card.connexion{
    display: none!important;
  }

}