.form-content {
  width: 800px !important;
}
form {
  background-color: #F4F4F4;
  box-sizing: border-box;
  margin: 0px 0;
  padding: 0px 0px 0;
  position: relative;
}
form .hidden {
  display: none;
}
form .legend-hidden {
	position: absolute;
  z-index: -999999;
	visibility: hidden;
}
form.topform {
  margin:25px 0;
  padding:25px;
}
form > fieldset,
form fieldset {
	border: none;
	margin: 0 0 10px;
	min-width: 100%;
	padding: 0px;
	width: 100%;
}
form > fieldset > fieldset {
  border: none;
  margin: 20px 0;
  padding: 0;
}
#content form a,
#content form a:visited {
	color: #004DAB;
}
#content a:hover,
#content a:focus,
#content a:active {
  color: #000;
}
#content a:focus {
  outline: 2px solid #1069AD;
  outline-offset: 2px;
}
#content .external img {
  width: 0.85em;
	height: 0.85em;
	margin-left: 4px;
}
#whoIs,
#isRestHomeResident,
#isOverseasResident,
#causeOfDeath,
#isVeteransPensioner,
.personaldetails {
	margin-bottom: 30px;
}

form .field.checkboxes span.help,
#empl_questions div.field.checkbox span.label,
#soletrader_div div.field.checkbox span.label,
#lsv_ethnicity div.field.checkbox span.label,
#lsv_special_food_types div.field.checkbox span.label,
#lsv_contact_phone .inline,
#lsv_emergency_phone .inline,
.client-details,
.what-happened,
#whoIs legend {
	margin-bottom:0;
}

.shorterField{
	margin-right: 0 !important;
	width: 35% !important;
}
.shorterField2 {
  margin-right: 0 !important;
  width: 27% !important;
}
.form-content h2 {
	font-size: 1.5rem;
  font-weight: 500;
}
.input__prefix,
.input__suffix {
	padding: 6px;
}

/* Horizontal rule */
hr.form {
  margin: 30px 0;
  background-color: #bababa;
  border: medium none;
  color: #bababa;
  height: 1px;
}

/* Input */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea {
  background-color: #fff;
	border: 1px solid #595959;
	margin: 0;
  padding: 10px;
  width: 100%;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
  -moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
}

/* Input:focus */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus,
span.input:focus,
.add-btn:focus {
  outline: 2px solid #0169ad;
  outline-offset: 2px;
}

/* Disabled fields */
form div input[disabled],
form div select[disabled] {
  background-color: #ddd !important;
  border-color: #ddd !important;
  color: #111 !important;
  cursor: auto !important;
}

/* textarea width is fixed */
textarea {
  resize: vertical;
}

fieldset legend,
fieldset legend span {
  border: none;
  color: #111; /* Blue: #272a67 */
  font-size: 1.3em;
  line-height: 1.5;
  width: 100%;
  margin-bottom: 20px;
}
fieldset legend.label span {
  color: #111; /* Blue: #272a67 */
  font-size: inherit;
  width: auto;
}
fieldset legend span em {
  color: #111;
  font-weight: normal;
  font-style: italic;
}

/* adjust margin-bottom for singular checkboxes */
/* HOLD
form fieldset fieldset div.field.checkbox span.label {
    line-height: 1.6;
    margin-bottom: 25px;
  	font-size: 500;
}*/

/* field title */
form span.label,
form legend.label {
  border: none;
  display: inline-block;
	color: #111;
  font-size: 100%;
  font-weight: 600;
  padding: 0;
  text-align: left;
  margin: 0 0 5px;
}

#if_unable_return span.label {
  margin-top: 0;
}
#if_intend_return {
  margin-bottom: 20px;
}

/* required asterisk */
form span.label .required,
form legend.label .required {
  margin: 0;
	padding: 0;
	color: #b10e1e;
}
em {
	padding: 0;
	margin: 0;
	/* color: #b10e1e; */
  font-size: 100%;
  font-family: 'Fira Sans', 'Gill Sans', sans-serif;
	font-weight: normal;
  position: relative;
	display: contents;
}

/* help comments*/
form span.help {
  display: block;
  /*font-size: 85%;*/
  padding: 0;
  margin: 0 0 10px;
	width: 100%;
	clear: both;
	color: #111;
}
form span.help.col-11 {
  width: 91.66666667%;
}
form span.declaration {
  border: none;
  display: flex;
  /*font-size: 85%;*/
  font-weight: 400;
  padding: 0;
  text-align: left;
  margin: 30px 0 5px;
}
#declarations p,
#partnerDeclaration p{
  margin-top: 20px;
}
#declarations span.label::before,
#partnerDeclaration span.label::before {
  top: 3px;
}

