/*****In House First National Bank of Gilmer*******/
/**************************************************/
/*                    WebFonts                    */
/**************************************************/



/**************************************************/
/*                     Layout                     */
/**************************************************/
body {
	background:url('bkgd-hdr.png'), url('ftr.png');
	background-repeat:repeat-x, repeat-x;
	background-position:center top, center bottom;
}

/*Contains all elements within the body*/
.wrapper {
	/*Fix for iPhones width */min-width:initial;
	/* Never make webpage less than 1100px wide */
	max-width:1200px;
	padding:0 1em;
}
main {margin-bottom:42px !important;}
/*Contain all data area items other than Transactions on Account Page*/
main > .grid {

}

/*Contains the Utility Navigation, Banner, and Primary Navigation*/
header {
	background:url('hdr.png') no-repeat; height:113px;
}

/*Banner*/
header div.grid__unit ~ div.grid__unit:nth-child(2) {
	height:112px; margin-bottom:10px;
}

/*Define Logo Here*/
.bank-branding {
	background: url('logo.png') no-repeat;
	height:99px;
}

/*Used around data areas*/
.content--block{
    background-color:#ffffff;
	color:#000;
}

/*Additional Selectors For Data Tables*/
.content--block, #table--transactions, .checkfree-widget-container{

}
div[data-bind*="hasFinishedProcessing"], #tranLegend {

}
#transfer .content--block, #download .content--block, div.dropdown  .content--block{

}
div.dropdown  .content--block {
	background:#DEE3E8; border:1px solid #979797;
}

/*Padding For Checkfree Widget*/
.checkfree-widget-container {
	margin:0px;
	padding: 10px 0px 5px 0px;
}

/*Home Page Advertisement*/
.ad-container iframe{
	display:none;
}
.ad-container {
	width:100%;
	height:;
	background-image:;
	background-repeat:no-repeat;
	background-size:contain;
}

/**************************************************/
/*                     Font                       */
/**************************************************/
/*Fonts should only be defined as pixels on the html element. Other elements should use REM units.*/
html {
	font-size:14px;
}
body {
	font-family: Arial, Verdana, Helvetica, sans-serif;
	font-size:1rem;
}

/*Link colors. To target data section only add main in front of the selector*/
a, a:visited {
	color:#54b0d1; text-decoration:none;
}
a:hover, a:active {
	color:#54b0d1; text-decoration:underline;
}
p {
    color:#000;
}
a.btn--acctCreate {
	font-size:1rem;
	color:#54b0d1;
}

/*Negative Account Balance*/
.neg--balance {
	color:#ff0000;
}

/*Action Buttons*/
.btn--default {
	background-color:#154A80; border:3px solid #CBD6DF;
	color:#ffffff;
}
.btn--default:hover {
	background-color:#154A80; border:3px solid #CBD6DF;
	color:#ffffff;
}
.btn--link {
	color:#1F295D;
}
.btn--link:hover {
	color:#FFF; background:#154a80; padding:5px; 
}
.btn--primary, a.btn--primary {
	background:#154A80; border:3px solid #CBD6DF;
	color:#ffffff;
}
.btn--primary:hover, a.btn--primary:hover {
	background:#154A80; border:3px solid #CBD6DF;
	color:#ffffff;
}
.btn--thead, .header--non-sortable, .table--underlined th {
	color:#ffffff;
}

/*Alerts*/
.badge {
	background:#007ec2;
	color:#ffffff;
}

/*MFA*/
.mfa-divider {
	background:#dfdfdf;
}
.mfa-divider:before {
	background:#ffffff;
}

/*Data Tables*/
.text--plain {
	color:#000;
}
.slat {
	border-color:#dfdfdf;
}
.table--underlined>thead>tr>th, .table--underlined>tbody>tr>th, .table--underlined>tbody>tr>td {
	border-bottom:1px solid #dfdfdf;
}
.table--underlined>thead tr:last-child th {
	border-bottom-width:2px;
}
.table--underlined>tbody tr:last-child td, .table--underlined .no-border {
	border-bottom-width:0;
}
.table--underlined>tfoot td {
	border-top:1px solid #dfdfdf;
}
thead th {
	background: #154A80;
}

/*Data Table Odd/Even Row Background Colors*/
#table--transactions tbody tr:nth-child(odd), .table--trans-recent tbody tr:nth-child(odd), #scheduled-transfers .table--underlined tbody tr:nth-child(odd), #stopPaymentList .table--underlined tbody tr:nth-child(odd), .table--underlined tbody tr:nth-child(odd) {
	/*stuff*/
}
#table--transactions tbody tr:nth-child(even), .table--trans-recent tbody tr:nth-child(even), #scheduled-transfers .table--underlined tbody tr:nth-child(even), #stopPaymentList .table--underlined tbody tr:nth-child(even), .table--underlined tbody tr:nth-child(even) {
	/*stuff*/
}

.arrow {
	border-color:#dfdfdf;
}
.arrow--top-right:after {
	border-bottom-color:#dfdfdf;
}

