/* Grid HTML Classes - prepended with */
.row {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0;
	margin-bottom: 0;
/*	max-width: 62.5em;*/
	*zoom: 1; 
}
.row:before, .row:after {
	content: " ";
	display: table; 
}
.row:after {
	clear: both; 
}
.row.collapse .column, .row.collapse .columns {
	position: relative;
	padding-left: 0;
	padding-right: 0;
	float: left; 
}
.row .row {
	width: auto;
	margin-left: -0.9375em;
	margin-right: -0.9375em;
	margin-top: 0;
	margin-bottom: 0;
	max-width: none;
	*zoom: 1; 
}
.row .row:before, .row .row:after {
	content: " ";
	display: table; 
}
.row .row:after {
	clear: both; 
}
.row .row.collapse {
	width: auto;
	margin: 0;
	max-width: none;
	*zoom: 1; 
}
.row .row.collapse:before, .row .row.collapse:after {
	content: " ";
	display: table; 
}
.row .row.collapse:after {
	clear: both;  
}

.column, .columns {
	position: relative;
	padding-left: 0.9375em;
	padding-right: 0.9375em;
	width: 100%;
	float: left; 
}

@media only screen {
	.column, .columns {
		position: relative;
		padding-left: 0.9375em;
		padding-right: 0.9375em;
		float: left; 
	}

	.small-1 {
		position: relative;
		width: 8.33333%; 
	}

	.small-2 {
		position: relative;
		width: 16.66667%; 
	}

	.small-3 {
		position: relative;
		width: 25%; 
	}

	.small-4 {
		position: relative;
		width: 33.33333%; 
	}

	.small-5 {
		position: relative;
		width: 41.66667%; 
	}

	.small-6 {
		position: relative;
		width: 50%; 
	}

	.small-7 {
		position: relative;
		width: 58.33333%; 
	}

	.small-8 {
		position: relative;
		width: 66.66667%; 
	}

	.small-9 {
		position: relative;
		width:75%; 
	}

	.small-10 {
		position: relative;
		width: 83.33333%; 
	}

	.small-11 {
		position: relative;
		width: 91.66667%; 
	}

	.small-12 {
		position: relative;
		width: 100%; 
	}

	[class*="column"] + [class*="column"]:last-child {
		float: right; 
	}

	[class*="column"] + [class*="column"].end {
		float: left; 
	}
}

/* Styles for screens that are atleast 768px; */
@media only screen and (min-width: 48em) {
	.large-1 {
		position: relative;
		width: 8.33333%; 
	}

	.large-2 {
		position: relative;
		width: 16.66667%; 
	}

	.large-3 {
		position: relative;
		width: 25%; 
	}

	.large-4 {
		position: relative;
		width: 33.33333%; 
	}

	.large-5 {
		position: relative;
		width: 41.66667%; 
	}

	.large-6 {
		position: relative;
		width: 50%; 
	}

	.large-7 {
		position: relative;
		width: 58.33333%; 
	}

	.large-8 {
		position: relative;
		width: 66.66667%; 
	}

	.large-9 {
		position: relative;
		width: 75%; 
	}

	.large-10 {
		position: relative;
		width: 83.33333%; 
	}

	.large-11 {
		position: relative;
		width: 91.66667%; 
	}

	.large-12 {
		position: relative;
		width: 100%; 
	}
}

/* Foundation Visibility HTML Classes */
.show-for-small {
	display: inherit !important; 
}

/* Medium Displays: 768px - 1279px */
@media only screen and (min-width: 48em) {
	.show-for-small {
		display: none !important; 
	}
}

form.custom .hidden-field {
	position: absolute!important;
	clip: rect(1px 1px 1px 1px);
	clip: rect(1px,1px,1px,1px);
	padding: 0!important;
	border: 0!important;
	height: 1px!important;
	width: 1px!important;
	overflow: hidden;
}

form.custom .custom.checkbox {
	background-image:url('../../clientlibs/images/location_images/checkbox.png');
}

#address, #bankeraddress{
	background-color: white;
	border: 1px solid #ccc;
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
	color: rgba(0,0,0,0.75);
	display: block;
	font-size: .875em;
	margin: 0 0 1em 0;
	padding: .5em;
	height: 2.3125em;
	width: 100%;
}

