/* HEADER STYLES */

/* BASE STYLES */

div.jqmdMSG h2 {
	margin: 0px;
}

/* admin are simple contents page */
div.simple-page {
	width: 730px;
	margin-left: auto;
	margin-right: auto;
	padding: 1.5em 1em 1em 1em;
	background-color: white;
}

div.button {
	background-color: white;
	border: 1px solid #d0d0d0;
	padding: 7px;
	margin: 5px;
	float: left;
}

div.button a {
	padding: 7px 7px 7px 22px;
	background-repeat: no-repeat;
	background-position: left;
}

div.button a.advert-stats {
	background-image: url(/cms/images/chart_curve.png);
}

div.button a.advert-view {
	background-image: url(/cms/images/page_white_magnify.png);
}

div.button a.advert-edit {
	background-image: url(/cms/images/page_white_edit.png);
}

div.button a.advert-export {
	background-image: url(/cms/images/page_white_go.png);
}

div.button a.advert-remove {
	background-image: url(/cms/images/page_white_delete.png);
}

div.button a.advert-resume {
	background-image: url(/cms/images/page_white_add.png);
}

div.button a.advert-suspend {
	background-image: url(/cms/images/page_white_error.png);
}

div.button a.advert-change-owner {
	background-image: url(/cms/images/user_edit.png);
}

div.button a.customer-login-as-user {
	background-image: url(/cms/images/user_go.png);
}

div.button a.customer-email-user {
	background-image: url(/cms/images/email_go.png);
}

.cmsbody {
	font-family: Arial, helvetica, "sans serif";
	font-size: 12px;
	color: black;
	background-color: #FFFFE8
}
.clr {
	clear: both;
	overflow: auto
}
.ctr {
	text-align: center
}
a.standardlink {
	color: blue;
	text-decoration: none
}
a:active.standardlink {
	color: blue;
	text-decoration: none
}
a:visited.standardlink {
	color: blue;
	text-decoration: none
}
a:hover.standardlink {
	color: blue;
	text-decoration: none
}

/* ADMIN CMS STYLES */

#okcancel {
	clear: both;
	background: #d5ff84 url(/cms/images/sprite.gif) repeat-x 0px -82px;
	width: auto;
	color: #528c00;
	font-weight: bold;
	border: 1px solid black;
	overflow: hidden
}
.signuptextfield {
	width: 200px
}
.createadverttextfield {
	width: 300px
}
.textfield {
	position: relative;
	width: 300px;
	top: -5px
}
.toolbaricon {
	padding-top: 5px;
	border: none;
	width: 20px;
	height: 20px
}
#changeddate {
	clear: both;
	background: #d5ff84 url(/cms/images/sprite.gif) repeat-x 0px -82px;
	text-align: center;
	font-weight: bold;
	color: #000000
}
form { margin: 0px; padding: 0px }
#page_heading { margin: 4px; padding-top: 10px; padding-bottom: 10px; font-size: 20px; font-weight: normal; color: #000099; text-align: center }
#sub_heading { margin: 4px; padding-top: 15px; padding-bottom: 10px; font-size: 18px; font-weight: normal; color: #000099; text-align: center }
#savemsg { display: none; color: #FF0000 }

