body {
   background: #ebebeb;
   margin: 0 0 20px;
   padding: 0;
   }
.Body {
	padding: 10px 16px 0 30px;
}
.Clickable {
	cursor: pointer;
}
.Button {
	cursor: pointer;
}
a.Button img {
	border: 0;
	margin-right: 3px;
}
.Cancel {
	margin-left: 40px;
}
div.Clear {
	clear: both;
}
.UserOptions {
	float: right;
	padding: 4px 12px;
}
.UserOptions div,
.UserOptions div a {
	display: inline;
}
#PageBanner h1 {
	padding: 10px 0 14px 44px;
}
#PageBanner h1 a {
	text-decoration: none;
}
ul.TabMenu {
	padding: 6px 0px 1px 40px;
	font-size: 120%;
	font-weight: bold;
	list-style: none;
}
ul.TabMenu li {
	display: inline;
	margin-right: 4px;
	line-height: 22px;
}
ul.TabMenu li a {
	-moz-border-radius-topleft: 2px;
	-moz-border-radius-topright: 2px;
	padding: 6px 10px 4px 10px;
	text-decoration: none;
	background: #e5f7fd; /* [20120830:ccooke] Added to better differentiate the tabs */
}
ul.TabMenu li a:hover {
	text-decoration: none;
}

/* Page Content */
.Content {
	padding: 0 4px 0 0;
	background: #fff url('../images/page_r.png') repeat-y bottom right;
	margin-right: 330px;
}
.Wide .Content {
	margin: 0 10px 0 0;
}
.Content h2 {
	background: #e5f7fd;
	padding: 12px 20px;
	margin: 0;
}
.Content .Padding {
	padding: 10px 20px 20px 20px;
}
h3 {
	background: #f3f3f3;
	padding: 10px;
}

/* Messages */
div.Information,
div.Notice {
	-moz-border-radius: 2px;
	background: #ff9;
	color: #000;
	padding:3px 6px;
}
div.Notice {
	text-align: right;
}
fieldset ul li div.Information {
	margin-bottom: 10px;
}
fieldset legend {
	font-size: 120%;
	font-weight: bold;
	margin: 0px 8px;
	padding: 0px 2px;
}
.Messages .Error,
.Messages .UserError,
.Messages .SecurityError,
.Messages .SystemError,
.Messages .Warning {
	font-weight: bold;
	font-size: 120%;
	padding: 8px 20px;
	background: #d50a0a;
	color: #fff;
}
.Messages .Success {
	font-weight: bold;
	font-size: 120%;
	padding: 8px 20px;
	background: #0ad518;
	color: #fff;
}
img.Border {
	border: 3px solid #ebebeb;
}

/* Form Elements */
fieldset ul li.Heading {
	font-family: "Helvetica Neue",Helvetica,arial,sans-serif;
	font-weight: bold;
	line-height: 110%;
	font-size: 145%;
	background: #e5f7fd;
	padding: 12px 20px;
	margin: 0;
	border-bottom: 0px;
}
fieldset.AddPadding ul {
	padding: 0 0 20px;
}
fieldset.AddPadding ul li {
	margin: 0 20px;
}
fieldset.AddPadding ul li.Heading {
	margin: 0 0 10px;
}
fieldset ul li {
	border-bottom: 1px solid #eee;
	clear: left;
	padding: 8px;
}
fieldset ul li.Buttons {
	padding-left: 158px;
	border-bottom: 0px;
}
fieldset ul li Label
{
	display: inline-table; 
	font-size: 120%;   
	width: 150px;
}

fieldset ul li span.TextInput
{
	display: inline-table; 
	font-size: 120%;   
	width: 150px;
}

.Agent label {
	/* padding: 4px 0px 0px 0px;*/
	font-size: 120%;
	display: block;
	width: 150px;
	float: left;
}
.Content table.RadioList,
.Content table.Permissions {
	width: auto;
}
.CheckBox label {
	float: none;
	width: auto;
	padding: 0px;
	font-size: 100%;
	display: inline;
}
.CheckBox img {
	float: left;
	padding: 4px 8px 0 0;
}
li.CheckBox {
	padding-left: 156px;
}
/* CheckBox Wrapper Styles */
.Wrapper {	
	padding: 6px;
	background: #bfa;
}

input.TextInput,
input.LongTextInput,
select {
	font-family: Helvetica, Arial, Sans-Serif;
	font-size: 120%;
	padding: 4px;
}
input.TextInput {
	width: 300px;
}
input.LongTextInput {
	width: 300px !important;
}
input.DateInput,
input.NumberInput {
	width: 150px;
}
textarea.TextInput {
	height: 200px;
}
button {
	cursor: pointer;
}
.Optional {
	background: #ff9;
	padding: 8px;
}
.Optional h3 {
	background: none;
}
.Optional li {
	border: 0;
}


/* Custom Form Elements */
#NewAgency div, 
#ExistingAgency div {
	margin-left: 150px;
}
#ExistingAgency select {
	margin-bottom: 12px;
}


/* Sidebar */
div.Options {
	padding: 0;
	width: 300px;
	float: right;
}
div.Options h2 {
	color: #2C2C2C;
	font-size: 120%;
	margin: 0px;
	padding: 10px 21px 21px 10px;
	color: #222;
	background: #e5f7fd url('../images/panel_bg.png') no-repeat bottom right;
}
div.Options ul {
	padding: 0 10px 10px;
	font-size: 120%;
	line-height: 170%;
}
div.Options ul li a.Active {
	font-weight: bold;
	color: #000;
	text-decoration: none;
}