/* Lists */
form ul {
  list-style-type: square;
  padding: 0 0 0 20px !important;
}
form ul li {
  line-height: 1.5;
  padding: 0 0 0 10px !important;
  margin: 0 0 10px;
}


/*==============================
   Select Box styling
   =============================*/
.field .input select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background-color: white;
  border: 1px solid #595959;
  color: #111;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  margin: 0;
  padding: 0.4rem 2.5rem 0.5rem 0.6rem;
  width: 100%;
  max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
  background-repeat: no-repeat;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  background-position: right 0.7em top 50%;
  background-color: #fff;
  background-size: 1rem auto;
  background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' width='14' height='8.5' viewBox='0 0 16 10.5'%3E%3Cpath d='M1 1 L8 8.5 L15 1' stroke-width='3' stroke='currentColor' fill='transparent' /%3E%3C/svg%3E");
}
.field.select {
  margin: 0 5% 3% 0;
}
.field.select .input {
  position: relative;
  /*overflow: hidden;*/
  /*width: 100%; - too broad, overrides the responsive layout. Don't add widths here. */
}
/*.field.select .input::after {
    content: '\25BC';
    border-left: 1px solid #bababa;
    position: absolute;
    right: 2px;
    cursor: pointer;
    pointer-events: none;
    bottom: 1px;
    font-size: 0.95em;
    top: -1px;
    line-height: 2.75;
    z-index: 0;
    border-right: 0;
  	padding:0 10px;
}
.field.select .input::after {
    cursor: pointer;
    z-index: 0;
    position: absolute;
    content: "";
    top: 18px;
    right: 12px;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-color: #363636 transparent transparent transparent;
}*/
.field.select .input select:focus {
  outline: 2px solid #0169ad;
  outline-offset: 2px;
}

/* Checkbox positioning */
.field.checkboxes .field span.label {
  margin-top: 15px;
}
.field.checkbox {
  display: flex;
  flex-direction: row;
  position: relative;
}
.input.checkbox {
  position:relative;
}
.field .input select option {
  font-size: 0.9em;
	padding: 0;
  background-color: #fff;
}
.field .input select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}
.field .input select::-ms-expand {
  display: none;
}

/* Hide clear field in IE */
.field .input input::-ms-clear {
  width: 0;
  height: 0;
}

/* field heading */
.field-label {
    /*font-size: 1.2em;*/
  padding: 0;
  margin: 0;
}

/* field title - no help comments */
form span.label.no-help,
form legend.label.no-help {
  margin-bottom: 10px;
}

/* inline input styling*/
.field.inline {
  display: inline-flex;
  margin: 0 5% 3% 0;
  padding: 0;
  flex-direction: column;
  position: relative;
}
.field.inline-clear {
  display: flex;
  margin: 0 5% 3% 0;
  padding: 0;
  flex-direction: column;
  position: relative;
  clear: both;
}

/* input styling*/
span.input {
  display: flex;
  margin: 0 0 5px;
  padding: 0;
}
span.input-item input {
  width: 37%;
}
span.input-item span.label {
  margin: 7px 0 7px 10px;
}

/* input date width */
span.input.date{
    max-width:120px;
}

/*==============================
   Radio button styling
   =============================*/
/* vertical */
.field.radio {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}
.long-radio{
/*margin-bottom: 3%!important;*/
	margin-top: 3% !important;
}

/* horizontal */
.field.radio.inline {
  flex-direction: row;
  flex-wrap: wrap;
	margin-bottom: 3%;
}

.field.radio span.label,
.field.radio legend.label{
  margin-bottom: 10px;
	padding-top: 1px;
}
.radios-item {
  display: block;
  float: left;
}
.radios-item .input {
  position: relative;
}

/* radio input styling */
.radios-item input[type="radio"] {
  opacity: 0;
  position: absolute;
  left: 2px;
  top: 25px;
}
.radios-item span.label {
  position: relative;

  /*16px width of fake checkbox + 18px distance between fake checkbox and text*/
  padding-left: 34px;
  margin: 0;
	font-weight: normal;
}

