.button {
	display: inline-block;
	position:relative;
	padding: 10px;
	margin: 10px 0;
	background: #a1c611; /* old browsers */
	background: -moz-linear-gradient(top, #a1c611 0%, #a1c611 100%); /* firefox */
	background: -o-linear-gradient(top, #a1c611 0%, #a1c611 100%); 
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a1c611), color-stop(100%,#a1c611)); /* webkit */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a1c611', endColorstr='#a1c611',GradientType=0 ); /* ie */
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	border: 0px solid #a1c611;
	text-shadow: 0px 0px 0px #fff;
	font: 1.0em normal Helvetica, Arial;
	color: #ffffff !important;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

	.button:hover, .button.ui-hover {
		border: 0px solid #aaa !important;
		color: #000000 !important;
		cursor:pointer !important;
		font-weight: normal !important;
	}
	
	.button:active, .button.ui-click {
		top:1px;
		left: 0px;
	}
	
	.button img { /* icons 16x16 plz */
		position: relative;
		top: 3px;
		margin-right: 2px;
		vertical-align: baseline;
		opacity: 0.4;
	}
	
		.button:hover img {
			opacity: 0.7;
		}
	
	.button.disabled {
		background: #ccc; /* old browsers */
		background: -moz-linear-gradient(top, #ccc 0%, #e5e5e5 100%); /* firefox */
		background: -o-linear-gradient(top, #ccc 0%, #e5e5e5 100%); 
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ccc), color-stop(100%,#e5e5e5)); /* webkit */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* ie */
		color: #777;
	}
		.button.disabled:hover {
			cursor:default !important;
			border: 1px solid #ccc !important;
			color: #777 !important;
		}
		.button.disabled:active {
			top:0;
			left:0;
		}
	
	.button.small {
		font-size: 0.9em !important;
		padding: 5px 10px !important;
		margin: 3px !important;
	}
	
		.button.small img {
			margin-top: -7px;
		}
	
	.button.long {
		width: 15% !important;
	}
	
	.button.check {
		color:green !important;
		font-weight: bold !important;
	}

	.button.plus, .button.minus {
		margin-right: 5px !important;
		font-size: 1.5em !important;
		width: 15px;
		padding: 0px 5px !important;
	}
	
	.button img {
		display:inline;
		margin-top:1px;
	}

	.button.danger {
		background: #c11313;
		background: -moz-linear-gradient(top, #c11313 0%, #890202 100%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c11313), color-stop(100%,#890202));
		background: -webkit-linear-gradient(top, #c11313 0%,#890202 100%);
		background: -o-linear-gradient(top, #c11313 0%,#890202 100%);
		background: -ms-linear-gradient(top, #c11313 0%,#890202 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c11313', endColorstr='#890202',GradientType=0 );
		background: linear-gradient(top, #c11313 0%,#890202 100%);
		
		border: 1px solid #c11313;
		border-left: 0;
		text-shadow: none;
		color:#ddd;
	}
	
		.button.danger:hover {
			background: #ff3019;
			background: -moz-linear-gradient(top, #ff3019 0%, #cf0404 100%);
			background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff3019), color-stop(100%,#cf0404));
			background: -webkit-linear-gradient(top, #ff3019 0%,#cf0404 100%);
			background: -o-linear-gradient(top, #ff3019 0%,#cf0404 100%);
			background: -ms-linear-gradient(top, #ff3019 0%,#cf0404 100%);
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff3019', endColorstr='#cf0404',GradientType=0 );
			background: linear-gradient(top, #ff3019 0%,#cf0404 100%);
			
			border: 1px solid #f11313 !important;
			color: white !important;
		}

	.button.dark
	{
		background: #4f4f4f; /* old browsers */
		background: -moz-linear-gradient(top, #4f4f4f 0%, #353535 100%); /* firefox */
		background: -o-linear-gradient(top, #4f4f4f 0%, #353535 100%); 
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4f4f4f), color-stop(100%,#353535)); /* webkit */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4f4f4f', endColorstr='#353535',GradientType=0 ); /* ie */
		border: 1px solid #333333;
		text-shadow: 0px 1px 1px #000;
		color: #c5c5c5;
	}
		.button.dark:hover
		{
			border-color: #666;
			color: #f5f5f5 !important;
		}
		
		.button.dark.disabled {
			
			-moz-opacity:0.5;
			opacity: 0.5 !important;
			filter:alpha(opacity=50); 
		}
		
		.button.dark.disabled:hover {
			background: #4f4f4f !important; /* old browsers */
			background: -moz-linear-gradient(top, #4f4f4f 0%, #353535 100%) !important; /* firefox */
			background: -o-linear-gradient(top, #4f4f4f 0%, #353535 100%) !important; 
			background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4f4f4f), color-stop(100%,#353535)) !important; /* webkit */
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4f4f4f', endColorstr='#353535',GradientType=0 ) !important; /* ie */
			border: 1px solid #333333 !important;
			cursor: default !important;
		
		}

	.button.left
	{
		text-align: left;
	}
	
	/*.button.selected 
	{
		background: #cf4f4f; 
		background: -moz-linear-gradient(top, #cf4f4f 0%, #b51515 100%); 
		background: -o-linear-gradient(top, #cf4f4f 0%, #b51515 100%); 
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cf4f4f), color-stop(100%,#b51515)); 
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cf4f4f', endColorstr='#b51515',GradientType=0 );
		border: 1px solid #b31313;
		box-shadow: 2px 2px 3px rgba(0,0,0,.15);
		text-shadow: 0px 1px 1px #cf4f4f;
		color: #fff;
	}
		.button.selected:hover 
		{
			cursor:default !important;
		}*/


.button.bar {
	display: table-cell;
	box-shadow: 0px 2px 3px rgba(0,0,0,.15);
	border-radius: 0;
	font-size: 1em;
}

	.button.bar.rightside {
		box-shadow: 2px 2px 3px rgba(0,0,0,.15);
		border-radius: 0 3px 3px 0;
	}
	
	.button.bar.leftside {
		border-radius: 3px 0 0 3px;
	}

.tab {
	display: inline-block;
	position:relative;
	padding: 15px 10px;
	margin: 0;
	border: 1px solid #ccc;
	box-shadow: 2px 2px 3px rgba(0,0,0,.15);
	text-shadow: 0px 1px 1px #fff;
	font: 1.0em normal Helvetica, Arial;
	color: #555;
	text-align: center;
	text-decoration: none;
	-moz-border-radius: 3px 3px 0 0;
	-webkit-border-radius: 3px 3px 0 0;
	border-radius: 3px 3px 0 0;
	background: #ffffff; /* old browsers */
	background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* firefox */
	background: -o-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); 
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e5e5e5)); /* webkit */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* ie */
}

	.tab:hover {
		border: 1px solid #aaa;
		color: #111;
		cursor:pointer;
	}

	/*.tab.selected {
		z-index: 1000;
		background: white !important;
		border-bottom: 1px solid white;
		box-shadow: none;
	}
	
		.tab.selected:hover {
			border: 1px solid #ccc;
			border-bottom: 1px solid #fff;
			color: #555;
			cursor: default;
		}*/
		
.button.slider {
	font-size: 0.9em !important;
	padding: 0 !important;
	margin: 3px !important;
	width: 100px;
	
	background: #ddd;
	filter: none;
}

	.button.slider:active, .button.slider.ui-click {
		top: auto;
		left: auto;
	}

	.button.slider .text_on {
		display: none;
		padding: 5px 0;
		width: 70%;
		text-align: center;
	}
	
	.button.slider .text_off {
		display: inline-block;
		padding: 5px 0;
		width: 70%;
		text-align: center;
	}

	.button.slider.on .text_off {
		display: none;
	}
	
	.button.slider.on .text_on {
		display: inline-block;
	}
	
	.button.slider .slider_button {
		display: inline-block;
		float: left;
		background: #ffffff; /* old browsers */
		background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* firefox */
		background: -o-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); 
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e5e5e5)); /* webkit */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* ie */
		-moz-border-radius: 3px;
		-webkit-border-radius: 3px;
		border-radius: 3px;
		border-right: 1px solid #bbb;
		height: 100%;
		width: 29%;
		margin: 0;
		padding: 0 0 10px 0;
	}
	
	.button.slider.on .slider_button {
		float: right;
		border-left: 1px solid #bbb;
		border-right: 0;
	}