/* Définition des polices personnalisées */
@font-face
{
	font-family: 'BallparkWeiner';
	src: url('../polices/ballpark.eot');
	src: url('../polices/ballpark.eot?#iefix') format('embedded-opentype'),
       url('../polices/ballpark.woff') format('woff'),
       url('../polices/ballpark.ttf') format('truetype'),
       url('../polices/ballpark.svg#BallparkWeiner') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-faceitre

{
	font-family: 'Dayrom';
	src: url('../polices/dayrom.eot');
	src: url('../polices/dayrom.eot?#iefix') format('embedded-opentype'),
       url('../polices/dayrom.woff') format('woff'),
       url('../polices/dayrom.ttf') format('truetype'),
       url('../polices/dayrom.svg#Dayrom') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* Eléments principaux de la page */
body
{
  background: url('../wallpaper/fond_base5');
  background-repeat: no-repeat;
  font-family: 'Trebuchet MS', Arial, sans-serif;
  color: #181818;
}

#bloc_page
{
  width: 884px;
  margin: auto;
  background: url('../images/bg2.jpg');
}

#main
{
	background: url('../wallpaper/music22.jpg');
}

h1
{
	font-family: Dayrom, serif;
	font-size: 1.2em;
	margin-top: 5px;
	font-weight: bold;
	color: black;
	margin-left: 5px;
}

h2
{
	font-family: Dayrom, serif;
	font-size: 12px;
	margin-top: 5px;
	font-weight: normal;
	color: black;
	margin-left: 10px;
}

h3
{
	font-family: Dayrom, serif;
	font-size: 0.8em;
	margin-top: 5px;
	font-weight: normal;
	color: white;
	margin-left: 10px;
}

h4
{
	font-family: Dayrom, serif;
	font-size: 2em;
	margin-top: 0px;
	font-weight: bold;
	color: red;
	margin-left: 50px;
}

a img {
  border: 0; /* sous IE, supprimer la bordure bleue*/
}

/* Corps */

#bloc_titre, #bloc_1, #bloc_2, #bloc_2fill, .bloc_nav, #emptybloc_nav, #emptybloc_1, #emptybloc_2, .blocanime_1, .blocanime_2, .blocanime_3, #bloc_video
{
  display: inline-block;
  vertical-align: top;
  border: 1px solid grey;
  overflow: hidden;
  margin-top: 2px;
  margin-bottom: 2px;
}

#bloc_titre, #bloc_1, .bloc_nav, #emptybloc_nav, #bloc_foot, #emptybloc_1, #img1, #img_loop, .blocanime_1, .blocanime_3
{
  font-family: Dayrom, serif;
  text-align: center;
  width: 120px;
  height: 120px;
}

#bloc_2, #bloc_2fill, #emptybloc_2, #img2, .blocanime_2
{
	font-family: Georgia, serif;
	color: white;
	font-size:14px;
	text-align: left;
	width: 247px;
	height: 120px;
}

#bloc_video
{
	font-family: Georgia, serif;
	color: white;
	font-size:14px;
	text-align: center;
	width: 246px;
	height: 183px;
}

#bloc_titre
{
	background: #c62bd3;
	opacity: 0.1;
}

#bloc_1, #bloc_2/*, #bloc_radio1*/
{
	background: #6e6053;
	opacity: 0.8;
}

#emptybloc_nav
{
	background: #597693;
	opacity: 0.2;
}

#emptybloc_1, #emptybloc_2
{
	background: #6e6053;
	opacity: 0.4;
}

#bloc_2fill, .blocanime_3
{
	background: #7e8f99;
	opacity: 0.9;
}

.blocanime_1, .blocanime_2
{
	background: black;
	opacity: 0.1;
}

#bloc_foot, #bloc_foot_2
{
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  margin-top: 2px;
  margin-bottom: 2px;
  background: #e1e1d4;/*#9c9fa0;*/
  opacity: 0.7;
  border: 0px;
  border-radius: 20px / 10px;
}

#bloc_foot_2
{
  box-shadow: 6px 6px 6px black inset;
  width: 255px;
  height: 120px;
}

#foot_select
{
	margin-left: 10px;
	margin-top: 1px;
}

#foot_play
{
	margin-left: 10px;
	margin-top: 1px;
}

#foot_ad
{
	margin-left: 250px;
	margin-top: 1px;
}

/* Pied de page */
#foot
{
  width: 884px;
  height: 27px;
}

/* page de selection des mots de passe */
#mdp1
{
	 position: absolute;
	 top: 60px;
	 left: 445px;
}

#pwd1
{
	 position: relative;
	 top: -70px;
	 left: 5px;
}

	
/* Nouvelles règles si la fenêtre fait au plus 800px de large*/
@media screen and (max-device-width: 800px) {
	#bloc_page
	{
		margin-top:50px;
	}
	
	#bloc_foot_2
	{
		box-shadow: 6px 6px 6px black inset;
		width: 220px;
		height: 120px;
	}

}

/* Nouvelles règles si la fenêtre est en mode portrait*/
@media screen and (orientation: portrait) {
	 #bloc_page {
			-ms-transform: rotate(90deg); /* IE 9 */
			-webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
			transform: rotate(90deg);
	}
}

/*
#avertissement {
	display: none;
}
 @media only screen and (orientation:portrait) {
#bloc_page {
	display: none;
}
#avertissement {
	display: block;
}
}
 @media only screen and (orientation:landscape) {
#avertissement {
	display: none;
}
}
*/
