#q:hover, #q:focus, #q:not([value=""]) {width: 200px;}
#q {width: 50px;}