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

/*
Mobile Styles
================================================== */
/* Note: CSS POUR VUE SMARTPHONE */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */
  /*********************************************************/
  /**************************OUTILS*************************/
  /*********************************************************/
  /* Scroll to top button */
  #top #scroll-top-link {
    content: "\e88a";
    position: absolute;
    bottom: 150px;
    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;
  }

  /**********************************************************/
  /**************************ACCUEIL*************************/
  /**********************************************************/
  /************************ 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: 6px;
    margin-bottom: 12px;
    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::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;
    flex-direction: column;
    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: column;
    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 {
    width: 100%;
    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 .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;
  }

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

  #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;
    padding-bottom: 12px;
    margin-bottom: 14px;
    text-align: left;
    font-size: 18px;
  }

  #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;
    line-height: 18px;
    color: white;
    font-family: "Open Sans", serif;
    text-decoration: none;
  }

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

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

  .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;
    padding-bottom: 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.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;
    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::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;
  }

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

  .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;
    line-height: 18px;
    color: white;
    font-family: "Open Sans", serif;
  }

  .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;
    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;
    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;
    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;
    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;
    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 #wrap_all .sidebar .widget_custom_html {
    padding: 0;
  }

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

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

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

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

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

  /*******************************************************************/
  /************************ PAGE ORGANIGRAMME ************************/
  /*******************************************************************/
  #top.page-id-990 .organigramme ul {
    list-style-type: none;
  }

  #top.page-id-990 .organigramme ul .service {
    background-color: var(--red);
    color: white;
    padding: 10px;
    margin-bottom: 5px;
    display: inline-block;
    cursor: pointer;
  }

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

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

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

  #top.page-id-990 .organigramme ul.users {
    display: flex;
    flex-wrap: wrap;
  }

  #top.page-id-990 .organigramme ul.users li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background-color: var(--grey);
    padding: 10px;
    flex: 0 1 200px;
  }

  #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 .poste-occupe {
    flex: 1 1 100%;
    margin-top: 5px;
    text-align: center;
    font-size: 12px;
  }

  /********************************************************************/
  /**************************PAGE MON COMPTE***************************/
  /********************************************************************/
  #top .um-account-tab-compte .um-field-user_batiment,
  #top .um-account-tab-compte .um-field-user_service {
    display: none;
  }
}
