/********************************************
	* Domaine : pleyad.fr
	*
	* Exploitant : UBS 
	*
	* Rôle : Feuille de style pour la page galerie
	*
	* Auteur : Ultra-Fluide, copyright 2022
********************************************/

/**** Cadre galeries  *****************/
/*****************************/
main > div h2{
	width:100%;
	text-align:center;
	font-size:1.8rem;
	text-transform: uppercase;
}
main > div{
	padding:30px 0;
	background: linear-gradient(#f0f0f0, white, white);
}
main > div > h3 {
	padding-left:50px;
	margin-top:50px;
	font-weight:500;
}
main > div > h3 a{
	border:1px solid #009ba8;
	border-radius: 17px;
	color:#00313a;
	margin:0 20px;
	padding:5px 10px;
	display:inline-block;
}
main > div article{
	padding:30px 50px;
}
main > div article img{
	max-width:950px;
	width:100%;
}
/**** gestion des onglets galerie **/
/**********************************/
.onglet-contenu {
	display: none;
}
.tttarget-fix {
	display: block;
	left: 0;
	position: fixed;
	top: 0;
}
/* design onglet actif, par défaut onglet 1 */
#item3:target ~ h3 a[href$="#item3"], #item2:target ~ h3 a[href$="#item2"], p:nth-of-type(2):not(:target) ~ p:nth-of-type(3):not(:target) ~ h3 a[href$="#item1"]  {
	background-color: #009ba8;
	color:white;
	font-weight:600;
}
/* affichage du bloc de contenu associé au clic , par défaut contenu premier onglet */
#item3:target ~ .onglet-contenu:nth-of-type(3), #item2:target ~ .onglet-contenu:nth-of-type(2), p:nth-of-type(2):not(:target) ~ p:nth-of-type(3):not(:target) ~ .onglet-contenu:nth-of-type(1){
	display: block;
}