

/* jqModal base Styling courtesy of;
	Brice Burgess <bhb@iceburg.net> */

/* The Window's CSS z-index value is respected (takes priority). If none is supplied,
	the Window's z-index value will be set to 3000 by default (in jqModal.js). You
	can change this value by either;
	  a) supplying one via CSS
	  b) passing the "zIndex" parameter. E.g.  (window).jqm({zIndex: 500}); */
	
.jqmWindow {
    display: none;
    
    position: fixed;
    top: 17%;
    left: 50%;
    
    margin-left: -300px;
    width: 600px;
    
    background-color: #ffffff;
    border: 2px solid #0066CC;
}


.jqm-window-title {
  padding: 7px 0px;
  width: 100%;
  color: white;
  background-color: #599BDD;
  font-weight: bold;
  font-size: 120%;
  text-align: left;
}

.jqm-window-body {
  padding: 12px;
}

.jqm-controls {
	 margin-top: 10px; 
	 padding-top: 10px;
	 text-align: right; 
	 border-top: 1px #DDDDDD solid
}

.jqmOverlay { background-color: #000; }

/* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */
* iframe.jqm {position:absolute;top:0;left:0;z-index:-1;
	width: expression(this.parentNode.offsetWidth+'px');
	height: expression(this.parentNode.offsetHeight+'px');
}

/* Fixed posistioning emulation for IE6
     Star selector used to hide definition from browsers other than IE6
     For valid CSS, use a conditional include instead */
* html .jqmWindow {
    margin-left: -480px;
}
* html .jqmWindow {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}


.ac_results {
	padding: 0px;
	border: 1px solid WindowFrame;
	background-color: Window;
	overflow: hidden;
}

.ac_results ul {
	width: 100%;
	list-style-position: outside;
	list-style: none;
	padding: 0;
	margin: 0;
}

.ac_results li {
	margin: 0px;
	padding: 2px 5px;
	cursor: default;
	display: block;
	width: 100%;
	overflow: hidden;
}

.ac_loading {
	background : Window url('../images/indicator.gif') right center no-repeat;
}

.ac_over {
	background-color: Highlight;
	color: HighlightText;
}


/* HELP */
.popup-help {
  position: absolute;
  color: black;
  z-index: 1;
  border: 1px solid #666666;
  background-color: #ffffcc;
  padding: 7px;
  -moz-border-radius: 8px;
  font-weight: normal;
}

.popup-help-link {
  padding-left: 5px;
  position: relative;
  top: -2px;
  font-weight: normal;
}

.popup-help .help-content {
  min-height: 30px;
  height: auto; 
  width: 190px;
  overflow-x: hidden;
  overflow-y: auto;
}

.popup-help .close {
  text-align: right;
  padding-bottom: 3px;
}

.long-help-text {
  overflow: scroll;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 5px;
}

.long-help-text li, ol {
  margin: 0;
  padding: 0;
}

.long-help-text ol {
  margin-left: 2em;
}

.long-help-text li {
  margin-bottom: 1ex;
} 

.ac_results {
	padding: 0px;
	border: 1px solid WindowFrame;
	background-color: Window;
	overflow: hidden;
}

.ac_results ul {
	width: 100%;
	list-style-position: outside;
	list-style: none;
	padding: 0;
	margin: 0;
}

.ac_results li {
	margin: 0px;
	padding: 2px 5px;
	cursor: default;
	display: block;
	width: 100%;
	overflow: hidden;
}

.ac_loading {
	background : Window url('../images/indicator.gif') right center no-repeat;
}

.ac_over {
	background-color: Highlight;
	color: HighlightText;
}


body {
	margin: 0;
	padding: 0;
	background: #fff;
	color: #000;
}
body.hasSidebar {
	background: #fff url(../images/ltr/background.gif) top left repeat-y;
}
body.hasInterface {
	min-width: 1000px;

	/* Fix IE bug: min-width not supported */
	-width: expression((document.documentElement.offsetWidth < 1020)? "1000px": "auto" );
}


a {
	color: #0767A8;
	text-decoration: none;
}
a:hover {
    text-decoration: underline;
}


#oaHeader {
	position: relative;
	background-color: #fff;
	height: 68px;
}
#oaHeaderBranding {
	position: absolute;
	left: 0;
	z-index: 3;
}

