.wrapper {
	padding: 0 2px 20px;
}

.bg-pic {
	background-image: none;
}

.j-forms .header,
.j-forms .secondary-btn:hover {
	background-color: #251b5b;
}

.j-forms {
	box-shadow: none;
}

a:link {
    color: #3f51b5;
}
a:visited {
    color: #3f51b5;
}
a:hover {
    color: #009fe3;
}
a:active {
    color: #009fe3;
}

.j-forms .header {
	box-shadow: none;
	border: 1px #ddd solid;
}

.j-forms .header-logo {
	padding: 10px 1px;
	background-color: #fff;
}

.j-forms .header-logo img {
	max-height: 90px;
}

.j-forms .divider-text span {
	background-color: #f7ddab;
	color: #251b5b;
}

.j-forms .primary-btn,
.j-forms .file-button,
.j-forms .secondary-btn {
	background: #3f51b5;
}

.j-forms .primary-btn:hover,
.j-forms .file-button:hover,
.j-forms .secondary-btn:hover {
	background: #009fe3;
}

.j-forms .primary-btn:active,
.j-forms .file-button:active,
.j-forms .secondary-btn:active {
	background: #3f51b5;
}

.j-forms .footer {
	background-color: #f1f2f2;
	border: 1px #ddd solid;
}

.j-forms .content {
	border-left: 1px #ddd solid;
	border-right: 1px #ddd solid;
	background-color: #f7fafa;
}

.j-forms .secondary-btn,
.j-forms .secondary-btn:hover,
.j-forms .secondary-btn:active {
	opacity: 1;
}

.j-forms .pdf-box {
	font-size: 16px;
	line-height: 1.25em;
}

.j-forms .content .fullwidth-btn {
	width: 100%;
	display: inline-block;
}

.j-forms .header {
	background: #fff;
	max-height: 90px;
	background-image: url("../img/money-planner-header.jpg");
	background-repeat: no-repeat;
	background-size: 800px 90px;
	background-position: center right;
}

.j-forms .header p {
	color: #251b5b;
	font-family: "TUOS Stephenson", Georgia, Times, serif;
	text-transform: none;
}

.j-forms input[type="text"],
.j-forms input[type="password"],
.j-forms input[type="email"],
.j-forms input[type="search"],
.j-forms input[type="url"],
.j-forms textarea,
.j-forms select {
	background: #fff;
	border: 2px solid rgba(0, 0, 0, .12);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	color: rgba(0, 0, 0, .87);
	display: block;
	font-family: inherit;
	font-size: 16px;
	height: 32px;
	padding: 4px 6px 4px;
	width: 100%;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all.4s;
	-moz-transition: all.4s;
	-ms-transition: all.4s;
	-o-transition: all.4s;
	transition: all.4s;
}

.j-forms select {
	padding-top: 2px;
}

.j-forms .icon-left,
.j-forms .icon-right {
	color: rgba(0, 0, 0, .54);
	font-size: 12px;
	height: 24px;
	line-height: 30px !important;
	opacity: .6;
	position: absolute;
	text-align: center;
	top: 5px;
	width: 42px;
	z-index: 2;
}


/* hide Safari autofill */

.j-forms input::-webkit-contacts-auto-fill-button {
	visibility: hidden;
	display: none !important;
	pointer-events: none;
	position: absolute;
	right: 0;
}

.j-forms .labelinput {
	display: inline-block;
	float: left;
}

.j-forms .totalsbox .label {
	text-align: right;
}

.j-forms .select i {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-o-box-shadow: none;
	box-shadow: none;
	height: 16px;
	position: absolute;
	pointer-events: none;
	top: 4px;
	right: 6px;
	width: 4px;
}

.j-forms .select i:after,
.j-forms .select i:before {
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
	content: '';
	position: absolute;
	right: 3px;
}

.j-forms .select i:after {
	border-top: 6px solid rgba(0, 0, 0, .4);
	bottom: 1px;
}

.j-forms .select i:before {
	border-bottom: 0px solid rgba(0, 0, 0, .4);
	top: 3px;
}

.j-forms .j-row .valignlbltxt {
	margin-top: 10px;
}

.j-forms .j-row .valignlbltxt {
	border-bottom: 1px solid #ddd;
	overflow: hidden;
}

.j-forms .lblheading {
	font-weight: bold;
	font-size: 1.0em;
}

.j-forms .totalsbox {
	background: #f7ddab;
	padding: 10px 0 5px 0;
	margin: 0 0 20px 0;
	border: 1px solid rgba(0, 0, 0, .12);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
}

