/*
 Theme Name:   Maison de la Famille de Lotbiniere
 Theme URI:    http://dix-onze.ca/wp-blank/
 Description:  Theme par Dix-Onze inc.
 Author:       Dix-Onze inc.
 Author URI:   http://dix-onze.ca/
 Version:      5.0.0
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, main, input, textarea  {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	font-weight: inherit;
	font-style: inherit;
	font-family: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary, main {
	display: block;
}

/*---Universal Selector to add additional resets, such as text-size adjust and tap highlighting---*/

* {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
}

:root {
    --theme-black: #333333;    
    --theme-red: #db360d;
    --theme-gray-light: #fafafa;
    --theme-gray: #bbbbbb;
    --theme-gray-dark: #666666;
    --theme-primary-light: #6cceff;
    --theme-primary: #17b1ff;
    --theme-primary-dark: #0a85c3;
    --theme-secondary-light: #ffc27a;
    --theme-secondary: #ff9517;
    --theme-secondary-dark: #ce7000;
    --theme-link: var(--theme-primary);
    --theme-link-hover: var(--theme-primary-light);
    --bar-bg:#808080;          /* gris de la barre */
    --bar-fg:#fff;             /* texte de la barre */
    --panel-bg:#fff;           /* fond du panneau */
    --panel-fg:#111;           /* texte du panneau */
    --bar-radius:8px;
    --bar-pad:14px 18px;
    --gap:14px;
    --shadow:0 1px 0 rgba(0,0,0,.12) inset;
    --focus:#2c7efc;
    --cta-bg:#9BE37A;          /* vert marqueur du lien */
    --cta-fg:#111;    
}

a {
    color: var(--theme-link);
	text-decoration: none;
}
a:hover {
    text-decoration: underline;
}


ol, ul {list-style-type: none;}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

caption, th, td {
	text-align: left;
	font-weight: normal;
}

/*---Additional Form resets---*/

button, input[type="button"] {
	background: none;
}

:required {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-o-box-shadow: none;
	-ms-box-shadow: none;
	box-shadow: none;
}

/*---Typographic Styling---*/

em, i {
	font-style: italic;
}

strong, b {
	font-weight: bold;
}

u {
	text-decoration: underline;
}

pre, code {
	font-family: Monaco, Courier, monospace;
}

pre {
	white-space: pre;
	white-space: pre-wrap;
	white-space: pre-line;
	word-wrap: break-word;
}

blockquote, q {
	quotes: "" "";
}

blockquote:before, blockquote:after, q:before,	q:after {
	content: "";
}

/*---Interactive Element Settings---*/

a, input[type="submit"], input[type="button"], button, label[for] {
	cursor: pointer;
}

/* End strppd.css */

/* Proper box model */
* { }

/* General styles */

html {
	font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.5;
    color: #212529;    }

body::before {
    content: "";
    display: block;
    height: 40px;
}

a{	
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	transition: all .3s;
}

a:hover {
}

address {
}

aside {
}

b, strong {
}

blockquote {
}

button {
	cursor: pointer;
}
button:hover {
}

caption, th, td {
	vertical-align: middle;
}

h1 {
}
h2 {
}
h3 {
}
h4 {
}
h5 {
}
h6 {
}

i, em {
}

img {
}

input, select, textarea {
}

input[type="radio"] {
}
input[type="checkbox"] {
}
input[type="text"] {
}

label {
}

li {
}

ol.avec-espace li,
ul.avec-espace li,
p {
	margin-bottom: 20px;
}

select {
}
select option {
}

table {
	border: 0; border-spacing:0; empty-cells:show;
}

textarea {
	resize: none;
}

ul, ol {
	margin-left: 20px;
	margin-bottom: 24px;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}

/* Custom styles */

.wrapper {
    width: 100%;
    max-width: 1140px;
    padding: 0 15px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

#entete-rapide {
	width: 100%;
    height: 40px;
    margin-top: -40px;
    background-color: #333;
    font-size: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
    box-sizing: border-box;
	position: relative;
    text-align: right;
}

#entete-rapide,
#entete-rapide a {
    color: white;
}

#entete-rapide i {
    font-size: 12px;
    color: var(--theme-secondary);
    display: inline-block;
    padding: 0 5px 0 25px;
}

