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

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

ul.button {
	list-style: none;
	padding: 0;
	margin: 0;
	display:block;
	}
ul.button:after {
	content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
	}
ul.button li {
	float: left;
	margin: 0;
	}
ul.button li a {
	display: block;
	z-index: 2;
	}
a.button {
	float: left;
	}

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

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


/*
========================================================================================== EDITABLE STYLES
*/

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

/* 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 */
	}
	
/* Hover/selec status */
a.button:hover,
a.button.selec,
.button a:hover,
.button li.selec a {
	}


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

ul.button {
	*height: 1%; /* IE6 & IE7 */
	}
a.button span {
	_float: left; /* Only IE6 */
	_position: relative; /* Only IE6 */
	}