/*
 * cSans v1.2.2
 *
 * 2012 Copyright A navalla suíza http://anavallasuiza.com
 * cSans is released under the GNU Affero GPL version 3 - more information at http://www.fsf.org/licensing/licenses/agpl-3.0.html
 *
 * Some code has been extracted from http://necolas.github.com/normalize.css/ (thank you)
*/

/* 1. ROOT ELEMENTS */
html {
	height:100%;
	font-size:100%;
}
html,body {
	margin:0;
	padding:0;
	border:0;
}
body {
	font-family:sans-serif;
	font-size:12pt;
	line-height:1.4;
	text-align:left;
	color:#000;
	text-rendering:optimizeLegibility;
}

/* 2. BLOCK ELEMENTS */
/* 2.1 Generic */
audio,canvas,iframe,img,object,embed,video,
address,article,aside,blockquote,details,div,figcaption,figure,
footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,nav,p,pre,section,summary {
	margin:0;
	padding:0;
	border:none;
	display:block;
	font-size:1em;
	outline:none;
}
address { font-style:normal; }
blockquote { margin-left:1.5em; }
svg:not(:root) { overflow:hidden; }
hr {
	height:1px;
	background:none;
	border-top:1px solid #000;
}
[hidden] {
	display:none;
	visibility:hidden;
}

/* 2.2. Titles */
h1,h2,h3,h4,h5,h6 {
	font-weight:bold;
	line-height:1.1;
	margin:1em 0 0.5em 0;
}
header h1,header h2,header h3,header h4,header h5,header h6,
hgroup h1,hgroup h2,hgroup h3,hgroup h4,hgroup h5,hgroup h6 {
	margin:0;
}
h1 { font-size:2em; }
h2 { font-size:1.6em; }
h3 { font-size:1.2em; }
h4,h5,h6 { font-size:1em; }


/* 3. INLINE-BLOCK ELEMENTS */
audio,canvas,iframe,img,object,embed,video {
	display:inline-block;
}
audio:not([controls]) {
	display:none;
}
img {
	vertical-align: middle;
	border: 0;
}


/* 4. INLINE ELEMENTS */
a,abbr,b,cite,code,command,del,dfn,em,i,ins,kbd,mark,meter,q,
samp,small,span,strong,sub,sup,time,var {
	margin:0;
	padding:0;
	border:0;
	display:inline;
	font-size:1em;
}
em,dfn,i { font-style:italic; }
strong,b { font-weight:bold; }
small,sub,sup { font-size:0.75em; }
mark { background-color:#FF0; }
abbr[title],dfn[title] {
	border-bottom:1px dotted;
	cursor:help;
}
mark {
	background:#FF0;
	color:#000;
}

/* 4.1 Sub and sup elements */
sub,sup {
	font-size:75%;
	line-height:0;
	position:relative;
	vertical-align:baseline;
}
sup { top:-0.5em; }
sub { bottom:-0.25em; }

/* 4.2 Quote elements */
blockquote, q {quotes:none;}
blockquote:before,blockquote:after,q:before,q:after {
	content:"";
	content:none;
}


/* 5. FORMS */
form,fieldset,legend {
	margin:0;
	padding:0;
	border:0;
	display:block;
}
button,datalist,input,keygen,label,
optgroup,option,output,select,textarea {
	font-size:100%;
	line-height:1.2;
	font-family:inherit;
}
legend {
	font-weight:bold;
	border:0;
}
input { overflow-y:visible; }
button,input,select,textarea {
	box-sizing:border-box;
	margin:0;
	vertical-align: middle;
}
textarea {
	width:12em;
	height:4em;
	overflow-y:auto;
	vertical-align:top;
	resize:vertical;
}
button,input { line-height:normal; }
button,input[type="button"],input[type="reset"],input[type="submit"] {
	cursor:pointer;
	width:auto;
	overflow:visible;
}
input[type="checkbox"],input[type="radio"] { padding:0; }


/* 6. LISTS */
ol,ul,dl,dt,dd {
	margin:0;
	padding:0;
}
ol,ul,dd { margin-left:1.5em; }
dt { font-weight:bold; }
ol { list-style-type:decimal; }
ul { list-style-type:disc; }


/* 7. TABLES */
table {
	margin:0;
	padding:0;
	border-collapse:collapse;
	border-spacing:0;
}
caption,th { font-weight:bold; }
th,td {
	text-align:left;
	padding:0;
	border:1px solid #CCC;
}


/* 8 MONOSPACE ELEMENTS */
pre,code,kbd,samp {
	font-family:"Courier new",Courier,monospace;
	line-height:1.5;
	white-space:pre;
}
pre {
	white-space:pre;
	white-space:pre-wrap;
	white-space:pre-line;
	word-wrap:break-word;
}


/* 9. HACKS AND VENDOR PREFIXES */
button,input,select,textarea {
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}
textarea {
	-webkit-appearance:textfield;
	-moz-appearance:textfield;
}

/* Unifique the appearance of inputs and textareas */
input[type="search"]::-webkit-search-decoration { -webkit-appearance:none; }
button::-moz-focus-inner,input::-moz-focus-inner {
	border:0;
	padding:0;
}
button,html input[type="button"],input[type="reset"],input[type="submit"] {
	-webkit-appearance:button;
}
button::-moz-focus-inner,input::-moz-focus-inner {
	border:0;
	padding:0;
}
