/**
* cSans v0.5
* 2009 Copyright A navalla suíza http://anavallasuiza.com
* cSans is released under the GNU Affero GPL version 3 - more information at license.txt
*/

/*
========================================================================================== RESET
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, textarea,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	}
html, body, textarea, select, input {
	font-size: 1em;
	font-family: Arial, sans-serif;
	}
html,
body	{
	height: 100%;
	}
body	{
	line-height: 1.25em;
	text-align: center;
	background: #fff;
	color:#000;
	}
.page	{
	text-align: left;
	}


/* 
========================================================================================== DEBUG
*/

/* Show borders to stress an element */
.omg-red,
.omg-yellow,
.omg-blue,
.omg-green,
.omg-black,
.omg-white{
	border-top: dotted 3px;
	border-bottom: dotted 3px;
	}
	
.omg-red	{ border-color: red; }
.omg-yellow	{ border-color: yellow; }
.omg-blue	{ border-color: blue; }
.omg-green	{ border-color: green; }
.omg-black	{ border-color: black; }
.omg-white	{ border-color: white; }


/*
========================================================================================== BASIC STYLES
*/


/* Titles */
h1,h2,h3,h4,h5,h6 {
	font-weight: bold;
	line-height: 1em;
	margin: 0.6em 0 0.2em 0;
}
h1	{ font-size:2.375em; }
h2	{ font-size:2em; }
h3	{ font-size:1.75em; }
h4	{ font-size:1.5em; }
h5	{ font-size:1.125em; }
h6	{ font-size:1em; font-weight: normal; }


/* Lists */
ul	{ margin-left: 1em; }
ol	{ list-style-type:decimal; margin-left: 2.2em }
dl dt	{ font-weight: bold; }
dl	{ margin:0 0 1.2em; }
dd	{ margin-left:1.2em; }


/* Tables */
table	{ border-collapse: collapse; border-spacing: 0; }
caption,
th	{ font-weight: bold; }
th,td	{ text-align: left; padding:0; border: 1px solid #ccc; }
tfoot	{ font-style: italic; }


/* Images */
a img	{ border: none; }
img.right { margin-left: 1em; }
img.left { margin-right: 1em; }


/* Forms */
fieldset { border:1px solid #ccc; }
legend	{ font-weight:bold; font-size:1.2em; }
input	{ margin: 0; }
textarea { width: 400px; height: 100px; border: 1px solid #ccc; }
select	{ margin: 0; font-size: 1em; }


/* Monospace elements */
pre,
code,
tt	{ font-family: "Courier New", Courier, monospace; line-height:1.5; }
pre,
code	{ white-space: pre; margin: 1.5em 0; }
tt	{ display:block; line-height:1.5; margin:1.5em 0; }


/* Block elements */
p	{ margin: 0; }
img	{ margin: 0; }
address,
blockquote { margin: 1.5em 0; }


/* Inline elements */
em,
dfn	{ font-style:italic; }


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


/*
========================================================================================== UTILS
*/


/* 	
	Logos with link and without link
	must overwrite background, width and height properties in your css
 */
.logo,
.logo li,
.logo-link,
.logo-link li {
	background: url(0.png) no-repeat center;
	margin: 0;
	padding: 0;
	width: 1px;
	height: 1px;
	display: block;
	}
.logo,
.logo li {
	text-indent: -3000px;
	}
.logo-link a {
	display: block;
	text-align: left;
	text-indent: -3000px;
	outline: none;
	width: 100%;
	height: 100%;
	}
ul.logo,
ul.logo-link {
	background: none;
	text-indent: 0;
	width: 100%;
	height: auto;
	}
ul.logo li,
ul.logo-link li {
	float: left;
	}


/*
	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 a {
	display: block;
	padding: 5px;
	white-space: nowrap;
	text-align: center;
	cursor: pointer;
	outline: 0;
	background: #ccc;
	text-decoration: none;
	}
.tabs .selec a,
.tabs a:hover {
	background: #bbb;
	}


/* Convert a block element (like a fieldset) into a inline element */
.inline {
	border: none;
	margin: 0;
	padding: 0;
	display: inline;
	}
	
	
/*
	Inline-block element
	Must content any element inside (div, p, etc) for the correct visualization in FF<3
*/
.inline-block-top,
.inline-block-middle,
.inline-block-bottom {
	float: none !important;
	display: inline-block;
	}
.inline-block-top	{ vertical-align: top; }
.inline-block-middle	{ vertical-align: middle; }
.inline-block-bottom	{ vertical-align: bottom; }


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


/* Float elements */
.left	{ float: left !important; }
.right	{ float: right !important; }


/* Align elements */
.text-right	{ text-align: right; }
.text-left	{ text-align: left; }
.text-center	{ text-align: center; }


/* Apply the clearfix method */
.clear, .content, .page	{ display:block; }
.clear:after,
.tabs:after,
.content:after,
.page:after {
	content:" ";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
	font-size: 0;
	}


/* Destroy collapsing elements */
.no-collapse {
	padding-top: 1px;
	}


/*
========================================================================================== LAYOUT
*/


/* Row */
.row	{
	float: left;
	width: 100%;
	margin: 0;
	padding: 0;
	}

/* Last column in a row */
.last { margin-right: 0 !important; }


/* Content */
.content {
	padding: 0;
	margin: 0;
	}


/*
========================================================================================== HACKS
*/

img	{
	-ms-interpolation-mode: bicubic; /* IE */
	}
.clear, .page, .content, .tabs {
	*display: inline-block; /* IE7 */
	*height: 1%; /* IE */
	*display: block; /* IE7 */
	}
.inline-block-top, .inline-block-middle, .inline-block-bottom {
	display: -moz-inline-box; /* FF<3 */
	-moz-box-orient: vertical; /* FF<3 */
	*display: inline; /* IE */
	}
/*
	IE: Apply .first class to the first element in a row if it has the class .logo and
	.inline-block-top/middle/bottom class.
*/
.inline-block-top.logo.first, .inline-block-middle.logo.first, .inline-block-bottom.logo.first {
	*margin-left: 3000px;
}