/* 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-face
{
    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('images/fondtotal.jpg'); 
	background-attachment: fixed;
    font-family:  Arial,'Trebuchet MS', sans-serif;
    color: #181818;
}

#bloc_page
{
    width: 890px;
    margin: auto;
	background-color: rgb(24,24,24); /* Pour les anciens navigateurs */
    background-color: rgba(240,240,240,0.8);
	border: 10px solid #ffffff;
	border-radius: 20px;
}

@media all and (max-width: 1024px)
{
	#bloc-page
	{
		width: auto;
	}
}

section h1, nav a, list a
{
    font-family: Dayrom, serif;
    font-weight: normal;
    text-transform: uppercase;
}
section footer h1
{
    font-family: Dayrom, serif;
    font-weight: normal;
    text-transform: uppercase;
	text-align: center;
}

/* Header */

header


#titre_principal
{
    display: inline-block;
}

header h1
{
    font-family: 'BallparkWeiner', serif;
    font-size: 1.2em;
    font-weight: normal;
}

#logo, header h1
{
    display: inline-block;
    margin-bottom: 0px;
}

header h2
{
    font-family: Dayrom, serif;
    font-size: 0.9em;
    margin-top: 0px;
    font-weight: normal;
}

/* Navigation */
#hospices
{
    position: absolute;
    top: -250px;
    right: -80px;
}

nav
{
    display: inline-block;
	width: 990px; height: 30px;
    text-align: center;
}

nav ul
{
    list-style-type: none;
}

nav li
{
    display: inline-block;
    margin-right: 0px;
}

nav a
{
    font-size: 0.8em;
    color: #181818;
    padding-bottom: 3px;
    text-decoration: none;
}

nav a:hover
{
    color: #760001;
    border-bottom: 3px solid #760001;
}

/* Bannière */

#banniere_image
{
    margin-top: 30px;
	height: 180px;
    border-radius: 5px;
    position: relative;
    box-shadow: 0px 4px 4px #1c1a19;
    margin-bottom: 15px;
}

@media all and (max-width: 1024px)
{
	#banniere_image
	{
	display: none;
	}
}


/* Corps */
table
{
    border-collapse: collapse; /* Les bordures du tableau seront collées */
}
td
{
    font-size: 0.8em;
	border: 1px solid black;
	text-align: left;
	padding: 10px;
}

article, aside
{
    display: inline-block;
    vertical-align: top;
    text-align: left;
}

@media all and (max-width: 1024px)

{	
	
	article, aside
	{
	width: auto;
	display: block;
	margin-bottom: 15px;
	font-size: 1.0em;
	}
	
article
{
    width: 880px;
    margin-right: 5px;
	padding: 10px;
}


article p
{
    font-size: 1.0em;
}


#fleche
{
    position: absolute;
    top: 30px;
    left: -48px;
}
aside
{
    position: relative;
    width: 0px;
    background-color: #a8aca8;
    box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 5px;
    padding: 10px;
    color: white;
    font-size: 0.9em;
}
aside a
{
    font-size: 0.8em;
    color: #181818;
    padding-bottom: 3px;
    text-decoration: none;
}
aside a:hover
{
    color: #760001;
    border-bottom: 3px solid #760001;
}
ul a
{
    font-size: 0.8em;
    color: #181818;
    padding-bottom: 3px;
    text-decoration: none;
}
ul a:hover
{
    color: #760001;
    border-bottom: 3px solid #760001;
}

#photo_archives
{
    margin-left: 0px; 
}

#photo_archives img
{
    border: 0px solid #181818;
}
#photo_bibliotheques
{
    margin-left: 0px; 
}

#photo_bibliotheques img
{
    border: 0px solid #181818; 
}
#photo_collections
{
    margin-left: 0px; 
}

#photo_collections img
{
    border: 0px solid #181818; 
}
aside img
{
    margin-left: 30px;
	
}


/* Footer */
footer
{
    position: absolute;
    width: 800px; height: 30px;
    background-color: transparent;
    border-radius: 5px;
    padding: 0px;
    color: black;
    font-size: 0.6em;
	text-align: center;
	}
}
