/*
NZCU Orange: #e37222; R:227 G:114 B:34;
NZCU Website colour: #F5881A

NZCU Baywide
NZCU Grey #f3f3f3
NZCU Orange: #f58220 
Text: #000
Lighter Text: #707070

#E0802A
 */

html {
  background: #fff; /*white*/
}


body {
  font-family: "Trebuchet MS", "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-size: 87.5%;
	overflow:hidden;
  color: #000;
  background: #fff;
}

/* =============================================================================
 *   HTML Elements
 * ========================================================================== */

h1 {
  color: #555;
  text-transform: uppercase;
}

h2 {
  color: #f58220;
}

h3 {color: #f58220;}

pre,
code,
tt,
samp,
kbd,
var {
  font-family: Consolas, Monaco, 'Courier New', Courier, monospace, sans-serif;
}


/* =============================================================================
 *   Wrappers
 * ========================================================================== */

/*
 * Page wrapper, includes the .container class which sets the overall page or section width
 * Main wrapper in page.tpl.php, the .container class sets the width of the page, do not add width to it!
 */
#page {
	position:relative;
	width:100%;
}
#page .container {}

/*
 * Wraps the sidebars the content column
 */
#columns {
  background: #fff;
  border-radius: 15px;
}

/* =============================================================================
 *   Branding
 * ========================================================================== */

/* =============================================================================
 *   Page content header
 * ========================================================================== */

/*
 * The main page title (h1)
 */
#page-title, .front #main-content,
#block-block-14.block, #block-block-14 p{
  margin: 0;
}

/* Mobile FB */
#block-block-14 {
  font-size: 125%;
  padding-bottom: 20px;
}
#block-block-14 i, #block-block-14 a {
  color: #f58220;
}
/* =============================================================================
 *   Misc Global Styles
 * ========================================================================== */

/*
 * Aggregator feed source
 */
#aggregator .feed-source .feed-icon {
  display: inline;
  float: none;
  margin-right: 10px;
}

.feed-details dt,
.feed-details dd {
  display: inline;
  margin: 0;
}

/*
 * Generic styles for links. See the ul.links declaration in node and comment stylesheets
 */
ul.links {
  margin: 0;
  padding: 0;
}

ul.links.inline {
  display: block;
}

ul.links li {
  display: inline;
  list-style: none;
  padding: 0 10px 0 0;
}

/*
 * Search results are an ordered list so reset the margin
 */
.search-results {
  margin: 0;
}


/* =============================================================================
 *   Regions
 * ========================================================================== */

/*
 * Header region, embedded in the #header
 */
.region-header {
	position:relative;
}

/* Logo */
#block-block-4 {
  width: 205px;
  left: 0;
  top: 0;
  padding: 10px 0 0;
}
#block-block-4 a {
  outline: 0;
}
#block-block-4 img {
  max-height: 120px;
}

#block-block-13 i {
  font-size: 40px;
  color: #f58220;
}
/* Easy banking */
#block-block-15 {
  position: absolute;
  top: 0;
  left: 55%;
  width: 144px;
}
#easy-banking {
  background: url(images/easy-banking.png) no-repeat top center;
  background-size: 100%;
  width: 144px;
  height: 43px;
}

/* Banking login */
#block-block-6 {
  position: absolute;
  top: 2px;
  right: 0;
  color: #000;
  background-color: #fff;
  border-radius: 6px;
  padding: 4px 0;
}
#block-block-6 p:first-child {
  font-size: 120%;
}
#block-block-6 p:nth-child(2) {
  font-size: 90%;
}
#block-block-6 a {
  color: #000;
}
/* Search block */
.search {
  width: 66%;
  float:right;
}
.search .form-text{
  background: #fff;
  border-radius: 6px 0px 0px 6px;
  height: 14px;
  border-top: 1px solid #e0e0e0;
  border-right: none;
  border-bottom: 1px solid #e0e0e0;
  border-left: 1px solid #e0e0e0;
}
.search .form-submit, .search .form-submit:hover{
  background: #f58220 url(images/search-icon.png) center center no-repeat;
  text-indent: -9999px;
  border: none;
  border-radius: 0px 6px 6px 0px;
  width: 44px;
  height: 36px;
  padding: 0px;
  margin-left: -4px;
  background-size: 50%;
}
/* =============================================================================
 *   Links
 * ========================================================================== */