.brandingDefault {
	width: 170px;
	height: 62px;
	background: url(../images/logo-wtag.png) no-repeat;
	margin: 3px 0px 0px 3px;
	text-indent: -1000px;
  /* Fix IE bug: transparent PNG support */
  -background: none;
  -filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='assets/images/logo-wtag.png');
}

.brandingName {
	height: 48px;
	padding: 0 0 0 52px;
	line-height: 48px;
	font-size: 24px;
	font-weight: bold;
	color: #0fa64b;
	word-spacing: -0.4em;

}
.brandingName div {
	position: absolute;
	top: 8px;
	left: 16px;
	width: 36px;
	height: 34px;
	background: url(../images/logo-s.png) top left no-repeat;

	/* Fix IE bug: transparent PNG support */
	-background: none;
	-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='assets/images/logo-s.png');
}


#oaSearch {
	position: absolute;
	top: 5px;
	right: 5px;
	height: 31px;
	width: 194px;
	color: #444;
	padding: 0;
  	border: 0;
  	margin: 0;
	background: url(../images/searchfull.png) 0px 0px no-repeat;
}

#oaSearch form {
	margin: 0;
	padding: 0;
}

#oaSearch input.search {
	position: relative;
	left: 32px;
	top: 7px;
	border: 0;
	margin: 0;
	width: 130px;
	height: 13px;
	background: none;
}


#oaSearch input.submit {
	position: absolute;
  	right: 9px;
  	top: 9px;
  	width: 12px;
  	height: 12px;

  	padding: 0;
  	margin: 0;
  	border: 0;
  	cursor: pointer;

  	background: url(../images/searchfull.png) -194px -9px no-repeat;
}

#oaSearch input.submit:hover, #oaSearch input.submit:focus{
  	background-position: -206px -9px;
}



/*	Navigation */

#oaNavigation {
	position: relative;
	top: -24px;
	z-index: 2;

	height: 24px;
	border-bottom: 1px solid #d1d1d1;
}
#oaNavigation ul, #oaHeader ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#oaNavigationTabs {
	position: absolute;
	top: 1px;
	left: 175px;
	line-height: 26px;
	height: 29px;
	min-width: 300px;

	list-style-type: none;
	white-space: nowrap;
}
#oaNavigationTabs * {
	height: 29px;
}
#oaNavigationTabs li {
	float: left;
	margin: 0;
	background: url(../images/tab-body.gif) left 0px repeat-x;
}
#oaNavigationTabs li div.left {
	background: url(../images/tab-link.gif) left 0px no-repeat;
}
#oaNavigationTabs li.first div.left {
	background: url(../images/tab-lead-in.gif) left 0px no-repeat;
}
#oaNavigationTabs li.last div.right {
	background: url(../images/tab-lead-out.gif) right 0px no-repeat;
}
#oaNavigationTabs li.active,
#oaNavigationTabs li.active div.left {
	background-position: left -40px;
}
#oaNavigationTabs li.after-active div.left {
	background-position: left -80px;
}
#oaNavigationTabs li.active div.right {
	background-position: right -40px;
}
#oaNavigationTabs li div {
	overflow: hidden;

	/* Fix IE bug: div should wrap around contents */
	-overflow: visible;
	-width: 1px;
}
#oaNavigationTabs li span,
#oaNavigationTabs li a {
	display: block;
	float: left;
	font-size: 11px;
	color: #444;
	padding: 0 6px 0 17px;
	white-space: nowrap;
}
#oaNavigationTabs li.last span,
#oaNavigationTabs li.last a {
	margin-right: 11px;
	-margin-right: 5px;
}
#oaNavigationTabs li.active span,
#oaNavigationTabs li.active a {
	background: url(../images/tab-body.gif) center -80px no-repeat;
	color: #fff;
}

