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;
}

body a{
  color: var(--cassiopeia-color-primary);
}

body a:hover{
  color: var(--cassiopeia-color-hover);
}

:root {
  --cassiopeia-color-primary: #e75c21;
  --cassiopeia-color-hover: #F2B708;
  --cassiopeia-color-link: #e75c21;
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
}

/* Les boutons */
button.btn-primary {
  border-color: #E75c21;
  background-color: #E75c21;
}

/* Topbar */
.container-topbar{
  display: flex;
  align-content:  center;
  justify-content: flex-end;
}

.container-topbar .mod-custom{
  display: flex;
}

#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;
}

div.logo img {
  max-height: 150px;
  width: auto;
}

/* 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 var(--cassiopeia-color-primary) !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;
}

ul#menu > li > a:hover {
  border-bottom: 3px solid var(--cassiopeia-color-hover) !important;
  color: var(--cassiopeia-color-link);
}

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;
}

ul#menu img.icone-accueil, img.icone-actus, img.icone-cma, img.icone-contact, img.icone-equipes, a{
  padding: 5px;
}

/* 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;
  max-width: 100%;
  box-sizing: border-box;
}


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;
}

h2.item-title, h2.item-title a:hover{
  color: var(--cassiopeia-color-hover) !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;
}
*/
.item-title{
  border-bottom: 1px #eee solid;
  padding-bottom: 30px;
  margin-bottom: 30px;
  margin-top: 20px;
}

.cat-children h3{
  font-size: 1.5rem;
  margin-bottom: 10px;
  border-bottom: none;
  padding-bottom: 10px;
}

.page-header h2 {
  border-bottom: 1px #eee solid !important;
  font-size: 1.5rem;
  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-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;
}

/* Les tags sur les articles */
.tags .list-inline-item .btn-info{
  background-color: var(--cassiopeia-color-primary);
  color: #fff;
  border: none;
}

.article-body .blog-items .readmore a{
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-weight: 500;
  padding: 10px;
  color: var(--cassiopeia-color-primary);
}

/* Page accueil - Les actus */
.accueil-actus{
  margin: 10px 30px 30px 30px;
}

.accueil-actus .mod-articlesnews{
  padding-top: 0.5rem;
}

.accueil-actus h4{
  font-family: 'Gotham Book' !important;
  font-size: 1.8em !important;
}

.accueil-actus .newsflash-title{
    font-family: 'Gotham Black' !important;
    font-size: .95em !important;
    line-height: 1.15em !important;
    color: #000 !important;
    text-transform: uppercase !important;
    letter-spacing: -0.02em !important;
    margin-top: 6px !important;
}

/* Personnalisation module flash info Accueil */
h4.newsflash-title{
  color: #e75c21!important;
  font-family: 'Gotham Black' !important;
  font-size: .95em !important;
  line-height: 1.15em !important;
}

.mod-articlesnews__item .readmore a{
  background-color: #fff!important;
  border:none;
  padding : 0;
  color: #E75C21;
  margin-top:.5em;
  font-size: 15px;
}

/*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%;
}

.sidebar-right button{
  background-color: var(--cassiopeia-color-primary);
  border: 1px solid var(--cassiopeia-color-primary);
}

.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;
  padding: 0!important;
}

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

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

.mod-finder__search button{
  background-color: #e75C21;
  border: 1px solid #E75C21;
}

/* Pagination */
.pagination .page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: var(--cassiopeia-color-primary);
  border-color: var(--cassiopeia-color-primary);
}

.pagination .page-link {
  color: var(--cassiopeia-color-primary);
}

.offcanvas-header > *:only-child {
  margin-left: auto;
}

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


