/* MISC */
:root {
    --border-radius: 0px;
    --border: 0px solid #ddd;
    --row-gap: 20px;
    --column-gap:20px;
    --padding: 25px;
    --box-shadow: 0px 3px 6px #00000025, 0 0px 30px #00000008;
}

form {
    border: var(--border);
    border-radius: var(--border-radius);
}

.white {
    background-color: transparent;
}

.wrapper {
    padding: 20px 15px;
    max-width: var(--width);
    margin: auto;
}
.inner-wrapper {
    padding: 0 0px;
}

a.button {
    padding: 10px 20px;
    background: var(--accent-color);
    color: white;
    font-weight: bold;
    transition: var(--transition);
    border-radius: var(--border-radius)
}

a.button:hover {
    background: var(--text-color);
}

a.readmore-bottom {
    display: none;
}

/* HEADER */
#header {
    position: relative;
    overflow: visible;
    padding: 40px 15px 0;
    max-width: var(--width);
    margin: auto;
}

#header-top {
    background-color: var(--text-color);
}

#header-top .wrapper {
    padding: 15px 15px;
}

#header-top a {
    color: white;
    font-size: var(--font-size-xs);
    font-weight: 500;
}

#header-top .social {
    display: flex;
    justify-content: center;
    align-items: center;
    row-gap: 10px;
    column-gap: 20px;
}

#header-top .social-icons {
    display: flex;
    gap: 10px;
}

#header-top .social-icons a {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    transition: background-color 0.3s;
}

#header-top .social-icons svg {
    width: 16px;
    height: 16px;
    fill:  var(--text-color);
}

#header-top .social-icons a:hover {
    background-color: var(--accent-color)
}

#header-top .social-icons a:hover svg {
    fill: white;
}

#header-bottom {
    background-color: white;
    z-index: 1000;
}

#header-bottom .wrapper {
    padding: 15px 15px;
    border-bottom: var(--border)
}

#header-bottom.sticky {
    left: 0;
}

#header-bottom.sticky .wrapper {
    padding: 10px 15px;
}

#header-bottom nav li:not(.contact) a {
    line-height: 40px;
    display: block;
}

#header-bottom nav li.current_page_item a { 
    color: var(--accent-color);
}

#header-bottom nav li.contact {
    background: var(--accent-color);
    border-radius: var(--border-radius);
}

#header-bottom nav li.contact a{
  color: white;
  line-height: 40px;
  display: block;
  padding: 0 15px;
}

#header-bottom nav li.contact:hover{
    background: var(--text-color);
}

.primary-nav .menu-primary-container {
    display: block;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

#slider .wrapper {
    padding: 0px 15px 20px;
    margin: auto;
    max-width: var(--width);
}

#slider .inner-wrapper{
    flex-direction: column;
    max-width: calc(var(--width) + var(--padding )* 2);
    row-gap: 0;
}

#slider .splide {
    flex-grow: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
}

#slider img {
    height: 400px!important;
}

#slider .sidebar {
    width: 100%;
    z-index: 1;
    padding-top: 0;
    padding-bottom: 0;
    
}

#slider .sidebar .sidebar-inner{
    padding: var(--padding);
    border: var(--border);
    border-radius: var(--border-radius);
    background: var(--text-color);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#slider .sidebar .sidebar-inner .item {
    display: flex;
    flex-direction: row;
    row-gap: 10px;
    column-gap: 10px;
    width: 25%;
}

#slider .sidebar .sidebar-inner .item .item-text p {
    font-size: var(--font-size-sm);
    color: white;
}

#slider .sidebar .sidebar-inner .item .item-text a {
    color: white;
}

#slider .sidebar .sidebar-inner .item .item-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0; 
    background: var(--accent-color);
    transition: var(--transition);
    cursor: pointer;
    border-radius: var(--border-radius);
}
#slider .sidebar .sidebar-inner .item .item-icon a {
    height: 28px;
    
}
#slider .sidebar .sidebar-inner .item .item-icon path {
    stroke: white;
}

#slider .sidebar .sidebar-inner .item .item-text p b:first-child,
#slider .sidebar .sidebar-inner .item .item-text p strong:first-child {
    display: block;
}