#entete-principale {
    width: 100%;
    height: 90px;
    box-sizing: border-box;
    padding: 10px 0;
    background: rgba(0,0,0,.75);
    position: sticky;
    top: var(--wpbar, 0px);
    left: 0;
    z-index: 1000;
}
    #entete-principale .wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

body.admin-bar { --wpbar: 32px; }
@media (max-width: 782px) {
  body.admin-bar { --wpbar: 46px; }
}

#logo {
    flex: 0 0 375px;
}
    #logo img {
        max-width: 290px;
        max-height: 100px;
        background-color: #ffffff;
        padding: 5px 10px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        display: block;
    }

#menu-principal {
    flex: 1;
}
	#menu-principal .sf-menu {
		margin: 0;
        z-index: 200;
	}
	#menu-principal li {
		margin-left: 24px;
		background: none;
		border: none;
	}
    #menu-principal li.menu-item-has-children > a:after {
      font-family: "Font Awesome 5 Free";
      font-weight: 900;
      content: "\f107";
      display: inline-block;
      margin-left: 5px;
    }
	#menu-principal li > a {
		color: white;
		font-size: 13px;
        font-weight: bold;
		margin: 0;
		padding: 0;
		border: none;
        text-transform: uppercase;
	}
	#menu-principal li > a:hover {
	}
	#menu-principal ul.sub-menu {
		border-top: none;
        padding-top: 40px;
        box-shadow: none;
	}
	#menu-principal ul.sub-menu li {
		text-align: left;
		margin: 0;
        background: rgba(0, 0, 0, 0.80);
	}
    #menu-principal ul.sub-menu:before,
    #menu-principal ul.sub-menu:after {
        width: 100%;
        height: 10px;
        content: "";
        background: rgba(0, 0, 0, 0.80);
        display: block;
    }
	#menu-principal ul.sub-menu li a {
        width: 100%;
        height: 100%;
        display: block;
		color: white;
        font-size: 15px;
        text-transform: none;
		padding: 5px 20px;
        box-sizing: border-box;
	}
	#menu-principal ul.sub-menu li:hover {
        background: var(--theme-secondary);
    }
	.sf-menu ul {
		min-width: 10em !important;
	}
 	#menu-principal ul.sub-menu i {
		font-size: 14px;
		color: #fff;
		margin-right: 6px;
	}

#menu-mobile {
	cursor: pointer;
	display: none;
}
    #menu-mobile:before {
        font-size: 24px;
    }
    #menu-mobile.fa-times {
        color: white;
    }

#menu-secondaire {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex: 0 0 120px;
}
    #menu-secondaire .facebook,
    #menu-secondaire .contact {
        border-radius: 4px;
        transition: margin 0.4s ease;
        box-shadow: 0px 3px 7px -2px rgba(0, 0, 0, 0.5);
    }
    #menu-secondaire .facebook {
        background-color: #4267b2;
    }
    #menu-secondaire .contact {
        margin-left: 15px;
        background-color: white;
    }
    #menu-secondaire .facebook i,
    #menu-secondaire .contact i {
        font-size: 32px;
        margin: 10px;
    }
    #menu-secondaire .facebook i {
        color: white;
    }
    #menu-secondaire .contact i {
        color: black;
    }
    #menu-secondaire .facebook:hover,
    #menu-secondaire .contact:hover {
        margin-top: -10px;
    }

#entete-diaporama {
    width: 100%;
    box-sizing: border-box;
    padding-top: 250px;
    padding-bottom: 150px;
    margin-top: -90px;
    position: relative;
}
    #entete-diaporama h1 {
        color: white;
        font-size: 50px;
        text-shadow: 1px 1px 2px black;
        font-weight: bold;
        transition: all 1s ease;
        margin-bottom: 40px;
        text-align: left;
        position: relative;
    }
    #entete-diaporama h1:before {
        content: " ";
        background-color: var(--theme-gray-dark);
        height: 6px;
        position: absolute;
        top: calc(100% + 5px);
        left: 0;
        width: 50px;
        border-radius: 10px;        
    }
    #entete-diaporama h1:after {
        content: " ";
        border-bottom: 1px solid var(--theme-gray-dark);
        position: absolute;
        top: calc(100% + 8px);
        left: 62px;
        width: 500px;        
    }
#entete-diaporama.secondaire:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.25) 100%);
    top: 0;
    left: 0;
    display: block;
}

