/* GLOBAL STYLES */

body {
	font-family: 'Raleway', sans-serif;
	letter-spacing: 0.5px;
	color: #656a73;
	background-color: #175f84;
	/* fix Safari stuttering on rotation */
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, h7, h8, h9,
.h1, .h2, .h3, .h4, .h5, .h6, .h7, .h8, .h9 {
	font-weight: 200;
	color: #00add9;
}

@media (min-width: 768px) {
	p, section li { font-size: 1.1em }
	section li li { font-size: 0.9em }
}

@media (min-width: 992px) {
	p, section li { font-size: 1.2em }
	section li li { font-size: 0.9em }
}

@media (min-width: 1200px) {
	p, section li { font-size: 1.2em }
	section li li { font-size: 0.9em }
}

a { color: #00add9 }
a:hover { color: #175f84 }

a.link-invisible { color: inherit !important }
a.link-invisible:hover {
	color: inherit !important;
	text-decoration: none !important;
}

a.email.show { display: inline !important }

ul.list-unstyled li { line-height: 2em }


ol.ol-headings li:before {
	position: relative;
	right: 10px;
	top: -5px;
	content: counters(list-counter,".") " ";
	counter-increment: list-counter;
	font-size: 2em;
	color: #00add9;
}
ol.ol-headings {
	position: relative;
	counter-reset: list-counter;
}
ol.ol-headings li { list-style-type: none }

dt {
	font-size: 1.3em;
	font-weight: normal;
	margin-bottom: 0.8em;
}

dd { margin-bottom: 2em }

.alert-dark-green {
	background-color: rgba(103, 181, 94, 0.75);
	color: #fff;
	font-size: 1.5em;
}

.alert-dark-green a {
	color: #fff;
	text-decoration: underline;
}

blockquote {
	border-left: none;
	padding-left: 40px;
	padding-right: 30px;
}

blockquote h2 { font-size: 1.1em }
blockquote:first-child { position: relative }

blockquote:first-child:before {
	font-family: "Georgia", serif;
	color: rgba(0, 0, 0, 0.3);
	content: open-quote;
	position: absolute;
	top: -40px;
	bottom: auto;
	left: 0;
	right: auto;
}

blockquote:first-child:after {
	font-family: "Georgia", serif;
	color: rgba(0, 0, 0, 0.3);
	content: close-quote;
	position: absolute;
	top: auto;
	bottom: -90px;
	left: auto;
	right: 0;
}

blockquote p {
	padding-top: 1em;
}

@media (max-width: 767px) {
	/* IE 11 has a bug with overlapping font sizes on psuedo selectors */
	blockquote:first-child:before, blockquote:first-child:after { font-size: 7em }
}

@media (min-width: 768px) and (max-width: 991px) {
	blockquote h2 { font-size: 1.3em }
	blockquote {
		padding-left: 40px;
		padding-right: 20px;
	}
	blockquote:first-child:before {
		top: -50px;
		font-size: 8em;
	}
	blockquote:first-child:after {
		bottom: -90px;
		font-size: 8em;
	}
}

@media (min-width: 992px) {
	blockquote h2 { font-size: 1.7em }
	blockquote {
		padding-left: 60px;
		padding-right: 20px;
	}
	blockquote:first-child:before {
		top: -80px;
		font-size: 11em;
	}
	blockquote:first-child:after {
		bottom: -160px;
		font-size: 11em;
	}
}

.text-muted { color: #777 }

@media (min-width: 768px) {
	.text-left-sm { text-align: left }
}

@media (min-width: 992px) {
	.text-left-md { text-align: left }
}

@media (min-width: 1200px) {
	.text-left-lg { text-align: left }
}


/* FORMS */

legend {
	border: none;
	color: inherit;
}

.required:before {
	content: "*";
	color: red;
}


/* TABLES */

.comparison td {
	text-align: center;
	vertical-align: middle !important;
}

.comparison thead th {
	background-color: #fdfdfd;
	font-size: 1.5em;
	vertical-align: middle !important;
}

.comparison thead td {
	background-color: #fdfdfd;
	border-bottom: 2px solid #ddd;
}

.comparison tbody td:first-child {
	text-align: left;
	padding-left: 2em;
}


/* BUTTONS */

.btn {
	font-weight: 600;
	border-radius: 3px;
	border: none;
}

.btn-primary {
	font-size: 12px;
	background-color: #00aed9;
}

.btn-primary:hover { background-color: #175f84 }

.btn-lg {
	padding-left: 25px;
	padding-right: 25px;
}

.btn-gray {
	background-color: #acb0b5;
	color: #fff;
}

.btn-gray:hover {
	background-color: #979da2;
	color: #fff;
}

.btn-orange {
	color: #fff;
	background-color: #eaa543;
	background-image: -webkit-linear-gradient(#f5c125 0%, #f59227 100%);
	text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.25);
	box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
}

.btn-orange:hover {
	background-color: #d4943b;
	background-image: none;
}

.btn-green {
	background-color: #67b65f;
	color: #fff;
}

.btn-green:hover {
	background-color: #51904a;
	color: #fff;
}

.btn-livechat {
	position: relative;
	text-align: left;
	line-height: 1em;
	padding-left: 70px;
}

.btn-livechat i {
	position: absolute;
	top: 7px;
	left: 20px;
}

.btn-livechat small { font-size: 0.7em }

.btn-appstore-download {
	background-color: #acb0b5;
	border-radius: 10px;
	box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25);
	padding: 10px;
	margin-top: 20px;
}
.btn-appstore-download:hover { background-color: #979da2 }

.btn-appstore-download img {
	height: 40px;
	padding-right: 10px;
}

.btn-appstore-download img + img {
	padding-left: 10px;
	padding-right: 0;
	border-left: 1px solid #c7c7c7;
}

.btn-appstore-download img + p {
	display: inline;
	vertical-align: middle;
	font-size: 1.2em;
	font-weight: normal;
	padding-left: 10px;
	padding-right: 0;
	border-left: 1px solid #c7c7c7;
	color: #fff;
}

input[type="file"]+img.remove_files {
	float: right;
	margin-top: -23px;
	margin-right: 8px;
	cursor: pointer;
}

/* HEADER */

body > header {
	background: #175f84 url('../images/header_bg.gif') 95% 80px no-repeat;
	background-size: 45%;
	background-attachment: fixed;
}

body > header.container-fluid {
	background-color: #175f84;
	padding-top: 80px;
	padding-bottom: 30px;
}

body > header h1 {
	font-weight: 200;
	line-height: 0.7em;
	color: #fff;
	margin-bottom: 20px;
}

body > header p {
	font-weight: 200;
	color: #fff;
	margin-bottom: 20px;
}

body > header h1 small {
	font-size: 0.75em;
	font-weight: inherit;
	color: inherit;
}

body > header p small { font-size: 0.65em }

.product-feature { text-align: center }

@media (min-width: 768px) {
	/* Product feature background images */
	body > header.ibank5 { background-image: url('../images/ibank5/ibank_bg.jpg') }
	body > header.ibankforipad { background-image: url('../images/ibankipad/ibankipad_bg.jpg') }
	body > header.ibankforiphone { background-image: url('../images/ibankiphone/ibankiphone_bg.jpg') }
	body > header.ibankinvestor { background-image: url('../images/ibankinvestor/ibankinvestor_bg.jpg') }
	
	body > header.container-fluid {
		padding-top: 90px;
		padding-bottom: 40px;
	}
	body > header h1 { font-size: 3em }
	body > header p { font-size: 1.3em }
	.product-feature { text-align: left }
	.product-feature .row { position: relative }
	.product-feature .row > div + div {
		position: absolute;
		right: 0;
		bottom: 25%;
		text-align: right;
	}
}

@media (min-width: 992px) {
	body > header.container-fluid {
		padding-top: 100px;
		padding-bottom: 50px;
	}
	body > header h1 { font-size: 4em }
	body > header p { font-size: 1.6em }
}
	
@media (min-width: 1200px) {
	body > header.container-fluid {
		padding-top: 110px;
		padding-bottom: 60px;
	}
}


/* NAVIGATION */

.navbar-default {
	background-color: rgba(22, 96, 133, 0.8);
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	-webkit-font-smoothing: subpixel-antialiased;
}
.navbar-default .navbar-brand {
	color: #ffffff;
}
.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
	color: #175f84;
}
.navbar-default .navbar-text {
	color: #ffffff;
}
.navbar-default .navbar-nav > li > a {
	color: #ffffff;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
	color: #ffffff;
	background-color: rgba(255, 255, 255, 0.4);
}
.navbar-default .navbar-nav > li > .dropdown-menu {
	background-color: rgba(22, 96, 133, 0.8);
}
.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
	color: #ffffff;
	font-size: 1.1em;
	padding-top: 8px;
	padding-bottom: 8px;
}
.navbar-default .navbar-nav > li > .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > a:focus {
	color: #ffffff;
	background-color: rgba(255, 255, 255, 0.4);
}
.navbar-default .navbar-nav > li > .dropdown-menu > li > .divider {
	background-color: rgba(22, 96, 133, 0.8);
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
	color: #ffffff;
	background-color: rgba(255, 255, 255, 0.4);
}
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
	color: #ffffff;
	background-color: rgba(255, 255, 255, 0.4);
}
.navbar-default .navbar-toggle {
	border: 1px solid rgba(255, 255, 255, 0.25);
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
	background-color: rgba(255, 255, 255, 0.4);
}
.navbar-default .navbar-toggle .icon-bar {
	background-color: rgba(255, 255, 255, 0.4);
}
.navbar-default .navbar-link {
	color: #ffffff;
}
.navbar-default .navbar-link:hover {
	color: #ffffff;
	background-color: rgba(255, 255, 255, 0.4);
}

.subnav {
	background: #fdfdfd;
	padding-top: 20px;
	padding-bottom: 20px;
	/*border-bottom: 1px solid #efefef;*/
}

.subnav a {
	text-transform: uppercase;
	font-size: 0.65em;
	font-weight: 600;
	color: #787d87;
}

@media (min-width: 768px) {
	.subnav a { font-size: 0.9em }
}

.subnav .nav-pills li a { font-size: 13px } /* prevent subnav buttons from resizing */
.subnav .nav-pills li.active a { background-color: #abafb5 }
.subnav .nav-pills a:hover, .subnav .nav-pills li.active a:hover {
	color: #fff;
	background-color: #c6ccd4;
}

@media (max-width: 767px) {
	/* Collapsed navbar */
	.navbar-default .navbar-nav li {
		padding-bottom: 5px;
	}
	.navbar-default .navbar-nav > li > a, .navbar-default .navbar-nav .open .dropdown-menu > li > a {
		color: #ffffff;
		font-size: 2em;
	}
	.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
		color: #ffffff;
		background-color: rgba(255, 255, 255, 0.4);
		font-size: 2em;
	}
	.navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
		color: #ffffff;
		background-color: rgba(255, 255, 255, 0.4);
		font-size: 2em;
	}
	.navbar-default .navbar-collapse {
		border-top: 1px solid rgba(255, 255, 255, 0.25);
		max-height: 100%;
	}
	
}

.navbar-brand {
	padding-top: 8px;
	max-width: 50%;
}

#header-logo {
	height: 35px;
	margin-right: 50px;
}

