/*
 *
 * USAGE:
 * 	Simply add class="sexybutton [skin]" to a <button> or <a> element and wrap the label text with double <span>s.
 * 	You can optionally add a "silk" icon to the button text by using a third <span> with class to identify the icon.
 *
 * EXAMPLE:
 * 	<button id="btn1" class="sexybutton" name="btn1" type="submit" value="Submit">
 * 		<span><span><span class="ok">Submit</span></span></span>
 * 	</button>
 */


/*
 *	Generic styles for all Sexy Buttons
 */

.btshape {
	display: inline-block;
	margin: 0;
	padding: 0;
	font: bold 13px "Helvetica Neue", Helvetica, Arial, clean, sans-serif !important;
	text-decoration: none !important;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.20);
	background: none;
	border: none;
	white-space: nowrap;
	cursor: pointer;
	user-select: none;
	-moz-user-select: none;

	/* Fix extra width padding in IE */
	_width: 0;
	overflow: visible;
}

/* Prevents :active from working in IE--oh well! */
.btshape span {
	display: block;
	height: 24px;
	padding-right: 12px;
	background-repeat: no-repeat;
	background-position: right top;
}

.btshape span span {
	padding-right: 0;
	padding-left: 12px;
	line-height: 24px;
	background-position: left top;
}

.btshape span span span {
	padding-left: 21px;
	background-image: none;
	background-repeat: no-repeat;
	background-position: left center;
	/* IE6 still requires a PNG transparency fix */
	/* _background-image: none;		Or just hide icons from the undeserving IE6 */
	/* _padding-left: 0;					Or just hide icons from the undeserving IE6 */
}

.btshape span span span.after {
	padding-left: 0px;
	padding-right: 21px;
	background-position: right center;
	/* IE6 still requires a PNG transparency fix */
	/* _padding-right: 0;					Or just hide icons from the undeserving IE6 */
}

.btshape[disabled],
.btshape[disabled]:hover,
.btshape[disabled]:focus,
.btshape[disabled]:active,
.btshape.disabled,
.btshape.disabled:hover,
.btshape.disabled:focus,
.btshape.disabled:active {
	color: #333 !important;
	cursor: inherit;
	text-shadow: none;
	opacity: 0.33;
}

.btshape:hover span,
.btshape:focus span {
	background-position: 100% -24px;
}

.btshape:hover span span,
.btshape:focus span span {
	background-position: 0% -24px;
}

.btshape:active span {
	background-position: 100% -48px;
}

.btshape:active span span {
	background-position: 0% -48px;
}

.btshape[disabled] span,
.btshape.disabled span {
	background-position: 100% -72px;
}

.btshape[disabled] span span,
.btshape.disabled span span {
	background-position: 0% -72px;
}

.btshape:hover span span span,
.btshape:focus span span span,
.btshape:active span span span,
.btshape[disabled] span span span,
.btshape.disabled span span span {
	background-position: left center;
}

.btshape:hover span span span.after,
.btshape:focus span span span.after,
.btshape:active span span span.after,
.btshape[disabled] span span span.after,
.btshape.disabled span span span.after {
	background-position: right center;
}

.btshape img {
	margin-right: 5px;
	vertical-align: text-top;
	/* IE6 Hack */
	_margin-top: 4px;
	_vertical-align: text-bottom;
	/* IE6 still requires a PNG transparency fix */
	/* _display: none;		Or just hide icons from the undeserving IE6 */
}

.btshape img.after {
	margin-right: 0;
	margin-left: 5px;
	/* IE6 still requires a PNG transparency fix */
	/* _margin-left: 0;		Or just hide icons from the undeserving IE6 */
}

.btshape.sexymedium	{ font-size: 15px !important; }
.btshape.sexylarge	{ font-size: 18px !important; }


/*
 * Button Skins
 *
 * .PNG background images with alpha transparency are also supplied if you'd rather use them instead of the
 * default .GIF images. (Just beware of IE6's lack of support.)
 *
 * Additional skins can be added below. The images/skins/ButtonTemplate.psd can be used to create new skins.
 * Prefix the skin name with "sexy" to avoid any potential conflicts with other class names.
 */