#oaNavigationExtra {
	position: absolute;
	top: 0;
	right: 14px;
	color: #9c9c9c;
}
#oaNavigationExtra select:focus, #oaNavigationExtraTop select:focus {
	background-color: #fff;
}
#oaNavigationExtra img, #oaNavigationExtraTop img {
	position: relative;
	border: none;
}
#oaNavigationExtra a {
	color: #0767A8;
}
#oaNavigationExtra li {
	float: left;
	margin: 0 0 0 12px;
}

.switchTrigger {
  padding: 2px 14px 0px 5px;
  color: #444444;
  background: url("../images/arrow-d.gif") no-repeat right;
  cursor: pointer;
  margin-right: 2px;
}

.expanded .switchTrigger {
  background: url("../images/arrowwh-d.gif") no-repeat right;
  background-color: #9c9c9c;
  color: white;
  -moz-border-radius-topleft: 3px;
  -moz-border-radius-topright: 3px;
  -webkit-border-top-left-radius: 3px;
  -webkit-border-top-right-radius: 3px;
}

.hover .switchTrigger {
  background: url("../images/arrowwh-d.gif") no-repeat right;
  background-color: #9c9c9c;
  color: white;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.accountsPanel {
  display: none;
}

.expanded .accountsPanel {
	display: block;
	color: #444444;
	position: absolute;
	right: 0px;
	width: 151px;
	z-index: 100;
}

.expanded .switchTop {
  background: url('../images/accountswitcher-header.png') no-repeat;
  height: 1px;
  overflow: hidden;

  /* Fix IE bug: transparent PNG support */
  -background: none;
  -filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='assets/images/accountswitcher-header.png', sizingMethod='scale');
}

.expanded .switchDown {
  background: url('../images/accountswitcher-footer.png') no-repeat;
  height: 15px;

  /* Fix IE bug: transparent PNG support */
  -background: none;
  -filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='assets/images/accountswitcher-footer.png', sizingMethod='scale');
}

.expanded .switchMiddle {
  background: url('../images/accountswitcher-shadow.png') repeat-y;
  padding-left: 3px;
  padding-right: 3px;
  zoom:1;

  /* Fix IE bug: transparent PNG support - it breaks hovering on LI, not sure why */
  -background: none;
  -filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='assets/images/accountswitcher-shadow.png', sizingMethod='scale');
}

.expanded .switchMiddleBody {
	background: url('../images/accountswitcher-gradient.png') repeat-x;
}

.expanded .label {
  font-weight: bold;
  height: 23px;
  line-height: 23px;
  padding-left: 10px;
}

.expanded #accounts {
  padding-top: 5px;
}

#oaNavigationExtra .accountSwitcher {
	position: relative;
}

.accountSwitcherOverlay
{
	display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  left:0;
  top:0;
  background-color: red;
  opacity: 0;
  background-color: none;
  z-index: 99;
}

#oaNavigationExtra .accountSwitcher li {
	padding-left: 10px;
  float: none;
  margin: 0px;
  line-height: 150%;
  overflow: hidden;
  -position: relative; /* IE6 alpafilter bug: http://www.hrunting.org/csstests/iealpha.html */
  -zoom: 1;
}

#oaNavigationExtra .accountSwitcher li.opt {
	color: #9c9c9c;
	margin-top: 2px;
}

#oaNavigationExtra .accountSwitcher li.inopt {
  padding-left: 25px;
}

#oaNavigationExtra .accountSwitcher li.hover, #oaNavigationExtra .accountSwitcher .result ul li.hover a {
  background-color: #0767A8;
  color: white;
  cursor: pointer;
}

#oaNavigationExtra .accountSwitcher .result ul li a {
  display:block;
  padding:0pt;
  text-decoration:none;
}

#oaNavigationExtraTop {
	padding-top: 12px;
	padding-right: 225px;
	color: #9c9c9c;
}
#oaNavigationExtraTop ul {
  float: right;
}
#oaNavigationExtraTop li {
  float: left;
  padding: 0 7px 0 7px;
}
#oaNavigationExtraTop li.infoUser, #oaNavigationExtraTop li.buttonHelp, #oaNavigationExtraTop li.buttonReportBugs {
	border-right: 1px solid #9c9c9c;
}

#oaNavigationExtraTop .buttonStartOver {
	font-weight: bold;
}


