/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

/* IE Workaround */
.placeholder {
  color: #B0B0B0 !important;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}


/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


body {
	margin: 0;
	padding: 0;
  font-size: 14px;
  font-family: "Open Sans", Helvetica, sans-serif;
  color: #3A3A3A;
  font-weight: 400;

  background: #FFF;
	background: -o-linear-gradient(-90deg, #EEE 0%, #FFF 300px);
	background: -moz-linear-gradient(-90deg, #EEE 0%, #FFF 300px);
	background: -webkit-linear-gradient(-90deg, #EEE 0%, #FFF 300px);
	background: -ms-linear-gradient(-90deg, #EEE 0%, #FFF 300px);
	background: linear-gradient(-180deg, #EEE 0%, #FFF 300px);
}
.ie body {
  background: #FFF url('../images/page_bg_ie.png') repeat-x top left;
}

p {
	font-size: 1em; /* 14px */
  line-height: 1.5714em; /* 22px */
  margin: 0 0 1.5714em 0;
}
p.small, p small {
	font-size: 0.8571em; /* 12px */
  line-height: 1.8333em; /* 22px */
  margin-top: 1.8333em;
  margin-bottom: 0em;
}

.centre_text { text-align: center; }
.right_text { text-align: right; }
.no_margin { margin: 0 !important; }


h1, h2, h3, h4 {
	font-weight: 600;
}

h1 {
  font-size: 1.2857em; /* 18px */
  line-height: 1.2222em; /* 22px */
  margin-top: 1.2222em;
  margin-bottom: 0em;
  color: #18027C;
}

h2 {
  font-size: 1.4286em; /* 20px */
  line-height: 1.1em; /* 22px */
  margin-top: 1.1em;
  margin-bottom: 0em;
  color: #734619;
}
h2.large {
  font-size: 1.8571em; /* 26px */
  line-height: 1.6923em; /* 44px */
  margin: 0.4231em 0;
  color: #227199;
  font-weight: 200;
}

h3 {
  font-size: 1.1429em; /* 16px */
  line-height: 1.375em; /* 22px */
  margin: 0.6875em 0;
  color: #227199;
}

h4 {
  font-size: 1em; /* 14px */
  line-height: 1.5714em; /* 22px */
  margin: 0.7857em 0;
  color: #3A3A3A;
}

#FormStep_MoneytechAssetLiabilitiesStatement .horizontal label span:first-child {
	display: inline-block;
	margin-right: 1em;
	min-width: 150px !important;
}

#FormStep_MoneytechAssetLiabilitiesStatement div.liability_detail {
	width: 410px;
	padding: 1px;
	margin-right: auto;
	overflow: hidden;
	float:right !important;
}

#FormStep_MoneytechAssetLiabilitiesStatement div.asset_detail {
	width: 410px;
	min-width: 300px;
	padding: 1px;
	margin-right: auto;
	overflow: hidden;
	float:left !important;
}

#FormStep_MoneytechAssetLiabilitiesStatement .profit_loss_table_wrapper * {
	box-sizing: border-box;
}

#FormStep_MoneytechAssetLiabilitiesStatement .profit_loss_table_wrapper label {
	margin: 0;
}

#FormStep_MoneytechAssetLiabilitiesStatement .profit_loss_table_wrapper label span {
	min-width: 0;
	padding: 0.5em;
	margin: 0;
}

#FormStep_MoneytechAssetLiabilitiesStatement .profit_loss_table_wrapper .profit_loss_table_assets_wrapper {
	width: 410px;
	float: left;
}

#FormStep_MoneytechAssetLiabilitiesStatement .profit_loss_table_wrapper .profit_loss_table_liabs_wrapper {
	width: 410px;
	float: right;
}

#FormStep_MoneytechAssetLiabilitiesStatement .profit_loss_table_wrapper .profit_loss_table_label,
#FormStep_MoneytechAssetLiabilitiesStatement .profit_loss_table_wrapper .profit_loss_table_value,
#FormStep_MoneytechAssetLiabilitiesStatement .profit_loss_table_wrapper .profit_loss_table_value input {
	display: inline-block;
	height: auto !important;
	margin: 0;
}

#FormStep_MoneytechAssetLiabilitiesStatement .profit_loss_table_wrapper .profit_loss_table_value input {
	max-width: 100%;
}

#FormStep_MoneytechAssetLiabilitiesStatement .profit_loss_table_wrapper .profit_loss_table_label {
	width: 220px !important;
}

#FormStep_MoneytechAssetLiabilitiesStatement .profit_loss_table_wrapper .profit_loss_table_value {
	width: 160px !important;;
}

