
/* Buttons
 * Based on work by Chad Mazzola https://github.com/ubuwaits/css3-buttons
----------------------------------------------- */

/* Gray Style */
.gray-button, .grey-button, input[type=submit], button {
	background-color: #eeeeee;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#eeeeee), to(#cccccc));
	/* Saf4+, Chrome */
	background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
	background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
	background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
	background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
	background-image: linear-gradient(top, #eeeeee, #cccccc);
	border: 1px solid #999;
	border-bottom: 1px solid #888;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	color: #333;
	display: inline-block;
	line-height: 1;
	margin: 0 0 0.5em;
	padding: 0.6em 1.2em;
	text-align: center;
	text-shadow: 0 1px 0 #eee;
}
.gray-button:hover, .grey-button:hover, input[type=submit]:hover, button:hover {
	text-decoration: none;
	background-color: #dddddd;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#dddddd), to(#bbbbbb));
	/* Saf4+, Chrome */
	background-image: -webkit-linear-gradient(top, #dddddd, #bbbbbb);
	background-image: -moz-linear-gradient(top, #dddddd, #bbbbbb);
	background-image: -ms-linear-gradient(top, #dddddd, #bbbbbb);
	background-image: -o-linear-gradient(top, #dddddd, #bbbbbb);
	background-image: linear-gradient(top, #dddddd, #bbbbbb);
	border: 1px solid #aaa;
	border-bottom: 1px solid #999;
	cursor: pointer;
	text-shadow: 0 1px 0 #ddd; 
}
.gray-button:active, .grey-button:active, input[type=submit]:active, button:active {
	border: 1px solid #aaa;
	border-bottom: 1px solid #888;
	-webkit-box-shadow: inset 0 0 0.3em 0.15em #aaaaaa, 0 1px 0 0 #eeeeee;
	-moz-box-shadow: inset 0 0 0.3em 0.15em #aaaaaa, 0 1px 0 0 #eeeeee;
	-ms-box-shadow: inset 0 0 0.3em 0.15em #aaaaaa, 0 1px 0 0 #eeeeee;
	-o-box-shadow: inset 0 0 0.3em 0.15em #aaaaaa, 0 1px 0 0 #eeeeee;
	box-shadow: inset 0 0 0.3em 0.15em #aaaaaa, 0 1px 0 0 #eeeeee; 
}


/* Gradient Button */
.gradient-button {
	-webkit-border-radius: 0.4em;
	-moz-border-radius: 0.4em;
	-ms-border-radius: 0.4em;
	-o-border-radius: 0.4em;
	border-radius: 0.4em;
	color: #fff;
	display: inline-block;
	line-height: 1;
	margin: 0 0 0.5em;
	padding: 0.5em 1.2em 0.7em;
	text-align: center;
	text-shadow: 0px -0.1em 0.1em rgba(0, 0, 0, 0.8);
	font-weight: bold;
}
.gradient-button:hover {
	text-decoration: none;
	cursor: pointer; 
}
.gradient-button:active {
	-webkit-box-shadow: inset 0px 0px 0.2em 0.2em rgba(0, 0, 0, 0.2);
	-moz-box-shadow: inset 0px 0px 0.2em 0.2em rgba(0, 0, 0, 0.2);
	-ms-box-shadow: inset 0px 0px 0.2em 0.2em rgba(0, 0, 0, 0.2);
	-o-box-shadow: inset 0px 0px 0.2em 0.2em rgba(0, 0, 0, 0.2);
	box-shadow: inset 0px 0px 0.2em 0.2em rgba(0, 0, 0, 0.2); 
}

/* Push Button  */
.push-button {
	font-weight: bold;
	display: inline-block;
	-webkit-border-radius: 0.2em;
	-moz-border-radius: 0.2em;
	-ms-border-radius: 0.2em;
	-o-border-radius: 0.2em;
	border-radius: 0.2em;
	color: #fff;
	line-height: 1;
	margin: 0 0 0.5em;
	padding: 0.6em 1.2em;
	text-align: center;
	-webkit-background-clip: padding-box; 
}
.push-button:hover {
	text-decoration: none;
	cursor: pointer; 
	-webkit-transition: all 0s ease;
	-moz-transition: all 0s ease;
	-o-transition: all 0s ease;
	-ms-transition: all 0s ease;
	transition: all 0s ease;
}
.push-button:active {
	margin-top: 0.2em; 
	margin-bottom: 0.35em; 
	-webkit-transition: all 0s ease;
	-moz-transition: all 0s ease;
	-o-transition: all 0s ease;
	-ms-transition: all 0s ease;
	transition: all 0s ease;
}

/* Disabled Buttons */
button[disabled],
button[disabled]:hover,
button[disabled]:active {
	background: #999;
	border: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-ms-box-shadow: none;
	-o-box-shadow: none;
	box-shadow: none;
	color: #aaa;
	cursor: not-allowed;
	text-shadow: none; 
}

/* Don't underline links in buttons */
a.gray-button, a.grey-button, 
a.push-button, a.gradient-button,
.gray-button a, .grey-button a, 
.push-button a, .gradient-button a {
	text-decoration: none;
}
