


body {
	margin:0px !important;
	padding:0px !important;
	width:100%;
	overflow-x:hidden;
	position:relative;
	background-color:#F3ECD0;
	text-align:center;
	}
	
#grattages_container {
			
	/* Pour gerer le 100% IE */
	/*
	height:auto;
	*height: 100% !important;
    *height: 1px;
    *min-height: 1px ;*/
	*height:100%;
	min-height: 100%;
	*margin-top:-19px;
	}
	
	
#corps_grattages {
	width:980px;
	margin:auto;
	word-wrap:break-word;
    position: relative;
    /* Pour gerer le 100% IE */
	/* height: auto !important; /* this is added to fixed all other browser dynamic height problem */
	
	*height:100%;
	min-height: 100%;
    /*height: 100%;*/
	
	font-family:tahoma;
	background: white;
	}
	
	
#corps_grattages #ombres {
	width:1016px;
	background-image:url('//static.wonderz.com/wonderz/playbox/img/grattages/ombre.png');
	background-repeat:repeat-y;
	/*height:10000px;*/
	height:100%;
	left:0px;
	margin-left:-17px;
	position:absolute;
	/*top:0px;
	bottom:0px;*/
	z-index:0;
	}
	
#corps_grattages #contenu_grattages {
	position:relative;
	z-index:1;
	}
	
.clear { 
	clear:both;
	}
		
#space_bar {
		width:100%;
		height:45px;
		*height:30px;
		}
		
#cache_grattages {
	position:fixed;
	*position:absolute;
	z-index:7;
	width:100%;
	height:100%;
	display:none;
	top:0px;
	*top: expression((document.documentElement.scrollTop || document.body.scrollTop) + this.offsetHeight - this.offsetHeight);	
	left:0px;
	}
#cache_grattages .fond {
	background-color:black;
	/*opacity:0.5;*/
	/* for IE */
	filter:alpha(opacity=70);
	/* CSS3 standard */
	opacity:0.7;
	width:100%;
	height:100%;
	position:absolute;
	top:0px;
	left:0px;
	z-index:8;
	}
	
#popup_grattages {
	position: fixed;
	z-index:20;
	top:25%;
	width:542px;
	/*top:70%;*/
	left:50%;
	margin-left:-271px;
	display:none;
	overflow:hidden;
	/*background:white;*/
	font-family:century gothic;
	}
	
#popup_grattages.display {
	display: block;
	transition: opacity 400ms;
	opacity: 1;
}

#popup_grattages.hidden {
	display: none;
	transition: opacity 400ms;
	opacity: 0;
}
	
#background_grattages {
	top:300px;
	width:249px;
	height:307px;
	left:50%;
	margin-left:-740px;
	background-image:url('//static.wonderz.com/wonderz/playbox/img/grattages/fond_grattage.jpg');
	position:absolute;
	/*
	position:fixed;
	*position:absolute;
	*top: expression((document.documentElement.scrollTop || document.body.scrollTop) + this.offsetHeight - this.offsetHeight + 300);	*/
	}
	

a.lien_en_savoir_plus_grattage {
	float:right;
	display:block;
	font-weight:bold;
	font-size:12px;
	color:#8D5808;
	background:url('//static.wonderz.com/wonderz/playbox/img/grattages/infos.png') 0px 3px no-repeat;
	padding-left:13px;
	}

.section-scratch_games-back_to {
	text-align: right;
}

.btn-scratch_games-back_to_flash,
.btn-scratch_games-back_to_html5 {
	color: inherit;
	font-size: 24px;
	border: 5px solid antiquewhite;
	border-radius: 15px;
	text-decoration: none;
	background-color: antiquewhite;
	cursor: pointer;
}

#scratch-game-location.scratch_game-fullscreen > #canvas-grattages {
	top: 50%;
	left: 50%;
    transform: translate(-50%,-50%);
    position: fixed;
}


/**
___RESPONSIVE
**/


@media screen and (max-width: 992px) {
	#popup_grattages {
		/* Position */
		top: 50%;
		left: 0;
		transform: translateY(-50%);
		/* Marge */
		margin-left: 0;
		margin: auto;
		/* Bordure */
		border-radius: 30px;
		/* Taille */
		width: 100%;
	}

	#popup_grattages .haut {
		width: 100%;
	}


	#corps_grattages {
	    width:100%;
	}

	.btn-scratchgames-fullscreen {
		float: left;
		display: block;
		font: inherit;
		font-size: 12px;
		color:#8D5808;
		text-decoration: underline;
		cursor: pointer;
		background: none;
		border: none;
		padding: 0;
	}
 }