/********************************************
	* Domaine : pleyad.fr
	*
	* Exploitant : UBS 
	*
	* Rôle : Feuille de style générale
	*
	* Auteur : Ultra-Fluide, copyright 2022
********************************************/

/**** classique  ********/
/************************/
* {margin: 0px; padding: 0px; box-sizing: border-box;}
h4, h1, h2, h3, h5, cite, blockquote, p, li, a, input, textarea{
	font-family: 'Montserrat', sans-serif;
	color:#00323b;
}
p, li, table, dl, figcaption, a{
	font-size:1.05rem;
	font-weight:500;
}
p{
	margin-bottom:8px;;
}
cite{
	color:#888;
}
a { 
	text-decoration: none;
}
/**** Global  *****************/
/*****************************/
html:before {
	content: "";
	background-image: url("images/pleyad-fond.webp");
	background-size: cover;
	position: fixed;
	width:100%;
	height:100%;
	opacity: 0.5;
}
main {
	width:100%;
	max-width: 1300px;
	padding:0;
	margin: 0 auto;
	position:relative;
	box-shadow: 0 -1px 3px 0 #222;
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
	justify-content: space-between;
	background-color:#00313a;
	perspective: 0;/**** Utile uniquement pour positionner les contenus par rapport à <main>***/
}
/**** header  *****************/
/*****************************/
:root{
	--hauteur-header: 180px;
	--nav-width:max(23.08%, 287px);
}
main > header {
	width:100%;
	height:var(--hauteur-header);
	display: table;
	background:white;
}
main > header h1{
	max-width:300px;
	width:23%;
}
main > header h1, header h2{
	text-align:center;
	height:100%;
	display: table-cell;
	vertical-align: middle;
	text-transform: uppercase;
}
header h2 {
	font-size:1.9rem;
	font-weight:400;
	letter-spacing: .2rem;
}
header h2 strong{
	font-family: 'Pacifico', cursive;
	text-transform: none;
	font-size:4rem;
	line-height:4.5rem;
	letter-spacing: normal;
}
main > header h1 img{
	max-width:120px;
}
/**** navigation  *****************/
/*****************************/
nav{
	width:var(--nav-width);
	height:100%;
	position: sticky;
	top: 0;
}
nav ul{
	list-style-type: none;
}
nav > ul > li > a, nav ul > li{
	color:white;
	font-weight:600;
	font-size:1.25rem;
}
nav > ul > li > a {
	display:block;
	position:relative;
	width:100%;
	height:60px;
	line-height:60px;
	padding-left:70px;
	text-transform: uppercase;
	border-bottom:1px solid #00415a;
	
}
nav > ul > li.actif > a, nav > ul > li:hover > a {
	background-color:#07505f;
	font-weight:700;
}
nav > ul > li > a:after {
	content:">";
	position:absolute;
	right:10px;
}
nav > ul > li:last-child > a {
	background-color:#009ba8;
	border-bottom:none;
	height:80px;
	line-height:80px;
	background-image:url("images/logo-sam.png");
	background-repeat: no-repeat;
	background-position: 8px 100%;
	background-size:58px 70px
}
nav > ul > li:nth-child(1) > a{
	background-image:url("images/campus.svg");
	background-repeat: no-repeat;
	background-position: 15px 50%;
}
nav > ul > li:nth-child(2) > a{
	background-image:url("images/qualite-vie.svg");
	background-repeat: no-repeat;
	background-position: 20px 50%;
}
nav > ul > li:nth-child(3) > a{
	background-image:url("images/situation.svg");
	background-repeat: no-repeat;
	background-position: 18px 50%;
}
nav > ul > li:nth-child(4) > a{
	background-image:url("images/immeubles.svg");
	background-repeat: no-repeat;
	background-position: 12px 50%;
}
nav > ul > li:nth-child(5) > a{
	background-image:url("images/galerie.svg");
	background-repeat: no-repeat;
	background-position: 20px 50%;
}
nav > ul > li:nth-child(7), nav > ul > li:nth-child(6){
	padding:70px 20px 30px 20px;
	font-weight:700;
}
nav > ul > li:nth-child(7) > img{
	width:100%;
}
nav > ul > li:nth-child(6) > sup{
	font-size:.75rem;
}
nav > ul > li:nth-child(7){
	padding-top:0;
	padding-bottom:30px;
}
main > div{
	background:white;
	width:calc(100% - var(--nav-width));
}
/* réduction du menu pour les écran en dessous de 1150px */
@media screen and (max-width: 1150px) {
	nav ul ul {
		display:none;
	}
	nav > ul > li:nth-child(6), nav > ul > li:nth-child(7) {
		display:none;
	}
	nav  {
		width:65px;
		overflow: hidden;
	}
	nav > ul > li > a:after {
		content:none;
	}
	main > div{
		width:calc(100% - 65px);
	}
}
/**** footer  *****************/
/*****************************/
footer{
	background:white;
	text-align:center;
	position:relative;
	z-index:0;
	width:100%;
}
footer ul *{
	color:#02303a;
	list-style-type: none;
	display:inline;
	line-height:50px;
}
footer ul li:after {
	content:"|";
	padding:0 10px;
}
footer ul li:last-child:after{
	content:none;
}
footer > div {
	padding:30px 20px 20px 20px;
	display: none;
	position:absolute;
	bottom:0;
	background:white;
	text-align:left;
}
footer > div p{
	font-size:.8rem;
}
footer > div h3{
	font-size:1rem;
}
footer > div h4{
	font-size:.9rem;
	color:#ef3f4d;
}
footer > div img{
	display: block;
	position: absolute;
	top: 10px;
	right: 30px;
	cursor: pointer;
}
footer > div > a{
	cursor: default;
}
footer > div p a{
	font-size:.8rem;
}
footer > div:target {
	display: block;
}
body > p {
	text-align:center;
	padding:10px 0;
	width:100%;
}
body > p a{
	font-size:.7rem;
}
