@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
/* Mode Clair par défaut */
:root {
    --bg-color: #fff;
    --text-color: #000;
	--button-text-color : #fff;
	--efv-orange: #e9633a;
	--big-button-text-shadow: 2px 2px 4px #000;
	--small-button-text-shadow: 1px 1px 0 #000;
}
/* Mode Sombre automatique */
/* Couleur bg et text reprise de google */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #2b2a33; 
        --text-color: #f2f0f8;
		--button-text-color : #2b2a33;
		--big-button-text-shadow: none;
		--small-button-text-shadow: none;
    }
}
body{
	font-family: Lato, sans-serif;
	font-weight: 400;
	font-style: normal;
	margin: 0;
	background-color: var(--bg-color);
	color: var(--text-color);
}
hr {
	border:none;
	border-top: 6px dotted #e9633a;
}
h1, h2, h5{
	color: #e9633a;
}
h1, h2, h3 ,h4, h5, h6{
	margin-bottom: .7rem;
}
dt, th{
	font-size: 1.15rem;
	font-weight: bold
}
p, ul{
	line-height:1.5;
	margin-top:.7rem;
	margin-bottom:.7rem;
}
li::marker{
	color:#e9633a;
}
dd{
	margin: 0;
}

strong{
	color:#e9633a;
}
a{
	border-radius:3px;
	padding:0 8px 3px 8px;
	background-color:#e9633a;
	text-decoration:none;
	color: var(--button-text-color);
	font-weight:500;
	box-shadow: 2px 2px 4px #000;
	text-shadow: 1px 1px 0 #000;
}
a:hover {
	box-shadow: 2px 2px 4px #f00;
	text-shadow: none;
}
a:has(img){
	display:inline-block;
}
header{
	background-color: #e9633a;
	background-image: linear-gradient(12deg, #e9633a 50%, #fff 100%);
	color: #fff;
	padding: 1rem 2rem 0 2rem;
	display: flex;
    flex-direction: column;
}
.brand-logo{
	padding: 0;
	box-shadow: none;
	background-color: transparent;
}
.logo{
	max-height:100px;
	border-radius: 30px;
}
header .mod-menu {
	flex-flow: row wrap;
	display: flex;
	justify-content: space-between;
	font-size: 1.2rem;
}
header .mod-menu a{
	border-radius:8px;
    display: block;
    margin: 10px;
    padding: 5px;
    font-weight: 700;
    font-size: 1.2em;
    text-shadow: var(--big-button-text-shadow);
}
.mod-menu{
	text-align:center;
	display:flex;
	flex-direction:column;
	list-style-type:none;
	margin:0;
	padding:0;
	gap: .5rem;
}
.mod-menu a{
	border-radius:5px;
	padding:5px 10px;
    display: block;
    padding: 5px;
    font-weight: 700;
    font-size: 1.1em;
    text-shadow: var(--small-button-text-shadow);
}
.mod-menu a:hover, .mod-menu a:focus{
	text-shadow: none;
}
.site-grid{
	margin: 20px 30px;
	display: grid;
	column-gap: 1em;
    grid-template-columns: 300px auto 300px;
    grid-template-areas: "banner banner banner"
                         "top-a top-a top-a"
                         "top-b top-b top-b"
                         "side-l comp side-r"
                         "bot-a bot-a bot-a"
                         "bot-b bot-b bot-b";
}
@media (max-width: 1199px){
	.site-grid {
		grid-template-columns: auto 300px;
		grid-template-areas: "banner banner"
                         "top-a top-a"
                         "top-b top-b"
                         "comp side-l"
                         "comp side-r"
                         "bot-a bot-a"
                         "bot-b bot-b";

	}
}
.container-component, .container-sidebar-left, .container-sidebar-right{
	display:flex;
	gap: 20px;
	flex-direction: column;
}
.container-component{
	grid-area: comp;
}
.container-sidebar-left{
	grid-area: side-l;
}
.container-sidebar-right{
	grid-area: side-r;
}
h1:first-child{
	margin-top:0;
}
.card{
	border-radius:10px;
    box-shadow: 2px 2px 4px #000;
    margin-top: 10px;
}
.card-header{
	text-align:center;
	padding: 10px 10px 0 10px;
	margin: 0;
	text-shadow: 1px 1px 2px #999;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}
.card-body{
	padding: 10px;
}
.article-info dd{
	color:#555;
}
.visually-hidden{
	display: none;
}
.btn.jmodedit{
	position: absolute;
	right: .5rem;
}
[role=tooltip]:not(.show){
    display: none;
}