.radios-item span.label::before,
.radios-item span.label::after {
  position: absolute;
  content: "";

  /*Needed for the line-height to take effect*/
  display: inline-flex;
}
.radios-item span.label::before {
  border-radius: 50%;
  height: 16px;
  width: 16px;

  /*(24px line-height - 16px height of fake checkbox) / 2 - 1px for the border
   *to vertically center it.
  */
  background-color: #fff;
  border: 1px solid #595959;
  content: "";
  left: 0;
  position: absolute;
  top: 5px;
}
.radios-item span.label::after {
  background-color:#222;
  border: 2px solid;
  border-radius: 50%;
  height: 8px;
  left: 3px;
  position: absolute;
  top: 8px;
  transition: opacity 0.2s ease-in-out;
  width: 8px;
}
.radios-item input[type="radio"] + span.label::after {
	content: none;
}
.radios-item input[type="radio"]:checked + span.label::after {
	content: "";
}
.radios-item input[type="radio"]:focus + span.label::before {
  border-radius: 50%;
  outline: 2px solid #0169ad;
  outline-offset: 2px;
}
.error .radios-item input[type="radio"]:checked + span.label::after {
	content: "";
  color: #000;
}
.error .radios-item input[type="radio"]:checked + span.label {
	content: "";
  color: #000 !important;
}

/*==============================
   Checkbox styling
   =============================*/
.checkbox input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  left: 2px;
  top: 25px;
}
.checkbox span.label {
  position: relative;
  display: inline-block;

  /*16px width of fake checkbox + 18px distance between fake checkbox and text*/
  padding-left: 34px !important;
  margin-left: 0 !important;
  margin-top: 15px;
	margin-right: 20px;
  font-weight: 400;
}

.checkbox span.label::before,
.checkbox span.label::after {
  position: absolute;
  content: "";

  /*Needed for the line-height to take effect*/
  display: inline-block;
}

/*Outer box of the fake checkbox*/
.checkbox span.label::before {
  height: 16px;
  width: 16px;

  border: 1px solid;
  left: 1px;

  /*(24px line-height - 16px height of fake checkbox) / 2 - 1px for the border
   *to vertically center it.
   */
  top: 4px;
  background-color: #FFF;
}
/*Checkmark of the fake checkbox*/
.checkbox span.label::after {
  height: 5px;
  width: 9px;
  border-left: 2px solid;
  border-bottom: 2px solid;
  transform: rotate(-45deg);
  left: 4px;
  top: 7px;
}

/*Hide the checkmark by default*/
.checkbox input[type="checkbox"] + span.label::after {
  content: none;
}
.checkbox input[type="checkbox"]:checked + span.label::after {
  content: "";
}

/*Adding focus styles on the outer-box of the fake checkbox*/
.checkbox input[type="checkbox"]:focus + span.label::before {
  outline: 2px solid #0169ad;
  outline-offset: 2px;
}

.error input[type="checkbox"]:checked + span.label::after {
	content: "";
  color: #000;
}
.error input[type="checkbox"]:checked + span.label {
	content: "";
  color: #000!important;
}
.checkbox span.tick {
  display: inherit;
  font-weight: normal;
  margin-left: 20px !important;
  margin-top: 10px !important;
}


/*==============================
   Errors styling
   =============================*/
.formerrors {
	margin: 0 0 20px 0;
	padding: 0 15px 30px 30px;
	width: auto;
	border-top: 1px solid #CCC;
	border-right: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	border-left: 5px solid #b10e1e;
  font-size: 110%;
}
.formerrors h2 {
  color: #b10e1e;
}
.formerrors ul.error {
	margin: 4px 0 0 0;
	padding: 0 0 4px 30px;
	overflow: hidden;
}
.formerrors ul.error li {
	padding-left: 10px;
}
#content form .error em {
  	/*color:#b10e1e;*/
}
#content form .error {
	border-left: 5px solid #b10e1e;
	padding-left: 15px;
	/*margin-left: -16px;*/
}
#content form .error label,
#content form .error legend span,
#content form .error legend.label,
#content form .error legend.label span,
#content form .error legend.label span {
  /*color:#b10e1e;*/
  border-left: none;
	display:inline-block;
}
#content form .error .radios-item span.label {
  color: #b10e1e;
  font-weight: 500;
}
#content form #whoIs.error legend span {
	display: inline;
	font-size: inherit;
}
#content form #questions.error span.label {
	padding-left: 0;
}
#content form .error input,
#content form .error textarea,
.field.select.sml.error select,
#content form .error select {
	border: 2px solid #b10e1e;
}
.checkbox.error span.label::before,
.error .radios-item span.label::before {
	border: 1px solid #b10e1e;
}
.error .checkbox span.label{
  color: #b10e1e;
  font-weight: 500;
}
#errortext {
	padding: 5px;
	margin-bottom: 20px;
}
#traveldates_div #errortext.error {
	background-color: #FFF;
	border-top: 1px solid #CCC;
	border-right: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
  padding:10px;
}
div.field.inline.col-12.error {
	clear: both;
  float: none;
  display: block;
}
.errorMessage,
legend .errorMessage {
  float: none;
  clear: both;
  display: block !important;
  color: #b10e1e !important;
  line-height: 1.5em !important;
	font-weight: 500;
  font-size: inherit;
}
legend .errorMessage,
#content form #whoIs.error legend .errorMessage {
  font-size: 77%;
}
#content form #declarations .error span.label,
#content form #partnerDeclaration .error span.label {
  color: #111;
}