#header-not-front .wrapper {
    padding: 0px 15px 20px;
}

#header-not-front .header-not-front {
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    border-radius: var(--border-radius) var(--border-radius) 0 0 ;
}

#header-not-front .header-not-front.posts {
    height: 680px;
}

#header-not-front .headline {
    display: flex;
    flex-direction: row;
    row-gap: var(--row-gap);
    column-gap: var(--column-gap);
    width: 100%;
    max-width: var(--width);
    margin: auto;
    background: #ffffff;
    padding: 15px var(--padding);
    border: var(--border);
    border-top: 0;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    
}

#header-not-front .headline .title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    
}

#header-not-front .headline .title h1 {
    color: var(--text-color)
}

#header-not-front .headline .title a {
    background: var(--accent-color);
    padding: 5px 20px;
    color: white;
    font-weight: bold;
    transition: var(--transition);
}

#header-not-front .headline .title a:hover {
    background: var(--text-color);
}

/* CONTENT */

#content .inner-wrapper {
    background: white;
    border-radius: var(--border-radius);
    border: var(--border);
    row-gap: 0;
    column-gap: 0;
}
.headline {
    display: flex;
    flex-direction: row;
    row-gap: var(--row-gap);
    column-gap: var(--column-gap);
    width: 100%;
    background: var(--text-color);
    padding: 20px var(--padding);
    border-bottom: var(--border);
    justify-content: space-between;
    align-items: center;
}

#content .content {
    padding: var(--padding);
}

.headline .title {
    width: 79%;
    flex-grow: 1;
}

.headline .title h2 {
    color: white;
}

.headline .button  {
    background: var(--accent-color);
    padding:10px 20px;
    color: white;
    font-weight: bold;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    font-size: var(--font-size-sm);
    border-radius: var(--border-radius);
}

.headline .button:hover {
    background:var(--text-color)
}

.static-wrapper {
    padding: var(--padding);
}

.static-inner-wrapper {
    max-width: var(--width);
    margin: auto;
}

#pharmacie.wrapper, #conseils.wrapper, #services.wrapper, #evenements.wrapper, #articles.wrapper, #contact.wrapper, .cgu-wrapper {
    padding: 20px 15px 20px;
    margin: auto;
    max-width: var(--width);
}

.link-nav-cgu #menu-liens-utiles {
    display: flex;
    flex-direction: row;
    column-gap: 15px;
}

.cgu-inner-wrapper {
    max-width: var(--width);
    background: white;
    padding: var(--padding);
    margin: auto;
    border: var(--border);
    border-radius: var(--border-radius);
}

#annonce .annonce {
    display: flex;
    flex-direction: row;
    row-gap: var(--row-gap);
    column-gap: var(--column-gap);
}

#annonce .annonce-image {
    width: 25%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

#annonce .annonce-content {
    width: 75%;
}

#annonce .annonce-content p {
    margin-bottom: 1em;
}


#mediacom .mediacom {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: var(--row-gap);
    column-gap: var(--column-gap);
    box-sizing: border-box;
}

#mediacom .mediacom .mediacom-item {
    width: calc(50% - var(--row-gap) / 2);
    border-radius: var(--border-radius);
}

.content {
    width: 100%;
}

#apropos .content {
    display: flex;
    flex-direction: row;
    row-gap: var(--row-gap);
    column-gap: var(--column-gap);
}

#apropos .content .masonry {
    width: 33.3333%;
}


#apropos .content .inner-content {
    width: calc(66.6666% - var(--row-gap) / 1.50);
}

#apropos .content .inner-content p{
    margin-bottom: 1em
}

#apropos .content .reportage-masonry {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#apropos .content .reportage-masonry a {
    display: block;
    width: calc(33.3333% - 10px / 1.50);
}

#apropos .content .reportage-masonry img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    display: block;
    border-radius: var(--border-radius);
}

#conseils .conseils,
#services .services {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: var(--row-gap);
    column-gap: var(--column-gap);
    box-sizing: border-box;
}

