/*
Welcome to Custom CSS!

To learn how this works, see http://wp.me/PEmnE-Bt
*/
/*CSS to hide links widget on all pages except grandchild page 123 */
body:not(.page-id-123) #linkcat-50518535 {
	display: none;
}

a, a:link, a:visited {
	color: #395b0c;
	font-weight: bold;
}

/* ancienne #528f01 */
/*CSS format hide-show buttons*/
summary::-webkit-details-marker {
	display: none;
}

summary:before {
	background: orange;
	border-radius: 10px;
	content: "+";
	color: #fff;
	float: left;
	font-size: 1.2em;
	font-weight: bold;
	margin: -5px px 0 0;
	padding: 0;
	text-align: center;
	width: 30px;
}

details[open] summary:before {
	content: "-";
}

details {
	border: 1px solid #aaa;
	border-radius: 4px;
	padding: .5em .5em 0;
}

summary {
	font-weight: bold;
	margin: -.5em -.5em 0;
	padding: .5em;
}

details[open] {
	padding: .5em;
}

details[open] summary {
	border-bottom: 1px solid #aaa;
	margin-bottom: .5em;
}

/*CSS pour couleur de police */
body {
	color: #504741;
}

/*fond coloré pour tableau*/
.gris {
	background: #f3f5e5;
}

/*pour modifier la couleur de fond des menus*/
#navigation {
	background: ;
}

/*pour les sous menus*/
#navigation .sub-menu {
	background: #685c53;
}

/*couleur des boutons de l'accueil*/
a.button {
	background: ;
}

/*boutons Faire un don*/
a.BoutonDon {
	padding: 10px 30px;
	background: #f09717;
	color: white;
	font-weight: bold;
	text-shadow: 1px 1px 1px #000;
	border-radius: 10px;
}

a.BoutonDon:hover {
	background: #fbae40;
}

p.petit {
	font-size: .8em;
}

/* Pour le relief des colonnes des pages sans widgets */
.page-sans-widget {
	border-width: 2px;
	border-style: solid;
	border-color: #e0e0e0;
	padding: 5px;
	box-shadow: 0 0 5px #e0e0e0;
}

/*colonnes de l'accueil*/
.colonne-accueil {
	background-color:#86776b;
	text-align:center;
	font-family:Arial, sans-serif;
	line-height:1.6
}

/* Style d'images pas trop larges appliqué sur les smartphones (écrans de moins de 768px de large) */
@media only screen and (max-width: 768px) {
    .wp-block-media-text__media img {
        width: 50%; /* ou une taille fixe comme 300px */
        height: auto; /* pour conserver les proportions */
    }
}