a {
  text-decoration: none;
}
#content a {
  text-decoration: underline;
}

a:link {
  color: #000;
}
a:visited, h2 a:link, h2 a:visited{
  color: #000;
}
a:active,
a.active,
a:hover,
a:focus,
h2 a:hover, h2 a:active {
  text-decoration: underline;
}
h2 a:active, h3 a:active, 
h2 a:link, h3 a:link, 
h2 a:visited, h3 a:visited,
h2 a:hover, h3 a:hover,
h2 a:focus, h3 a:focus {
  color: #f58220;
}
/* =============================================================================
 *   Primary, Secondary and Menu Bar region menus
 * ========================================================================== */

/*
 * Use one of the following id's for granular control:
 *  - #menu-bar (menu bar region)
 *  - #primary-menu (main menu)
 *  - #secondary-menu (secondary/user menu)
 * You can target all of these with .nav or div[id$="menu-bar"]
 */

#block-superfish-1 {
  position: absolute;
  top: 0px;
  left: 0px;
}
#search-block-form .at-menu-toggle-button {
  display: none;
}
/* =============================================================================
 *   Superfish
 * ========================================================================== */

ul.sf-menu {
  margin-bottom: 0;
}

ul.sf-menu li:hover,
ul.sf-menu li.sfHover {
  outline: 0;
}
ul.sf-menu a:focus,
ul.sf-menu a:hover,
ul.sf-menu a:active {
  outline: 0;
}
ul.sf-menu a:link, ul.sf-menu a:visited  {
  outline: 0;
  color: #fff;
}
/* MENU TOGGLE */
#block-superfish-1 > div > h2 {
  display: none;
}

#menu-toggle{
  text-indent: -9999px;
  margin-top: 5px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f58220 url(images/menu-toggle.gif) no-repeat center center;
  color: #fff;
}
#menu-toggle.active{
  border-radius: 0px 8px 8px 0px;
  margin-left: -10px;
}
.block-superfish .block-inner .content {}

.block-superfish ul {
  margin: 0 !important;
  padding: 0 !important;
	background-color: #f58220;
}

.block-superfish li {
  margin: 0 !important;
  padding: 0 !important;
}
/*
 * Vertical style
 */
.sf-vertical {
  width: 100%;
}

.sf-vertical li {
  width: 100%;
}

.sf-vertical li.last {}

.sf-vertical li:hover ul,
.sf-vertical li.sfHover ul {
  left: 100%;
  top: 0;
  margin: 0;
  padding: 0;
}

.sf-vertical li a {
  padding: 0 10px;
}

/*
 * Navbar style
 */
.sf-navbar {
  padding-bottom: 0 !important;
}

/*
 * Sensible padding for the default style
 */
.sf-menu.sf-style-default a {
  padding: 0 10px;
}
/* =============================================================================
 *   Menus, usually blocks
 * ========================================================================== */

ul.menu {
  padding-left: 15px;
}

ul.menu ul {
  padding-left: 15px;
}

ul.menu li {
  margin: 0;
}

/* If li.content exists it's a problem, so reset the padding */
.block .menu li.content {
  padding: 0;
}

/* =============================================================================
 *   Breadcrumbs
 * ========================================================================== */

#breadcrumb {
  margin: 10px 0;
}
#breadcrumb-wrapper {
  margin: 0 10px;
}

/* If the label is set to show in theme settings the label class is added */
#breadcrumb .breadcrumb-label {
  font-size: 1em;
  display: inline;
  padding-right: 10px;
}

#breadcrumb .breadcrumb-label:after {
  content: ":";
}

#breadcrumb ol {
  margin: 0;
  padding: 0;
}

#breadcrumb .with-breadcrumb-label ol {
  display: inline;
}

#breadcrumb li {
  list-style: none;
  display: inline;
}
/* =============================================================================
 *   Pagers
 * ========================================================================== */

