/*
 * ------------------------------------------------------------------------------------------------------------------------------------
 * ------------------------------------------------------------------------------------------------------------------------------------

..######......###....########..######..##.....##....###...
.##....##....##.##......##....##....##.##.....##...##.##..
.##.........##...##.....##....##.......##.....##..##...##.
.##...####.##.....##....##....##.......#########.##.....##
.##....##..#########....##....##.......##.....##.#########
.##....##..##.....##....##....##....##.##.....##.##.....##
..######...##.....##....##.....######..##.....##.##.....##

 * ------------------------------------------------------------------------------------------------------------------------------------
 * ------------------------------------------------------------------------------------------------------------------------------------
*/

/***********************************************************************************************************************************/
/** CONTENT POPUP *******************************************************************************************************************/
/***********************************************************************************************************************************/

.marche-gatcha h1{
	height:65px;
	padding: 15px 0 0;
	box-sizing: border-box;
	position: relative;
	z-index:2;
	color: #fff;
	background-image:url(/media/equideo/image/produits/gatcha/mobile/bandeau-haut.png);
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 320px auto
}

/****************************************************************************************************************************/
/* GATCHA ********************************************************************************************************************/
/****************************************************************************************************************************/
.operation-balade-doopengatcha .popupgatcha__container .arrow{
	display:none;
}

