#%id%_button {
	display:block;
	position: relative;
	text-align: center;
}


#%id% a:link, #%id% a:visited {
	%[if %("%id=alignment%" == "center")%]% display:inline-block; %[else]% display:block; %[endif]%
	%[if %("%id=alignment%" == "left")%]% float:left; %[endif]%
	%[if %("%id=alignment%" == "right")%]% float:right; %[endif]%
	position: relative;
	text-decoration:none;
}
#%id% a:hover, #%id% a:active {
	color:%id=fgColor%;
}


%[if %("%id=style%" == "plain")%]%
#%id% a:link, #%id% a:visited {
	background-color:transparent;
	border:0;
	padding:2px 10px;
	border-radius:30px;
	margin:2px;
}
#%id% a:hover {
	background-color:%id=bgColor%;
}
#%id% a:active {
	background-color:%id=bgColor*0.85%;
}
%[endif]%



%[if %("%id=style%" == "round")%]%
#%id% a:link, #%id% a:visited {
	background-color:%id=bgColor*1.25%;
	background: -webkit-gradient(linear, left top, left bottom, from(%id=bgColor*1.25%), to(%id=bgColor*0.75%));
	border:1px solid %id=bgColor*0.75%;
	padding:3px 20px;
	border-radius:30px;
	color:%id=fgColor%;
	box-shadow:rgba(0, 0, 0, 0.5) 0px 1px 2px;
	margin:5px;
	font-weight:bold;
}
#%id% a:hover {
	background-color:%id=bgColor*1.35%;
	background: -webkit-gradient(linear, left top, left bottom, from(%id=bgColor*1.35%), to(%id=bgColor*0.65%));
	box-shadow:rgba(0, 0, 0, 0.25) 0px 2px 4px;
}
#%id% a:active {
	background-color:%id=bgColor*1.25%;
	box-shadow:rgba(0, 0, 0, 0.75) 0px 0px 4px inset;
}
%[endif]%


%[if %("%id=style%" == "rect")%]%
#%id% a:link, #%id% a:visited {
	background-color:%id=bgColor*1.25%;
	background: -webkit-gradient(linear, left top, left bottom, from(%id=bgColor*1.25%), to(%id=bgColor*0.75%));
	border:1px solid %id=bgColor*0.75%;
	padding:3px 20px;
	color:%id=fgColor%;
	box-shadow:rgba(0, 0, 0, 0.5) 0px 1px 2px;
	margin:5px;
	font-weight:bold;
}
#%id% a:hover {
	background-color:%id=bgColor*1.35%;
	background: -webkit-gradient(linear, left top, left bottom, from(%id=bgColor*1.35%), to(%id=bgColor*0.65%));
	box-shadow:rgba(0, 0, 0, 0.25) 0px 2px 4px;
}
#%id% a:active {
	background-color:%id=bgColor*1.25%;
	box-shadow:rgba(0, 0, 0, 0.75) 0px 0px 4px inset;
}
%[endif]%