/*==============================
   Travel Overseas Form
   =============================*/
#notsure_select_div.field.checkbox {
  position:relative;
}
#notsure_select_div.field.checkbox input[type="checkbox"] {
  opacity: 1;
  position: absolute;
  left: 2px;
  top: 22px;
  -ms-transform: scale(1.5);
  -moz-transform: scale(1.5);
  -webkit-transform: scale(1.5);
  -o-transform: scale(1.5);
  transform: scale(1.5);
  padding: 10px;
  border: 1px solid #bababa;
}
#notsure_select_div.field.checkbox span.labelNotSure {
  position: relative;
  display: inline-block;

  /*16px width of fake checkbox + 18px distance between fake checkbox and text*/
  padding-left: 34px !important;
  margin-left: 0 !important;
  margin-top: 15px;
  font-weight: 400;
}

/*Outer box of the fake checkbox*/
#notsure_select_div.field.checkbox input[type="checkbox"]::before {
  height: 16px;
  width: 16px;

  border: 1px solid;
  left: 0px;

  /*(24px line-height - 16px height of fake checkbox) / 2 - 1px for the border
   *to vertically center it.
   */
  top: 6px;
  background-color: #FFF;
}
/*Checkmark of the fake checkbox*/
#notsure_select_div.field.checkbox input[type="checkbox"]::after {
  height: 5px;
  width: 9px;
  border-left: 2px solid;
  border-bottom: 2px solid;
  transform: rotate(-45deg);
  left: 4px;
  top: 10px;
}

/*Hide the checkmark by default*/
#notsure_select_div.field.checkbox input[type="checkbox"] + span.label::after {
  content: none;
}
#notsure_select_div.field.checkbox input[type="checkbox"]:checked + span.label::after {
  content: "";
}

/*Adding focus styles on the outer-box of the fake checkbox*/
#notsure_select_div.field.checkbox input[type="checkbox"]:focus + span.label::before {
  box-shadow: 0 0 0 2px #0169ad;
  outline: #0169ad auto 2px;
}

#notsure_select_div.field.checkbox input[type="checkbox"]:readonly {
  background: #e6e6e6;
  opacity: 0.6;
  pointer-events: none;
}
#notsure_select_div.field.checkbox input[type="checkbox"]:readonly:after {
	border-color: #7b7b7b;
}

#notsure_select_div.field.checkbox input[type="checkbox"][readonly] {
  background: #e6e6e6;
  opacity: 0.6;
  pointer-events: none;
}
#notsure_select_div.field.checkbox input[type="checkbox"][readonly]::after {
	background: #e6e6e6;
  border: 1px solid #bababa;
}
#notsure_select_div.field.checkbox input[type="checkbox"][readonly]:hover {
	background: #e6e6e6;
  border: 1px solid #bababa;
}
#partner_benefit_no_div {
	border-left: 6px solid rgb(0, 131, 202);
  padding: 10px 10px 10px 15px;
  margin-top: 0px;
  margin-bottom: 30px;
  background-color: rgb(255, 255, 255);
}
#overseas_partner_travel {
	margin-bottom: 1%;
}
#partner_travel_no {
	border-left: 6px solid rgb(0, 131, 202);
  padding: 10px 10px 10px 15px;
  margin-top: 0px;
  margin-bottom: 30px;
  background-color: rgb(255, 255, 255);
}
#errortext {
	padding:5px;
}
#datetext,
#tas_support_help,
#datatext {
	background-color: #FFF;
	padding: 15px;
	margin-bottom: 20px;
	border: 1px solid #CCC;
  border-left: 6px solid #017ac9;
}

input[readonly],input[readonly=""] {
	background-color: #EBEBEB !important;
}

/*==============================
   Deceased Person form styling
   =============================*/