.j-forms .totalsbox .lblheading {
	color: #251b5b;
	font-weight: normal;
	padding-bottom: 5px;
}

.j-forms .input.amount input[type=text],
.j-forms .input.amount_total input[type=text] {
	font-family: "Courier New", Courier, monospace;
	font-size: 1.1em;
	font-weight: normal;
	text-align: right;
	background: #fff;
}

.j-forms .input.amount:before,
.j-forms .input.amount_total:before {
	content: '£';
	position: absolute;
	top: 7px;
	left: 10px;
	z-index: 1;
}

.j-forms .j-row.totalsbox .input.amount_total input[type=text] {
	background: #fff !important;
	color: #000;
	-webkit-text-fill-color: #000;
	-webkit-opacity: 1;
}

.j-forms .j-row .label {
	line-height: 1.5em;
}

.j-forms .j-row .label .fa-info-circle,
.j-forms .j-row .fa-external-link {
	color: #3f51b5;
}

.j-forms .j-row .fa-external-link {
	padding-left: 5px;
}

.j-forms .j-row .label .fa-info-circle.disabled {
	color: #ddd;
}

.j-forms fieldset .totalsbox input {
	border: none;
}

.j-forms fieldset .totalsbox input:hover {
	border: none;
}

.j-forms .j-row.summaryboxes .input.amount_total input[type=text].red {
	color: #f00;
	-webkit-text-fill-color: #f00;
}

.j-forms .desktoptel {
	display: inline;
}

.j-forms .mobiletel {
	display: none;
}


/* step 1 styles */

.name-inputs {
	display: inline-block;
}

.name-inputs label {
	display: block;
	padding-left: 2px;
}

.Zebra_Tooltip .Zebra_Tooltip_Message {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-size: 14px;
}

.j-forms .j-row.hidden-row,
.j-forms #table_income .hidden-row {
	display: none;
}

@media all and (max-width:620px) {
	.content {
		padding: 5px !important;
		margin: 0 !important;
	}
	.wrapper {
		padding: 0;
	}
	.j-forms .header p {
		background: rgba(0, 0, 0, 0.3);
		color: #fff;
		background-size: cover;
		font-size: 1.5em;
	}
	.j-forms .j-row .valignlbltxt {
		border-bottom: none;
	}
	.j-forms .j-row .valignlbltxt label {
		display: inline-block;
	}
	.j-forms .unit {
		position: relative;
		margin-bottom: 8px;
	}
	.j-forms .hide-mobile {
		display: none;
	}
	.j-forms .span3.unit {
		width: 50%;
	}
	.j-forms .span4.summaries {
		width: 33.3333%;
	}
	.j-forms fieldset h3 {
		padding-left: 4px;
	}
	.j-forms fieldset .summaryboxes {
		font-size: 0.8em;
	}
	.j-forms fieldset .summaryboxes .label.lblheading {
		font-size: 1.1em;
	}
	.j-forms fieldset .summaryboxes .input input {
		padding: 0;
		font-weight: bold;
	}
	.j-forms .summaryboxes .input.amount_total:before {
		content: '';
	}
	.j-forms .summaryboxes .input.amount_total.firsttotal:before {
		content: '£';
		top: 9px;
		left: 0px;
	}
	.j-forms .totalsbox .label {
		font-size: 0.8em;
		padding: 0;
	}
	.j-forms .j-row.totalsbox {
		margin-top: 15px;
	}
	.j-forms .content {
		padding: 10px 10px 0;
	}
	.j-forms fieldset .summaryboxes {
		background: #fff;
	}
	.j-forms .pdf-box {
		margin: 0 5px;
	}
	.j-forms .pdf-box p {
		font-size: 0.6em;
  line-height: 1.3em;
  padding-bottom: 10px;
	}
	.j-forms .header-logo {
		background-color: #fff;
	}
	.j-forms .content .active-fieldset h3 {
		text-align: center;
	}
	.j-forms button.primary-btn, .j-forms button.secondary-btn {
		padding: 0 10px;
	}
}


/* touchscreen specific rules */

@media (pointer: coarse) and (hover: none) {
	.j-forms .primary-btn:hover,
	.j-forms .file-button:hover,
	.j-forms .secondary-btn:hover {
		background: #3f51b5;
	}
	.j-forms .primary-btn:active,
	.j-forms .file-button:active,
	.j-forms .secondary-btn:active {
		background: #3f51b5;
	}
	.j-forms .desktoptel {
		display: none;
	}
	.j-forms .mobiletel {
		display: inline;
	}
}