@font-face
{
    font-family: 'SegoeScript';
    src: url('font/segoescb.ttf');
    src: url('polices/segoescb.ttf') format('truetype')
    font-weight: bold;
    font-style: normal;
}
@font-face
{
    font-family: 'PusabRegular';
    src: url('font/pusab-webfont.eot');
    src: url('font/pusab-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/pusab-webfont.woff') format('woff'),
         url('font/pusab-webfont.ttf') format('truetype'),
         url('font/pusab-webfont.svg#PusabRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face
{
    font-family: 'akaDylan';
    src: url('font/akadylan_plain.eot');
    src: url('font/akadylan_plain.eot?#iefix') format('embedded-opentype'),
         url('font/akadylan_plain.woff') format('woff'),
         url('font/akadylan_plain.ttf') format('truetype'),
         url('font/akadylan_plain.svg#akaDylan') format('svg');
    font-weight: normal;
    font-style: normal;
}

body 
{
	overflow:hidden;
	margin:0px;
	text-align:center; /* Must be set to center all sections inside */
	background-image:url(../images/bgPattern.png);
	z-index:-100;
}

@keyframes blink {
	50% {
		opacity: 0.0;
	}
}
@-webkit-keyframes blink {
	50% {
		opacity: 0.0;
	}
}
.blink {
	animation: blink 1s step-start 0s infinite;
	-webkit-animation: blink 1s step-start 0s infinite;
}

img {
	border: none;
}
audio {
	position: absolute;
	color:white;
	text-decoration:underline;
	right:10px;
	z-index: 1000;
}

/***** En-t�te *****/
/* Bandeau t�tes de lion */
header {
	color: rgb(255, 255, 255);
	background-image:url(../images/lions.jpg);
	background-repeat:repeat-x;
	text-align:center;
	height:280px;
	z-index:-1;
}
/* Diaporama */
header #slider {
	width:360px;
	height:240px;
	margin:auto;
	box-shadow: 0px 4px 4px #1c1a19;
	z-index:0;
}
header #santanaroad {
	position:absolute; /* To make room for the slider (if present). Size is not compute for rest of document. */
	/* Below attributes to center logo. */
	/* Sizes must be overide with other @media. */
	left:50%;
	width:476px;
	margin-left: -238px;
	
	margin-top: 150px;
	z-index:4;
}
header #santanaroad img {
	width:476px;
}

header #jukebox {
	position:absolute;
	text-align:center;
	width:160px;
	z-index:900;
}
header #audio_logo {
	width:105px;
	height:41px;
	margin:auto;
	background-image: url(../images/audio.png);
	background-repeat:no-repeat;
}
header #audio_title {
	font-family: Arial, sans-serif;
	font-size: 16px;
	display:none;
	margin:-20px 0px 0px 0px;
	width:0px;
	height:16px;
	outline:none;
	text-align:left;
	border:3px solid #fff;
	color:#000;
	background-color:#fff;
	z-index:10;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50); /* 50 */
	opacity:0.5;
}
header div#playlist {
	top:1px;
	left:1px;
}
header #playlist>a {
	display:none;
}
header #audio_switch {
	position:relative;
	width:32px;
	height:80px;
	margin: -30px auto 0px auto;
    cursor:pointer;
	outline:none;
}
header #audio_switch.off {
	background-image:url(../images/switchDown.png);
	background-repeat:no-repeat;
}
header #audio_switch.on {
	background-image:url(../images/switchUp.png);
	background-repeat:no-repeat;
}

#footer {
	text-align:center;
	margin: 70px auto 0px auto;
}

