body {margin: 0;}

#lbOverlay {
	position: absolute;
	left: 0;
	width: 100%;
	height: 0px;	/* necessary for IE 7*/
	background-color: #000;
	cursor: pointer;
	z-index: 100;
}

#lbShadow {
	position: absolute;
	left: 50%;
	box-shadow: 0 0 40px rgba(0, 0, 0, 0.4); -moz-box-shadow: 0 0 40px rgba(0, 0, 0, 0.4); -webkit-box-shadow: 0 0 40px rgba(0, 0, 0, 0.4); 
	border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;
	background: #fff;
	z-index: 101;
}

#lbCenter, #lbBottomContainer {
	position: absolute;
	left: 50%;
	background-color: #fff;
	text-align: center;
	padding: 1px;
	z-index: 101;
}

#lbCenter {
	border-top: 1px solid #aaa;
	border-left: 1px solid #aaa;
	border-right: 1px solid #aaa;
	border-top-left-radius:5px;-moz-border-radius-topleft:5px;-webkit-border-top-left-radius:5px;
	border-top-right-radius:5px;-moz-border-radius-topright:5px;-webkit-border-top-right-radius:5px;
    -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: -moz-none; -o-user-select: none;  -ms-user-select: none; user-select: none;
}

#lbCenter.alone{
	border-bottom: 1px solid #aaa;
	border-bottom-left-radius:5px;-moz-border-radius-bottomleft:5px;-webkit-border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;-moz-border-radius-bottomright:5px;-webkit-border-bottom-right-radius:5px;
}

#lbBottomContainer {
	border-bottom: 1px solid #aaa;
	border-left: 1px solid #aaa;
	border-right: 1px solid #aaa;
	overflow: hidden;
	border-bottom-left-radius:5px;-moz-border-radius-bottomleft:5px;-webkit-border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;-moz-border-radius-bottomright:5px;-webkit-border-bottom-right-radius:5px;
}

.lbLoading {
	background: #fff url(loading.gif) no-repeat center;
}

#lbBottom {
	font-family: "Helvetica Neue", Helvetica, Verdana, Arial, sans-serif;
	color: #666;
	line-height: 1.4em;
	text-align: left;
	border: 5px solid #fff;
	border-top-style: none;
}

#lbCloseLink {
	display: block;
	position: absolute;
	width: 30px;
	height: 30px;
	background: transparent url(fancy_close.png) no-repeat center;
	cursor: pointer;
}
#lbCloseLink:hover {
	background: transparent url(fancy_close_hover.png) no-repeat center;
}

#lbCaption {
	margin-left: 5px;
	margin-right: 5px;
	font-weight: normal;
	font-size: 12px;
	background: transparent;
}

#lbCaption.text-overflow {
	padding: 0px;
	max-height: 100px;
	overflow-x: hidden;
	overflow-y: auto;
	border: 0px solid red;
}

#lbCaption div.text {
	width: 100%;
}

#lbNextLink {
	display: block;
	float: right;
	width: 30px;
	height: 30px;
	background: transparent url(fancy_nav_next.png) no-repeat center;
	margin: 5px 0;
	cursor: pointer;
}

#lbNextLink:hover {
	background: transparent url(fancy_nav_next_hover.png) no-repeat center;
}

#lbPrevLink {
	display: block;
	float: right;
	width: 30px;
	height: 30px;
	background: transparent url(fancy_nav_prev.png) no-repeat center;
	margin: 5px 0;
	cursor: pointer;
}
#lbPrevLink:hover {
	background: transparent url(fancy_nav_prev_hover.png) no-repeat center;
}

#lbPager {
	display: block;
	float: right;
	height: 30px;
	line-height: 30px;
	margin: 5px 5px;
	background: transparent;
}

.lbvideo {
	color: #fff;
}

#lbVideoButtons {
	height: 33px;
}

#lbHDButton, #lbSDButton{
	display: block;
	float: right;
	height: 15px;
	line-height: 15px;
	background: transparent;
	text-align: center;
	font-size: 12px;
	font-weight: normal;
	padding:1px 4px;
	border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;
	-moz-user-select: none;
	color: #777;
	border: 2px solid black;
	cursor: pointer;
}

#lbHDButton:hover, #lbSDButton:hover {
	color: #ccc;
	cursor: pointer;
}

#lbHDButton.on, #lbSDButton.on {
	color: #fff;
	border: 2px solid white;
	cursor: default;
}

#lbHDButton:active, #lbSDButton:active {
	color: #fff;
}

#displaybox-image {
	cursor: default;
    -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: -moz-none; -o-user-select: none;  -ms-user-select: none; user-select: none;
}

#displaybox-gif-rewind {
	display:none;
	position:absolute;
	background-color:#313131;
	background-color:rgba(0,0,0,0.6);
	background-image: url(ic_refresh_white_36.png);
	background-position: center center;
	background-repeat: none;
	padding:0px;
	-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;
	height:36px;width:36px;
	cursor:pointer;
}

#displaybox-gif-rewind.rewinding {
    -webkit-animation-name:displaybox_gif_rewind_rotate;-webkit-animation-duration:2s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;
    -moz-animation-name:displaybox_gif_rewind_rotate;-moz-animation-duration:2s;-moz-animation-iteration-count:infinite;-moz-animation-timing-function:linear;
    animation-name:displaybox_gif_rewind_rotate;animation-duration:2s;animation-iteration-count:infinite;animation-timing-function:linear;
}

