a:link, a:visited {
	color:#007ba9;
}

img {
	border:none}
	
/* Containers
----------------------------------------------------------------------------------------------------*/
#wrap {
	width:960px;
	margin:0 auto;
	clear:both
}

#footer1 {
	background:url(../images/footer-grad.jpg) 0 0 repeat-x #fff;
	height:40px;
	margin-top:10px;
	clear:both;
}

#footer2wrap {
	background:#007ba9;
	clear:both;
}

#footer3wrap {
	background:#e6e6e6;
	clear:both;
}

#footer2box, #footer3box{
	width:960px;
	margin:0 auto;
	clear:both
}


#header {
	height:80px;
	border-bottom:5px solid #cccccc
}

#header-left {
	float:left;
	width:330px;
	margin-top:10px;
	font-size:10px;
	line-height:14px
}

/* Header right */
#header-right {
	float:right;
	text-align:right;
	width:500px
}

#header-right-top {
	float:right;
	width:620px;
	margin:0
}

#header-right-bottom {
	float:right;
	margin:0
}

#header-right-bottom p {
	margin:0
}

.moduletable-topmenu {
	text-align:right;
	float:right
}

.moduletable_social_logos {
	float:right;
	margin-right:5px
}

.moduletable_social_logos img {
	margin:0 5px 0 5px
}

.search {
	float:right;
	padding-top:5px
}

#mod-search-searchword {
    -moz-background-inline-policy: continuous;
    background: url("../images/search-bg.jpg") no-repeat scroll 0 0 transparent;
	font-family:Verdana, Geneva, sans-serif;
    border: medium none;
    color: #C0C0C0;
    height: 15px;
    margin: 0 0;
    padding: 8px;
    width:178px;
}

.moduletable-tagline {
	float:right;
	font-size:18px;
	color:#333333
}
.breadcrumbs_breadcrumbs{
	font-family:Verdana, Geneva, sans-serif;
	font-size:80%;
}

/* Big buttons */
.custom_buttons p,.moduletable_buttons p,.moduletable_buttons,.blog-featured,.items-leading {
	margin:0;
	padding:0
}

div.blog-featured div.items-leading div.leading-0 div p{
	padding-right:5px;
}

div.items-row{ clear:both; }

/* home page classes */
.moduletable_homebuttons{
	padding-bottom:30px;
	clear:both;
}
.moduletable_homebuttons .homebtnquest,
.moduletable_homebuttons .homebtnnbs{
	float: left; 
	margin-top: 10px;
}
.moduletable_homebuttons .homebtnnbs{
	margin-left: 100px;
}
.moduletable_homebuttons .homebtnquest{
	margin-left: 50px;
}

.moduletable_partners{
	margin-top:30px;
	clear:both;

}

/* Header left */
.custom-header-logo {
	float:left;
}

.custom-header-logo p{
	margin:0;
	padding:0
}

#left {
	width:250px;
	float:left;
	background:#e9e9e9;
	padding-top:25px
}

#right {
	width:200px;
	background:#999999;
	float:left
}

#middle {
	width:490px;;
	padding:50px 10px 10px 10px;
	float:left
}

#middle-medium {
	width:690px;
	padding:0px 0 0 20px;
	float:left
}

#middle-wide {
	width:940px;
	padding:50px 10px 10px 10px;
	float:left
}

#footer2 {
	background:#007ba9;
	height:50px;
	color:#ffffff
}

#footer3 {
	background:#e6e6e6;
	height:100px;
	color:#3f3f3f;
	padding:10px
}

#footer2 ul {
	text-align:right;
	float:right
}

#footer2 a{
	font-size: 85%;
	color: #fff; 
	margin:5px;

}

.copyright {
	float:right;
}

.address {
	float:left;
}

.address p{
	margin-top:0;
}

.sitedesign {
	float:left;
	margin:17px 10px;
	font-size:80%;
	font-family:Verdana, Geneva, sans-serif;
}

/* Clear Floated Elements
----------------------------------------------------------------------------------------------------*/
.clear {
	clear: both
}

/* Accessibility button styles
----------------------------------------------------------------------------------------------------*/
.textIncrease {
	margin-right:3px;
	font-size:14px
}
	
.textDecrease {
	margin-right:3px;
	font-size:12px
}

#resetContrast {
	margin-right:5px;
	text-decoration:none;
	padding:0 5px 0 5px;
	background:#fff;
	color:#000;
	border:1px solid #000
}
	
#highContrast {
	text-decoration:none;
	padding:0 5px 0 5px;
	background:#000;
	color:#FFFF00;
	border:1px solid #FFFF00
}

/* High contrast styles
----------------------------------------------------------------------------------------------------*/
body.black p,body.black h2,body.black .module_title {
	background:#000000;
	color:#FFFF00	
}