#deceased-form a {
  color:#015C97;
  text-decoration:underline;
}
#deceased-form a:hover {
  text-decoration:none;
}
#deceased-form .mailToLink {
  margin: 20px 0 0;
}
#deceasedperson-uploads {
  margin-top:20px;
}
#attachments {
  padding-left:34px;
}
#attachments span.label {
  margin-top:10px;
  font-size: 89%;
}
#fileDiv-0,
#fileDiv-1,
#fileDiv-2,
#fileDiv-3,
#fileDiv-4 {
  clear:both;
}
#text-0,
#text-1,
#text-2,
#text-3,
#text-4{
  color: #C00000;
  border: none;
  padding: 5px 5px 5px 6px;
  margin: 0 0 0 34px;
  font-size: 85%;
}
#deceasedperson-uploads input[type=file] {
  font-size: 85%;
  font-family: 'Fira Sans', 'Gill Sans', sans-serif;
  margin: 10px 0 8px 34px;
  padding: 0;
  width: 100%;
  font-style: italic;
}
#deceasedperson-uploads .fail {
  background: url('/webadmin/images/no.png') no-repeat 6px 7px;
  background-color: #B34040;
  border-radius: 16px;
  padding: 0 0 0 20px;
  height: 26px;
  display: block;
  margin: -2px 10px 0 0;
  width: 6px;
  float: left;
}
#deceasedperson-uploads .success {
  background: url('/webadmin/images/yes.png') no-repeat 4px 7px;
  background-color: #266D26;
  border-radius: 16px;
  padding: 0 0 0 20px;
  height: 26px;
  display: block;
  margin: -2px 10px 0 0;
  width: 6px;
  float: left;
}
#deceasedperson-uploads input[disabled] {
  display: none;
}
#deceasedperson-uploads .add-btn {
  display: flex;
}
#deceasedperson-uploads .add-btn .button {
  background: url(../images/plus.png) #282D41 no-repeat 21px 17px;
  float:left;
  cursor: pointer;
  font-weight: normal;
  font-size: 100%;
  text-decoration: none;
  padding: 4px 23px 4px 46px;
  border-radius: 28px;
  border: none;
  color: #FFF;
  margin: 10px auto 20px;
  transition: background-color .25s ease 0s;
  -webkit-transition: background-color .25s ease 0s;
}
#deceasedperson-uploads .add-btn .button:hover {
  background-color: #017AC9;
}
#deceasedperson-uploads .submitbutton .button {
  background-color: #017ac9;
  float: left;
  cursor: pointer;
  font-weight: normal;
  font-size: 85%;
  text-decoration: none;
  padding: 0 20px;
  border-radius: 28px;
  border: none;
  color: #FFF;
  margin: 0 0 0 20px;
  transition: background-color .25s ease 0s;
  -webkit-transition: background-color .25s ease 0s;
  height: 40px;
}
#deceasedperson-uploads .submitbutton .button:hover {
  background-color: #282D41;
}
#relationship {
  margin-top:30px;
}
#myAddressRadio fieldset legend,
#relationship fieldset legend,
fieldset legend span {
  margin-bottom:0;
  line-height: normal;
}
.mailToRadio {
  border-left: 6px solid #0083CA;
  padding: 10px 10px 10px 15px;
  margin-left: 35px;
  margin-top: 0;
  margin-bottom: 30px;
  background-color: #FFF;
}
.mailToRadio fieldset {
  margin-bottom: 0;
}
.mailToRadio fieldset legend {
  margin-bottom: 10px;
}
.mailToRadio fieldset legend span {
  font-family: 'Fira Sans', 'Gill Sans', sans-serif;
  font-size: 100%;
  font-weight: bold;
  color: #000;
  display: inline-block;
  line-height: normal;
}
.mailToRadio fieldset legend span .required {
  display: inline;
  padding-left: 10px;
  font-size: 100%;
}
.mailTo {
  font-size: 90%;
}

/*==============================
   Residential Care Subsidy Form
   & COVID-19 repayments Form
   =============================*/
.select-group {
	margin-top: 20px;
	margin-bottom: 0;
}

/*==============================
   Clients stranded overseas Form
   =============================*/
#stop_start label {
	margin-bottom: 20px;
}
#stop_start input[type="radio"] {
	margin-right: 10px;
}

/*==============================
   Winter Energy Payment Form
   =============================*/
#partner_agreement_start,
#partner_agreement_stop {
  background-color: #FFF;
  padding: 0 15px 15px 15px;
  margin-right: 0;
  margin-bottom: 20px;
  border: 1px solid #CCC;
  border-left: 6px solid #017ac9;
	top: -20px;
	display: inline-block;
}

/*==============================
   List a job vacancy Form  &  End of School Year Form
   =============================*/