/* Silver Button Skin (the default skin) */

.btshape,
.btshape.sexysilver {
	color: #666 !important;
}

.btshape:hover,
.btshape:focus,
.btshape.sexysilver:hover,
.btshape.sexysilver:focus {
	color: #333 !important;
}

.btshape span,
.btshape.sexysilver span {
	background-image: url(images_btn/skins/silver/button_right.gif);
}

.btshape span span,
.btshape.sexysilver span span {
	background-image: url(images_btn/skins/silver/button_left.gif);
}

/* Orange Button Skin */

.btshape.sexyorange,
.btshape.sexyorange:hover,
.btshape.sexyorange:focus {
	color: white !important;
}

.btshape.sexyorange[disabled],
.btshape.sexyorange[disabled]:hover,
.btshape.sexyorange[disabled]:active,
.btshape.sexyorange[disabled]:focus,
.btshape.sexyorange.disabled,
.btshape.sexyorange.disabled:hover,
.btshape.sexyorange.disabled:active,
.btshape.sexyorange.disabled:focus {
	color: #333 !important;
}

.btshape.sexyorange span {
	background-image: url(images_btn/skins/orange/button_right.gif);
}

.btshape.sexyorange span span {
	background-image: url(images_btn/skins/orange/button_left.gif);
}

/* Yellow Button Skin */

.btshape.sexyyellow,
.btshape.sexyyellow:hover,
.btshape.sexyyellow:focus {
	color: #994800 !important;
}

.btshape.sexyyellow span {
	background-image: url(images_btn/skins/yellow/button_right.gif);
}

.btshape.sexyyellow span span {
	background-image: url(images_btn/skins/yellow/button_left.gif);
}


/*
 * Simple Skin Buttons
 */

.btshape.btcoloriad {
	position: relative;
	padding: 5px 10px 5px;
	font: inherit;
	font-size: 13px !important;
	font-style: normal !important;
	font-weight: bold !important;
	color: #fff !important;
	line-height: 1;
	background-image: url(images_btn/skins/simple/awesome-overlay-sprite.png);
	background-repeat: repeat-x;
	background-position: 0 0;

	/* Special effects */
	text-shadow: 0 -1px 1px rgba(0,0,0,0.25), -2px 0 1px rgba(0,0,0,0.25);
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.5);

	/* IE only stuff */
	border-bottom: 1px solid transparent\9;
	_background-image: none;

	/* Cross browser inline block hack -  */
	display: -moz-inline-stack;
	display: inline-block;
	vertical-align: middle;
	display: inline !important;
	position: relative;

	/* Force hasLayout in IE */
	zoom: 1;

	/* Disable text selection (Firefox only)*/
	-moz-user-select: none;
}

.sexybutton.sexysimple:selection {
	background: transparent;
}

.btshape.btcoloriad:hover,
.btshape.btcoloriad:focus {
	background-position: 0 -50px;
	color: #fff !important;
}

.btshape.btcoloriad:active {
	background-position: 0 -100px;
	-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.7);
	/* Unfortunately, Safari doesn't support inset yet */
	-webkit-box-shadow: none;

	/* IE only stuff */
	border-bottom: 0\9;
	border-top: 1px solid #666\9;
}

.btshape.btcoloriad[disabled],
.btshape.btcoloriad.disabled {
	background-position: 0 -150px;
	color: #333 !important;
	text-shadow: none;
}

