/* The gallery overlay */

#galleryOverlay{
	width:100%;
	height:100%;
	position:fixed;
	top:0;
	left:0;
	opacity:0;
	z-index:100000;
	background-color:#222;
	background-color:rgba(0,0,0,0.8);
	overflow:hidden;
	display:none;
	
	-moz-transition:opacity 1s ease;
	-webkit-transition:opacity 1s ease;
	transition:opacity 1s ease;
}

/* This class will trigger the animation */

#galleryOverlay.visible{
	opacity:1;
}

#gallerySlider{
	height:100%;
	
	left:0;
	top:0;
	
	width:100%;
	white-space: nowrap;
	position:absolute;
	
	-moz-transition:left 0.4s ease;
	-webkit-transition:left 0.4s ease;
	transition:left 0.4s ease;
}

#gallerySlider .placeholder{
	background: url("../img/preloader.gif") no-repeat center center;
	height: 100%;
	line-height: 1px;
	text-align: center;
	width:100%;
	display:inline-block;
}

/* The before element moves the
 * image halfway from the top */

#gallerySlider .placeholder:before{
	content: "";
	display: inline-block;
	height: 50%;
	width: 1px;
	margin-right:-1px;
}

#gallerySlider .placeholder img{
	display: inline-block;
	max-height: 100%;
	max-width: 100%;
	vertical-align: middle;
}

#gallerySlider.rightSpring{
	-moz-animation: rightSpring 0.3s;
	-webkit-animation: rightSpring 0.3s;
}

#gallerySlider.leftSpring{
	-moz-animation: leftSpring 0.3s;
	-webkit-animation: leftSpring 0.3s;
}

/* Firefox Keyframe Animations */

@-moz-keyframes rightSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:-30px;}
	100%{	margin-left:0px;}
}

@-moz-keyframes leftSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:30px;}
	100%{	margin-left:0px;}
}

/* Safari and Chrome Keyframe Animations */

@-webkit-keyframes rightSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:-30px;}
	100%{	margin-left:0px;}
}

@-webkit-keyframes leftSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:30px;}
	100%{	margin-left:0px;}
}

/* Arrows */
#nextArrow, #prevArrow {
	position: absolute;
	display: block;
	margin: -80px 0 0;	
	color: #ff8400;
	cursor: pointer;
	font-size:0;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
	width: 80px;
	height: 45px;
	background: transparent url(../img/slide_arrow.png) no-repeat;
	z-index:30;
	top: 60%;
	text-decoration:none;
	opacity:0.6;	
}
#prevArrow {	
	left:20px;
	background-position: 0px 0px;
}
#nextArrow {
	right:20px;
	background-position: -80px 0px;
}

#prevArrow:hover,
#nextArrow:hover {
	opacity: 1;
}


/* Close button */

#closeButton {
	position:absolute;
	top:20px;
	right:20px;
	width:60px;
	height:60px;
	cursor:pointer;
	text-decoration:none;
	background: transparent url(../img/slide_close.png) no-repeat;
	color: #fff;
	display: block;
	font-size:0;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
	z-index:30;
	opacity:0.6;	
}

#closeButton span  {
	background: transparent url(../img/slide_close.png) no-repeat;
	-webkit-transition: opacity 0.5s;
	-moz-transition: opacity 0.5s;
	-o-transition: opacity 0.5s;
	position: absolute;
	opacity: 0;
	top: 0; 
	left: 0;
	bottom: 0;
	right: 0;
}
#closeButton span:hover,
#closeButton span:hover {
	opacity: 1;
}

#closeButton {
	background-position: 0px 0px;
}
#closeButton span {
	background-position: 0px -00px;
}

#closeButton:hover {
	opacity: 1;
}

/* =============================================================================
   ADDTHIS IMAGES CUSTOMISÉ
   ========================================================================== */
   
#images_share {
	position:absolute;
	bottom:10px;	
	width: 100%;
	overflow:hidden;
}

#images_share_bar {
	position: relative;	
	margin:auto;
	width: 280px;
	clear:both;
	height:40px!important;	
}
#images_share_title {
	float:left;
	display:inline-block;
	position: relative;	
	padding:10px 4px 10px 10px;
	font-family: 'lilita_oneregular', Arial, "Helvetica CY", Helvetica, sans-serif;
	font-size:18px;
	font-weight: normal;
	font-style: normal;		
	text-transform:uppercase;
	height:40px!important;	
	background: rgba(224,207,182,0.5);
}
#images_share_title i {
	font-size: 18px;
	color: rgba(224,207,182,1.5);
}
#images_share_content {
	position:relative;
	float:left;  
	display:inline-block;  
	padding:6px;
	font-size:13px;
	height:40px!important;
	background: rgba(224,207,182,0.5);
}


/* BOUTONS SHARE SOCIAL */

#images_addthis a { 
	color: #fff; 
}

#images_addthis .btn-share {
	font-family: 'helioscondregular', Arial, "Helvetica CY", Helvetica, sans-serif;
	text-transform: uppercase;
	font-size: 12px;	
	display: inline-block;
	position: relative;
	float: left;	
	height:28px;
	text-align:center;
	font-size:20px;
}


