/* Habillage du site, partie 4/7 : pages : sommaire et listes d'articles (cartes), rubriques, colonne latérale, plan du site, page 404. */

/* Titres des listes d'articles (sommaire, rubriques, plan, contact, recherche) : violet comme les autres titres de page */
.liste-articles h1,
.liste-articles-recherche h1,
.contenu-plan h1,
.contenu-contact h1,
.contenu-rubrique h1 {
	color: var(--violet);
	font-size: 1.5em;
	font-weight: 400;
}
.contenu-plan h1,
.contenu-contact h1,
.contenu-rubrique h1 {
	text-transform: uppercase;
}
.liste-articles-recherche h1 > span.caps {
	text-transform: uppercase;
}
.liste-articles-recherche h2 {
	font-size: 1.4rem;
	line-height: 110%;
	margin: 1rem 0 1rem 1rem;
}

/* Cartes (Materialize)
------------------------------------------ */
.card .card-image .card-title {
	color: #FFF;
	font-weight: 500;
	text-shadow: 1px 1px 1px #333;
}
.card .card-content {
	padding: 1em 1em 0.5em 1em;
}
.card .card-image .adapt-img-wrapper {
	display: block !important;
	background-position-x: 0;
	background-position-y: 100%;
	background-attachment: fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
.card .card-action {padding: 0;}
.card .card-action a {display: block; width: 100%; height: 100%; text-align: right;margin:0; padding:0.5em 1em;}
.card .card-action a:hover {
	background-color: var(--lavande-fond);
	color: var(--violet);
}
.card .card-action a:not(.btn):not(.btn-large):not(.btn-large):not(.btn-floating) {
	color: var(--violet);
	font-weight: 400;
}
.card .card-action a:not(.btn):not(.btn-large):not(.btn-large):not(.btn-floating):hover {
	color: var(--violet);
}
.card .card-action a:not(.btn):not(.btn-large):not(.btn-large):not(.btn-floating):active {
	color: var(--violet);
}
.card .card-content .card-title {
	font-family: var(--txt-condensed);
	line-height: 24px;
	display: block;
	margin-bottom: 0.5em;
	color: var(--gris-titre);
	font-size: calc(14px + 1vw);
}
.card .card-content .card-title a {
	color: #6B5F7E
}
.card.horizontal .card-image {
	background-size: cover;
}
.card.horizontal .card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.card .spip_logos {
	margin: 0;
}

/* Page rubrique
------------------------------------------ */
article.intro-rubrique {
	line-height: 1.5em;
	font-weight:400;
	background-color: #FFF;
	border:1px solid var(--violet);
	-webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
	padding: 1rem 2rem;
	margin-bottom: 2rem;
	margin-top: -1.5rem;
	border-radius: 2px;
}

/* Colonne latérale
------------------------------------------ */
.marge {
	margin-top: -80px;
}
.marge .section.container,
.marge .section2.container {
	width: 90%;
}
.marge .section {
	padding: 1em;
	background-color: rgba(255, 255, 255, 1);
	border-radius:2px;
	-webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
	-moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.marge .section2.container {
	margin-top: 0.5rem;
	padding: 1em;
	font-size: 0.9rem;
	line-height: 130%;
	background-color: rgba(255, 255, 255, 1);
	border-radius:2px;
	-webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
	-moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.section2 h2 {
	text-transform:uppercase;
	color:var(--gris-titre);
	font-size:1.5em;
	font-weight:400;
}
.section2 > h2 {
	margin-top: 0;
}
.section2 h3 {
	color:var(--gris-titre);
	font-size:1.2em;
	margin-bottom:0.25em;
}
#breves p {
	margin: 0.5rem 0;
	padding-bottom: 0.5rem;
	border-bottom: 1px dashed #999;
}
p#rss {margin-top: 1.5rem; margin-bottom:0}
#local select {display: block;}

/* Plan du site
------------------------------------------ */
.page_plan h2 {
	font-size: 1.3rem;
}
.page_plan h3 {
	font-size: 1.1rem;
}
.page_plan h4 {
	font-size: 1rem;
}
.page_plan .sous-rubriques {
	padding-left: 1rem;
}
ul.spip.plan {margin-bottom: 0.15em; line-height: normal;}
ul.spip.plan + h2 {border-top:1px solid #bbb; padding-top: 0.5rem;margin-top: 1rem;}
ul.spip.plan > li {font-size: 0.9rem;}
ul.spip.plan > li:before {
	padding-right: 0.5em;
	font-size: 0.65em;
}

/* Page 404
------------------------------------------ */
body.page_404 {
	background: transparent url(../img/404.png) 100% 100% no-repeat;
	background-size: 35%;
	background-position: bottom center;
}
p.info404 {
	text-align: center;
}

/* Anciennes mises en page d'article (gardées : le contenu en base peut encore les utiliser)
------------------------------------------ */
.conteneur-article {
	float:left;
	width:60%;
}
.contenu-article {
	background-color:#FFF;
	box-shadow: rgba(0, 0, 0, 0.25) 0 3px 10px, rgba(0, 0, 0, 0.15) 0 3px 10px;
	margin:0 2% 2% 0;
	padding:5%;
	line-height:1.3em;
	font-size:100%;
}
.cartouche {
	margin:8% 0 5% 0;
}
.contenu-article h1 {
	font-weight:400;
	margin:0;
	color:var(--violet);
	font-size:2em;
	line-height:110%;
}
.contenu-article p.soustitre {
	font-weight:300;
	margin-top:0.5em;
	color:var(--gris-titre);
	font-size:1.3em;
	line-height:120%;
}
.contenu-article iframe {
	max-width:100%;
}