#address:focus, #bankeraddress:focus{
	background: #fafafa;
	border-color: #999;
	outline: 0;
	box-shadow: 0 0 5px #999;
}

table.legend {
	background: #fff;
	margin-bottom: 1.25em;
	border: solid 1px #ddd;
	border-spacing: 0;
	border-collapse: collapse;
	margin-top: 10px;
	margin-bottom: 0;
	width: 100%;
}
table.legend h3 {
	margin: 0!important;
}
table.legend tr.even, table.legend tr.alt, table.legend tr:nth-of-type(even) {
	background: #f9f9f9;
}
table.legend td {
	font-size: 0.75em;
	color: #222;
	display: table-cell;
	line-height: 1.125em;
	text-align: center;
	vertical-align: bottom;
	padding: 0.6em;
}
table.legend td.description {
	padding-left: 0;
	text-align: left;
}
table.legend td img {
	height: 1em;
	min-width: 1em;
}

a#how-to-use{margin:11px 0 0 10px;float:left;}

/* mobile styles */
@media screen and (max-device-width: 767px) {
	label {
		padding-left:12px;
	}
	.container {
		width:auto;
	}
	ul.view-tabs li a{
		white-space:nowrap;
	}
	.tabs-nav a{
		font-size:1.125em!important;
		padding-top:7px!important;
	}
	.introjs-helperNumberLayer {top:-30px!important;left:5px!important;}
	a#how-to-use{margin:0 0 15px 10px;}
}

@media screen and (max-width: 767px) {
	#step2{width:100%;}
	.searchfield-button{width:100%!important;}
	.searchbutton-column{padding-bottom:10px!important;}
	input#address{width:100%!important;}
	a#how-to-use{margin:0 0 15px 10px;}
	#search, #banker-search{margin-left:0;}
	.primary-services .small-4{width:100%!important;}
	#bankeraddress{height:40px;width:100%!important;}
}

@media screen and (max-device-width: 767px) and (orientation: portrait) {
	.panel .filters .large-4{
		width:100!important;
	}
	h3.show-for-small{
		height:28px!important;
		line-height:28px!important;
		font-size:0.875em!important;
	}
	input#bankeraddress{ width:100%!important; }
	#bankeraddress{height:40px;width:30%!important;}
}

@media screen and (max-device-width: 767px) and (orientation: landscape) {
	#map_canvas{ height:250px!important;margin-left:5px; }
	#step2{width:65%;}
	.searchfield-button, .searchbutton-column{width:auto!important;}
	#search, #banker-search{margin-left:10px;}
	.panel .filters .large-4{
		width:auto!important;
		margin-right:25px!important;
	}
	#bankeraddress{width:100%!important;}
}



/* find a location component */
form .row.collapse .columns.header,
.row.collapse .columns.header {
	background:#dadee1;
	padding: 6px 12px;
	margin-bottom:0;
	margin: 0;
}
/* Marker styling */

#infoContent {
	overflow:hidden;
}
#infoContent  #bodyContent {
	font-size: 0.9230769em; /*12px*/
}
#infoContent  h3 {
	border-bottom:1px solid #ccc;
	padding: 0 0 0.25em;
}

#infoContent  #bodyContent p  *{
	vertical-align:middle;
}
#nab-search-icon {
	position:absolute;
	right:1.75em; /*14px*/
	top:0.688em; /*11px*/
}
.address {
	height:40px!important;
	color:#4c626c!important;
	border-radius:3px;
}

