/* #### HTML / BODY / FOOTER / AUTRES #### */
html {
    background: url("../images/fond.jpg");
}

body {
    width: 90%;
    margin: 10px auto;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-family: 'K2D', sans-serif;
}

footer {
    width: 100%;
    padding: 19px 0;
    text-align: center;
    background-color: #000c00;
}


a {
    color: #ffffff;
    text-decoration: none;
}

p {
    text-align: justify;
    line-height: 24px;
}



/* #### NAV #### */
nav {
    position: fixed;
    width: 90%;
}
nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-evenly;
}
nav li {
    width: 260px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    list-style-type: none;
}
nav a {
    display: block;
    cursor: pointer;
    background-color: #000000;
}
nav li:hover .sous-menu {
    display: block;
}
nav .sous-menu {
    display: none;
    z-index: 10;
    position: relative;
}
nav .sous-menu li {
    border: 2px solid transparent;
    width: 100%;
}

nav a:hover {
    color: #47b447;
}
nav a:active {
    background-color: #9b9b9b;
    color: #000000;
}



header .bandeau {
    width: 100%;
    margin-bottom: -4.5px;
}



main {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    padding-top: 30px;
    background-color: #001500;
}





/* #### RUBRIQUE GAUCHE #### */
aside.rubriques_gauche {
    width: 30%;
}

.evenement {
    padding-bottom: 5px;
    background-color: #ffffff;
    color: #000000;
}
.evenement h2 {
    margin: 0;
    font-size: 30px;
    text-align: center;
}
.evenement h2::before {
    content: url("../images/tee-mini.jpg");
    margin-right: 10px;
}
.evenement img.club {
    width: 100%;
}
.evenement h3 {
    margin: 0;
    text-align: center;
}
.evenement p {
    margin: 20px;
    margin-bottom: 10px;
}

.inscription {
    margin-top: 20px;
    text-align: center;
    font-size: 30px;
    background-color: #001500;
}
.inscription a {
    text-decoration: underline solid #ffffff;
}




/* #### RUBRIQUE DROTE #### */
section.rubriques_droite {
    width: 56%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.bienvenue {
    width: 100%;
    height: 290px;
    background: url("../images/bienvenue.jpg") bottom;
    background-size: cover;
}

h1 {
    margin: 0;
    margin-top: 5px;
    font-size: 30px;
    text-align: center;
    text-shadow: 0 0 8px #000000;
}

article {
    width: 45%;
    font-size: 19px;
}
article h2 {
    padding: 5px 0;
    font-size: 22px;
    text-transform: uppercase;
    background-color: #000c00;
}
article li {
    margin-left: -5px;
    padding-left: 5px;
    list-style-type: none;
    list-style-image: url("../images/fleche.gif");
    text-decoration: underline solid #ffffff;
}

.nos-services h2 {
    margin-bottom: 0;
}
.nos-services img {
    width: 100%;
}

article.a_la_une p {
    padding: 0 10px;
    text-align: justify;
}









/* #### PAGE CONTACT #### */

.contact {
    width: 700px;
    display: block;
    margin-bottom: 60px;
    margin-left: 40px;
    padding: 0 30px;
    color: #000000;
    background-color: #ffffff;
    border-radius: 20px;
    border: 1px solid #000000;
}

form {
    margin-left: 20px;
}
form p {
    margin: 10px 0;
}

fieldset {
    border: 3px solid #000000;
    border-radius: 15px;    
}
fieldset input:nth-last-child(2) {
    margin-left: 160px;
}

label:not(fieldset label) {
    display: inline-block;
    width: 250px;
    vertical-align: top;
}

input:not(input[type=reset], input[type=submit], input[type=file]) {
    border-top: 3px solid #9b9b9b;
    border-left: 3px solid #9b9b9b;
}

input:not(fieldset input), select, textarea {
    width: 350px;
    padding: 4px;
    border-radius: 6px;
    background-color: #001500;
    color: #ffffff; 
}

select {
    border-radius: 1px;
}

textarea {
    padding: 10px;
}

input[type=file] {
    padding: 6px;
}

input[type=reset], input[type=submit] {
    width: auto;
    cursor: pointer;
    border-top: 3px solid #e9e9e9;
    border-left: 3px solid #e9e9e9;
    border-right: 3px solid #9b9b9b;
    border-bottom: 3px solid #9b9b9b;
}

form input:focus:not(input[type=radio], [type=file]),
form textarea:focus,
select:focus {
    background-color: #ffffff;
    color: #000000;
}
select:focus {
    box-shadow: 0 0 2px 1px #0080ff;
}





aside.maps {
    margin-top: -30px;
    margin-right: 5px;
    overflow: hidden;
}

figure {
    margin: 0;
}

.maps h2 {
    text-align: center;
    cursor: pointer;
}



#ifrm1 {
    width: 400px;
    height: 300px;
    position: relative;
    left: 400px;
    opacity: 0;
    transition: all 0.6s linear 2s;
}

#trig1:hover + iframe {
    opacity: 1;
    left: 0;
    transition: all 0.6s linear;
}









/* MISE EN PAGE GRANDS ECRANS */
@media screen and (min-width: 1500px) {
    body, nav {
        width: 1300px;
    }
}


@media screen and (max-width: 1400px) {
#main-contact {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}
.maps {
    margin-bottom: 50px;
}

#ifrm1 {
    width: 400px;
    height: 300px;
    position: relative;
    top: 600px;
    left: 50%;
    opacity: 0;
    transition: all 0.6s linear 2s;
}
#trig1:hover + iframe {
    opacity: 1;
    top: 0;
    left: 50%;
    transform:translatex(-50%);
    transition: all 0.6s linear;
}
}



/* MISE EN PAGE PETITS ECRANS */
@media screen and (max-width: 1000px) {
    body, nav {
        width: 100%;
    }
    body {
        margin: 0;
        border: none;
    }
    
    main {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        padding: 30px;
    }

    nav {
        width: 100%;
    }
    aside.rubriques_gauche {
        width: 100%;
        order: 2;
    }
    .inscription {
        margin-bottom: 20px;
    }
    section.rubriques_droite {
        width: 100%;
        order: 1;
    }

    .contact {
        width: 90%;
        margin-left: 0;
    }
}


@media screen and (max-width: 700px) {
    nav {
        position: relative;
    }
    nav ul {
        display: flex;
        flex-flow: row wrap;
    }
    nav li {
        width: 100%;
    }
    nav .sous-menu li {
        border: 1px solid #fff;
    }

    main {
        padding: 10px;
            }

    article {
        width: 100%;
    }

    fieldset {
        display: flex;
        flex-flow: row nowrap;
        width: 90%;
    }
}