/* 
    Document   : reset
    Author     : cmorfin
*/

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, font, 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 {
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
    margin: 0;
    outline: 0 none;
    padding: 0;
    vertical-align: baseline;
    font-weight:normal;
}




/* Html 5 =================================================================== */

div, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary
{
    display: block;
}

audio, canvas, video{ display: inline-block; }

[hidden] {
    display: none;
}





/* Base ===================================================================== */

/* 
 *  1- ajustement de la taille pour l'utilisation des unités em.
 *  2- ajuste la taille du texte après le changement d'orientation d'un mobile.
 *  3- améliore le lissage des police sous webkit.
 */

html {
    height: 100%;
    font-size: 100%;        /* 1 */
    -webkit-text-size-adjust: 100%;     /* 2 */
    -ms-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;    /* 3 */
    
}




/* Typography =============================================================== */

b, strong {font-weight: bold;}

blockquote, q {quotes: none;}
blockquote:before, blockquote:after, q:before, q:after {content: none;}

dfn { font-style: italic; }

ins { text-decoration: none; }

mark{font-style: italic; font-weight: bold;}

del { text-decoration: line-through; }

/*abbr[title], dfn[title]{ cursor:help; }*/

/* 
 *  exposant inferieur et superieur
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub { bottom: -0.25em; }
sup { top: -0.5em; }

textarea,
table,
td,
th,
code,
samp,
div,
p {
    word-wrap: break-word;
}




/* table ==================================================================== */


table {
    border-collapse: collapse;
    border-spacing: 0;
}

td { vertical-align: top; }





/* formulaire =============================================================== */


form { margin: 0; }

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/* 
 *  1- corrige le style cliquable sur iOS
 */

input[type="button"],
input[type="submit"],
input[type="reset"],
button {
    cursor: pointer;
    -webkit-appearance: button;         /* 1 */
}

label{ cursor: pointer; }

/* 
 *  1- taille des box sous ie8/9
 *  2- correction du padding sous ie8/9
 */
 
input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}

button,
input,
select,
textarea{
    font-size: 1em;
    vertical-align: baseline;
}

button,
input { line-height: normal; }

textarea {
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}

button[disabled],
input[disabled] { cursor: default; }



/* 
 *  champs de recherche
 */
 
input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}




/* autres =================================================================== */

a img {border: 0;}

:focus { outline: 0 none; }

caption, th {text-align: left;}

img{
    border: 0;
    vertical-align: middle;
}

em {font-style: italic;}

ol, ul {list-style: none outside none;}

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

code,
samp {
    white-space: pre-wrap;
}