ul.pager {
  clear: both;
  margin: 0;
  text-align: center;
}

.item-list ul.pager li {
  margin: 0;
}

ul.pager li {
  background-image: none;
  display: inline;
  list-style-type: none;
  padding: .5em;
}

ul.pager li.pager-current {
  font-weight: 700;
}

.block ul.pager li {
  margin: 0;
}

/*
 * Theme the various states of pager links
 */

/* =============================================================================
 *   Skip Navigation
 * ========================================================================== */

#skip-link {
  left: 50%;
  margin-left: -6.5em;
  margin-top: 0;
  padding: 0 0.5em;
  position: absolute;
  width: 12em;
  z-index: 50;
}

#skip-link a {
  background: #444;
  background: rgba(0,0,0,0.6);
  color: #fff;
  display: block;
  line-height: 2;
  padding: 0;
  text-align: center;
  text-decoration: none;
}

#skip-link a:link,
#skip-link a:visited {
  background: #444;
  background: rgba(0,0,0,0.6);
  color: #fff;
  display: block;
  line-height: 2;
  padding: 0;
  text-align: center;
  text-decoration: none;
}

#skip-link a:hover,
#skip-link a:focus,
#skip-link a:active {
  outline: 0;
}


/* =============================================================================
 *   Tabs (local tasks)
 * ========================================================================== */

#tasks {
  margin-bottom: 15px;
}

ul.primary {
  border-bottom-color: #ccc;
  margin: 20px 0;
  padding: 0 0 0 5px;
}

ul.primary li {
  display: block;
  float: left;
  margin: 0 1px -1px;
}

ul.primary li a {
  background-color: #f5f5f5;
  border-color: #ccc;
  margin-right: 1px;
  padding: 0 10px;
  display: block;
  float: left;
  height: 1.5em;
  line-height: 1.5em;
}

ul.primary li a:hover,
ul.primary li a:focus {
  background-color: #eee;
  border-color: #ccc;
}

ul.primary li.active a,
ul.primary li.active a:hover,
ul.primary li.active a:focus {
  background-color: #fff;
  border-bottom-color: #fff;
}

ul.secondary {
  border-bottom: 1px solid #ccc;
  margin: 1em 0 0;
  padding: 0 .3em 1em;
}

ul.secondary li {
  border-right: 0;
  list-style: none;
  padding: 0 10px 0 0;
}

ul.secondary li a:hover,
ul.secondary li a.active {
  border-bottom: none;
  text-decoration: underline;
}


/* =============================================================================
 *   Action links
 * ========================================================================== */

ul.action-links {
  margin: 20px 0 0;
  list-style: none;
}

/*
 * Labels are h2 in Adaptivetheme. Use a strong selector to mitigate unwanted ineritance issues
 */
.field-label {
  font-size: 1em;
  font-weight: 700;
  font-family: inherit;
  line-height: inherit;
  margin-bottom: 0;
}

/*
 * Centered setting
 */
.ia-c .field-type-image figure,
.iat-c .field-type-image figure {
  margin: 5px auto 15px;
}

/*
 * Float right setting
 */
.ia-r .field-type-image figure,
.iat-r .field-type-image figure {
  margin: 5px 0 15px 20px;
}


/* =============================================================================
 *   Block Styling
 * ========================================================================== */

/*
 * Main wrapper for most blocks, block_system_main does not have it
 */
