Translating the idiom "thinking outside the box"
I think 天马行空 is the one.

天马行空 tiānmǎ-xíngkōng
[be powerful and unstrained like a heavenly steed soaring across the skies]
天神之马来往疾行于空中。比喻思想行为无拘无束。亦形容文笔超逸流畅

but use it carefully,天马行空 does not always commendatory

The imagination of child has no limits like the god horse flying in the heaven , details all show the creative ideas 
孩子的想象力如天马行空，且细节处均见独特之创意。
But the former mayor then delivered a meandering speech that left the audience dispirited
但是前市长讲话却天马行空,让听众失望之极。