html, body, div, span, object, iframe,
	h1, h2, h3, h4, h5, h6, p, blockquote, pre,
	abbr, address, cite, code,
	del, dfn, em, img, ins, kbd, q, samp,
	small, strong, sub, sup, var,
	b, i,
	dl, dt, dd, ol, ul, li,
	fieldset, form, label, legend,
	table, caption, tbody, tfoot, thead, tr, th, td,
	article, aside, canvas, details, figcaption, figure,
	footer, header, hgroup, menu, nav, section, summary,
	time, mark, audio, video {
		margin:0;
		padding:0;
		border:0;
		outline:0;
		font-size:100%;
		vertical-align:baseline;
		background:transparent;
	}
	body {
		line-height:1;
	}
	article,aside,details,figcaption,figure,
	footer,header,hgroup,menu,nav,section {
		display:block;
	}
	nav ul {
		list-style:none;
	}
	blockquote, q {
		quotes:none;
	}
	blockquote:before, blockquote:after,
	q:before, q:after {
		content:'';
		content:none;
	}
	a {
		margin:0;
		padding:0;
		font-size:100%;
		vertical-align:baseline;
		background:transparent;
	}
	/* change colours to suit your needs */
	ins {
		background-color:#ff9;
		color:#000;
		text-decoration:none;
	}
	/* change colours to suit your needs */
	mark {
		background-color:#ff9;
		color:#000;
		font-style:italic;
		font-weight:bold;
	}
	del {
		text-decoration: line-through;
	}
	abbr[title], dfn[title] {
		border-bottom:1px dotted;
		cursor:help;
	}
	table {
		border-collapse:collapse;
		border-spacing:0;
	}
	/* change border colour to suit your needs */
	hr {
		display:block;
		height:1px;
		border:0;
		border-top:1px solid #cccccc;
		margin:1em 0;
		padding:0;
	}
	.homeform input, .homeform select {
		vertical-align:middle;
	}

	html, body {}
    body { margin:0; padding:0; }

/* ----------------------------------------------  Reset form elements ---------------------------------------------- */

	.homeform input, .homeform select, .homeform textarea {
		margin:0; padding:0; font-size:0.85em; outline:none;
		font-family:inherit;
		-moz-box-sizing:border-box; /* Firefox */
		-webkit-box-sizing:border-box; /* Safari */
		box-sizing:border-box;}

/* ----------------------------------------------  Inputs, textareas and selects  ---------------------------------------------- */



	div.styled, .homeform select, .homeform input[type="submit"], .homeform input[type="button"],
	.homeform input[type="file"]:after {
		background: white url(http://www.mediabong.com/theme/admin/img/misc/formelements-select.png) no-repeat center right;
		-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2);
		box-shadow: 0 1px 3px rgba(0,0,0,0.2);}

	.homeform input[type="text"], .homeform input[type="password"], .homeform textarea, .homeform input[type="file"] {
		background-color: #f5f5f5;
		-webkit-box-shadow: inset 0 2px 3px rgba(0,0,0,0.2);
		box-shadow: inset 0 2px 3px rgba(0,0,0,0.2);}

		.ie9 .homeform input[type="text"] { line-height:normal; } /* Get the stuff to line up right */


/* ----------------------------------------------  Select menu  ---------------------------------------------- */

	/* For IE and Firefox */

	div.styled { overflow:hidden; padding:0; margin:0; }

		.ie7 div.styled {border:none;}

	div.styled select {
		width:115%; background-color:transparent; background-image:none;
		-webkit-appearance: none; border:none; box-shadow:none;}

		.ie7 div.styled select {
			width:100%; background-color:#fff; border: solid 1px #ccc;
			padding:0.3em 0.5em;}

/* ----------------------------------------------  File field  ----------------------------------------------  */

	/* Webkit Only */

	.homeform input[type="file"] {
		position: relative;
		-webkit-appearance: none;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;	width: 40%;	padding:0;}

	.homeform input[type=file]::-webkit-file-upload-button {
		width: 0; padding: 0; margin: 0;-webkit-appearance: none; border: none;}

	.homeform input[type="file"]:after {
		content: 'Upload File';
		margin:0 0 0 0.5em;
		display: inline-block; left: 100%; position: relative;
		background:white url(http://www.mediabong.com/theme/admin/css/formelements-select.png) no-repeat center left;
		padding:0.3em 0.5em; border: solid 1px #ccc !important;
		-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2);
		box-shadow: 0 1px 3px rgba(0,0,0,0.2);
		border-radius:4px;}


		.homeform input[type="file"]:active:after {box-shadow:none;}


/* ----------------------------------------------  Checkboxes and Radio inputs  ----------------------------------------------  */

	.homeform input[type="radio"],
	.homeform input[type="checkbox"] { position: absolute; left: -999em; }

	label.nol:before
	{
		display: inline-block;
		position: relative;
		top:0.25em;
		left:-2px;
		content:'';
		width:25px;
		height:25px;
		background-image:url(http://www.mediabong.com/theme/admin/img/misc/formelements.png);
		background-position: -25 -25px;
	}

	.homeform input[type="checkbox"] + label.nol:before { background-position: 0 -25px;}
	.homeform input[type="checkbox"]:checked + label.nol:before {background-position: 0 0 ; }

	.homeform input[type="radio"] + label.nol:before { background-position: -25px -25px;}
	.homeform input[type="radio"]:checked + label.nol:before { background-position: -25px 0;}

		/* Remove the custom styling for IE 7-8 */

		.ie8 label:before { display:none; content:none; }

		.ie8 .homeform input[type="checkbox"],
		.ie8 .homeform input[type="radio"],
		.ie7 .homeform input[type="checkbox"],
		.ie7 .homeform input[type="radio"]{
			position: static; left:0; }

		.ie8 .homeform input[type="checkbox"],
		.ie8 .homeform input[type="radio"] {
			position:relative; top:5px; margin-right:0.5em;}

	.homeform input[type="text"]:focus, .homeform textarea:focus {
		border-color:#000;
		}

/* ---------------------------------------------- Form Submit and Next buttons ---------------------------------------------- */

.homeform input[type="submit"],
.homeform input[type="button"] {
		padding:0.5em 1em; line-height:1em; cursor:pointer;
		border-radius:4px; color:#000; font-weight:bold; font-size:inherit;
		border:solid 1px #ccc;	box-shadow:0 1px 5px rgba(0,0,0,0.2);
		background-position: center bottom;}

		/* Gradient Generator by : http://www.colorzilla.com/gradient-editor/ */

.homeform input[type="submit"]:active,
.homeform input[type="button"]:active {-webkit-box-shadow: none; box-shadow:none;}

		/* IE7 needs you to change the background to transparent when using image background for submit buttons */

/*----------------------------------------------  Media Queries ----------------------------------------------  */

	@media screen and (max-width: 600px) {
		body { width:80%; font-size:15px; }
	}/* end of query */

	@media screen and (max-width: 400px) {
		.homeform input[type="text"], .homeform textarea, .homeform select, div.styled { width:100% }
	}/* end of query */