.home #entete-diaporama {
    padding: 0 !important;
    box-sizing: border-box;
}
    .home #entete-diaporama h2 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
        font-weight: bold !important;
        text-shadow: 1px 1px 2px var(--theme-black) !important;
        transition: margin-top 1s ease, margin-left 1s ease, opacity 2s ease !important;
    }

#contenu-principal {
    padding: 70px 0 50px 0;
}
#contenu-principal h2 {
    font-size: 1.7rem;
    padding-top: 20px;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.1;
    color: var(--theme-primary);
    font-style: normal;
}
#contenu-principal h2.titre-accueil {
    color: var(--theme-black);
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    position: relative;
    margin: 28px auto 80px auto;
    text-align: center;
}
    #contenu-principal h2.titre-accueil:before {
        content: " ";
        position: absolute;
        top: 60px;
        width: 200px;
        left: calc(50% - 100px);
        border-bottom: 4px solid var(--theme-primary-light);
    }
#contenu-principal h3 {
    font-size: 1.3rem;
    color: black;
    font-weight: bold;
    padding-top: 10px;
    margin-bottom: 20px;
}

#piedpage-principal {
    background: url('assets/images/bg-footer.jpg') no-repeat left bottom;
    background-size: cover;
    color: white;
}
    #piedpage-principal .wrapper {
        display: grid;
        box-sizing: border-box;
        padding-top: 50px;
        padding-bottom: 50px;
        grid-template-columns: 100%;
        gap: 0px 0;
        grid-auto-flow: row;
        grid-template-areas:
            "custom-colonne-1"
            "custom-ligne-pleine";
    }
    #piedpage-principal .custom-colonne-1 {
        grid-area: custom-colonne-1;
    }
        #piedpage-principal .custom-colonne-1 ul {
            margin-left: 50px;
        }
    #piedpage-principal .custom-colonne-2 {
        box-sizing: border-box;
        padding-left: 40px;
        grid-area: custom-colonne-2;
    }
    #piedpage-principal .custom-ligne-pleine {
        grid-area: custom-ligne-pleine;
        font-size: 12px;
        color: var(--theme-gray);
        display: flex;
        flex-direction: column;
        align-items: center;
    }
        #piedpage-principal .custom-ligne-pleine .up {
            display: inline-block;
            text-transform: uppercase;
            text-align: center;
        }
        #piedpage-principal .custom-ligne-pleine .up i {
            font-size: 24px;
        }
        #piedpage-principal .custom-ligne-pleine .up:hover {
            color: white;
        }
            #piedpage-principal .custom-ligne-pleine .up .up-box {
                width: 32px;
                height: 32px;                
                background-color: var(--theme-secondary-dark);
                display: flex;
                justify-content: center;
                align-items: center;
                cursor: pointer;
                border-radius: 2px;
                transition: all 0.3s ease;
                margin-bottom: 5px;
                margin-top: 40px;
            }
            #piedpage-principal .custom-ligne-pleine .up:hover .up-box {
                background: var(--theme-primary);
            }
    #piedpage-principal h3 {
        width: 100%;
        font-size: 20px;
        text-transform: uppercase;
        font-weight: bold;
        display: inline-block;
        margin-bottom: 40px;  
        position: relative;
    }
    #piedpage-principal h3:before {
        content: " ";
        width: 50px;
        height: 6px;
        background-color: var(--theme-secondary);
        position: absolute;
        bottom: -15px;
        left: 0;
        border-radius: 10px;
    }
    #piedpage-principal h3:after {
        content: " ";
        width: calc(100% - 60px);
        border-bottom: 1px solid var(--theme-secondary);
        position: absolute;
        bottom: -13px;
        right: 0;
    }
    #piedpage-principal a {
        color: white;
    }
    #piedpage-principal a:hover {
        color: var(--theme-secondary);
        text-decoration: none;
    }
#piedpage-legal {
    background: #f9f9f9;
    font-size: 14px;
    padding: 10px 0;
    text-align: center;
}

.wrapper.txt-droite {
    text-align: right;
}

