/*----------------*/
/*-----HTML 5-----*/
/*----------------*/

*:focus{
    outline: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary{
    display: block;
}

audio,
canvas,
video{
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

audio:not([controls]){
    display: none;
    height: 0;
}

[hidden]{
    display: none;
}

/*--------------*/
/*-----BASE-----*/
/*--------------*/

html{
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body{
    margin: 0;
}

a:focus{
    outline: thin dotted;
}

a:active,
a:hover{
    outline: 0;
}

/*--------------------*/
/*-----TYPOGRAPHY-----*/
/*--------------------*/

h1, h2, h3, h4, h5, h6{
	padding: 0;
	margin: 0;
}

abbr[title]{
    border-bottom: 1px dotted;
}

dfn{
    font-style: italic;
}

p,
pre{
	padding: 0;
	margin: 0;
}

pre{
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

q{
    quotes: none;
}

q:before,
q:after{
    content: '';
    content: none;
}

sub,
sup{
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

/*---------------*/
/*-----LISTS-----*/
/*---------------*/

dl,
menu,
ol,
ul{
	padding: 0;
	margin: 0;
}

nav ul,
nav ol{
    list-style: none;
    list-style-image: none;
}

/*--------------*/
/*----EMBED-----*/
/*--------------*/

img{
    -ms-interpolation-mode: bicubic;
}

svg:not(:root){
    overflow: hidden;
}

/*--------------*/
/*----FORMS-----*/
/*--------------*/

legend{
    white-space: normal;
}

button,
input,
select,
textarea{
    font-size: 100%;
    vertical-align: baseline;
    *vertical-align: middle;
}

button,
input{
    line-height: normal;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"]{
    -webkit-appearance: button;
    cursor: pointer;
    *overflow: visible;
}

button[disabled],
input[disabled]{
    cursor: default;
}

input[type="checkbox"],
input[type="radio"]{
    box-sizing: border-box;
}

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-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

textarea{
    overflow: auto;
    vertical-align: top;
}

/*--------------*/
/*----TABLES----*/
/*--------------*/

table{
    border-collapse: collapse;
    border-spacing: 0;
}
