/*----------------------------------------------------AFFICHAGE PHOTO EN FULL SCREEN--------------------------------------------------------------*/
#photo{
	position: fixed;
	z-index:1001;
	top: 0px;
	left: 0px;
	width:100%;
	height:100%;
	background: url(img/background_photo.png) repeat;
	display: inline;
}
#contour_photo{
	position: fixed;
	z-index:1002;
	left: 50%; 
    top: 50%;
    width: 800px;
    height: 572px;
    margin-top: -286px; /* moitié de la hauteur */
    margin-left: -400px; /* moitié de la largeur */
	background-color: #ffffff;
	display: inherit;
	border: 1px solid RGB(199,214,235);
}
#contour_photo img{
	margin: 10px auto 5px auto;
	display: block;
}

#contour_photo p{
	margin: 0px;
}

p#fermer_photo{
	font-size: 1em;
	font-weight: bold;
	color: RGB(58,86,113);
	background-color: RGB(235,242,252);
	text-align: right;
	padding: 2px 2px 2px 0;
	cursor: pointer;
	border-bottom: 1px solid RGB(199,214,235);
}

.nbr_page_galerie{
	padding-top: 20px;
	text-align: center;
	clear: both;
}

.page_galerie_active{
	font-size: 2em;
	font-weight: bold;
	text-decoration: none;
}

/* =Hoverbox Code ------------------------- CREE PAR Nathan Smith ET READAPTE PAR MATHIEU NOVERRAZ ------------------------*/
.hoverbox
{
	cursor: default;
	list-style: none;
}

.hoverbox a
{
	cursor: default;

}

.hoverbox a .preview
{
	display: none;
	cursor: pointer;
}

.hoverbox a:hover .preview
{
	display: block;
	position: absolute;
	top: -33px;
	left: -45px;
	z-index: 2;
}

.hoverbox img
{
	vertical-align: top;
	width: 100px;
	height: 75px;
}

.hoverbox li
{
	display: inline;
	float: left;
	margin: 8px;
	padding: 5px;
	position: relative;
}

.hoverbox .preview
{
	width: 200px;
	height: 150px;
}
