/*
Bienvenue dans l'éditeur de CSS !

Pour en savoir plus sur le fonctionnement de l'éditeur, vous pouvez vous
rendre sur cette page :
http://wp.me/PEmnE-Bt
*/
table {
	border-width: 1px;
	border-style: solid;
	border-color: black;
}

table2 {
	border-width: 1px;
	border-style: solid;
	border-color: black;
}

td {
	border-width: 1px;
	border-style: solid;
	border-color: black;
	vertical-align: middle;
}

div.academicien {
	background: #F0FFF0;
	width: 60%;
	margin-left: auto;
	margin-right: auto;
	padding: .5em;
}

a {
	color: #1F4D3A;
}

div.titre {
	background: #F0FFF0;
	border-top: 2px solid #006400;
	border-right: 2px solid #006400;
	border-left: 2px solid #006400;
	border-bottom: 2px solid #006400;
	padding: .5em .5px 0;
}

div.academicien2 {
	background: #F0FFF0;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: .5em;
}

.main-navigation ul ul a {
	min-width: 275px;
	
}

.main-navigation a {
      padding: 0 12px;

}

.tribe_events-template-default.single.single-tribe_events .tribe-events-single>.tribe_events {
	padding:20px !important;
}


/* === Refonte visuelle - 2 novembre 2026 === */
body, body.custom-background { background: #fff !important; }
article.hentry, #primary, #main { box-shadow: none !important; }
h2.wp-block-heading { font-size: 24px !important; line-height: 1.3 !important; }
h3.uagb-post__title, h3.uagb-post__title a { font-size: 18px !important; line-height: 1.35 !important; }
.home #primary.content-area {
	width: 100% !important;
	max-width: 1160px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	float: none !important;
}
.home .wp-block-uagb-inline-notice { background: #F4F6F4 !important; border-left: 3px solid #1F4D3A !important; border-radius: 0 !important; }
.home h4.uagb-notice-title { background: transparent !important; color: #1F4D3A !important; font-size: 18px !important; padding: 16px 20px 4px !important; border: 0 !important; border-radius: 0 !important; }
.home .uagb-notice-text { background: transparent !important; border: 0 !important; padding: 0 20px 16px !important; border-radius: 0 !important; }
.home .uagb-notice-text > p:empty { display: none !important; }
input.tnp-submit { background-color: #1F4D3A !important; color: #fff !important; }
a.page-numbers, .page-numbers.current, a.wp-block-button__link.uagb-text-link, .uagb-tab.uagb-tabs__active, .uagb-tab.uagb-tabs__active a { background-color: #1F4D3A !important; color: #fff !important; }
a.wp-block-button__link.uagb-text-link *, .uagb-tab.uagb-tabs__active * { color: #fff !important; }
.page-numbers.current { background-color: #EEF1EE !important; color: #1F4D3A !important; }
[style*="color:#008000"]:not([style*="background"]), [style*="color: #008000"]:not([style*="background"]), [style*="color:rgb(0, 128, 0)"]:not([style*="background"]), [style*="color: rgb(0, 128, 0)"]:not([style*="background"]), [style*="color:green"]:not([style*="background"]) { color: #1F4D3A !important; }
[style*="background-color:#008000"], [style*="background-color: #008000"], [style*="background-color:rgb(0, 128, 0)"], [style*="background-color: rgb(0, 128, 0)"] { background-color: #1F4D3A !important; }
mark.has-inline-color[style*="color:#008000"], mark.has-inline-color[style*="color: #008000"], mark.has-inline-color[style*="color:#008000"] a, mark.has-inline-color[style*="color: #008000"] a { color: #1F4D3A !important; }
.wp-block-tnp-minimal, .wp-block-tnp-minimal strong, .wp-block-tnp-minimal label { color: #1F4D3A !important; }
.uagb-tab.uagb-tabs__active svg, .uagb-tab.uagb-tabs__active svg * { fill: #fff !important; }

/* === Haut de la page d'accueil - 2 novembre 2026 === */
html:has(body.home), body.home { overflow-x: clip; }
.home #content { margin-top: 0 !important; }
.home .asmp-hero { width: 100vw; margin-left: calc(50% - 50vw); margin-top: -26px; margin-bottom: 40px; }
.asmp-hero__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.asmp-hero__photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 560px; object-fit: cover; max-width: none; }
.asmp-hero__photos img.asmp-hero__dome { object-position: 72% 15%; }
.asmp-hero__text { max-width: 760px; margin: 0 auto; padding: 32px 16px 0; text-align: center; }
.asmp-hero__eyebrow { margin: 0 0 8px; font-size: 14px; color: #555; }
h2.asmp-hero__title { margin: 0 0 12px; font-size: 36px; line-height: 1.2; color: #1F4D3A; }
.asmp-hero__lead { margin: 0; font-size: 16px; line-height: 1.7; color: #444; }
@media (max-width: 760px) {
	.asmp-hero__photos { grid-template-columns: minmax(0, 1fr); }
	.asmp-hero__photos img { height: auto; aspect-ratio: 16 / 10; }
	h2.asmp-hero__title { font-size: 28px; }
}
@media (max-width: 1279px) {
	.home .header-wrap { position: static; }
	.home .asmp-hero { margin-top: -114px; }
}

/* === Événements et pied de page de l'accueil - 2 novembre 2026 === */
.home .wp-block-column > h3.wp-block-heading { font-size: 24px; line-height: 1.3; }
.home .entry-content .tribe-events-widget-events-list__event-title, .home .entry-content .tribe-events-widget-events-list__event-title-link { font-size: 18px; line-height: 1.35; }
.home .entry-content .tribe-events-widget-events-list__event-date-tag-month { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: #555; }
.home .entry-content .tribe-events-widget-events-list__event-date-tag-daynum { font-size: 22px; color: #1F4D3A; }
.home #colophon .footer-widgets-area > .tg-one-third:has(.tribe-compatibility-container) { display: none; }
@media (min-width: 769px) {
	.home #colophon .footer-widgets-area > .tg-one-third { width: 48%; }
}

/* === Menu principal 2026 === */
.main-navigation ul.menu > li > a, .main-navigation div > ul > li > a { padding: 0 8px; }