.btn { display: block; position: relative; background: gray; padding: 5px; float: left; color: #fff; text-decoration: none; cursor: pointer; }
.btn * { font-style: normal; background-image: url(../../images/btn.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 span { margin-top: -5px; }

.btn.gray { background: #C2C2C2; }
.btn.blue { background: #505f72; color:white;}
.btn.green { background: #9d4; }
.btn.pink { background: #e1a; }
.btn.orange { background: #fa9035; }
.btn:hover { background-color: #FF3300; color:#EEEEEE; }
.btn:active { background-color: #444; }
.btn[class] {  background-image: url(../../images/shade.png); background-position: bottom; }