.btshape.btcoloriad[disabled]:hover,
.btshape.btcoloriad[disabled]:focus,
.btshape.btcoloriad[disabled]:active,
.btshape.btcoloriad.disabled:hover,
.btshape.btcoloriad.disabled:focus,
.btshape.btcoloriad.disabled:active {
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.btshape.btcoloriad span {
	height: auto;
	padding-left: 24px;
	padding-right: 0;
	background-position: left center;
	background-repeat: no-repeat;
	/* IE6 still requires a PNG transparency fix */
	/* _padding-left: 0;		Or just hide icons from the undeserving IE6 */
}

.btshape.btcoloriad span.after {
	padding-left: 0;
	padding-right: 24px;
	background-position: right center;
	/* IE6 still requires a PNG transparency fix */
	/* _padding-right: 0;		Or just hide icons from the undeserving IE6 */
}

/* Simple button colors */
.btshape.btcoloriad			{ background-color: #046E88; }		/* Default */
.btshape.btcoloriad.sexyblack	{ background-color: #333; }
.btshape.btcoloriad.sexyred		{ background-color: #a90118; }
.btshape.btcoloriad.sexyorange	{ background-color: #ff8a00; }
.btshape.btcoloriad.sexyyellow	{ background-color: #ffb515; }
.btshape.btcoloriad.sexygreen		{ background-color: #59a901; }
.btshape.btcoloriad.sexyblue		{ background-color: #015ea9; }
.btshape.btcoloriad.sexyteal		{ background-color: #2daebf; }
.btshape.btcoloriad.sexymagenta	{ background-color: #a9014b; }
.btshape.btcoloriad.sexypurple	{ background-color: #9d01a9; }

/* Simple button sizes */
.btshape.btcoloriad.sexysmall          { padding: 4px 7px 5px; font-size: 10px !important; }
.btshape.btcoloriad.sexysmall:active   { padding: 5px 7px 4px; }
.btshape.btcoloriad                    { /* default */ }
.btshape.btcoloriad:active             { padding: 6px 10px 4px; }
.btshape.btcoloriad.sexymedium         { /* default */ }
.btshape.btcoloriad.sexymedium:active  { padding: 6px 10px 4px; }
.btshape.btcoloriad.sexylarge          { padding: 8px 14px 8px; font-size: 14px !important; }
.btshape.btcoloriad.sexylarge:active   { padding: 9px 14px 7px; }
.btshape.btcoloriad.sexyxl             { padding: 8px 14px 8px; font-size: 16px !important; }
.btshape.btcoloriad.sexyxl:active      { padding: 9px 14px 7px; }
.btshape.btcoloriad.sexyxxl            { padding: 8px 14px 8px; font-size: 20px !important; }
.btshape.btcoloriad.sexyxxl:active     { padding: 9px 14px 7px; }
.btshape.btcoloriad.sexyxxxl           { padding: 8px 14px 8px; font-size: 26px !important; }
.btshape.btcoloriad.sexyxxxl:active    { padding: 9px 14px 7px; }

.btshape.btcoloriad.sexysmall[disabled]:active,
.btshape.btcoloriad.sexysmall.disabled:active   	{ padding: 4px 7px 5px; }
.btshape.btcoloriad[disabled]:active,
.btshape.btcoloriad.disabled:active                  { padding: 5px 10px 5px; }
.btshape.btcoloriad.sexymedium[disabled]:active,
.btshape.btcoloriad.sexymedium.disabled:active 	{ padding: 6px 10px 4px; }
.btshape.btcoloriad.sexylarge[disabled]:active,
.btshape.btcoloriad.sexylarge.disabled:active   	{ padding: 8px 14px 8px; }
.btshape.btcoloriad.sexyxl[disabled]:active,
.btshape.btcoloriad.sexyxl.disabled:active           { padding: 8px 14px 8px; }
.btshape.btcoloriad.sexyxxl[disabled]:active,
.btshape.btcoloriad.sexyxxl.disabled:active 		{ padding: 8px 14px 8px; }
.btshape.btcoloriad.sexyxxxl[disabled]:active,
.btshape.btcoloriad.sexyxxxl.disabled:active    	{ padding: 8px 14px 8px; }


/*
 * Icon Definitions
 */


.btshape span.ok			{ background-image: url(images_btn/icons/silk/tick.png) !important; }
.btshape span.cancel			{ background-image: url(images_btn/icons/silk/cross.png) !important; }
.btshape span.add			{ background-image: url(images_btn/icons/silk/add.png) !important; }
.btshape span.delete			{ background-image: url(images_btn/icons/silk/delete.png) !important; }
.btshape span.download		{ background-image: url(images_btn/icons/silk/arrow_down.png) !important; }
.btshape span.download2		{ background-image: url(images_btn/icons/silk/package_down.png) !important; }
.btshape span.upload			{ background-image: url(images_btn/icons/silk/arrow_up.png) !important; }
.btshape span.search			{ background-image: url(images_btn/icons/silk/magnifier.png) !important; }
.btshape span.find			{ background-image: url(images_btn/icons/silk/find.png) !important; }
.btshape span.first			{ background-image: url(images_btn/icons/silk/resultset_first.png) !important; }
.btshape span.prev			{ background-image: url(images_btn/icons/silk/resultset_previous.png) !important; }
.btshape span.next			{ background-image: url(images_btn/icons/silk/resultset_next.png) !important; }
.btshape span.last			{ background-image: url(images_btn/icons/silk/resultset_last.png) !important; }
.btshape span.play			{ background-image: url(images_btn/icons/silk/play_blue.png) !important; }
.btshape span.pause			{ background-image: url(images_btn/icons/silk/pause_blue.png) !important; }
.btshape span.rewind			{ background-image: url(images_btn/icons/silk/rewind_blue.png) !important; }
.btshape span.forward		{ background-image: url(images_btn/icons/silk/forward_blue.png) !important; }
.btshape span.stop			{ background-image: url(images_btn/icons/silk/stop_blue.png) !important; }
.btshape span.reload			{ background-image: url(images_btn/icons/silk/reload.png) !important; }
.btshape span.sync			{ background-image: url(images_btn/icons/silk/arrow_refresh.png) !important; }
.btshape span.save			{ background-image: url(images_btn/icons/silk/disk.png) !important; }
.btshape span.email			{ background-image: url(images_btn/icons/silk/email.png) !important; }
.btshape span.print			{ background-image: url(images_btn/icons/silk/printer.png) !important; }
.btshape span.heart			{ background-image: url(images_btn/icons/silk/heart.png) !important; }
.btshape span.like			{ background-image: url(images_btn/icons/silk/thumb_up.png) !important; }
.btshape span.dislike		{ background-image: url(images_btn/icons/silk/thumb_down.png) !important; }
.btshape span.accept			{ background-image: url(images_btn/icons/silk/accept.png) !important; }
.btshape span.decline		{ background-image: url(images_btn/icons/silk/decline.png) !important; }
.btshape span.help			{ background-image: url(images_btn/icons/silk/help.png) !important; }
.btshape span.home			{ background-image: url(images_btn/icons/silk/house.png) !important; }
.btshape span.info			{ background-image: url(images_btn/icons/silk/information.png) !important; }
.btshape span.cut			{ background-image: url(images_btn/icons/silk/cut.png) !important; }
.btshape span.copy			{ background-image: url(images_btn/icons/silk/page_white_copy.png) !important; }
.btshape span.paste			{ background-image: url(images_btn/icons/silk/paste_plain.png) !important; }
.btshape span.erase			{ background-image: url(images_btn/icons/silk/erase.png) !important; }
.btshape span.undo			{ background-image: url(images_btn/icons/silk/arrow_undo.png) !important; }
.btshape span.redo			{ background-image: url(images_btn/icons/silk/arrow_redo.png) !important; }
.btshape span.edit			{ background-image: url(images_btn/icons/silk/pencil.png) !important; }
.btshape span.calendar		{ background-image: url(images_btn/icons/silk/date.png) !important; }
.btshape span.user			{ background-image: url(images_btn/icons/silk/user.png) !important; }
.btshape span.settings		{ background-image: url(images_btn/icons/silk/cog.png) !important; }
.btshape span.cart			{ background-image: url(images_btn/icons/silk/cart.png) !important; }
.btshape span.wand			{ background-image: url(images_btn/icons/silk/wand.png) !important; }
.btshape span.wrench			{ background-image: url(images_btn/icons/silk/wrench.png) !important; }