#conseils .conseils .conseils-item,
#services .services .services-item {
    box-sizing: border-box;
    width: calc(25% - var(--row-gap) / 1.3333);
    background: white;
    justify-content: space-between;
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 180px;
    border-radius: var(--border-radius);
    border: var(--border);
    transition: var(--transition);
}

#conseils .conseils .conseils-item:hover,
#services .services .services-item:hover {
    box-shadow: var(--box-shadow);
}

#conseils .conseils .conseils-item img,
#services .services .services-item img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#conseils .conseils .conseils-item img[src$=".svg"],
#services .services .services-item img[src$=".svg"] {
    object-fit: contain;
    width: 90px;
    height: 100%;
}

#conseils .conseils .conseils-item h4,
#services .services .services-item h4 {
    line-height: 2.5em;
}

#articles .inner-content {
    row-gap: var(--row-gap);
    column-gap: var(--column-gap);
    flex-wrap: wrap;
}

#articles .articles-item {
    background: white;
    padding: 0;
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    width: calc(25% - var(--row-gap) / 1.3333);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

#articles .articles-item:hover {
    box-shadow: var(--box-shadow);
}

#articles .articles-item img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

#articles .articles-item h4 a {
    color: inherit;
}

#articles .articles-item .post-title,
#articles .articles-item .post-excerpt {
    padding-left: 10px;
    padding-right: 10px;
}

#partenaires,
#contact {
    padding-bottom: 20px;
}

#contact .inner-content .acfe-form {
    padding: 0;
    border: 0;
}

#contact form {
    box-shadow: none;
}

#contact .sidebar {
    box-shadow: none!important;
}


#partenaires .inner-wrapper {
    background: transparent;
    border: none;
    row-gap: calc(var(--row-gap) / 2);
}

#partenaires .content {
    padding: 0;
}

#partenaires .partenaires {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: var(--row-gap);
    column-gap: var(--column-gap);
    box-sizing: border-box;
}

#partenaires .partenaires .partenaires-item {
    box-sizing: border-box;
    width: calc(100% / 6 - (var(--row-gap) / 1.2 ));
    background: white;
    justify-content: center;
    align-items: center;
    display: flex;
    height: 140px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}


#partenaires .partenaires .partenaires-item:hover {
    box-shadow: var(--box-shadow);
}


table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

th, td {
    border: 0px solid #ddd;
    padding: 8px;
    text-align: left;
}
th {
    background-color: var(--accent-color);
    color: white;
}
td {
    background-color: #ffffff;
}
tr:nth-child(odd) td {
    background-color: #f9f9f9;
}



/* FOOTER */
#footer {
    max-width: var(--width);
    margin: 0 auto 40px;
}

#footer-top,
#footer-middle,
#footer-bottom {
    margin: 0px 15px;
}

#footer-top .wrapper,
#footer-middle .wrapper,
#footer-bottom .wrapper {
    margin: 0px;
    padding: 0;
}

#footer-top .inner-wrapper,
#footer-middle .inner-wrapper,
#footer-bottom .inner-wrapper  {
    padding: 15px var(--padding);
}

#footer-top .inner-wrapper {
    background: white;
    padding: 15px var(--padding);
    border: var(--border);
    border-radius: var(--border-radius);
}


#footer-top #pwaforwp-add-to-home-click {
    background-color: var(--accent-color);
    color: white;
    cursor: pointer;
}

#pwaforwp-add-to-home-click:hover {
    background-color: var(--text-color);
}

#footer-middle {
    
    background-color: var(--text-color);
    color: white;
}

#footer-middle .wrapper {
    padding-top: 30px;
    padding-bottom: 30px;
  
}

#footer-middle .inner-wrapper{
    align-items: start;
}

#footer-middle h2, 
#footer-middle h3, 
#footer-middle h4 {
    color: white;
}

#footer-middle a {
    color: white;
}

#footer-middle a:hover,
#footer-middle li.current_page_item a {
    color: var(--accent-color);
}

#footer-middle .contact,
#footer-middle .bottom-nav,
#footer-middle .link-nav,
#footer-middle .google-maps {
    display: flex;
    flex-direction: column;
    row-gap: var(--row-gap);
    column-gap: var(--column-gap);
}

#footer-middle .google-maps {
    border-radius: var(--border-radius);
    overflow: hidden;
}

