.dialog-osm {
 width:290px;
 margin:0px auto;
 max-width:290px; /* I only cut the left background images out to 800px. You could do much larger, etc. */
 color:#fff;
}

.dialog-osm .hd-osm .c-osm,
.dialog-osm .ft-osm .c-osm {
 font-size:1px; /* ensure minimum height */
 height:20px;
}

.dialog-osm .ft-osm .c-osm {
 height:20px;
}

.dialog-osm .hd-osm {
 background:url(/_images/corner_orange/tl.png) no-repeat 0px 0px;
 margin-right:20px; /* space for right corner */
}

.dialog-osm .hd-osm .c-osm {
 background:url(/_images/corner_orange/tr.png) no-repeat right 0px;
 margin-right:-20px; /* pull right corner back over "empty" space (from above margin) */
}

.dialog-osm .bd-osm {
 background:url(/_images/corner_orange/ml.png) repeat-y 0px 0px;
 margin-right:20px;
}

.dialog-osm .bd-osm .c-osm {
 background:url(/_images/corner_orange/mr.png) repeat-y right 0px;
 margin-right:-20px;
 margin-bottom:-10px;
 margin-top:-15px;
}

.dialog-osm .ft-osm {
 background:url(/_images/corner_orange/bl.png) no-repeat 0px 0px;
 margin-right:20px;
}

.dialog-osm .ft-osm .c-osm {
 background:url(/_images/corner_orange/br.png) no-repeat right 0px;
 margin-right:-20px;
}