/*
 Theme Name:   LPDW config
 Theme URL:    https://leplusduweb.com
 Description:  Theme enfant developpé par l'entreprise LE PLUS DU WEB
 Author:       Le plus du web
 Author URI:   http://leplusduweb.com
 Template:     enfold
 Version:      1.0.0
*/

/*
Styles tous médias
================================================== */

/***************************************************************/
/************************GENERALITE*****************************/
/***************************************************************/
:root {
  --dark-blue: #003571;
  --blue: #0150b5;
  --green: #9da418;
  --dark-red: #8e0000;
  --red: #cd132d;
  --brown: #3c100f;
  --grey: #e0e0e0;
}

#top #wrap_all #main strong {
  color: black;
}

body {
  position: relative;
}

#top .main_color {
  min-height: 800px;
}

#top #wrap_all .main-title {
  max-width: 563px;
}

#ameliorer-extranet {
  display: none;
  position: absolute;
  bottom: 115px;
  width: max-content;
  background: var(--dark-blue);
  color: white;
  left: calc((100% - 872px) / 2 + 50px);
  text-transform: uppercase;
  font-weight: bold;
  padding: 0 30px 0 6px;
  z-index: 99;
}

#ameliorer-extranet:hover,
#ameliorer-extranet:focus {
  text-decoration: none;
}

#ameliorer-extranet::after {
  content: "\e816";
  font-family: "entypo-fontello", serif;
  width: 24px;
  height: 100%;
  background-color: var(--blue);
  display: flex;
  font-size: 15px;
  position: absolute;
  transition: all 450ms;
  right: 0;
  top: 0;
  justify-content: center;
  align-items: center;
  color: white;
}

#top:not(.home):is(.page) #main .container .av-content-small.units {
  width: 70%;
}

/* Scroll to top button */
#top #scroll-top-link {
  content: "\e88a";
  position: absolute;
  bottom: 115px;
  right: calc((100% - 872px) / 2 + 285px);
  display: block !important;
  font-family: "Open Sans", serif;
  color: white;
  background-color: var(--dark-red);
  padding: 3px 8px;
  width: max-content;
  opacity: 1;
  border: none;
  font-size: 14px;
  font-weight: bold;
  line-height: initial;
  height: 25px;
  border-radius: 0;
}

#top #scroll-top-link span {
  display: inline;
  text-transform: uppercase;
}

#top #scroll-top-link::before {
  content: "";
}

#top #scroll-top-link::after {
  content: "\e88a";
  font-family: "entypo-fontello", serif;
  position: absolute;
  top: 0;
  right: -25px;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 17px;
  color: white;
  background-color: var(--red);
  padding: 0px 6px;
}

#top #scroll-top-link:hover {
  background-color: var(--red);
}

#top #scroll-top-link:hover::after {
  background-color: var(--dark-red);
}

/* Formulaire de recherche (resultats) */
.avia-search-tooltip .ajax_search_response {
  display: none !important;
}

/*
Desktop Styles
================================================== */
/* Note: CSS POUR VUE PC CLASSIQUE */