#oaMain {
	margin-top: -24px;
}


#oaSidebar {
	position: absolute;
	left: 0;

	width: 160px;
	margin: 0 1px 0 0;
	padding: 0 0 0 20px;
	color: #0767A8;
}

#oaSidebar h3 {
	margin: 20px 0 4px;
	font-size: 11px;
}
#oaSidebar ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
#oaSidebar ul li {
	margin: 0;
	padding: 0;
}
#oaSidebar #oaSidebarNavigation {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
#oaSidebarNavigation li {
	background: url(../images/caret-u.gif) left 3px no-repeat;
}
#oaSidebarNavigation .top {
	background-image: url(../images/caret-t.gif);
	background-position: left 7px;

	padding: 4px 0;
}
#oaSidebarNavigation .first {
	padding-top: 4px;
	background-position: left 7px;
	border-top: 1px solid #ccc;
}
#oaSidebarNavigation .current {
	padding-bottom: 4px;
}
#oaSidebarNavigation a {
	display: block;
	padding: 0 0 0 20px;
}

#oaSidebar #oaSidebarContext {
	border-bottom: 1px solid #ccc;
	padding: 4px 0;
	padding-right: 3px;
}
#oaSidebarContext li {
	background: url(../images/box-0.gif) 18px 4px no-repeat;
	overflow: hidden;
	word-wrap: break-word;
}

#oaSidebarContext li.selected {
	background-image: url(../images/box-1.gif);
}

#oaSidebarContext a {
	display: block;
	padding: 0 0 0 36px;
}

#oaSidebarCustom select {
	width: 120px;
}

#oaSidebarShortcuts {
	border-top: 1px solid #ccc;
}
#oaSidebarShortcuts li {
	border-bottom: 1px solid #ccc;
	background-repeat: no-repeat;
	background-position: left center;
	line-height: 24px;
}
#oaSidebarShortcuts li a {
	padding: 0 0 0 20px;
}


#oaContents {
	margin: 0;
}
.hasSidebar #oaContents {
	margin: 0 0 0 181px;
}

#oaSection {
	background: #fff url(../images/section-body.gif) left -80px repeat-x;
	height: 22px;
	line-height: 22px;
}
#oaSectionTabs {
	margin: 0 0 0 36px;
	padding: 0;
	list-style-type: none;
	white-space: nowrap;
	overflow: hidden;
}
#oaSectionTabs li {
	float: left;
	margin: 0;
	background: url(../images/section-body.gif) left 0px repeat-x;
}
#oaSectionTabs li div.left {
	background: url(../images/section-link.gif) left 0px no-repeat;
}
#oaSectionTabs li.first div.left {
	background: url(../images/section-lead-in.gif) left 0px no-repeat;
}
#oaSectionTabs li.last div.right {
	background: url(../images/section-lead-out.gif) right 0px no-repeat;
}
#oaSectionTabs li.active,
#oaSectionTabs li.active div.left {
	background-position: left -40px;
}
#oaSectionTabs li.after-active div.left {
	background-position: left -80px;
}
#oaSectionTabs li.active div.right {
	background-position: right -40px;
}
#oaSectionTabs li div {
	overflow: hidden;

	/* Fix IE bug: div should wrap around contents */
	-overflow: visible;
	-width: 1px;
}
#oaSectionTabs li span,
#oaSectionTabs li a {
	display: block;
	float: left;
	font-size: 11px;
	color: #444;
	padding: 0 6px 0 17px;
	white-space: nowrap;
}
#oaSectionTabs li.last span,
#oaSectionTabs li.last a {
	padding-right: 17px;
}
#oaSectionTabs li.active span,
#oaSectionTabs li.active a {
	color: #0767A8;
}

hr {
	display: block;
	border: none;
	border-top: 1px solid #ddd;

	height: 1px;
	margin: 4px 0 -8px;
	padding: 0;
}

select.switcher {
  	font-size: 10px;
  	width: 12em;
  	border: 1px solid #aaa;
}
select.switcher option {
  	font-size: 10px;
}
select.switcher optgroup {
	font-family: Arial, Helvetica, sans-serif;
  	font-size: 10px;
  	font-style: normal;
}

