Style out a Yes/No checkbox into a cool looking toggle switch

Hi, this is a great code I have working well on our setup. However when implemented, the checkboxes appear on a separate line above the related text, any idea why this is not wrapping the checkbox and text on 1 single line?