.block {
  margin-bottom: 20px;
}
/* BLOCK CLASS STYLES */
.bs-pad .block-inner{
  padding: 5px 10px;
}
.bs-shadow-dark .block-inner{
  -moz-box-shadow: 3px 3px 5px 0 #000;
  -webkit-box-shadow: 3px 3px 5px 0 #000;
  box-shadow: 3px 3px 5px 0 #000;
}
.bs-shadow-light .block-inner{
  -moz-box-shadow: 3px 3px 5px 0 #ccc;
  -webkit-box-shadow: 3px 3px 5px 0 #ccc;
  box-shadow: 3px 3px 5px 0 #ccc;
}
.bs-rounded .block-inner{
  border-radius: 6px;
}
.bs-light-bg .block-inner{
  background: #f5f5f5; /*light bg*/
}
.bs-dark-bg .block-inner{
  background: #106DB7; /* dark bg */
}
.bs-light-border .block-inner{
  border: solid 1px #ccc; /* light border */
}
.bs-dark-border .block-inner{
  border: solid 1px #106DB7; /* dark border */
}
.center{
  text-align: center;
}
.bs-gradient .block-inner{
background: rgb(244,244,244); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(244,244,244,1) 0%, rgba(211,211,211,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(244,244,244,1)), color-stop(100%,rgba(211,211,211,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(244,244,244,1) 0%,rgba(211,211,211,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(244,244,244,1) 0%,rgba(211,211,211,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(244,244,244,1) 0%,rgba(211,211,211,1) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(244,244,244,1) 0%,rgba(211,211,211,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#d3d3d3',GradientType=0 ); /* IE6-9 */
}
.bs-title-bg .block-title{
  background: #FF0; /*block-title-bg*/
}
.bs-title-bg div:first-child > *{
  padding: 0px 10px;
}

/*
 * Block title
 */
.block-title {
  margin: 0;
}

.block-content ul,
.block-content ol {
  padding: 0 0 0 15px;
}

.block-content li {
  margin: 0;
  padding: 0;
}

/*
 * Header blocks
 */
.region-header .block-inner, #search-content-wrapper .block-inner, #tertiary-content-wrapper  .block-inner, #tertiary-content-wrapper .block-inner, #built-content-wrapper .block-inner, #secondary-content-wrapper .block-inner,
.region-header .block, #search-content-wrapper .block, #tertiary-content-wrapper  .block, #tertiary-content-wrapper .block, #built-content-wrapper .block, #secondary-content-wrapper .block {
	margin: 0;
}
.region-header .block-inner p, #search-content-wrapper .block-inner p, #tertiary-content-wrapper p, #built-content-wrapper p {
	margin: 0;
}
.front #secondary-content-wrapper {
  margin-bottom: 15px;
}
/* 
 * Search content block (should be login block!!!)
 */
#search-content-wrapper{
	background-color: #545454;
	height: 65px;
}
#search-content-wrapper .container {
	background: url("images/leaf.png");
	background-repeat: no-repeat;
	background-position: right center;
	height: 100%;
}
#search-content-wrapper .container .region{
	background: url("images/people-helping-people.png");
	background-position: left center;
	background-repeat: no-repeat;
	height: 100%;
}

.blogin {
	float: right;
	color: #fff;
	text-align: center;
}
.blogin a:link, .blogin a:visited {
  color: #fff;
}

.blogin  a:hover, .blogin a:focus {
  color: #01aa4f;
}
/* HOME FEATURE BLOCKS */
.front #secondary-content-wrapper .region-inner, #content-column .region-highlighted .region-inner {
  display: -ms-Flexbox;
  ms-box-orient: horizontal;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  -moz-flex-flow: row wrap;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -moz-align-content: space-between;
  -ms-align-content: space-between;
  align-content: space-between;
  -webkit-align-items: stretch;
  -moz-align-items: stretch;
  -ms-align-items: stretch;
  align-items: stretch;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
}

#content-wrapper .four-block, #secondary-content-wrapper .four-block {
  -webkit-flex: 1;
  -moz-flex: 1;
  -ms-flex: 1;
  flex: 1;
  max-width: 300px;
  background-color: #bbb;
  z-index: 100;
  min-width: 110px;
}
.four-block .block-inner {
  height: 100%;
  vertical-align: middle;
  margin: 0;
}
#content-wrapper .region-highlighted .four-block {
  background-color: inherit;
}
.home-4 {
  margin-top: -10px;
  bottom: 0;
  margin-bottom: 10px;
  text-align: center;
}
.home-4 a {
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: -10px;
  width: 185px;
  height: 120px;
}
.region-highlighted .home-4 a {
  width: 155px;
}
/* Slideshow on home page */
.front #secondary-content-wrapper .region-inner > #block-views-slideshow-block {
  width: 100%;
  -webkit-flex: inherit;
  -moz-flex: inherit;
  -ms-flex: inherit;
  flex: inherit;
}
.flex-control-nav {
  display: none;
}
#block-views-slideshow-block .flexslider {
  margin: 0; 
}

