/* Eléments principaux de la page */

body {
    background: #FAFAFA;
    font-family: Verdana, sans-serif;
	font-size: 14px;
    color: #181818;
}

#bloc_page {
    width: 800px;
    margin: auto;
    background: #FFFFFF;
    box-shadow: 0px 2px 5px #AAAAAA;
    border-radius: 20px;
    padding: 20px;
}


/* Notification */

.notification {
	position: absolute;
	z-index: 2;
	width: 100%;
	margin: auto;
	font-size: .8em;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	color: #FFFFFF;
	background-color: #366092;
	padding: 4px;
	box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, .3);

	-webkit-animation: bounce 800ms ease-out;
	-moz-animation: bounce 800ms ease-out;
	animation: bounce 800ms ease-out;
}

@-webkit-keyframes bounce {
	0% {
		-webkit-transform: translateY(-100%);
		opacity: 0;
	}
	5% {
		-webkit-transform: translateY(-100%);
		opacity: 0;
	}
	15% {
		-webkit-transform: translateY(0%);
	}
	30% {
		-webkit-transform: translateY(-50%);
	}
	40% {
		-webkit-transform: translateY(0%);
	}
	50% {
		-webkit-transform: translateY(-30%);
	}
	70% {
		-webkit-transform: translateY(0%);
	}
	80% {
		-webkit-transform: translateY(-15%);
	}
	90% {
		-webkit-transform: translateY(0%);
	}
	95% {
		-webkit-transform: translateY(-10%);
	}
	97% {
		-webkit-transform: translateY(0%);
	}
	99% {
		-webkit-transform: translateY(-5%);
	}
	100% {
		-webkit-transform: translateY(0%);
		opacity: 1;
	}
}

@-moz-keyframes bounce {
	0% {
		-moz-transform: translateY(-100%);
		opacity: 0;
	}
	5% {
		-moz-transform: translateY(-100%);
		opacity: 0;
	}
	15% {
		-moz-transform: translateY(0%);
	}
	30% {
		-moz-transform: translateY(-50%);
	}
	40% {
		-moz-transform: translateY(0%);
	}
	50% {
		-moz-transform: translateY(-30%);
	}
	70% {
		-moz-transform: translateY(0%);
	}
	80% {
		-moz-transform: translateY(-15%);
	}
	90% {
		-moz-transform: translateY(0%);
	}
	95% {
		-moz-transform: translateY(-10%);
	}
	97% {
		-moz-transform: translateY(0%);
	}
	99% {
		-moz-transform: translateY(-5%);
	}
	100% {
		-moz-transform: translateY(0%);
		opacity: 1;
	}
}

@keyframes bounce {
	0% {
		transform: translateY(-100%);
		opacity: 0;
	}
	5% {
		transform: translateY(-100%);
		opacity: 0;
	}
	15% {
		transform: translateY(0%);
	}
	30% {
		transform: translateY(-50%);
	}
	40% {
		transform: translateY(0%);
	}
	50% {
		transform: translateY(-30%);
	}
	70% {
		transform: translateY(0%);
	}
	80% {
		transform: translateY(-15%);
	}
	90% {
		transform: translateY(0%);
	}
	95% {
		transform: translateY(-10%);
	}
	97% {
		transform: translateY(0%);
	}
	99% {
		transform: translateY(-5%);
	}
	100% {
		transform: translateY(0%);
		opacity: 1;
	}
}


/* Header */

#logo {
	display: block;
	margin: auto;
	margin-top: 20px;
}


/* Navigation */

nav {
    display: block;
	height: 70px;
	margin: auto;
	margin-top: 50px;
}

nav ul {
    list-style-type: none;
	padding-left: 0px;
}

nav li {
    display: inline-block;
	width: 263px;
}

#euromillions {
	color: #366092;
}

#loto {
	color: #eb418e;
}

#champagne {
	color: #00B050;
}

nav a {
	position: relative;
	display: block;
	width: 255px;
    font-size: 1.0em;
    text-decoration: none;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-left: 5px;
    text-align: center;
	text-transform: uppercase;
	margin-bottom: 30px;
    border-radius: 5px;

	-webkit-transition: all .1s ease;
	-moz-transition: all .1s ease;
	-ms-transition: all .1s ease;
	-o-transition: all .1s ease;
	transition: all .1s ease;
}

nav a#euromillions {
    color: #FFFFFF;
	background: #366092;
	box-shadow: 0px 9px 0px rgba(27,47,73,1), 0px 9px 25px rgba(0,0,0,.7);
}

nav a:hover#euromillions {
	position: relative;
	box-shadow: 0px 6px 0px rgba(27,47,73,1), 0px 6px 15px rgba(0,0,0,.8);
	top: 3px;
}

nav a:active#euromillions {
	position: relative;
	box-shadow: 0px 3px 0px rgba(27,47,73,1), 0px 3px 6px rgba(0,0,0,.9);
	top: 6px;
}

nav a#loto {
    color: #FFFFFF;
	background: #eb418e;
	box-shadow: 0px 9px 0px rgba(135,15,68,1), 0px 9px 25px rgba(0,0,0,.7);
}

nav a:hover#loto {
	position: relative;
	box-shadow: 0px 6px 0px rgba(27,47,73,1), 0px 6px 15px rgba(0,0,0,.8);
	top: 3px;
}

nav a:active#loto {
	position: relative;
	box-shadow: 0px 3px 0px rgba(27,47,73,1), 0px 3px 6px rgba(0,0,0,.9);
	top: 6px;
}

nav a#champagne {
    color: #FFFFFF;
	background: #00B050;
	box-shadow: 0px 9px 0px rgba(0,88,39,1), 0px 9px 25px rgba(0,0,0,.7);
}

nav a:hover#champagne {
	position: relative;
	box-shadow: 0px 6px 0px rgba(0,88,39,1), 0px 6px 15px rgba(0,0,0,.8);
	top: 3px;
}

nav a:active#champagne {
	position: relative;
	box-shadow: 0px 3px 0px rgba(0,88,39,1), 0px 3px 6px rgba(0,0,0,.9);
	top: 6px;
}


/* Corps */

#screenshot {
	width: 300px;
	float: left;
}

#appstore {
	display: block;
	margin: auto;
}

section p {
	text-align: justify;
}

section h1 {
    font-size: 1.2em;
	font-weight: bold;
}

section h2 {
    font-size: 1.1em;
	font-weight: bold;
}

section img {
	border: 0px;
}

ul {
	list-style-type: square;
	list-style-position: inside;
}

mark {
	color: #FF0000;
	background: #FFFFFF;
}


/* Facebook */

article#facebook {
    width: 750px;
    margin: auto;
    font-size: 0.9em;
    background: #e9edf7;
    box-shadow: 0px 4px 5px #AAAAAA;
	border-color: #366092;
	border-style: solid;
	border-width: 1px;
    border-radius: 10px;
    padding: 10px;
}

section img#facebook {
	width: 80px;
	float: left;
	margin-right: 20px;
}


/* Footer */

footer {
    padding-top: 30px;
}

footer p {
    color: #AAAAAA;
    font-size: 0.8em;
	text-align: center;
}

footer img {
	vertical-align: middle;
	margin-right: 10px;
}

footer a {
	color: #777777;
	text-decoration: none;
}

footer a:hover {
	color: #3b5998;
}
