/* Définition des polices personnalisées */
@font-face {
	font-family: 'Play';
	src:url('polices/Play.eot');
	src:url('polices/Play.eot?#iefix') format('embedded-opentype'),
		url('polices/Play.woff') format('woff'),
		url('polices/Play.ttf') format('truetype'),
		url('polices/Play.svg#PlayRegular') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* Eléments principaux de la page */
body
{
	background: url('images/fond.png');
	font-family: Arial, sans-serif;
	color: black;
}
#bloc_page
{
	width: 900px;
	margin: auto;
	padding: 10px;
	padding-bottom: 0px;
	border: 1px solid;
	border-radius: 5px;
	background-color: white;
	box-shadow: 0px 0px 5px black;
}
section h1
{
	font-family: Play, sans-serif;
	font-size: x-large;
	text-shadow: 0px 0px 5px gray;
}
section h2, nav a
{
	font-family: Play, sans-serif;
	font-size: large;
}
a
{
	color: gray;
	text-decoration: none;
	transition: color 0.5s ease;
	-moz-transition: color 0.5s ease;
	-o-transition: color 0.5s ease;
	-webkit-transition: color 0.5s ease;
}
a:hover
{
	color: black;
}
a:active
{
	box-shadow: 0px 0px 3px inset;
	color: blue;
}
a:focus
{
	color: rgb(100, 100, 200);
}
section a:visited
{
	color: rgb(150, 150, 250);
}

/* Header */
header
{
	position: relative;
	border-bottom: 2px black solid;
	background: rgb(230, 230, 255);
	height: 190px;
	border-radius: 5px 5px 0px 0px;
}
#logo
{
	display: inline-block;
	margin-top: 15px;
	margin-bottom: 0px;
}

nav
{
	position: absolute;
	bottom: 0px;
	right: 0px;
	text-align: right;
}
nav ul
{
	list-style-type: none;
}
nav li
{
	display: inline-block;
	margin-right: 10px;
}
nav a
{
	font-size: 1.3em;
	color: black;
	padding-bottom: 3px;
	text-decoration: none;
	transition: text-shadow 0.5s ease, color 0.5s ease, border-radius 0.5s ease;
	-moz-transition: text-shadow 0.5s ease, color 0.5s ease, border-radius 0.5s ease;
	-ms-transition: text-shadow 0.5s ease, color 0.5s ease, border-radius 0.5s ease;
	-o-transition: text-shadow 0.5s ease, color 0.5s ease, border-radius 0.5s ease;
	-webkit-transition: text-shadow 0.5s ease, color 0.5s ease;
}
nav a:hover
{
	color: blue;
	border-bottom: 2px solid blue;
	border-top: 2px solid blue;
	border-radius: 5px;
	text-shadow: 0px 0px 5px blue;
}
nav #nav_actuel
{
	border-bottom: 2px solid blue;
	border-top: 2px solid blue;
}

/* Corps */
article, aside
{
	display: inline-block;
	vertical-align: top;
	text-align: justify;
}
article
{
	width: 620px;
	margin-right: 15px;
	font-size: 0.9em;
}
.pg_news article, .pg_projets article, .pg_application article
{
	width: 900px;
	margin-right: 15px;
	font-size: 0.9em;
}
aside
{
	width: 240px;
	margin-top: 15px;
	padding: 10px;
	padding-top: 0px;
	background-color: rgb(80, 80, 80);
	box-shadow: 0px 5px 10px black;
	border-radius: 25px 5px 5px 5px;
	color: white;
	font-size: 0.8em;
}
aside h1
{
	text-align: center;
}
aside h2, .pg_news h2, .pg_news h1
{
	position: relative;
	text-shadow: 0px 0px 3px gray;
}
aside .date, .pg_news .date
{
	display: inline-block;
	position: absolute;
	top: -7px;
	right: 0px;
	font-style: italic;
	font-size: 1em;
	opacity: 0.2;
}
.pg_news .date
{
	opacity: 0.3;
}
aside p
{
	opacity: 0.5;
	transition: opacity 0.5s ease;
	-moz-transition: opacity 0.5s ease;
	-ms-transition: opacity 0.5s ease;
	-o-transition: opacity 0.5s ease;
	-webkit-transition: opacity 0.5s ease;
}
aside p:hover
{
	opacity: 1;
}
.pg_projets .spoiler li a {
	color: black;
}
.pg_projets .spoiler p {
	font-style: italic;
	color: gray;
}
.pg_application .img {
	text-align: center;
}
ul {
	list-style-image: url("images/puce.png");
}
/* Footer */
footer
{
	margin: 0px;
	padding: 0px;
}
#copyright
{
	font-size: 0.65em;
	opacity: 0.35;
	transition: opacity 0.5s ease;
	-moz-transition: opacity 0.5s ease;
	-ms-transition: opacity 0.5s ease;
	-o-transition: opacity 0.5s ease;
	-webkit-transition: opacity 0.5s ease;
}
#copyright:hover
{
	opacity: 1;
}

/* Spécial */
.pg_news .news
{
	padding: 10px;
	padding-bottom: 1px;
	padding-top: 1px;
	margin: 0px;
	background-color: rgb(100, 100, 100);
	box-shadow: 0px 5px 10px black;
	border-radius: 5px;
	color: white;
}

/* Spoilers */
.spoiler .contenu {
	padding: 3px;
	margin: -10px 0px -10px 0px;
	box-shadow: 0px 0px 3px gray;
	border: 1px solid gray;
	border-radius: 3px;
	opacity: 0;
	height: 0em;
	overflow: hidden;
	transition: height 1s ease, opacity 0.9s ease;
	-moz-transition: height 1s ease, opacity 0.9s ease;
	-ms-transition: height 1s ease, opacity 0.9s ease;
	-o-transition: height 1s ease, opacity 0.9s ease;
	-webkit-transition: height 1s ease, opacity 0.9s ease;
}
.spoiler .contenu  p, .spoiler .contenu  ul{
	position: relative;
	left: -200px;
	bottom: 14px;
	transition: left 1s ease;
	-moz-transition: left 1s ease;
	-ms-transition: left 1s ease;
	-o-transition: left 1s ease;
	-webkit-transition: left 1s ease;
}
.spoiler:target .contenu {
	opacity: 1;
}
.spoiler:target .contenu  p, .spoiler:target .contenu  ul{
	left: 0px;
}
.spoiler:target .cacher, .spoiler .afficher {
	display: inline;
}
.spoiler:target .afficher, .spoiler .cacher {
	display: none;
}

.invisible {
	display: none;
}

/* Agrandissement images redimensionnés */
.lightbox {
	z-index: -50;
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	padding-top: 100px;
	background-color: rgba(0,0,0,0.6);
	text-align: center;
	opacity: 0;
	transition: opacity 0.5s ease;
	-moz-transition: opacity 0.5s ease;
	-ms-transition: opacity 0.5s ease;
	-o-transition: opacity 0.5s ease;
	-webkit-transition: opacity 0.5s ease;
}
.lightbox img {
	box-shadow: 0px 0px 30px white;
	background: white;
	padding: 10px;
}
.lightbox:target{
	z-index: 20;
	opacity: 1;
}
a.no_effects:active {
	box-shadow: none;
}

/* Actualités */
.pg_news .news h1 {
	margin-bottom: 2px;
}

/* Commentaires */
.commentaire {
	border: 1px solid black;
	border-radius: 3px;

	box-shadow: 0px 0px 2px gray;

	padding: 3px;
	margin: 5px;
	margin-bottom: 8px;
}
.commentaire .header {
	color: gray;
}
.commentaire p {
	margin-left: 5px;
}
.commentaire .footer {
	display: block;
	width: 100%;

	border-top: 1px solid gray;

	text-align: right;
}
#commentaires form input, #commentaires form textarea {
	width: 100%;
}
#commentaires form textarea {
	height: 10em;
}