/* @group General Form Styles */

form {
  border-bottom: 1px solid #e5e5e5;
  margin: 0 0 1em;
  padding: 0;
}

fieldset {
  margin: 0 0 1em;
}

input {
  margin: 0;
}

.input {
  clear: left;
  padding: 0 0 0 175px;
  margin-bottom: 1px;
}

.input div {
  margin: 0.5em 0;
}

form label {
  color: #0059A1;
  font-weight: bold;
  line-height: 1.17em;
  margin: 0 0 0 -175px;
  padding: 4px 10px;
  text-align: right;
  width: 155px;
  float: left;
}

form p.label {
/*  border: 1px solid red;
  display: block;*/

  color: #0059A1;
  font-weight: bold;
  line-height: 1.17em;
  margin: 0 0 0 -175px;
  padding: 0 10px 4px 10px;
  text-align: right;
  width: 155px;
  float: left;
}

/* @group Text Input Styles */

.text input {
  border: 1px solid #bfbfbf;
  display: inline;
  font-family: inherit;
  font-size: 1em;
  line-height: 1em;
  margin: 0;
  padding: 3px;
  width: 307px;
}

.textarea textarea {
  border: 1px solid #ccc;
  display: inline;
  font-family: inherit;
  font-size: 1em;
  height: 100px;
  line-height: 1;
  margin: 0;
  padding: 3px;
  width: 307px;
}

.short input,
.short textarea {
  width: 142px;
}

.large input,
.large textarea {
  width: 442px;
}

/* @end */

/* @group Select Styles */

.select select {
  border: 1px solid #ccc;
  display: inline;
  font-family: inherit;
  font-size: 1em;
  line-height: 1;
  margin: 0;
  padding: 3px;
  width: 315px;
}

.select select.select {
  padding-top: 3px !important;
}

.date select {
  width: 150px;
}

.short select {
  width: 150px;
}

.large select {
  width: 450px;
}

/* @end */

/* @group Checkbox Styles */

.checkbox div {
  position: relative;
  width: 315px;
}

.checkbox label {
  color: #333;
  display: block;
  float: none;
  font-weight: normal;
  margin: 0;
  padding: 0 0 0 20px;
  text-align: left;
  width: auto;
}

/* @end */

/* @group Checkbox Group Styles */

.checkbox-group li,
.radio-group li {
  position: relative;
}

form .checkbox-group label,
form .radio-group label {
  color: #333;
  display: block;
  float: none;
  font-weight: normal;
  margin: 0;
  padding: 0 10px 0 20px;
  text-align: left;
  width: auto;
}

.checkbox input,
.checkbox-group input,
.radio-group input {
  left: 0;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
}

.checkbox-group,
.radio-group {
  clear: both;
}

.checkbox-group div,
.radio-group div {
  width: 315px;
}

.checkbox-group ul,
.radio-group ul {
  float: left;
  margin: 0;
  width: 100%;
}

.checkbox-group .columns-2 li,
.radio-group .columns-2 li {
  float: left;
  margin-top: 0;
  width: 49%;
}

.checkbox-group .columns-3 li,
.radio-group .columns-3 li,
.checkbox-group .form-column-3 li,
.radio-group .form-column-3 li {
  float: left;
  margin-top: 0;
  width: 33%;
}

.checkbox-group .columns-4 li,
.radio-group .columns-4 li {
  float: left;
  margin-top: 0;
  width: 25%;
}

.checkbox-group:after,
.radio-group:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
}

/* @end */

/* @group Button Styles */

.button,
button {
  background: transparent;
  border: 0;
  color: #0059a1;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  line-height: 1;
  margin: 0;
  overflow: visible;
  padding: 0;
  text-decoration: none;
  vertical-align: middle;
  width: auto;
}

