/* Basic layout */
body
{
	background: #fff url("images/background2.gif") repeat-y top left;
	margin: 0;
	padding: 0;
	line-height: 1.5em;
}
body#popup {
	background: #fff;
	margin: 0;
	padding: 0;
	line-height: 1.5em;
}

html, body, #contents {
	min-height: 100%;
	width: 100%;
	height: 100%;}  /* hack for IE5+/Win.*/

html>body, html>body #contents { 
	height: auto;
	width:auto;
}
/* Fonts */
body, table, td, select, textarea, input  {
	font-family: Verdana, Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px; 
	color: #004c74;
}
a {
    color: #003399;
    text-decoration: underline;
}
a:hover {
    text-decoration: underline;
}
/* Tabs */

.tab-s, .tab-u, .tab-g, .tab-r {
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
}

.tab-s:hover, .tab-u:hover, .tab-g:hover, .tab-r:hover {
    text-decoration: underline;
}

.tab-s {
    color: #0066CC;
}

.tab-u {
    color: #FFFFFF;
}

.tab-g {
    color: #666666;
}

span.tab-g {
    color: #999999;
}

.tab-r {
    color: #CC0000;
}

.tab-n {
    color: #FFFFFF;
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
}

.tab-n:hover {
    text-decoration: underline;
}
#logo-pop-up {
		
}
.bgWhite {
	background: #ffffff;
}
/* Error message & help */

.csverror {
    color: #000000;
    font-size: 8px;
    font-weight: bold;
    text-decoration: none;
}

div.errormessage {
    background-color: #FFFFE1;
    border: 1px dashed #CFCFCF;
    margin-top: 8px;
    margin-bottom: 16px;
    padding: 6px 6px 6px 32px;
    line-height: 18px;
}

div.errormessage td {
    line-height: 18px;
}

img.errormessage {
    margin-left: -24px;
}

div#helpLayer {
    background-color: #FFFFE1;
    border-top: 1px dashed #CFCFCF;
    padding: 8px 8px 8px 28px;
}

img#helpIcon {
    margin-left: -20px;
}

.topLink {
	color: #FFFFFF;
	font-size: 11px;
	font-weight: bold;
	text-decoration: none;
}
.topLink:hover {
	text-decoration: none;
}

.topLink:hover span{
	text-decoration: underline;
}
*html a.topLink:hover{
	text-decoration: underline;
}

.topLink img{
	border: 0;
	vertical-align: middle;
	height: 16px;
	width: 16px;
}

/* Form elements */
select.flat, textarea.flat, input.flat,
select.error, textarea.error, input.error,
textarea.code {
    border-style: solid;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
}

select.flat, textarea.flat, input.flat,
textarea.code {
    border-color : #888888;
}

select.error, textarea.error, input.error {
    border-color : #000000;
}

textarea.code, textarea.code-gray {
    font-family: "Lucida Console", "Courier New", Courier, monospace;
    font-size: 12px;
    line-height: 15px;
}

textarea.code-gray {
    border-style: solid;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    color: #808080;
}

textarea.comments {
    border-style: solid;
    border-color : #808080;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    overflow: visible;
}

div.box {
    height:100px; 
    width:275px; 
    background-color: #FFFFFF;
    border: 1px solid #7F9DB9;
    overflow: auto; 
    overflow-x: hidden;
    overflow-y: scroll;
    margin-top: 1px;
    margin-bottom: 1px;
}

textarea.box {
    margin-top: -1px;
    height:100px;
    width:275px;
}

div.boxtitle {
    font-weight: bold;
    border-bottom: 1px #DDDDDD solid;
    padding-top: 6px;
    padding-bottom: 5px;
}

div.boxrow {
    cursor: pointer;
    border-bottom: 1px #DDDDDD solid;
    padding-top: 2px;
    padding-bottom: 2px;
}

div.boxrow img {
    vertical-align: middle;
}

div.boxrow input {
    vertical-align: middle;
}



/* Custom */

.phpAdsNew {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-style: italic;
    font-weight: bold;
    color: #FFFFFF;
}

.nav {
    color: #003399;
}

.install {
    font-size: 1.1em;
    line-height: 21px;
    color: #000066;
}

td.cellenabled {
    color: #000000;
}

