/************ Product Page by Thomas Blanschong ************/

@keyframes rebond {
	0% {
		height: 140px;
	}
	40% {
		height: 140px;
	}
	50% {
		height: 180px;
	}
	55% {
		height: 140px;
	}
	60% {
		height: 140px;
	}
	65% {
		height: 165px;
	}
	70% {
		height: 140px;
	}
	100% {
		height: 140px;
	}
}

#buy_block .availability {
	margin: 12px 0;
}

.main_product,
#img-box,
.product-shop {
	padding: 0;
}

#img-box,
.product-shop {
	height: calc(100vh - 208px);
	overflow-y: scroll;
}

#img-box img {
	width: 100%;
	cursor: zoom-in;
}

#img-box img#img1 {
	margin-top: -90px;
}

.flex-global {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-webkit-flex-flow: row wrap;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
}

.flex-container {
	-webkit-box-flex: 0;
	-webkit-flex: 0 0 auto;
	-ms-flex: 0 0 auto;
	flex: 0 0 auto;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	max-height: 100%;
	margin-bottom: 0;
}

.flex-block {
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-moz-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
	position: relative;
}

/*
.flex-sticky {
	position: -webkit-sticky;
	position: sticky;
	top: 159px;
}

.flex-overflow {
	overflow-y: auto;
	max-height: calc(100vh - 173px);
}
*/

.opensection {
	height: auto;
}

.product-shop .box-cart-bottom {
	margin-bottom: 50px !important;
}

.product-shop #add_to_cart.btn,
.product-shop #add_to_cart_mobile.btn {
	padding: 9px;
	height: 45px;
	color: #fff;
	font-size: 22px;
	line-height: inherit !important;
	background-color: #1c377e;
}

.product-shop #add_to_cart_mobile.btn {
	display: none;
	margin-bottom: 40px;
	padding: 12px 15px 7px;
	font-size: 17px;
	text-transform: uppercase;
	border: none !important;
	transition: color .2s, background-color .2s;
}

#fullscreen-carousel {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	width: 100%;
	z-index: 12000;
}

#fullscreen-carousel .img-carousel {
	display: none;
	position: absolute;
	top: -50%;
	left: 0;
	width: 100%;
	z-index: 12001;
	cursor: zoom-out;
}

/*#fullscreen-carousel #previous,
#fullscreen-carousel #next {
	position: absolute;
	top: 50%;
	height: 100px;
	width: 100px;
	padding: 0;
	font-family: sans-serif;
	color: #1c377e;
	font-size: 40px;
	text-align: center;
	line-height: 100px;
	border: none;
	border-radius: 50%;
	z-index: 12002;
	transition: color .2s, background-color .2s;
	transform: translateY(-50%);
}*/

#fullscreen-carousel #previous,
#fullscreen-carousel #next {
	position: absolute;
	top: 50%;
	height: 100px;
	width: 100px;
	padding: 0;
	font-family: sans-serif;
	color: #1c377e;
	font-size: 40px;
	text-align: center;
	line-height: 100px;
	border: none;
	border-radius: 50%;
	z-index: 12002;
	transition: color .2s, background-color .2s;
	transform: translateY(-50%);
}

#fullscreen-carousel #previous:hover,
#fullscreen-carousel #next:hover {
	/*color: #fff;*/
        /*background-color: #1c377e;*/
}

#fullscreen-carousel #previous {
	left: 5px;
}

#fullscreen-carousel #next {
	right: 5px;
}

#madeinfrance {
	display: block;
	margin: auto;
	margin-top: 40px;
	margin-bottom: 40px;
	width: 130px;
}

#openwindow {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	width: 20px;
	cursor: pointer;
}

.product-shop .box-cart-bottom {
	margin-bottom: 22px !important;
}

.productAnnex > ul {
	height: 40px;
	border-bottom: 1px solid #999;
}

.productAnnex > ul > li {
	float: left;
	width: 25%;
	height: 40px;
	text-align: center;
	text-transform: uppercase;
}

.productAnnex > ul > li > a {
	display: inline-block;
	padding-top: 9px;
	height: 40px;
	color: #000;
	border-bottom: 1px solid transparent;
	transition: border .1s;
}

