The overlap is between these two properties...
Code:
border:1px;
border-top:0px;
border is a short hand for all four sides, if you want the top different you need to specify all 4 properties, and not use border.
Code:
border-top:0px;
border-left:1px;
border-right:1px;
border-bottom:1px;