Child custody must be established before child support is decided. However, both can be negotiated at the same time during the mediation.