html, body {
    padding: 0px;
    margin: 0px;
    width: 800px;
    margin: 0 auto;
    font-family: "Comic Sans MS";
}

body {
    background: #F5F5F5;
}

@font-face {
    font-family: "katana";
    src: url('../police/a.ttf');
}

#header {
    margin: 0px;
    padding: 10px;
    text-align: center;
    position: relative;
    line-height: 10px;
    font-family: katana;
    color: #ec4d00;
    background-color: white;
}

#header h3 {
    font-family: "Arial";
}

#header #ffj {

    padding: 20px;
    margin: 0;
    position: absolute;
    height: 90px;
    top: 0px;
    right: 0;
}

#header #amcelogo {
    padding: 20px;
    margin: 0;
    position: absolute;
    height: 90px;
    top: 0px;
    left: 0;
}

/* centre le menu */
#animmenu, #animmenu ul {
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

/* met sur la meme ligne les sous menus*/
#animmenu li {
    display: inline-block;
    position: relative;
    border-radius: 8px 8px 0 0;
}

#animmenu ul li {
    display: inherit;
    border-radius: 0;
}

#animmenu ul li:hover {
    border-radius: 0;
}

#animmenu ul li:last-child {
    border-radius: 0 0 8px 8px;
}

#animmenu ul {
    position: absolute;
    z-index: 1000;
    max-height: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    -moz-transition: 1s all .3s;
    -webkit-transition: 1s all .3s;
    transition: 1s all .3s;
}

#animmenu li:hover ul {
    max-height: 30em;
}

/* background des menus */
#animmenu li:first-child {
    background-color: #002837;
    background-image:-webkit-linear-gradient(top, #000080 0%);
    background-image:linear-gradient(to bottom, #000080 0%);
}

#animmenu li:nth-child(2) {
    background-color: #002837;
    background-image: -webkit-linear-gradient(top, #000080 0%);
    background-image: linear-gradient(to bottom, #000080 0%);
}

#animmenu li:nth-child(3) {
    background-color: #002837;
    background-image: -webkit-linear-gradient(top, #000080 0%);
    background-image: linear-gradient(to bottom, #000080 0%);
}

#animmenu li:nth-child(4) {
    background-color: #002837;
    background-image: -webkit-linear-gradient(top, #000080 0%);
    background-image: linear-gradient(to bottom, #000080 0%);
}

#animmenu li:nth-child(5) {
    background-color: #002837;
    background-image: -webkit-linear-gradient(top, #000080 0%);
    background-image: linear-gradient(to bottom, #000080 0%);
}

#animmenu li:nth-child(6) {
    background-color: #002837;
    background-image: -webkit-linear-gradient(top, #000080 0%);
    background-image: linear-gradient(to bottom, #000080 0%);
}


/* background des liens sous menu */
#animmenu li:first-child li {
    background: #002837;
}

#animmenu li:nth-child(2) li {
    background: #002837;
}

#animmenu li:nth-child(3) li {
    background: #002837;
}

#animmenu li:nth-child(4) li {
    background: #002837;
}

#animmenu li:nth-child(5) li {
    background: #002837;
}

#animmenu li:nth-child(6) li {
    background: #002837;
}

/* background au survol */
#animmenu li:first-child:hover, #animmenu li:first-child li:hover {
    background:#002837;
}

#animmenu li:nth-child(2):hover, #animmenu li:nth-child(2) li:hover {
    background: #002837;
}

#animmenu li:nth-child(3):hover, #animmenu li:nth-child(3) li:hover {
    background: #002837;
}

#animmenu li:nth-child(4):hover, #animmenu li:nth-child(4) li:hover {
    background: #002837;
}

#animmenu li:nth-child(5):hover, #animmenu li:nth-child(5) li:hover {
    background: #002837;
}

#animmenu li:nth-child(6):hover, #animmenu li:nth-child(6) li:hover {
    background: #002837;
}

/* les href a */
#animmenu a {
    text-decoration:none;
    display:block;
    padding:9px 35px;
    color: #FFFFFF;
    font-family:arial;
}

#animmenu ul a {
    padding:8px 0;
}

#animmenu li:hover li a {
    color: #FFFFF;
    text-transform:inherit;
}

#animmenu li:hover a, #animmenu li li:hover a {
    color: white;
}

@-webkit-keyframes glisse {
    0% {transform: translateX(0)}
    12% {transform: translateX(0)}
    25% {transform: translateX(-800px)}
    37% {transform: translateX(-800px)}
    50% {transform: translateX(-1600px)}
    62% {transform: translateX(-1600px)}
    75% {transform: translateX(-2400px)}
    87% {transform: translateX(-2400px)}
    100% {transform: translateX(0)}
}

#slider {
    width: 800px;
    overflow: hidden;
    margin: 0 auto;
    border-top: 20px solid #F5F5F5;
}

#slides {
    width: 3200px;
    animation: glisse 20s infinite;
}

#slide {
    float: left;
}

#courdojo img {
    width: 800px;
}

#courinfos img {
    width: 500px;
}

#fdmedojo img {
    width: 800px;
}

#fdmeinfos img {
    width: 600px;
}

#ombreout {
    background-color: #C0C0C0;
    border: 1px solid gray;
    padding: 5px;
    box-shadow: 2px 2px 10px grey;
    display: block;
}

#horairescour {
    border: 1px solid grey;
    border-color: inherit;
    display: inline-block;
}

#horairescour td, #horairescour th{
    border : 1px solid grey;
}

#vide {
    background-color: lightgrey;
}

#horaires {
    text-align: center;
    font-size: 20px;
}

#lightblue {
    background-color: lightblue;
}

#tarifs {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

#tarifs img{
    width: 100%;
}

#sponsor {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

#sponsor img {
    width: 135px;
    margin: 29px;
}