.button::-moz-focus-inner,
button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.button span,
button span,
button strong {
  background: transparent url(/img/site/layout/buttons/button-white.png) no-repeat 100% 100%;
  display: block;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.button span span,
button span span{
  background-position: 0 0;
}

.button span span span,
button span span span{
  background-position: 100% 0;
}

.button span span span span,
button span span span span,
button span span span strong {
  background-position: 0 100%;
  padding: 6px 10px 7px;
}

/* replace inner most span with strong for a highlighted text button */
button span span span strong {
  color: #e42c2a;
}

button span.hover,
button span.hover span,
button span.hover strong,
.button:hover span,
button:hover span,
button:hover strong {
  background-image: url(/img/site/layout/buttons/button-white-on.png);
  color: #e42c2a;
}

button.grey span,
button.grey strong {
  background-image: url(/img/site/layout/buttons/button-grey.png);
}

button.grey span.hover,
button.grey span.hover span,
button.grey span.hover strong,
button.grey:hover span,
button.grey:hover strong {
  background-image: url(/img/site/layout/buttons/button-grey-on.png);
}

button.red span,
button.red strong {
  background-image: url(/img/site/layout/buttons/button-red.png);
}

button.red span.hover,
button.red span.hover span,
button.red span.hover strong,
button.red:hover span,
button.red:hover strong {
  background-image: url(/img/site/layout/buttons/button-red-on.png);
}

/* @end */

/* @group Submit Button Styles */

.submit {
  margin: 1em 0 0.5em;
  overflow: hidden;
}

.submit button {
  float: right;
}

/* @end */

/* @group Form Messaging Styles */

form p {
  margin: 0.5em 0;
}

form p.help {
  font-size: 0.92em;
  margin: 0.5em 0;
  width: 315px;
}

form li {
  display: block;
  margin: 0.5em 0;
}

.note {
  color: #454545;
  font-style: italic;
}

.error {
  background-color: #fff2f2;
  color: #e42c2a;
  font-weight: bold;
  overflow: hidden;
  zoom: 1;
}

.error {
  margin-bottom: 10px;
  padding: 5px 5px 0;
}

.error p {
  margin-bottom: 5px;
}

form .error {
  padding:0 0 0 175px;
}

.error p.label,
.error label,
.error-message,
.form-error-message {
  color: #e32b2b;
  font-weight: bold;
  line-height: 1.17em;
}

.error p.help {
  color: #e32b2b;
}

.checkbox .error-message {
  margin-left: 25px;
  width: auto;
}

.form-error-message {
  background-color: #fff2f2;
  margin-bottom: 1px;
  padding: 10px;
}

.form-error-message p {
  margin: 0;
}

.bad {
  background-color: #fff2f2;
  color: #e32b2b;
  font-weight: bold;
  overflow: hidden;
  padding: 0.5em 10px;
}

.ok {
  background-color: #99cc99;
  color: #006633;
  font-weight: bold;
  overflow: hidden;
  padding: 0.5em 10px;
}

.instruction {
  font-weight: bold;
  margin: 1em 0;
  padding-left: 175px;
}

/* @end */

/* @end */

/* @group 2 columns, left sidebar form styles */

.cols-2-left .col2 .submit {
  padding-right: 60px;
}

.cols-2-left .col2 .submit {
  margin: 1em 0 0.5em 175px;
  width: 315px;
}

/* @end */

/* @group 2 columns, right sidear form styles */

.cols-2-right .col1 .input {
  padding-left: 235px;
}

.cols-2-right .col1 .instruction {
  padding-left: 235px;
}

.cols-2-right .col1 .submit {
  margin: 1em 0 0.5em 235px;
  width: 315px;
}

/* @end */

/* @group 3 columns form s.cols-2-wide .col1 .checkbox-group div,tyle */

/*.cols-2-wide .col1 .radio-group div {
  width: 185px!important;
}*/

.cols-2-wide .col1 .text input,
.cols-2-wide .col1 .textarea textarea,
.cols-3 .col2 .text input,
.cols-3 .col2 .textarea textarea {
  width: 257px;
}

.cols-2-wide .col1 .select select,
.cols-3 .col2 .select select {
  width: 265px;
}

.cols-2-wide .col1 p.help,
.cols-2-wide .col1 .checkbox div,
.cols-2-wide .col1 .checkbox-group div,
.cols-3 .col2 p.help,
.cols-3 .col2 .checkbox div,
.cols-3 .col2 .checkbox-group div {
  width: 265px;
}

.cols-2-wide .col1 .submit,
.cols-3 .col2 .submit {
  margin: 1em 0 0.5em 175px;
  width: 265px;
}

/* @end */

#LoanApplicationDateOfBirthDay,
#LoanApplicationDateOfBirthMonth,
#LoanApplicationDateOfBirthYear {
  margin-right: 5px;
  width: auto;
}