#other_jobs2,
#other_jobs3,
#other_jobs4,
#other_jobs5,
#child-2 legend,
#child-3 legend,
#child-4 legend,
#child-5 legend,
#child-6 legend,
#child-7 legend,
#child-8 legend,
#child-9 legend,
#child-10 legend {
  border-top: 1px solid #bababa;
  padding-top: 30px;
}
#child-2 legend.label,
#child-3 legend.label,
#child-4 legend.label,
#child-5 legend.label,
#child-6 legend.label,
#child-7 legend.label,
#child-8 legend.label,
#child-9 legend.label,
#child-10 legend.label {
  border-top: none;
  padding-top: 0;
}

/*==============================
   LSV Application Form
   =============================*/
.lsvlogo {
	float: right;
	position: relative;
	padding: 10px 0 0 10px;
	margin: 0;
}
.lsv-form {
	margin-top:20px;
}
#lsv-application-form .lsv-personaldetails {
  margin: 0;
  padding: 25px 25px 0 25px;
	width: auto;
	min-width: auto;
}
#lsv-application-form .lsv-personaldetails .spacing {
	margin-top: 30px;
	margin-bottom: -10px;
}
#lsv_ethnicity_maori_iwi,
#lsv_ethnicity_other_text {
	margin: 10px 0 0 34px;
}
#lsv_contact_phone,
#lsv_emergency_phone {
	display: inline-block;
}
#lsv_court_date1,
#lsv_reason_for_applying {
	display: inline-block;
	margin-bottom: 5px;
}
#lsv_court_dates {
  margin-bottom: 20px;
  margin-top: -20px;
}
.lsv-form .white {
  background-color: #FFF;
  margin-top: 0;
}

/*==============================
   Police form styling
   =============================*/
#lsv-application-form #police-check {
	margin: 25px -25px 0;
	padding: 25px;
	background-color: #C2D3E8;
}

#lsv-application-form #police-check input[type="text"],
#lsv-application-form #police-check input[type="email"],
#lsv-application-form #police-check input[type="tel"],
#lsv-application-form #police-check input[type="url"],
#lsv-application-form #police-check textarea {
	border: 1px solid #888eae;
}
#lsv-application-form #police-check .error input[type="text"],
#lsv-application-form #police-check .error input[type="email"],
#lsv-application-form #police-check .error input[type="tel"],
#lsv-application-form #police-check .error input[type="url"],
#lsv-application-form #police-check .error textarea {
	border: 2px solid #b10e1e;
}
#lsv-application-form #police-check input[disabled],
#lsv-application-form #police-check select[disabled] {
  border-color: #888eae !important;
  cursor: not-allowed !important;
}

/* Add pseudo focus to police form textbox */
.pseudo-focus {
  border: 1px solid #bababa !important;
  outline: 1px solid transparent;
}
.pseudo-focus:focus {
  border: 1px solid #0169ad !important;
  width: calc(95% - 4px);
  outline: 1px solid #0169ad;
}
.field.pseudo-focus div.field-label {
  padding: 10px 15px;
  font-size: 1.0em;
}
.field.pseudo-focus ul {
  margin-left: 10px !important;
}
.police-check-images {
  background: #FFF;
  display: flex;
  justify-content: space-between;
  padding: 10px;
  position: relative;
}
.police-check-images img {
  display: flex;
  max-width: 100%;
}
.police-check-images img.left {
  height: 65px;
  width: auto;
  transform: translateY(11%);
}
fieldset.police-form,
fieldset.police-check-disclosure {
  background-color: #C2D3E8;
  border: none;
  margin-top: 0;
  padding: 0 0 50px 0;
  position: relative;
}
fieldset.police-form legend span {
  left: 0px;
  padding: 25px 0;
  position: absolute;
}
fieldset.police-form .nospace {
  margin-right: 0;
}
fieldset.police-form hr.form {
  background-color: #00105f;
  margin: 10px 0 30px;
  color: #00105f;
}