td.celldisabled {
    color: #888888;
}

/* Targeting statistics screens */

table {
    border-collapse: collapse;
}

table.targeting {
    width: 90%;
}


/* Cell formatting */

thead td {
    font-weight: bold;
    text-align: center;
}

td.date,
td.time {
    text-align: left;
}

td.numeric,
td.percentage {
    text-align: right;
}

td.empty:after {
    color: #707070;
    content: '-';
}

tbody>tr>td.percentage:after {
    content: '%';
    color: #707070;
}

tbody>tr>td.percentage.empty:after {
    content: '-';
}


/* Ratio-based row colours (and hover-highlighting) */

.ratio-somewhat-off-target {
    color: black;
    background: #ffffee;
}

table.targeting tbody tr.ratio-somewhat-off-target:hover {
    color: #121010;
    background-color: #ffffcc;
}

.ratio-very-off-target {
    color: black;
    background: #ffeeee;
}

table.targeting tbody tr.ratio-very-off-target:hover {
    color: #121010;
    background-color: #ffcccc;
}

table.targeting tbody tr:hover {
    color: #121010;
    background-color: #eeeeee;
}
cc.zone.unlinked:before,
a.zone:before
{
    content:url('http://admin.m3.net/images/icon-zone.gif');
    vertical-align: middle;
    padding-right: 0.3em;
}

.ad.unlinked:before,
a.ad:before
{
    content:url('http://admin.m3.net/images/icon-banner-stored.gif');
    vertical-align: middle;
    padding-right: 0.3em;
}

.interval.unlinked:before,
a.interval:before
{
    content:url('http://admin.m3.net/images/icon-time.gif');
    vertical-align: middle;
    padding-right: 0.3em;
}

.date.unlinked:before,
a.date:before
{
    content:url('http://admin.m3.net/images/icon-date.gif');
    vertical-align: middle;
    padding-right: 0.3em;
}

.time.unlinked:before,
a.time:before
{
    content:url('http://admin.m3.net/images/icon-time.gif');
    vertical-align: middle;
    padding-right: 0.3em;
}


/* CSS-styled stats tables */

.table {
    width: 100%;
    margin: 0;
    padding: 0;
    margin-top: 1em;
    margin-bottom: .5em;
}
.attached-table {
    margin-top: -.5em;
}
.table th {
    font-weight: bold;
    border-bottom: 1px solid #999999;
    padding: 0.4em 0.8em;
}
.table th a {
    white-space: nowrap;
}
.table th a img {
    margin-left: 4px;
}
.table td {
    border-bottom: 1px solid #CCCCCC;
    padding: 0.4em 0.8em;
}
.table .last {
    border-bottom: 1px solid #999999;
}
.table .aleft   {
    text-align: left;
}
.table .aright,
.table .toolbar {
    text-align: right;
}
.table .acenter {
    text-align: center;
}
.table td.light {
    background-color: #FFFFFF;
}
.table td.dark {
    background-color: #F6F6F6;
}
.table td.redlight {
    background-color: #FFEEEE;
}
.table td.reddark {
    background-color: #F6E6E6;
}
.table td.greenlight {
    background-color: #CCFFCC;
}
.table td.greendark {
    background-color: #C6F6C6;
}
.table td.nblight {
    background-color: #FFFFFF;
    border-bottom: 1px solid #FFFFFF;
}
.table td.nbdark {
    background-color: #F6F6F6;
    border-bottom: 1px solid #F6F6F6;
}
.table td.nbredlight {
    background-color: #FFEEEE;
    border-bottom: 1px solid #FFEEEE;
}
.table td.nbreddark {
    background-color: #F6E6E6;
    border-bottom: 1px solid #F6E6E6;
}
.table td.nbgreenlight {
    background-color: #CCFFCC;
    border-bottom: 1px solid #CCFFCC;
}
.table td.nbgreendark {
    background-color: #C6F6C6;
    border-bottom: 1px solid #C6F6C6;
}
.table td.dblight {
    background-color: #FFFFFF;
    border-bottom: 3px double #999999;
}
.table td.separate {
    border-left: 1px solid #E0E0E0;
}
.table td.toolbar {
    font-size: 95%;
}
.table td.toolbar a,
.table td.toolbar span {
    margin-left: 16px;
}
.table td.toolbar span {
    color: #999999;
}
.table td.details .toolbar {
    clear: both;
    text-align: right;
/*  font-size: 110%;*/
    margin: 0.4em 0 0;
    border-top: 1px solid #cccccc;
    padding-top: 0.4em;
}
.table td.details .toolbar a {
    margin-left: 16px;
}