#search, #banker-search {
	font-size: 1em;
	border-radius: 3px;
	padding: 0;
	cursor: pointer;
	border: 1px solid #910600;
	height: 40px;
	width: 43px;
	color: #fafafa;
	text-decoration: none;
	background:url("../../clientlibs/images/location_images/icon-search.png") no-repeat 8px 8px #c20000;
	background:url("../../clientlibs/images/location_images/icon-search.png") no-repeat 8px 8px, -webkit-gradient(linear, left top, left bottom, from(#ce3333), to(#9c0101));
	background:url("../../clientlibs/images/location_images/icon-search.png") no-repeat 8px 8px, -webkit-gradient(linear, left top, left bottom, from(#ce3333), to(#9c0101));
	background:url("../../clientlibs/images/location_images/icon-search.png") no-repeat 8px 8px, -webkit-linear-gradient(top, #ce3333, #9c0101);
	background:url("../../clientlibs/images/location_images/icon-search.png") no-repeat 8px 8px, -moz-linear-gradient(top, #ce3333, #9c0101);
	background:url("../../clientlibs/images/location_images/icon-search.png") no-repeat 8px 8px, -ms-linear-gradient(top, #ce3333, #9c0101);
	background:url("../../clientlibs/images/location_images/icon-search.png") no-repeat 8px 8px, -o-linear-gradient(top, #ce3333, #9c0101);
	background:url("../../clientlibs/images/location_images/icon-search.png") no-repeat 8px 8px, linear-gradient(top, #ce3333, #9c0101);
	margin-left:6px;
	float:left;
}
.border {
	border: 1px solid #d9d9d9;
	margin-top:-1px;
}
.border-top {
	border-top: 1px solid #d9d9d9;
	padding-top:10px;
}

.section-container.view-tabs > section .title,
.section-container.view-tabs > .section .title {
	border: 1px solid #ccc;
	background: #f2f4f6;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	font-size:1.25em;
}

.view-tabs  section.active .title a {
	text-decoration:none;
}

.toggle-filters  {
	background:url(../../clientlibs/images/location_images/icon-filter2.png) no-repeat;
	background-position: left 2px;
	padding:0 0 0 18px;
	margin:3px 0 8px 0;
	float:right;
	text-align:right;
	font-size:1em;
	font-weight:bold;
	border-bottom: 0;
	text-decoration: underline;
	height: 21px;
	transition: inherit;
}
.toggle-filters.open {
	background-position: left -24px;
}
#show-filters {
	display: none;
	overflow: hidden;
	position: relative;
	z-index: 1;
}

#bankers.panel {
	padding-top:20px;
}
.panel {
	border-style: solid;
	border-width: 1px;
	border-color: #d9d9d9;
	margin-bottom: 1em;
	padding: .5em;
	background: #f2f2f2;
}
.panel .filters, #mobile-filters{
	font-size: 0.875em;
}
#find-a-location form.panel.radius {
	padding-top:1em;
}
#bankers label,
.primary-services label {
	display: table-cell;
	vertical-align:middle;
	font-weight:bold;
	padding: 5px 0;
}
.section-container.view-tabs > section .content, .section-container.view-tabs > .section .content {
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
	border-bottom-left-radius: 3px;
	padding:30px 15px;
}
.section-container, .section-container.auto {
	margin-bottom:0;
}

ul.view-tabs li:last-child {
	margin: 0 0;
}
.back-link { padding-top:12px;}


/* results page */
#results-tab .border  div.address,
#banker-results  div.address {
	margin: 0.2em 0 0.25em;
}
#results-tab .border > div,
#banker-results > div {
	margin: 1.25em 0 1em;
}
#results-tab  {
	padding:14px 20px;
	height:450px;
	border:1px solid #ccc;
}
#results-tab ul {
	width:250px;
}
#results-tab img {
	padding:0.5em 0 120px 20px;
}
ul.footer-links   {
	border-top:1px solid #ccc;
}

ul.footer-links li  {
	padding: 0.5em 1.75em;
	border-bottom:1px solid #ccc;
	background: url(../../clientlibs/images/location_images/arrow-grey.png) 1em 14px no-repeat #f2f4f6; /*5px*/
	margin: 0;
}
ul.footer-links li  a {
	font-weight:bold;
	text-decoration:none;
	line-height:1em;
}
ul, ol, dl { list-style:none;}

/* results list */
embed, object, iframe{max-width: 100%;}

.items .item  {
	position: relative;
	padding: 14px 20px 10px 75px;
	border-bottom: 1px #dedede solid;
}
.items .item img {
	left: 10px;
	position: absolute;
	top: 20px;
}
#results-list .items .item  {
	border-bottom: 0;
}
#results-list .items .item  {
	padding: 20px;
}
#results-list  .items .item img {
	position: relative;
	top: 0;
	left: 0;
}