#police_other_name1 .field.inline.col-4,
#police_other_name2 .field.inline.col-4,
#police_other_name3 .field.inline.col-4,
#police_other_name4 .field.inline.col-4,
#police_other_name5 .field.inline.col-4 {
  margin-right:5px;
}
#police_other_name1 .field.inline.col-4.select,
#police_other_name2 .field.inline.col-4.select,
#police_other_name3 .field.inline.col-4.select,
#police_other_name4 .field.inline.col-4.select,
#police_other_name5 .field.inline.col-4.select {
	width: 28%;
}
.police-form .field-label:first-of-type {
  margin-top: 60px;
}
/*.police-form .field-label span.label,
.police-form .field-label span.help{
  font-size: 0.95em;
  padding: 0 5px;
}
.police-check .highlight,
.police-check-disclosure.highlight legend {
  color: #b10e1e !important;
}
fieldset.police-form .field {
  padding: 0 0 0 5px;
}*/
fieldset.police-form .instructions span {
  border: none;
  display: flex;
  font-size: 1.06em;
  font-weight: 500;
  padding: 0 5px;
  text-align: left;
  margin: 35px 0 0 !important;
}
#police_no_driver_licence,
#lsv_court_no_date {
  margin-left: 20px;
}
#police_no_driver_licence.error,
#lsv_court_no_date.error {
  border-left: none !important;
	padding-left: 0 !important;
}
.police-check-disclosure.highlight {
  margin-top: -75px;
	padding-bottom: 0;
}
.police-check-disclosure.highlight legend {
  padding: 30px 0 0;
  position: relative;
  top: 13px;
}
fieldset.lsv-signature.highlight.error,
fieldset.police-check-disclosure.highlight.error {
  border: none !important;
  padding: 0 !important;
}
fieldset.lsv-signature.highlight.error legend,
fieldset.police-check-disclosure.highlight.error legend {
  color: #b10e1e;
}
fieldset.lsv-signature.highlight.error .pseudo-focus,
fieldset.police-check-disclosure.highlight.error .pseudo-focus {
	border: 1px solid #b10e1e !important;
  border-left: 5px solid #b10e1e !important;
	margin-bottom: 5px;
}
fieldset.lsv-signature.highlight.error .pseudo-focus span.label {
	display: block !important;
	color: #111 !important;
}

/*==============================
   Buttons
   =============================*/
form .buttonrow {
  display: flex;
  width: 100%;
  margin: 5px 0 20px;
  padding: 0;
}
form .buttonrow .remove {
  font-size: 1.125em;
  margin: 0 auto;
  padding: 0;
}
form .buttonrow .removebutton {
  color: #0067AB;
  margin: 10px 0 0;
  padding: 0 0 0 30px;
  border: none;
  background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAANklEQVQ4jWNgGAWjADuo3vX4P2PVSYpx9a7H/xmoYRBj1cn/jrOvD2bDHGdfp16YjYJRgB0AAJSK2xZHPoROAAAAAElFTkSuQmCC) no-repeat 0px 4px;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
  transition: all .25s ease 0s;
  -webkit-transition: all .25s ease 0s;
}
form .buttonrow .removebutton:hover {
  text-decoration: underline !important;
}
form .buttonrow .add-btn {
  background-color:#017AC9;
  border-radius: 30px;
  border: 0;
  color: #FFF !important;
  cursor: pointer;
  padding: 10px 40px;
  margin: 10px auto;
  text-decoration: none;
  transition: background-color .25s ease 0s;
  -webkit-transition: background-color .25s ease 0s;
}
form .buttonrow .add-more-btn {
    background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAMAAAAMCGV4AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAVUExURQAAAP///////////////////////0jPbQQAAAAGdFJOUwC/f0Cf319C/M4AAAAqSURBVAjXY2AAA2ZGFgZkwMTGRiU+MyMIsLKxgWkWkAwywJCntv1o/gMAkeoBN5ids7EAAAAASUVORK5CYII=) no-repeat 24px 12px;
    background-color: #017AC9;
    border-radius: 30px;
    border: 0;
    color: #FFF !important;
    cursor: pointer;
    padding: 10px 28px 10px 50px;
    margin: 10px auto;
    text-decoration: none;
    transition: background-color .25s ease 0s;
    -webkit-transition: background-color .25s ease 0s;
}
form .buttonrow .addbutton .button {
	margin: 0;
	padding: 0 0 0 18px;
	border: none;
	background: url(../images/plus.png) #017AC9 no-repeat 37px 15px;
	cursor: pointer;
	font-weight: normal;
	text-decoration: none;
	font-size: 140%;
	border-radius: 28px;
	border: medium none;
	color: #FFF;
	cursor: pointer;
	font-size: 140%;
	font-weight: normal;
	margin: 10px 0px 0px;
	padding: 8px 80px;
	text-decoration: none;
}
form .buttonrow .addbutton .button:hover,
form .buttonrow .addbutton .button:focus {
	background-image: none;
	text-decoration: none;
	background: url(../images/plus.png) #282D41 no-repeat 37px 15px;
}
form .buttonrow .submitbutton {
  border: medium none;
  font-size: 140%;
  font-weight: normal;
  padding: 10px 80px;
  background-color: #017ac9;
  border-radius: 30px;
  color: #FFF !important;
  cursor: pointer;
  margin:20px auto 40px;
  text-decoration: none;
  transition: background-color .25s ease 0s;
  -webkit-transition: background-color .25s ease 0s;
}
form .buttonrow .add-btn:hover,
form .buttonrow .add-more-btn:hover,
form .buttonrow .submitbutton:hover {
  background-color: #282D41 !important;
}
form .buttonrow .add-btn:focus,
form .buttonrow .add-more-btn:focus,
form .buttonrow .submitbutton:focus {
  background-color: #282D41 !important;
  outline: 2px solid #0169AD;
  outline-offset: 2px;
}


