/*
* cSans v1.0
* 2010 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
*/

/* 1. RESET */
/* 1.1 Root elements */
html,body {
	margin:0;
	padding:0;
	border:0;
	height:100%;
}
body {
	font-family:Helvetica,Arial,sans-serif;
	font-size: 12pt;
	line-height:1.25em;
	text-align:left;
	background:#FFF;
	color:#000;
}

/* 1.2 Block elements */
address,article,aside,audio,blockquote,canvas,details,div,embed,
figcaption,figure,footer,h1,h2,h3,h4,h5,h6,header,hgroup,iframe,
img,nav,object,p,pre,section,summary,video {
	margin:0;
	padding:0;
	border:none;
	display:block;
	font-size:1em;
	line-height:1.25em;
	outline:none;
}
blockquote { margin-left: 1em;}

/* 1.3 Inline elements */
a,abbr,b,cite,code,command,del,dfn,em,i,ins,kbd,mark,meter,
progress,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; }

/* 1.4 Forms */
form,fieldset,legend {
	margin:0;
	padding:0;
	border:0;
	display:block;
}
button,datalist,input,keygen,label,
optgroup,option,output,select,textarea {
	font-size:1em;
	line-height:1.25em;
	font-family:Helvetica,Arial,sans-serif;
}
fieldset { border:1px solid #CCC; }
legend { font-weight:bold; }
input {
	margin:0;
	overflow-y:visible;
	box-sizing: border-box;
}
textarea {
	width:400px;
	height:100px;
	overflow-y:auto;
	display:block;
	box-sizing: border-box;
}
select {
	margin:0;
	box-sizing: border-box;
}


/* 1.5 Lists */
ol,ul,dl,menu {
	display:block;
	margin:0;
	padding:0;
}
dd,ul,menu {
	margin-left:1em;
	list-style-type:disc;
}
ol {
	margin-left:1.5em;
	list-style-type:decimal;
}

/* 1.6 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;
}

/* 1.7 Monospace elements */
pre,code {
	font-family:"Courier New", Courier, monospace;
	line-height:1.5;
	white-space:pre;
}

/* 1.8 HR element */
hr {
	background:none;
	visibility:hidden;
	clear:both;
	float:none;
	width:100%;
	height:1px;
	border:none;
	margin:-1px 0;
}


/* 2. DEBUG */
.omg-red,.omg-yellow,.omg-blue,.omg-green,.omg-black,.omg-white { outline: dotted 1px; }
.omg-red { outline-color:red; }
.omg-yellow { outline-color:yellow; }
.omg-blue { outline-color:blue; }
.omg-green { outline-color:green; }
.omg-black { outline-color:black; }
.omg-white { outline-color:white; }


/* 3. ARTICLE STYLES */
/* 3.1. Titles */
article h1,article h2,article h3,article h4,article h5,article h6 {
	font-weight:bold;
	line-height:1em;
	margin:1em 0 0.5em 0;
}
article h1:first-child { margin-top: 0; }
article h1 { font-size:2em; }
article h2 { font-size:1.6em; }
article h3 { font-size:1.2em; }
article h4,article h5,article h6 { font-size:1em; }

/* 3.2 Block elements */
article address,article aside,article audio,article blockquote,article canvas,article details,
article dl,article embed,article figcaption,article figure,article form,article header,article hgroup,article iframe,article img,
article menu,article nav,article object,article ol,article p,article pre,article section,
article summary,article table,article ul,article video { margin-bottom:1em; }


/* 4. UTILS */
/* 4.1. Images with and without link must overwrite background-image, width and height properties in your css */
.image a,.image li,.image {
	background-repeat:no-repeat;
	background-color:transparent;
	margin:0;
	padding:0;
	outline:none;
	font-size:0px !important;
	line-height:0em !important;
	letter-spacing:-20px;
	text-indent: -2px;
	display:inline-block;
	overflow:hidden;
	text-align:left;
	border: none;
}
.image li { float:left; }
h1.image,h2.image,h3.image,h4.image,h5.image,h6.image { display:block; }
input.image { cursor:pointer; }
.image a {
	display:block;
	width:100%;
	height:100%;
	height:inherit;
}
ol.image,ul.image,menu.image {
	background:none;
	width:100%;
	height:auto;
	float:left;
}

/* 4.2. Simple tabs system. You can overwrite background and text styles */
.tabs {
	list-style:none;
	padding:0;
	margin:0;
	display: block;
}
.tabs li {
	float:left;
	margin:0 1px 0 0;
}
.tabs li span,
.tabs li a {
	float: left;
	padding:2px 5px;
	white-space:nowrap;
	text-align:center;
	cursor:pointer;
	outline:0;
	text-decoration:none;
}
.tabs li span { cursor:default; }
.tabs .select a,.tabs a:hover {
	background:#DDD;
}

/* 4.3. Convert a block element (like a fieldset) into a inline element */
.inline {
	border:none;
	margin:0;
	padding:0;
	display:inline;
}
fieldset.inline {
	display:block;
	float:left;
	width: 100%;
}

/* 4.4. Float elements */
.left { float:left !important; }
.right,.right-right { float:right !important; }
.right-right { text-align:right !important; }

/* 4.5. Clear (applied to containers block elements by default) */
.clear,.page { display:block; }
article:after,aside:after,details:after,div:after,figure:after,
footer:after,header:after,section:after,summary:after,
.clear:after,.tabs:after,.page:after {
	content:" ";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
	font-size:0;
}

/* 4.6. Destroy margin collapse */
.no-collapse { padding-top:1px; }

/* 4.7. Hide an element */
.hide { display:none; }


/* 5. LAYOUT */
.page { margin: 0 auto; }
.row {
	float:left;
	width:100%;
	margin:0;
	padding:0;
	border:none;
}

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