@-webkit-keyframes displaybox_gif_rewind_rotate {
    from {-webkit-transform: rotate(0deg);}
    to {-webkit-transform: rotate(360deg);}
}

@-moz-keyframes displaybox_gif_rewind_rotate {
    from {-moz-transform: rotate(0deg);}
    to {-moz-transform: rotate(360deg);}
}

@keyframes displaybox_gif_rewind_rotate {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
}

.lbIcons {
	position:absolute;
	bottom:10px;
	right:10px;
}

.lbFavOff, .lbFavOn  {
	background-position: center center;
	background-repeat: no-repeat;
	background-size:18px 18px;
	cursor:pointer;
	display:inline-block;
	float:right;
	border: 0;
	border-radius: 50%;
	/*
	margin-left: 10px;
	*/
	text-indent: -10000px;
	color: transparent;
	background-color: #fff;
	box-shadow:0 3px 10px 0 rgba(0,0,0,0.3);
	transition: transform .15s ease;
	transition: transform .15s ease,-webkit-transform .15s ease;	
	width: 32px;
	height: 32px;
	margin-left:12px;
}

.lbFavOff:hover, .lbFavOn:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    transition: transform .15s ease;
    transition: transform .15s ease,-webkit-transform .15s ease;
}

.lbFavOff { background-image: url(icon-heart-dark-outline.svg); }
.lbFavOn { background-image: url(icon-heart-dark.svg); }

.lbCartIn, .lbCartOut  {
	background-position: center center;
	background-repeat: no-repeat;
	background-size:22px 22px;
	cursor:pointer;
	display:inline-block;
	border: 0;
	border-radius: 50%;
	text-indent: -10000px;
	color: transparent;
	background-color: #fff;
	box-shadow:0 3px 10px 0 rgba(0,0,0,0.3);
	transition: transform .15s ease;
	transition: transform .15s ease,-webkit-transform .15s ease;	
	width: 32px;
	height: 32px;
	float:right;
	margin-left:12px;
}
.lbCartIn:hover, .lbCartOut:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    transition: transform .15s ease;
    transition: transform .15s ease,-webkit-transform .15s ease;
}
.lbCartOut { background-image: url(icon-cart-black-128.png);}
.lbCartIn { background-image: url(icon-cart-checked-black-128.png);}

.lbIframeMedia, .lbFlipbookContainer {
	overflow:hidden;
	margin:0px;
	padding:0px;
	position:absolute;
	top:1px;
	left:1px;
	border-top-left-radius:2px;-moz-border-radius-topleft:2px;-webkit-border-top-left-radius:2px;
	border-top-right-radius:2px;-moz-border-radius-topright:2px;-webkit-border-top-right-radius:2px;
	box-sizing:border-box;
}

#lbCenter.alone .lbIframeMedia, #lbCenter.alone .lbFlipbookContainer {
	border-bottom-left-radius:2px;-moz-border-radius-bottomleft:2px;-webkit-border-bottom-left-radius:2px;
	border-bottom-right-radius:2px;-moz-border-radius-bottomright:2px;-webkit-border-bottom-right-radius:2px;
}

.lbFlipbook {
	position:relative;
	width:100%;height:100%;
}


@-webkit-keyframes lbNagAnimation {
  16.65% {
    -webkit-transform: translateX(8px);
    transform: translateX(8px);
  }
  33.3% {
    -webkit-transform: translateX(-6px);
    transform: translateX(-6px);
  }
  49.95% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }
  66.6% {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
  }
  83.25% {
    -webkit-transform: translateX(1px);
    transform: translateX(1px);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
@keyframes lbNagAnimation {
  16.65% {
    -webkit-transform: translateX(8px);
    transform: translateX(8px);
  }
  33.3% {
    -webkit-transform: translateX(-6px);
    transform: translateX(-6px);
  }
  49.95% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }
  66.6% {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
  }
  83.25% {
    -webkit-transform: translateX(1px);
    transform: translateX(1px);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
.lbNag {
  -webkit-animation-name: lbNagAnimation;
  animation-name: lbNagAnimation;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

/* RECO VISAGES */
#displaybox-image-top-container {
	position:relative;
}
#displaybox-image-container, #displaybox-image, #displaybox-hollow {
	position:absolute;
	margin:auto;
	top:0px;left:0px;right:0px;bottom:0px;
}

#displaybox-image {
	border-top-left-radius:2px;-moz-border-radius-topleft:2px;-webkit-border-top-left-radius:2px;
	border-top-right-radius:2px;-moz-border-radius-topright:2px;-webkit-border-top-right-radius:2px;
}
#lbCenter.alone #displaybox-image {
	border-bottom-left-radius:2px;-moz-border-radius-bottomleft:2px;-webkit-border-bottom-left-radius:2px;
	border-bottom-right-radius:2px;-moz-border-radius-bottomright:2px;-webkit-border-bottom-right-radius:2px;
}

#displaybox-hollow {
	width:0px;height:0px;
}

#displaybox-image-container .location-rect {
	display:none;
	position:absolute;
	background:transparent;
	width:16px;height:16px;
	cursor:default;	
	border:2px solid rgba(255,255,255,0);
	box-sizing:border-box;
}

#displaybox-image-container .location-rect:hover {
	border:2px double rgba(255,255,255,0.7);
	box-shadow:0px 0px 1px #333;-webkit-box-shadow:0px 0px 1px #333;-moz-box-shadow:0px 0px 1px #333;
}
