@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro');
@import url('https://fonts.googleapis.com/css?family=Ubuntu');

@font-face {
    font-family: 'topaz';
    src: url(polices/topaz1200dmg.eot);
    src: url(polices/topaz1200dmg.ttf) format('truetype');
}

/* Réglages généraux */

body {
    font-family: 'arial';
    background-image: url('images/nass.png');
    background-color: #ddd;
    background-position: right bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: rgb(30, 30, 30);
    margin: 0;
    height: 100vh;
    
}

#contenu {
    margin-left: 191px;
    max-width: 961px;
    padding-top: 20px;
}

#contenu h1 {
    margin-top: 0;
}

h1,
h2,
h3 {
    text-transform: uppercase;
    font-family: 'Ubuntu', sans-serif;
}

h2 {
    font-size: 1.4em;
}

h3 {
    font-size: 1em;
    margin-top: 2em;
}

a {
    color: #8c2020;
}

p,
li {
    line-height: 1.3em;
}

li {
    list-style-image : url(images/dot.gif);
}

table td {
    padding-right: 20px;
}

#participants > tbody > tr > td:nth-child(2) {
    text-transform: uppercase;
}

/* menu */

nav {
    position: fixed;
    top: 0;
    width: 165px;
    z-index: 1;
    height: 100vh;
    background-color: white;
}

nav a[href*="nass-4a.org"] {
    padding: 0;
    background-color: white;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a,
nav h2 {
    display: block;
    font: bold 14px 'arial', 'helvetica', sans-serif;
    margin: 0;
    color: #FFF;
    background: #999;
    text-transform: uppercase;
    padding: 3px 3px;
}

nav h3 {
    display: block;
    font: bold 8px 'arial', 'helvetica', sans-serif;
    margin: 0;
    padding: 3px 3px;
}

nav a {
    color: rgb(30, 30, 30);
    background: #efefef;
    text-decoration: none;
}

nav a:hover {
    color: #8c2020;
    background: #fff;
}

nav li {
    position: relative;
}

nav ul ul ul {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
}

nav ul ul ul,
nav ul ul li:hover ul ul {
    display: none;
}

nav ul ul li:hover ul,
nav ul ul ul li:hover ul {
    display: block;
}

nav #don {
    margin-top: 30px;
    text-align: center;
}

code {
    font-size: 1em;
}

/* Formulaire de réservations */

form table {
    border: solid 4px #999;
}

form table td {
    padding: 10px;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="file"],
input[type="submit"],
input[type="password"],
select,
textarea {
    padding: 8px;
    border-radius: 0;
    font-family: 'Arial';
    border: 1px solid #999;
    width: 300px;
    font-size: 16px;
    vertical-align: middle;
}

input[type="checkbox"], input[type="radio"] {
    vertical-align: middle;
}

/* Participants */

#participants {
    width: 100%;
    border: solid 4px #999;
    padding: 10px;
    text-align: center;
}


/* Actualités (NEWS) */

.actu {
    border: 0;
    border-left: 4px solid #999;
    margin: 50px 0;
    border-collapse: collapse;
}

.actu tr:first-child {
    background-color: lightgray;
}

.actu h2 {
    margin: 0;
}

.actu img[src*="-2"], .actu img[src*="-1"] {
    margin-right:14px;
}

.actu .publication {
    font-style: italic;
    text-align: right;
}

.actu td {
    padding: 10px;
}

/* Tombinoscope */

.trombi {
    border: 0;
    margin: 50px 0;
}

.trombi img {
    width: 160px;
    height: 128px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px;
}

.trombi td p {
    width: 50%;
    display: inline-block;
    vertical-align: middle;
}

.trombi img[src="images/nass_logo.png"] {
    opacity: 0.5;
}

.trombi td {
    padding: 10px;
    width: 50%;
    text-align: left;
}

/* Boutique */

#boutique td {
    padding: 10px;
}

