html, body {
    height: 100%;
    width: 600px;
    font-family:Luxi Sans,Candara,Arial,Helvetica,sans-serif; 

}

html {
    display: table;
    margin: auto;
    font-size: 16px;
}

#main {
    color:#4b2d2c; 
    display: table-cell;
    vertical-align: middle;
    text-align: justify;
}

h1,h2 {
    font-family: serif;
}

h2 {
    font-size: 18px;
    margin-left: 20px;
}

#logo {
    width: 200px;
}

#news, .focus {
    padding: 10px;
    border: solid 1px;
    border-radius: 25px;
    background-color: #e3dbdbff; 
}

#banner {
    text-align: center;
    padding-bottom: 20px;
}

#nav {
    top:20px;
    margin-left: -250px;
    width: 230px;
    position: fixed;
}

a, a:hover, a:visited {
    text-decoration:none;
    color:#aa0000ff;
}

a.nav {
    color:#4b2d2c; 
	font-size:16px;
	padding-bottom:10px;
	padding-left:25px;
	background: transparent url("images/navNormal.png") top left no-repeat;
	height:25px;
}

.nav:hover {
    color:#aa0000ff;
	text-decoration:none;
	background: transparent url("images/navHover.png") top left no-repeat;
}

@media (max-width: 640px) {
	* {
		box-sizing: border-box;
	}
	
	/* passer body (et tous les éléments de largeur fixe) en largeur automatique */

	body {
		width: auto;
		margin: 0;
		padding: 10px;
	}

    html {
       display: block;
       font-size: 24px;
       -webkit-text-size-adjust: 100%;
       -ms-text-size-adjust: 100%;
    }

    #nav {
        top: 0px;
        margin-left: 0px;
        width: auto;
        position: relative;
    }
}