/*==============================
   Responsive layout
   =============================*/
.col-12 {
  width: 100%;
}
.col-11 {
  width: 91.66666667%;
}
.col-10 {
  width: 83.33333333%;
}
.col-9 {
  width: 75%;
}
.col-8 {
  width: 66.66666667%;
}
.col-7 {
  width: 58.33333333%;
}
.col-6 {
  width: 50%;
}
.col-5,
input.col-5 {
  width: 41.66666667%;
}
.col-4,
input.col-4 {
  width: 33.33333333%;
}
.col-3,
input.col-3 {
  width: 25%;
}
.col-2,
input.col-2 {
  width: 16.66666667%;
}
.col-1,
input.col-1 {
  width: 8.33333333%;
}


/* ===============================
   Media Queries
   =============================*/
@media (max-width: 1070px) {
	.long-forms {
		width:auto;
	}
  .js-on div#content.form-content {
    width: 100% !important;
  }
}
@media (min-width: 1070px) {
  form {
   	max-width: 870px;
  }
	.formerrors {
   	max-width: 870px;
  }
}
@media (max-width:768px) {
  html {
    font-size: 89% !important;
	}
  .col-1,
  .col-2,
  .col-3,
  .col-4,
  .col-5,
  .col-6,
  .col-7,
  .col-8,
  .col-9,
  .col-10,
  .col-11,
  .col-12 {
    margin: 0;
    padding: 0;
    width: 100%;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  textarea {
  	padding: 10px 5px;
  }

	#content form .error {
  	margin-left: -14px;
		padding-left: 10px;
		margin-bottom: 20px;
	}

  /* Overwrite responsive.css */
  form#lsv-application-form {
  	padding: 15px 15px 0 !important;
	}
	form#lsv-application-form fieldset {
		padding: 0 !important;
	}
	#lsv-application-form .lsv-personaldetails .spacing {
  	margin-top: 20px;
  	margin-bottom: 20px;
	}
	.police-check-images {
  	margin: 0 -25px;
		padding: 10px 20px;
  }
	.police-check-images img.left,
  .police-check-images img.right {
    height: 40px;
    transform: translateY(0);
  }
  fieldset.police-form .field-label {
    margin-left: 5px;
    margin-right: 5px;
  }
  fieldset.police-form legend span.highlight {
    top: 10px;
    left: 5px;
  }
	fieldset.police-form .field-label {
  	margin-left: 0;
  	margin-right: 0;
	}
	#lsv-application-form #police-check {
  	margin: 25px -15px 0;
		padding: 0 16px;
	}
  #police_no_driver_licence {
  	transform: none;
	}
	.shorterField,
  .shorterField2 {
  	margin: 0;
  	padding: 0;
    width: 100% !important;
  }
	#lsv_court_date1, #lsv_reason_for_applying {
	  margin-top:20px;
	}
	#police_other_name1 .field.inline.col-4.select,
  #police_other_name2 .field.inline.col-4.select,
  #police_other_name3 .field.inline.col-4.select,
  #police_other_name4 .field.inline.col-4.select,
  #police_other_name5 .field.inline.col-4.select {
  	width: 100%;
	}
  #police_other_name1 .field.inline.col-4,
  #police_other_name2 .field.inline.col-4,
  #police_other_name3 .field.inline.col-4,
  #police_other_name4 .field.inline.col-4,
  #police_other_name5 .field.inline.col-4 {
    margin-right: 0;
	}
	fieldset.police-form legend span,
  .field-label span.label.highlight,
  .police-check-disclosure.highlight {
  	background-color: #C2D3E8 !important;
	}
	.lsv-form .white {
  	margin: -35px -25px 20px -25px;
		width: auto;
	}
  #content form fieldset {
    padding: 0 0 35px !important;
  }
	.js-on .highlight {
  	background-color: transparent !important;
	}
}
@media (min-width: 600px) {
  .police-check-images img {
    width: 200px;
	}
}
@media (max-width: 500px) {
	#content.form-content form fieldset.lsv-signature.highlight.error,
  #content.form-content form fieldset.police-check-disclosure.highlight.error {
		padding-left: 12px !important;
		margin-bottom: 0;
	}
	.checkbox span.label {
  	display: block;
  }
}
