/*body {
	background-image: url(images/fonddegeade.png);

}*/

body {
	background-repeat: repeat;
	background-image: url(images/fond2.png);
}
#global {
	z-index:1;
	position: relative;
	min-height: 100%;
	width: 992px;
	margin: auto;
	height: 1050px;
	margin-top: 10px;
}


#centre {
	position:absolute;
	width:557px;
	height:961px;
	z-index:2;
	left: 228px;
	top: 265px;
	background-color: #737E49;
}

.titrecentre {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	color: #FF0;
	font-weight: bold;
}
.corpscentre {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	color: #FFFFFF;
	font-weight: bold;
}
/*---------------------------visu---------------------------*/
.thumb{
	/*margin:30px;*/
	position:relative;
	display:inline-block;
}
.thumb img{
	width: 180px;
	height: 136px;
	background:#EEEEEE;
	/*padding:3px;
	border:1px solid #CCC;*/
}
.prev{
	padding:3px;
	background-color:#333333;
	border:1px solid black;
	color:white;
	font-family:Arial, Helvetica, sans-serif;
	text-align:center;
	font-style:italic;
	font-size:13px;
	-moz-box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
	-webkit-box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
	box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
	z-index:200;
}

.prev img{
	display:block;
	max-width:700px;/*500px donne la hauteur max de la fenêtre*/
}
/*---------------------------finvisu---------------------------*/
.thumb{
.Indexgras {
	font-weight: bold;
}
a.fancybox { cursor: url(../images/magnify_24.cur), url(images/magnify_24.cur), pointer;}

#apDiv67 {
	position:absolute;
	width:200px;
	height:346px;
	z-index:1501;
	left: -41px;
	top: -2px;
}
#apDiv68 {
	position:absolute;
	width:200px;
	height:115px;
	z-index:1501;
	left: 239px;
	top: -11px;
}
#apDiv69 {
	position:absolute;
	width:200px;
	height:115px;
	z-index:1501;
	left: 242px;
	top: 117px;
}
#apDiv70 {
	position:absolute;
	width:200px;
	height:115px;
	z-index:1501;
	left: 820px;
	top: 23px;
}

#apDiv74 {
	position:absolute;
	width:144px;
	height:37px;
	z-index:1501;
	left: 578px;
	top: 247px;
}

#apDiv77 {
	position:absolute;
	width:220px;
	height:170px;
	z-index:1501;
	left: 813px;
	top: 307px;
}
#apDiv78 {
	position:absolute;
	width:200px;
	height:125px;
	z-index:1501;
	left: 816px;
	top: 310px;
}
#apDiv79 {
	position:absolute;
	width:145px;
	height:43px;
	z-index:1501;
	left: 644px;
	top: 209px;
}

.Style1 {
	color: #FFFF00
}

.Style13 {color: #FFFFFF}
.Style40 {	FONT-WEIGHT: normal
}
.Style41 {font-weight: bold}
#apDiv80 {
	position:absolute;
	width:200px;
	height:80px;
	z-index:2;
	left: 811px;
	top: 216px;
}
#apDiv81 {
	position:absolute;
	width:234px;
	height:2091px;
	z-index:1502;
	left: 150px;
	top: 435px;
}
#apDiv82 {
	position:absolute;
	width:200px;
	height:115px;
	z-index:2;
	left: 306px;
	top: 358px;
}
#apDiv83 {
	position:absolute;
	width:200px;
	height:115px;
	z-index:1502;
	left: 1px;
	top: 343px;
}
#apDiv84 {
	position:absolute;
	width:200px;
	height:115px;
	z-index:1502;
	left: 813px;
	top: 457px;
}

 var $ =jQuery.noConflict(); 
 
$(document).ready(function(){

	$(".btn-slide").click(function(){
		$("#panel").slideToggle("slow");
		$(this).toggleClass("active"); return false;
	});
	
	 
});




#panel {
	background: #F0FEDC;
	height: 350px;/*reglage de la hauteur*/
	margin-left: auto;
	display: none;
	margin-right: auto;
	width: 100%;
	position: relative;
	left: auto;
	right: auto;
	z-index: 1500;
}
#panel h2, p{
margin:0px; padding:0px; padding-top:20px; padding-left:20px; color:#666
	  
}
.slide {
	margin: 0;
	padding: 0;
	border-top: solid 4px #8EC248;
	background: url(images/btn-slide.gif) no-repeat center top;
}
.btn-slide {
	background: url(images/white-arrow.gif) no-repeat right -50px;
	text-align: center;
	width: 144px;
	height: 31px;
	padding: 10px 10px 0 0;
	margin: 0 auto;
	display: block;
	font: bold 120%/100% Arial, Helvetica, sans-serif;
	color: #fff;
	text-decoration: none;
	z-index: 999;
}