.stats-tz-warning {
    margin-top: 1em;
    border: 1px solid red;
    background-color: pink;
    padding: .5em;
    color: black;
    font-weight: bold;
}


span.required {
  font-weight: bold;
  color: red;
  font-size: 150%;
  line-height: 50%;
  position: relative;
  top: 0.3ex;
}

td.required-explanation {
  color: #606060;
  padding-bottom: 5px;
}

/* The main calendar widget.  DIV containing a table. */

div.calendar { position: relative; }

.calendar, .calendar table {
  border: 1px solid black;
  font-size: 11px;
  color: #000;
  cursor: default;
  background-color: rgb(246, 246, 246);
  padding: 10px;
  font-family: tahoma,verdana,sans-serif;
}
.calendar table {
  border: none;
}

/* Header part -- contains navigation buttons and day names. */

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;    /* They are the navigation buttons */
  padding: 2px;          /* Make the buttons seem like they're pressing */
}

.calendar .nav {
  color: rgb(111, 111, 111);
  border: 1px solid rgb(193, 193, 193);
  padding: 2px;
  background: rgb(255, 255, 255) url(menuarrow.gif) no-repeat 100% 100%;
}

.calendar thead .title { /* This holds the current "month, year" */
  font-weight: bold;      /* Pressing it will take you to the current date */
  text-align: center;
  background: rgb(246, 246, 246);;
  color: #000;
  padding: 2px;
}

.calendar.thead tr {
  border-bottom:1px solid #000;
}
.calendar thead .headrow { /* Row <TR> containing navigation buttons */
  background: rgb(246, 246, 246);;
  color: #000;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
  background: rgb(246, 246, 246);;
}

.calendar thead .name { /* Cells <TD> containing the day names */
  padding: 2px;
  text-align: center;
  color: #000;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
  color: #a66;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  background-color: #d2d2d2;
  color: #000;
  padding: 2px;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  background-color: #77c;
  padding: 2px 0px 0px 2px;
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  width: 2em;
  color: rgb(131, 131, 165);
  text-align: right;
  padding: 2px 4px 2px 2px;
  border: 1px solid rgb(201, 201, 201);
  background-color: #fff;
}
.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #bbb;
}
.calendar tbody .day.othermonth.oweekend {
  color: #fbb;
}

.calendar table .wn {
  padding: 2px 3px 2px 2px;
  border-right: 1px solid #000;
  background: #bdf;
}

.calendar tbody .rowhilite td {
  background: #f6f6f6;
}

.calendar tbody .rowhilite td.wn {
  background: #eef;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
  background: #c9c9c9;
  padding: 2px 4px 2px 2px;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  background: #f6f6f6;
  padding: 2px 2px 0px 2px;
}

.calendar tbody td.selected { /* Cell showing today date */
  color: rgb(131, 131, 165);
  border: 2px solid #000;
  padding: 1px 3px 1px 1px;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
  color: rgb(131, 131, 165);
}

.calendar tbody td.today { /* Cell showing selected date */
  color: #a66;
}

.calendar tbody .disabled { color: #999; }

.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
  border: 1px solid rgb(201, 201, 201);
  background-color: rgb(201, 201, 201);
}

.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
  display: none;
}

/* The footer part -- status bar and "Close" button */

.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
  text-align: center;
  background: #556;
  color: #fff;
  display: none;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  background: #fff;
  color: #445;
  border-top: 1px solid #556;
  padding: 1px;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  background: #aaf;
  border: 1px solid #04f;
  color: #000;
  padding: 1px;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  background: #77c;
  padding: 2px 0px 0px 2px;
}

/* Combo boxes (menus that display months/years for direct selection) */

.calendar .combo {
  position: absolute;
  display: none;
  top: 0px;
  left: 0px;
  width: 4em;
  cursor: default;
  border: 1px solid #655;
  background-color: rgb(246, 246, 246);
  color: #000;
  font-size: 90%;
  z-index: 100;
}

.calendar .combo .label,
.calendar .combo .label-IEfix {
  text-align: center;
  padding: 1px;
}

