
/*******************************************************************************************************************************************
##     ##  #######  ########     ###    ##       
###   ### ##     ## ##     ##   ## ##   ##       
#### #### ##     ## ##     ##  ##   ##  ##       
## ### ## ##     ## ##     ## ##     ## ##       
##     ## ##     ## ##     ## ######### ##       
##     ## ##     ## ##     ## ##     ## ##       
##     ##  #######  ########  ##     ## ######## 
*******************************************************************************************************************************************/

.modal{
	animation: showPopup .3s ease;
	border-radius: 8px;
	text-align: center;
	width: 480px;
}
.modal::before{
	border-radius: 8px 8px 0 0;
	-webkit-clip-path: polygon(0 0, 100% 0, 100% 66%, 0 100%);
	clip-path: polygon(0 0, 100% 0, 100% 66%, 0 100%);
	content: "";
	display: block;
	height: 100px;
	position: absolute;
	width: 100%;
	z-index: 0;
}
@keyframes showPopup{
	0%{
		transform: scale3d(0.3, 0.3, 0.3);
		opacity: 0;
	}
	100%{
		transform: scale(1);
		opacity: 1;
	}
}

/* ELEMENT : MODAL__CLOSE *****************************************************************************************************************
 ******************************************************************************************************************************************/

.modal__close{
	box-shadow: 0 2px 0 0 rgba(0,0,0,0.3);
	animation: showPopup .25s 1 .25s;
	cursor: pointer;
	display: block;
	width: 24px;
	height: 24px;
	padding: 6px;
	border-radius: 50%;
	background: #DCD4BC;
	position: absolute;
	border: none;
	right: -12px;
	top: -12px;
	box-sizing: border-box;
	transform: scale(0);
	animation-fill-mode: forwards;
	transition: box-shadow .15s ease-in-out;
}
.modal__close svg{
	width: 12px;
	height: 12px;
	fill: #AD5B50;
}
.modal__close:hover{
	box-shadow: 0 6px 20px 0 rgba(0,0,0,0.3);
}


/* ELEMENT : MODAL__IMAGE *****************************************************************************************************************
 ******************************************************************************************************************************************/

.modal__image{
	height: auto;
	margin-top: -30px;
	max-height: 168px;
	max-width: 168px;
	position: relative;
	width: auto;
	z-index: 1;
}

/* ELEMENT : MODAL__FOOTER ****************************************************************************************************************
 ******************************************************************************************************************************************/

.modal__footer{
	margin-bottom: 10px;
}

/* MODIFIER : MODAL--PRIMARY **************************************************************************************************************
 ******************************************************************************************************************************************/

.modal--primary{
	background-color: #FDFFF0;
}
.modal--primary::before{
	background-color: #F2EFCF;
}

/* MODIFIER :MODAL--IMPORTANT *************************************************************************************************************
 ******************************************************************************************************************************************/

.modal--important{
	background-color: #FDFFF0;
}
.modal--important::before{
	background-color: #E4B70F;
}

/************************************************************************************************************************************
/************************************************************************************************************************************
 ######     ###    ##       ######## ##    ## ########     ###    ########  
##    ##   ## ##   ##       ##       ###   ## ##     ##   ## ##   ##     ## 
##        ##   ##  ##       ##       ####  ## ##     ##  ##   ##  ##     ## 
##       ##     ## ##       ######   ## ## ## ##     ## ##     ## ########  
##       ######### ##       ##       ##  #### ##     ## ######### ##   ##   
##    ## ##     ## ##       ##       ##   ### ##     ## ##     ## ##    ##  
 ######  ##     ## ######## ######## ##    ## ########  ##     ## ##     ## 
*************************************************************************************************************************************s
*************************************************************************************************************************************/