/*-----------------début panel2----------------------
#opinion {
	height:554px;
	width:666px;
	background: url(generic.jpg) no-repeat;
	left:50%;
	margin-left:-333px;
	margin-top:-277px;
	position:absolute;
	top:50%;
}*/

#tab {
	width:50px;
	height:175px;
	position:fixed;
	left:0px;
	top:200px;
	background:/*#CC3300*/ url(images/btn-slideV.png) no-repeat 5px 10px;
	display:block;
	cursor:pointer;
	border:2px solid #fff;
	border-left:0;
	-moz-border-radius-topright: 20px;
	-webkit-border-top-right-radius: 20px;
	-moz-border-radius-bottomright: 20px;
	-webkit-border-bottom-right-radius: 20px;
	/*filter:progid:DXImageTransform.Microsoft.DropShadow(sProperties);*/
	-webkit-box-shadow: 1px 1px 5px #000;
	-moz-box-shadow: 1px 1px 5px #000;	
}
#panel2 {
	position:fixed;
	left:0px;
	top:200px;
	background-color:#FFF;
	height:500px;
	width:600px;
	-moz-border-radius-topright: 20px;
	-webkit-border-top-right-radius: 20px;
	-moz-border-radius-bottomright: 20px;
	-webkit-border-bottom-right-radius: 20px;
	filter:progid:DXImageTransform.Microsoft.DropShadow(sProperties);
	-webkit-box-shadow: 1px 1px 5px #000;
	-moz-box-shadow: 1px 1px 5px #000;	/*display:none;/*if javascript isnt running*/
}
#panel2 .content {
	width:290px;
	margin-left:70px;
	background-color: #FFF;
}
#panel2 .content p {
	font-size:13px;
}
#panel2 .content h2 {
	color:#CC3300;
}
#panel2 .content img {
	float:left;
	padding:0 10px 5px 0;
}
/*-----------------fin panel2----------------------*/



$(function(){
   $('a.pdf').fancybox({
      'transitionIn'	:	'elastic',
      'transitionOut'	:	'elastic',
      'width'			: 	'60%',
      'height'		 :	'60%',
      'speedIn'		:	600, 
      'speedOut'		:	200, 
      'type'			: 	'iframe',
      'titleShow'     : 	false,
      'overlayShow'	:	true,
	  'overlayColor'	: '#000000',
     		overlayOpacity  : 0.8, 
			
})
/*.trigger('click');*/
});