.calendar .combo .label-IEfix {
  width: 4em;
}

.calendar .combo .hilite {
  background: #c9c9c9;
}

.calendar .combo .active {
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  background: #c9c9c9;
  font-weight: bold;
}

.calendar td.time {
  border-top: 1px solid #000;
  padding: 1px 0px;
  text-align: center;
  background-color: #f4f0e8;
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  padding: 0px 3px 0px 4px;
  border: 1px solid #889;
  font-weight: bold;
  background-color: #fff;
}

.calendar td.time .ampm {
  text-align: center;
}

.calendar td.time .colon {
  padding: 0px 2px 0px 3px;
  font-weight: bold;
}

.calendar td.time span.hilite {
  border-color: #000;
  background-color: #667;
  color: #fff;
}

.calendar td.time span.active {
  border-color: #f00;
  background-color: #000;
  color: #0f0;
}



/* Fonts */

body, table, td, select, textarea, input  {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
}

span.link {
    color: #003399;
    text-decoration: none;
}
span.link:hover {
    text-decoration: underline;
}


/* Error message & help */

.csverror {
    color: #000000;
    font-size: 8px;
    font-weight: bold;
    text-decoration: none;
}

.tab-s {
  color:#44444;
}
.tab-s, .tab-u, .tab-g, .tab-r {
  font-size:120%;
  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.infomessage {
    background-color: #FFFFE1;
    border: 1px dashed #CFCFCF;
    margin-top: 8px;
    margin-bottom: 16px;
    margin-right: 80px;
    padding: 6px 6px 6px 32px;
    line-height: 18px;
    background-image: url('../images/info.gif');
    background-repeat: no-repeat;
    background-position: 8px 8px;
    width: 540px;
}

div.infomessage p {
  margin-top: 0;
  margin-bottom: 6px;
}

div.errormessageicon {
    background-color: #FFFFE1;
    border: 1px dashed #CFCFCF;
    margin-top: 8px;
    margin-bottom: 16px;
    margin-right: 80px;
    padding: 6px 6px 6px 32px;
    line-height: 18px;
    background-image: url('../images/errormessage.gif');
    background-repeat: no-repeat;
    background-position: 8px 8px;
}

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[disabled], textarea[disabled], input[disabled], input[disabled]
{
    background-color : #eeeff2
}

textarea:focus, input[type=text]:focus, input[type=password]:focus {
  background-color:  #c7e9d1;
}


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;
}

input.checkbox {
  border: 0;
}

select.error:focus, textarea.error:focus, input.error:focus {
  background-color:  #ffd4d4;
}

select.flat, textarea.flat, input.flat,
textarea.code {
    border-color : #888888;
}

select.error, textarea.error, input.error {
    border-color : #990000;
}

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;
}

 input.accept {
  background-image: url('../images/icon-checkmark.gif');
  background-repeat: no-repeat;
  background-position: 4px 3px;
  padding-left: 14px;
  font-weight:bold;
 }

fieldset {
    border: 1px solid #CDCDCD;
    padding: 10px;
}


/* Custom */
.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, thead th {
    font-weight: bold;
    text-align: left;
}

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: 3em;
}
.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%;
}
label.error {
    padding-left: 0.5em;
    color: red;
}
.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;
}

/** Extra CSS adde for Ad Direct integration */
.section .title {
    font-weight: bold;
    padding: 5px 0px;
    border-bottom: 1px solid #CFCFCF;
}

.section .content {
    padding: 5px 0px 10px 15px;
}

.even {
  background-color: #f6f6f6;/*#E6E7E8;*/
}

.odd {
  background-color: #FFFFFF;
}

.add {
  background-color: #ffedc7;
}

table.data-grid {
  table-layout: fixed;
  border-collapse: collapse;
  border: 1px solid #cdcdcd;
  width: 100%;
}

table.data-grid tr.header {
  background-image: url('../table-bg.gif');
  background-repeat: repeat-x;
  background-position: left bottom;
  height: 35px;
}

table.data-grid th {
  padding: 2px;
  border-bottom: 1px solid #cdcdcd;
  font-weight: bold;
  text-align: left;
}

