/**
* cSans Button plugin v0.3.1
* 2009 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. BASIC STYLES */

ul.button {
	list-style: none;
	padding: 0;
	margin: 0;
	display:block;
	}
ul.button {
	overflow-y: auto;
	overflow-x: hidden;
	}
ul.button li {
	float: left;
	margin: 0;
	}
ul.button li a {
	display: block;
	z-index: 2;
	}
a.button {
	display: inline-block;
	vertical-align: middle;
	}

/* 1.1. Normal status */
a.button,
ul.button li a {
	background-position: 100% 0;
	background-repeat: no-repeat;
	white-space: nowrap;
	text-align: center;
	cursor: pointer;
	outline: 0;
	}
a.button span,
ul.button li a span {
	display: block;
	background-position: 0 0;
	background-repeat: no-repeat;
	}

/* 1.2. Hover/selected status */
a.button:hover,
a.button.select,
ul.button li a:hover,
ul.button li.select a {
	background-position: 100% -70px !important;
	}
a.button:hover span,
a.button.select span,
ul.button li a:hover span,
ul.button li.select a span {
	background-position: 0 -70px !important;
	}

/* 2. EDITABLE STYLES */

/* 2.1. Image background used */
a.button,
.button a,
.button span {
	background-image: url(button.png);
	}

/* 2.2. Normal status (Example for padding 10px) */
a.button,
.button a {
	padding: 0 10px 0 0; /* Padding-right: 10px */
	margin: 0 1px 0 10px; /* Margin-left: 10px */
	text-decoration: none;
	}
.button span {
	padding: 4px 0 6px 10px; /*Padding-left: 10px */
	margin: 0 0 0 -10px; /* Margin-left: -10px */
	}
	
/* 3. HACKS */

ul.button {
	_height: 1%; /* IE6 */
	_overflow-y: visible; /* IE6 */
	_overflow-x: visible; /* IE6 */
	}
a.button span {
	_float: left; /* Only IE6 */
	_position: relative; /* Only IE6 */
	}
a.button {
	display: -moz-inline-box; /* FF<3 */
	display: inline-block; /* FF<3 */
	-moz-box-orient: vertical; /* FF<3 */
	*display: inline; /* IE */
	}