* {
	font-family: Arial, Helvetica, sans-serif;
	margin: 0; padding: 0;
}

html {
	border: 0;
	height: 100%;
	background: url(/images/backright.gif) 100% 0% repeat-y;
	position: relative;
}
body {
	border: 0;
	height: 100%;
	background: url(/images/backleft.gif) 0% 0% repeat-y;
	position: relative;
}

#container0 {
	background: url(/images/backleft.gif) 0% 0% repeat-y;
	padding-left: 24px;
	min-height: 100%;
	margin-bottom: -30px;
}
	* html #container0 {
		height: 100%;
	}

#container1 {
	background: url(/images/backright.gif) 100% 0% repeat-y;
	padding-right: 24px;
	padding-bottom: 20px;
}


/* header */
	#header {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100px;
		background: #eee url(/images/headright.gif) 100% 0% no-repeat;
		z-index: 100;
	}
	#header div {
		position: absolute;
		left: 0; top: 0;
		height: 100px;
		width: 300px;
		background: #eee url(/images/headleft.gif) 0% 0% no-repeat;
	}
	#header div a.home {
		display: block;
		height: 90px;
		width: 300px;
		position: absolute;
		left: 20px;
		top: 20px;
		text-decoration: none;
	}
/* /header */


/* footer */
	#footer {
		color: #000;
		position: relative;
		width: 100%;
		text-align: center;
		padding-top: 10px;
		height: 20px;
		clear: both;
	}
	#footer p {
		margin: 0px 24px;
		background: #eee;
		height: 19px;
		border-top: 1px solid #999;
		
		line-height: 19px;
		font-size: 12px;
	}
/* /footer */

/* menu */

	#menu {
		position: absolute;
		top: 100px;
		left: 0;
		width: 100%;
		z-index: 200;
		margin: 0; padding: 0;
	}
	#menu ul {
		list-style: none;
		margin-left: 20px;
		margin-right: 20px;
		background: #006;
		background: url(/images/menu.gif) 0% 0% repeat-x;
		border-bottom: 1px solid #006;
		height: 70px;
		padding-left: 10px;
	}
	#menu ul li {
		display: inline;
		float: left;
	}
	#menu ul li a {
		color: #fff;
		font-size: 12px;
		
		display: block;
		float: left;
		height: 30px;
		line-height: 30px;
		margin-top: 10px;
		padding: 0px 15px;
		text-decoration: none;
	}
	#menu ul li.active a {
		margin-top: 5px;
		height: 35px;
		line-height: 35px;
		font-weight: bold;
		background: #AFC4DC;
		color: #000;
		border: 1px solid #000;
		border-bottom: 0;
		border-top: 0;
	}
	
	#menu ul ul {
		position: absolute;
		left: 0; top: 40px;
		height: 30px;
		padding-left: 0px;
		background: #AFC4DC;
	}
	#menu ul ul li a {
		margin: 0; padding: 0;
		height: 30px;
		background: #AFC4DC;
		color: #000;
		line-height: 30px;
		font-weight: normal;
		border: 0;
	}
	#menu li.active li a {
		height: 30px;
		line-height: 30px;
		margin: 0; padding: 0;
		padding: 0px 10px;
		font-weight: normal;
		border: 0;
	}
	#menu li.active li.subactive a {
		font-weight: bold;
	}
/* /menu */