body.black a,body.black .copyright {
	background:#202020;
	color:#00FFFF
}

body.black #header,body.black #left,body.black #footer2 {
	background:#202020;
	color:#FFFF00
}

body.black #content {
	background:#000000;
	color:#FFFF00
}

/* Menu styles
----------------------------------------------------------------------------------------------------*/
.moduletable-topmenu ul,#footer2 ul {
	list-style:none;
}

.moduletable-topmenu li,#footer2 li {
	display:inline;
	border-right:1px solid #ccc;
}

.moduletable-topmenu a {
	text-decoration:none
}

.moduletable-topmenu li:last-child,#footer2 li:last-child {
	border-right:0px
}

.moduletable-topmenu a,#footer2 a {
	padding:5px 10px;
	font-family:Verdana, Geneva, sans-serif;
	text-decoration:none;
}

.moduletable-topmenu a:hover,#footer2 a:hover {
	text-decoration:underline;
}

#left ul {
	list-style:none;
	margin:0;
	padding:0
}

#left ul ul {
	margin-left:0px
}
	

.moduletable_keyword_links {
	margin-top:30px;
}

.moduletable_keyword_links a{
	text-decoration:none;
	margin:0 7px 0 7px;
	color:#676767;
	text-transform:uppercase;
	line-height:100%;
	font-size:90%;
}

.moduletable_keyword_links ul{
	list-style:none;
	padding:0;
}

.moduletable_keyword_links li{
	display:inline;
	float:right;
	margin-top:5px;
	border-right:1px solid #b8b8b8
}

.moduletable_keyword_links li:last-child{
	border-left:0px
}

.moduletable_keyword_links h3{
	text-transform:uppercase;
	float:left;
	font-size:12px;
	margin-right:20px
}

/* 	Quest menu styles
----------------------------------------------------------------------------------------------------*/

/* Background for quest menu header*/
.moduletable_menu_quest h3 {
	border-top:5px solid #fff;
	background:#007ba9;
	padding:10px;
	margin:0;
	color:#ffffff
}

.moduletable_quest_news h3 {
	border-top:5px solid #fff;
	background:#007ba9;
	padding:10px;
	margin:0;
	color:#ffffff
}

.moduletable_menu_quest ul,.moduletable_quest_news ul {
	border-right:10px solid #e9e9e9;
	background:#fff
}

.moduletable_menu_quest ul ul {
	border-right:0px;
	font-size:10px;
	width:100%
}

.moduletable_menu_quest li,.moduletable_quest_news li {
	border-bottom:1px solid #cccccc;
	width:90%;
	margin-left:0px
}

.moduletable_menu_quest li.current {
	background:#e9e9e9;
}

.moduletable_menu_quest li.current a{
	color:#333333;
}

.moduletable_menu_quest li.current li a,
.moduletable_menu_quest li.current li li a{
	color:#333333;
}

.moduletable_menu_quest ul li,.moduletable_menu_quest ul li ul li {
	width:100%;
}

.moduletable_menu_quest ul li ul li a {
	padding-left:25px;
}

.moduletable_menu_quest ul li ul li ul li a {
	padding-left:35px;
}

.moduletable_menu_quest ul li ul li:first-child {
	border-top:1px solid #ccc;
}

/* 	NBS menu styles
----------------------------------------------------------------------------------------------------*/
/* Background for quest menu header*/
.moduletable_menu_nbs h3 {
	border-top:10px solid #fff;
	background:#333366;
	padding:10px;
	margin:0;
	color:#ffffff
}

.moduletable_menu_nbs ul,.moduletable_quest_news ul {
	border-right:10px solid #e9e9e9;
	background:#fff
}

.moduletable_menu_nbs ul ul {
	border-right:0px;
	font-size:10px;
	width:100%
}

.moduletable_menu_nbs li,.moduletable_quest_news li {
	border-bottom:1px solid #cccccc;
	width:90%;
	margin-left:0px
}

.moduletable_menu_nbs li img,.moduletable_menu_quest li img{
	border:0;
	padding-right:5px;
}

.moduletable_menu_nbs li.current {
	background:#e9e9e9;
}

.moduletable_menu_nbs li.current a {
	color:#333333
}

.moduletable_menu_nbs li.current li a,
.moduletable_menu_nbs li.current li li a{
	color:#333333
}

.moduletable_menu_nbs ul li,.moduletable_menu_nbs ul li ul li {
	width:100%;
}

.moduletable_menu_nbs ul li ul li a {
	padding-left:25px;
}

.moduletable_menu_nbs ul li ul li ul li a {
	padding-left:35px;
}

.moduletable_menu_nbs ul li ul li:first-child {
	border-top:1px solid #ccc;
}


/* Remove bottom border from quest last menu items*/
.moduletable_menu_quest li:last-child,.moduletable_quest_news li:last-child {
	border-bottom:0px;
}