#footer-middle .contact .logo {
    display: block;
}

#footer-middle .contact .logo a {
    display: block;
    height: 40px;
}

#footer-middle .contact .logo img {
    filter: invert(1) brightness(1000%);
    max-width: 150px;
    height: 40px;
  }

#footer-middle .contact {
    display: flex;
    flex-direction: column;
    row-gap: var(--row-gap);
    column-gap: var(--column-gap);
}

#footer-middle .contact .contact-item {
    display: flex;
    flex-direction: row;
    column-gap: 10px;
    row-gap: 10px;
}

#footer-middle .contact .adresse p a{
    display: inline;
    max-width: 180px;
    word-wrap: break-word;
    text-align: left;
}

#footer-middle .contact .contact-item .contact-item-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0; 
    border: 3px solid var(--accent-color);
    transition: var(--transition);
    cursor: pointer;
    border-radius: var(--border-radius);
}
#footer-middle .contact .contact-item .contact-item-icon a {
    height: 28px;
    
}
#footer-middle .contact .contact-item .contact-item-icon path {
    stroke: var(--accent-color);
}

#footer-middle .contact .contact-item .contact-item-text p a{
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

#footer-bottom .wrapper {
    background-color: #222222;
    color: white;
}

#footer-middle .inner-wrapper{
    flex-wrap: wrap;
}

#footer-bottom a {
    color: var(--accent-color);
}

.back-to-top {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    border-radius: var(--border-radius);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--text-color);
    color: white;
}

.back-to-top:active, .back-to-top:focus {
    color: white;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

.widgets {
    display: flex;
    flex-direction: row;
    row-gap: var(--row-gap);
    column-gap: var(--column-gap);
    width: 100%;
    max-width: var(--width);
    margin: auto;
    margin-bottom: 40px;
}

.widgets .rss-widget,
.widgets .weather-widget {
    width: 50%;
    flex-grow: 1;
    
}

#custom-rss-widget {
    background-color: #fff;
    padding: var(--padding);
    border-radius: 0;
    color: var(--text-color);
    border-radius: var(--border-radius);
    border: var(--border);
}

#custom-rss-widget h2 {
    margin-bottom: 10px;
    line-height: 1em;
}

#custom-rss-widget h2 span {
    text-transform: uppercase;
    font-size: 14px;
}

#custom-rss-widget ul {
    list-style: none;
    padding: 0;
}

#custom-rss-widget li {
    margin-bottom: 10px;
}

#custom-rss-widget li a {
    margin-bottom: 0px;
    line-height: 1em;
}


#custom-rss-widget li:last-child {
    margin-bottom: 0px;
}

#custom-rss-widget h4 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 1;
}

#custom-rss-widget p {
    margin: 5px 0;
}
#custom-rss-widget .rss-date {
    font-size: var(--font-size-xs);
    color: var(--text-light-color);
    font-style: italic;
    display: block
}

.weather-widget {
    background-size: cover;
    background-position: center;
    padding: 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border-radius: var(--border-radius);
}

.weather-widget .weather-widget-header h2 {
    margin-bottom: 0px;
    line-height: 1em;
    color: white!important;
}

.weather-widget .weather-widget-header h2 span {
    text-transform: uppercase;
    font-size: 14px;
}

.weather-widget .weather-widget-header {
    padding: 20px 20px 11px;
    background: #00000040;
}

.weather-widget .weather-widget-content {
    color: white!important;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.weather-widget .weather-widget-content .weather-icon {
    width: 140px;
}

.weather-widget .weather-widget-content .weather-temp {
    width: 50%;
}

.weather-widget .weather-widget-content .weather-temp h6 {
    font-size: 70px;
    color: white;
    line-height: 1em;
    text-shadow: 0 0 20px #00000050;
}

.weather-widget .weather-widget-content .weather-temp p {
    font-size: 18px;
    color: white;
    text-transform: uppercase;
    text-shadow: 0 0 20px #00000050;
}

.weather-widget .weather-widget-footer {
    padding: 10px 20px 20px;
    background: #00000040;
    color: white!important;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.weather-widget .weather-widget-footer p {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 10px;
}



.weather-widget h2 {
    margin-bottom: 10px;
}

.weather-widget-placeholder {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light-color);
    font-size: 1.5em;
    height: 4;
    width: 50%;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}


.rss-widget-placeholder {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light-color);
    font-size: 1.5em;
    height: 400px;
    width: 50%;
    position: relative;
    border-radius: var(--border-radius);
}