.navbar-default #trial_button {
	padding-top: 5px;
	padding-bottom: 5px;
	margin-top: 10px;
	margin-right: 15px;
}

@media (max-width: 767px) {
	.navbar-default #trial_button {
		padding-top: 10px;
		padding-bottom: 10px;
	}
}

/* Show dropdown menus on hover */
@media (min-width: 768px) {
	.dropdown-menu li:hover .sub-menu { visibility: visible }
	.dropdown:hover .dropdown-menu { display: block }
}

.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover { background-color: #00add9 }

/* PAGE SECTIONS */

.container-fluid {
	background-color: #fdfdfd;
	padding-top: 30px;
	padding-bottom: 30px;
	overflow: hidden; /* fixes iOS carousel rotation issue */
}

@media (min-width: 768px) {
	.container-fluid {
		padding-top: 40px;
		padding-bottom: 40px;
	}
}

@media (min-width: 992px) {
	.container-fluid {
		padding-top: 50px;
		padding-bottom: 50px;
	}
}

@media (min-width: 1200px) {
	.container-fluid {
		padding-top: 60px;
		padding-bottom: 60px;
	}
}

.container-fluid.light-gray-background { 
	background-color: #f8f8f8;
	border-top: 2px solid #efefef;
	border-bottom: 2px solid #efefef;
}

.container-fluid.dark-gray-background { 
	color: #fff;
	background-color: #232f39;
}

.container-fluid.light-gray-background .well { background-color: #fdfdfd }

.container-fluid.green-background {
	color: #fff;
	background-color: #67b65f;
}

.container-fluid.green-background h1 { color: #fff }

.container-fluid.blue-background {
	color: #fff;
	background-color: #175f84;
}

.container-fluid.blue-background h1,
.container-fluid.blue-background h2,
.container-fluid.blue-background h3 { color: #fff }

.container-fluid.blue-background input {
	color: #fff;
	background-color: #14567a;
	border: none;
	margin-bottom: 8px !important;
}

.container-fluid.blue-background a:hover { color: #fff }

.container-fluid.blue-background .btn:hover { box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.25) }


/* PAGE CONTENT */

section > header {
	margin-bottom: 60px;
}

.feature-text {
	padding: 40px 15px;
	text-align: center;
}

.panel-body {
	padding: 40px;
	text-align: center;
	background-color: #fff;
	border-radius: none;
}

.panel-body p {
	font-size: 1.1em;
	line-height: 1.6em;
	margin-bottom: 30px;
}

.bio-pic { max-width: 160px }

.award-box {
	padding: 20px 0;
	white-space: nowrap;
}

@media (min-width: 768px) {
	.award-box { padding: 0 0 40px 0 }
}

@media (min-width: 992px) {
	.award-box { padding: 0 }
}

#faq_panel { text-align: left }
#faq_nav {
	border-bottom: 1px solid #eeeeee;
	padding-bottom: 15px;
}
#faq_panel .tab-content { padding-top: 25px }

@media (min-width: 768px) {
	#faq_nav {
		border-bottom: none;
		padding-right: 15px;
	}
	
	#faq_panel .tab-content {
		border-left: 1px solid #eeeeee;
		padding-left: 30px;
		padding-top: 0;
	}
}

#faq_panel dt {
	font-size: 1.2em;
	color: #00add9;
	cursor: pointer;
}
#faq_panel dt:hover { color: #175f84 }