/* 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{
  font-size: 2.5rem;
}

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

ul.social-icons a.social-icon-facebook::before {
    font-family: "Font Awesome 6 brands";
    font-weight: 900;
    content: "\f09a";
    margin-right: 4px;
    display: inline-block;
    color: #fff;
}

ul.social-icons a.social-icon-twitter::before {
    font-family: "Font Awesome 6 brands";
    font-weight: 400;
    content: "\f099";
    margin-right: 4px;
    display: inline-block;
    color: #fff;
}


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

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

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

footer div.grid-child .social-icons a {
  font-family: Font Awesome 5 Brands;
  font-weight: 400;
}


/* 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;
}

.footer2 ul {
    display: flex;
    flex-direction:row;
    list-style: none;
    padding: 10px;
    margin: 0;
}

.footer2 ul li {
    margin-right: 20px; /* Ajustez l'espace entre les éléments */
}
.footer2 ul li:last-child {
    margin-right: 20px; /* Évite un espace supplémentaire à la fin */
}

/* 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#adhesion{
  display: flex;
  justify-content: flex-end;
  flex-wrap: nowrap;
  align-items: 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 a.contact-btn{
  background-image: url('../images/bg-btn-grey.png');
  color: #757575;
  margin-left: 5px;
}

#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;
}

#zone-adhesion a:hover{
  color: var(--cassiopeia-color-hover);
}



@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;
  } 

  /* Partie dropfiles */
  .dropfiles-single-file {
    display: inline-block;
    max-width: 100%; /* Assurez-vous que l'élément ne dépasse pas son conteneur parent */
    box-sizing: border-box; /* Inclut padding et bordure dans la largeur totale */
  }
  
  .dropfiles-single-file .dropfiles-file-link {
    max-width: 100%; /* Assurez-vous que l'élément ne dépasse pas son conteneur parent */
    box-sizing: border-box; /* Inclut padding et bordure dans la largeur totale */
    overflow: hidden; /* Empêche le débordement du contenu */
    word-wrap: break-word; /* Casse les mots trop longs */
  }
  
  .dropfiles-single-file .droptitle {
    max-width: 100%; /* Assurez-vous que l'élément ne dépasse pas son conteneur parent */
  }
  
  .dropfiles-single-file .dropfiles-file-link span.dropinfos b {
    max-width: 100%; /* Assurez-vous que l'élément ne dépasse pas son conteneur parent */
    overflow: hidden; /* Empêche le débordement du contenu */
    text-overflow: ellipsis; /* Ajoute des points de suspension si le texte déborde */
    white-space: nowrap; /* Empêche le texte de se dérouler sur plusieurs lignes */
  }
  
  .dropfiles-preview-file {
    max-width: 100%; /* Assurez-vous que l'élément ne dépasse pas son conteneur parent */
    overflow: hidden; /* Empêche le débordement du contenu */
    text-overflow: ellipsis; /* Ajoute des points de suspension si le texte déborde */
    white-space: nowrap; /* Empêche le texte de se dérouler sur plusieurs lignes */
  }

  
  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: #E75C21;
  }
  .offcanvas .metismenu.mod-menu .metismenu-item > a:hover {
    color: var(--bs-yellow);
  }

}


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



/* Module adhésion près du logo, dans le header : responsivité */
/* Menu offcanvas : responsivité */
@media (max-width: 768px) {
  div#zone-adhesion {
    display: flex;
    flex-direction: row;
  }
  
  div#zone-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;
  }
}

/* Front End editor : proposer un article */
.custom-select-success.custom-select, .form-select-success.custom-select, .form-select.custom-select-success, .form-select.form-select-success {
  background-color: #448344;
  color: #fff;
}

.custom-select-danger.custom-select, .form-select-danger.custom-select, .form-select.custom-select-danger, .form-select.form-select-danger {
  background-color: #a51f18;
  color: #fff;
}

.custom-select-danger.custom-select, .form-select-danger.custom-select, .form-select.custom-select-danger, .form-select.form-select-danger {
  background-color: #a51f18;
  color: #fff;
}

@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: .6em;
  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;
  }

}

@media (max-width: 575px) {
  header.container-header img {
    max-height:60px;
    width:auto;
  }
  header div.adhesion {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: stretch;
    width: 100%;
    height: auto;  
  }
  div.adhesion{
    justify-content: center;
    text-align: center;
  }
}