/* INTERNAL PAGE BLOCKS */
#mini-panel-ways_to_bank_of_4_block .pane-1 .home-4 a,
#block-panels-mini-clone-of-home-page-4-block .pane-3 .home-4 a,
#block-panels-mini-w2b-4-block .pane-2 .home-4 a,
#mini-panel-clone_of_ways_to_bank_of_4_block .pane-4 .home-4 a{
  background: #00A950;
  display: block;
}
.region-sidebar-second .node{
  margin-bottom: 0px;
}
/* HOME PAGE FEATURE BLOCKS */
#mini-panel-feature_block h3,
.region-sidebar-second h3{
  margin: 0px;
  margin-bottom: 5px;
}
#mini-panel-feature_block h3 a:link,
#mini-panel-feature_block h3 a:visited,
.region-sidebar-second h3 a:link, .region-sidebar-second h3 a:visited{
  color: #000;
  text-transform: uppercase;
}
#mini-panel-feature_block figure,
.region-sidebar-second figure{
  border: solid 1px #A2A2A2;
  margin: 0px;
}
.ds-2col > .group-left {
    float: left;
    width: 48%;
    padding: 0 4% 0 0;
}
.ds-2col > .group-left img {
  border-radius: 6px;
}
.ds-2col > .group-right {
    float: left;
    width: 48%;
    padding: 0;
}
.ds-2col > .group-right h3 {
  margin: 0;
}
#mini-panel-home_page_4_block .panel-separator, #mini-panel-home_page_4_block p,#block-panels-mini-footer-menu.block{
  margin: 0px;
}
#mini-panel-home_page_4_block img,
.region-sidebar-second img{
  display: block;
}

/* HOME PAGE */
.front #content {
  display: -ms-Flexbox;
  ms-box-orient: horizontal;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  -moz-flex-flow: row wrap;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-justify-content: space-evenly;
  -moz-justify-content: space-evenly;
  -ms-justify-content: space-evenly;
  justify-content: space-evenly;
  -webkit-align-items: stretch;
  -moz-align-items: stretch;
  -ms-align-items: stretch;
  align-items: stretch;
}
.front #content > div {
  -webkit-flex: 1;
  -moz-flex: 1;
  -ms-flex: 1;
  flex: 1;
  margin: 10px;
  min-width: 40%;
  max-width: 575px;
}

.region-tertiary-content, .region-built-content {
  background-color: #f58220;
}
.region-tertiary-content {
  padding: 10px;
  background-image: url(images/contact-pattern.png);
}

.region-footer {
  margin-top: 20px;
}
.feature-list .node {
    margin-bottom: 0;
}
#tertiary-content-wrapper a:link, #tertiary-content-wrapper a:visited, #tertiary-content-wrapper a:hover, #tertiary-content-wrapper a:focus,
#built-content-wrapper a:link, #built-content-wrapper a:visited, #built-content-wrapper  a:hover, #built-content-wrapper a:focus {
	color: #fff;
}
/* FOOTER */
#tertiary-content-wrapper p {
	font-size: 1.3em;
  margin: 0 10px;
}
#mini-panel-footer_menu h3{
  text-transform: uppercase;
  font-size: 100%;
}
#footer-wrapper a:link, #footer-wrapper a:visited, #footer-wrapper  a:hover, #footer-wrapper a:focus {
	color: #f58220;
}
#footer-wrapper h3 a:link, #footer-wrapper h3 a:visited, #footer-wrapper h3 a:hover, #footer-wrapper h3 a:focus {
  color: #555;
}
#footer-wrapper ul li a::before {
  content: '> ';
  color: #f58220;
}
#footer-wrapper ul {
	list-style: none;
	padding: 0;
}
#footer-wrapper ul li {
	margin: 2px 0;
	padding: 0 0 4px;
  border-bottom: 1px solid #555;
}
#built-content-wrapper {
  margin: 20px 0 0;
}
.region-built-content {
  padding: 10px;
  font-size: 90%;
}
.region-built-content .region-inner {
  position: relative;
}
#built-content-wrapper p {
  padding: 0 15px;
}
#built-content-wrapper #block-block-12{
  padding-left: 12%;
  float: left;
  width: 32%;
}
/* 50 Years */
#block-block-16 {
  position: absolute;
  bottom: 0;
  width: 12%;
}
.built-by {
  float: left;
  width: 56%;
}
/* Not a bank block */
#block-block-17 p {
  color: #f58220;
  font-size: 120%;
  font-style: italic;
}
.front #block-block-17 p {
  font-size: 140%;
}
/* System message block */
header div.region .block.system-message {
  background-color: #f00;
  color: #fff;
  padding: 10px 500px;
  font-size: 1.2em;
  text-align: center;
  position: relative;
  margin: 0 -500px;
}
header div.region .block.system-message a {
  color: #fff;
  text-decoration: underline;
}
/* =============================================================================
 *   Node Styling
 * ========================================================================== */