.liste-activites {
    width: 100%;
    box-sizing: border-box;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 30px;
	position: relative;
    margin-bottom: 80px;
}
.une-activite {
    position: relative;
    cursor: pointer;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    text-align: center;
}
    .une-activite img {
        width: 100%;
        height: auto;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;        
    }
    .une-activite > div {
        width: 100%;
        box-sizing: border-box;
        background-color: var(--theme-gray-light);
        clip-path: polygon(23% 0%, 16% 11%, 0 11%, 0 100%, 100% 100%, 100% 11%, 30% 11%);
        padding: 30px 10px 20px 10px;
        margin-top: -35px;
        min-height: 225px;
    }
        .une-activite > div h3 {
            font-size: 22px;
            margin: 24px 0;
            padding: 0;
            font-weight: bold;
            color: var(--theme-black);
        }
.une-activite:hover {
    text-decoration: none;
}
    .une-activite:hover > div {
        background-color: var(--theme-gray-dark);
    }
        .une-activite:hover > div h3 {
            color: white !important;
        }

.liste-services {
    width: 100%;
    box-sizing: border-box;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 30px;
	position: relative;
}

.un-service {
    width: 100%;
    position: relative;
    cursor: pointer;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    text-align: center;    
    background: var(--theme-gray-light);
    border: 2px solid var(--theme-gray-light);
    border-radius: 10px;
}
    .un-service a {
        width: 100%;
        display: block;
        padding: 30px 20px;
        box-sizing: border-box;
        color: var(--theme-black);
        text-decoration: none;
        font-size: 18px;
        font-weight: bold;
    }
    .un-service img {
        border-radius: 50%;
    }
    .un-service > div h3 {
        font-size: 22px;
        margin: 24px 0;
        padding: 0;
        font-weight: bold;
        color: var(--theme-black);
    }
.un-service:hover {
    border: 2px solid var(--theme-gray);
}

.programmation {
    margin-top: 50px;
    text-align: center;
}
    .programmation h2 {
        font-size: 28px !important;
        font-weight: bold !important;
        text-transform: none !important;
        color: black !important;
    }

.btn-std {
    display: inline-block;
    color:white;
    background: var(--theme-primary);
    line-height: 1.2;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none !important;
}
.barre-grise .btn-std {
    margin-right: 20px;
    background: var(--theme-primary-light);
    font-size: 1rem;
}
    .btn-std:hover {
        background: black;
    }

hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
}
    hr.accueil {
        margin: 120px 0;
    }

.barre-grise {
    background: var(--theme-black);
    padding: 50px 0;
}
    .barre-grise h2 {
        margin: 0 0 40px 0;
        font-size: 28px;
        font-weight: bold;
        color: white;
        position: relative;
    }
    .barre-grise h2:before {
        content: "";
        top: calc(100% + 10px);
        left: 0;
        height: 2px;
        width: 200px;
        background-color: var(--theme-primary-light);
        position: absolute;
    }

#administratif {
    padding: 100px 0;
}

.grid-cards {
  display:flex;
  flex-wrap:wrap;                 /* autorise le retour à la ligne */
  justify-content:space-around;   /* espace autour → centre la dernière rangée */
  gap: 100px 120px;                 /* gap vertical / horizontal (à ajuster) */
  padding:0;
  list-style:none;
}
    .grid-cards .card {
      width:280px;                    /* largeur fixe d’une “vignette” */
      text-align:center;
    }
        .grid-cards .card h3 {
            font-size: 24px;
            font-weight: normal;
            color: var(--theme-primary);
        }
        .grid-cards .card .btn-std {
            height: auto;
            font-size: 0.8rem;
            line-height: 14px;
            margin-top: 10px;        
            padding: 12px 20px !important;
            border-radius: 3px;        
        }

.grid-statistiques {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 10px;
	position: relative;
} 

.counter-holder {
    background: var(--theme-black);
    font-size: 34px;
    color: var(--theme-white);
    position: relative;
    text-align: center;
}
    .counter-holder span {
        font-size: 50px;
        font-weight: bold;
        color: var(--theme-primary-light);
        margin-top: 25px;
        margin-bottom: 25px;
    }
    .counter-holder label {
        color: white;
        font-size: 20px;
        display: block;
    }


#partenaires {
    padding: 80px 0;
}

