.tabs ul { padding:0; margin:0; position:relative; z-index:1000; }
.tabs ul li { float:left; margin-right:3px; }
.tabs ul li a { float:left; min-width:50px; text-decoration:none;
border:1px solid #ccc; padding:5px 10px; border-bottom:0; background:#eee;
-webkit-border-radius: 2px; -moz-border-radius: 2px;
-khtml-border-radius: 2px; border-radius: 2px; font-size:14px;
-webkit-border-bottom-left-radius:0px; -moz-border-radius-bottomleft:0px;
-khtml-border-bottom-left-radius:0px; border-bottom-left-radius:0px;
-webkit-border-bottom-right-radius:0px; -moz-border-radius-bottomright:0px;
-khtml-border-bottom-right-radius:0px; border-bottom-right-radius:0px;
}
.tabs ul li:first-child a { -webkit-border-top-left-radius:10px; -moz-border-radius-topleft:10px; -khtml-border-top-left-radius:10px; border-top-left-radius:10px; }
.tabs ul li:last-child a { -webkit-border-top-right-radius:10px; -moz-border-radius-topright:10px; -khtml-border-top-right-radius:10px; border-top-right-radius:10px; }

.tabs ul li.active { position:relative; z-index:1000; margin-top:2px; background:#fff; border-bottom:1px solid #fff; }  
.tabs ul li.active a { background:#fff; }
.tabs div.tabs-container { clear:both; top:-2px; border-top:1px solid #ccc; position:relative; z-index:500;  }