.node {
  margin-bottom: 20px;
}

/* =============================================================================
 *   Forms
 * ========================================================================== */

/*
 * Wrapper for a form element (or group of form elements) and its label
 */
.form-text, textarea{
  border: solid 1px #959595;
  border-radius: 6px;
  padding: 10px;
  background: rgb(205,205,205); /* Old browsers */
  background: rgb(233,233,233); /* Old browsers */
  background: -moz-linear-gradient(top,  rgba(233,233,233,1) 0%, rgba(255,255,255,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(233,233,233,1)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(233,233,233,1) 0%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(233,233,233,1) 0%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(233,233,233,1) 0%,rgba(255,255,255,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom,  rgba(233,233,233,1) 0%,rgba(255,255,255,1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e9e9e9', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}
.grippie{
display: none;
}
.form-item input.error,
.form-item textarea.error,
.form-item select.error {
  border: 1px solid #c00;
}

.form-item label {
  font-weight: 700;
}
/*
 * Highlight marks and form required mark
 */
.marker,
.form-required {
  color: #c00;
}

.form-item .description {
  font-size: 0.85em;
}
/*
 * The submit button
 */
.form-submit {
  text-transform: uppercase;
  padding: 5px 10px;
  border: solid 1px #A6A6A6;
  border-radius: 3px;
  color: #fff;
  background-color: #f58220;
  transition: background-color 0.5s ease, color 0.5s ease;
}
.form-submit:hover{
  text-decoration: none;
  background: #000;
  color: #fff;
}
.container-inline div,
.container-inline label {
  display: inline;
}

/*
 * Define consistent borders
 */
fieldset {
  border: 1px solid #ccc;
}
/*
 * Buttons used by contrib modules like Media
 */
a.button {
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
}

/*
 * Password confirmation
 */
.password-parent,
.confirm-parent {
  margin: 0;
}

select {
  padding: 5px;
}

/* =============================================================================
 *   Tables
 * ========================================================================== */

table {
  margin: 10px 0;
  padding: 0;
  width: 100%;
}

table.sticky-header {
  z-index: 10;
}

table,
thead,
tbody,
tr,
th,
td {
  border-color: #ccc;
}

table,
td,
th {
  vertical-align: middle;
}

caption,
th,
td {
  text-align: left;
}

thead tr {
  font-weight: 700;
  background-color: #e5e5e5;

}
td,
th {
  border-bottom: 0;
  margin: 0;
  padding: 5px 7px;
}

tbody tr {
  border-top: 1px solid #ccc;
}

tr.odd {
  background: #fff;
}

tr.info,
tr.even,
tr:nth-child(2n+2) {
  border-bottom: 0;
  background-color: #f5f5f5;
}

tr.drag {}

tr.drag-previous {}

tr.odd td.active {
  background-color: #eee;
}

tr.even td.active {
  background-color: #ebebeb;
}

/* =============================================================================
 *   Messages
 * ========================================================================== */

/* Left and right margin are set by the global gutter width */
div.messages {
  margin-bottom: 10px;
  margin-top: 10px;
}

div.messages ul {
  margin-top: 0;
  margin-bottom: 0;
}

/*
 * Unpublished nodes
 */
.node-unpublished p.unpublished,
.comment-unpublished p.unpublished {
  color: pink;
  color: rgba(239, 170, 170, 0.4);
  font-family: Impact,"Arial Narrow",Helvetica,sans-serif;
  font-size: 75px;
  font-weight: bold;
  height: 0;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  overflow: visible;
  text-align: center;
  text-transform: uppercase;
  word-wrap: break-word;
}

/* =============================================================================
 *    Maintenance pages
 * ========================================================================== */

.maintenance-page {}
.maintenance-page .container {
  padding: 40px 0;
}
.maintenance-page #site-name,
.maintenance-page #page-title {
  margin: 0;
}
.db-offline .container {
  margin: 0 auto;
  padding: 40px 0;
  width: 100%;
  max-width: 960px;
}

.db-offline div.messages {
  margin: 20px 0 0;
}

.db-offline #content {
  padding: 20px 0;
}


/* =============================================================================
 *   Misc overrides for contrib modules
 * ========================================================================== */

/*
 * Admin menu overrides
 */
#admin-menu {
  margin: 0;
  padding: 0;
}

/*
 * Devel Module
 */
.dev-query {
  background: #eee;
  padding: 30px;
}

/*
 * Styleguide module tweaks
 */
#styleguide-header {
  padding: 0 10px;
}

#styleguide-header .item-list {
  font-family: inherit;
  margin: 0 20px 20px 0;
  min-height: 260px;
  width: auto;
}
/* ======================================
  SLIDESHOW 
========================================*/
#block-views-slideshow-block .block-inner{
  margin-left: 0px;
  margin-right: 0px;
}
.flexslider{
  background: transparent;
  border: none;
  overflow: hidden;
  border: solid 1px #959595;
  color: #fff;
  border-radius: 0;
}
.flexslider h2, .flexslider p, #block-views-slideshow-block{
  margin: 0px;
}
.flexslider ul{
  padding-left: 0px;
}
.flexslider h2 a:link, .flexslider h2 a:visited{
  color: #fff;
}
.flexslider h2 a:hover, .flexslider h2 a:active{
  color: #fff;
}
.flex-direction-nav li a{
  background-image: url(images/slide-arrows.png);
  width: 30px;
  height: 52px;
  margin: -13px 0 0;
  text-indent: -99999px;
}
.flex-direction-nav li .flex-next{
  background-position: right;
  right: 10px;
  display: block;
  text-align: inherit;
  opacity: 1;
}
.flex-direction-nav li .flex-prev{
  background-position: left;
  left: 10px;
  display: block;
  opacity: 1;
}
.readmore{
  margin: 5px 0px;
  text-align: right;
}
.readmore a:link, .readmore a:visited{
  display: inline-block;
  padding: 3px 14px;
  border: solid 2px #d8d8d8;
  border-radius: 5px;
  color: #000;
  transition: background-color 0.5s ease, color 0.5s ease;
  font-weight: bold;
}
.readmore a:hover{
  text-decoration: none;
  background: #000;
  color: #fff;
}
.slide-desc{
  position: absolute;
  bottom: 0;
  left: 4%;
  top: 0;
  width: 35%;
  color: #fff;
  padding: 4% 4%;
}
.slide-desc p {
  font-weight: bold;
  font-size: 360%;
  font-weight: bold;
  line-height: 1.2em;
}
.slide-desc .slide-desc-2 p {
  color: #f58220;
}
.slide-desc .slide-desc-2 p + p {
  color: #000;
  font-size: 190%;
}
.slide-desc .readmore {
  text-align: left;
}
.slide-desc .readmore a:link, .slide-desc .readmore a:visited {
  border-color: #e8e8e8;
  margin-top: 20px;
  padding: 7px 17px;
  font-size: 110%;
}
/*.slide-desc .readmore a:link {
  background-color: #f58220;
}*/

