/*******************************************************************************************************************************************
 *******************************************************************************************************************************************

########   #######  ########   #######  ##     ## ######## ########  
##     ## ##     ## ##     ## ##     ## ##     ## ##       ##     ## 
##     ## ##     ## ##     ## ##     ## ##     ## ##       ##     ## 
########  ##     ## ########  ##     ## ##     ## ######   ########  
##        ##     ## ##        ##     ##  ##   ##  ##       ##   ##   
##        ##     ## ##        ##     ##   ## ##   ##       ##    ##  
##         #######  ##         #######     ###    ######## ##     ## 

*******************************************************************************************************************************************
**************************** see http://www.dev.equideow.com/doc/bow for more details *****************************************************
*******************************************************************************************************************************************
*******************************************************************************************************************************************/

.popover{
	display: inline-block;
	position: relative;
}
.js-pix--active{
	z-index: 999;
	pointer-events: none;
}
.js-pix--active .pix__popover__btn{
	pointer-events: all;
}

/* ELEMENT : pix--popover *****************************************************************************************************************
 ******************************************************************************************************************************************/

.pix--popover{
	cursor: pointer;
	transition: all .15s ease-in-out;
}
.pix--popover:not(.js-pix--active):active{
	transform: scale(.9);
}

/* ELEMENT : pix__popover *************************************************************************************************************
 ******************************************************************************************************************************************/

.pix__popover{
	border-radius: 4px;
	box-shadow: 0 0 30px rgba(0,0,0,0.3);
	box-sizing: border-box;
	cursor: default;
	display: none;
	min-height: 232px; /* pix--xl + margins */
	padding-bottom: 30px;
	padding-top: 30px;
	position: absolute;
	width: 500px;
	z-index: 999;
}
.pix__popover::before{
	content: "";
	display: block;
	height: 30px;
	position: absolute;
	top: 10px;
	transform: rotate(45deg);
	width: 30px;
}
.body--ltr .pix__popover{
	background: -moz-linear-gradient(right, #f2efcf 0px, #f2efcf 110px, #fdfff0 110px, #fdfff0 100%);
	background: -webkit-linear-gradient(right, #f2efcf 0px,#f2efcf 110px,#fdfff0 110px, #fdfff0 100%);
	background: linear-gradient(to right, #f2efcf 0px,#f2efcf 110px,#fdfff0 110px, #fdfff0 100%);
	padding-left: 160px;
	padding-right: 30px;
	text-align: left;
}
.body--rtl .pix__popover{
	background: -moz-linear-gradient(left, #f2efcf 0px, #f2efcf 110px, #fdfff0 110px, #fdfff0 100%);
	background: -webkit-linear-gradient(left, #f2efcf 0px,#f2efcf 110px,#fdfff0 110px, #fdfff0 100%);
	background: linear-gradient(to left, #f2efcf 0px,#f2efcf 110px,#fdfff0 110px, #fdfff0 100%);
	padding-left: 30px;
	padding-right: 160px;
	text-align: right;
}

/* ELEMENT : pix__popover__IMG ************************************************************************************************************
 ******************************************************************************************************************************************/

.pix__popover__img{
	position: absolute;
	top: 20px;
	z-index: 1;
}
.body--ltr .pix__popover__img {
	left: -40px;
}
.body--rtl .pix__popover__img {
	right: -40px;
}

/* MODIFIER : js-pix__popover--visible ***************************************************************************************************
 ******************************************************************************************************************************************/

.js-pix__popover--visible{
	display: block;
	opacity: 1;
	pointer-events: all;
}


/* MODIFIER : pix__popover--{position} ************************************************************************************************
 ******************************************************************************************************************************************/

.js-pix__popover--left::before{
	right: -4px;	
}
.js-pix__popover--right::before{
	left: -4px;
}
.body--ltr .js-pix__popover--left::before,
.body--rtl .js-pix__popover--right::before{
	background-color: #fdfff0;
}
.body--rtl .js-pix__popover--left::before,
.body--ltr .js-pix__popover--right::before{
	background-color: #f2efcf;
}

/* position : top *************************************************************************************************************************/
.pix--xl  .pix__popover{
	top: 64px;
}
.pix--l  .pix__popover{
	top: 32px;
}
.pix--m  .pix__popover{
	top: 24px;
}
.pix--s  .pix__popover{
	top: 4px;
}
.pix--xs  .pix__popover{
	top: 0;
}

/* position : right *************************************************************************************************************************/
.pix--xl  .js-pix__popover--right{
	left: 220px;
}
.pix--l  .js-pix__popover--right{
	left: 150px;
}
.pix--m  .js-pix__popover--right{
	left: 116px;
}
.pix--s  .js-pix__popover--right{
	left: 80px;
}
.pix--xs  .js-pix__popover--right{
	left: 64px;
}

/* position : left *************************************************************************************************************************/
.pix--xl  .js-pix__popover--left{
	right: 220px;
}
.pix--l  .js-pix__popover--left{
	right: 150px;
}
.pix--m  .js-pix__popover--left{
	right: 116px;
}
.pix--s  .js-pix__popover--left{
	right: 80px;
}
.pix--xs  .js-pix__popover--left{
	right: 64px;
}

/* pix__popover into collectionView *******************************************************************************************************/

.pix--popover .collectionview__image{
	cursor: pointer;
}
.collectionview__block:not(.collectionview__block--enhanced) .pix__popover{
	top: 60px;
}
.collectionview__block:not(.collectionview__block--enhanced) .js-pix__popover--left{
	right: 170px;
}
.collectionview__block:not(.collectionview__block--enhanced) .js-pix__popover--right{
	left: 170px;
}
.collectionview__block--enhanced .pix__popover{
	top: 170px;
}
.collectionview__block--enhanced .js-pix__popover--left{
	right: 340px;
}
.collectionview__block--enhanced .js-pix__popover--right{
	left: 340px;
}