implemented style for cockpit