/* LISTS */
.list-style h2,
.teaser-style h2,
.list-style p,
.teaser-style p{
  margin: 0px;
}
.list-style .field-type-image figure,
.teaser-style .field-type-image figure{
  float: none;
  margin-bottom: 0px;
}
.list-style .views-row,
.teaser-style .views-row{
  border-bottom: solid 1px #6B6B6B; 
}
.teaser-style .views-row-last{
  border-bottom: none;
}
.list-style  .node,
.teaser-style .node{
  margin-bottom: 10px;
  margin-top: 10px;
}
.field-name-post-date{
  font-weight: bold;
}
.list-style .views-field-body{
  padding-bottom: 10px;
}
/* MAPS */
#block-views-maps-block .block-inner, #block-views-maps-block-1 .block-inner{ 
  border: solid 1px #555;
  margin-left: 0px;
}
#block-views-branch-address-block .form-submit{
  margin-top: 5px;
}
#block-views-branch-address-block .views-label{
  font-weight: bold;
}
.get-directions p, .get-directions h3{ 
  margin: 0px;
}
.get-directions{
  border: solid 1px #ccc;
  background: #f4f4f4;
  padding: 5px 10px;
  margin-top: 10px;
  font-size: 90%;
}
.lt-ie9 .ds-2col > .group-left{
   width: auto;
   display: inline-block;
}
.lt-ie9 .ds-2col .group-right{
  width: 56%;
}
.lt-ie9 .ds-2col .panel-separator{
  display:none;
}
/* INTEREST REPAYMENT CALCULATOR */
#cuc-personal-calculator-form input {
  padding: 10px 20px;
}
.flex {
  display: -ms-Flexbox;
  ms-box-orient: horizontal;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  -moz-flex-flow: row wrap;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-justify-content: flex-start;
  -moz-justify-content: flex-start;
  -ms-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  align-items: center;
}
.flex-buttons div {
  -webkit-flex: 1;
  -moz-flex: 1;
  -ms-flex: 1;
  flex: 1;
  margin-bottom: 20px;
}
.flex-buttons input {
  white-space: normal;
  margin: 10px;
  padding: 10px 20px;
  height: 100%;
}
input.flex-wide {
  min-width: 180px;
}
input.flex-link {
  border: none;
  background-color: inherit;
  color: #555;
  text-align: left;
  text-transform: inherit;
}