.moduletable_menu_quest a,.moduletable_quest_news a {
	display:block;
	padding:10px 10px 10px 15px;
	width:80%;
	text-decoration:none;
	color:#333333;
	font-weight:bold;
	font-size:110%;
	font-family:Arial, Helvetica, sans-serif;
}

.moduletable_menu_quest a:visited,.moduletable_quest_news a:visited {

}

.moduletable_quest_news a {
	background:url(../images/quest-news-bullet.gif) no-repeat 0px;
	padding:10px 10px 10px 15px
}

/* 	NBS menu styles
----------------------------------------------------------------------------------------------------*/

/* Background for nbs menu header*/
.moduletable_menu_nbs h3 {
	border-top:5px solid #fff;
	background:#a6000b;
	padding:10px;
	margin:0;
	color:#fff
}

.moduletable_nbs_news h3 {
	background:#a6000b;
	padding:10px;
	margin:0;
	color:#fff
}

.moduletable_menu_nbs ul,.moduletable_nbs_news ul {
	border-right:10px solid #e9e9e9;
	background:#fff
}



.moduletable_menu_nbs li,.moduletable_nbs_news li {
	border-bottom:1px solid #cccccc;
	width:90%;
	margin-left:0px
}

.moduletable_menu_nbs a,.moduletable_nbs_news a {
	display:block;
	padding:10px 10px 10px 15px;
	width:80%;
	text-decoration:none;
	color:#333333;
	font-weight:bold;
	font-size:110%;
	font-family:Arial, Helvetica, sans-serif;
}

.moduletable_menu_nbs a:visited,.moduletable_nbs_news a:visited {

}

.moduletable_nbs_news a {
	background:url(../images/nbs-news-bullet.gif) no-repeat 0px;
	padding:10px 10px 10px 15px
}

/* Remove bottom border from nbs last menu items*/
.moduletable_menu_nbs li:last-child,.moduletable_nbs_news li:last-child {
	border-bottom:0px;
}

.moduletable_nbs_news {
	border-bottom:10px solid #ffffff;
	margin-bottom:10px
}

/* Login form styles*/
.login fieldset,.logout {
	-moz-border-radius: 5px;
	padding:15px;
	color:#333;
	border:3px solid #007ba9;
	min-height:100px
}
.login input{
	border:3px solid #ccc;
	font-family:Arial, Helvetica, sans-serif;
}
.star{
	color:#B70416;
}

.logout {
	margin:20px;
	-moz-border-radius: 5px;
	padding:15px;
	color:#B70416;
	border:3px solid #007ba9;
	min-height:100px
}

.logout form, .login-fields {
	margin:5px;
	padding:5px;
	background:#EFF5FA;
	border:0px;
	-moz-border-radius: 5px;
	-webkit-border-radius:5px;
	border-radius: 5px;
}

.login-fields label {
	width:100px;
	float:left
}

.button, input[type="submit"], input[type="reset"], button {
	-moz-border-radius: 5px;
	-webkit-border-radius:5px;
	border-radius: 5px;
	padding:3px;
	border:0px;
	background:#007ba9;
	color:#fff;
	margin-left:10px;
}
.login-fields .button{
	
}

.login-description {
	margin:30px 0 30px 0
}



/* Message styles*/
#system-message {
	-moz-border-radius: 10px;
	padding:15px;
	color:#B70416;
	border:3px solid #B70416;
	min-height:100px
}

dt.error {
	font-weight:bold;
	font-size:14px
}
#system-message dd{
	margin-left:0;
	background:#f66;
}

#system-message dd li{
	color:#fff;
	list-style:none;
}
#system-message dd a{
	color:#fff;
	font-weight:bold;
}

/* Search styles*/
ol.list li {
    -moz-border-radius: 5px 5px 5px 5px;
    background: none repeat scroll 0 0 #333333;
    line-height: 1.6em;
    margin: 5px 0;
    padding: 5px 10px;
}

/* search results classes */
form#searchForm{
	-moz-border-radius: 5px;
	-webkit-border-radius:5px;
	padding:15px;
	color:#007ba9;
	border:3px solid #007ba9;
}

form#searchForm input, form#searchForm select{
	border:3px solid #ccc;
	font-family:Arial, Helvetica, sans-serif;	
}

fieldset.word,fieldset.phrases,fieldset.only {
    -moz-border-radius: 5px;
	-webkit-border-radius:5px;
    background:#EFF5FA;
	border: 0px;
    padding: 5px;
}

#searchForm legend {
	-moz-border-radius: 5px;
	-webkit-border-radius:5px;
	padding:5px;
    background: none repeat scroll 0 0 #fff
}


