/* 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/loading.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%;
	/* 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 */
#prevArrow,#nextArrow{
	position:absolute;
	z-index:30;
	top:46%;
	width:48px;
	height:48px;
	cursor:pointer;
	text-decoration:none;
	background-color:rgba(0,0,0,0.2);
	border:1px solid;
	border-color:rgba(255, 255, 255, 0.3);
	color: #8d8d8d;
	opacity:0.7;	
}
#prevArrow i,#nextArrow i {
	font-size:26px;
	padding-top:9px;
}
#nextArrow {
 right:10px;
}
#nextArrow:hover {
	opacity:1;
}
#prevArrow {
   left:10px;
}
#prevArrow:hover {
	opacity:1;
}	 


/* Close button */

#closeButton {
	position:absolute;
	z-index:100500;
	top:10px;
	right:10px;
	width:48px;
	height:48px;
	cursor:pointer;
	text-decoration:none;
	background-color:rgba(0,0,0,0.2);
	color: #8d8d8d;
	border:1px solid;
	border-color:rgba(255, 255, 255, 0.3);
	opacity:0.7;	
}
#closeButton i {
	font-size:33px;
	padding-top:3px;
}
#closeButton:hover {
	opacity:1;
}


.close { 
	background:url('../img/close.svg') no-repeat center;
	position:fixed;
	top:27px;
	right:27px;
	opacity:0.3;
	cursor:pointer;
	display:block;
	height: 45px;
	width: 45px;
	border-radius:50%;
	border:3px solid rgba(255,255,255,0);
	-webkit-transition: 0.5s cubic-bezier(.27,1.64,.32,.95);
	 -moz-transition: 0.5s cubic-bezier(.27,1.64,.32,.95);
	 -ms-transition: 0.5s cubic-bezier(.27,1.64,.32,.95);
	 -o-transition: 0.5s cubic-bezier(.27,1.64,.32,.95);
	 transition: 0.5s cubic-bezier(.27,1.64,.32,.95);
}
.close:hover { 
	opacity:1;
	-webkit-transform:rotate(90deg);
	-moz-transform:rotate(90deg);
	transform:rotate(90deg);
	border-radius:50%;
	border-color:rgba(255,255,255,0.3);
}




/* =============================================================================
   IMAGES MINI
   ========================================================================== */
#images_nav {
	position:absolute;
	bottom:10px;	
	width: 100%;
	height:auto;
}

#images_nav_content {
	position: relative;	
	margin:auto;
	width:100%;
	clear:both;
	height:auto;
	padding-left:15%;
	padding-right:15%;
}

.mini_screen {
	display: inline-block;
	position: relative;
	/*
	width:120px;	
	height:70px;
	*/
	padding:8px;	
}

.mini_screen img {
	width:100%;
	height:auto;
	opacity:0.5;
	border:1px solid;
	border-color:rgba(255, 255, 255, 0.1);
	cursor:pointer;
	-webkit-transition: all 0.1s linear;
	-moz-transition: all 0.1s linear;
    -ms-transition: all 0.1s linear;
    -o-transition: all 0.1s linear;
	transition: all 0.1s linear;
}

.mini_screen img.current {
	opacity:1;
	border:1px solid;
	border-color:rgba(255, 255, 255, 0.5);
	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}
.mini_screen img:hover {
	opacity:1;
	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}


/* =============================================================================
   IMAGES ADDTHIS
   ========================================================================== */
   
#images_share {
	position:absolute;
	right:10px;
	top:100px;
	width:48px;
	height:auto;
	overflow:hidden;
	background-color: rgba(0, 0, 0, 0.2);
	border:1px solid;
	border-color:rgba(255, 255, 255, 0.3);
	cursor:pointer;
}
#images_share_content {
  position:relative;
  float:left;  
  display:inline-block;  
  padding:9px;
  font-size:13px;
}
#images_share_content a {
	float:left;
	color:#ffffff;
	text-decoration:none;
}
#images_share_content a:hover {
	color:#ff9d00;
}

/* BOUTONS SHARE SOCIAL */
#images_addthis .btn-share {
	font-family: 'helioscondregular', Arial, "Helvetica CY", Helvetica, sans-serif;
	background-color: #3a4051;
	text-transform: uppercase;
	font-size: 12px;	
	display: inline-block;
	position: relative;
	float: left;	
	height:28px;
	width:28px;
	color:#fff;
	text-align:center;
	font-size:20px;
}

#images_addthis .btn-share:hover {
	background-color: #fff;
	color:#1b1b1b;
}

#images_addthis .icon-facebook {
	background-color: #3b5998;
	/* padding: top right bottom left; */
	padding:4px 10px 0px 10px;
	margin-bottom: 8px;	
}
#images_addthis .icon-twitter {
	background-color: #00bef6;
	font-size:14px;
	padding:7px 6px 1px 6px;
	margin-bottom: 8px;	
}
#images_addthis .icon-download-alt {
	background-color: #c91f25;
	padding:3px 6px 1px 5px;
	margin-bottom: 8px;	
}
#images_addthis .icon-share {
	background-color: #ff9d00;
	color:#1b1b1b;
	padding:4px 6px 0px 6px;
}

#images_addthis .addthis_button_compact {
	overflow:hidden;
}
/* pour cacher les boutons AddThis */
#images_addthis .addthis_button_twitter span, 
#images_addthis .addthis_button_facebook span,
#images_addthis .addthis_button_compact span {
	display:none;
}



/* =============================================================================
   MEDIAQUERIES POUR LES VERSIONS TABLETTE ET MOBILE
   ========================================================================== */
	 
/* POUR LE ADDTHIS */
@media only screen and (max-width: 1280px) {
	#images_share {
		right:0px;
		left:10px;
		top:10px;
		width:158px;
	}
	#images_addthis .icon-facebook {
		margin-bottom:0px;	
		margin-right:8px;
	}
	#images_addthis .icon-twitter {
		margin-bottom:0px;	
		margin-right:8px;	
	}
	#images_addthis .icon-download-alt {
		margin-bottom:0px;	
		margin-right:8px;
	}
	#images_nav_content {
		padding-left:8%;
		padding-right:8%;
	}
}

/* POUR LES MINIATURES */
@media only screen and (min-width:601px) and (max-width:900px) {
	#images_nav_content {
		padding-left:2%;
		padding-right:2%;
	}
	.mini_screen {
		height:auto;
		padding:2px;	
	}	
}	
@media only screen and (max-width: 600px) {
	#images_nav, 
	#images_nav_content	{
		display:none;
	}
	#prevArrow, #nextArrow {
		top:85%;
	}
}	
/* POUR LES RESOLUTIONS PETITE HAUTEUR (IPHONE4, etc..) */
@media only screen and (max-height: 600px) {
	#images_share {
		display:none;
	}
	#images_nav {
		display:none;	
	}		
	
}	

