/*---------- left aligned button ----------*/
.btn { display: block; position: relative; background: #aaa; padding: 5px; margin: 0px 2px 0px 2px; float: left; color: #fff; text-decoration: none; cursor: pointer; font-weight: bold; }
.btn * { font-style: normal; background-image: url('/images/btn2.png'); background-repeat: no-repeat; display: block; position: relative; }
.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; }
* html .btn { border: 3px double #aaa; }

.btn.red { background: #c33; }
* html .btn.red { border-color: #2ae; }
.btn.red:hover { background-color: #fcc; }

.btn.grey { background: #333; }
* html .btn.grey { border-color: #2ae; }
.btn.grey:hover { background-color: #ccc; }

.btn.blue { background: #33c; }
* html .btn.blue { border-color: #2ae; }
.btn.blue:hover { background-color: #ccf; }

.btn.green { background: #3c3; }
* html .btn.green { border-color: #9d4; }
.btn.green:hover { background-color: #cfc; }

.btn:hover { background-color: #a00; color: #fff; }
* html .btn:hover { border-color: #a00; }

.btn:active { background-color: #444; color: #fff; }
.btn[class] {  background-image: url('/images/btn.png'); background-position: bottom; }
