@charset "utf-8";

/*CSS file for timeline
	Copyright Gilles Bonnet GBsystem le 1/11/2013 
	www.gbsystem.fr  gbonnet78fr@gmail.com
	
	This file is part of frise_chronologique.

    frise_chronologique is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    frise_chronologique is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with frise_chronologique.  If not, see <http://www.gnu.org/licenses/>.
	
	style.css V3.0 : 12/12/2015	
	last modified : Dec 12th, 2015
*/

/**** fonts *****/
@font-face {
font-family: "port_royal";
src: url('../fonts/Kaffeesatz-Regular.ttf');
}
/* 
@font-face {
font-family: "port_royal";
font-weight: light;
src: url('../fonts/Kaffeesatz-Light.ttf');
}
*/
@font-face {
font-family: "port_royal";
font-weight: bold;
src: url('../fonts/Kaffeesatz-Bold.ttf');
}
/*
@font-face {
font-family: "port_royal";
font-weight: thin;
src: url('../fonts/Kaffeesatz-Thin.ttf');
}
*/
/*** End fonts ***/

/*** Standard css definitions init and prevent select ***/
* {
	margin: 0;
	padding: 0;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
/*	user-select: none; */
}

html{
	height:100%;
	width: 100%;
}

body {
	background: #1A3553;
	font-family: port_royal, serif;
	color: #000000;
	font-size: 14px;
	height : 100%;
	width: 100%;
	overflow : hidden; /*prevent fancybox to add a vertical scroll in main!! */
	margin : 0;
	padding : 0;
}

a { 
	font-family: port_royal, serif;
	color: #000000;
	font-size: 14px;
	text-decoration: none;	
	cursor: default; /*eviter le bleu durant la sélection*/
	outline : none; /*eviter les pointilles qui entourent */
}

a:hover,a.selected {
}

h1,h2,h3,h4,h5,h6 {
	text-align: center;
	margin-bottom: 5px;
}
h1,h2 {
	color: #fa7c46;
}
h3,h4,h5 {
	color: #fa9d76;
}	

h1 {
	font-size: 18px;
	font-weight:bold;
}
h2 {
	font-size: 14px;
}
h3{
	font-size: 12px;
	font-style: italic;
}

ul li{
margin-left:15px;
}


.image{
	font-size: 12px;
	font-style: italic;
}

/** Frise definition **/

/*** classe d'enchainement de div ***/
.clear{
	clear:both;
	font-size:1px;
	margin:0px;
	padding:0px
}
/** classe alignement paragraphe ***/
.centre p{
	text-align: center;
}

/*** Main container : takes the whole window ***/
#background{
	background :url("../graphics/frise/background3.jpg");
	background-size : 100% auto;
	background-position: center	 center;
}

#g_container {
	width: 100%; /** La hauteur est définie dans javascript **/
	min-height: 100%;
	overflow: hidden; /** cache tout ce qui dépasse du div **/
	margin: 0  auto; 
	position: relative; 
	background: url('../graphics/frise/dot.png') left 100px /*80px*/ repeat-x;
}

/*** Le bandeau **/
#bandeau1{	/*le background */
	height: 60px;
	background-image:linear-gradient(#ffffff 0%, #afb9c5 100%);
}
#bandeau2{  /* le logo */
	position:relative;
	float:left;
	height: 100%;

}
/* responsive image */
#bandeau2 img {
	max-height: 100%;
	width: auto;
	margin-left: 5px;
}
/* this div contains titles */
#bandeau3{
	width: auto; 
    overflow: auto; 
}
#titre1{
	font-family :  Arial,Verdana;
	text-align : center;
	font-size: 40px;
	color: #000000;
	text-shadow: 0px 3px 0px rgba( 102, 131, 171, 0.4);
/*	height:40px; */

}
#titre2{
	font-family :  Arial,Verdana;
	text-align : center;
	font-size: 15px;
	color: #cc3000;
	margin-top: -0.6em;
	margin-left: 9em;
}


/***Le container de la frise **/
#wrapper {
	min-height: 1px; /* trick to force this empty div to get a proper width */
	height:100%;
    width: 100%;	
}
#wrapper > div > div {
 /*   overflow: hidden;*/
}
#wrapper > div > div > div {
/*    padding: 20px; */
}
#wrapper > div > .timeline-loading div {
    opacity: 0;
}

