@font-face{
	font-family: "Gras 2";
	src: url('../../IMG/ttf/freigeist-bold.otf');
}

html {
	scroll-behavior: smooth;
	--scroll-behavior: smooth;
}

body{
	font-family: "Georgia","Times new roman", sans-serif;
	color: #372E6B;
	background-color: whitesmoke;
}

a, a:visited {
	color: #8224e3;
}

a:hover, a:active, a:focus {
	background-color: transparent !important;
	color: #633651 !important;
}

.arbo a, .arbo a:visited{
	text-decoration: none;
	color: #633651;
	border-bottom: 1px solid transparent;
}
.arbo a:hover{
	background: transparent;
	border-bottom: 1px solid #633651;
	transition: border-color 0.6s ease;
}

.page {
	width: 100%;
	max-width: 100%;
	margin: 0 auto 2em;
}

.main {
	width: 100%;
	display: flex;
	justify-content: center;
}

.wrapper {
	width: 100%;
}

.photo_accueil {
	background-image:url('dynastits_jutreillet-7017-pt.webp');
	background-size: cover;
	min-height: 100dvh;
}

.header{
	text-align: center;
	color: #372E6B;
}
	
.header>h1 {
	font-size: 6em;
	margin: 0 auto;
}

.header .spip_logo_site a {
	font-family:'Gras 2', sans-serif;
	font-size: 2em;
	color: #8224e3;
}

.header #slogan {
	font-family: "Georgia","Times new roman", sans-serif; 
	font-weight: bold;
	margin: 0 auto;
	text-align: center;
	font-size: 2em;
	width :24em;
	margin: 0 auto;
}

#scroll_vers_contenu {
	border: 2px solid white;
	transform: rotate(45deg);
	border-top: 0;
	border-left: 0;
	height: 30px;
	width: 30px;
	margin: 0 auto;
	position: relative;
	top: 70dvh;
}

.content {
	width: 80%;
	margin: 0 auto;
}

.spip_logo {
	float: left;
}

.footer {
	padding: 1em 5em 0;
}

.formulaire_recherche label{
	display: none
}

/* ALBUMS */ 
ul.hentry {
	display: flex;
	flex-wrap: wrap;
	justify-content: stretch;
}

li.hentry {
	padding: 2em;
	width: 30%;
}

.album__caption, .album__text, .album__credit {
	text-align: left;
	align-self: flex-start;
	font-size: initial;
}

.album__heading {
	color: #8224E3;
}

.spip_doc_credits {
	text-align: left;
}

.box_mediabox .lity-content {
	min-width: auto !important;
}

/* TABLEAU - pour aligner image et texte dans Gang of DJ */

table.spip tr.odd td, table.spip tr.even td {
	background: transparent;
	vertical-align: middle;
}

.table td, table.spip td {
	border: none;
}

/* MENU */
.menu-sticky {
	top: 0;
	position: sticky;
}

.menu-sticky-sommaire .menu-resp {
	top: 0;
	position: sticky;
	background-color: #F5F5F5DE;
	font-weight: bold;
	font-size: 1.2em;
}
.menu-sticky-sommaire .menu-resp .menu-liste li a {
	color: #8224E3;
}

.menu-sticky-sommaire .menu-resp .menu-logo img {
	content: url('../../IMG/png/cropped-logo-noir1-pt.png');
}

.menu-resp{
	display: flex;
	color: whitesmoke;
	background-color: #1C1C1C80;
	font-size: .8em;
	text-transform: bold;
	z-index: 10;
}

.menu-resp label {
	display: none;
}

.menu-resp {
	display: flex;
	top: 0;
	position: sticky;
	color: whitesmoke;
	background-color: #1C1C1C80;
	font-size: 1.2em;
	text-transform: bold;
	z-index: 10;
}

.menu-resp label {
	display: none;
}
.menu-logo {
	margin-top: 0.2em;
}

.spip_logo {
	margin: 0
}

.menu-liste {
	justify-content: space-evenly;
	display: flex;
	width: 100%;
	margin: 0;
	& .menu-liste {
		display: none;
		width: auto;
	}
}

.menu-liste li {
	padding: 1em 0;
}

.menu-liste li a{
	text-decoration: none;
	border-bottom: 1px solid transparent;
	color: whitesmoke;
}

.menu-sticky-sommaire .menu-resp .menu-liste :hover {
	& .menu-liste {
		display: flex;
		justify-content: space-around;
		list-style: none;
		flex-direction: column;
		font-size: .7em;
		position: absolute;
		background-color: #F5F5F5DE;	
	}
	& .menu-liste li {
		padding: .5em;
	}
	& .menu-logo {
		display: none;
	}
}

.menu-liste :hover{
	& .menu-liste {
		display: flex;
		justify-content: space-around;
		list-style: none;
		flex-direction: column;
		font-size: .7em;
		position: absolute;
		background-color: #1C1C1C80;
		color: whitesmoke;
	}
	& .menu-liste li {
		padding: .5em;
	}
	& .menu-logo {
		display: none;
	}
}
.menu-liste li a:hover{
	border-bottom: 1px solid #633651;
	transition: border-color 0.6s ease;
}

#menu-toggle {
  display: none;
}


/* RESPONSIVE */

@media(max-width: 640px) {

	body {
		padding: 0
	}

	.photo_accueil {
		background-size: initial;
		background-position: center;
	}

	.header .spip_logo_site {
		width: auto;
	}

	.header #slogan {
		font-size:2em;
		font-weight: bold;
		width: auto;
	}

	.arbo {
		display: block;
	}

	.menu-resp {
		background-color: transparent;
	}

	.menu-resp label {
		display: block;
		font-size: 2em;
		padding: 0.5em 1em 0.5em;
		padding-left: 90dvi;
  		cursor: pointer;
		z-index: 2;
		& .menu-liste {
			display: none;
		}
	}

	.menu-sticky-sommaire .menu-resp {
		background-color: inherit;
	}
	.menu-sticky .menu-resp label {
		color: black;
	}

	.menu-liste {
		display: none;
	}
	
	.menu-liste li a {
		color: #8224e3;
	}

	.menu-liste li {
		padding: 1.25em;
	}

	.menu_logo {
		display: none;
	}

	#menu-toggle:checked ~ .menu-liste .menu-logo{
		display: none;
	}

	#menu-toggle:checked ~ .menu-liste{
		position: absolute;
		display: flex;
		flex-direction: column;
		background-color: #F5F5F5;
		left: 0;
		padding-top: 1.5em;
		width: 60%;
		& .menu-liste, nav, #formulaire_recherche  {
			display: none;
		}
		& img {
			width: 20%;
			margin: 2em 0 0;
		}
		z-index: 3;
	}

	.content{
		width: 90%;
	}

	li.hentry {
		width: 100%;
	}
}