$(document).ready(function(){
    $('.video').fancybox({
			autoDimensions : false,
			width: 747,
			height: 563 ,
			'overlayColor'	: '#090909',
     		overlayOpacity  : 0.8, 
		})
		/*.trigger('click');*/
});



		$(document).ready(function() {
			/*
			*   Examples - images
			*/

			$("a#example1").fancybox({
				'titleShow'		: false
			});

			$("a#example2").fancybox({
				'padding'		: 3,
				'titleShow'		: false,
				'overlayColor'	: '#000000',
     		overlayOpacity  : 0.8, 
				'transitionIn'	: 'elastic',
				'transitionOut'	: 'elastic'
							
			});

			$("a#example3").fancybox({
				'titleShow'		: false,
				'transitionIn'	: 'none',
				'transitionOut'	: 'none'
			});

			$("a#example4").fancybox();

			$("a#example5").fancybox({
				'titlePosition'	: 'inside'
			});

			$("a#example6").fancybox({
				'titlePosition'	: 'over'
			});

			$("a[rel=example_group]").fancybox({
				'padding'		: 2,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'titlePosition' 	: 'inside',
				'overlayColor'	: '#000000',
     			overlayOpacity  : 0.8, 
				
				'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
				return '<span id="fancybox-title-over">Slide ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
					
					
				}
			});
			
			$("a.group").fancybox({
				'padding'		: 0,
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		//'overlayShow'	:	false
		'overlayColor'	: '#000000',
     		overlayOpacity  : 0.8, 
	});
	
	
	
			$(".resume").fancybox({
				'width'				: '60%',
				'height'			: '90%',
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});

	$("a#tip4").click(function() {
		$.fancybox({
			'padding'		: 0,
			'autoScale'		: false,
			'transitionIn'	: 'none',
			'transitionOut'	: 'none',
			'title'			: this.title,
			'width'			: 680,
			'height'		: 495,
			'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
			'type'			: 'swf',
			'swf'			: {
			    'wmode'				: 'transparent',
				'allowfullscreen'	: 'true'
			}
		});

		return false;
	});
	$("a#tip5").click(function() {
		$.fancybox({
			'padding'		: 2,
			'autoScale'		: false,
			'transitionIn'	: 'elastic',
			'transitionOut'	: 'elastic',
			'title'			: this.title,
			'width'			:700,
			'height'		: 327,
			'overlayColor'	: '#000000',
     		overlayOpacity  : 0.8, 
			'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
			'type'			: 'swf',
			'swf'			: {
			    'wmode'				: 'transparent',
				'allowfullscreen'	: 'true'
			}
		});

		return false;
	});
	$("a#parcours").click(function() {
		$.fancybox({
			'padding'		: 2,
			'autoScale'		: false,
			'transitionIn'	: 'elastic',
			'transitionOut'	: 'elastic',
			'title'			: this.title,
			'width'			:710,
			'height'		: 415,
			'overlayColor'	: '#000000',
     		overlayOpacity  : 0.8, 
			'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
			'type'			: 'swf',
			'swf'			: {
			    'wmode'				: 'transparent',
				'allowfullscreen'	: 'true'
			}
		});

		return false;
	});


			/*
			*   Examples - various
			*/
			
			
			$("#various1").fancybox({
				'titlePosition'		: 'inside',
				'transitionIn'		: 'none',
				'transitionOut'		: 'none'
			});

			$("#various2").fancybox();
			
			
			$("#various3").fancybox({
				'scrolling'		: 'no',
				'padding'		: 2,
				'width'			:750,  //550or whatever
  			'height'		: 355,//350
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'overlayColor'	: '#000000',
     			overlayOpacity  : 0.8, 
	 			//'width'			: 450,  //550or whatever
  				//'height'		: 310,//350
				'type'				: 'iframe'
				
			});
			
			$("#charge").fancybox({
			'scrolling'		: 'no',
			'padding'		: 3,
			'autoScale'		: true,
			'scrolling'		: 'no',
			'transitionIn'	: 'fade',
			'transitionOut'	: 'fade',
			'overlayColor'	: '#090909',
     		overlayOpacity  : 0.8, 
	 		'width'			:600,  //550or whatever
  			'height'		:300,//350
			'type'			: 'iframe'
			
			});
			$("#proam").fancybox({
				'scrolling'		: 'no',
			'padding'		: 3,
			'autoScale'		: true,
			'scrolling'		: 'no',
			'transitionIn'	: 'fade',
			'transitionOut'	: 'fade',
			'overlayColor'	: '#090909',
     		overlayOpacity  : 0.8, 
	 		'width'			:890,  //550or whatever
  			'height'		:320,//350
			'type'			: 'iframe'
			
			});

			$("#various4").fancybox({
				'padding'			: 3,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none'
			});
			$("a[rel=example_group]").fancybox({
				'padding'		: 3,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'titlePosition' 	: 'inside',
				'overlayColor'	: '#000000',
     		overlayOpacity  : 0.8, 
				
			});
			
		
		
 

		
$(document).ready(function(){
  
   $("#panel2, .content").hide(); //hides the panel and content from the user
   
   $('#tab').toggle(function(){ //adding a toggle function to the #tab
      $('#panel2').stop().animate({width:"600px", opacity:0.8}, 500, function() {//sliding the #panel to 400px
	  $('.content').fadeIn('slow'); //slides the content into view.
	  });  
   },
   function(){ //when the #tab is next cliked
   $('.content').fadeOut('slow', function() { //fade out the content 
      $('#panel2').stop().animate({width:"0", opacity:1}, 500); //slide the #panel back to a width of 0
	  });
   });

});
jQuery(document).ready(function() {
    jQuery('#comments').jcarousel({
        vertical: true,
		scroll: 1
    });
 });

