@charset "utf-8";
/* CSS Document */

/********************** PAGE ELEMENTS ******************************/

body
{
	margin: 0px;
	background-color: #EDEDEF;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
	color: #000000;
	background-image: url(https://www.cnbsomerset.com/images/header_background.gif);
	background-repeat: repeat-x;
	background-position: left top;
	text-align: center; /* centers content for IE */
	margin-left: auto; /* centers content for Mozilla */
	margin-right: auto; /* centers content for Mozilla */
	line-height: 18px;
}

p 
{ 	margin: 10px;	}

ul
{ margin: 10px; }

h1, h2, h3, h4, h5, h6 /* All headers are blue */
{	color: #193187;	
	margin: 10px;
}

h1 

{	font-size: 24px;
	font-weight: normal;
	color: #193187;
	line-height: normal;
}

h2
{
	font-size: 22px;
	font-weight: normal;
	color: #666666;
	line-height: normal;
}		

h3

{
	font-size: 20px;
	font-weight: normal;
	color: #193187;
	line-height: normal;
}

h4
{
	font-size: 18px;
	font-weight: normal;
	color: #333333;
	line-height: normal;
}

h5
{
	font-size: 16px;
	font-weight: bold;
	color: #333333;
	line-height: normal;
}
	
h6 
{
	font-size: 14px;
	font-weight: bold;
	color: #193187;
	line-height: normal;
}

table
{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin: 10px;	
}

td 
{
	border: 1px solid #EFEFEF;
}

hr
{	width: 97%;	
	color: #EFEFEF;
	text-align: center;
}

/**************************** CONTAINERS *****************************/

#container /* Main container for all other elements- except footer */
{ 
	width: 732px;
	text-align: center; /* centers content for IE */
	margin-left: auto; /* centers content for Mozilla */
	margin-right: auto; /* centers content for Mozilla */
}

#header /* Styles masthead- contains #logo and #login */
{
	height: 128px;
	background-attachment: scroll;
	background-image: url(https://www.cnbsomerset.com/images/header_bkgd_logo.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	
}
#header_print /* Displays for print styles only */
{
	display: none;
} 


#logo /* Sytles logo in header */
{
	float: left;
	margin-top: 40px;
}

#login /* Styles CitizensNET login form in header */
{
	float: right;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #FFFFFF;
	text-align: right;
	line-height: 30px;
	margin: 0px;
}

#login2 /* Styles CitizensNET login form on login page */
{
	
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 30px;
	margin: 10px;
}


#menu /* Container for spry menu */
{
	height: 49px;
	text-align: left;
	margin-bottom: 20px;	
	line-height: normal;	
}

#welcome /* Contains welcome message on homepage */
{
	text-align: left;
	border: 1px solid #CCCCCC;
	background-color: #FFFFFF;
	margin-bottom: 20px;
	height: 240px;
}

#content /* Contains content for sub pages */
{
	text-align: left;
	border: 1px solid #CCCCCC;
	background-color: #FFFFFF;
	margin-bottom: 20px;
	padding-bottom: 5px;
	
	/*overflow: auto;  Fixes 100% height bug 
	width: 100%*/
}

#news_page /* Contains content for news pages */
{
	text-align: left;
	border: 1px solid #CCCCCC;
	background-color: #FFFFFF;
	margin-bottom: 20px;
	padding-bottom: 5px;
	
	/*overflow: auto;  Fixes 100% height bug 
	width: 100%*/
}

#news_page img /* Images for news pages */

{ margin: 5px; }

#news /* Contains news on homepage */
{
	width: 255px;
	height: 100%;
	text-align: left;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background-color: #bbbbbd;
	float: left;
	margin-bottom: 20px;
	border: 1px solid #a3a3a3;
	font-size: 12px;
	height: 265px;
	line-height: normal;
	color: #333333;
	overflow: auto;
}

#services /* Contains Featured Services on homepage */
{
	width: 456px;
	text-align: left;
	border: 1px solid #CCCCCC;
	background-color: #FFFFFF;
	float: right;
	margin-bottom: 20px;
	height: 265px;
	overflow: auto;
	background-image: url(https://www.cnbsomerset.com/images/icon_gray.gif);
	background-repeat: no-repeat;
	background-position: right bottom;	
}

#footer /* Styles footer and contains #footer_content. Resides outside of #container to achive full width value. */
{
	height: 100px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #666666;

	background-image: url(https://www.cnbsomerset.com/images/footer_bkgd.jpg);
	background-repeat: repeat-x;
	background-position: left top;
	clear: both;
		
}

#footer_content /* Positions footer and contains #footer_content_left and #footer_content_right */
{
	width: 732px;
	text-align: center; /* centers content for IE */
	margin-left: auto; /* centers content for Mozilla */
	margin-right: auto; /* centers content for Mozilla */
}

#footer_content_left /* Footer contact information */
{
	float: left;
	font-size: 12px;
	text-align: left;
}

#footer_content_right /* Footer links and logos */
{
	float: right;
	font-size: 10px;
	text-align: right;
}

/************************** CLASS STYLES ********************************/

.red
{
	color: #CC0000;
}

.blue /* Blue font */
{	color: #193187	}

.italic /* Italic font */

{	font-style: italic;	}

.italic_blue /* Italic blue font */
{
	color: #193187;
	font-style: italic;
}

.bold /* Bold font */

{	font-weight: bold;	}

.bold_blue /* Bold blue font */
{
	color: #193187;
	font-weight: bold;
}

.bold_italic /* Bold italic font */
{
	font-style: italic;
	font-weight: bold;
}

.bold_italic_blue /* Bold italic blue font */
{
	color: #193187;
	font-style: italic;
	font-weight: bold;
}

.welcome_heading /* Special style for the home page heading */
{
	font-style: italic;
	font-weight: normal;
	
	background-image: url(https://www.cnbsomerset.com/images/icon_blue.gif);
	background-repeat: no-repeat;
	background-position: left center;

	/* Positions the text next to the Citizens icon */
	padding-top: 10px;
	padding-right: 5px;
	padding-bottom: 10px;
	padding-left: 35px;
	
	/* Positions the Citizens icon next to the text */	
	margin-top: 20px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 270px;
}

.news_heading /* Special style for the "news" and "featured products" headers */
{
	color: #FFFFFF;
	background-image: url(https://www.cnbsomerset.com/images/news_heading.gif);
	background-repeat: repeat-x;
	background-position: left top;
	height: 26px;
	
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: normal;
	font-style: normal;
	
	margin: 0px;
	
	padding-top: 3px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 10px;
	
}

.clear /* Styles image to clear elements */
{
	clear: both;
}

.imgleft /* Image float left */
{
	float: left;
	margin: 10px 20px 10px 10px;
}

.imgright /* Image float right */
{
	float: right;
	margin: 10px 10px 10px 20px;
}

.noborder td /* Removes border form tables */
{ border: 0px;}

/********************************** LINKS ****************************************/

a img /* Image links have no border */

{	border: 0px;	}


a:link {}
a:visited {}
a:active {}
a:hover {}

#login a:link {	color: #FFFFFF;}
#login a:visited { color: #FFFFFF; }
#login a:active { color: #FFFFFF; }
#login a:hover 
{
	color: #FFFFFF;
	text-decoration: none;
}

#news a:link
{
	color: #333333;
	text-decoration: none;
	font-weight: bold;
}

#news a:visited
{
	color: #666666;
	text-decoration: none;
	font-weight: bold;
}

#news a:active
{
	color: #000000;
	text-decoration: none;
	font-weight: bold;
}

#news a:hover
{
	color: #000000;
	text-decoration: none;
	font-weight: bold;
}



#footer a:link 
{
	color: #666666;
	text-decoration: none;
}

#footer a:visited 
{	
	color: #333333; 
	text-decoration: none;
}

#footer a:active 
{ 
	color: #333333;
	text-decoration: none; 
}

#footer a:hover 
{
	color: #333333;
	text-decoration: underline;
}