.home-4.block-wtb a {
  background: url(images/wtb.png) no-repeat bottom center / 60%;
}
.home-4.block-wtb a:hover {
  background: url(images/wtb-r.png) no-repeat bottom center / 60%;
}
.home-4.block-loans a {
  background: url(images/loans.png) no-repeat bottom center / 55%;
}
.home-4.block-loans a:hover {
  background: url(images/loans-r.png) no-repeat bottom center / 55%;
}
.home-4.block-savings a {
  background: url(images/savings.png) no-repeat bottom center / 50%;
}
.home-4.block-savings a:hover {
  background: url(images/savings-r.png) no-repeat bottom center / 50%;
}
.home-4.block-insurance a {
  background: url(images/insurance.png) no-repeat bottom center / 65%;
}
.home-4.block-insurance a:hover {
  background: url(images/insurance-r.png) no-repeat bottom center / 65%;
}
#tertiary-content-wrapper .fa-stack {
  height: 1.6em;
  width: 1.6em;
  line-height: 1.6em;
}
.fa-stack-2x {
  font-size: 1.6em;
}
.fa-stack-1x {
  font-size: 0.8em;
}
.fa-stack-2x + .fa {
  color: #f58220;
}
#tertiary-content-wrapper p {
  text-align: center;
  display: inline-block;
}
#tertiary-content-wrapper a {
  white-space: nowrap;
}
.block-images {
  width: 0;
  height: 0;
  background-image: url(images/wtb-r.png), url(images/loans-r.png), url(images/savings-r.png), url(images/insurance-r.png);
}
.front #block-panels-mini-4-block-section {
  width: 100%;
  background-color: #bbb;
}
/* Ordered Lists T&Cs */
.li1 {
  font-size: 125%;
  color: #f58220;
}
.li1 li {
  font-size: 80%;
  color: #000;
}
.li1 li li {
  font-size: 100%;
}
ol ol ol {
  list-style-type: lower-latin;
}
#content ol {
  padding-left: 20px;
}
/* News block */
.view-news {
  padding: 0 10px;
}