#kb_search_form input#kb_search {
	font-size: 1.5em;
	background-color: white;
	color: #656a73;
	width: 300px;
	padding: 5px 10px;
	border-radius: 4px;
	margin-bottom: 40px !important;
}

#kb_search_form #kb_results {
	padding: 39px;
	text-align: left;
	color: #656a73;
}

#kb_search_form #kb_results h2 {
	color: #656a73;
	margin: 0 0 40px 0;
}

#kb_search_form #kb_results h3 { font-size: 1.2em }
#kb_search_form #kb_results a:hover { color: #175f84 }


/* EQUAL-HEIGHT COLUMNS */

.row-flex, .row-flex > div[class*='col-'] {	
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex: 1 1 auto;
}

.row-flex-wrap {
	-webkit-flex-flow: row wrap;
	align-content: flex-start;
	flex:0;
}

.row-flex > div[class*='col-'], .container-flex > div[class*='col-'] {
	 margin:-.2px; /* hack adjust for wrapping */
}

.container-flex > div[class*='col-'] div,.row-flex > div[class*='col-'] div {
	width:100%;
}

.flex-col {
	display: flex;
	display: -webkit-flex;
	flex: 1 100%;
	flex-flow: column nowrap;
}

.flex-grow {
	display: flex;
	-webkit-flex: 2;
	flex: 2;
}


/* SITEMAP */

.sitemap img {
	vertical-align: middle;
}


/* FOOTER */

#footer-logo {
	width: 35%;
	max-width: 195px;
}