#images_addthis .icon-facebook {
	background-color: #3b5998;
	/* padding: top right bottom left; */
	padding:4px 10px 0px 10px;
	margin-left: 6px;	
}
#images_addthis .icon-facebook:hover {
	background-color: #fff;
	color:#3b5998;
}
#images_addthis .icon-twitter {
	background-color: #00bef6;
	font-size:14px;
	padding:7px 6px 1px 6px;
	margin-left: 6px;	
}
#images_addthis .icon-twitter:hover {
	background-color: #fff;
	color:#00bef6;
}
#images_addthis .icon-pinterest {
	background-color: #c91f25;
	padding:3px 6px 1px 5px;
	margin-left: 6px;	
}
#images_addthis .icon-pinterest:hover {
	background-color: #fff;
	color:#c91f25;
}
#images_addthis .icon-share {
	background: #956939;
	color: #fff;
	padding:4px 6px 0px 6px;
	margin-left: 6px;	
}
#images_addthis .icon-share:hover {
	background: #fff;
	color: #301200;
}

/* ADDTHIS */
#images_addthis .addthis_button_compact {
	cursor:pointer;
	overflow:hidden;
}
/* pour cacher les boutons AddThis sur Facebook et Twitter*/
#images_addthis .addthis_button_pinterest span, #images_addthis .addthis_button_twitter span, #images_addthis .addthis_button_facebook span  {
	display:none;
}


/* =============================================================================
   CHARACTERS
   ========================================================================== */

#gallerySlider .characters_card{
	height: 100%;
	width: 100%;	
	min-height:400px;
}
#gallerySlider .placeholder.characters_card img{
	margin-left:110px;
}

.images_character {
	display: inline-block;
	max-height: 100%;
	max-width: 100%;
	vertical-align: middle;
}

.character_popup {
	position:relative;
	display: block;
	float:left;
	width:500px;
	height:400px;
	text-align:left;
	/* background: rgba(224,207,182,0.5); */	
}
	 
.character_title {
	position:absolute;
	left:-82px;
	top:-30px;	
	width:480px;
	height:400px;
	font-family: 'vtportableremingtonregular', Arial, "Helvetica CY", Helvetica, sans-serif;	
	font-weight: normal;
	font-style: normal;		
	color: #fff;
	font-size: 30px;
	text-shadow: 0px 0px 7px #ff8400;
  filter: dropshadow(color=#ff8400, offx=0, offy=0);
	padding-left:68px;
	padding-top:78px;
}
.character_text {
	/* background:#333; */
	position:absolute;
	display:block;
	left:0px;
	top:84px;	
	width:75%;
	height:270px;
	font-size:14px;	
	color: #fff;
	text-align:left;
	line-height: 18px;
	white-space: pre-wrap; /* css-3 */ 
	white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */ 
	white-space: -pre-wrap; /* Opera 4-6 */ 
	white-space: -o-pre-wrap; /* Opera 7 */ 
	word-wrap: break-word; /* Internet Explorer 5.5+ */ 
}
.character_voice {
	position:relative;
	float:left;
	display:block;
	background: transparent url(../img/game/characters/popup/voice.png) left top no-repeat;
	width:100%;
	height:51px;
	font-family: 'vtportableremingtonregular', Arial, "Helvetica CY", Helvetica, sans-serif;	
	font-weight: normal;
	font-style: normal;	
	padding-left:32px;
	margin-top:8px;
	margin-bottom:10px;
}
.actor_f {
	color: #F3B400;
	margin: 5px 0px 0px 0px;
}
.actor {
	font-size: 18px;
	color: #fff;
	margin: 4px 0px 0px 0px;
}
	
 /* =============================================================================
   CHARACTERS POUR LA VERSION TABLETTE
   ========================================================================== */

@media only screen and (min-width: 901px) {		
	.character_title {
		background: transparent url(../img/game/characters/popup/popup.png) left top no-repeat;
	}	
}	 
	 
	 
@media only screen and (min-width: 701px) and (max-width: 900px) {			
	#gallerySlider .placeholder.characters_card img{
		margin-top:10px;
		margin-left:80px;
		height:290px;
	}
	.character_title {
		left:-66px;
		top:18px;	
		background: transparent url(../img/game/characters/popup/popup_tablet.png) left top no-repeat;
		padding-left:60px;
		padding-top:68px;
	}	
	.character_text {
		width:65%;
		height:200px;
		top:110px;	
		font-size:13px;	
	}
}


 /* =============================================================================
   CHARACTERS POUR LA VERSION MOBILE
   ========================================================================== */

@media only screen and (max-width: 700px) {			
	
	
	#gallerySlider .placeholder.characters_card img{
		margin-top:-150px;
		margin-left:0px;
		width:180px;		
	}
	.images_character {
		display: block;
	}
	.character_popup {
		position:relative;
		width:300px;
		margin:auto;
		text-align:center;
		float:none;
	}
	.character_title {
		left:0;
		top:-100px;
		width:300px;
		height:400px;
		z-index:3;
		font-size:26px;
		background: transparent url(../img/game/characters/popup/popup_mobile.jpg) center top no-repeat;
		padding-left:0px;
		padding-top:25px;
	}
	.character_text {
		left:28px;
		top:-47px;
		padding-right:50px;
		z-index:4;
		width:305px;
		height:172px;
		font-size: 12px;		
	}
	
}				



