Try it like this:
if (jQuery('#1').is(":visible")) {
jQuery('#2').css({"border-top":"0px", "border-bottom":"7px solid #0767B1"});
jQuery('#3').css("display", "table-cell");
}
The jQuery .css() method can be used in two ways. You can manipulate a single attribute, which looks like .css("attribute", "value");, or you can manipulate multiple values, but that has a different writing: .css({"attribute" : "value", "attribute2" : "value"});. But you can use the second method (as you tried) also for just a single attribute, I didn't notice your small mistake but as Vucko mentioned you just forgot to surround the : with ", so this solution was what you were looking for (but it's usually for multiple arguments as you use the { } brackets):
jQuery('#3').css({"display":"table-cell"});
And my recommendation was to use the single attribute notation:
jQuery('#3').css("display", "table-cell");
"."display:table-cell"should be"display":"table-cell"