/*** Contenu de la frise ***/


/**
*     LES DIV DES EVENEMENTS
**/

/** le div englobant **/
.event_year{
	position:relative;
	float: left;
	padding: 0 20px;
}

/** le div haut avec l'année **/
.year{ 
	font-size: 30px;
	font-weight:bold;
	color: #f5500a;
	text-align: center;
	background: url('../graphics/frise/bigdot.gif') center bottom no-repeat;
	padding : 3px 5px 12px 5px; /*bottom adjust the bullet position */
	margin : 0 0 20px 0;
}

/** le div du haut sans année **/
.noyear{
	padding : 3px 5px 30px 5px;
	margin : 0 0 20px 0;
}
/** une année importante **/
.bigyear{
	font-size: 40px;
	font-weight:bold;
	color: #ffffff;
	text-align: center;
	text-shadow:0px 0px 0 rgb(179,179,179),1px 1px 0 rgb(158,158,158),2px 2px 0 rgb(137,137,137),3px 3px 0 rgb(115,115,115),4px 4px 0 rgb(94,94,94),5px 5px 0 rgb(73,73,73), 6px 6px 0 rgb(52,52,52),7px 7px 6px rgba(0,0,0,0.4),7px 7px 1px rgba(0,0,0,0.5),0px 0px 6px rgba(0,0,0,.2);
	background: url('../graphics/frise/bigdot.gif') center bottom no-repeat;
	padding : 0px 5px 8px 0px; /*bottom adjust the bullet position */
	margin : -7px 0 20px 0;
}
/** année petit caractères **/
.smallyear{
	font-size: 20px;
	font-weight:normal;
	color: #8c8cb9;
	text-align: center;
	background: url('../graphics/frise/bigdot.gif') center bottom no-repeat;
	padding : 8px 5px 17px 8px; /*bottom adjust the bullet position */
	margin : 0 0 20px 0;

}


/** Le div des  évènements  : sélectionnés/ non sélectionnés **/
.event{
	-webkit-transition: all 1s ease-in-out;
	-moz-transition: all 1s ease-in-out;
	-o-transition: all 1s ease-in-out;
	-ms-transition: all 1s ease-in-out; 
	transition: all 1s ease-in-out;
	-webkit-transform: scale(0.4,0.4);
	-moz-transform: scale(0.4,0.4);
	-o-transform: scale(0.4,0.4);
	-ms-transform: scale(0.4,0.4);
	transform: scale(0.4,0.4);
	opacity: 0.25;
	padding:10px; 	 /*espacement entre divs*/
	text-align:center;
	overflow:auto;		/*même taille que child */
}
#wrapper .event.selected{	/* pas d'action si l'évènement n'est pas dans la frise */
	-webkit-transform: scale(1,1);
	-moz-transform: scale(1,1);
	-o-transform: scale(1,1);
	-ms-transform: scale(1,1);
	transform: scale(1,1);
	opacity:1;
}


/** Formats
	medaillonS 	= petit médaillon 	(100x100px)
	medaillonL 	= grand médaillon 	(150x150px)
	cadreH	= rectangle 		(150wx200h)
	cadreC	= carré				(150wx150h)
	allinone	= tout dans l'image, format fixé dans la frise
	textonly	= uniquement titre et texte
	libre		= un cadre avec texte/image libre
**/


.medaillonS{
	height: 100px;
}
.medaillonL{
	height: 150px;
}
.cadreH {
   height: 200px;
}
.cadreC {
   height: 150px;
}
.allinone{
	/* height and width of image are defined in the html */
}
.textonly{
	/* height and width  are defined by the text */
}
.libre{
	/* beware to define the height and width somewhere */
}

/* le médaillon */
.medaillonS .cont_circle{
	float:left;
	height:100px;
	width:100px;
	}
.medaillonL .cont_circle{
	float:left;
	height:150px;
	width:150px;
	}