.popupcalendar{
	color: #3d251b;
	-webkit-animation-name: fadeIn;
 	-webkit-animation-delay: .25s;
	-webkit-animation-duration: 1.5s;
 	-webkit-animation-fill-mode: both;
 	animation-name: fadeIn;
 	animation-delay: .25s;
	animation-duration: 1.5s;
 	animation-fill-mode: both;
}
@-webkit-keyframes fadeIn{
  from {
   -webkit-transform: scale(0);
  }

  to {
    -webkit-transform: scale(1);
  }
}
@keyframes fadeIn{
  from {
   transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}


/* title *****************************************************************************************************************************/
.popupcalendar__title{
	width: 615px;
	height: 76px;
	position: relative;
	text-align: center;
	text-transform: uppercase;
	color: #fff;
	box-sizing: border-box;
	padding: 16px 0 0;
	margin: 0 0 20px;
	z-index: 1;
	background: url(/media/equideo/image/concours/all/popup/title-popup-reward-defaut.png) no-repeat left top;	
}

/* content ****************************************************************************************************************************/
.popupcalendar__content{
	width: 481px;
	min-height: 275px;
	margin: 0 auto;
	position: relative;
	top: -49px;
	z-index: 0;
	box-sizing: border-box;
	border-radius: 8px;
	padding: 33px 0 15px 0;
	text-align: center;
	border: 1px solid #fff;
	background-color: #fff;
	overflow: hidden;
	}
.popupcalendar__content:after{
	content:"";
	clear:both;
	display: block;
	z-index: -2;
	position: absolute;
	width: 485px;
	height: 282px;
	left:0;
	bottom:0;
	background: url(/media/equideo/image/concours/all/popup/bg-popup-calendar.png) no-repeat left bottom;	
}
.popupcalendar__content__day:after{
	clear: both;
	content:"";
	display: block;
}
.popupcalendar__content__day__block{
	width:145px;
	height: 131px;
	background-color: #fff;
	border: 1px solid #bfd16c;
	border-radius: 10px;
	float: left;
	margin: 0 6px 10px;
	overflow: hidden;
	position: relative;
}
html[dir=rtl] .popupcalendar__content__day__block{
	float: right;
}
.day__block__title{
	min-height:30px;
	background-color: #bfd16c;
	padding: 5px 0 0;
	box-sizing: border-box;
	font-size: 13px;
	color: #fff;
	margin-bottom: 5px;
}
.day__block__item{
	width:45%;
	display: inline-block;
}
.day__block__check{
	position: absolute;
	right: 7px;
	bottom: -1px;
}
.day__block__check svg{
	width: 20px;
}
.day__block__check .st0{
	fill: #bfd16c;
}


/*ETAT DES BLOCKS DAYS NICO */
.popupcalendar__content__day__block--last{
	opacity: 0.5;
}
.popupcalendar__content__day__block--next{
	border: 1px solid #d0d0d0;
}
.popupcalendar__content__day__block--next .day__block__title{
	background-color: #d0d0d0;
}
.popupcalendar__content--gift:before{
	content:"";
	clear:both;
	display: block;
	z-index: -1;
	position: absolute;
	width: 594px;
	height: 319px;
	left: -56px;
	bottom: -18px;
	background: url(/media/equideo/image/concours/all/popup/halo-popup-calendar.png) no-repeat left bottom;	
}

/************************************************************************************************************************************/
/* POPUP - CALENDAR GIFT **************************************************************************************************************/
/************************************************************************************************************************************/


.popupcalendar__gift--item{
	width: 45%;
	display: inline-block;
	text-align: left;
	position:relative;
}
.popupcalendar__gift--item img{
	margin: 0 0 0 50px;
	width: 80px;
	height: 80px;
}
.popucalendar__gift--item__quantity{
	margin: -30px 0 0 35px;
	display: block;
}
.popupcalendar__gift--check{
	position: absolute;
	right: 11px;
	bottom: 37px;
}
.popupcalendar__gift--check svg{
	width: 32px;
}
.popupcalendar__gift--check .st0{
	fill: #bfd16c;
}

/* nav ******************************************************************************************************************************/
.popupcalendar__nav{
	position:  absolute;
	right: -50px;
	top: -22px;
	z-index: 2;
}


/* nav ******************************************************************************************************************************/
.popupcalendar__nav{
	position:  absolute;
	right: -50px;
	top: -22px;
	z-index: 2;
}