.marche-gatcha.page-fullscreen::after,
.ui-page:not(.mowbile-hub):not(.cheval-console).marche-gatcha.page-fullscreen::before{
	content: "";
	display: block;
	position: absolute;
    width: 100%;
    z-index: 1;
    left: 0;
}
.marche-gatcha.page-fullscreen::after{
	height: 119px;
    top: 0;
	background: -moz-linear-gradient(top, rgba(48,34,59,1) 0%, rgba(48,34,59,0.85) 31%, rgba(48,34,59,0.58) 60%, rgba(48,34,59,0.25) 79%, rgba(48,34,59,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(48,34,59,1) 0%,rgba(48,34,59,0.85) 31%,rgba(48,34,59,0.58) 60%,rgba(48,34,59,0.25) 79%,rgba(48,34,59,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(48,34,59,1) 0%,rgba(48,34,59,0.85) 31%,rgba(48,34,59,0.58) 60%,rgba(48,34,59,0.25) 79%,rgba(48,34,59,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
.ui-page:not(.mowbile-hub):not(.cheval-console).marche-gatcha.page-fullscreen::before{
	bottom: 0;
	top: initial;
    height: 221px;
	background: -moz-linear-gradient(top, rgba(48,34,59,0) 0%, rgba(48,34,59,0.25) 21%, rgba(48,34,59,0.58) 40%, rgba(48,34,59,0.85) 69%, rgba(48,34,59,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(48,34,59,0) 0%,rgba(48,34,59,0.25) 21%,rgba(48,34,59,0.58) 40%,rgba(48,34,59,0.85) 69%,rgba(48,34,59,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(48,34,59,0) 0%,rgba(48,34,59,0.25) 21%,rgba(48,34,59,0.58) 40%,rgba(48,34,59,0.85) 69%,rgba(48,34,59,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

/***********************************************************************************************************************************/
/** ELEMENT GATCHA *******************************************************************************************************************/
/***********************************************************************************************************************************/

.popupgatcha__name{
	position:absolute;
	background:url(/media/equideo/image/produits/gatcha/label-left-defaut.png) no-repeat center top;
	height: 107px;
    left: 14px;
    top: 245px;
    width: 244px;
    font-size: 24px;
    padding: 37px 0 0;
    box-sizing: border-box;
}
.popupgatcha__container{
	height: 90%;
    left: 50%;
    margin-left: -136px;
    overflow: hidden;
    position: absolute;
    top: 10%;
    width: 270px;
    z-index: 0;
}
.popupgatcha__infos{
    bottom: 76px;
    height: 86px;
    left: 50%;
    margin-left: -155px;
    overflow: hidden;
    position: absolute;
    width: 310px;
    z-index: 2;
}
.js-popupgatcha__container__wheel{
	left: 0;
    position: absolute;
    top: -100px; /* The wheel must start on an item */
    width: 100%;
    height: 100%;
}

/***********************************************************************************************************************************/
/** ELEMENT GATCHA ITEM ************************************************************************************************************/
/***********************************************************************************************************************************/
.gatcha-carousel-item{
	width: 100px;
	height: 100px;
	text-align: center;
	padding: 20px 0 0;
	box-sizing: border-box;
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 100px;
}
.gatcha-carousel-item > img{
	max-width: 60px;
	max-height: 60px;
}
.gatchareward{
	width: 200px;
	height: 200px;
	margin: 0 auto;
	text-align: center;
	padding: 39px 0 0;
	box-sizing: border-box;
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 200px auto;
}

.gatchareward img{
	width: 120px;
	height: 120px;
}

.gatchareward__quantity {
	background: #FDFFF0;
	border-radius: 8px;
	border: 2px solid #F2EFCF;
	font-weight: bold;
	position: relative;
	white-space: nowrap;
    display: table;
    margin: 0 auto;
    padding: 0 15px 2px;
}
.gatchareward__quantity > img {
	width: 32px;
	height: 32px;
	margin: -6px -10px -6px 5px;
}

.gatchareward[data-rarity="common"],
.gatcha-carousel-item.gatcha-carousel-item-common{
	background-image:url(/media/equideo/image/produits/gatcha/mobile/gatcha-container-1.png);
}
.gatchareward[data-rarity="rare"],
.gatcha-carousel-item.gatcha-carousel-item-rare{
	background-image:url(/media/equideo/image/produits/gatcha/mobile/gatcha-container-2.png);
}
.gatchareward[data-rarity="precious"],
.gatcha-carousel-item.gatcha-carousel-item-precious{
	background-image:url(/media/equideo/image/produits/gatcha/mobile/gatcha-container-3.png);
}
.gatchareward[data-rarity="divine"],
.gatcha-carousel-item.gatcha-carousel-item-divine{
	background-image:url(/media/equideo/image/produits/gatcha/mobile/gatcha-container-4.png);
}

/***********************************************************************************************************************************/
/** ELEMENT GATCHA ITEM INFOS *******************************************************************************************************************/
/***********************************************************************************************************************************/
.js-popupgatcha__infos__reward{
	height: 86px;
    width: 310px;
    line-height: 86px;
    box-sizing: border-box;
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 310px auto;
}
.gatcha-item-infos-name{
	display: inline-block;
    font-size: 24px;
    line-height: 23px;
    margin: 0 0 0 22px;
    vertical-align: middle;
}
.gatcha-item-infos-rarity{
	font-size: 16px;
	font-family: arial;
}
.js-popupgatcha__infos__reward[data-rarity="common"]{
	background-image:url(/media/equideo/image/produits/gatcha/mobile/gatcha-stick-container-1.png);
}
.js-popupgatcha__infos__reward[data-rarity="rare"]{
	background-image:url(/media/equideo/image/produits/gatcha/mobile/gatcha-stick-container-2.png);
}
.js-popupgatcha__infos__reward[data-rarity="precious"]{
	background-image:url(/media/equideo/image/produits/gatcha/mobile/gatcha-stick-container-3.png);
}
.js-popupgatcha__infos__reward[data-rarity="divine"]{
	background-image:url(/media/equideo/image/produits/gatcha/mobile/gatcha-stick-container-4.png);
}

/***********************************************************************************************************************************/
/** ITEM QUANTITY ******************************************************************************************************************/
/***********************************************************************************************************************************/

.gatchareward-quantity {
    background: #FDFFF0;
    border-radius: 8px;
    border: 2px solid #F2EFCF;
    display: block;
    font-weight: bold;
    white-space: nowrap;
    width: 100px;
    margin: 0 auto;
}

/***********************************************************************************************************************************/
/** ANIMATION CADEAU GATCHA ********************************************************************************************************/
/***********************************************************************************************************************************/

.gatchareward.js-gatchareward--anim{
	animation-duration: 1s;
	animation-fill-mode: both;
	animation-name: pulse-gatcha;
	-webkit-animation-name: pulse-gatcha;
	-webkit-animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	transform: scale(1.5);
	z-index: 5;
}
@keyframes pulse-gatcha {
  from {
    transform: scale3d(1, 1, 1);
  }

  to {
    transform: scale3d(1.4, 1.4, 1.4);
  }
}

@-webkit-keyframes pulse-gatcha {
  from {
    transform: scale3d(1, 1, 1);
  }

  to {
    transform: scale3d(1.4, 1.4, 1.4);
  }
}

/***********************************************************************************************************************************/
/** GATCHA BUTTON *******************************************************************************************************************/
/***********************************************************************************************************************************/
.marche-gatcha .bottom-button-block{
	bottom: 0;
    left: 50%;
    margin-left: -163px;
    position: absolute;
    width: 320px;
    z-index: 2;
}

.js-popupgatcha__button__skip {
  color: white !important;
  font-family: Arial;
  font-size: 16px;
  font-weight: bold !important;
  text-align: center;
}



/***********************************************************************************************************************************/
/** ELEMENT GATCHA FLECHE *******************************************************************************************************************/
/***********************************************************************************************************************************/
.js-popupgatcha__container--arrows::after,
.js-popupgatcha__container--arrows::before{
	content: "";
	display: block;
	width: 50px;
	height: 50px;
	z-index:3;
	position: absolute;
	background-repeat: no-repeat;
	background-position: left top;
	background-image:url(/media/equideo/image/produits/gatcha/gatcha-arrow.png);
	top: 183px;
}
.js-popupgatcha__container--arrows::after{
	-webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    left: 20px;
}
.js-popupgatcha__container--arrows::before{
	right: 20px;
}