/* Debug */
div.Debug {
	clear: both;
	margin: 0 346px 0 30px;
	padding: 10px 10px 10px 0px;
	background: #f3f3f3 url('../images/page_r.png') repeat-y bottom right;
	color: #888;
}
.Wide div.Debug {
	margin: 0 26px 0 30px;
}
div.Debug strong {
	font-weight: normal;
	color: #aaa;
	padding: 0px 0px 0px 10px;
}

/* Tables */
.Content table {
	width: 100%;
}
table {
	border-collapse: collapse;
}
table th,
table td {
	font-weight: normal;
	font-size: 12px;
	/* [20120830:ccooke] Remove td grey  //  color: #555; */
	background: #fff;
}
table th {
	padding: 2px 16px 6px 6px;
}
table td {
	/* padding: 6px 10px; */
	padding: 2px 4px;
}
table thead th {
	font-size: 13px;
	color: #000;
}
.Content table thead th,
.Content table thead td {
	background: #e9e9e9;
	color: #555;
	font-weight: bold;
	font-size: 110%;
}
table tbody th,
table tbody td {
	/*[20100909:ccooke] Override to align top  //vertical-align: middle;*/
	vertical-align: top;
	line-height: 150%;
}

/* Table with shaded rows */
table.Rows tr {
	background: #fafafa;
}
table.Rows tr.Alt {
	background: #f5f5f5;
}
table.Rows thead tr {
	background: #fff;
}
table.Rows tbody th,
table.Rows tbody td {
	border-bottom: 1px solid #e2e6ef;
}    

/* Table with shaded columns */
.Content table.Columns th,
.Content table.Columns td {
	background: #fafafa;
}
table.Columns th.Alt,
table.Columns td.Alt {
	background: #f5f5f5;
}
table.Columns thead th,
table.Columns tbody th,
table.Columns td {
	border-bottom: 1px solid #e2e6ef;
}    

/* Table with Grid */
table.Grid {
	border-collapse: separate;
	border-spacing: 1px;
	background: #e2e2e2;
}
table.Grid th,
table.Grid td {
	background: #f8f8f8;
}
table.Grid tr.Alt th,
table.Grid tr.Alt td {
	background: #f2f2f2;
}

/* Table Customizations */
table.Permissions {
	display: inline;
}
table.Permissions td {
	text-align: center;
}
table.Pager,
table.Clickable {
	width: 100%;
}
table.Clickable tbody td,
table.Clickable tbody th {
	padding: 0px;
}
table.Clickable tbody a {
	display: block;
	padding: 6px 10px;
}
table.Col3 td {
	width: 33.3%;
}
.Left {
	text-align: left;
}
.Center {
	text-align: center;
}
.Right {
	text-align: right;
}
table.Pager td {
	font-size: 120%;
}
table.Pager a {
	font-weight: bold;
}
table.Pager a.Next {
	margin: 0px 0px 0px 20px;
}

/* Customer Form */
.CustomerJump label,
.CustomerJump input {
	font-weight: bold;
	font-size: 130%;
}

#Customer label {
	width: auto;
}

#Customer input.TextInput {
	width: 175px;
}

#Customer input.MIInput {
	width: 30px;
	margin-top: -8px;
}

#Customer input.LongTextInput {
	width: 225px;
	margin-top: -8px;
}

#Customer li {
	padding: 3px 8px;
	border: 0px;
}
#Customer li label {
	padding: 0px;
}
#Customer span.TextInput,
#Customer span.DropDown {
	/*  padding: 4px 0px 0px 0px;*/
	font-size: 120%;
}

#Customer fieldset#OfficeUse {
	background: #fffecc;
	border: 1px solid #f2db7c;
	padding: 2px 0 8px;
	margin-top: 20px;
}
#Customer fieldset#OfficeUse li {
	border-bottom: 1px dotted #f2db7c;
	padding: 8px;
}
#Customer fieldset#OfficeUse li.CheckBox {
	border-bottom: 0px;
	padding-bottom: 0px;
}
#Customer div.Buttons {
	padding: 8px 0px 0px;
	clear: left;
	width: 100%;
}
#Customer .CheckBox input {
	width: auto;
	margin-right: 6px;
}
#Customer input.CustomerNumberInput {
	width: 100px;
	margin-right: 10px;
}
#Customer input.ProvinceInput {
	padding: 4px;
}
#Row2 {
	clear: left;
}

/* Search Page */
fieldset.Search {
	margin: 10px 0 20px;
}
body.Search h3 {
	margin-bottom: 2px;
}

input.ErrorType {
	background: #faa;
	border: solid 1px #f00; 
}

.SidePanel .Body {
	background: url(../images/page_r.png) #fff repeat-y right bottom;
	padding: 0 20px 30px 10px;
	margin-right: 8px;
}
.SidePanel .Body table {
	width: 100%;
}

.SidePanel .Body table td {
	padding: 4px;
}

.Required {
	background-color: #FFFF7F;
}
.font-bold {
	font-weight: bold;
}

/* Updated Layout items (transitioning to class vs inline style) */
.tis-mt-n0_2e {
	margin-top:-0.2em;
}

.tis-ms-6r {
	margin-left: 6rem;
}
.tis-ms-4r {
	margin-left: 4rem;
}
.tis-ms-3r {
	margin-left: 3rem;
}
.tis-ms-2r {
	margin-left: 2rem;
}


.tis-ms-n0_2e {
	margin-left:-0.2em;
}
.tis-ms-n1r {
	margin-left: -1rem;
}
.tis-ms-n2r {
	margin-left: -2rem;
}

.tis-w-60p {
	width:60%!important;
}

.tis-w-20r {
	width:20rem!important;
}
.tis-w-9r {
	width: 9rem !important;
}
.tis-w-8r {
	width: 8rem !important;
}
.tis-w-6r {
	width: 6rem !important;
}
.tis-w-4r {
	width: 4rem !important;
}
.tis-w-2r {
	width:2rem!important;
}