/*OPTIONAL FONTS*/
/*Data Area Header Dropdown - Account page*/
main div.grid:nth-child(1)  div.grid__unit:nth-child(1) div.dropdown ul li , main div.grid:nth-child(1)  div.grid__unit:nth-child(1) div.dropdown ul li a {

}
main div.grid:nth-child(1)  div.grid__unit:nth-child(1) div.dropdown ul li , main div.grid:nth-child(1)  div.grid__unit:nth-child(1) div.dropdown ul li a:hover {

}
main div.grid:nth-child(1)  div.grid__unit:nth-child(1) div.dropdown ul li {

}
main div.grid:nth-child(1)  div.grid__unit:nth-child(1) div.dropdown ul li:hover {

}
main div.grid:nth-child(1)  div.grid__unit:nth-child(1) div.dropdown ul li:hover a{

}
input, select {

}
h1, h2, h3, .h1, .h2, .h3 {

}
h4, h5, h6, .h4, .h5, .h6 {

}
h1 {color:#154a80;}
h2 {color:#154a80;}
h3 {color:#000;}
h1, .h1 {
	font-size:1.71rem;
}
h2, .h2 {
	font-size:1.43rem;
}
h3, .h3 {
	font-size:1.28rem;
}
h4, .h4 {
	font-size:1.14rem;
}
h5, .h5 {
	font-size:1rem;
}
h6, .h6 {
	font-size:.86rem;
}

/*Various alerts messages */
.alert--error {
	background:#fbeae9;
	border-color:#f7d6d3;
	color:#ad3123;
}
.alert--info {
	background:#d9edf7;
	border-color:#bce8f1;
	color:#2e6a87;
}
.alert--success {
	background:#dff0d8;
	border-color:#d6e9c6;
	color:#3a703c;
}
.alert--warning {
	background:#fffdd5;
	border-color:#ffe89e;
	color:#8c6b33;
}
.text--error {
	color:#ad3123;
}
.text--info {
	color:#2e6a87;
}
.text--muted {
	color:#999;
}
.text--success {
	color:#3a703c;
}
.text--warning {
	color:#8c6b33;
}

/***** use this section when you need to target the eStatement Terms and Conditions link *****/
section a[href*="ElectronicStatements"] {}


/**************************************************/
/*            Utility Navigation                  */
/**************************************************/
/*Position of Utility Section*/
header div.grid:nth-child(1)  div.grid__unit:nth-child(1) {
	height:0;
}

/*Welcome Message*/
.message--welcome {
	padding-top:5px;
}
.message--welcome p {
	font-weight:bold; color:#002d62;
}

/*Utility Navigation Buttons*/
.nav--utility {
position:relative; z-index:10;
}
.nav--utility li {

}
.nav--utility a{
	font-weight:bold; color:#002d62;
}
.nav--utility a:hover {

}

/**************************************************/
/*            Primary Navigation                  */
/**************************************************/
/*Primary Navigation Positioning*/
header div.grid__unit ~ div.grid__unit:nth-child(3) {

}

/*Navigation Buttons*/
.nav--primary li {

}
.nav--primary li a{
	color:#1F295D; font-size:1.2rem; font-weight:bold;
}
.nav--primary li.is--selected a{

}
.nav--primary li a:hover {
	background:#154A80; color:#FFF; border-top-left-radius:5px; border-top-right-radius:5px; text-decoration:none;
}

/**************************************************/
/*            Account Navigation                  */
/**************************************************/
.nav--account {

}
.nav--account li a {

}
.nav--account li a:hover {

}
.nav--account li.is--selected a {

}

/**************************************************/
/*                   Footer                       */
/**************************************************/
.page--footer {

}
footer nav{
	padding-bottom:30px;
}
footer p {
	color:#000; font-size:.85rem;
}
footer a , footer a:visited{
	color:#701514; text-decoration:none;
}
footer a:hover {color:#701514; text-decoration:underline;}


/**************************************************/
/*                Media Queries                   */
/**************************************************/
@media screen and (max-width: 1015px) {
	.wrapper {padding:0;}
	header {background:url('hdr-tab.png') no-repeat; height:140px;}
	header div.grid:nth-child(1)  div.grid__unit:nth-child(1) {height:27px;}
	.bank-branding {background-position:0 10px; height:113px;}
	main {padding-left:20px; padding-right:20px;}
}
@media screen and (max-width: 599px) {
	html {
		font-size:12px;
	}
	header div.grid__unit ~ div.grid__unit:nth-child(2) {margin-bottom:0;}
	/*Add "mobile" logo here*/
	.bank-branding {

	}
	.wrapper {
		min-width:90%;
		padding:0px;
	}
	main {
		padding:20px 10px 10px 10px;
	}
	.nav--primary {height:auto;}
	.nav--primary li {
		border-bottom: 1px solid #FFF; text-align:center; background:#154A80;
	}
	.nav--primary li a {color:#FFF;}
	.nav--primary li:hover a {border-radius:0; background:#DEE3E8; color:#1F295D;}
}
@media screen and (max-width: 508px) {
	header {background:url('hdr-mob.png') no-repeat; height:155px;}
	header div.grid:nth-child(1)  div.grid__unit:nth-child(1) {height:42px;}
	div#utilitySection {width:100%; float: none !important;}
	.message--welcome {width:100%; float:none !important; padding:5px;}
	.message--welcome p:first-child {float:left !important;}
	.message--welcome p:last-child {float:right !important;}
}
@media screen and (max-width: 415px) {
	.bank-branding {background-size:96%;}
}
@media screen and (max-width: 411px) {
	.page--footer{padding-bottom:16px; text-align:center}
	footer p {text-align:center; width:100%;}
}
@media screen and (max-width: 360px) {
	html {
		font-size:10px;
	}
	thead th, td {
		padding: 0px 2px;
		font-size: 1rem;
	}
}