table.data-grid tr:hover {
  background-color: #ffedc7;
}

table.data-grid tr.odd {
  background-color: #FFFFFF;
}

table.data-grid td.url {
  text-align: left;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

table.data-grid img {
  border:0;
}

div.filters {
  text-align: right;
  margin-bottom: 15px;
  margin-top: 15px;
}
.hide {
  display: none;
}

.link {
  cursor: pointer;
}
.font-small {
    font-size: 80%;
}

/*
span.start-edit:before {
  content:url('../icon-generatecode.gif');
  vertical-align: -30%;
  padding-right: 0.3em;
}
*/
span.start-edit {
  background-image: url('../images/icon-edit.gif');
  background-repeat: no-repeat;
  background-position: 0 -1px;
  padding-left: 20px;
}

span.start-edit-disabled {
  background-image: url('../images/icon-edit-disabled.gif');
  background-repeat: no-repeat;
  background-position: 0 -1px;
  padding-left: 20px;
  color: #a0a0a0;
}

span.save-edit {
  background-image: url('../images/icon-checkmark.gif');
  background-repeat: no-repeat;
  background-position: 1px 2px;
  padding-left: 20px;
  font-weight: bold;
}

span.cancel-edit, span.cancel-add {
  background-image: url('../images/icon-x.gif');
  background-repeat: no-repeat;
  background-position: 1px 2px;
  padding-left: 15px;
  margin-left: 3px;
}

div.error-box {
  background-image: url('../images/errormessage.gif');
  background-repeat: no-repeat;
  background-position: 5px 5px;
  background-color: #ffcccc;
  padding: 5px;
  padding-left: 25px;
  width: 70%;
  border: 1px solid red;
  margin: 0 auto 0 auto6;
  -moz-border-radius: 5px;
  text-align: left;
}

select.inerror, input.inerror {
  background-color: #ffcccc;
}

select.inline {
  margin-bottom: 2px;
  margin-top: 2px;
}

.main-submit {
    font-weight: bold;
}

.arrow-submit {
  border: 0;
  background-image: url('../images/ltr/go_blue.gif');
  background-repeat: no-repeat;
  background-color: transparent;
  background-position: 0px 1px;
  cursor: pointer;
  width: 12px;
}

.arrow-submit:focus {
  background-color: transparent;
}

form.new-form div.line:after, .clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

form.new-form div.line {
  margin-bottom: 5px;
}

form.new-form div.line-nolabel {
  margin-bottom: 3px;
  padding-left: 100px;
}

form.new-form label.left {
  width: 100px;
  float: left;
  font-weight: bold;
}

form.new-form input[type='checkbox'] {
  margin: 3px 5px 3px 0;
}

.line-cb {
  margin: 0px 2px 0 2px;
}

/** Hide from IE 6 */
html > body label.cb,
html > body a.cb {
  position: relative;
  top: -2px;
}

form.new-form label.inline {
  position: relative;
  top: -1px;
  font-weight: bold;
  padding-left: 20px;
  padding-right: 5px;
}

form.new-form input[type='text'], form.new-form select {
  width: 18em;
}

form.new-form input.main {
  font-weight: bold;
}

form.new-form {
  margin: 10px 0 0 0;
}

form .controls {
    width:100%;
    text-align:left;
    margin-top: 15px;
    padding-top: 7px;
}

a.adv-list-entry {
  width: 150px;
  float: left;
}


/** captcha window **/
.captcha {
  margin-top: 20px;
  vertical-align: top;
}

.captcha img {
  float: left;
  margin-top: 10px;
}

.captcha input {
  margin: 10px;
  margin-top: 15px;
}

.deleted-affiliate {
  font-weight: bold;
}
/** advertisers **/

.oa {
  background-color: #E7F7CE;
}

.space td {
  height: 9px;
}

.break td {
  background-color: #888888;
  height: 1px;
}

.sts {
  padding: 0px 5px;
}

.sts-accepted, .sts-not-started, .sts-finished {
  color: green; /*#547852;*/
}

.sts-rejected, .sts-pending, .sts-paused {
    color: #777777;
}

.sts-pending, .sts-paused {
  font-style: italic;
}

.sts-awaiting, .sts-awaiting:hover, .sts-insufficient,
.sts-awaiting a, .sts-awaiting:hover a, .sts-insufficient a{
  color: #EF0E17 !important;
}

.sts-reason {
  display: none;
  background-color: #F9FFD0;
}

.dev-note {
    padding: 15px;
    color: #000;
    background-color: #F7FFC0;
    border: 1px solid #D7D7D7;
    width: 90%;
    margin: 15px 0px;
}

pre.invocation-codes {
  background: #FFFFFF none repeat scroll 0%;
  border: 1px solid #CCCCCC;
  cursor: text;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px;
  white-space: -moz-pre-wrap;
  width: 100%;
}

pre.invocation-codes {
  color: #777777;
  font-family: "Lucida Console","Courier New",Courier,monospace;
  font-size: 12px;
}

div.table-content {
  margin: 0 40px;
}

.hint {
  color: #a0a0a0;
}

#user-access-action {
  width: 6em;
}