#results-list .items .item  h2  {
	font-size:1.75em;
	margin:0 0 .2em;
	padding-bottom: 0;
}

#results-list .items .item  img.banker {
	margin:  0 0 20px;
	position: relative;
	top: 0;
	left: 0;
}
#find-a-location ul.contact-details li {
	background:none;
	padding-left:0;
}
#find-a-location ul.contact-details {
	margin:10px 0 5px;
}
#results-list .items .item ul.contact-details li{
	margin-bottom: 10px;
}
#results-list .items .item ul.contact-details img{
	margin:0 10px 0 0;
	float:left;
}

#results-list .items .item ul.contact-details span {
	padding: 2px 0 12px 40px;
	display:block;
	font-size: 16px;
	font-weight:normal;
}

#results-list ul.contact-details .servicing-area-wrapper .icon{
	cursor: pointer;
	float:left;
	padding-right: 2px;
}
#results-list ul.contact-details .servicing-area-wrapper .icon p{
	font-family:Courier, monospace;
	margin-top: 0;
}
#results-list ul.contact-details .servicing-area-wrapper .heading{
	cursor: pointer;
	float:left;
	font-weight:bold;
}
#results-list ul.contact-details .servicing-area-wrapper .servicing-area{
	margin: 0;
	padding-top:10px;
}
#results-list ul.contact-details .servicing-area-wrapper .servicing-area p{
	margin: 0;
	padding-top:0;
}

.items .item:nth-child(even) {
	 background: #f2f4f6;
}

p.phone, a.phone {
	font-weight:bold;
	margin-bottom:0.5em;
	display:block;
}

.items .item  h3  {
	width:78%;
	line-height:1.2em;
	font-family: "SourceSansBold", Helvetica, Arial, sans-serif;
}

.items .item  h3 a {
	font-size: 0.75em;
	line-height: 1em;
}
.items .item  h3 .proximity {
	position:absolute;
	top:0;
	right:0;
	border-left:1px solid #d4d4d4;
	border-bottom:1px solid #d4d4d4;
	width:70px;
	font-size: 0.750em;
	padding:5px;
	text-align:center;
}

#directionsNav {
	margin:10px 12px 0;
}
#directionsNav h3{
	font-weight: bold;
	font-size: 1rem;
	margin-bottom: 12px;
}
#directionsContent {font-size:14px;}
.adp-summary {
	font-size:0.875em;
	padding:0 0 8px 13px;
}
table.adp-placemark  {
	margin:12px 0 12px;
	border-left:0;
	border-right:0;
}
table.adp-placemark  td{
	padding:6px 28px 6px 2px;
	vertical-align: top;
}
table.adp-placemark  td.adp-text{
	color: black;
	font-size: 14px;
	line-height: 18px;
}
table.adp-directions {
	border:0;
}

table.adp-directions td.adp-step, table  td.adp-substep {
	padding:8px 5px;
	line-height:1.25em;
}
.adp-details, .adp-legal {
	padding:0 0 8px 6px;
	font-size:12px;
}
/* Pagination style */
.pagination {
	border:1px solid #d9d9d9;
	border-top:0;
	height: 41px;
	padding: 7px 0 0;
	display: block;
}
.pagination a {
	text-decoration:none;
	border:1px solid #ccc;
	color:#000;
	border-radius:3px;
	height: 25px;
	width: 25px;
	text-align: center;
	background: #f2f4f6;
	float: left;
	font-size: 0.875em;
	margin-left: 0.3125em;
	padding: 2px 0;
}
.pagination a:hover ,
.pagination a:focus {
	background: #e6e6e6;
}
.pagination a.unavailable {
	cursor: default;
	color: #999999;
}
.pagination a.unavailable:hover, .pagination li.unavailable:focus {
	background: transparent; }

.pagination a.active_page {
	background: #c20000;
	color: #fff;
	font-weight: bold;
	cursor: default;
}

.pagination a.active_page:hover, .pagination a.active_page:focus {
	background: #c20000;
}