/* messages */
.message { color: #575756; margin: 0.5em 0 1em 0; background-color: #FFF; border: 1px solid #EEE; padding: 0.7142857143em; }
.message.double-margin { margin: 1em 0 2em 0; }
.message span.message_content {
  display: block;
  margin-top: 1em;
  padding: 0.7142857143em;
  background-color: #F9F9F9;
  font-size: 0.9285714286em;
}
.primary_error { color: #FF0000; }
.message.error_message { color: #FF0000; }
.error_message_others { color: #FF0000; }
.message.gst_number_error, .message.trading_name_error { color: #FF0000; }
.message.error_message span.error_list, .primary_error {
  display: block;
  margin-top: 1em;
  padding: 0.7142857143em;
  background-color: #F9F9F9;
  font-size: 0.9285714286em;
}
.message.success_message { color: #009900; }
.message > i:first-child { margin: 0 0.2em 0 0; color: inherit; font-size: 1em; }
.message a, .message a:hover { color: inherit; }
.warning-invite-api
{
	color: #ff0000;
	background-color: #FFCCBA;
	border: 2px dotted #ff0000;
	padding: 15px 10px;
	margin: 10px 0;
}
.field_error {
    color: #FF0000;
    display: inline-block;
/*    white-space: nowrap;*/
    width: 290px;
	font-size: 0.7985714286em !important;
}


/* pagination */
.pagination {
    margin: 1.4285714286em auto;
    width: 650px;
}
.pagination ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
  height: auto;
  overflow: hidden;
}
.pagination ul > li { display: block; float: left; margin-right: 0.25em; }
.pagination ul > li:last-child { margin-right: 0; }
.pagination ul > li > a, .pagination ul > li > span {
  display: block;
  padding: 0 0.8571428571em;
  line-height: 2.2857142857em;
  text-decoration: none;
  background: #F4F4F4;
  color: #4A4A4A;
}
.pagination ul > li > span { background: #FFF; color: #6A6A6A; }
.pagination ul > li > a:hover { background: #FF9854; color: #FFF; }



/* breadcrumbs */
.breadcrumb {
  padding: 0.5714285714em 1.0714285714em;
  margin: 0 0 1.4285714286em;
  list-style: none;
  background-color: #f5f5f5;
}
.breadcrumb.transparent {
  background: none;
  padding: 0;
}
.breadcrumb > li {
  display: inline-block;
}
.breadcrumb > .active {
  color: #999999;
}
.breadcrumb > li > .divider {
  padding: 0 0.3571428571em;
  color: #ccc;
}

.lt-ie8 .breadcrumb { height: auto; overflow: hidden; }
.lt-ie8 .breadcrumb > li { display: inline; float: left; }



/* dividers */
div.divider
{
	border-top: 1px solid #E0E0E0;
	height: 0px;
	background: none;
	margin: 2em 0;
}
div.divider.large {
	margin: 8em 0;
}
div.divider hr
{
	display: none;
}


/* page sections */
.grey_page_section {
	background: #F0F0F0;
	margin: 1em -1.4285714286em;
	padding: 1em 1.4285714286em;
}
.callout_box { background: #F3F3F3; padding: 1em 1em 0; margin: 0 0 0 0; }
.grey_page_section .callout_box { background: #FFF; }
.callout_box h3 { background: #FF9854; margin: -0.853125em -0.853125em 1em -0.853125em; color: #FFF; padding: 0 0.853125em; line-height: 2em; }

.callout_box h3:hover {
	cursor: pointer;
}
.admin_form .form_options_section {
	display: none;
}

.pull-right {
	float: right;
}

.toggle-icon {
	font-size: 1.4em;
}

/* tables */
table.table.data { text-align: left; border: none; margin: 0; border-spacing: 0; font-size: 1em; }
table.table.data caption { font-weight: 200; color: #FF751A; font-size: 1.2307692308em; line-height: 3em; }
table.table.data td, table.table.data th { background: none; padding: 0.5em 1em; text-align: left; }
table.table.data td { color: #5A5A5A; }
table.table.data tbody th { width: 40%; }
table.table.data thead th { border-bottom: 1px solid #E0E0E0; }
table.table.data tfoot td { background: #F0F0F0; font-weight: 600; }


#FormStep_AssetLiabilitiesStatement table.table.data td, table.table.data th {
	padding: 0;
}

/* simple responsive tables */
.table-container
{
  width: 100%;
  overflow-y: auto;
  _overflow: auto;
  margin: 0 0 1em;
}
.table-container::-webkit-scrollbar
{
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
}
.table-container::-webkit-scrollbar-thumb
{
  border-radius: 8px;
  border: 3px solid #fff;
  background-color: rgba(0, 0, 0, .3);
}

.profit_loss_table {
	margin-top: 10px;
}

/* buttons */
.button {
	background: #0D70AD;
	-webkit-appearance: none;
	/*border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;*/
	border: none;
	font-weight: 400;
	color: #FFF;
	font-size: 1em; /* 14px */
	line-height: 2.2857142857em;
  margin: 0;
  height: auto;
  display: inline-block;
  padding: 0 1em;
  text-decoration: none;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.2);
  cursor: pointer;
  font-family: "Open Sans", Helvetica, sans-serif;
}
.button.secondary { background: #F47D17; }
.button.dark { background: #3A3A3A; }
.button[disabled], .button.disabled { background: #9B9B9B; cursor: default; }

.button.large { font-size: 1.2857142857em; }
.button.small { font-size: 0.8571428571em; }
input.button {
	padding: 0.5em 1em;
}
.button.xlarge { font-size: 1.65em; }

/* forms */
fieldset { display: block; }

/* standard labels */
label { font-weight: 600; display: block; }
label.inline { display: inline-block; }
label em { font-size: 0.8571428571em; font-weight: 400; color: #999; }
label span { display: block; line-height: 2em; }
label span.checkbox_label { font-weight: 400; display: inline; font-size: 0.9285714286em; }
label.subtitle {font-size: 1.2em; font-weight: 600; line-height: 2em;}
label span.mediumlarge { font-size: 1.51em !important; font-weight: 600; }

.form_item_wrapper {margin: 1em 0;}

.inline-options label span.checkbox_label { display: inline-block; margin: 0 1em 0 0.5em;}

.individual_profit_and_loss_data .form_row:first-child label {
	font-weight: 600 !important;
}

.individual_profit_and_loss_data .form_row label  {
	font-weight: 400;
}

#FormStep_Upload .upload_iframe {
    height: 4.3em;
}

div.file_upload_wrap
{
    display: inline;
    margin: 10px;
    overflow: hidden;
    position: relative;
}

div.file_upload_wrap input.file_upload_field
{
    cursor: pointer;
    font-size: 20px;
    margin: 0;
    opacity: 0;
    padding: 0;
    position: absolute;
    right: 0;
    top: -12px;
    width: 250px;
    filter: alpha(opacity = 0);
}

#admin_modal .uploadv2_checkboxes .checkbox_label {
    text-transform: capitalize;
}

#admin_modal .uploadv2_checkboxes_file_format .checkbox_label {
    text-transform: capitalize;
}

#admin_modal .uploadv2_checkboxes:nth-child(1)::before {
    content: "Note: Configuration of Entity Type and Requested Credit Limit only applies to Formstep_Uploadv2.";
    display: block;
}

#admin_modal .uploadv2_checkboxes_file_format:nth-child(1)::before {
    content: "Note: Formats allowed are only limited to .pdf, .xlsx, .jpg, .png";
    display: block;
}

.upload_file_input_display
{
    padding: 7px;
}

/* webkit only form rules */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  input[type='email'], input[type='text'], select, textarea { -webkit-appearance: none; }
  select {
    padding-right: 3.5em !important;
    background-repeat: no-repeat;
    background-position: center right;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAIAAAADnC86AAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAsSAAALEgHS3X78AAAAFHRFWHRDcmVhdGlvbiBUaW1lADQvNC8xM0K/FOkAAAAedEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzUuMasfSOsAAABrSURBVFiF7dYxDoAwCIVhajyj9Ij1lDi5GFtIManD/1bK+8LWYmayItsSFRgYGBgYGPgX8N4b1KqR/dbOObh7caRxWh3Bbm9GdeBBe1L14Vcjr4bgh/SJKiJi4age8cduCh96YGBgYGDgOxdm+JKSdFzuJQAAAABJRU5ErkJggg==);
    border-radius: 0px !important;
    -webkit-border-radius: 0px !important;
  }
  select.small_field { background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAIAAAADnC86AAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAArrAAAK6wGCiw1aAAAAFHRFWHRDcmVhdGlvbiBUaW1lADQvNC8xM0K/FOkAAAAedEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzUuMasfSOsAAABgSURBVFiF7dZBDoAgDETRwXhGyhHxlGVvJFYwwcQ/22b60l2Tu2tFtiUqMDAwMDAw8CfgfbhZivVGtR639fGLe9sj6hR8aQTVWfgkxVVJ8jdilp9WEu8tMDAwMDDwf+EGHISKrqdbKc4AAAAASUVORK5CYII=); }
}

input[type='email'], input[type='text'], input[type='number'], input[type='password'], select, textarea, div.readonly_field {
  color: #575756;
  font-family: "Open Sans", Helvetica, sans-serif;
  font-size: 1em;
  padding: 0.5em;
  border: 1px solid #C6C6C5;
  width: auto !important;
  margin: 0 1em 1em 0;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

input[type='checkbox'], input[type='radio'] { margin: 0 0 1em 0; }

input.no_margin_right {
    margin-right: 0;
}

form div.form_row { height: auto; overflow: hidden; }

.horizontal {}
.horizontal label span:first-child { display: inline-block; margin-right: 1em; min-width: 200px; }
.horizontal label span.auto_width { min-width: 0px; }


div.readonly_field {
	display: inline-block;
	min-width: 300px;
	background-color: white;
	height: 15px;
	min-height: 15px;
}

/* better support for readonly fields */
input[readonly], select[readonly], textarea[readonly], div.readonly_field {
	background-color: #eee;
	color: #888;
	border-color: transparent;
	font-style: italic;
	cursor: default;
	height: auto;
	min-height: 15px;
}


/* used to highlight fields with validation errors */
.validation_failed {
	border-color: #F00 !important;
}

.error_label {
	color: #F00;
}

/* used for application forms */
.boxborder {
    width: auto !important ;
    height: auto;
    border: 3px solid #ccc;
    padding: 5px;
	margin-top:5px;
	margin-bottom:5px;
}

.centre_buttons {
	text-align: center;
	margin-top: 0.5em;
	margin-bottom: 10px;
}

div.box-masked {
	position: relative;
}
div.box-mask {
	display: none;
}
div.box-masked div.box-mask {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: #fff;
	opacity: 0.65;
	top: 0;
	left: 0;

}
div.box-masked div.box-mask-label {
	position: absolute;
	top: 15px;
	left: 50%;
}
div.box-masked div.box-mask-label span {
	display: block;
	padding: 5px;
	position: relative;
	left: -50%;
	border: solid #CCC 1px;
	background-color: #FFF;
}

table.dense_table {
	width: 100%;
}
table.dense_table th {
	text-align: left;
	border-bottom: solid 1px #3A3A3A;
	padding: 0.1em;
}
table.dense_table td {
	border-top: solid 1px #C6C6C3;
	padding: 0.2em;
}


/* date picker */
#ui-datepicker-div {
	display: none;
}
#ui-datepicker-div select {
	margin: 0 5px !important;
	padding: 0 !important;
	/* HACK: selectbox override styles don't work here */
	background-image: none;
	-webkit-appearance: menulist;
}

.ui-datepicker {
	width: 212px;
	background-color: #F8F8F8;
	border: solid 1px #C36412;
	color: #333;
}
.ui-datepicker .ui-datepicker-header {
	background-color: #FF9854;
	color: #FFFFFF;
}
.ui-datepicker .ui-datepicker-header .ui-datepicker-prev {
	cursor: pointer;
	font-size: 18px;
	position: absolute;
	top: 0px;
	left: 0px;
}
.ui-datepicker .ui-datepicker-header .ui-datepicker-next {
	cursor: pointer;
	font-size: 18px;
	position: absolute;
	top: 0px;
	right: 0px;
}
.ui-datepicker .ui-datepicker-header .ui-datepicker-title {
	font-size: 14px;
	line-height: 30px;
	font-weight: bold;
	text-align: center;
}
.ui-datepicker .ui-datepicker-calendar {
	border-spacing: 0;
	empty-cells: show;
	width: 100%;
	background-color: #F3F3F3;
}

 .ui-datepicker .ui-datepicker-calendar th {
	border: solid 1px #C6C6C5;
	border-left-width: 0px;
	border-right-width: 0px;
	font-size: 12px;
	padding: 5px;
}
.ui-datepicker .ui-datepicker-calendar td {
	color: red;
	border: solid 1px #C6C6C5;
	border-left-width: 0px;
	border-top-width: 0px;
}
.ui-datepicker .ui-datepicker-calendar td a {
	display: block;
	width: 25px;
	height: 25px;
	line-height: 25px;
	text-align: center;
	color: #3A3A3A;
	text-decoration: none;
	font-size: 14px;
}
.ui-datepicker .ui-datepicker-calendar td:last-child {
	border-right: none;
}
.ui-datepicker .ui-datepicker-calendar tbody tr:last-child td {
	border-bottom: none;
}
.ui-datepicker .ui-datepicker-calendar td:hover {
	background-color: #E3E3E3;
}
/* today */
.ui-datepicker .ui-datepicker-calendar td.ui-datepicker-today {
	background-color: #E3E3E3;
}
/* weekends */
.ui-datepicker .ui-datepicker-calendar th.ui-datepicker-week-end,
.ui-datepicker .ui-datepicker-calendar td.ui-datepicker-week-end a {
	color: #999;
}
/* selected date */
.ui-datepicker .ui-datepicker-calendar .ui-datepicker-current-day {
	background-color: #FF9854 !important;
}
.ui-datepicker .ui-datepicker-calendar .ui-datepicker-current-day a {
	font-weight: bold;
	color: #FFFFFF !important;
}

/* suburb auto-completion */
.ui-helper-hidden {
	display: none;
}
.ui-helper-hidden-accessible {
	display: none;
}
ul.ui-autocomplete {
	display: inline-block;
	list-style: none;
	background-color: #F8F8F8;
	border: solid 1px #C36412;
	padding: 0px;
	color: #333;
	font-size: 1em;
    z-index: 100;
}
ul.ui-autocomplete li {
	width: 100%;
}
ul.ui-autocomplete a {
	display: block;
	cursor: pointer;
	padding: 3px 5px;
}
ul.ui-autocomplete a.ui-state-focus,
ul.ui-autocomplete a.ui-state-active,
ul.ui-autocomplete a:hover {
	background-color: #C6C6C6;
}
/* ajax loader for suburb-lookup */
input.suburb_lookup.progress_active {
	background: url(../images/ajax-loader.gif) no-repeat center right 5px;
}

/* progress indicator buttons are hidden by default */
.progress_indicator {
	display: none;
	margin-left: 10px;
}
.progress_indicator.right {
	margin-right: 10px;
	margin-top: 0.5em;
}
.progress_indicator.progress_active {
	display: inline;
}

.left {
	float:left;
}
.right {
	float:right;
}
.marl20 {
	padding-top:2px;
	margin-left:19.5%;
}
.padtp5 {
    padding-top:5px;
}
.padtp10 {
    padding-top:10px;
}


p.not-so-isolated {
	margin-bottom: 0.5em;
}



/* tabs */
ul.tabs { display: block; list-style: none; margin: 1em 0; padding: 0; height: auto; overflow: hidden; border-bottom: 1px solid #FF945D; }
ul.tabs li { display: block; float: left; margin: 0; padding: 0; margin-right: 0.5em; font-size: 1em; }
ul.tabs li a { display: block; background: #FFF; text-align: center; padding: 0 1em; line-height: 2.4615384615em; color: #4A4A4A; text-decoration: none; }
ul.tabs li.active a, ul.tabs li.active a:hover { background: #FF945D; color: #FFF; }
ul.tabs li a:hover { background: #F4F4F4; }


/* modals */
div.modal
{
}
div.modal div.overlay
{
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	opacity: 0.75;
	-moz-opacity: 0.75;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
}
div.modal div.container
{
	z-index: 999999;
	position: fixed;
	width: 80%;
	top: 10%;
	left: 10%;
	max-height: 80%;
	margin: 0 auto;
	background: #FFF;
	overflow: auto;
}
div.modal div.container div.title {
	position: fixed;
	width: 80%;
	background: #FF9854;
	margin: 0;
	padding: 0.5em 0.853125em;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}
div.modal div.container div.title a.modal_close
{
	display: block;
	text-decoration: none;
	color: #FFF;
	position: absolute;
	font-size: 1.5714285714em;
	top: 0.1428571429em;
	right: 0.3571428571em;
}
div.modal div.container div.title h3 { color: #FFF; margin: 0; }
div.modal div.container div.content { padding: 3.5em 1.4285714286em 1.4285714286em 1.4285714286em; }
div.modal div.container div.content div.modal_actions {
	text-align: right;
	background-color: #F0F0F0;
	margin: 1em -1.4285714286em -1.4285714286em -1.4285714286em;
	padding: 1.4285714286em;
}
div.modal div.container div.content div.modal_actions .button { margin-right: 0.5em; }
div.modal div.container div.content div.modal_actions .button:last-child { margin-right: 0; }



/* pretty print */
pre.prettyprint { margin: 2em 0 4em 0; display: block; }
pre.prettyprint ol { margin: 0; }





/* FormLayout styles */

section.generic_form_step {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	/* relative position to allow the mask over the top while the step is loading */
	position: relative;
}

section.generic_form_step > .section_mask {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	background: rgba(255, 255, 255, 0.75);
	width: 100%;
	height: 100%;
}
section.generic_form_step > .section_mask > .mask_text {
	position: absolute;
	display: inline-block;
	background-color: white;
	border: 1px solid #999;
	padding: 10px 20px;
	font-size: 15px;
}


div.terms_conditions_text ul,
div.terms_conditions_text ol {
	padding-left: 25px; margin: 0;
}
div.terms_conditions_text ul ul {
	list-style-type: circle;
}
div.terms_conditions_text ol ol {
	list-style-type: lower-alpha;
}
div.terms_conditions_text ol ol ol {
	list-style-type: lower-roman;
}




/* ==========================================================================
   Page layout
   ========================================================================== */

header { padding: 0 1.4285714286em; background: #FFF; }
header nav {
	background: #4A4A4A;
	margin: 0 -1.4285714286em 1em -1.4285714286em;
	padding: 0 1.4285714286em;
	height: auto;
	overflow: hidden;
	position: fixed;
	width: 100%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}
header nav ul { list-style: none; display: block; margin: 0; padding: 0.3em 0 0.3em 0.3em; height: auto; overflow: hidden; }
header nav ul li { display: block; float: left; padding: 0 0.5em; }
header nav ul li a {
	font-size: 0.8571em; /* 12px */
  line-height: 1.8333em; /* 22px */
  color: #FFF;
  text-decoration: none;
  display: block;
}
header nav ul#main_nav { float: left; }
header nav ul#main_nav li.home, header nav ul#main_nav li.main_menu { border-right: 1px solid #D4D4D4; padding: 0 1em; }
header nav ul#main_nav li.home { padding-left: 0; }
header nav ul#main_nav li.main_menu { margin-right: 1em; }
header nav ul#main_nav li.home a, header nav ul#main_nav li.main_menu a { color: #D4D4D4; }
header nav ul li.active a, header nav ul li a:hover { color: #F68024 !important; }

header nav ul#user_nav { float: right; }
header nav ul#user_nav li { border-right: 1px solid #D4D4D4; padding: 0 1em; }
header nav ul#user_nav li:last-child { border: none; padding-right: 0; }

.lt-ie9 header nav ul#user_nav li { border: none; border-left: 1px solid #D4D4D4; padding: 0 1em; }
.lt-ie9 header nav ul#user_nav li:first-child { border-left: none; }

header #page_header { padding-bottom: 1em; padding-top: 4em; }
header #page_header a img { max-width: 100%; }
header #page_header h1 { text-align: right; }

header nav ul#user_nav #supplier_search_form input {
    margin-bottom: 0px;
}

/* nav trigger */
header a#primary_nav_trigger { display: none; }

header #page_header #header_logo {
	padding-left: 10px;
        max-width: 296px;
        max-height: 100px;
}

div#main {
	padding: 0 1.4285714286em;
}

footer {
	margin: 10em 0 0 0;
	padding: 1.4285714286em; background: #F0F0F0;
	color: #999;
}

#preview_notification_bar {
	background-color: #D00;
	color: white;
	text-align: center;
	padding: 5px;
	border-bottom: solid #600 1px;
	border-top: solid #F66 1px;
}

#welcome_branch_details .form_row label.inline span select.branch_secondary {
    margin-left: 58px;
}

.link_color {
    color: #1c3f94;
    text-decoration: none;
    font-weight: 600;
}

#trustee_list {
    margin: 0.5em 2.5%;
    width: 95%;
}

#trustee_list th {
    min-width: 15%;
    text-align: left;
}

#trustee_list td {
    border-top: 1px solid #c6c6c5;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

.error_border {
	border: 2px solid red !important;
	margin-bottom: 1px !important;
}
/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.hint {
	font-size: 0.8em;
	opacity: 0.6;
}

.mandatory {
	color: #FF0000;
}

p.desc_block {
	 margin-bottom: 5px !important;
	 font-weight: normal;
}
/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

#admin_modal .container .content .section {
	border: 1px solid #ccc;
	padding: 10px;
	margin: 10px;
}

#admin_modal .container .content .section:nth-child(even) {
	background-color: #eee;
}

#admin_modal .container .content .section:nth-child(odd) {
	background-color: #fff;
}

.admin_form.callout_box {
	clear: both;
}

.each_section {
	border: 1px solid #ccc;
	overflow: hidden;
	margin-top: 2px;
	margin-bottom: 2px;
}
.each_section:nth-child(even) {
	background-color: #eee;
}
.each_section:nth-child(odd) {
	background-color: #fff;
}

.each_section .row .grid_8 {
	margin-top: 5px;
}

.option_section_no_data {
	border: 1px solid #ccc;
	width: 30px;
}

.esignature_completed {
    color: green;
}

.esignature_waiting {
    color: red;
}





/* ==========================================================================
   Media Queries for Responsive Design.
   ========================================================================== */

  /* Smaller than standard 960 (devices and browsers) */
  @media only screen and (max-width: 959px) {
    body { font-size: 13px; }
  }

  /* Tablet Portrait size to standard 960 (devices and browsers) */
  @media only screen and (min-width: 768px) and (max-width: 959px) {}

  /* All Mobile Sizes (devices and browser) */
  @media only screen and (max-width: 767px) {

    body { background: #FFF; }


    /* forms */
    input[type='email'], input[type='text'], input[type='password'], select, textarea {
      width: 100% !important;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      margin: 0 0 1em 0;
    }
    fieldset.horizontal label span:first-child { display: block; width: auto; }


    /* tabs */
    ul.tabs { border: 1px solid #FF945D; }
    ul.tabs li { float: none; margin-right: 0; }


    /* mobile nav */
    header a#primary_nav_trigger { display: block; width: auto; float: left; position: relative; margin: 0.6em 0 0 0; font-size: 0.8571428571em; }

    header nav { position: relative; width: auto; box-sizing: normal; -moz-box-sizing: normal; }
/*    header nav ul#main_nav { display: none! important; }*/
    header #page_header { padding-top: 0; }

    .jPanelMenu-panel {
      background: #FFF;
      background: -o-linear-gradient(-90deg, #EEE 0%, #FFF 600px) !important;
      background: -moz-linear-gradient(-90deg, #EEE 0%, #FFF 600px) !important;
      background: -webkit-linear-gradient(-90deg, #EEE 0%, #FFF 600px) !important;
      background: -ms-linear-gradient(-90deg, #EEE 0%, #FFF 600px) !important;
      background: linear-gradient(-180deg, #EEE 0%, #FFF 600px) !important;
    }

    #jPanelMenu-menu { background: #3b3b3b; margin: 0; list-style: none; padding: 0; }
    #jPanelMenu-menu li { margin: 0; padding: 0; }
    #jPanelMenu-menu li.main_menu { margin-bottom: 1em; }
    #jPanelMenu-menu li a {
      display: block;
      background: linear-gradient(#3E3E3E, #383838);
      border-top: 1px solid #484848;
      border-bottom: 1px solid #2E2E2E;
      padding: 15px;
      text-decoration:none;
      font-weight: normal;
      color: #8A8A8A;
    }
    #jPanelMenu-menu li a:hover,
    #jPanelMenu-menu li a:hover {
      background: linear-gradient(#484848, #383838);
      color: #FAFAFA;
    }
    #jPanelMenu-menu li:after {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      height: 100%;
      width: 34px;
      background: linear-gradient(left, rgba(black, 0), rgba(black, 0.4));
    }

    /* page header */
    header #page_header h1 { text-align: left; }


    footer p { text-align: left !important; }
  }

  /* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
  @media only screen and (min-width: 480px) and (max-width: 767px) { }

  /* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
  @media only screen and (max-width: 479px) { }



  @media print, (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
      /* Style adjustments for high resolution devices */
  }












/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }


}
#FormStep_WelcomeCustom h2 {
    color: #808080;
    padding-top: 7px;
    padding-bottom: 7px;
}
.centerwrapper
{
	margin: auto;
}

.welcome_container
{
    text-align:center;
    width:100%;
    min-height: 100px;
    cursor: pointer;
/*    max-height: 200px; */
}

#FormStep_WelcomeCustom h4 {
    text-align: center;
    color: #FFF;
}

.welcome_container .account_type {
    margin:4px;
    width:30%;
    text-align:center;
    display:inline-block;
    background-color: #002f5f;
    color: #FFF;
    height: 200px;
    overflow: hidden;
}

.welcome_container_term .ui_panel_paragraph {
    margin:4px;
    width:30%;
    text-align:center;
    display:inline-block;
    background-color: transparent;
    color: #FFF;
    height: 200px;
    overflow: hidden;
}

.welcome_container_term .ui_panel_paragraph .account_type {
    margin:4px;
    width:100%;
    text-align:center;
    display:inline-block;
    color: #FFF;
    height: 200px;
    overflow: hidden;
}

.welcome_container .account_type ul {
    height: 75px;
}

p.welcome_apply {
    margin-top: 31px;
    text-align: center;
    color: #FFF;
}

p.welcome_apply a:link, p.welcome_apply a:active, p.welcome_apply a:hover, p.welcome_apply a:visited {
    color: #FFF !important;
    font-weight: 600;
}

h3.welcome_contact_us a {
    text-decoration: none;
    color: #FFF;
}

h3.welcome_contact_us {
    margin-top: 22px;
    text-align: right;
}

.redtext {
	color: red;
}

#FormStep_WelcomeCustom a.welcome_terms {
    color: #808080;
    text-decoration: none;
    font-size: 12px;
}

#FormStep_BidvestWelcome #branch_instruction {
    padding-right: 7px;
}

.credit_terms_body {
    max-height: 300px;
    border: 3px solid #C6C6C5;
    padding: 0.5em;
    overflow-y: scroll;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.square
{
    margin:1px;
    width:30%;
    text-align:left;
    border: 1px solid gray;
    display:inline-block;
    background:lightblue;
}

table.entity_listing tr:hover {
    background-color: #E3E3E3;
}

.button.large.final_submission { font-size: 1.5em; }

.column_4 {
    width: 24% !important;
}
.column_5 {
    width: 19% !important;
}

div.branch_icons {
    margin-bottom: 20px;
}

div.branch_icons label.inline img {
    max-width: 150px;
    max-height: 100px;
}

input.same_as_chkbox {
  width: 13px;
  height: 13px;
  padding: 0;
  margin:0 6px 0 0;
  vertical-align: bottom;
  position: relative;
  top: -1px;
  *overflow: hidden;
}

.tooltip {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 211px;
    background-color: #2A2A2A;
    color: #fff;
    text-align: center;
    padding: 3px 0;
    border-radius: 3px;
    left: -100px;
    bottom: 100%;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
}

.image_selection {
    position: relative;
}

.currency_input {
    border: 1px solid #ccc;
    padding-left: 4px;
    color: #575756;
}

.currency_input input {
    border: 0px;
    margin-bottom: 0px;
    padding-left: 2px;
}

.readonly {
    background: #eee;
}

div.liability_boxborder {
	width: 400px;
	height: 1045px !important;;
	border: 3px solid #CCC;
	padding: 5px;
	margin-right: auto;
	float:left;
}

div.financials_boxborder {
	padding: 25px 15px 15px 15px;
}

div.asset_boxborder {
	width: 445px;
	min-width: 300px;
	height: 1045px !important;;
	border: 3px solid #CCC;
	padding: 5px;
	margin-right: auto;
	overflow: hidden;
	float:right;
}

div.all_asset_liability {
	height: auto;
	width: 840;
	overflow: hidden;
}

div.liability_boxborder label span:first-child {
	min-width: 180px;
}

div.asset_boxborder label span:first-child {
	min-width: 120px;
}

.search_button {
	background: #4A4A4A;
	-webkit-appearance: none;
	/*border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;*/
	border: none;
	font-weight: 400;
	color: #FFF;
	font-size: 1em; /* 14px */
	line-height: 2.2857142857em;
	margin: 0;
	height: auto;
	display: inline-block;
	padding: 0 1em;
	text-decoration: none;
	box-shadow: inset 0 -2px 0 rgba(0,0,0,0);
	cursor: pointer;
	font-family: "Open Sans", Helvetica, sans-serif;
}

label span.checkbox_label_bold { font-weight: 600; display: inline; font-size: 1.1em; }

#FormStep_WelcomeDickerData #welcome_dickerdata_custom {
    background: #FFFFFF;
    text-shadow: none;
}

#FormStep_WelcomeDickerData div.welcome_dickerdata_display {
    margin:8px;
}

div.category_product_list {
    width:1100px;
    min-height: 215px;
    cursor: pointer;
    max-height: 220px;
}

div.welcome_products {
	width:36%;
	display: inline-block;
	margin: 4px;
	height: 210px;
	overflow: hidden;
	vertical-align: top;
}

div.welcome_products_medium  {
	width:28%;
	display: inline-block;
	margin: 4px;
	height: 210px;
	overflow: hidden;
	vertical-align: top;
}

div.welcome_products_small {
	width:22%;
	display: inline-block;
	margin: 4px;
	height: 210px;
	overflow: hidden;
	vertical-align: top;
}

label.halfspace {
	width:32%
}

.add_link_button {
	text-decoration: none;
	color: #000;
}

input.table_input_text {
  color: #575756;
  font-family: "Open Sans", Helvetica, sans-serif;
  font-size: 1em;
  padding: 0.5em;
  border: 1px solid #C6C6C5;
  width: auto !important;
  margin: 0 0 0 0 !important;
}

input.error_border.table_input_text {
	border-width: 1px !important;
}

select.table_input_select{
  color: #575756;
  font-family: "Open Sans", Helvetica, sans-serif;
  font-size: 1em;
  padding: 0.42em;
  border: 1px solid #C6C6C5;
  width: auto !important;
  margin: 0 0 0 0 !important;
}

.div_tax_details_table select.reason {
    max-width: 240px !important;
}

.div_tax_details_table select.country_code {
    max-width: 160px !important;
}

.div_tax_details_table label.inline {
    padding-right: 5px;
    padding-bottom: 5px;
}

#main label.inline input[type="radio"] {
    margin-top: auto;
    margin-bottom: auto;
    vertical-align: middle;
}

#main label.inline span {
    vertical-align: middle;
}

.em_width {
	max-width: 200px;
}

.translate_deletion {
    background-color: #9D9D9D !important;
}

#multiple_translate_deletion {
    display: none;
}

.padright_large	{
    padding-right: 50px;
}