.circle{
	position:relative;
	z-index:99;
/*	height: 90%; */
/*	width: 90%; */
	background-image :linear-gradient(120deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
	border-radius : 50%;
	padding : 5%;
}
.medaillonS .circle{
	width : 94px;
	height : 94px;
}
.medaillonL .circle{
	width : 140px;
	height : 140px;
}
.circle  img {		/*unused when sprites */
    border-radius: 50%;
    display: block;
	width:99%;
	height: auto;
	border: solid 1px ;
	border-color : #FFFFFF;
	margin-left: -1px;
}

.msprite{				/* sprite des médaillons */
	border-radius: 50%;
    display: block;
	width:99%;
	height: auto;
	border: solid 1px ;	
	border-color : #FFFFFF;
	margin-left: -1px;	
}

/* le cadre rectangulaire */
.cadreH .cont_rect{
	float:left;
	height:200px;
	width: 150px;
}
.cadreC .cont_rect{
	float:left;
	height:150px;
	width: 150px;
}
.rect{
	position: relative;
	z-index :99;	
	width : 134px;
	background-image :linear-gradient(120deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
	border-radius : 15%;
	padding : 8px;
}
.cadreH .rect{
	height: 184px;
}
.cadreC .rect{
	height: 134px;
}
.rect  img {
    border-radius: 10%;
    display: block;
	height :99%;
	width: 99%;
	border: solid 1px ;
	border-color : #FFFFFF;
	margin-left: -1px;
}
.csprite{				/* sprite du cadre */
    border-radius: 10%;
    display: block;
	height :99%;
	width: 99%;
	border: solid 1px ;
	border-color : #FFFFFF;
	margin-left: -1px;	
}

.cont_etiq{ 			/* le rectangle de texte */
	float: left;
	margin-left: -38px;
	height: 100%;
}

.etiquette{	
	padding: 0 15px 0 45px;
	height:50px;
	border-radius : 0 20px 20px 0;
	background : white;
	color: black;
	font-size:15px;
}

.medaillonS .etiquette{
	margin-top : 40px;
}
.medaillonL .etiquette{
	margin-top : 90px;
}
.cadreH .etiquette{
	margin-top: 140px;
}
.cadreC .etiquette{
	margin-top: 90px;
}

/* add the bullet when a sheet exists */
.medaillonS .PopFiche .etiquette{
	background : white url('../graphics/frise/bluedot.gif')    40px 3px  no-repeat;
	text-indent: 15px;
}
.medaillonL .PopFiche .etiquette{
	background: white url(../graphics/frise/bluedot.gif)    38px 3px  no-repeat;
	text-indent: 15px;
}
.cadreH .PopFiche .etiquette{
	background: white url(../graphics/frise/bluedot.gif)    38px 3px  no-repeat;
	text-indent: 15px;
}
.cadreC .PopFiche .etiquette{
	background: white url(../graphics/frise/bluedot.gif)    38px 3px  no-repeat;
	text-indent: 15px;
}


/*** textonly format ***/

.textonly .cont_etiq { /* pas de décalage pour textonly */
	margin-left: 0px;
}
.textonly .etiquette{ /* for text only */
	border-radius : 20px;
	padding : 0 10px 5px 10px;
	height : auto;
	background : white;
}
.textonly .PopFiche .etiquette { /* textonly with an existing sheet */
	background : white url('../graphics/frise/bluedot.gif')    5px 3px  no-repeat;
	text-indent: 15px; /*do not overlap the dot with text */
}
/* end of textonly format */


/*** libre format ***/

.libre .cont_etiq{
	margin-left: 0px;
}
.libre .etiquette{ /* for libre format */
	border-radius : 10px;
	padding : 0 10px 5px 10px;
	height : auto;
	border-width : 2px;
	border-style : solid;
	background : rgba(255,255,255,.7);
	background : rgba(255,255,255,.7) url('../graphics/frise/bluedot.gif')    0px 3px  no-repeat;
}
.libre .PopFiche .etiquette{ /*libre format with existing sheet */
	background : rgba(255,255,255,.7) url('../graphics/frise/bluedot.gif')    0px 3px  no-repeat;
}
/*** end of libre format ***/


/*** allinone  format**/
.allinimage{
    border-radius: 10px;
	border: solid 1px;
	border-color : #FFFFFF;
	position:relative;
}
.allinimage  img {
    border-radius: 10px;
    display: block;
	height:100%;
	width:100%;
}
.asprite{
	border-radius: 10px;
    display: block;
	height:100%;
	width:100%;	
}
.allintexte{
	position : absolute;
	bottom:0px;
	width:100%;
	padding-bottom : 3px;
	background : rgba(255,255,255,.7); 
	border-radius : 0 0 10px 10px;
	color: black;
	font-size:15px;
}
.PopFiche .allintexte{ /*allinone format with existing sheet */
	background : rgba(255,255,255,.7) url('../graphics/frise/bluedot.gif')    0px 3px  no-repeat;
	text-indent: 15px; /*do not overlap the dot with text */	
}

/***** end formats ****/




/* div side to side */
.hor {
	float:left;
	margin-right : 20px;
}
/* espace on top of div */
.v20{
	margin-top: 20%;
}

/* Le div d'espace gauche */
.left_space{
	max-width:400px;
	max-height:400px;
	position:relative;
	float:left;
}


/** a bit of color **/
.PR .etiquette, .PR .allintexte{ box-shadow: 4px 4px 9px #8c8cb9;}
.PR h1 {color: #50667f;}
.PR.libre .etiquette{border-color :#50667f;}

.ART .etiquette, .ART .allintexte{ box-shadow: 4px 4px 9px #8cb997;}
.ART h1 {color: #137503;}
.ART.libre .etiquette{border-color :#137503;}

.GEN .etiquette, .GEN .allintexte{	box-shadow: 4px 4px 9px #f6775d;}
.GEN h1{color:  #f5411d;}
.GEN.libre .etiquette{border-color :#f5411d;}

.REL .etiquette, .REL .allintexte{	box-shadow: 4px 4px 9px #780b88;}
.REL h1{	color :#780b88;}
.REL.libre .etiquette{border-color :#780b88;}

.SCI .etiquette, .SCI .allintexte{ box-shadow: 4px 4px 9px #b9b08c;}
.SCI h1 {color: #796407;}
.SCI.libre .etiquette{border-color :#796407;}


.EXP .etiquette, .EXP .allintexte{ box-shadow: 4px 4px 9px #84dcc6;}
.EXP h1 {color: #04ac83;}
.EXP.libre .etiquette{border-color :#04ac83;}


/********* LA NAVIGATION *********************/



/*** Bloc navigation du bas ***/
#p_bottom {
	position:absolute; 
	z-index:110;
	bottom:0; 
	left:50%; /*shall be adjusted after init in javascript */
}
/*** gestion touche Avant **/
#p_avant{
	float:left;
	position:relative;
	margin-right: 10px;
}
/*** gestion du curseur ***/
#p_curseur{
	height:50px; /** sélection difficile sur tablette si moins haut **/
	float:left;
	position:relative;
/*	cursor: pointer;  */ /*provoque du bleu en sélection */
	background-image: url('../graphics/frise/barre.png');
	background-repeat:  repeat-x;
}
#i_curseur{
	height:30px;
	width :3px;
	left:0px;
	float:left;
	position:relative;
/*	cursor: pointer;  */ /*provoque du bleu en sélection */
	background-color: rgba(74,108,155,1);
    background: -webkit-linear-gradient( #6d89af, #395378);
    background:    -moz-linear-gradient( #6d89af, #395378);
    background:     -ms-linear-gradient( #6d89af, #395378);
    background:      -o-linear-gradient( #6d89af, #395378); 
    background:         linear-gradient( #6d89af, #395378);
	border-radius: 4px;	
	box-shadow: 0 0 1px rgba( 255, 255, 255, 0.8),
                0 -1px 0 rgba( 0, 0, 0, 0.8);
}
/*** gestion touche Après **/
#p_apres{
	float:left;
	position:relative;
	margin-left: 10px;
}
/** fin définition bloc de navigation **/

/** gestion bouton home et menu **/
#menu{
	z-index:100;
	position : absolute;
	bottom : 20px;
	right : 50px;
}
#sous_menu{	/* the  menu box  */
    display: none;
    width: 100%;
	padding : 10px;
	border-radius: 8px;
    background-color: #2e6288;
    -moz-box-shadow: 0 2px 2px rgba(25, 68, 99, .4);
    -webkit-box-shadow: 0 2px 2px rgba(25, 68, 99, .4);
    -ms-box-shadow: 0 2px 2px rgba(25, 68, 99, .4);
    -o-box-shadow: 0 2px 2px rgba(25, 68, 99, .4);
    box-shadow: 0 2px 2px rgba(25, 68, 99, .4);
}
#sous_menu p{	/* titles in sous menu */
	font-family : Arial,Verdana;
    font-size : 14px;
    line-height : 25px;
    display:block;
	margin: 10px 16px 10px 10px;
	padding: 0 10px 0 5px;
    text-align: left;
    color: #ffffff;
	background-color: rgba(74,108,155,1);
    background: -webkit-linear-gradient( #6d89af, #395378);
    background:    -moz-linear-gradient( #6d89af, #395378);
    background:     -ms-linear-gradient( #6d89af, #395378);
    background:      -o-linear-gradient( #6d89af, #395378); 
    background:         linear-gradient( #6d89af, #395378);
	border-radius: 4px;	
	text-shadow: 0px 1px 0px rgba( 0, 0, 0, 0.9);
	box-shadow: 0 0 1px rgba( 255, 255, 255, 0.8),
                0 -1px 0 rgba( 0, 0, 0, 0.8);
}


#m_langue, #m_niveau, #m_exit, #m_theme{
}

#m_langue li, #m_niveau li, #m_exit li, #m_theme li{
	display : inline-block;
	cursor: pointer;
	float : left;
   /* line-height : 30px; */
	padding: 0 5px 0 5px;
    color: #ffffff;
	background-color: rgba(74,108,155,1);
    background: -webkit-linear-gradient( #6d89af, #395378);
    background:    -moz-linear-gradient( #6d89af, #395378);
    background:     -ms-linear-gradient( #6d89af, #395378);
    background:      -o-linear-gradient( #6d89af, #395378); 
    background:         linear-gradient( #6d89af, #395378);
	border-radius: 4px;	
	box-shadow: 0 0 1px rgba( 255, 255, 255, 0.8),
                0 -1px 0 rgba( 0, 0, 0, 0.8);
}

#m_langue li:hover, #m_langue li.selected, #m_niveau li:hover, #m_niveau li.selected,
#m_exit li:hover, #m_exit li.selected, #m_theme li:hover, #m_theme li.selected{
	background: #44648f;
    background: -webkit-linear-gradient( #44648f, #192535);
    background:    -moz-linear-gradient( #44648f, #192535);
    background:     -ms-linear-gradient( #44648f, #192535);
    background:      -o-linear-gradient( #44648f, #192535);
    background:         linear-gradient( #44648f, #192535);
    box-shadow: 1px 1px 10px black inset,
                0 1px 0 rgba( 245,80,10, 0.9);
}

/*les icones */
#m_langue .m_icon{
	background: transparent url(../graphics/menu/flags.png) no-repeat 0 0; 
}
#m_niveau .m_icon{
	background: transparent url(../graphics/menu/details.png) no-repeat 0 0; 
}
#m_exit .m_icon{
	background: transparent url(../graphics/menu/programmes.png) no-repeat 0 0; 
}
#m_theme .m_icon{
	background: transparent url(../graphics/menu/themes.png) no-repeat 0 0; 
}
#m_langue .m_icon, #m_niveau .m_icon, #m_theme .m_icon, #m_exit .m_icon   {
    display: inline-block;  
    vertical-align: bottom;
    opacity: .8;
    width: 45px;
    height: 40px;    
    -moz-transition: opacity 0.3s linear;
    -o-transition: opacity 0.3s linear;
    -webkit-transition: opacity 0.3s linear;
    -ms-transition: opacity 0.3s linear;
    transition: opacity 0.3s linear;
}
#m_langue1 .m_icon ,#m_niveau1 .m_icon,  
#m_exit1 .m_icon ,#m_theme1  .m_icon{
    background-position: 0 -91px;
}
#m_langue2 .m_icon,#m_niveau2 .m_icon,
#m_exit2 .m_icon ,#m_theme2  .m_icon{
    background-position: 0 -46px;
}
#m_langue3 .m_icon,#m_niveau3 .m_icon,
#m_exit3 .m_icon ,#m_theme3 .m_icon {
    background-position: 0 -3px;
}
/* crédit */
#m_credit{
	font-family : Arial,Verdana;
    font-size : 7px;
    height : 40px;
    display:block;	
	margin: 0px 16px 10px 10px;  /* h, d b g*/
    text-align: left;
    color: #ffffff;
}
#m_credit_select a{
	padding: 0 10px 5px 5px;
	color: #cccccc;	
}
#m_credit_select a:hover{
	color: #555555;	
}
/*tooltip start */
a.tooltip {
	outline:none; 
}
 
a.tooltip span {
    z-index:10;
	display:none; 
	padding:5px 3px;
    margin-top:-10px; 
	margin-left:8px;
    width:115px;
	line-height:12px;
	border-radius:10px;
    box-shadow: 2px 2px 4px #CCC;
}
a.tooltip:hover span{
    display:inline; 
	position:absolute; 
	color: #ffffff;
    border:1px solid #DCA; 
	background:#44648f
}
.callout {z-index:20;position:absolute;top:30px;border:0;left:-12px;}

/* le bouton home */
#home{
	padding : 10px;
}

#home-button{
	width: 35px;
	float: right;
}

#home-button-inner{
	background: transparent url(../graphics/menu/home.png) no-repeat 0 0;
    width: 35px;
    height: 41px;
}

#home-button {
    font-family : Arial,Verdana;
    font-size : 12px;
    line-height : 30px;
    display:block;
	cursor: pointer;
	text-decoration: none;
    padding: 0 5px 0 5px; 
    text-align: center;
    color: #ffffff;
	background-color: rgba(74,108,155,1);
    background: -webkit-linear-gradient( #6d89af, #395378);
    background:    -moz-linear-gradient( #6d89af, #395378);
    background:     -ms-linear-gradient( #6d89af, #395378);
    background:      -o-linear-gradient( #6d89af, #395378); 
    background:         linear-gradient( #6d89af, #395378);
	border-radius: 4px;	
	text-shadow: 0px 1px 0px rgba( 0, 0, 0, 0.9);
	box-shadow: 0 0 1px rgba( 255, 255, 255, 0.8),
                0 -1px 0 rgba( 0, 0, 0, 0.8);
}

#home-button.selected {
    background: #44648f;
    background: -webkit-linear-gradient( #44648f, #192535);
    background:    -moz-linear-gradient( #44648f, #192535);
    background:     -ms-linear-gradient( #44648f, #192535);
    background:      -o-linear-gradient( #44648f, #192535);
    background:         linear-gradient( #44648f, #192535);
    box-shadow: 1px 1px 10px black inset,
                0 1px 0 rgba( 245,80,10, 0.9);
}
/** Fin gestion des home/menu/theme/langue **/

/*** Les dégradés gauche et droite ***/
#grad_left {
	width: 100px;
	height: 100%;
	position: absolute;
	z-index:99;
	top: 0;
	left: 0;
	background: url('../graphics/frise/grad_left.png') repeat-y;
}
#grad_right {
	width: 100px;
	height:100%;
	position: absolute;
	z-index:99;
	top: 0;
	right: 0;
	background: url('../graphics/frise/grad_right.png') repeat-y;
}		
/** Fin gestion dégradés gauches et droite **/


/**** LES BOUTONS DE BAS DE PAGE ***/
/*bouton previous */
#p_prev {
    display : block;
    z-index : 0;
    left:50px;
    top:50px;    
    height:30px;
    width:auto;
    padding: 0 10px 0 6px;
    background-size : 30px 30px;
    background-repeat:repeat-x;
    background-position :0;
    background-image : -moz-linear-gradient(
        90deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 50%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0.3) 100%
        );
    background-image : -o-linear-gradient(
        90deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 50%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0.3) 100%
        );
    background-image : -webkit-linear-gradient(
        90deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 50%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0.3) 100%
        );
    border-radius: 5px;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    box-shadow :0 -1px 1px rgba(0,0,0,0.2)inset,
        0 1px 2px rgba(0,0,0,0.8)inset;
    color:#fff;
    text-shadow : 0px -1px 0px rgba(0,0,0,0.8);
/*    cursor: pointer;*/
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

#p_prev:before{
    position:absolute;
    content : ' ';
    left:-8px;
    top:4px;
    height : 23px;
    width: 24px;
    z-index : 1;
    background-repeat:repeat-x;
    background-size : 30px 30px;
    background-position :-1px -1.5px;
    background-image : -moz-linear-gradient(
        45deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 52%,
        rgba(255,255,255,0.1) 52%,
        rgba(255,255,255,0.4) 100%
        );
    background-image : -o-linear-gradient(
        45deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 52%,
        rgba(255,255,255,0.1) 52%,
        rgba(255,255,255,0.4) 100%
        );
    background-image : -webkit-linear-gradient(
        45deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 52%,
        rgba(255,255,255,0.1) 52%,
        rgba(255,255,255,0.4) 100%
        );
    background-image : linear-gradient(
        45deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 52%,
        rgba(255,255,255,0.1) 52%,
        rgba(255,255,255,0.4) 100%
        );
    -moz-transform : rotateZ(-45deg) skewY(-10deg) skewX(-10deg);
    -o-transform : rotateZ(-45deg) skewY(-10deg) skewX(-10deg);
    -webkit-transform : rotateZ(-45deg) skewY(-10deg) skewX(-10deg);
    transform : rotateZ(-45deg) skewY(-10deg) skewX(-10deg);
    border-top-right-radius : 11px;
    border-top-left-radius :0px;
    border-bottom-right-radius : 0;
    border-bottom-left-radius : 10px;

    border-left : 1px solid rgba(255,255,255,0.4);

    box-shadow :  0px 1px 1px rgba(0,0,0,0.7) inset,
        2px -2px 2px -3px rgba(0,0,0,0.5) inset;
}
#p_prev:after{

    font-family :  Arial,Verdana;
    font-weight: 400;
    font-size : 12px;
    line-height : 30px;
    text-align:center;    
    content: attr(title)"";
    z-index: 999;
    left:-2px;
    padding-left:3px;
    position:relative;
    height: 30px;
    line-height:30px;
    display:block;
    background-repeat:repeat-x;
    background-size : 30px 30px;
    background-position :-1px -0.5px;
    box-shadow :0 -3px 1px -2px rgba(0,0,0,0.3)inset,
                0 4px 2px -3px rgba(0,0,0,0.8)inset;
    background-image : -webkit-linear-gradient(
        90deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 50%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0.3) 100%
        );
    background-image : -moz-linear-gradient(
        90deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 50%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0.3) 100%
        );
    background-image : -o-linear-gradient(
        90deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 50%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0.3) 100%
        );
}
/** Bouton next **/
#p_next {
    display : block;
 /*   position:absolute; */
    z-index : 0;
    right:50px;
    top:50px;    
    height:30px;
    width:auto; 

    padding: 0 6px 0 10px;
    background-size : 30px 30px;
    background-repeat:repeat-x;
    background-position :0;
    background-image : -moz-linear-gradient(
        90deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 50%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0.3) 100%
        );
    background-image : -o-linear-gradient(
        90deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 50%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0.3) 100%
        );
    background-image : -webkit-linear-gradient(
        90deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 50%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0.3) 100%
        );
    border-radius: 5px;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    box-shadow :0 -1px 1px rgba(0,0,0,0.2)inset,
        0 1px 2px rgba(0,0,0,0.8)inset;
    color:#fff;
    text-shadow : 0px -1px 0px rgba(0,0,0,0.8);
 /*   cursor: pointer; */
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

#p_next:before{
    position:absolute;
    content : ' ';
 /*   left:-8px; */
	left: 16px;    /*******************/
    top:4px;
    height : 23px;
    width: 24px;
    z-index : 1;
    background-repeat:repeat-x;
    background-size : 30px 30px;
    background-position :-1px -1.5px;
    background-image : -moz-linear-gradient(
        45deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 52%,
        rgba(255,255,255,0.1) 52%,
        rgba(255,255,255,0.4) 100%
        );
    background-image : -o-linear-gradient(
        45deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 52%,
        rgba(255,255,255,0.1) 52%,
        rgba(255,255,255,0.4) 100%
        );
    background-image : -webkit-linear-gradient(
        45deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 52%,
        rgba(255,255,255,0.1) 52%,
        rgba(255,255,255,0.4) 100%
        );
    background-image : linear-gradient(
        45deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 52%,
        rgba(255,255,255,0.1) 52%,
        rgba(255,255,255,0.4) 100%
        );
    -moz-transform : rotateZ(-45deg) skewY(-10deg) skewX(-10deg);
    -o-transform : rotateZ(-45deg) skewY(-10deg) skewX(-10deg);
    -webkit-transform : rotateZ(-45deg) skewY(-10deg) skewX(-10deg);
    transform : rotateZ(-45deg) skewY(-10deg) skewX(-10deg);
    border-top-right-radius : 11px;
    border-top-left-radius :0px;
    border-bottom-right-radius : 0;
    border-bottom-left-radius : 10px;

    border-left : 1px solid rgba(255,255,255,0.4);

    box-shadow :  0px 1px 1px rgba(0,0,0,0.7) inset,
        2px -2px 2px -3px rgba(0,0,0,0.5) inset;
}

#p_next:after{

    font-family :  Arial,Verdana;
    font-weight: 400;
    font-size : 12px;
    line-height : 30px;
    text-align:center;    
    content: attr(title)"";
    z-index: 999;
/*    left:-2px; */
	width:14px; /**************/
    padding-left:3px;
    position:relative;
    height: 30px;
    line-height:30px;
    display:block;
    background-repeat:repeat-x;
    background-size : 30px 30px;
    background-position :-1px -0.5px;
    box-shadow :0 -3px 1px -2px rgba(0,0,0,0.3)inset,
                0 4px 2px -3px rgba(0,0,0,0.8)inset;
    background-image : -webkit-linear-gradient(
        90deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 50%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0.3) 100%
        );
    background-image : -moz-linear-gradient(
        90deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 50%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0.3) 100%
        );
    background-image : -o-linear-gradient(
        90deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 50%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0.3) 100%
        );
}

/** couleur et hover communs **/
#p_prev, #p_prev:after, #p_prev:before, 
#p_next, #p_next:after, #p_next:before {
    background-color: rgba(74,108,155,1);/*originalcolor*/
}

/** Ajax loading ** */
#loading {
	z-index:200;
	display: none;
	background: #1A3553;
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 100;
    height: 24px;
    margin-top: -12px;
    width: 24px;
    margin-left: -12px;
}
/*** my penny for fancybox: always show arrows ******/
.fancybox-nav span {
	position: absolute;
	top: 35px; /*100px; */
	width: 44px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: visible;
}

.fancybox-prev span {
	left: 1px; /* -54px; */
	background-position: 0 -36px;/*-36*/
}

.fancybox-next span {
	right: -45px; /* -54px; */
	top: 88px;
	background-position: 0 -72px;/*-72*/
}

.fancybox-close {
	position: absolute;
	top: -15px;
	right: -45px;
	width: 44px;
	height: 35px;
	cursor: pointer;
	z-index: 8040;
}

/********************FANCYBOX***********/
/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #f9f9f9;
	color: #444;
	text-shadow: none;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	        border-radius: 4px;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
	position: relative;
}

.fancybox-inner {
	overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading,.fancybox-close, .fancybox-prev span, .fancybox-next span {
	background-image: url('../graphics/fancybox/fancybox_sprite.png');
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top:  -22px; 
	margin-left: -22px; 
	background-position: 0  -108px; 
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url('../graphics/fancybox/fancybox_loading.gif') center center no-repeat;
}
/*
.fancybox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 8040;
}
*/
.fancybox-nav {
	position: absolute;
	top: 0;
/*GB	width: 40%; */
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('../graphics/fancybox/blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
/*GB	left: 0; */
	right:0;
}

.fancybox-next {
	right: 0;
}
/* voir mes modifs 
.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}
.fancybox-prev span {
	left: 10px;
	background-position: 0 -36px;
}
.fancybox-next span {
	right: 10px;
	background-position: 0 -72px;
}
*/
.fancybox-nav:hover span {
	visibility: visible;
}

.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	visibility: hidden;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
    overflow: hidden !important;
    width: auto;
}

.fancybox-lock body {
    overflow: hidden !important;
}

.fancybox-lock-test {
    overflow-y: hidden !important;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background: url('../graphics/fancybox/fancybox_overlay.png');
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8050;
	text-align: center;
}

.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: transparent; /* Fallback for web browsers that doesn't support RGBa */
	background: rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 15px;
	   -moz-border-radius: 15px;
	        border-radius: 15px;
	text-shadow: 0 1px 2px #222;
	color: #FFF;
	font-weight: bold;
	line-height: 24px;
	white-space: nowrap;
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}

/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min--moz-device-pixel-ratio: 1.5),
	   only screen and (min-device-pixel-ratio: 1.5){

	#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
		background-image: url('../graphics/fancybox/fancybox_sprite@2x.png');
		background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
	}

	#fancybox-loading div {
		background-image: url('../graphics/fancybox/fancybox_loading@2x.gif');
		background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
	}
}
/**                         FIN                        **/