.scrollbox {
  overflow-x: hidden;
  overflow-y: auto;
  height: 100px;
  padding-right: 30px;
  position: relative;
}

.cols-3 .col2 .scrollbox {
  width: 233px;
}

.cols-2-left .col2 .scrollbox {
  width: 283px;
}

.cols-2-right .col1 .scrollbox {
  margin-left: 235px;
  width: 283px;
}

.scrollbox-content {
  height: 100%;
}

.scrollbar-wrapper {
  background: #f7f7f7;
  border-left: 1px solid #e5e5e5;
  height: 60px;
  right: 0;
  padding: 22px 0;
  position: absolute;
  top: 0;
  width: 19px;
}

.scrollbar-wrapper .up {
  background: url(/img/site/layout/scrollbox/button-up.png) no-repeat 0 0;
  border-bottom: 1px solid #eaeaea;
  display: block;
  font-size: 0;
  height: 21px;
  left: 0;
  overflow: hidden;
  position: absolute;
  text-indent: -5000px;
  top: 0;
  width: 19px;
}

.scrollbar-wrapper .down {
  background: url(/img/site/layout/scrollbox/button-down.png) no-repeat 0 0;
  border-top: 1px solid #eaeaea;
  bottom: 0;
  display: block;
  font-size: 0;
  height: 21px;
  left: 0;
  overflow: hidden;
  position: absolute;
  text-indent: -5000px;
  width: 19px;
}

.scrollbar-wrapper .up:hover,
.scrollbar-wrapper .down:hover {
  background-position: 0 100%;
}

.scrollbar {
    height: 60px;
    position: relative;
    width: 20px;
}

.scrollbar-handle {
  background: url(/img/site/layout/scrollbox/scrollbar-middle.png) repeat-y 0 0;
  cursor: ns-resize;
  display: block;
  font-size: 0;
  width: 19px;
  height: 60px;
}

.scrollbar-handle-hover {
  background-position: 100% 0;
}

.scrollbar-handle .t {
  background: url(/img/site/layout/scrollbox/scrollbar-top.png) no-repeat 0 0;
  display: block;
  font-size: 0;
  height: 12px;
  left: 0;
  position: absolute;
  top: 0;
  width: 19px;
}

.scrollbar-handle-hover .t {
  background-position: 100% 0;
}

.scrollbar-handle .b {
  background: url(/img/site/layout/scrollbox/scrollbar-bottom.png) no-repeat 0 0;
  bottom: 0;
  display: block;
  font-size: 0;
  height: 13px;
  left: 0;
  position: absolute;
  width: 19px;
}

.scrollbar-handle-hover .b {
  background-position: 100% 0;
}


form .scrollbox {
  border: 1px solid #bfbfbf;
  margin-bottom: 1em;
  margin-left: 175px;
  width: 233px;
}

form .scrollbox-content div.rich-text {
  line-height: 1.25;
  padding: 3px;
}

form h4.elaborated-terms-title {
  color: #0059A1;
  float: left;
  line-height: 1.17em;
  margin-bottom: 1em;
  padding: 4px 10px;
  text-align: right;
  width: 155px;
}

/* @group Email form bits */

.radio {
  margin-bottom: 10px;
  position: relative;
}

.radio ul {
  overflow: hidden;
}

.radio ul.form-column-2 {
  margin-left: 0;
  margin-bottom: 7px;
  clear: right;
  margin-top: 0;
}

.radio ul.form-column-2 label {
  margin-top: 0;
  margin-bottom: 0;
  float: right;
  text-align: left;
  width: 275px;
  padding: 0;
}
.radio ul.form-column-2 input {

}
.radio li {
  clear: both;
}
.cols-2-wide .col1 .radio li input,
.cols-3 .col2 .radio li input {
  width: auto;
  border: none;
  float: left;
  height: auto;
}
.radio span.shift {
  color:#0059A1;
  font-weight:bold;
  left: 0 !important;
  left: -170px;
  position: absolute;
  text-align:right;
  width: 165px;
}


/* @end */
/*
#CustomerDobDay {
  margin-left: 0 !important;
  margin-left: 4px;
}

#CustomerDobDay,
#CustomerDobMonth,
#CustomerDobYear {
  width: 99px;
  margin-right: 9px;
}
#CustomerDobYear {
  margin-right: 0px;
}
*/