#infolettre {
    padding: 20px 0;
    text-align: left;
    background: var(--theme-black);
}
    #infolettre .wrapper {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    #infolettre h3 {
        color: var(--theme-gray-light);
        font-size: 1.8rem;
        padding: 0;
        font-weight: bold;
    }
    #infolettre input[type=text] {
        font-size: 16px;
        height: 45px;
        width: 260px;
        padding-left: 20px;
        padding-right: 20px;
        border: 0;
        border-radius: 0;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
        margin-right: -3px;
    }
    #infolettre input[type=submit] {
        background-color: var(--theme-primary-light);
        color: white;
        border-radius: 0;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        margin: 0 !important;
        display: inline-block !important;
        vertical-align: top;
        height: 45px;
        line-height: 45px;
        padding: 0 40px;
        cursor: pointer;
        white-space: nowrap;
        border: none;
        font-weight: bold;
        font-size: 14px;
        transition: all 0.2s ease;        
    }
        #infolettre input[type=submit]:hover {
            background: black;
        }


.carousel img{
    display:block;
    width:100%;
    height:100px;         /* ajuste la hauteur voulue */
    object-fit:contain;   /* garde les proportions des logos */
    margin: 0 auto;
}
.slick-slide{ padding: 0 10px; }   /* espace entre slides */
.slick-list{ margin: 0 -10px; }    /* compense le padding */

