/*---------- left aligned button ----------*/
.btn { display: block; position: relative; background: #fff; padding: 5px; margin: 0px; float: left; color: #fff; text-decoration: none; cursor: pointer; }
.btn * { font-style: normal; background-image: url('images/button.png'); background-repeat: no-repeat; display: block; position: relative; color: #fff; font-weight: bold; }
.btn i { background-position: top left; position: absolute; margin-bottom: -5px;  top: 0; left: 0; width: 5px; height: 5px; }
.btn span { background-position: bottom left; left: -5px; padding: 0 0 5px 10px; margin-bottom: -5px; }
.btn span i { background-position: bottom right; margin-bottom: 0; position: absolute; left: 100%; width: 10px; height: 100%; top: 0; }
.btn span span { background-position: top right; position: absolute; right: -10px; margin-left: 10px; top: -5px; height: 0; }

* html .btn span,
* html .btn i { float: left; width: auto; background-image: none; cursor: pointer; }

.btn.green { background: #A3E022; }
.btn:hover { background-color: #64C50A; color: #fff; }
.btn:active { background-color: #444; color: #fff; }
.btn[class] {  background-image: url('images/button-shade.png'); background-position: bottom; }

* html .btn { border: 3px double #aaa; }
* html .btn.green { border-color: #9d4; }
* html .btn:hover { border-color: #64C50A;  text-decoration: none; }

/*---------- centered button ----------*/
.btnC { display: block; position: relative; background: #fff; padding: 5px; width: 140px; margin: 0px auto; color: #fff; text-decoration: none; cursor: pointer; text-align: center; }
.btnC * { font-style: normal; background-image: url('images/button.png'); background-repeat: no-repeat; display: block; position: relative; color: #fff; font-weight: bold; }

.btnCgreen * { font-style: normal; background-image: url('images/button-green.png'); background-repeat: no-repeat; display: block; position: relative; color: #fff; font-weight: bold; }

.btnC i { background-position: top left; position: absolute; margin-bottom: -5px;  top: 0; left: 0; width: 5px; height: 5px; }
.btnC span { background-position: bottom left; left: -5px; padding: 0 0 5px 10px; margin-bottom: -5px; }
.btnC span i { background-position: bottom right; margin-bottom: 0; position: absolute; left: 100%; width: 10px; height: 100%; top: 0; }
.btnC span span { background-position: top right; position: absolute; right: -10px; margin-left: 10px; top: -5px; height: 0; }

* html .btnC span,
* html .btnC i { width: 120px; text-align: center; padding: 0px; display: block; margin: 0px auto; background-image: none; cursor: pointer; }

.btnC.green { background: #A3E022; }
.btnC:hover { background-color: #64C50A; color: #fff; }
.btnC:active { background-color: #444; color: #fff; }
.btnC[class] {  background-image: url('images/button-shade.png'); background-position: bottom; }

* html .btnC { border: 3px double #aaa; }
* html .btnC.green { border-color: #9d4; }
* html .btnC:hover { border-color: #64C50A;  text-decoration: none;}


/*---------- right aligned button ----------*/
.btnR { display: block; position: relative; background: #fff; padding: 5px; float: right; color: #fff; text-decoration: none; cursor: pointer; }
.btnR * { font-style: normal; background-image: url('images/button.png'); background-repeat: no-repeat; display: block; position: relative; color: #fff; font-weight: bold; }
.btnR i { background-position: top left; position: absolute; margin-bottom: -5px;  top: 0; left: 0; width: 5px; height: 5px; }
.btnR span { background-position: bottom left; left: -5px; padding: 0 0 5px 10px; margin-bottom: -5px; }
.btnR span i { background-position: bottom right; margin-bottom: 0; position: absolute; left: 100%; width: 10px; height: 100%; top: 0; }
.btnR span span { background-position: top right; position: absolute; right: -10px; margin-left: 10px; top: -5px; height: 0; }

* html .btnR span,
* html .btnR i { float: right; width: auto; background-image: none; cursor: pointer; }

.btnR.green { background: #9d4; }
.btnR:hover { background-color: #64C50A; color: #fff; text-decoration: none; }
.btnR:active { background-color: #444; color: #fff; }
.btnR[class] {  background-image: url('images/button-shade.png'); background-position: bottom; }

* html .btnR { border: 3px double #aaa; }
* html .btnR.green { border-color: #9d4; }
* html .btnR:hover { border-color: #64C50A; text-decoration: none; }