/* http://meyerweb.com/eric/tools/css/reset/ 
v2.0 | 20110126
License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*** fin reset debut page ***/

body { 
    font-size: 1em;
    font-family: Helvetica,Arial,sans-serif;
    line-height: 1.6em;
}

nav{
    position:fixed;
    background: #777;
    width:100%;
    top:0px;
    font-size: 1.4em;
    z-index: 3;
}

nav > ul{
    width:800px;
    margin: 0px auto;
    height: 40px;
    background: linear-gradient(#6b6b6b, #030207);
}

nav > ul > li{
    float:left;
    font-weight: bold;
    list-style-type: none;
}


main{
    clear: both;
    width:800px;
    margin: auto;
    background-image: url(../images/entreprse-affaire-business-informatique-ordinateur-stylo-images-gratuites-1560x1044.jpg);
    min-height: 1500px;
}
section{
    margin: 40px auto 0 auto;
    padding-bottom: 40px;
}
section h2{
    margin: 10px 0px;
    background-color: darkkhaki;
    height:50px;
    font-size: 2em;
    padding: 5px;
    text-shadow: 4px 4px 3px #777;
}
article, .menu_liste{
    background: rgba(255, 255, 255, 0.8);
    padding: 30px;
    font-size: 1.3em;
    text-align: justify
}

nav ul li a{
    display: block;
    text-decoration: none;
    color:white;
    width:140px;
    height:35px;
    text-align: center;
    padding-top: 5px;
}

nav ul li:hover a{
    background: rgba(255, 255, 255, 0.2);
    color:white;
    width:140px;
    height:35px;

}

dl{
    list-style-type: square;
    margin-left: 40px;
    margin-top:10px;
}
dd{
    margin-left: 10px;
    font-style: italic;
    font-size: 0.9em;
}

.lien{
    color:saddlebrown;
    text-decoration: none;
    font-weight: bolder;
}
.lien:hover{
    color:black;
}

footer{
    background: #777;
    height:50px;
    font-size: 0.85em;
    box-shadow: 1px -4px 10px 2px #222;
    position:fixed;
    bottom:0px;
    width:100%;
    z-index: 3;
}
footer aside{
    width:800px;
    margin: auto;
    text-align: center;
}
footer a{
    color:darkkhaki;
    text-decoration: none;
}
.italique{
    font-style: italic;
}

#logo_dev-tec{
    background-image: url(../images/logo_devtec4.png);
    background-repeat: no-repeat; 
    height:40px;
}
.logoflotte{
    /*float:left;*/
    vertical-align: bottom;
    margin-right :5px;
}

.flotte{
    float:left;
    width:300px;
    margin:20px;
}

#accueil h3{
    font-weight: bold;
}

#cv article{
    margin-top: 5px;
    clear:both;
    min-height: 350px;
}

#cv p{
    margin: 10px;
}
#cv i{
    margin-right: 5px;
}
#cv strong{
    font-weight: bold;
}

#cv h3, #contact h3{
    position:relative;
    top:-10px;
    left:-40px;
    background-color: black;
    color:white;
    height:30px;
    padding-left: 50px;
    z-index: 1;
}
/***************************** Contact ***********************************/
.alignement{
    vertical-align:middle;
}

#contact article ul li{
    height:60px;
    font-size: 1em;
}



/***************************** Le portfolio ***********************************/

#cv .portfolioClass{
    position:relative;
    width:600px;
    margin: 5px auto;
    
}
#cv .explication{
    position:absolute;
    top:0px;
    left:0px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.8);
    visibility: hidden;
    color:black;
    z-index:2;
}

#cv .portfolioClass:hover .explication{
    visibility: visible;
    width:570px;
    height:308px;
    
}



#cv .portfolioClass h4{
    font-weight:bolder;
}

#cv .portfolioClass a{
    display:block;
    width:250px;
    text-decoration: none;
    background-color: grey;
    color:black;
    margin-right: auto;
    margin-left: auto;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}
#cv .portfolioClass a:hover{
    color:lightgrey;
}

#cv .portfolioClass h5{
    font-size: 15px;
    color:gray;
}

em{
    font-style: italic;
}

mark { 
    background-color:yellow;
    color:black;
}

#contact .erreur{
    color:red;
}

#contact form + aside{
    height:50px;
}

#contact input[type=text],#contact input[type=mail] {
    width:80%;
}
#contact textarea{
    width:80%;
    height:150px;
    resize: none;
}
#contact li{
    margin-left: 20px;
    margin-top: 5px;
}
#prevue{
    border:1px solid black;
}

/******************* bidouille *********************/
#bidouille article{
    margin-top: 5px;
    min-height: 50px;
}

/*fenêtre modale*/
#fond {
    position:absolute;
    z-index:9000;
    background-color:#000;
    display:none;
    border-radius: 10px;
}

.popup {
    position:fixed;
    width:440px;
    height:200px;
    display:none;
    z-index:9999;
    padding:20px;
    border-radius: 10px;
    background-color: white;
    border: 1px solid grey;
}

#modal {
    width:300px;
    height:200px;
}

@media screen and (max-width: 800px) {

    nav > ul >li{
        display: block;
        float: left;
        width:100%;


    }
    nav ul li a{
        width:100%;
    }

    nav > ul{
        width:100%;

    }

    ul li a{
        width:100%;

    }

    nav ul li a:hover{
        width:100%;
    }

    main{
        width:100%;
    }

    section{
        margin-top: 200px;
        width:100%;
    }

    footer aside{
        width:100%;
    }

}