/* CSS-styled sections */

.section {
    margin-bottom: 2em;
}
.section img {
    border: none;
}
.section h3 {
    font-size: 11px;
    font-weight: bold;
    margin: 2em 0 0;
    padding-bottom: 6px;
    border-bottom: 1px solid #666666;
}
.section .row {
    padding: 8px 10px;
    border-bottom: 1px solid #666666;
}
.section .smallrow {
    padding: 4px 10px;
}
.section .light {
    background-color: #ffffff;
}
.section .dark {
    background-color: #f6f6f6;
}
.section .last {
    border-bottom: none;
}
.section .label {
    float: left;
    width: 29%;
}
.section .label label {
    display: block;
    width: 100%;
}
.section .element {
    width: 70%;
    margin-left: 30%;
}
.section .element textarea,
.section .element input {
    width: 100%;
}
.section .element span {
    display: block;
    margin-top: 4px;
}
.section .element span input {
    width: auto;
}
.section .link-buttons {
    text-align: right;
    padding-top: 6px;
}
.section .link-buttons img {
    vertical-align: middle;
}
.section .link-buttons a,
.section .link-buttons span {
    margin-left: 16px;
}
.section .link-buttons span {
    color: #999999;
}





/* form */

h1 {
	font-size:14px;
}

form h2 {
	font-size:12px;
	font-weight:bold;
	text-align:left;
}

h3 {
	font-size:11px;
}

form {
	width:558px;
	/* margin:0px auto 0px auto;*/
}


form, form table, form td, input, select, textarea {
    font-family: Verdana, Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px; 
		color: #004c74;
}

caption, p, li {
	text-align:left;
}

legend {
	font-size: 24px;
	font-weight: normal;
	padding:5px;
	background:#fff;
}

fieldset {
	padding:10px;
	width:538px;
	/* margin:0px auto;*/
	border:none;
}

form table {
	width:538px;
	margin:10px auto;
	text-align:left;
}

form td {
	padding:6px;
	vertical-align:top;
}

.dark {
	background:#eeeeee;
}

form textarea {
	width:380px;
}

.three-dig {
	width:30px;
}

.four-dig {
	width:40px;
}

#submit {
	text-align:center;
}



/* New Styles added */
.style1 {font-size: 9px}

#main-title {
	border: 0;
	margin-top: 16px;
}
#disclaimer {
	margin:40px auto 20px auto;
}

#main-container {
	height: 100%;
	width: 598px;
}
.leftnavguy {
	background-image: url(images/guyontargetlong.jpg) no-repeat;
}	
#navlist{
	list-style: none;
	padding: 4px 0 0 0;
	margin: 0;
	color: #003399;
}

#navlist li{
	display: inline;
	padding-top: 4px;
}
.wrapper-main {
	margin-left: 20px;
	margin-top: 0;
	width: 588px;
}
.wrapper-main h1 {
	font-size:20px;
}
.wrapper-main h2 {
	font-size:16px;
}

#contents {
	position: absolute;
	top: 0;
	left: 0;
}
#main {
	margin-bottom: 3em;
	height: auto;
	padding: 0;
	}
#footer {
	border-top: #8c8a8c 1px solid;
	position: absolute;
	bottom: 0;
	background-color: #efefef;
	text-align: center;
	width: 100%;
	padding: 5px 0;
}

.screenshot {
	width: 600px;
	height: 240px;
}

.screenshot img {
	float: left;
	margin-right: 10px;
	xmargin-bottom: 20px;
}

.sitename {
	font-weight: bold;
	font-size: 14px;
}

/* Validation styles */

.validation-advice {
  color: #f00;
  margin-top: .25em;
  margin-bottom: 1ex;
  font-weight: bold;
}

#advice-loanform p {
	margin: 1ex 0 1em;
}

/* Copyright */

#copyright {
	font-size: .85em;
	text-align: center;

}