/* 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-color: rgb(150,150,150);
    font-family: 'Trebuchet MS', Arial, sans-serif;
    color: #181818;
}

#bloc_page
{
    width: 820px;
    margin: auto;
	background: url('images/fond_jaune.png');
}

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

/* Header */

header
{
    background: url('images/separateur.png') repeat-x bottom;
}

#titre_principal
{
	padding-top:10px;
	padding-left:10px;
}

header h1
{
    font-family: Impact, "Comic sans MS", 'BallparkWeiner', serif;
    font-size: 2.5em;
    font-weight: normal;
}

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


/* Navigation */

nav
{
    display: inline-block;
	border: 3px blue ridge;
	border-radius: 16px;
    width: 794px;
    text-align: center;
	margin-left:10px;
	font-size: 0.93em;
}

mark
{
    background-color: #e0b060;
	padding-left:10px;
	padding-right:10px;
	border-radius:3px;
}

nav ul
{
    list-style: none;
	margin:10px;
	padding-left:0px;		/* annule le décalage par défaut de la lidte */
}


nav li
{
    display: inline-block;
	background-color:#F9E7AB;
	border-radius : 3px;
	padding-right:10px;
	padding-left:10px;
}

#mark
{
    display: inline-block;
	background-color:#F9E7AB;
	border-radius : 3px;
	padding-right:0px;
	padding-left:0px;
}

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


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

/* Bannière */

#banniere_image
{
    margin-top: 15px;
	margin-left:1px;
    height: 220px;
    border-radius: 5px;
    background: url('images/banniere_CITr.png') no-repeat;
    position: relative;
    box-shadow: 1px 4px 4px #1c1a19;
    margin-bottom: 25px;
}

#banniere_description
{
    position: absolute;
    bottom: 0;
    border-radius: 0px 0px 5px 5px;
    width: 99.1%;
    height: 30px;
    padding-top: 15px;
    padding-left: 8px;
    background-color: rgb(24,24,24); /* Pour les anciens navigateurs */
    background-color: rgba(24,24,24,0.7);
    color: white;
    font-size: 0.8em;
}

.bouton_rouge
{
    display: inline-block;
    height: 25px;
    position: absolute;
    right: 6px;
    bottom: 6px;
    background: url('images/fond_degraderouge.png') repeat-x;
    border: 1px solid #760001;
    border-radius: 5px;
    font-size: 1.2em;
    text-align: center;
    padding: 3px 8px 0px 8px;
    color: white;
    text-decoration: none;
}


/* Corps */
section
{
	position: relative;
}

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

}

article
{
	width: 470px;
    margin-right: 10px;
	margin-left:10px;
}

article h1
{
	text-align: left;
}

.ico_categorie				/* Puce ronde :"seconde CIT" */
{
    vertical-align: middle;
    margin-right: 8px;
	float: left;
}

article p
{
    font-size: 1em;
}

#boitesCSS 
{
	background: url('images/boitesCSS_mini.png') no-repeat center;
	margin: 0px;
	padding: 0px;
	height: 95px;
}

#boitesCSS:hover
{
	background: url('images/boitesCSS.png') no-repeat center;
	margin: 0px;
	padding: 0px;
	height: 493px;
}

aside
{
	margin: 0px;
	padding: 0px;
    width: 325px;
}

#tampon_CIT
{
    text-align: center;
}

#margin
{
	background: url('images/memento.png') no-repeat center;
	background-repeat:no-repeat;
	margin: 0px;
	padding: 0px;
    width: 325px;
	height: 540px;
}

#margin:hover
{
	background: url('images/margin-paddingr.png')no-repeat center;
	margin: 0px;
	padding: 0px;
    width: 325px;
	height: 540px;
}

#memento
{
    display: inline-block;
	margin: 32px;
	padding:35px;
	margin-top:120px;
	background-color: #706b64;
	border-radius: 5px;
    box-shadow: 0px 2px 5px #1c1a19;
    color: white;
    font-size: 1em;
}
.imageflottante
{
	float: left;
}


/* Footer */

footer
{
    background:  url('images/ico_top.png') no-repeat top center, url('images/separateur.png') repeat-x top, url('images/ombre.png') repeat-x top;
    padding-top: 15px;
	padding-left:0px;
	font-size: 0.8em;
}

footer h1
{
    font-size: 1.1em;
}

#lycee, #mes_amis
{
    display: inline-block;
    vertical-align: top;
}

#lycee
{
    width: 40%;
	margin:5%;
	margin-top: 10px;
	margin-bottom: 0px;
}

#mes_amis
{
	margin-left: 5%;   
	width: 40%;
	margin-top: 0px;
	margin-bottom: 0px;	
}


