.common-button {
	/* Button reset */
	/*margin: 0;
	padding: 0;
	line-height: 100%;
	vertical-align: middle;
	font-family: inherit;*/
	
	/* Common */
	display: inline-block;
	/* IE 7 inline-block*/
	*zoom:1;
	*display: inline;
	
	font-size: 13px;
	background-image: url("/images/plugins/commonbutton/buttons_bg.gif");
	background-repeat: repeat-x;
	height: 27px;
	border: 1px solid transparent;
	border-radius: 6px;
	padding: 0px 12px;
	cursor: pointer;
	/* Unselectable*/
	-moz-user-select: none;
	-webkit-user-select: none;
	user-select: none;
	-khtml-user-select: none;
	-o-user-select: none;
}

a.common-button {
    text-decoration: none;
}

.common-button:focus {
    outline: none;
    outline: gray dotted 1px\9;
    box-shadow: 0 0 3px #009cf1;
    -webkit-box-shadow: 0 0 3px #009cf1;
    -moz-box-shadow: 0 0 3px #009cf1;
}
.common-button:active {
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

.common-button-icon {
	float: left;
	background-image: url("/images/plugins/commonbutton/button_icons.png");
	background-repeat: no-repeat;
	margin: 8px 6px 0 0;
}
.common-button-nolabel
.common-button-icon {
	margin-right: 0;
}

.common-button-label {
	float: left;
	margin-top: 5px;
	white-space: nowrap;
	font-weight: 600;
}

/* States */

.common-button-normal {
}
.common-button-disabled {
	background-image: none;
	cursor: default;
	opacity: 0.6;
}

.common-button-disabled
.common-button-icon {
	opacity: 0.25;
}

.common-button-spin {
	cursor: default;
}

/** Gray style **/
.common-button-gray-normal {
	background-image: none;
	border: 1px solid #c7c7c7;
	color: #6a6a6a;
	text-shadow: 0 1px #ffffff;
	
	background: #f0f0f0;
    background: -moz-linear-gradient(top,  #ffffff 0%, #f0f0f0 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f0f0f0));
    background: -webkit-linear-gradient(top,  #ffffff 0%,#f0f0f0 100%);
    background: -o-linear-gradient(top,  #ffffff 0%,#f0f0f0 100%);
    background: -ms-linear-gradient(top,  #ffffff 0%,#f0f0f0 100%);
    background: linear-gradient(top,  #ffffff 0%,#f0f0f0 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f0f0f0',GradientType=0 );
}
.common-button-gray-normal:hover {
	border: 1px solid #b7b7b7;
	
	background: #fbfbfb;
    background: -moz-linear-gradient(top,  #ffffff 0%, #fbfbfb 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#fbfbfb));
    background: -webkit-linear-gradient(top,  #ffffff 0%,#fbfbfb 100%);
    background: -o-linear-gradient(top,  #ffffff 0%,#fbfbfb 100%);
    background: -ms-linear-gradient(top,  #ffffff 0%,#fbfbfb 100%);
    background: linear-gradient(top,  #ffffff 0%,#fbfbfb 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#fbfbfb',GradientType=0 );
}
.common-button-gray-normal:active {
	background-image: none;
	border: 1px solid #b2b2b2;
	color: #6a6a6a;
	text-shadow: 0 1px #ffffff;
	
	background: #b2b2b2;
    background: -moz-linear-gradient(top,  #b2b2b2 0%, #ebebeb 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b2b2b2), color-stop(100%,#ebebeb));
    background: -webkit-linear-gradient(top,  #b2b2b2 0%,#ebebeb 100%);
    background: -o-linear-gradient(top,  #b2b2b2 0%,#ebebeb 100%);
    background: -ms-linear-gradient(top,  #b2b2b2 0%,#ebebeb 100%);
    background: linear-gradient(top,  #b2b2b2 0%,#ebebeb 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b2b2b2', endColorstr='#ebebeb',GradientType=0 );
}

.common-button-gray-disabled {
	color: #777777;
	border: 1px solid #aaaaaa;
	background-color: #f8f8f8;
	text-shadow: 0 1px #ffffff;
}

/** Orange style **/

.common-button-orange-normal {
	background-position-y: 0px;
	border: 1px solid #da8743;
	color: #603710;
	text-shadow: 0 1px #f0cea8;
}
.common-button-orange-normal:hover {
	background-position: 0px -29px;
	border-color: #da6e15;
}
.common-button-orange-normal:active {
	background-position: 0px -58px;
	border-color: #b97339;
}

.common-button-orange-disabled {
	color: #c89f77;
	border: 1px solid #e8c59b;
	background-color: #f6d5a9;
	text-shadow: 0 1px #fff4ea;
}

.common-button-orange-spin {
	background-position: 0px -58px;
	border-color: #b97339;
	color: #ffffff;
	text-shadow: 0 -1px #8f5d31;
}

/* Check icon */

.common-button-orange
.common-button-icon-check {
	width: 13px;
	height: 12px;
	background-position: -3px -3px;
}

/* Blue style */

.common-button-blue-normal {
	background-position: 0px -87px;
	border-color: #5474a4;
	
	/*color: #264f77;
	text-shadow: 0 1px #eff6ff;*/
	color: #ffffff;
	text-shadow: 0 -1px #2a5e8a;
}
.common-button-blue-normal:hover {
	background-position: 0px -117px;
	border: 1px solid #8793a4;
}
.common-button-blue-normal:active {
	background-position: 0px -147px;
	border-color: #364b6a;
	text-shadow: 0 -1px #2e4358;
}

.common-button-blue-disabled {
	background-color: #bbc8d4;
	border: 1px solid #9ca2aa;
	color: #e7ecf2;
}
.common-button-blue-spin {
	background-position: 0px -147px;
	border-color: #364b6a;
	color: #ffffff;
	text-shadow: 0 -1px #2e4358;
}

.common-button-blue
.common-button-icon-plus {
	background-position: -23px -19px;
	width: 11px;
	height: 12px;
	margin-top: 7px;
}

/** Clear-blue style **/
.common-button-clearblue-normal {
	color: #154888;
	background-image: none;
}
.common-button-clearblue-normal:hover {
	color: #1e69c5;
}
.common-button-clearblue-normal:active {
	color: #081b33;
}

.common-button-clearblue-disabled {
	color: #6e7c8c;
}

.common-button-clearblue
.common-button-icon-x {
	width: 12px;
	height: 12px;
	background-position: -23px -3px;
	margin-top: 7px;
}

/** Clear style **/
.common-button-clear-normal {
	/** reset what the default set **/
	border: none;
	border-radius: 0px;
	background-image: none;
	height: auto;
	padding: 0;
}

/** Delete style **/
.common-button-delete-normal {
	border-color: #90000c;
	background-position: 0 -176px;
	color: #ffffff;
	text-shadow: 0 -1px #640000;
}
.common-button-delete-normal:hover {
	background-position: 0 -205px;
	border-color: #b3000f;
}
.common-button-delete-normal:active,
.common-button-delete-spin {
	background-position: 0 -234px;
	border-color: #90000c;
	color: #ffffff;
	text-shadow: 0 -1px #640000;
}
.common-button-delete-disabled {
	background-image: none;
	background-color: #ddb2b2;
	border-color: #d7a2a2;
	color: #edd7d7;
	text-shadow: none;
}

.common-button-delete
.common-button-icon-x {
	width: 12px;
	height: 13px;
	background-position: -27px -40px;
	margin-top: 8px;
}

/** Spin Icon **/
.common-button-icon-spin {
	background-image: url("/images/loading_gray.gif");
	width: 16px;
	height: 16px;
	margin-top: 6px;
	margin-right: 8px;
}
.common-button-orange
.common-button-icon-spin {
	background-image: url(/images/plugins/commonbutton/spin_orange.gif);
}
.common-button-delete
.common-button-icon-spin {
	background-image: url(/images/plugins/commonbutton/spin_delete.gif);
}
.common-button-blue
.common-button-icon-spin {
	background-image: url(/images/plugins/commonbutton/spin_blue.gif);
}

/** X Icon **/
.common-button-orange
.common-button-icon-x {
	background-position: -37px -4px;
	width: 9px;
	height: 11px;
	margin-top: 10px;
}

.common-button-clear
.common-button-icon-x {
	background-position: -2px -36px;
	width: 20px;
	height: 22px;
	margin-top: 0px;
}
.common-button-clear-normal:hover
.common-button-icon-x {
	background-position: -2px -58px;
}
.common-button-clear-normal:active
.common-button-icon-x {
	background-position: -23px -58px;
}

/** X Small **/
.common-button-icon-xsmall {
	width: 15px;
	height: 16px;
	background-position: -47px -16px;
	margin-top: 0px;
}
.common-button:hover
.common-button-icon-xsmall {
	background-position: -46px -34px;
}
.common-button:active
.common-button-icon-xsmall {
	background-position: -46px -53px;
}

/* Tweet style **/
.common-button-tweet
.common-button-label {
	text-decoration: underline;
}
.common-button-tweet-normal {
	color: #3f8bb6;
	background-image: none;
}
.common-button-tweet-normal:hover {
	color: #1e69c5;
}
.common-button-tweet-normal:active {
	color: #081b33;
}

.common-button-tweet-disabled {
	color: #6e7c8c;
}

/** Twitter Icon **/
.common-button-icon-twitter {
	width: 19px;
	height: 13px;
	background-position: -46px -71px;
}
