// qTips for order form
jQuery(function() {
	// lable`s tips
	jQuery.fn.qtip.styles.tips_for_info = { // style for "info"
		width: 250,
		background: '#f0f2f4',
		color: 'black',
		border: {
			width: 3,
			radius: 4,
			color: '#225d8a'
		},
		tip: 'topLeft'
	}

	jQuery('#tip_your_email').qtip({
	   content: 'If you have previously used our service, please use the same email address to maintain track of all your orders.',
	   position:{corner:{target:'bottomMiddle'}},
		style:'tips_for_info'
	})
	jQuery('#tip_pages').qtip({
	   content: 'A single page contains 275 words / 1650 characters.',
	   position:{corner:{target:'bottomMiddle'}},
		style:'tips_for_info'
	})
        jQuery('#tip_deadline').qtip({
	   content: 'Please specify how soon you need your paper to be completed.',
	   position:{corner:{target:'bottomMiddle'}},
		style:'tips_for_info'
	})
        jQuery('#tip_topic').qtip({
	   content: 'Please insert the topic of your paper. It should be short and clear. If you do not have any specific topic, write "none".',
	   position:{corner:{target:'bottomMiddle'}},
		style:'tips_for_info'
	})
        jQuery('#tip_keywords').qtip({
	   content: 'Please specify the keywords you would like to be used in the article and their exact density in the "number" field.',
	   position:{corner:{target:'bottomMiddle'}},
		style:'tips_for_info'
	})

        jQuery('#tip_discount').qtip({
	   content: 'We have developed a very flexible discount system that will benefit both new and existing customers. Please visit our Discount program web page to read more about it. If you already have a discount code, please do not forget to use it placing the order. You can apply only one discount per one order.',
	   position:{corner:{target:'bottomMiddle'}},
		style:'tips_for_info'
	})
        jQuery('#tip_total').qtip({
	   content: 'Total amount to be paid.',
	   position:{corner:{target:'bottomMiddle'}},
		style:'tips_for_info'
	})

});

