/*************CS First Community Bank*************/
/**************************************************/
/*                    WebFonts                    */
/**************************************************/



/**************************************************/
/*                     Layout                     */
/**************************************************/
body {
	background:url('hdr.png'), url('ftr2.png');
	background-repeat:repeat-x, repeat-x;
	background-position:top, bottom;
	background-color:#a3a19e;
}

/*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 {background:#FFF; border-left:1px solid #000; border-right:1px solid #000; box-shadow:0 10px 10px rgba(0,0,0,.8); padding:10px; margin-bottom:0;}

/*Contain all data area items other than Transactions on Account Page*/
main > .grid {

}

/*Contains the Utility Navigation, Banner, and Primary Navigation*/
header {
	margin-bottom:0 !important; height:181px;
}

/*Banner*/
header div.grid__unit ~ div.grid__unit:nth-child(2) {

}

/*Define Logo Here*/
.bank-branding {
	background:url('logo.jpg') no-repeat; height:121px; margin:14px 0; position:inherit;
}

/*Used around data areas*/
.content--block{
    background-color:#ffffff;
	color:#575757;
}

/*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 {

}

/*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-repeat:no-repeat;
	background-image: url('');
}

/**************************************************/
/*                     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:#575757; text-decoration:underline;
}
a:hover, a:active {
	color:#575757; text-decoration:underline;
}
p {
    color:#888;
}
a.btn--acctCreate {
	font-size:1rem;
	color:#a3a19e; text-decoration:underline;
}

/*Negative Account Balance*/
.neg--balance {
	color:#ff0000;
}

/*Action Buttons*/
.btn--default {
	background-color:#575757;
	color:#fff;
}
.btn--default:hover {
	background-color:#575757;
	color:#fff;
}
.btn--link {
	color:#2b2b2b;
}
.btn--link:hover {
	color:#2b2b2b;
}
.btn--primary, a.btn--primary {
	background-color:#575757;
	color:#fff;
}
.btn--primary:hover, a.btn--primary:hover {
	background-color:#575757;
	color:#fff;
}
.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:#000000;
}
.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: #8a8a8a;
}

/*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, h2, h3 {color:#003DA5;}
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 {
	margin-top:5px;
}
.message--welcome p {

}

/*Utility Navigation Buttons*/
.nav--utility {

}
.nav--utility li {

}
.nav--utility a{

}
.nav--utility a:hover {

}

/**************************************************/
/*            Primary Navigation                  */
/**************************************************/
/*Primary Navigation Positioning*/
header div.grid__unit ~ div.grid__unit:nth-child(3) {
	height:31px;
}
.nav--primary {background:url('nav2.png') repeat-x; height:31px;}
/*Navigation Buttons*/
.nav--primary li {
	background:url('nav2-li.png') repeat-x; height:31px; border-right:1px solid #7b7a7a;
}
.nav--primary li a{
	color:#FFF; line-height:19px;
}
.nav--primary li.is--selected a{

}
.nav--primary li a:hover {
	text-decoration:none; background:url('nav2-li-hover.png') repeat-x; height:31px;
}
.nav--primary a {

}

/**************************************************/
/*            Account Navigation                  */
/**************************************************/
.nav--account {

}
.nav--account li a {

}
.nav--account li a:hover {

}
.nav--account li.is--selected a {

}

/**************************************************/
/*                   Footer                       */
/**************************************************/
.page--footer {
	padding-bottom:0; height:61px;
}
footer nav{
	background:#000; height:31px; position:relative;
}
footer nav ul.nav.nav--menu {height:30px;}
div#footerText {}
div#footerText p {/*position:relative; bottom:-30px;*/ color:#000; font-size:.8rem;}
footer p {

}
footer li {height:15px; border-left:1px solid #FFF; margin-top:8px;}
footer li:first-child {border-left:none;}
footer a , footer a:visited {
	color:#FFF; font-size:.85rem; line-height:19px; margin-top:-10px;
}
footer a:hover {color:#FFF;}


/**************************************************/
/*                Media Queries                   */
/**************************************************/
@media screen and (max-width: 676px) {
	.message--welcome p {font-size:.9rem;}
	.nav--utility li a {font-size:.9rem; padding:6px 10px; !important;}
	.nav--primary li a {padding:6px 17px !important;}
}
@media screen and (max-width: 599px) {
	html {
		font-size:12px;
	}
	body {background-position:center 30px, bottom; background-color:#FFF;}
	header div.grid:nth-child(1)  div.grid__unit:nth-child(1) {height:30px;}
	div#utilitySection {width:100%; float:none;}
	.message--welcome {float:left !important; padding-left:5px;}
	.nav--utility {float:right !important;}
	/*Add "mobile" logo here*/
	.bank-branding {
		background-position:center;
	}
	.wrapper {
		min-width:90%;
		padding:0px;
	}
	main {
		padding:10px;
	}
	header div.grid__unit ~ div.grid__unit:nth-child(3) {height:auto;}
	.nav--primary {height:auto;}
	.nav--primary li {
		border-bottom: 1px solid #ffffff; text-align:center; height:32px;
	}
	.page--footer {height:auto;}
	footer nav {background:#000; height:auto;}
	div#footerText {background:#a3a19e;}
}
@media screen and (max-width: 460px) {
	footer nav {height:60px; padding:5px 10px;}
}
@media screen and (max-width: 370px) {
	html {
		font-size:10px;
	}
	thead th, td {
		padding: 0px 2px;
		font-size: 1rem;
	}
}
@media screen and (max-width:320px) {
	.nav--utility li a {padding:6px 9px !important;}
}