/* input, textarea, select { font-size: 12px; font-weight: normal; color: #000000; border: 1px solid #000000 } */
textarea, select { font-size: 12px; font-weight: normal; color: #000000; border: 1px solid #000000 }

#countertable { width: 740px; border: none }
.form_button { font-size: 12px; font-weight: bold; color: #FFFFFF; background-color: #000066 }
.form_button_red { font-size: 9px; font-weight: bold; color: #FFFFFF; background-color: #FF0000 }
.sub_page_heading { font-size: 18px; font-weight: normal; color: #000099; text-align: center }
.form_labels { font-size: 12px; font-style: normal; font-weight: normal; color: #000066 }
.required_field { font-family: "Courier New", Courier, mono; font-size: 12px; font-weight: bold; color: #FF0000 }
.error_text { font-size: 12px; color: #FF0000; font-weight: bold }
.pwd_textbox { font-family: "Courier New", Courier, mono; font-size: 12px; font-weight: bold; color: #000000 }
.body_text { font-size: 12px; font-weight: normal; color: #000000 }
#window_status {
	clear: both;
	padding-top: 5px;
	padding-bottom: 5px;
	height: 30px;
	overflow: auto
}
#area_select {
	display: none;
	width: auto;
	height: auto;
	overflow: auto
}
#category_select {
	display: none;
	width: auto;
	height: auto;
	overflow: auto
}

/* CUSTOMER CMS STYLES */

#themePicklist {
	clear: both;
	padding-bottom: 5px;
	overflow: auto
}
#thumb_upload_process, #thumb_advert_image_upload_process {
	position: absolute;
	text-align: center;
	width: 250px;
	margin: 0px;
	padding: 0px;
	background-color: #fff;
	border: 1px solid #ccc;
	z-index: 100;
	display: none
}
.invoice_container {
	clear: both;
	width: 700px;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
	border: 1px solid gray;
	overflow: auto
}
.invoice_row {
	clear: both;
	width: 380px;
	height: auto;
	padding-top: 10px;
	margin-left: auto;
	margin-right: auto;
	overflow: auto
}
.smalltext {
	font-size: 9px
}

div.form-container {
	position: relative;
	width: 520px;
	padding-bottom: 1.2em;
}

div.form-container a.edit_button {
	border: 1px solid #8498C5;
	background-color: white;
	height: 18px;
	padding: 5px 27px 5px 5px;
	font-size: 11px;
	position: absolute;
	style: block;
	/*display: none;*/ 
	top:0;
	right:0;
	background-image: url('/cms/images/edit.png');
	background-repeat: no-repeat;
	background-position: right top;
	font-family: "lucida grande",tahoma,verdana,arial,sans-serif;
	text-decoration: none;
	z-index: 100;	/* force the button over elements that follow it (images etc...) */
	/* reset the font */
	font-weight: normal;
}

div.form-container table {
	border: none;
	width: 100%;
	border-collapse: collapse;
}

div.form-container div.static table td.left {
	width: 127px;
	/* text-align: right; */
	padding: 1px 15px 1px 7px;
	color: #777777;
	vertical-align: top;
}

div.form-container div.static table td.right {
	padding: 1px 1px 1px 1px;
}

div.form-container div.form table td.left {
	width: 150px;
	text-align: right;
	padding: 5px 15px 1px 1px;
}

div.form-container div.form table td.right {
	padding: 5px 1px 1px 1px;
}

div.form-container table tr.last td {
	text-align: right;
}

div.form-container table tr.last td input {
	margin: 0 0 0 5px;
}

div.form-container div.form table td.right textarea{
	width: 100%;
	height: 60px;
	border-color: #BDC7D8;
}

div.form-container div.form {
	display: none;
}

div.form-container div.title {
	border-bottom: 1px solid #8498C5;
	margin-bottom: 7px;
}


table.admin {
	border: none;
	width: 100%;
	background: whitesmoke;
	border-collapse: collapse;
}

table.admin th, table.admin td {
  border: 1px silver solid;
  padding: 0.2em;
  padding-bottom: 8px;
}

table.admin td.left{
	width: 100px;
	vertical-align: top;
}

table.admin td.right div{
	width: 100%;
}

table.admin td.right textarea{
	width: 100%;
	height: 60px;
	border-color: #BDC7D8;
}

/* float the edit toolbar to the right */
table.admin td.right div *{
	float: right;
}

table.admin td.right div button{
	margin: 0 0 0 0;
}

div.info-box {
	background-color: #EAEAEA;
	border: 1px solid #CCCCCC;
	padding: 15px;
	margin: 10px;
}

div.warning {
	border: 2px solid pink;
	padding: 6px;
	margin: 5px 0 5px 0;
}

div.warning span.icon {
		background-image: url(/cms/images/bullet_error.png);
		background-repeat: no-repeat;
		background-position: center left;
		color:red;
		padding-left: 32px;
}

/* New Advert Signup */

table.new_ad td{
	padding: 3px;
}

table.new_ad td input{
	font-size: 18px;
}

/* search */
div#main div.search {
	width: 130px;
	padding: 5px;
	border: 1px solid #528CB5;
}

div#main div.results {
	float: right;
	width: 780px;
	margin: 0;
	padding: 0;
}

div.section {
	padding: 1em 0 1em 1em;
}