.search-results dt{
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-left-radius:5px;
	-webkit-border-top-right-radius:5px;
	background:#007ba9;
	color:#fff;
	font-weight:bold;
	font-size:14px;
	padding:5px;
}
.search-results dt a{
	color:#fff;	
	text-decoration:underline;
}
.search-results dd{
	margin-left:0;
	
}
.result-category,.result-text,.result-created {
	padding:5px;
	background:#EFF5FA
}
.search-results dd.result-category{
	text-transform:uppercase;
	font-weight:bold;
	padding-left:20px;
	font-family:Arial, Helvetica, sans-serif;	
}
.search-results dd.result-text{
	padding-left:20px;
	font-family:Arial, Helvetica, sans-serif;	
}
.search-results dd.result-created{
	-moz-border-radius-bottomleft: 5px;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-bottom-left-radius:5px;
	-webkit-border-bottom-right-radius:5px;
	padding-left:20px;
	margin-bottom:10px;
	font-family:Arial, Helvetica, sans-serif;
	font-weight:bold;
	font-style:italic;	
}

.highlight {
    -moz-border-radius: 3px;
	-webkit-border-radius:3px;
    background: none repeat scroll 0 0 #CEE7FF;
    color: #000000;
    padding: 1px 2px;
}


/* end search classes */ 
form#searchEvents table{
	border:3px solid #007ba9;
	-moz-border-radius:5px;	
	-webkit-border-radius:5px;
	border-radius:5px;
	background:#EFF5FA
}
form#searchEvents table input,
form#searchEvents table select{
	border:4px solid #ccc;
	cursor:pointer;
}
table.questSites  {
	border:3px solid #007ba9;
	-moz-border-radius:5px;	
	-webkit-border-radius:5px;
	border-radius:5px;
	padding:2px;
	margin:0}

table.questSites th {
	background:#CFE2FE;
	padding:5px;
	text-align:left}
	
table.questSites tr {
	background:#EFF5FA
	}
	
table.questSites tr.odd {
	background:#FFF
	}
	
table.questSites td {
	padding:5px;
	text-align:left}
	
.calcResults {
	background:#FFFECF;
	padding:10px;
	margin:10px}
	
/* image style */
.img_caption{
	margin:0 0 10px 10px;
	border:5px solid #ececec;
}
/* user profile classes */
.profile a:link, 
.profile a:visited, 
.profile-edit a:link, 
.profile-edit a:visited,
.profile-edit .validate{
	-moz-border-radius: 5px;
	padding:5px;
	border:0px;
	background:#007ba9;
	color:#fff;
	text-decoration:none;
	cursor:pointer;
}
#users-profile-core, 
#users-profile-custom,
#member-profile fieldset,
#user-registration fieldset,
.form-validate fieldset,
form#subForm fieldset{
	border:3px solid #007ba9;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	margin:10px 0;
}
#users-profile-core legend, 
#users-profile-custom legend,
#member-profile fieldset legend,
form#subForm legend
{
	font-size:120%;
	font-weight:bold;
	
}
#users-profile-core dt, 
#users-profile-custom dt,
#member-profile fieldset dt,
#user-registration fieldset dt,
.form-validate fieldset dt{
	font-weight:bold;	
	padding-top:3px;
	padding-left:10px;
	background:#e9e9e9;
	width:320px;
	float:left;
	height:27px;
	margin:1px 0;
}
#users-profile-core dd, 
#users-profile-custom dd,
#member-profile fieldset dd,
#user-registration fieldset dd,
.form-validate fieldset dd{
	font-weight:bold;	
	padding-top:3px;
	background:#e9e9e9;
	width:335px;
	float:left;
	clear:none;
	height:27px;
	margin:1px 0;
}
#users-profile-core input, 
#users-profile-custom input,
#member-profile fieldset input,
#user-registration fieldset input,
.form-validate fieldset input,
form#subForm input#name, form#subForm input#xjdpk-xjdpk,
#users-profile-core select, 
#users-profile-custom select,
#member-profile fieldset select{
	border:3px solid #ccc;
	font-family:Arial, Helvetica, sans-serif;	
}


form#nbsCalc{
	font-family:Arial, Helvetica, sans-serif;
	font-weight:bold;
	color:#666;
	border:3px solid #a6000b;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	padding:10px;
	background:#e9e9e9;
}
form#nbsCalc input{
	border:3px solid #ccc;
	margin-left:10px;
}
/* xmap */
div#xmap div{
	border:1px solid #ccc;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	padding:3px;
	width:315px;
	margin:10px;	
}

div.pagination{
	border:1px solid #ccc;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	padding:0px;
	display:block;
	height:40px;
}
div.pagination li{
	float:left;
	display:block;
	padding:0 10px;
}
.pagenav{
	text-transform:uppercase;
}
.sp_news_higlighter{
	margin-bottom:5px;	
}
span.sp-nh-text,
span.sp-nh-title {
	font-weight:bold;
	text-transform:uppercase;	
}