.loading-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    row-gap: var(--row-gap);
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 1200px) {
    #header {
        padding: 20px 15px 0;
    }

    #footer {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 1023px) {
    :root {
        --row-gap: 15px;
        --column-gap:15px;
        --padding: 20px;
    }

    .wrapper {
        padding: 10px 15px;
    }

    .inner-wrapper {
        margin: 0px;
        padding: 0 0px;
    }

    .headline {
        column-gap: 15px;
    }
    
    .headline .title {
        width: 67.6%;
    }

    .headline .button {
        width: 33%;
    }

    #header {
        padding: 15px 10px 0;
    }

    #header-top .wrapper {
        padding: 7px 15px;
    }

    #header-bottom .wrapper {
        padding: 10px 15px;
    }

    .header-bottom .inner-wrapper {
        position: relative;
    }

    #menu-navigation-principale {
        display: flex;
        flex-direction: column;
        column-gap: 15px;
    }

    .menu-toggle {
        display: block;
    }

    .primary-nav .menu-primary-container {
        display: none;
    }

    .primary-nav.active .menu-primary-container {
        display: block;
    }

    .menu-primary-container {
        background: white;
        position: absolute;
        top: 79%;
        width: 300px;
        right: 10px;
        padding: 15px 15px;
        border-radius: 0px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        z-index: 10000;
    }

    #slider .wrapper {
        padding: 0px 10px 20px;
        margin: auto;
        max-width: var(--width);
    }

    #slider .sidebar {
        padding: 0;
    }

    #slider .sidebar .sidebar-inner {
        border-radius: 0 0 var(--border-radius) var(--border-radius);
        row-gap: var(--row-gap);
        column-gap: var(--column-gap);
    }

    #slider .inner-wrapper {
        flex-direction: column;
    }

    #slider img {
        height: 500px!important;
    }

    #header-not-front .wrapper {
        padding: 0px 15px 15px;
    }

    #header-not-front .header-not-front {
        height: 350px;
    }

    #header-not-front .header-not-front.posts {
        height: 480px;
    }

    #annonce .annonce-image {
        width: 33%;
    }
    
    #annonce .annonce-content {
        width: 66%;
    }

    #conseils .conseils,
    #services .services,
    #partenaires .partenaires {
        box-sizing: border-box;
    }

    #conseils .conseils .conseils-item,
    #services .services .services-item {
        width: calc(33.3333% - var(--row-gap) / 1.50);
        row-gap: 10px;
    }

    #articles .articles-item {
        width: calc(50% - var(--row-gap) /2);
    }

    #partenaires,
    #contact {
        padding-bottom: var(--padding)
    }

    

    #partenaires .partenaires .partenaires-item {
        width: calc(25% - var(--row-gap) / 1.3333);
        height: 100px;
    }

    #partenaires .partenaires .partenaires-item img{
        width: 80px;
        height: 80px;
    }

    #pharmacie.wrapper, 
    #conseils.wrapper, 
    #services.wrapper, 
    #evenements.wrapper, 
    #articles.wrapper, 
    #contact.wrapper,
    .cgu-wrapper {
        padding: 10px 15px 25px;
    }

    #footer {
        margin-bottom: 15px;
    }

    #footer-top .wrapper {
        padding: 0;
    }

    #footer-top .inner-wrapper {
        padding: 15px 15px;
        border-radius: 0;
    }

    #footer-middle {
        margin: 0 15px;
    }

    #footer-middle .wrapper {
        padding: 25px 15px;
    }


    #footer-middle .contact {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        
    }

    #footer-middle .contact h3,
    #footer-middle .logo {
        display: none!important;
    }

    #footer-bottom .wrapper {
        padding: 10px 15px;
    }

    .weather-widget .weather-widget-content .weather-temp h6 {
        font-size: 55px; 
    }
}

