.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;
	/*width: 1000px!important;*/
}
.fancybow-wrap-comment {
	/*width: 1000px!important;*/
}

.fancybox-skin {
	position: relative;
	background: rgba(0,0,0,0.5);
	overflow: hidden;
	/*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;
	float: left;
	/*min-height: 450px;*/
	background: #000;
	display: table-cell;
	vertical-align: middle;
	/*width: 670px!important;*/
	
}
.fancybox-inner-comment {
	
}
#fancyContainer {
	width: 1000px!important;
}
#fancyContainer .fancybox-inner{
	width: 700px!important;
}
.fancybox-inner img:not(.afficherDansnews){
	width: 100%!important;
}
.fancybox-comment-area {
	display: none;
}
#lirefull {
	background:url(back.png) no-repeat left center;
	padding-left: 20px;
}
.title-area {
	background-color: #000;
	padding: 10px;
	color: #fff;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	position: relative;
	height: 20px;
	overflow: hidden;
}
.title-area:after {
	position: absolute;
	content: '';
	background: url(degrade_deux.png) no-repeat;
	width: 200px;
	height: 50px;
	right: 0;
	top: 0;
}
.title-area a{
	text-decoration: none;
	color: #fff;
}
.fancybox-outer {
	background-color: #fff;
	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%;
}

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

/*.fancybox-close, */
#fancybox-loading, .fancybox-prev span, .fancybox-next span {
	/*background-image: url('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('fancybox_loading.gif') center center no-repeat;
}

.fancybox-close {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 30px;
	height: 30px;
	cursor: pointer;
	z-index: 8040;
	background-image: url('croix.png');
}

.fancybox-nav {
	position: absolute;
	top: 45%;
	width: 50px;
	height: 50px;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('http://soocurious.com/fr/wp-content/themes/starkers-html5-master-new/fancybox/blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 360px;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 42px;
	height: 61px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}

.fancybox-prev span {
	left: 10px;
	background:url(gauche-non-active.png) no-repeat left center;
}

.fancybox-next span {
	right: 10px;
	background:url(droite-non-active.png) no-repeat left center;
}

.fancybox-prev:hover span {
	background:url(gauche-active.png) no-repeat left center;
}

.fancybox-next:hover span {
	background:url(droite-active.png) no-repeat left center;
}

.fancybox-nav:hover span {
	visibility: visible !important;
}

.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;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background: url('bg_overlay.png');
	/*background-color: rgba(0,0,0,0.3);*/
}

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

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}
#SocialPartage-area {
	padding-bottom: 10px;
}

/* 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 0;
	background: rgba(0, 0, 0, .6);
	width: 100%;
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	font-style: italic;
	display: none;
}
.fancybox-title-over-wrap a{
	color: #fff;
	text-decoration: none;
}
#fancysource {
	float: right;
	margin-right: 10px;
}
#lecaption {
	margin-left: 10px;
}
#pub-area {
	position: absolute;
	bottom: 5px;
	margin-left: 0px;
	margin-right: 20px;
	height: 258px;
}
#pub-area iframe{
	height: 100%;
}
/*ici*/

#fancyModule { /*.fancybox-wrap*/
 min-width:auto!important;
 height:auto!important;
 min-height:auto!important;
 
 max-height: -moz-calc(100vh - 50px)!important;
 max-height: -webkit-calc(100vh - 50px)!important;
 max-height: -o-calc(100vh - 50px)!important;
 max-height: calc(100vh - 50px)!important;

 max-width: -moz-calc(100vw- 120px)!important;
 max-width: -webkit-calc(100vw - 120px)!important;
 max-width: -o-calc(100vw - 120px)!important;
 max-width: calc(100vw - 120px)!important;

 margin:auto!important;
 width:auto!important;
}

#fancyModule .fancybox-outer{
 max-width:auto!important;
 height:auto!important;
 margin:auto!important;

}

#fancyModule .fancybox-inner{
 height:auto!important;

 max-width: -moz-calc(100vw - 480px)!important;
 max-width: -webkit-calc(100vw - 480px)!important;
 max-width: -o-calc(100vw - 480px)!important;
 max-width: calc(100vw - 480px)!important;

 max-height: -moz-calc(100vh - 90px)!important;
 max-height: -webkit-calc(100vh - 90px)!important;
 max-height: -o-calc(100vh - 90px)!important;
 max-height: calc(100vh - 90px)!important;
 min-height:520px!important;

}

#fancyModule .fancybox-image{
 margin-top:0px;
 width:100%!important;
 min-height:auto!important;
 
 max-height: -moz-calc(100vh- 90px)!important;
 max-height: -webkit-calc(100vh - 90px)!important;
 max-height: -o-calc(100vh - 90px)!important;
 max-height: calc(100vh - 90px)!important;

 height:auto!important;

 max-width: -moz-calc(100vw - 480px)!important;
 max-width: -webkit-calc(100vw - 480px)!important;
 max-width: -o-calc(100vw - 480px)!important;
 max-width: calc(100vw - 480px)!important;
}
#fancyModule .fancybox-comment-area {
	width: 320px;
	float: right;
	margin-right: 20px;
	margin-left: 20px;
	display: block;
}

@media(max-width:979px){
	#fancyModule { /*.fancybox-wrap*/
		left:0!important;
		top:0!important;
	 min-width:auto!important;
	 height:auto!important;
	 min-height:auto!important;
	 
	 max-height: -moz-calc(100vh - 50px)!important;
	 max-height: -webkit-calc(100vh - 50px)!important;
	 max-height: -o-calc(100vh - 50px)!important;
	 max-height: calc(100vh - 50px)!important;

	 max-width: -moz-calc(100vw)!important;
	 max-width: -webkit-calc(100vw)!important;
	 max-width: -o-calc(100vw)!important;
	 max-width: calc(100vw)!important;

	 margin:auto!important;
	 width:100%!important;
	}
	.fancybox-next {
		right: 0px!important;
	}
	#fancyModule .fancybox-inner{
	 height:auto!important;
	 width:100%!important;

	 max-width: -moz-calc(100vw)!important;
	 max-width: -webkit-calc(100vw)!important;
	 max-width: -o-calc(100vw)!important;
	 max-width: calc(100vw)!important;

	 max-height: -moz-calc(100vh - 90px)!important;
	 max-height: -webkit-calc(100vh - 90px)!important;
	 max-height: -o-calc(100vh - 90px)!important;
	 max-height: calc(100vh - 90px)!important;
	 min-height:520px!important;

	}

	#fancyModule .fancybox-image{
	 margin-top:0px;
	 min-height:auto!important;
	 
	 max-height: -moz-calc(100vh- 90px)!important;
	 max-height: -webkit-calc(100vh - 90px)!important;
	 max-height: -o-calc(100vh - 90px)!important;
	 max-height: calc(100vh - 90px)!important;

	 height:auto!important;

	 max-width: -moz-calc(100vw)!important;
	 max-width: -webkit-calc(100vw)!important;
	 max-width: -o-calc(100vw)!important;
	 max-width: calc(100vw)!important;
	}
	#fancyModule .fancybox-comment-area {
		display: none;
	}
}