/***** Menu *****/
/* Bloc menu */
nav {
	position:relative; /* Just to be a little bit over the header */
	text-align:center;
	background-image: url(../images/bgMenu.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 1000px 150px;
	
	/* Sizes must be set with other @media */
	height:150px; /* To match width background height */
	margin-top: -50px; /* Fly over the header with 50px */
}
nav ul {
    list-style-type: none;
	-webkit-margin-before : 0px;
	-webkit-margin-after : 0px;
	-webkit-margin-start : 0px;
	-webkit-margin-end : 0px;
	-webkit-padding-start : 0px;
	padding-top:60px; /* Value should match [(nav height)/2 - button height] value */
}
nav ul li {
	display: inline-block;
	padding-bottom:12px; /* To math nav button height (nav a padding top+bottom) */
}
nav a {
	font-family: akaDylan, ComicSans, sans-serif;
	font-size:13pt;
	text-decoration : none;
	color: #202020;
	
	outline:none;
	
	padding:4px 12px 4px 12px;
	
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	
	-moz-box-shadow: 0px 0px 12px #343434;
	-webkit-box-shadow: 0px 0px 12px #343434;
	-o-box-shadow: 0px 0px 12px #343434;
	box-shadow: 0px 0px 12px #343434;

	background: #fffe65;
	background: -ms-linear-gradient(top, #fffe65 0%, #f56b00 100%);	/* IE10+ */
	background: -webkit-gradient(linear, left top, left bottom, from(#fffe65), to(#f56b00)); /* Chrome10+,Safari5.1+ */
	background: -moz-linear-gradient(top center, #fffe65, #f56b00); /* Old FX */
	background: -o-linear-gradient(top, #fffe65, #f56b00); /*uniquement en mode linear*/	
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="fffe65", endColorstr="f56b00",GradientType=0); /* Pour IE seulement et mode gradient � linear */
}
nav a:hover {
	background: #feccb1; /* Old browsers */
	background: -ms-linear-gradient(top, #feccb1 0%, #f17432 50%, #ea5507 51%,#fb955e 100%);	/* IE10+ */
	background: -webkit-linear-gradient(top,  #feccb1 0%,#f17432 50%,#ea5507 51%,#fb955e 100%); /* Chrome10+,Safari5.1+ */
	background: -moz-linear-gradient(top, #feccb1 0%,#f17432 50%,#ea5507 51%,#fb955e 100%); /* Firefox */
	background: linear-gradient(top,  #feccb1 0%,#f17432 50%,#ea5507 51%,#fb955e 100%); /* W3C */

	box-shadow: rgba(255,255,240,.2) 0 0 50px 25px, rgba(255,255,240,.3) 0 0 40px, inset rgba(0,0,0,.5) 0 0 10px;
}
nav a.selected {
	background: #feccb1; /* Old browsers */
	background: -ms-linear-gradient(top, #feccb1 0%, #f17432 50%, #ea5507 51%,#fb955e 100%);	/* IE10+ */
	background: -webkit-linear-gradient(top,  #feccb1 0%,#f17432 50%,#ea5507 51%,#fb955e 100%); /* Chrome10+,Safari5.1+ */
	background: -moz-linear-gradient(top, #feccb1 0%,#f17432 50%,#ea5507 51%,#fb955e 100%); /* Firefox */
	background: linear-gradient(top,  #feccb1 0%,#f17432 50%,#ea5507 51%,#fb955e 100%); /* W3C */
}

/***** Popup window *****/
#ps_overlay{
	position:fixed;
	display:none;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	background:#111;
    opacity:0.5; /* 0.5 */
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50); /* 50 */
	z-index:900;
}

div#popup {
	display:none;
	position:fixed;
	top:50%;
	left:50%;
	padding: 5px;
	border: 1px solid black;
	max-width:720px;
	max-height:480px;
	background:#fff;
	-moz-box-shadow: 0px 0px 12px #343434;
	-webkit-box-shadow: 0px 0px 12px #343434;
	-o-box-shadow: 0px 0px 12px #343434;
	box-shadow: 0px 0px 12px #343434;

	z-index:1000;
}
div#popup a.close{
	position:absolute;
	top:-18px;
	right:-18px;
	width:36px;
	height:36px;
	background:#fff url(../images/close.png) no-repeat center center;
	cursor:pointer;
	
	-moz-border-radius:18px;
	-webkit-border-radius:18px;
	border-radius:18px;
}
div#popup img {
	max-height:480px;
	max-width:720px;
}
/***** Content section *****/
section
{
	overflow-x:hidden;
	overflow-y:auto;
	margin:auto;
}
@media (max-width: 1024px), (max-height:600px) {
	body {
		background-size: 12px 12px;
	}
	header {
		background-size: 144px 200px;
		height:200px;
	}
	header #slider {
		width:210px;
		height:140px;
	}

	header #santanaroad {
		width:380px;
		margin-left: -190px;
		margin-top: 90px;
	}
	header #santanaroad img {
		width:380px;
	}

	header #jukebox {
		width:140px;
	}
	header #audio_logo {
		width:70px;
		height:30px;
		background-size: 70px 30px;
	}
	header #audio_switch {
		width:24px;
		height:60px;
		margin: -20px auto 0px auto;
	}
	header #audio_switch.off,
	header #audio_switch.on	{
		background-size: 24px 60px;
	}
	header #audio_title {
		font-size: 12px;
		height:12px;
	}
	nav {
		background-size: 760px 120px;
		height:120px;
		margin-top:-50px; /* Same value as default, lucky ? */
	}
	nav ul {
		padding-top:50px;
	}
	nav a {
		font-size:10pt;
		
		padding:4px 8px 4px 8px;
		
		-moz-border-radius: 4px;
		-webkit-border-radius: 4px;
		border-radius: 4px;
		
		-moz-box-shadow: 0px 0px 6px #343434;
		-webkit-box-shadow: 0px 0px 6px #343434;
		-o-box-shadow: 0px 0px 6px #343434;
		box-shadow: 0px 0px 6px #343434;
	}
	
	div#popup img {
		max-height:320px;
		max-width:480px;
	}
}
@media (max-width:480px), (max-height:533px) {
	body {
		background-size: 8px 8px;
	}
	header {
		height:75px;
		background-size: 90px 120px;
	}
	header #slider {
		display:none;
	}
	header #santanaroad {
		width:240px;
		margin-left:-120px;
		margin-top:0px;
		z-index:0;
	}
	header #santanaroad img {
		width:240px;
	}
	header #jukebox {
		width:70px;
	}
	header #audio_logo {
		margin:0px;
		width:40px;
		height:16px;
		background-size: 40px 16px;
	}
	header #audio_switch {
		width:12px;
		height:30px;
		margin: -10px 12px 12px 12px;
	}
	header #audio_switch.off,
	header #audio_switch.on	{
		background-size: 12px 30px;
	}
	header #audio_title {
		font-size: 6pt;
		height:8px;
		filter:progid:DXImageTransform.Microsoft.Alpha(opacity=90); /* 50 */
		opacity:0.9;
	}
	nav {
		background: transparent;
		/* No more background */
		height: 28px;
		margin-top: -25px;
	}
	nav ul {
		padding-top:0px;
	}
	nav ul li {
		padding-bottom:0px; /* To math nav button height (nav a padding top+bottom) */
	}
	nav a {
		font-size:7pt;
		padding:0px 2px 0px 2px;
	}
}