.productAnnex > ul > li > a:focus {
	color: #000;
	text-decoration: none;
}

.productAnnex > ul > li > a:hover,
.productAnnex > ul > li > a.actif {
	color: #000;
	border-bottom: 4px solid #000;
}

.productAnnex > div {
	margin: 35px 0;
}

.productAnnex #info2,
.productAnnex #info3,
.productAnnex #info4 {
	display: none;
}

.footer_block h2 {
	margin-bottom: 20px !important;
	padding: 15px 0 15px 100px;
	color: #000;
	font-size: 20px !important;
	font-style: italic;
	text-transform: none;
	border-bottom: 1px solid #bdbdb9;
}

.footer_block .img_block {
	display: block;
	text-align: center;
}

.footer_block .img_block img {
	max-height: 455px;
	max-width: 100%;
}

.footer_block .title_block {
	margin-top: 20px;
	text-transform: lowercase;
}

.footer_block .title_block h2 {
	float:left;
	padding-right: 0px;
	padding-left: 100px;
	padding-top: 0px;
	color: #000;
	font-size: 20px !important;
	font-style: italic;
	text-transform: none;
	border-bottom: none;
	margin-right: 0px;
}

.footer_block .title_block a {
	display: inline-block;
	margin-right: 8px;
	padding-right: 12px;
	padding-top: 6px;
	color: #000;
	font-size: 16px;
	font-style: italic;
	line-height: 7px;
	border-right: 2px solid #000;
}

.footer_block .title_block .price {
	color: #000;
}

.footer_block .btnAddToCart {
	margin-top: 25px;
	text-align: center;
}

.footer_block .btnAddToCart a {
	display: block;
	margin: auto;
	padding-top: 13px;
	padding-bottom: 8px;
	width: 175px;
	color: #000;
	font-size: 16px;
	border-color: #bdbdb9;
	transition: color .2s, background-color .2s;
}

.footer_block .btnAddToCart a:hover {
	color: #fff;
	background-color: #1c377e;
}

#indicator,
#btnprev,
#btnnext {
	display: none;
	position: absolute;
	top: 50%;
	left: 0;
	margin-left: 10px;
	transform: translateY(-50%);
}

#indicator button {
	display: block;
	padding: 0;
	height: 15px;
	width: 20px;
	color: #053377;
	font-size: 15px;
	border: none;
	background: none;
}

#indicator .activated {
	height: 20px;
	font-size: 27px;
	line-height: 28px;
}

#mobile-recommended {
	display: none;
}

#mobile-recommended h2 {
	margin: 0;
	margin-bottom: 0 !important;
	padding: 0;
	padding-bottom: 0;
	color: #231f20;
	font-family: "Cambay",Arial,sans-serif !important;
	font-weight: normal;
	font-style: italic;
	font-size: 16px !important;
}

#mobile-recommended > div > h2 {
	margin-bottom: 18px !important;
	padding-bottom: 10px;
}

#mobile-recommended ul {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	margin-bottom: 20px;
}

#mobile-recommended li {
	scroll-snap-align: start;
	flex-shrink: 0;
	margin-right: 15px;
}

#mobile-recommended li:last-child {
	margin-right: 0;
}

#mobile-recommended .footer_block .img_block img {
	height: auto;
	width: auto;
	max-height: 250px;
}

#mobile-recommended .footer_block .btnAddToCart {
	margin-top: 13px;
	margin-bottom: 13px;
}

#mobile-recommended .footer_block .btnAddToCart a {
	padding-top: 8px;
	padding-bottom: 0px;
	padding-top: 5px;
	width: 130px;
}

#mobile-recommended .footer_block .title_block a {
	font-size: 12px;
	line-height: 6px;
}

#mobile-recommended .price {
	font-size: inherit;
	vertical-align: top;
	line-height: 29px;
}

.rep {
	display: none;
	position: absolute;
	top: -25px;
	left: 50%;
	width: 50px;
	border: 1px solid #fff !important;
	transform: translateX(-50%);
}

#oosHookmobile {
	display: none;
}

/* Patch Safari/Webkit */
@media not all and (min-resolution:.001dpcm) {
	@media (min-width: 1200px) {
		.col-lg-5 {
			width: 41% !important;
		}
	}

	@media (min-width: 768px) {
		.col-sm-6 {
			width: 49.5% !important;
		}
	}
}

