/* top bar nav on top of template good for staic links link sections etc.*/
.topbar{
color:#fff;
background-color:#222;
/*ajust the top bar height*/
height:30px;
text-align:right;
text-decoration:none;
padding-top:5px;
padding-right:5px;
display:block;
white-space:nowrap;
}
.topbar a:link{color:White;}
.topbar a:visited{color:White;}
.topbar a:hover{color:White;}

/* Wrapper Footer Trick */
#Wrapper {
height:auto !important;
/*this works hand in hand with the #FooterWrapper min-height: settings */
min-height:90%;
}

/* Heading Color and Height control*/
#Header {
background-image:url(../images/brb.png);
background-repeat: repeat-x;
}

/*Menu Wrapper to cover the width if needed*/
#MenuWrapper{
	background-color:#333;
	width:100%;
	height:25px;
	white-space:nowrap;
	/*need for  FF div not working right*/
	margin:0 auto;
	padding-top:5px;
	}

/* Main Body Padding */
.MainBody{padding:8px;}
	
/* Start of layout Center Mass */

/* End of layout Center Mass */

/* Centers the footer links etc.*/
.center{margin:0 auto;text-align: center; }
#FooterWrapper{
padding:10px;
clear:both;	
/*this works hand in hand with the #Wrapper min-height: settings */
min-height:10%;
background-color: #222;
}


#dropshadow{
	margin:0 auto;
	width: 100%;
	max-width:980px;
/*	background-image:url(../images/dropshadow.png);
	background-repeat:repeat-y;*/
}

#container {
	margin: 0 auto;
	background:#fff;
}

#topnav{
	height:31px;
	background: #345687;
	position: fixed;
	top:0;
	z-index:999;
	width:100%;
	max-width:980px;

}

#topnav div.moduletable ul {
    margin: 0;
    padding: 0;
	line-height:20px;
}

#masthead{
width: 100%;
max-width:980px;
height:467px;
background-image: url(../images/masthead_bg.jpg);
background-repeat:no-repeat;
position: relative;
margin-top:31px;
	z-index:5;
}

#title{
	width:980px;
	height:174px;
	

}

#breadcrumbs {
	width:100%;
	padding: 0 0 50px 0;
	font-size:12px;
}

#breadcrumbs a:link, #breadcrumbs a:visited,  {
	color:#000;
}

#breadcrumbs a:hover {
	color:#0a58a2;
	}

#breadcrumbs .moduletable-breadcrumbs ul{
	 padding:0;
	 margin:0;
 }
 
#breadcrumbs .moduletable-breadcrumbs li{
	 display:block;
	 float:left;
	 list-style:none;
	 padding:5px;

 }
 
 .divider {
	 padding-left: 5px;
 }


#googlecse {
	float:right;
	width:40%;
	position:relative;
	padding-top:425px;
	z-index:99;
}

#content{
	padding:20px 30px 20px 30px;
	background:#fff;
	
	
}

#social{
	padding:5px 15px;
	overflow:auto;
	
}

#twitter{
	width:940px;
}

#facebook{
	width: 940px;
	
}


#slider {
	width: 940px;
	height: 270px;
	float:left;
	border: 1px solid #fff;
	margin-bottom: 20px;
}

#leftcol{
	/*float:left;*/
	margin-left:50px;
	padding-top:25px;

}

#rightcol{
	float:right;
	width:225px;
	height:130px;
	margin-bottom: 20px;
}



#footer, #footer td th{
	clear:both;
	background:#458F47;
	background-image:url(../images/footer_bg.jpg);
	background-repeat: no-repeat;
	color:#fff;
	font-family:  'Avenir LT W01_45 Book1475508',Verdana, Geneva, sans-serif;
	font-size:1em;
	line-height: 1.2em;
	padding: 50px 20px 20px 20px;

}

#footer a:link {
	color: #fff;
	text-decoration:none;
	}
	
#footer a:visited {
	color: #fff;
	text-decoration:none;
	}
	
#footer a:hover {
	color: #fff;
	text-decoration:underline;
	}
	
.designer {
	color: #fff;
	font-weight:normal;
	padding: 10px 0;
	font-size:10px;
	}	
	
	
.designer a:link {
	color: #fff;
	text-decoration:none;
	}
	
.designer a:visited {
	color: #fff;
	text-decoration:none;
	}
	
.designer a:hover {
	color: #fff;
	text-decoration:underline;
	}	
	
@media only screen and (max-width: 768px) {

#masthead{
max-width:980px;
height:467px;
background-image: url(../images/masthead_bg.jpg);
background-repeat:no-repeat;
position: relative;
margin-top:31px;
	z-index:5;
	overflow:hidden;
}

#googlecse {
	width:100%;
	position: absolute;
	padding-top:425px;
	z-index:99;
}

#content{
	padding:20px 30px 20px 30px;
	background:#fff;
}

#leftcol{
	/*float:left;*/
	margin-left:0px;
	padding-top:25px;

}

#content img {
	max-width:100%;
}

#footer, #footer td th{
	clear:both;
	background:#458F47;
	background-image:url(../images/footer_bg.jpg);
	background-repeat: no-repeat;
	color:#fff;
	font-family:  'Avenir LT W01_45 Book1475508',Verdana, Geneva, sans-serif;
	font-size:1em;
	line-height: 1.2em;
	padding: 90px 20px 20px 20px;

}
	
}