@media screen and (max-width: 767px) {
    :root {
        --row-gap: 10px;
        --column-gap:10px;
        --padding: 15px;
    }

    .wrapper {
        padding: 5px 10px;
    }

    .inner-wrapper {
        margin: 0px;
        padding: 0 0px;
    }

    .headline {
        column-gap: 10px;
    }

    .headline .titre  {
        width: 69%;
    }

    .headline .button  {
        width: 33%;
    }
    
    #header-top .wrapper {
        padding: 7px 10px;
    }

    #header-bottom .wrapper {
        padding: 10px 10px;
    }

    #header-top .top-nav {
        white-space: nowrap;
        overflow-x: auto; 
        -ms-overflow-style: none; 
        scrollbar-width: none;
        box-shadow:  -15px 0px 30px -20px inset rgb(0, 0, 0);
    }

    #header-top .top-nav::-webkit-scrollbar {
        display: none; 
    }
    
    #header-top .menu-top-navigation-container {
        display: flex; 
        overflow-x: auto; 
        -ms-overflow-style: none; 
        scrollbar-width: none; 
    }

    #header-top .social {
        white-space: nowrap;
    }

    #header-bottom .logo svg {
        max-width: 200px;
    }

    #slider img {
        height: 300px!important;
    }

    #slider .sidebar .sidebar-inner  {
        flex-wrap: wrap;
    }

    #slider .sidebar .sidebar-inner .item {
        width: calc( 50% - var(--row-gap) / 1.5);
    }

    #header-not-front .wrapper {
        padding: 0px 10px 10px;
    }

    #header-not-front .header-not-front {
        height: 250px;
    }

    #header-not-front .header-not-front.posts {
        height: 350px;
    }

    #annonce .annonce {
        flex-direction: column;
    }

    #annonce .annonce-image {
        width: 100%;
        flex-grow: 1;
    }
    
    #annonce .annonce-content {
        width: 100%;
        flex-grow: 1;
    }

    #mediacom .mediacom .mediacom-item {
        width: 100%;
        flex-grow: 1;
    }

    #apropos .content {
        flex-direction: column;
    }
    
    #apropos .content .masonry {
        width: 100%;
    }
    
    
    #apropos .content .inner-content {
        width: 100%;
    }


    #conseils .conseils .conseils-item,
    #services .services .services-item {
        width: calc(50% - 5px);
    }

    #articles .articles-item {
        width: 100%;
    }

    #partenaires .partenaires .partenaires-item {
        width: calc(33% - 8px);
    }

    #pharmacie.wrapper, 
    #conseils.wrapper, 
    #services.wrapper, 
    #evenements.wrapper, 
    #articles.wrapper, 
    #contact.wrapper,
    .cgu-wrapper {
        padding: 10px 10px 25px;
    }

    .link-nav-cgu #menu-liens-utiles {
        flex-direction: column;
    }

    #footer-top,
    #footer-middle,
    #footer-bottom {
        margin: 0px 10px;
    }

    #footer-top .wrapper,
    #footer-middle .wrapper,
    #footer-bottom .wrapper {
        margin: 0px;
        padding: 0;
    }

    #footer-top .inner-wrapper,
    #footer-middle .inner-wrapper,
    #footer-bottom .inner-wrapper  {
        padding: 15px var(--padding);
    }

    #footer-top .inner-wrapper {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #footer-middle .contact {
        width: 100%;
        flex-direction: column;
        justify-content: space-between;
    }

    #footer-middle .contact h3,
    #footer-middle .google-maps h3 {
        display: none;
    }

    #footer-middle .google-maps {
        width: 100%;
    }

    

    #footer-bottom .mediasante img {
        max-width: 150px;
    }

    .back-to-top {
        bottom: 10px;
        right: 10px;
    }

    .widgets {
        flex-direction: column;
    }

    .widgets .rss-widget-placeholder,
    .widgets .weather-widget-placeholder {
        width: 100%;
        height: auto;
        min-height: 300px;
    }
}

@media screen and (max-width: 500px) {
    #slider .sidebar .sidebar-inner .item {
        width: 100%;
    }
}