@media (max-width: 1024px) {
	#sns_custommenu,
	#product_view_primary_block .product-shop #buy_block .price .Tax-free,
	.box-cart-bottom,
	#madeinfrance,
	.footer_block,
	#sns_footer_middle {
		display: none !important;
	}

	#buy_block .availability {
		margin: 0px !important;
	}
	
	#buy_block .availability #availability_value {
		font-size: 10px !important;
	}

	.layer_cart_overlay {
		z-index: 1001 !important;
	}

	.primary_block {
		margin-bottom: 0 !important;
	}

	#indicator,
	#btnprev,
	#btnnext {
		display: block;
		top: calc(100svh - 200px);
		left: 50%;
		margin-left: unset;
		white-space: nowrap;
		transform: translateX(-50%);
	}

	#btnprev,
	#btnnext {
		position: absolute;
		top: calc(100svh - 200px);
		left: 15px;
		color: #053377;
		font-size: 24px;
		line-height: 24px;
		transform: none;
		cursor: pointer;
	}

	#btnnext {
		left: unset;
		right: 15px;
	}

	#btnprev img,
	#btnnext img {
		height: 20px;
	}

	#btnprev img {
		transform: rotate(180deg);
	}

	#indicator button {
		display: inline-block;
		width: 18px;
		line-height: 20px;
		vertical-align: middle;
	}

	#img-box,
	.product-shop {
		overflow-y: hidden;
	}

	#img-box {
		display: flex;
		padding: 0;
		flex: none;
		flex-flow: row nowrap;
		align-items: end;
		overflow: auto;
		height: calc(100svh - 165px);
		width: 100%;
		scroll-snap-type: x mandatory;
	}

	#img-box::-webkit-scrollbar {
		width: 0px;
		background: transparent; /* make scrollbar transparent */
	}

	#img-box img {
		cursor: default;
	}

	#img-box img#img1 {
		margin-top: 0;
	}

	.img-gallery {
		object-fit: contain;
		scroll-snap-align: center;
		scroll-margin-top: 50vh;
		flex: none;
	}

	.product-shop {
		margin-bottom: 0 !important;
		width: 100%;
		height: auto;
		background-color: #fff;
		z-index: 1000;
	}

	.opensection {
		height: 100vh;
		max-height: 100vh;
		max-height: -webkit-fill-available;
	}

	#product_view_primary_block {
		display: flex;
		margin: 0;
		align-items: center;
		justify-content: space-between;
		flex-flow: column nowrap;
	}

	.details-product {
		position: relative;
		margin: 20px;
	}

	#product_view_primary_block .product-shop #buy_block {
		margin: 0 !important;
	}

	.flex-overflow {
		overflow-y: unset;
	}

	.product-shop .product-name,
	.product-color {
		float: left;
		line-height: 21px !important;
	}

	.product-shop .product-name {
		margin-bottom: 0 !important;
		max-width: 62%;
		font-size: 15px !important;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.product-color {
		padding-left: 5px;
		max-width: 30%;
		font-size: 12px !important;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.s_title_block .product-name {
		max-width: none;
	}

	#openwindow {
		display: block;
	}

	.price-box .price {
		font-size: 9px !important;
		height: 20px;
	}

	#product_view_primary_block .product-shop #buy_block .price {
		margin-bottom: 0 !important;
	}

	#our_price_display {
		font-size: 15px !important;
	}

	#product_view_primary_block .our_price_display {
		font-size: 10px !important;
		line-height: 20px !important;
	}

	.prices_3cb {
		padding-left: 0 !important;
	}

	.product-shop #add_to_cart_mobile.btn {
		display: block;
	}

	#initiales {
		background: none;
	}

	#oosHook {
		display: none;
	}

	#oosHookmobile {
		display: block;
	}

	#mobile-recommended,
	#mobile-recommended .footer_block {
		display: block !important;
	}
        
        #prod-desktop{
            display:none;
        }

	#mobile-footer,
	#mobile-footer2 {
		display: block !important;
	}

	#footerm,
	#footerm2 {
		display: none !important;
	}

	.rep {
		display: block;
	}
        
        
}