@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */
  /***************************************************************/
  /************************GENERALITE*****************************/
  /***************************************************************/
  /*************************TITRE*********************************/
  .template-page .entry-content-wrapper h1 {
    margin: 40px 0 0 0;
  }

  .main_color .av-special-heading-h1 .special-heading-border,
  .main_color .av-special-heading-h2 .special-heading-border,
  .main_color .av-special-heading-h3 .special-heading-border,
  .main_color .av-special-heading-h4 .special-heading-border {
    /*bordure apres le titre */
    display: none;
  }

  .main_color .av-special-heading-h1 .av-special-heading-tag,
  .main_color .av-special-heading-h2 .av-special-heading-tag,
  .main_color .av-special-heading-h3 .av-special-heading-tag {
    /* titrage */
    float: none !important;
  }

  .main_color .special-heading-inner-border {
    /*bordure apres le titre */
    border-style: dotted;
  }

  /*************************ÉLÉMENT DE TEXTE*********************************/
  #top .chapo strong {
    margin-bottom: 24px;
    font-size: 14px;
    color: black;
  }

  /************************* ARRIRÈRE-PLAN PAGE *************************/
  #top:not(.original_template)
    #wrap_all
    .main_color
    .container
    > .template-page {
    padding: 10px;
    margin-bottom: 0.75rem;
    background-color: #f4f4f4;
    border: solid 1px #e1e1e1;
  }

  /************************* QUI A UPDATE *************************/
  #main .last_update {
    background-color: white;
    padding-bottom: 3.75rem;
  }

  #main .last_update p {
    max-width: 500px;
    padding: 0 50px;
    margin: 0 auto;
    text-align: right;
    font-size: 12px;
    color: #666;
  }

  #main .sidebar_right .last_update p {
    max-width: 472px;
  }

  /************************* BREADCRUMBS *************************/
  .stretch_full .container {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: baseline;
  }

  #top .stretch_full .container h1 {
    width: max-content;
    font-size: 1.5625rem;
    margin-top: 2.25rem;
    font-family: "Open Sans light", sans-serif;
    line-height: 1;
  }

  #top #wrap_all .stretch_full .container h1 a {
    color: #0150b5;
  }

  .stretch_full .container .breadcrumb {
    position: initial;
    margin-top: 15px;
  }

  .stretch_full .container .breadcrumb a {
    text-decoration: underline;
  }

  .stretch_full .container .breadcrumb a:hover {
    text-decoration: none;
  }

  .stretch_full .container .breadcrumb a,
  .stretch_full .container .breadcrumb span {
    color: #666;
    font-size: 12px;
  }

  .stretch_full .container .breadcrumb .sep {
    font-size: 17px;
    line-height: 11px;
    width: initial;
    overflow: visible;
  }

  .stretch_full .container .breadcrumb .trail-before {
    display: none;
  }

  #top .main_color,
  #top .content {
    border: none;
  }

  main {
    padding-bottom: 70px;
  }

  /*************************MARGES*********************************/
  .avia-section-large .content,
  .avia-section-large .sidebar {
    /*large*/
    padding: 110px 0;
  }

  /************************FORMULAIRE***********************************/
  #top .main_color .input-text,
  #top .main_color input[type="text"],
  #top .main_color input[type="input"],
  #top .main_color input[type="password"],
  #top .main_color input[type="email"],
  #top .main_color input[type="number"],
  #top .main_color input[type="url"],
  #top .main_color input[type="tel"],
  #top .main_color input[type="search"],
  #top .main_color textarea,
  #top .main_color select {
    border-color: var(--blue);
  }

  /*****************************TABLEAUX********************************/
  tr:nth-child(odd) {
    /* ligne de couleur 1 ligne sur 2 */
    background-color: #292929 !important;
  }

  tr {
    background-color: #686868 !important;
    height: 60px;
    line-height: 60px;
    text-align: center;
  }

  td:first-of-type {
    color: #ffffff;
    text-transform: uppercase;
  }

  td:last-of-type {
    background-color: #d8d8d8 !important;
  }

  tr:nth-child(odd) td:last-of-type {
    background-color: #e9e9e9 !important;
  }

  /************************ICONES***************************************/
  [class^="icon-"]:before,
  [class*=" icon-"]:before {
    font-family: "entypo-fontello";
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: 0.5em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: 0.2em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3);
  }

  .icon-clock:before {
    content: "\e862";
  }

  /***************************************************************/
  /************************HEADER*********************************/
  /***************************************************************/
  /* Cache le header sur la page de connexion */
  #top.page-id-113 .main_menu,
  #top.page-id-113 #footer-page {
    display: none;
  }

  /* change le BG sur la page de connexion */
  html.html_entry_id_113 {
    background-color: white;
  }

  #top.page-id-367.um-page-password-reset #header_main .switch-role {
    display: none;
  }

  #header_main .switch-role {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }

  #header_main .switch-role input {
    background-color: var(--green);
    color: white;
    transition: all ease 300ms;
    position: relative;
  }

  #header_main .switch-role::after {
    content: "\e832";
    font-family: "entypo-fontello", serif;
    display: inline-block;
    height: 100%;
    background: var(--brown);
    padding: 5px 10px;
  }

  #header_main .switch-role input:hover {
    background-color: var(--dark-red);
  }

  #header #header_main .logo {
    position: relative;
    left: -108px;
    background-color: #b81c44;
  }

  /************************** Navigation **************************/
  #header_main .avia-menu {
    position: relative;
  }

  #header_main #avia-menu {
    position: static;
  }

  #top #header_main .main_menu {
    right: unset;
    left: 0;
  }

  #header_main
    #avia-menu
    li
    .avia-menu-text:not(.sub-menu > li .avia-menu-text) {
    display: inline-block;
    height: auto;
    vertical-align: middle;
    text-align: center;
    font-weight: bold;
    line-height: 18px;
  }

  #top #header #header_main #avia-menu .particular-link {
    background-color: var(--red);
    font-weight: bold;
    transition: all ease 300ms;
  }

  #header_main #avia-menu .particular-link:hover {
    background-color: black;
    font-weight: bold;
  }

  #avia-menu li:nth-child(2n) {
    background-color: var(--dark-blue);
    transition: all ease 300ms;
  }

  #avia-menu li:nth-child(2n) a::before {
    display: inline-block;
    transform: rotate(90deg);
    font-size: 22px;
  }

  #avia-menu li.menu-item-top-level {
    background-color: var(--blue);
  }

  #avia-menu li.menu-item-top-level:hover {
    background-color: var(--dark-blue);
  }

  #avia-menu li.menu-item-top-level.active-parent-item {
    background-color: var(--dark-blue);
  }

  #top #header #avia-menu li:nth-child(2n + 1) {
    background-color: var(--blue);
    transition: all ease 300ms;
  }

  #header #avia-menu li#menu-item-1004 a {
    background-color: var(--red);
    line-height: 50px !important;
  }

  #header #avia-menu li:is(.particular-link, .my_account, #menu-item-search) {
    width: min-content;
  }

  #avia-menu li:not(.sub-menu > li) {
    /*element de la nav*/
    position: static;
    font-weight: normal;
    text-transform: uppercase;
  }

  #avia-menu li.menu-item-top-level,
  #avia-menu
    li.menu-item-top-level:not(.particular-link, .my_account, #menu-item-search)
    > a {
    width: calc((772px - 207px) / 3);
    height: 54px;
    line-height: 50px !important;
  }

  #top.um_custom_role_4 #avia-menu li.menu-item-top-level,
  #top.um_custom_role_4
    #avia-menu
    li.menu-item-top-level:not(.particular-link, .my_account, #menu-item-search)
    > a {
    width: calc((772px - 208px) / 2);
  }

  #avia-menu li a {
    /*element de la nav*/
    text-align: center;
  }

  #avia-menu li ul {
    position: absolute;
    right: 0;
    width: 564px;
  }

  #avia-menu li#menu-item-search {
    position: absolute;
    right: -40px;
    background-color: var(--dark-blue);
  }

  #avia-menu li#menu-item-search:hover {
    background-color: var(--blue);
  }

  /**************************SOUS NAVIGATION************************/
  #avia-menu .sub-menu li {
    text-transform: none;
  }

  #avia-menu li .sub-menu li a {
    min-height: unset;
    padding: 0.375rem 0.75rem;
    background-color: var(--dark-blue);
    font-size: 0.875rem;
    line-height: 18.2px;
  }

  #avia-menu li .sub-menu li a:hover {
    background-color: var(--blue);
    text-decoration: underline;
  }

  #avia-menu .avia-search-tooltip {
    background: none;
    margin-left: 0;
    right: 0;
    left: unset !important;
    top: 100% !important;
    width: 211px;
    border: 3px solid var(--dark-blue);
    border-radius: 0;
    box-shadow: none;
  }

  #avia-menu .avia-search-tooltip form div {
    margin: 0;
  }

  #avia-menu .avia-search-tooltip form input#s {
    background: #fff;
    color: black;
  }

  #avia-menu .avia-search-tooltip form input#s::placeholder {
    color: var(--grey);
    background-color: white;
  }

  #avia-menu .avia-search-tooltip form input#searchsubmit {
    background: var(--dark-blue);
    height: 42px;
    width: 36px;
    font-size: 0;
    color: transparent;
    background-image: url("/wp-content/themes/enfold_child/images/arrow_input.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50% 50%;
  }

  #avia-menu .avia-search-tooltip .avia-arrow-wrap {
    display: none;
  }

  /***********************************************************************/
  /************************ GESTION DU BREADCRUMB ************************/
  /***********************************************************************/
  #top:is(.parent-pageid-1007, .single, .single-portfolio)
    #main
    .stretch_full
    .breadcrumb {
    display: none;
  }

  /**********************************************************/
  /************************ HOMEPAGE ************************/
  /**********************************************************/
  /************************ INFO CRUCIALE ************************/
  /* On n'affiche pas les metas de l'article crucial, ni la délimitation du post */
  .home
    #main
    #info-cruciale
    :is(.post-meta-infos, .post-delimiter, .more-link-arrow) {
    display: none;
  }

  .home #main #info-cruciale article:not(.post-entry) {
    display: none;
  }

  #wrap_all #main #info-cruciale .entry-content-wrapper {
    position: relative;
    padding: 12px;
    margin-bottom: 24px;
    background-color: var(--red);
    color: white;
  }

  #wrap_all #main #info-cruciale .entry-content-wrapper h2 {
    padding: 0;
    margin: 0;
    color: white;
  }

  #wrap_all #main #info-cruciale .entry-content p {
    margin: 0;
  }

  #wrap_all #main #info-cruciale .more-link {
    text-transform: uppercase;
    background-color: var(--blue);
    font-weight: bold;
    font-size: 14px;
    position: absolute;
    padding: 4px 30px 4px 6px;
    right: 0;
    bottom: 0;
    top: unset;
    width: max-content;
    margin: 0;
    transition: all 450ms;
    line-height: 18px;
    color: white;
    font-family: "Open Sans", serif;
  }

  #wrap_all #main #info-cruciale .more-link:focus {
    text-decoration: none;
  }

  #wrap_all #main #info-cruciale .more-link:hover {
    background-color: var(--dark-blue);
    text-decoration: none;
    color: white;
  }

  #wrap_all #main #info-cruciale .more-link::after {
    content: "\e816";
    font-family: "entypo-fontello";
    width: 26px;
    height: 100%;
    background-color: var(--dark-blue);
    display: flex;
    font-size: 14px;
    position: absolute;
    right: 0;
    top: 0;
    justify-content: center;
    align-items: center;
    color: white;
  }

  /************************ ACTUALITÉS ************************/
  #main .actualites-accueil {
    margin: 0;
  }

  #main .actualites-accueil .slide-entry-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    row-gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
  }

  /* Le premier article sera toujours de toute la largeur du conteneur principal  */
  .actualites-accueil .slide-entry-wrap:first-child .slide-entry:first-child {
    display: flex;
    flex-direction: row;
    height: 282px;
    width: 100%;
  }

  #top
    .actualites-accueil
    .slide-entry-wrap:first-child
    .slide-entry:first-child::after {
    content: "";
    display: inline-block;
    height: 0;
    width: 0;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    border-left: 15px solid white;
    border-bottom: 15px solid var(--red);
    overflow: visible;
    visibility: visible;
  }

  .actualites-accueil h2 {
    line-height: 24px;
  }

  .actualites-accueil
    .slide-entry-wrap:first-child
    .slide-entry:first-child
    :is(a.slide-image, .slide-content) {
    width: 50%;
  }

  .actualites-accueil
    .slide-entry-wrap:first-child
    .slide-entry:first-child
    a.slide-image {
    height: 282px;
    margin: 0;
    border-radius: 0;
  }

  .actualites-accueil
    .slide-entry-wrap:first-child
    .slide-entry:first-child
    a.slide-image
    img {
    height: 282px;
    object-fit: cover;
    border-radius: 0;
  }

  .actualites-accueil .slide-entry {
    width: 48.5%;
    margin: 0;
    background-color: #efefef;
  }

  .actualites-accueil .slide-entry::after {
    content: "";
    display: inline-block;
    height: 0;
    width: 0;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    border-left: 15px solid white;
    border-bottom: 15px solid var(--blue);
    overflow: visible;
    visibility: visible;
  }

  .actualites-accueil .slide-entry h2 {
    padding: 0;
    font-size: 22px;
    text-transform: inherit;
    font-family: "Open Sans bold", sans-serif !important;
  }

  .actualites-accueil .slide-entry:not(:first-of-type) .slide-image {
    height: 155px;
    min-height: unset;
    border-radius: 0;
  }

  .actualites-accueil .slide-entry .slide-image img {
    height: 100%;
    border-radius: 0;
    object-fit: cover;
  }

  .actualites-accueil .slide-entry .slide-content {
    min-height: 260px;
    padding: 0 12px 12px;
  }

  .actualites-accueil .slide-entry .slide-content .entry-title {
    text-transform: none;
    font-size: 20px !important;
    margin-bottom: 0;
    padding: 10px 0;
  }

  .actualites-accueil .slide-entry .slide-content .slide-entry-excerpt {
    color: var(--brown);
    font-family: "Open sans", sans-serif;
    line-height: 1.2em;
  }

  #main .actualites-accueil .slide-content .read-more-link {
    position: absolute;
    bottom: 0;
    top: unset;
    right: 0;
    padding-bottom: 2px;
    overflow: visible;
  }

  #main .actualites-accueil .slide-content .read-more-link a {
    color: white;
    background-color: var(--green);
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 0;
    font-weight: bold;
    font-size: 14px;
    top: initial;
    transition: all ease 300ms;
  }

  #main .actualites-accueil .slide-content .read-more-link a::after {
    content: "\e816";
    font-family: "entypo-fontello";
    width: 25px;
    height: 100%;
    background-color: var(--brown);
    display: flex;
    font-size: 12px;
    position: absolute;
    right: 0;
    top: 0;
    justify-content: center;
    align-items: center;
    color: white;
  }

  #main .actualites-accueil .slide-content .read-more-link a:hover,
  #main .actualites-accueil .slide-content .read-more-link a:hover::after {
    background-color: var(--dark-red);
  }

  /* On n'affiche pas les infos du footer des articles */
  #top #main .actualites-accueil .slide-content .blog-categories,
  #top #main .actualites-accueil .entry-footer {
    display: none;
  }

  /************************ GALERIE PHOTO ************************/
  #main #gallery .last-gallery {
    position: relative;
    background-color: var(--brown);
  }

  #main #gallery .last-gallery a:hover,
  #main #gallery .last-gallery a:focus {
    color: white;
    text-underline-offset: 2px;
  }

  #gallery .last-gallery img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
  }

  #gallery .last-gallery div {
    padding: 8px 6px 18px 6px;
  }

  #top #wrap_all #gallery .last-gallery h3 {
    color: white;
    margin-bottom: 14px;
    text-align: center;
    font-size: 20px;
  }

  #gallery .last-gallery .gallery-page {
    text-transform: uppercase;
    background-color: var(--green);
    font-weight: bold;
    font-size: 14px;
    position: absolute;
    padding: 4px 30px 4px 6px;
    right: 0;
    bottom: 0;
    top: unset;
    width: max-content;
    margin: 0;
    transition: all 450ms;
    line-height: 18px;
    color: white;
    font-family: "Open Sans", serif;
    text-decoration: none;
  }

  #gallery .last-gallery .gallery-page:hover {
    background-color: var(--dark-red);
  }

  #gallery .last-gallery .gallery-page::after {
    content: "\e816";
    font-family: "entypo-fontello";
    width: 24px;
    height: 100%;
    background-color: var(--brown);
    display: flex;
    font-size: 14px;
    position: absolute;
    right: 0;
    top: 0;
    justify-content: center;
    align-items: center;
    color: white;
  }

  #gallery .last-gallery .gallery-page:hover::after {
    background-color: var(--dark-red);
  }

  /*********************************************************/
  /************************ SIDEBAR ************************/
  /*********************************************************/
  /* On retire la bordure noire qui sépare le contenu principal de la sidebar  */
  #top .sidebar {
    padding-top: 0px;
  }

  .home .sidebar {
    padding-top: 50px !important;
  }

  #top #main .main_color .template-page,
  #top #main .main_color .sidebar {
    border: none;
  }

  #top #main .main_color .entry-content-wrapper {
    padding: 0;
  }

  .sidebar .inner_sidebar {
    margin-left: 12px;
  }

  .wpfp-span li {
    margin: 0 !important;
  }

  .wpfp-span ul {
    margin-top: 5px;
    margin-left: 0;
    margin-bottom: 10px;
  }

  .wpfp-link.remove-parent {
    padding-left: 3px;
  }

  #main .sidebar .widget {
    margin-bottom: 12px;
  }

  #main .sidebar .widget.admin_page_framework_widget {
    padding: 0;
  }

  #main .sidebar .widget:first-child .widgettitle::before {
    content: url("/wp-content/plugins/wp-favorite-posts-master/img/star.png");
    display: inline-block;
    vertical-align: top;
    margin-right: 5px;
    margin-top: -2px;
  }

  #main .sidebar .widget:first-child ul li .wpfp-img {
    display: none;
  }

  #main .sidebar .widget:first-child ul li a.remove-parent {
    font-size: 0;
  }

  #main .sidebar .widget:first-child ul li a.remove-parent::after {
    content: "\e813";
    font-family: "entypo-fontello";
    font-size: 16px;
    color: var(--red);
  }

  #main .sidebar #wpfp-users_favorites .widgettitle {
    color: var(--red);
  }

  #main .sidebar #wpfp-users_favorites .widgettitle::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    background-image: url("/wp-content/themes/enfold_child/images/favoris.svg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  /*On retire le lien : "supprimer tous les favoris ?"*/
  #main .sidebar .widget:first-child a.wpfp-link[href="?wpfpaction=clear"] {
    display: none;
  }

  /* Kiosque widget */
  .sidebar .widget_kiosque_widget {
    position: relative;
    background-color: var(--blue);
    padding: 15px 15px 0 15px;
    min-height: 360px;
  }

  .sidebar .widget_kiosque_widget .kiosque-mag img {
    min-height: 140px;
    background-color: var(--green);
    object-fit: cover;
  }

  .sidebar .widget_kiosque_widget::after {
    content: "";
    display: inline-block;
    height: 0;
    width: 0;
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    border-right: 15px solid white;
    border-bottom: 15px solid var(--dark-blue);
    overflow: visible;
    visibility: visible;
  }

  #top #wrap_all .sidebar .widget_kiosque_widget .widgettitle {
    padding-top: 0;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
  }

  .sidebar .widget_kiosque_widget .kiosque-mag-title {
    font-family: "Open Sans", serif;
    font-size: 14px;
    color: white;
    margin: 10px 0 0 0;
    line-height: 1.3;
  }

  .sidebar .widget_kiosque_widget .kiosque-nav {
    margin-top: 6px;
    position: absolute;
    bottom: 0px;
  }

  .sidebar .widget_kiosque_widget .kiosque-nav button {
    color: var(--dark-blue);
    border: 0;
    padding: 5px 10px;
    font-weight: bold;
    background-color: transparent;
    cursor: pointer;
    transition: all 450ms;
    border: 1px solid var(--dark-blue);
  }

  .sidebar .widget_kiosque_widget .kiosque-nav button:hover {
    background-color: var(--dark-blue);
    color: white;
  }

  .sidebar .widget_kiosque_widget .kiosque-nav button.active {
    color: white;
    background-color: var(--dark-blue);
  }

  .sidebar .widget_kiosque_widget .kiosque-link {
    text-transform: uppercase;
    background-color: var(--green);
    font-weight: bold;
    font-size: 14px;
    position: absolute;
    padding: 4px 35px 4px 6px;
    right: 0;
    bottom: 0;
    transition: all 450ms;
    line-height: 18px;
    color: white;
    font-family: "Open Sans", serif;
  }

  .sidebar .widget_kiosque_widget .kiosque-link:focus {
    text-decoration: none;
  }

  .sidebar .widget_kiosque_widget .kiosque-link:hover,
  .sidebar .widget_kiosque_widget .kiosque-link:hover::after {
    background-color: var(--dark-red);
    text-decoration: none;
    color: white;
  }

  .sidebar .widget_kiosque_widget .kiosque-link::after {
    content: "\e816";
    font-family: "entypo-fontello";
    width: 26px;
    height: 100%;
    background-color: var(--brown);
    display: flex;
    font-size: 14px;
    position: absolute;
    right: 0;
    transition: all 450ms;
    top: 0;
    justify-content: center;
    align-items: center;
    color: white;
  }

  .sidebar .widget_kiosque_widget ul {
    position: relative;
  }

  .sidebar .widget_kiosque_widget .kiosque-mag {
    position: absolute;
    left: 0;
    top: 0;
    max-width: 90%;
    padding: 6px;
    background-color: var(--dark-blue);
    transition: transform 0.4s;
  }

  .sidebar .widget_kiosque_widget .kiosque-mag.hidden {
    transform: translate3d(108%, 0, 0);
    visibility: visible;
  }

  .sidebar .widget_kiosque_widget .kiosque-mag.hidden:last-child {
    z-index: 0;
  }

  .sidebar .widget_bon_coin_widget {
    position: relative;
    background-color: var(--dark-blue);
    padding: 15px 15px 35px 15px;
  }

  .sidebar .widget_bon_coin_widget .widgettitle {
    max-width: 135px;
  }

  #top #wrap_all .sidebar .widgettitle {
    font-size: 16px;
  }

  #top
    #wrap_all
    .sidebar
    :is(.widget_kiosque_widget, .widget_gallerie_photo, .widget_agenda_widget)
    .widgettitle {
    color: white;
  }

  .sidebar .widget_bon_coin_widget::after {
    content: "";
    display: inline-block;
    height: 0;
    width: 0;
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    border-right: 15px solid white;
    border-bottom: 15px solid var(--blue);
    overflow: visible;
    visibility: visible;
  }

  #wrap_all #main .sidebar .widget_bon_coin_widget h3 {
    margin-bottom: 12px;
  }

  #wrap_all #main .sidebar .widget_bon_coin_widget :is(h3, a, span) {
    color: white;
  }

  #wrap_all #main .sidebar .widget_bon_coin_widget :is(a, span) {
    display: inherit;
    line-height: 16px;
    margin-top: 5px;
  }

  #wrap_all #main .sidebar .widget_bon_coin_widget a:not(:last-child) {
    margin-top: 10px;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .sidebar .widget_bon_coin_widget .bon-coin-link {
    text-transform: uppercase;
    background-color: var(--green);
    font-weight: bold;
    font-size: 14px;
    position: absolute;
    padding: 4px 35px 4px 6px;
    right: 0;
    bottom: 0;
    transition: all 450ms;
    line-height: 18px;
    color: white;
    font-family: "Open Sans", serif;
  }

  .sidebar .widget_bon_coin_widget .bon-coin-link:focus {
    text-decoration: none;
  }

  #top .sidebar .widget_bon_coin_widget .bon-coin-link:hover,
  #top .sidebar .widget_bon_coin_widget .bon-coin-link:hover::after {
    background-color: var(--dark-red);
    text-decoration: none;
    color: white;
  }

  .sidebar .widget_bon_coin_widget .bon-coin-link::after {
    content: "\e816";
    font-family: "entypo-fontello";
    width: 26px;
    height: 100%;
    background-color: var(--brown);
    display: flex;
    font-size: 14px;
    position: absolute;
    transition: all 450ms;
    right: 0;
    top: 0;
    justify-content: center;
    align-items: center;
    color: white;
  }

  /* Widget Galerie photo */
  .sidebar .widget_gallerie_photo {
    position: relative;
    background-color: var(--brown);
    padding: 15px 15px 35px 15px;
  }

  .sidebar .widget_gallerie_photo::after {
    content: "";
    display: inline-block;
    height: 0;
    width: 0;
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    border-right: 15px solid white;
    border-bottom: 15px solid var(--red);
    overflow: visible;
    visibility: visible;
  }

  .sidebar .widget_gallerie_photo .title {
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
  }

  .sidebar .widget_gallerie_photo .title,
  .sidebar .widget_gallerie_photo a {
    color: white !important;
  }

  #top .sidebar .widget_gallerie_photo a {
    text-decoration: underline;
    margin-bottom: 17pt;
    display: inherit;
    line-height: 18px;
  }

  #top .sidebar .widget_gallerie_photo .bon-coin-link {
    text-transform: uppercase;
    background-color: var(--green);
    font-weight: bold;
    font-size: 14px;
    position: absolute;
    padding: 4px 35px 4px 6px;
    margin-bottom: 0;
    right: 0;
    bottom: 0;
    transition: all 450ms;
    line-height: 18px;
    color: white;
    text-decoration: none;
    font-family: "Open Sans", serif;
  }

  .sidebar .widget_gallerie_photo .bon-coin-link:focus {
    text-decoration: none;
  }

  #top .sidebar .widget_gallerie_photo .bon-coin-link:hover,
  #top .sidebar .widget_gallerie_photo .bon-coin-link:hover::after {
    background-color: var(--dark-red);
    text-decoration: none;
    color: white;
  }

  .sidebar .widget_gallerie_photo .bon-coin-link::after {
    content: "\e816";
    font-family: "entypo-fontello";
    width: 26px;
    height: 100%;
    background-color: var(--brown);
    display: flex;
    font-size: 14px;
    position: absolute;
    transition: all 450ms;
    right: 0;
    top: 0;
    justify-content: center;
    align-items: center;
    color: white;
  }

  /* Widget Agenda */
  #top .sidebar .widget_agenda_widget {
    background-color: var(--red);
    padding: 15px 15px 35px 15px;
    position: relative;
    overflow: hidden;
    line-height: 18.2px;
    color: white;
  }

  .sidebar .widget_agenda_widget::after {
    content: "";
    display: inline-block;
    height: 0;
    width: 0;
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    border-right: 15px solid white;
    border-bottom: 15px solid var(--dark-red);
    overflow: visible;
    visibility: visible;
  }

  #top .sidebar .widget_agenda_widget .title {
    margin-bottom: 10px;
    color: white !important;
    text-transform: uppercase;
  }

  #top .sidebar .widget_agenda_widget a:not(.bon-coin-link) {
    text-decoration: underline;
    color: white;
    font-weight: bold;
  }

  #top .sidebar .widget_agenda_widget a:not(.bon-coin-link):hover {
    text-decoration: none;
  }

  #top .sidebar .widget_agenda_widget .event-date {
    display: block;
    color: white;
  }

  #top .sidebar .widget_agenda_widget hr {
    margin: 0.375rem 0;
    border: 1px solid #bb0d29;
  }

  .sidebar .widget_agenda_widget .bon-coin-link {
    text-transform: uppercase;
    background-color: var(--green);
    font-weight: bold;
    font-size: 14px;
    position: absolute;
    padding: 4px 35px 4px 6px;
    margin-bottom: 0;
    right: 0;
    bottom: 0;
    transition: all 450ms;
    line-height: 18px;
    color: white;
    text-decoration: none;
    font-family: "Open Sans", serif;
  }

  .sidebar .widget_agenda_widget .bon-coin-link::after {
    content: "\e816";
    font-family: "entypo-fontello";
    width: 26px;
    height: 100%;
    background-color: var(--brown);
    display: flex;
    font-size: 14px;
    position: absolute;
    transition: all 450ms;
    right: 0;
    top: 0;
    justify-content: center;
    align-items: center;
    color: white;
  }

  .sidebar .widget_agenda_widget .bon-coin-link:hover,
  .sidebar .widget_agenda_widget .bon-coin-link:hover::after {
    background-color: var(--dark-red);
  }

  .sidebar .tribe-events-widget-events-list__events {
    padding-right: 0.75rem;
  }

  #top
    #main
    .sidebar
    .widget_agenda_widget
    header
    .tribe-events-widget-events-list__header-title {
    color: white;
    font-family: "Open Sans bold", sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 12px;
  }

  #top
    .sidebar
    .widget_agenda_widget
    header
    .tribe-events-widget-events-list__event-title
    a {
    text-decoration: underline;
    text-underline-offset: 3px;
    border: none;
    color: white;
    font-size: 14px;
    font-family: "Open Sans bold", sans-serif;
    line-height: 18.2px;
  }

  #top
    .sidebar
    .widget_agenda_widget
    header
    .tribe-events-widget-events-list__event-title
    a:hover {
    text-decoration: none;
    border: none;
  }

  #top
    .sidebar
    .widget_agenda_widget
    header
    .tribe-events-widget-events-list__event-datetime
    span {
    color: white;
    font-size: 14px;
    font-family: "Open Sans", sans-serif;
    line-height: 18.2px;
  }

  .sidebar
    .widget_agenda_widget
    .tribe-events-widget-events-list__event-date-tag {
    display: none;
  }

  #top
    .sidebar
    .widget_agenda_widget
    .tribe-events-widget-events-list__view-more {
    text-align: right;
    line-height: unset;
  }

  #top .sidebar .tribe-events .tribe-events-widget-events-list__view-more a {
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    background-color: var(--green);
    border: none;
    position: relative;
    padding: 4px 35px 4px 6px;
    line-height: 24px;
    font-family: "Open Sans", serif;
  }

  #top
    .sidebar
    .tribe-events
    .tribe-events-widget-events-list__view-more
    a::after {
    content: "\e816";
    font-family: "entypo-fontello", serif;
    width: 24px;
    height: 100%;
    background-color: var(--brown);
    display: inline-block;
    text-align: center;
    font-size: 14px;
    position: absolute;
    right: 0;
    top: 0;
  }

  #top
    .sidebar
    .tribe-events
    .tribe-events-widget-events-list__view-more
    a:hover {
    text-decoration: none;
    background-color: white;
    transition: all 450ms;
  }

  #top .sidebar .widget_my_events_widget .title {
    text-transform: uppercase;
  }

  #top .sidebar .widget_my_events_widget span {
    display: inherit;
  }

  #top .sidebar .widget_article_contact_widget {
    background-color: var(--red);
    padding: 15px;
  }

  #top .sidebar .widget_article_contact_widget::after {
    content: "";
    display: inline-block;
    height: 0;
    width: 0;
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    border-right: 15px solid white;
    border-bottom: 15px solid var(--dark-red);
    overflow: visible;
    visibility: visible;
  }

  #top #wrap_all .sidebar .widget_article_contact_widget .title {
    margin-bottom: 6px;
    color: white !important;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
  }

  #top #wrap_all .sidebar .widget_article_contact_widget .phone-title {
    color: white !important;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 0;
  }

  #top #wrap_all .sidebar .widget_article_contact_widget .phone,
  #top #wrap_all .sidebar .widget_article_contact_widget .mail {
    color: white !important;
    font-size: 14px;
    margin-bottom: 5px;
  }

  #top #wrap_all .sidebar .widget_article_contact_widget .mail {
    margin-bottom: 0;
    word-wrap: break-word;
  }

  #top .sidebar .widget_custom_html .widget-en-savoir-plus {
    background-color: var(--blue);
    padding: 15px;
  }

  #top #wrap_all .sidebar .widget_article_contact_widget .phone:hover {
    color: white;
    text-decoration: underline;
  }

  #top #wrap_all .sidebar .widget_custom_html {
    padding: 0;
  }

  #top
    #wrap_all
    .sidebar
    .widget_custom_html
    .custom-html-widget
    .widget-en-savoir-plus
    h4,
  #top
    #wrap_all
    .sidebar
    .widget_custom_html
    .custom-html-widget
    .widget-en-savoir-plus
    p,
  #top
    #wrap_all
    #main
    .sidebar
    .widget_custom_html
    .custom-html-widget
    .widget-en-savoir-plus
    strong,
  #top
    #wrap_all
    .sidebar
    .widget_custom_html
    .custom-html-widget
    .widget-en-savoir-plus
    a {
    color: white;
  }

  #top
    #wrap_all
    .sidebar
    .widget_custom_html
    .custom-html-widget
    .widget-en-savoir-plus
    a {
    display: inline-block;
    text-decoration: underline;
    line-height: 16px;
  }

  #top
    #wrap_all
    .sidebar
    .widget_custom_html
    .custom-html-widget
    .widget-en-savoir-plus
    h4 {
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
  }

  #top
    #wrap_all
    .sidebar
    .widget_custom_html
    .custom-html-widget
    .widget-en-savoir-plus
    ul {
    float: none;
  }

  #top
    #wrap_all
    .sidebar
    .widget_custom_html
    .custom-html-widget
    .widget-en-savoir-plus::after {
    content: "";
    display: inline-block;
    height: 0;
    width: 0;
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    border-right: 15px solid white;
    border-bottom: 15px solid var(--dark-blue);
    overflow: visible;
    visibility: visible;
  }

  /***************************************************************/
  /************************CONTENU********************************/
  /***************************************************************/
  #top .title_container .container {
    /*barre de titre*/
    z-index: 1;
  }

  /************************ ARTICLE ************************/
  #top.single-post .sidebar {
    top: 50px;
  }

  #top.single-post .widget_favorites_widget {
    display: none;
  }

  /************************ PAGE DE RECHERCHE ************************/
  #top.search .search-result-counter {
    display: none;
  }

  #top.search .author-extra-border {
    display: none;
  }

  #top.search #wrap_all .third-menu {
    display: none;
  }

  /***********************************************************/
  /********************** PROFIL/COMPTE **********************/
  /***********************************************************/
  /*#top.page-id-1188 .um-header {*/
  /*  border: none;*/
  /*}*/
  .um-profile-navbar,
  .um-profile-nav {
    display: none;
  }

  .um-account-side li a.current {
    background-color: var(--dark-blue) !important;
  }

  .um input[type="submit"].um-button {
    background-color: var(--dark-blue) !important;
  }

  .um input[type="submit"].um-button:hover {
    background-color: var(--blue) !important;
  }

  #top.page-id-1188 .um-profile-body {
    background-color: #f4f4f4;
    max-width: none;
  }

  #top.page-id-1188 .um-profile-body ._um_row_1 {
    max-width: 620px;
    margin: 0 auto !important;
  }

  #top.page-id-9.woocommerce-Address-title h3 {
    color: white;
  }

  :is(.um_custom_role_4, .um_custom_role_5, .um_conseil-municipal)
    .um-account
    .um-account-side
    ul
    li
    a[data-tab="annonces"] {
    display: none;
  }

  /**********************************************************/
  /************************ BON COIN ************************/
  /**********************************************************/
  /************************ TOUTES LES ANNONCES ************************/
  .page-id-178 .bon_coin_list .bon_coin_item {
    position: relative;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    background-color: #f4f4f4;
    border: 1px solid #e1e1e1;
  }

  .page-id-178 .bon_coin_list .bon_coin_item h3 {
    color: var(--blue);
    font-weight: bold;
  }

  .page-id-178 .bon_coin_list .bon_coin_item p {
    margin-bottom: 1.75rem;
    color: #666;
    font-size: 0.75rem;
    text-align: right;
  }

  .page-id-178 .bon_coin_list .bon_coin_item .link_to_annonce {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 2px 28px 2px 6px;
    background-color: var(--green);
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all ease 300ms;
  }

  .page-id-178 .bon_coin_list .bon_coin_item .link_to_annonce::after {
    content: "\e816";
    font-family: "entypo-fontello";
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 24px;
    background-color: var(--brown);
    font-size: 12px;
    transition: all ease 300ms;
  }

  .page-id-178 .bon_coin_list .bon_coin_item .link_to_annonce:hover,
  .page-id-178 .bon_coin_list .bon_coin_item .link_to_annonce:hover::after {
    background-color: var(--dark-red);
    text-decoration: none;
    color: white;
  }

  /*********************************************************/
  /************************ GALERIE ************************/
  /*********************************************************/
  /************************ TOUS LES POSTS ************************/
  .page-id-181 .gallery {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .page-id-181 .gallery .gallery-entry {
    position: relative;
    width: 75%;
    background-color: var(--brown);
    margin-bottom: 24px;
  }

  .gallery-entry-infos {
    min-height: 64px;
  }

  #top.page-id-181 .gallery .gallery-entry h3 {
    margin-top: 12px;
    text-align: center;
    color: white;
    padding-bottom: 28px;
  }

  .page-id-181 #wrap_all .gallery .gallery-entry .gallery-link {
    text-transform: uppercase;
    background-color: var(--green);
    font-weight: bold;
    font-size: 14px;
    position: absolute;
    padding: 4px 30px 4px 6px;
    right: 0;
    bottom: 0;
    top: unset;
    width: max-content;
    margin: 0;
    transition: all 450ms;
    line-height: 18px;
    color: white;
    font-family: "Open Sans", serif;
    text-decoration: none;
  }

  .page-id-181 .gallery .gallery-entry .gallery-link::after {
    content: "\e816";
    font-family: "entypo-fontello";
    width: 26px;
    height: 100%;
    background-color: var(--brown);
    display: flex;
    font-size: 14px;
    position: absolute;
    right: 0;
    top: 0;
    justify-content: center;
    align-items: center;
    color: white;
  }

  /************************ POST SIMPLE ************************/
  .gwts-gallery-template-default :is(.big-preview, .gwts-gwl-prev-title) {
    display: none;
  }

  /********************************************************/
  /********************** ACTUALITÉS **********************/
  /********************************************************/
  .actus .slide-entry {
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .actus .slide-entry .slide-image {
    width: 100px;
    height: 100px;
    display: block;
    min-height: unset;
    border-radius: unset;
  }

  .actus .slide-entry .slide-image::after {
    content: "";
    display: inline-block;
    height: 0;
    width: 0;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    border-left: 15px solid white;
    border-bottom: 15px solid var(--dark-red);
    overflow: visible;
    visibility: visible;
  }

  .actus .slide-entry .slide-image img {
    height: 100%;
    border-radius: unset;
    object-fit: cover;
  }

  .actus .slide-content {
    width: calc(100% - 100px);
    padding: 0 12px;
  }

  #wrap_all #main .actus .slide-content .slide-entry-title {
    margin: 0;
    padding: 0 0 0.75rem 0;
    font-size: 1.25rem;
    color: black;
    font-weight: bold;
    text-transform: initial;
    border-top: 1px solid var(--dark-red);
  }

  .actus .slide-content .slide-entry-excerpt {
    font-size: 16px;
  }

  #wrap_all #main .actus .slide-entry :is(.blog-categories, .entry-footer) {
    display: none;
  }

  /************************ POST SIMPLE ************************/
  .single-post .avia-image-container img {
    width: 580px;
    height: 310px;
    object-fit: cover;
    border-radius: 0px;
  }

  .single-post .post-content {
    padding: 10px;
    margin-bottom: 0.75rem;
    background-color: #f4f4f4;
    border: solid 1px #e1e1e1;
  }

  /***************************************************************/
  /************************PAGE LE KIOSQUE************************/
  /***************************************************************/
  #top.page-id-120 .template-page {
    padding-top: 0;
  }

  #top.page-id-120 .kiosque-shortcode li {
    display: flex;
    margin-bottom: 25px;
    margin-left: 0;
    padding: 0;
  }

  #top.page-id-120 .kiosque-shortcode li img {
    margin-right: 12px;
    width: 150px;
    height: 212px;
    object-fit: cover;
    border: 0.0625rem solid #f4f4f4;
  }

  #top.page-id-120 .kiosque-shortcode li div {
    padding-top: 6px;
    border-top: 1px solid var(--red);
    width: 100%;
  }

  #top.page-id-120 .kiosque-shortcode li div .mag-title {
    display: block;
    font-family: "Open Sans bold", sans-serif;
    font-size: 19px;
    color: black;
    width: max-content;
    margin: 0 0 12px 0;
    font-weight: bold;
  }

  #top.page-id-120 .kiosque-shortcode li div .mag-title:hover {
    text-decoration: none;
  }

  #top.page-id-120 .kiosque-shortcode li div a:not(:first-child) {
    color: var(--red);
    text-decoration: underline;
    display: inherit;
  }

  /*********************************************************************/
  /********************* PAGE DE DETAIL EVENEMENT **********************/
  /*********************************************************************/
  #top.single-tribe_events #av_section_1 {
    padding: 22px 0;
  }

  #top.single-tribe_events #wrap_all #main .av-special-heading-tag {
    color: var(--red);
  }

  #top.single-tribe_events .jauge-inscrits {
    margin: 18px 0;
  }

  #top.single-tribe_events .jauge-inscrits label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    width: 180px;
    text-align: center;
    margin: 0 auto;
  }

  #top.single-tribe_events .jauge-inscrits .progress {
    width: 180px;
    border-radius: 10px;
    height: 20px;
    background-color: #fff;
    margin: 5px auto 30px auto;
  }

  #top.single-tribe_events .jauge-inscrits .progress .progress-bar {
    background-color: var(--dark-blue);
    border-radius: 10px;
    height: 100%;
  }

  #top.single-tribe_events .jauge-inscrits .progress .progress-bar span {
    width: 180px;
    display: inline-block;
    text-align: center;
    height: 100%;
    color: var(--red);
    font-weight: bold;
  }

  #top.single-tribe_events .infos-evenement {
    font-size: 16px;
    font-weight: bold;
  }

  #top.single-tribe_events .d-none {
    display: none;
  }

  /********************* PAGE *********************/
  #top.page .document_en_savoir_plus {
    padding: 12px 24px;
    border: 1px solid #e1e1e1;
  }

  /********************************************************************/
  /**********************FOOTER****************************************/
  /********************************************************************/
  /**********************FOOTER MENU**********************************/
  #top #footer {
    padding: 0;
    display: flex;
    align-items: center;
  }

  #footer .container .template-page {
    padding: 0;
  }

  #footer .container .flex_column_table {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #footer .container .flex_column_table .flex_column {
    width: max-content;
  }

  #footer .container .flex_column_table .flex_column a {
    text-decoration: underline;
    font-size: 0.75rem;
  }

  #footer .container .flex_column_table .flex_column a:hover {
    text-decoration: none;
  }

  #top #footer .widget_nav_menu li {
    background-color: transparent;
    display: inline-block;
    width: auto;
    margin-right: 40px;
    text-decoration: underline;
  }

  /********************************************************************/
  /******************************SOCKET********************************/
  /********************************************************************/
  #socket {
    border: 0px;
  }

  /********************************************************************/
  /********************PAGE PUBLICATION D'UNE ANNONCE******************/
  /********************************************************************/
  #publier-annonce form {
    margin-bottom: 0;
  }

  #publier-annonce h3 {
    margin-bottom: 25px;
  }

  #publier-annonce label {
    margin-bottom: 5px;
    display: inline-block;
  }

  #publier-annonce .images {
    display: flex;
    flex-direction: column;
  }

  #publier-annonce .images .existing-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
  }

  #publier-annonce .images .existing-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-bottom: 30px;
  }

  #publier-annonce .images .existing-images .image-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  #publier-annonce .images .existing-images .image-container button {
    display: block;
    background-color: var(--red);
    padding: 4px 12px;
    border: 0;
    border-radius: 5px;
    color: white;
    margin-top: 5px;
    cursor: pointer;
  }

  #publier-annonce .images label {
    width: max-content;
  }

  #publier-annonce .images input {
    padding: 10px;
  }

  #publier-annonce small {
    display: block;
    width: max-content;
  }

  #publier-annonce small:first-of-type {
    margin-top: 5px;
  }

  #publier-annonce input[type="submit"],
  #supprimer-annonce input[type="submit"] {
    margin-left: auto;
    display: inherit;
    background-color: var(--blue);
    min-width: 180px;
  }

  #supprimer-annonce input[type="submit"] {
    background-color: var(--red);
  }

  #publier-annonce .alert {
    background-color: var(--red);
    color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    position: relative;
  }

  #publier-annonce .alert.alert-success {
    background-color: forestgreen;
  }

  #publier-annonce .alert.alert-success a {
    color: white;
  }

  #publier-annonce .alert .quit {
    position: absolute;
    right: 15px;
    top: 5px;
    color: white;
    font-size: 18px;
    cursor: pointer;
  }

  /********************************************************************/
  /**************************PAGE MON COMPTE***************************/
  /********************************************************************/
  #top .um-account #um_account_submit_favoris,
  #top .um-account #um_account_submit_annonces,
  #top .um-account #um_account_submit_deconnexion,
  #top .um-account #um_account_submit_compte {
    display: none;
  }

  #top .um-account .um-account-tab-annonces .publish {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--green);
    color: white;
    text-transform: uppercase;
    padding: 0 1.75rem 0 0.375rem;
    font-size: 0.875rem;
    font-weight: bolder;
    transition: background-color 0.4s;
  }

  #top .um-account .um-account-tab-annonces {
    position: relative;
  }

  #top .um-account .um-account-tab-annonces .publish:hover,
  #top .um-account .um-account-tab-annonces .publish:focus {
    background-color: var(--red);
    text-decoration: none;
  }

  #top .um-account .um-account-tab-annonces .publish::after {
    content: "\e816";
    font-family: "entypo-fontello", serif;
    width: 1.375rem;
    height: 100%;
    background-color: #05111d;
    display: flex;
    font-size: 1.125rem;
    position: absolute;
    right: 0;
    top: 0;
    justify-content: center;
    align-items: center;
    color: white;
    transition: background-color 0.4s;
  }

  #top .um-account .um-account-tab-annonces .publish:hover::after {
    background-color: var(--red);
  }

  #top .um-account-tab-compte .um-field-user_batiment,
  #top .um-account-tab-compte .um-field-user_service {
    display: none;
  }

  #top .um-account .um-account-tab-compte .um-account-photo,
  #top .um-profile .um-account-photo {
    text-align: center;
    margin: 15px;
  }

  #top .um-account .um-account-tab-compte .um-account-photo img,
  #top .um-profile .um-account-photo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto !important;
    object-fit: cover;
    object-position: center;
  }

  #top .um-account .um-account-tab-compte .um-profile-photo,
  #top .um-profile .um-profile-photo {
    display: none;
  }

  /**************************************************************************/
  /**************************PAGE DE RECHERCHE*******************************/
  /**************************************************************************/
  #top.search #main .sidebar {
    display: none;
  }

  #top.search #main .third-menu {
    display: none;
  }

  /********************************************************************/
  /**************************PAGE PROFIL*******************************/
  /********************************************************************/
  #top.um-page-user .um-form .um-profile-photo-overlay {
    display: block;
  }

  /********************************************************************/
  /**************************PAGE TROMBINOSCOPE************************/
  /********************************************************************/
  #top.page-id-95 .um-members {
    display: flex;
    flex-wrap: wrap;
  }

  #top.page-id-95 .um-member-metaline-poste-occupe {
    /*on retire poste : le label*/
  }

  #top.page-id-95 .um-members .um-gutter-sizer,
  #top.page-id-95 .um-members .um-clear {
    display: none;
  }

  #top.page-id-95 .um-members .um-member {
    width: unset;
    flex: 0 1 180px;
    margin-bottom: 5px;
    margin-right: 10px;
    background-color: #f4f4f4;
    line-height: 18.2px !important;
    text-align: initial;
    position: relative !important;
    left: unset !important;
    top: unset !important;
  }

  #top.page-id-95 .um-members .um-member .um-members-edit-btn {
    display: none;
  }

  #top.page-id-95 .um-members .um-member .um-member-photo {
    padding-top: 0;
    padding-bottom: 0.75rem;
  }

  #top.page-id-95 .um-members .um-member .um-member-photo img {
    border: none;
    border-radius: 0 !important;
    width: 100%;
    height: 250px;
    object-fit: cover;
  }

  #top.page-id-95 .um-members .um-member-card {
    padding: 0 0.75rem;
    margin-bottom: 30px;
  }

  #top.page-id-95 .um-members .um-member .um-member-name {
    justify-content: unset;
    margin: 0 0 0.75rem;
  }

  #top.page-id-95 .um-members .um-member .um-member-name a {
    color: #05111d;
    font-size: 1rem;
    font-weight: bold;
  }

  #top.page-id-95 .um-members .um-member .um-member-meta-main {
    text-align: initial;
  }

  #top.page-id-95 .um-members .um-member .um-member-meta {
    border: none;
    margin: 0;
    padding: 0;
  }

  #top.page-id-95 .um-members .um-member .um-member-meta .um-member-metaline {
    padding: 0;
    font-size: 0.875rem;
    color: #05111d;
    margin-bottom: 8px;
  }

  #top.page-id-95 .um-members .um-member .um-member-meta strong {
    font-weight: bold;
    color: #05111d;
  }

  #top.page-id-95 .um-members .um-member .show-more {
    position: absolute;
    bottom: 0;
    right: 0;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    background-color: var(--green);
    padding: 0 25px 0 0.375rem;
    font-size: 0.875rem;
    transition: all 450ms;
    font-family: "Open Sans", serif;
  }

  #top.page-id-95 .um-members .um-member .show-more:hover,
  #top.page-id-95 .um-members .um-member .show-more:hover::after {
    background-color: var(--dark-red);
  }

  #top.page-id-95 .um-members .um-member .show-more::after {
    content: "\e816";
    font-family: "entypo-fontello", serif;
    width: 22px;
    height: 100%;
    background-color: var(--brown);
    display: flex;
    font-size: 13px;
    position: absolute;
    transition: all 450ms;
    right: 0;
    top: 0;
    justify-content: center;
    align-items: center;
    color: white;
  }

  /********************************************************************/
  /**************************PAGE ORGANIGRAMME*************************/
  /********************************************************************/
  #top.page-id-990 #wrap_all .organigramme {
    padding-bottom: 20px;
  }

  #top.page-id-990 #wrap_all .organigramme ul {
    list-style-type: none;
  }

  #top.page-id-990 #wrap_all .organigramme ul,
  #top.page-id-990 #wrap_all .organigramme li,
  #top.page-id-990 #wrap_all .organigramme span {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  #top.page-id-990 #wrap_all .organigramme ul li > .service {
    margin: 2px 0;
  }

  #top.page-id-990 #wrap_all .organigramme ul li .service {
    color: white;
    padding: 10px;
    display: inline-block;
    cursor: pointer;
    margin-bottom: 5px;
  }

  #top.page-id-990 #wrap_all .organigramme ul li .service.level-0,
  #top.page-id-990 #wrap_all .organigramme ul li .service.level-1 {
    background-color: var(--red);
  }

  #top.page-id-990 #wrap_all .organigramme ul li .service.level-2 {
    background-color: var(--dark-blue);
  }

  #top.page-id-990 #wrap_all .organigramme ul li .service.level-3 {
    background-color: var(--blue);
  }

  #top.page-id-990 #wrap_all .organigramme ul li .service.level-4 {
    background-color: #328cd8;
  }

  #top.page-id-990 #wrap_all .organigramme ul li .service.level-5 {
    background-color: #328cd8;
  }

  #top.page-id-990 #wrap_all .organigramme ul li .service.level-6 {
    background-color: #328cd8;
  }

  #top.page-id-990 #wrap_all .organigramme ul .toggle::before {
    font-family: "entypo-fontello", serif;
    margin-left: 10px;
    font-size: 20px;
    vertical-align: middle;
  }

  #top.page-id-990 #wrap_all .organigramme ul .toggle.open::before {
    content: "\e873";
  }

  #top.page-id-990 #wrap_all .organigramme ul .toggle.close::before {
    content: "\e876";
  }

  #top.page-id-990 #wrap_all .organigramme ul .toggle.open + .users {
    display: flex;
  }

  #top.page-id-990 #wrap_all .organigramme ul .toggle.close + .users {
    display: none;
  }

  #top.page-id-990 #wrap_all .organigramme ul.users {
    display: flex;
    flex-wrap: wrap;
    margin: 2px 0;
  }

  #top.page-id-990 #wrap_all .organigramme ul.users li {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background-color: var(--grey);
    padding: 12px;
    flex: 0 1 200px;
    margin: 5px;
    flex-direction: column;
    justify-content: center;
  }

  #top.page-id-990 .organigramme ul.users li img {
    margin-right: 5px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
  }

  #top.page-id-990 .organigramme ul.users li a,
  #top.page-id-990 .organigramme ul.users li p {
    font-weight: bold;
    color: black;
    text-align: center;
  }

  #top.page-id-990 .organigramme ul.users li p {
    margin: 0;
  }

  #top.page-id-990 .organigramme ul.users li .poste-occupe {
    text-align: center;
    font-size: 12px;
  }

  /********************************************************************/
  /****************************PAGE ANNUAIRE***************************/
  /********************************************************************/
  #top.page-id-103 .um-members .um-member.inactive {
    display: none;
  }

  #top.page-id-103 .um-members .um-member .um-member-meta strong {
    display: none;
  }

  /********************************************************************/
  /**************************PAGE CONNEXION****************************/
  /********************************************************************/
  #top.page-id-113 .um-login {
    max-width: unset;
  }

  #top.page-id-113 .um-login .um-center {
    text-align: unset;
  }

  #top.page-id-113 .um-login #um-submit-btn {
    padding: 0.25rem 0.5rem !important;
    height: 2.3rem !important;
    width: auto !important;
    min-width: unset !important;
    text-transform: uppercase !important;
    font-weight: bolder !important;
    border-radius: 0 !important;
    background-color: var(--red);
  }

  #top.page-id-113 .form-warning {
    margin: 25px 0;
    border: 1px solid #f34f69;
    padding: 12px;
    background-color: #f67f92;
  }

  #top.page-id-113 .form-warning p,
  #top.page-id-113 .form-warning ul {
    margin: 0 12px 0 0;
    color: black;
  }

  #top.page-id-113 .form-warning li {
    margin: 0 6px 0 0;
    list-style: disc inside;
    color: black;
  }

  #top.page-id-113 .form-warning li a {
    text-decoration: underline;
    color: black;
  }

  #top.page-id-113 .form-warning.infos {
    background-color: var(--blue);
    border: 1px solid var(--dark-blue);
    color: white;
    margin: 0 0 25px;
  }

  #top.page-id-113 .form-warning.infos p,
  #top.page-id-113 .form-warning.infos strong {
    color: white;
  }

  #top.page-id-113 .form-warning.infos strong {
    text-decoration: underline;
  }

  /********************************************************************/
  /*********************PAGE REINITIALISATION MDP**********************/
  /********************************************************************/
  #top.page-id-367 .um-password form .um-col-alt {
    margin: 0;
  }

  #top.page-id-367 .um-password form .um-center {
    text-align: unset;
  }

  #top.page-id-367 .um-password form #um-submit-btn {
    padding: 0.25rem 0.5rem !important;
    height: 2.3rem !important;
    width: auto !important;
    min-width: unset !important;
    text-transform: uppercase !important;
    font-weight: bolder !important;
    border-radius: 0 !important;
    background-color: var(--red);
  }

  /********************************************************************/
  /**************************PAGE SERVICES****************************/
  /********************************************************************/
  #top.page-id-1551 .services-liste .service-item {
    margin-bottom: 0.75rem;
  }

  #top.page-id-1551 .services-liste .service-item h2 {
    padding: 0.75rem;
    font-size: 1.25rem;
    text-transform: none;
  }

  #top.page-id-1551 .services-liste .service-item span {
    font-weight: bold;
  }

  #top.page-id-1551 .services-liste .service-item p {
    margin: 0;
  }

  #top.page-id-1551 .services-liste .service-item a {
    text-decoration: underline;
  }

  #top.page-id-1551 .services-liste .service-item .mail {
    padding-top: 10px;
  }

  /* Menu supplémentaire pages avec plusieurs h2 */
  #top .third-menu {
    position: fixed;
    top: 146px;
    width: 170px;
    padding: 12px 0;
    background-color: var(--dark-blue);
    z-index: 99;
    left: calc((100% - 872px) / 2 - 131px);
  }

  #top.admin-bar .third-menu {
    top: 177px;
  }

  #top:is(.single-post) .third-menu {
    top: 196px;
  }

  @media only screen and (max-width: 1340px) and (min-width: 768px) {
    #top .third-menu {
      left: calc((100% - 872px) / 2 - 130px);
    }
  }

  @media only screen and (max-width: 1140px) {
    #top .third-menu {
      display: none;
    }
  }

  #top .third-menu.kiosque-menu {
    background-color: var(--green);
  }

  #top .third-menu.kiosque-menu li a {
    color: black;
  }

  #top .third-menu.kiosque-menu li a.active,
  #top .third-menu.kiosque-menu li a:hover {
    background-color: #445f00;
    color: white;
  }

  #top .third-menu.kiosque-menu::after {
    content: "";
    display: inline-block;
    height: 0;
    width: 0;
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    border-right: 15px solid white;
    border-bottom: 15px solid #445f00;
    overflow: visible;
    visibility: visible;
  }

  #top .third-menu ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
  }

  #top .third-menu li {
    margin: 0;
    padding: 0px;
  }

  #top .third-menu li a {
    display: flex;
    padding: 2px 12px;
    width: 100%;
    font-size: 12px;
    line-height: 14px;
    color: white;
  }

  #top .third-menu li a:hover {
    background-color: var(--blue);
  }

  /*#top .third-menu li a:hover,*/
  /*#top .third-menu li a:focus {*/
  /*  text-decoration: none;*/
  /*}*/
  /********************************************************************/
  /**************************PAGE DETAIL ANNONCES**********************/
  /********************************************************************/
  #top.single-portfolio .template-page {
    padding-top: 12px;
  }

  #top.single-portfolio main {
    margin-left: 0;
  }

  #top.single-portfolio .title {
    text-transform: none;
    font-size: 1.5625rem;
    font-weight: lighter;
  }

  #top.single-portfolio .detail-annonce {
    background-color: #f4f4f4;
    border: 1px solid #e1e1e1;
    padding: 0.75rem 0.75rem 2.25rem 0.75rem;
    margin-bottom: 12px;
  }

  #top.single-portfolio .detail-annonce p {
    margin: 0;
  }

  #top.single-portfolio .detail-annonce p:first-child {
    margin-bottom: 0.75rem;
  }

  #top.single-portfolio .detail-annonce a {
    color: black;
  }

  #top.single-portfolio .user-infos {
    position: relative;
    padding: 0.75rem 0.75rem 2.25rem;
  }

  #top.single-portfolio .user-infos::after {
    content: "";
    display: inline-block;
    height: 0;
    width: 0;
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    border-right: 15px solid white;
    border-bottom: 15px solid var(--dark-red);
    overflow: visible;
    visibility: visible;
  }

  #top.single-portfolio .user-infos p {
    margin: 0 0 0.75rem 0;
    font-size: 1.125rem;
    font-weight: bold;
  }

  #top.single-portfolio .user-infos a {
    cursor: pointer;
    color: white;
  }

  #top.single-portfolio .user-infos a:hover {
    text-decoration: underline;
  }

  #top.single-portfolio .user-infos .avia-button-wrap {
    position: absolute;
    right: 0;
    bottom: 0;
  }

  #top.single-portfolio .user-infos .avia-button-wrap a {
    line-height: 18.2px;
    font-size: 0.875rem;
    font-weight: bold;
    margin: 0;
    border-radius: 0;
    width: max-content;
    min-width: unset;
    transition: all 450ms;
    padding: 0 30px 0 0.375rem;
  }

  #top.single-portfolio #wrap_all .user-infos .avia-button-wrap a:hover {
    background-color: var(--dark-red);
    text-decoration: none;
    opacity: 1;
  }

  #top.single-portfolio #wrap_all .user-infos .avia-button-wrap a:hover::after {
    background-color: var(--dark-red);
  }

  #top.single-portfolio #wrap_all .user-infos .avia-button-wrap a::after {
    content: "\e816";
    font-family: "entypo-fontello";
    width: 24px;
    height: 100%;
    background-color: var(--brown);
    display: flex;
    font-size: 13px;
    position: absolute;
    transition: all 450ms;
    right: 0;
    top: 0;
    justify-content: center;
    align-items: center;
    color: white;
  }

  #top.single-portfolio #wrap_all .avia-builder-el-last .avia-button-wrap {
    margin-right: 22px;
  }

  /*********************************************************************/
  /******************* PAGE DE LISTING DES EVENEMENTS ******************/
  /*********************************************************************/
  #top #wrap_all #main .month-title {
    margin: 0 0 1.5rem 0;
    font-size: 1.6rem;
    font-family: "Open Sans Light", sans-serif !important;
    color: #05111d;
    text-transform: capitalize;
  }

  #top .events hr {
    border-color: #ce0e2d;
    margin: 0 0 0.375rem 0;
  }

  #top .events .event-item {
    margin-bottom: 1.5rem;
    display: inline-block;
  }

  #top .events .event-item:hover,
  #top .events .event-item:focus {
    text-decoration: none;
  }

  #top .events .event-item .event-date {
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: #ce0e2d;
    line-height: 26px;
  }

  #top #wrap_all .events .event-item .event-title {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: "Open Sans Bold", sans-serif !important;
    color: #05111d;
  }

  #top .events .event-item p {
    margin-bottom: 0.75rem;
    margin-top: 0;
    color: #05111d;
    font-size: 14px;
  }

  /* Formumaires WP FORMS (input date) */
  #top .wpforms-field-container .wpforms-field-date-time select {
    display: inline;
    width: 28%;
  }

  /*#top .third-menu {*/
  /*  width: 200px;*/
  /*  background-color: var(--green);*/
  /*  left: calc((100% - 872px) / 2 - 200px) !important;*/
  /*}*/
  /*#top .third-menu li {*/
  /*  padding: 0;*/
  /*}*/
  /*#top .third-menu li a {*/
  /*  transition: background-color 0.4s, color 0.4s;*/
  /*  color: black;*/
  /*}*/
  /*#top .third-menu li a.active,*/
  /*#top .third-menu li a:hover {*/
  /*  background-color: #445f00;*/
  /*  color: white;*/
  /*}*/
}