.columns.header h2 {
	font-family:"SourceSansRegular", Helvetica, Arial, sans-serif;
	font-weight:normal;
	margin:0;
	padding: 3px 0 0 0;
	font-size: 1.125em;
}
#find-a-location{
	border: 1px solid #ccc;
	padding-top: 0.9375em;
	padding-bottom: 0.9375em;
	margin-bottom: 0.9375em;
}
#resultColumn .item h3{margin-bottom:3px;padding-right:15px;}
#resultColumn .item p.address{height:auto!important;}

/* mobile styles */
@media only screen and (max-width: 767px) {
	label {
		padding-left:12px;
	}
	.section-container.view-tabs > section .content, .section-container.view-tabs > .section .content {
		border-left:0;
		border-right:0;
		border-bottom:0;
		border-radius:0px;
		padding:15px 0;
	}

	.section-container.view-tabs section p.title,
	.section-container.view-tabs > section > .title,
	.section-container.view-tabs > .section > .title {
		margin-left:15px;
		font-size:1em;
	}

	#search.postfix, #banker-search.postfix { float:right;}

	label {padding-left:0;}
	input[type=checkbox] + label {
		padding-left:36px;
		background-position:10px 0;
	}

	input[type=checkbox]:checked + label {
		background-position: 10px -33px;
	}

	input[type=checkbox]:disabled + label {
		background-position: 10px -66px;
	}

	#show-filters .columns h3:first-child {
		border-top:0;
	}
	#show-filters .columns h3 {
		border-top:1px solid #ccc;
		height: 30px;
		line-height: 30px;
		margin: 0;
		padding: 0 6px 0 10px;
		font-size: 1em;
	}

	#mobile-filters .columns:first-child {
		border-top:0;
	}

	#mobile-filters .columns,
	#show-filters .columns label {
		border-top:1px solid #ccc;
		width:100%;
		padding:7px 0 3px 10px;
	}
	.panel #show-filters label{
		font-size: 0.875em;
	}
	.toggle-filters  {
		text-align:left;
		float:none;
		display:block;
		background-size:12px;
		background-position: left 3px;
		padding: 0 0 0 16px;
	}
	.toggle-filters.open {
		background-position: left -19px;
	}

	.columns.header {
		padding: 10px 12px;
		border-bottom: 1px solid #ccc;
	}
	.columns.header h2 {
		font-size: 0.97em;
		padding-top: 5px;
	}

	ul.view-tabs li {
		margin: 0 -5px 0 10px;
	}

	#find-a-location .tabContent {
		opacity: 0;
		overflow: hidden;
		z-index:1;
		max-height:0;
		margin-bottom: 0;
		padding: 0;
	}

	.pagination  {
		border-left:0;
		border-right:0;

	}

	#results-tab  {
		border:0;
		height:auto;
	}
	#results-list .items  {
		border-right:0;
	}
	#results-list .items .item h2  {
		font-size:1.25em;
	}
}


/* find a banker component */
#bankerSearch{
	width:auto;
	padding:0 5px;
}
#find-a-banker{
	border: 1px solid #ccc;
	padding-top: 0.9375em;
	margin-bottom: 0.9375em;
}
	
.servicing-area {font-size: 0.9em;color: #333;}
.left {
	float: left!important;
}
#find-a-banker .info_text{
	margin-bottom: 10px;
}

.location-error-label, .banker-error-label {
	margin-bottom:10px;
	color:#b2080f;
	font-size: 0.875rem;
}

.tabs-component .tabs .tabs-nav, .tabs-component .tabs .tabs-nav a{
	height: 54px;
}

@media (min-width: 1024px){
	table {
		width: 100%;
	}
	.pagination a {
		padding: 0;
	}
}

@media (min-width: 1280px){
	.tabs-component .tabs .tabs-nav {
		width: auto;
	}
	.toggle-filters  {
		font-size:0.88889em;
	}
}

@media (min-width: 1024px) and (max-width:1279px){
	.toggle-filters  {
		background-position: left 5px;
	}
	.toggle-filters.open {
		background-position: left -21px;
	}
}