#user-access-table td {
  padding-right: 10px;
}

#user-access-table td.first {
  padding-left: 5px;
}

#user-access-table td.last {
  padding-right: 0px;
}

tr.hl {
  background-color: #FFFFE1;
}

td.norows {
  text-align: center;
}

a.permissions {
  background-image: url('../images/icon-acl.gif');
  background-repeat: no-repeat;
  padding-left: 18px;
  padding-bottom: 2px;
  background-position: 0 -1px;
}

a.unlink {
  background-image: url('../images/icon-recycle.gif');
  background-repeat: no-repeat;
  padding-left: 18px;
  padding-bottom: 2px;
  background-position: 0 -1px;
}

a.edit {
  background-image: url('../images/icon-edit.gif');
  background-repeat: no-repeat;
  padding-left: 18px;
  padding-bottom: 2px;
  background-position: 0 -1px;
}

div.terms {
  padding: 1ex;
  border: 1px solid #808080;
  height: 40ex;
  margin-bottom: 20px;
  overflow: scroll;
  overflow-y: auto;
  overflow-x: hidden;
}

div.terms iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

.available-int, .unavailable-int, .checking-int, .error-int {
  font-weight: bold;
  margin: 0 0 0 0.5em;
}

.available-int {
  color: #22b24c;
}

.unavailable-int {
  color: #f15922;
}

#user-check-indicator .checking-int,
#user-check-indicator .error-int {
  color: #808080;
}

#user-check-indicator.checking .unavailable-int,
#user-check-indicator.checking .available-int,
#user-check-indicator.checking .error-int,
#user-check-indicator.error .unavailable-int,
#user-check-indicator.error .available-int,
#user-check-indicator.error .checking-int,
#user-check-indicator.available .unavailable-int,
#user-check-indicator.available .checking-int,
#user-check-indicator.available .error-int,
#user-check-indicator.unavailable .checking-int,
#user-check-indicator.unavailable .available-int,
#user-check-indicator.unavailable .error-int
{
  display: none;
}

.terms-contents {
  height: 500px;
  overflow-y: scroll;
  overflow-x: none;
}

.terms-contents .li1 {
    padding-left : 2px;
    padding-bottom: 2px;
    padding-top: 2px;
    font-style: normal;
    font-weight: bold;
}

.terms-contents .li2txt {
    margin: 25px;
    padding-left: 25px;
    padding-right: 20px;
}

.terms-contents .li2 {
    margin-left:-25px;
    margin-bottom: 0px;
    float: left;
}

.terms-contents ul,
.terms-contents ol {
  padding: 0pt 0.8em 0pt 1.5em;
  margin-top: 1em;
  margin-bottom: 1em;
}

.terms-contents h1 {
  border: 0;
  margin-top: 1em;
  margin-bottom: 1em;
  font-size: 200%;
}

/** User log */
.filterLabel {
    float:left;
    font-weight:bold;
    padding-right:0.5em;
    text-align:left;
    width:10em;
}
.filterWrapper {
    margin-bottom: 5px;
}

.tableTitle {
    font-weight: bold;
    font-size: 9pt;
    margin-bottom: 0;
}