.doclist{width:100%;border-collapse:collapse;font-size:16px}
.doclist thead th{font-weight:600;color:#111827;padding:10px 14px}
.doclist td{padding:12px 14px;border-top:1px solid #eee}
.doclist tbody tr:hover{background:#fafafa}
.doclist .ta-right{text-align:right}
.doclist .nowrap{white-space:nowrap}
.doclist a.filelink{display:inline-flex;align-items:center;gap:.5rem;text-decoration:none}
.doclist a.filelink:hover{text-decoration:underline}
.doclist img.fileicon{display:inline-block;width:16px;height:16px;flex:0 0 16px}
.doclist i.fas {
  margin-right: 6px;
  color: #b91c1c; /* rouge PDF par défaut, changeable */
}


/* ====== Structure ====== */
.accordion{display:grid; gap:var(--gap);}

/* En-tête */
.acc-header{margin:0;}
.acc-trigger{
  width:100%;
  display:flex; align-items:center; gap:12px;
  background:var(--theme-secondary); color:var(--bar-fg);
  padding:var(--bar-pad);
  text-shadow: 1px 1px 2px #666;
  border:0; border-radius:var(--bar-radius);
  box-shadow:var(--shadow);
  text-align:left; font:600 18px/1.2 system-ui,Segoe UI,Roboto,Arial,sans-serif;
  cursor:pointer;
}

/* signe + / − à gauche (via CSS, sans images) */
.acc-sign{
  width:26px; height:26px; flex:0 0 26px;
  display:inline-grid; place-items:center;
  border-radius:6px; background:rgba(0,0,0,.25);
  position:relative;
}
.acc-sign::before, .acc-sign::after{
  content:""; position:absolute; background:#fff; border-radius:2px;
}
.acc-sign::before{ width:14px; height:2px; }
.acc-sign::after{ width:2px; height:14px; transition:opacity .2s ease; }

/* Lorsque ouvert (aria-expanded=true) on montre le signe "−" */
.acc-trigger[aria-expanded="true"] .acc-sign::after{ opacity:0; }

/* Focus accessible */
.acc-trigger:focus-visible{
  outline:3px solid var(--focus);
  outline-offset:2px;
}

/* Panneau */
.acc-panel{
  background:var(--panel-bg); color:var(--panel-fg);
  border-radius:0 0 var(--bar-radius) var(--bar-radius);
  overflow:hidden;
}
.acc-panel__inner{ padding:35px 50px; background: #f6f6f6; }
.acc-panel p:last-child {
    margin-bottom: 0;
}

/* petite “call-to-action” verte comme sur la capture */
a.cta{
  background:var(--cta-bg); color:var(--cta-fg);
  padding:.15rem .35rem; border-radius:3px;
  text-decoration:none; font-weight:700;
}

/* Option: coin inférieur arrondi quand le header est collé au panel */
.acc-item{border-radius:var(--bar-radius); overflow:hidden;}

















/* Responsive */

@media screen and (max-width: 1197px) {
    .liste-activites,
    .liste-services {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 980px){
  .card{ width: 320px; }
  .grid-cards{ justify-content: space-evenly; }
}

@media screen and (max-width: 960px) {
}

/* Mobile */
@media screen and (min-width: 768px) {
	#menu-mobile {
		display: none;
	}

	#menu-principal > ul {
		display: block !important;
	}
}
@media screen and (max-width: 767px) {
    
    html {
        font-size: 16px;
    }
    
    #entete-diaporama h1 {
        font-size: 36px;
        line-height: 1.2;
    }
        #entete-diaporama h1:after {
            width: 200px;
        }
    
    #entete-diaporama {
        padding-top: 75px;
        padding-bottom: 75px;
        margin-top: 0;
    }
    
	#menu-mobile {
		display: block;
        z-index: 600;
        position: relative;
	}

	#menu-principal {
	}	

	#menu-principal ul {
		display: none;
		padding: 12px;
		background: black;
		text-align: center;
		position: absolute;
		left: 0;
		top: 0;
		z-index: 300;
	}
	#menu-principal > ul {
		border-radius: 2px;
        width: 100vw;
        height: 100vh;
        overflow-y: scroll;
        box-sizing: border-box;
        padding: 40px 20px;
	}
		#menu-principal ul li {
			display: block;
			float: none;
			clear: both;
		}

		#menu-principal ul a {
			color: #fff;
			line-height: 1.4;
			margin: 0;
            text-align: left;
		}
		#menu-principal ul li a:hover:not(.active) {
			border: none;
		}	
		#menu-principal ul.sub-menu {
			position: relative;
			left: auto;
			top: auto;
			right: auto;
			box-sizing: border-box;
		}
		#menu-principal li {
			margin-left: 0;
		}
		#menu-principal ul.sub-menu:before {
			left: 50px;
		}
        #menu-principal ul.sub-menu {
            padding-top: 0;
        }    
	.sf-menu ul {
		min-width: inherit !important;
	}
	#menu-principal ul.sub-menu li a {
        white-space: normal;
    }

	li {
		list-style-position: inside !important;
	}	

    .liste-activites,
    .liste-services {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        grid-template-columns: 100%;
    }
    
    .grid-cards {
        flex-direction: column;
        align-content: center;
    }
    
    #dons .wrapper {
        text-align: center;
    }
    #dons .wrapper a {
        display: block;
        margin: 10px;
    }
    .barre-grise h2:before {
        left: calc(50% - 100px);
    }
    
    .grid-statistiques {
        grid-template-columns: 100%;
        grid-gap: 50px 0;
    }
    
    #infolettre .wrapper {
        flex-direction: column;
        align-items: center;
    }    
    #piedpage-principal .wrapper {
        grid-template-columns: 100%;
        grid-template-areas:
            "custom-colonne-1"
            "custom-colonne-2"
            "custom-ligne-pleine";
    }
    #piedpage-principal .custom-colonne-1,
    #piedpage-principal .custom-colonne-2 {
        padding-left: 0;
        margin-bottom: 50px;
    }
    
    .wrapper {
        width: 90%;
        min-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    #entete-principale {
        background: white;
        height: auto;
    }
    #menu-principal {
        text-align: right;
    }
    #menu-secondaire,
    #entete-rapide {
        display: none;
    }
    body::before {
        height: 0;
    }
    #logo {
        flex: 0 0 0;
    }    
    #logo img {
        max-width: 160px;
        max-height: 55px;
    }
    #piedpage-principal .custom-colonne-1 ul {
        margin-left: 20px;
    }
    #piedpage-principal .custom-ligne-pleine {
        text-align: center;
    }
    
    #contenu-principal {
        padding: 25px 0 25px 0;
    }
    .programmation {
        margin-top: 0;
    }
    hr.accueil {
        margin: 50px 0;
    }    
    #contenu-principal h2.titre-accueil:before {
        display: none !important;
    }
    .une-activite > div {
        min-height: 0;
    }
    #contenu-principal h2.titre-accueil {
        margin: 0 auto 30px auto;
    }
    #infolettre input[type=text] {
        width: 100%;
        border-radius: 10px;
        margin: 10px 0;
        box-sizing: border-box;
    }
    #infolettre input[type=submit] {
        border-radius: 10px;
    }
    #infolettre * {
        text-align: center;
    }
}

@media screen and (max-width: 680px){
  .card{ width: 100%; max-width: 420px; }
  .grid-cards{ justify-content: center; }
}