/* content */

	#content {
		padding: 3px;
		padding-top: 178px;
		background: url(/images/content.gif) 0% 170px repeat-x;
		font-size: 12px;
	}
	
	#content h1 {
		background: #cde;
		border-bottom: 1px solid #8BAACD;
		color: #000;
		padding: 5px;
		font-size: 14px;
		font-weight: normal;
	}
	
	#content h2 {
		padding: 5px;
		font-size: 14px;
		font-weight: normal;
	}
	#content h3 {
		padding: 5px 28px;
		font-size: 14px;
		font-weight: normal;
		background: #eee;
		border: 1px solid #ccddee;
		border: 1px solid #8baacd;
		margin-top: -1px;
		background: #eee url(/images/down-arrow.gif) 0% 50% no-repeat;
	}
	#content p.jslink {
		background: #fff url(/images/up-arrow.gif) -4px 50% no-repeat;
		padding: 0px 25px;
		color: #888;
		font-size: 10px;
	}
		#content div .statistics .odd td {
			margin-bottom: 5px;
		}
		#content div .statistics .even td {
			margin-bottom: 5px;
		}
	
		#content div table.statistics thead th {
		}
	#content p {
		margin: 5px;
	}
	#content code {
		font-family: "Courier New", Courier, mono;
		margin: 5px;
		padding: 10px;
		background: #eee;
		display: block;
	}
	
	#content form {
		margin: 10px;
	}
	#content fieldset {
		padding: 10px;
		border: 1px solid #aaa;
		margin-bottom: 5px;
	}
	#content fieldset p {
		margin: 5px 0px;
	}
	#content form p label {
		float: left;
		width: 120px;
		clear: both;
	}
	/* Rob's fix for unusual yet semmantic markup */
	#content form p label.labelrow {
		float: none;
		display: inline;
		margin-right: 20px;
	}
	#content form small {
		color: #444;
	}
	#content form input {
		font-family: Verdana, Arial, Helvetica, sans-serif;
		font-size: 12px;
		border-top: 1px solid #444;
		border-right: 1px solid #ccc;
		border-bottom: 1px solid #ccc;
		border-left: 1px solid #444;
		padding: 2px;
		background: #ffe;
	}
	#content form.buttons input {
		border: none;
		padding: 0px;
		background: none;
	}
	#title, #description, #description1, #description2, #ads_by_text, #ads_by_link {
		width: 250px !important;
	}
	#displayurl {
		width: 218px;
	}
	#url {
		width: 169px;
	}
	html body #content form input.edit {
		background: #d4d0c8 url(/images/edit.gif) 0px 0px no-repeat;
		padding-left: 20px;
	}
	html body #content form input.delete {
		background: #d4d0c8 url(/images/delete.gif) 0px 0px no-repeat;
		padding-left: 20px;
	}
	html body #content form input.save {
		background: #d4d0c8 url(/images/save.gif) 0px 0px no-repeat;
		padding-left: 20px;
	}
	html body #content form input.cancel {
		background: #d4d0c8 url(/images/cancel.gif) 0px 0px no-repeat;
		padding-left: 20px;
	}
	html body #content form input.new {
		background: #d4d0c8 url(/images/new.gif) 0px 0px no-repeat;
		padding-left: 20px;
	}
	html body #content form input.stats {
		background: #d4d0c8 url(/images/stats.gif) 0px 0px no-repeat;
		padding-left: 20px;
	}
	html body #content form input.loading {
		background: #d4d0c8 url(/images/ajax-loader.gif) 2px 2px no-repeat;
		padding-left: 22px;
	}
	
	
	#content form select {
		font-family: Verdana, Arial, Helvetica, sans-serif;
		font-size: 12px;
	}
	#content form select option {
		padding-right: 20px;
	}
	#content form p.submit {
		margin-bottom: 20px;
	}
	#content form .submit input {
		border-top: 1px solid #ccc;
		border-right: 1px solid #444;
		border-bottom: 1px solid #444;
		border-left: 1px solid #ccc;
		background: #d4d0c8;
		cursor: pointer;
	}
	
	ul#adgroups_adverts {
		clear: both;
		padding: 10px 0px;
		list-style: none;
	}
	ul#adgroups_adverts label {
		float: none;
		clear: both;
		width: 100%;
	}
	
	
	.relation {
		list-style: none;
	}
	.relation label {
	}
	
	/* campaigns */
	
	#content table {
		border-collapse: collapse;
		border-bottom: 2px solid #cde;
	}
	
	#content table thead th {
		padding: 5px;
		font-weight: normal;
		text-transform: none;
		background: #afc4dc;
		background: #cde;
		color: #345;
		border-right: 1px solid #fff;
	}
	
	#content table caption {
		font-size: 14px;
		padding: 5px;
		background: #cde;
		color: #000;
		text-transform: uppercase;
		text-transform: none;
		text-align: left;
		border-right: 1px solid #fff;
		border-bottom: 1px solid #fff;
	}
	
	#content table tr.even {
		background: #eee;
	}
	#content table tr {
	}
	#content table tr td.innerodd {
		background: #fff;
	}
	#content table tr td.innereven {
		background: #eef;
	}
	#content table tr td {
		padding: 0px 5px;
		border-right: 1px solid #fff;
	}
	#content table tr td input {
		margin: 0;
	}
	
	
	#picker ul {
		list-style: none;
		width: 270px;
		margin: 0; padding: 0;
	}
	#picker ul li {
		float: left;
	}
	#picker ul li a {
		width: 20px;
		height: 20px;
		display: block;
		overflow: hidden;
		border: 1px solid #eee;
		font-size: 0px;
	}
	#picker ul li a:hover {
		border: 1px solid #000;
	}
	.pickbutton {
		cursor: pointer;
		margin-left: 5px;
		padding-left: 20px;
		background: url(/images/picker.gif) 0% -2px no-repeat;
	}
	
	.left {
		float: left;
	}
	.right {
		margin-left: 350px;
	}
	.middle {
		clear: both;
		margin-top: 10px;
		padding: 10px;
		text-align: center;
		border: 1px solid #aaa;
	}
	#campaign_id,
	#ad_campaign {
		width: 190px;
	}
	#ad_preview {
	}
	#ad_script {
		font-family: monospace;
		padding: 10px;
		background: #eee;
		border-left: 0px solid #bbb;
	}
/* /content */







/* m.saulis - artificial lifeform intended for assassination and sabotage */
div.handle {
	width: 10px;
	height: 20px;
	background-color: #009;
	position: relative;
	top: -10px;
}

div.track {
	width: 300px;
	height: 10px;
	background-color: #CCC;
}

#override .right {
	float: left;
	margin: 0; padding: 0;
	margin-top: -180px;
	padding-left: 300px;
}
#override .left {
	float: none;
}
.jslink {
	cursor: pointer;
}

/* Rob's styles */

span.taglist {
	display: block;
	position: relative;
}

span.taglist a {
	margin-left: 5px;
}

div#adlist_container {
	height: 150px;
	width: 380px;
	border: 1px solid #666;
	background-color: #FFF;
	position: relative;
	top: -25px;
	left: 330px;
	overflow: auto;
}

#suggestions, #recommendations {
	clear: both;
	visibility: hidden;
}

#adverts, #adverts_tags {
	width: 50%;
}
#adverts ul li, #adverts_tags ul li {
	list-style-type: none;
}
#adverts {
	float: left;
}
#adverts_tags {
	float: right;
}
