/***Core layout**/
.wide{}
.bgTop{ background: #ADD2EE url(../uploads/images/layout/bgTop.jpg) repeat-x}
h1.logo{ margin:0; padding:0; line-height:0}
div.menu{ text-align:right; vertical-align:bottom}
.bgMiddle{background: #1D738B url(../uploads/images/layout/bgMiddle.jpg) repeat-x; border-bottom:8px solid #0A334F}
.bgMiddle h2{ color:#003; margin-bottom:0; padding-top:0.4em; padding-bottom:0.4em;}
.bgMiddle h3{ color:#036; margin-bottom:0}
.bgMiddle p{ color:#FFF; margin-bottom:0; font-size:1.2em}
.bgTopContent{background: transparent url(../uploads/images/layout/bgContent.jpg) no-repeat; padding-bottom:0.8em;}
.bgTopContent ul { margin:0 0 .5em 1.5em}
.bgTopContent a{ color:#99FFFF}
.bgContent{background-color:#FFFFFF}
div.footer{ background-color: #0A334F; color:#FFFFFF; border-top:6px solid #069}
div.footer p{ margin-bottom:.4em !important;}
div.footer h3{ color:#FFFFFF}
div.footer a{ color:#91FFFF}
.lightBlue, .lightBlue a{ color:#00FFFF !important}
.white{ color:#FFFFFF}

.noMarginBottom{ margin-bottom:0 !important}
.minMarginBottom{ margin-bottom:.4em !important}
.maxMarginBottom{ margin-bottom:1.4em !important}
.maxMarginTop { margin-top:1em !important}
.maxPaddingBottom { padding-bottom:1em !important}
.maxPaddingTop { padding-top:1em !important}
.minPaddingTop{ padding-top:.4em !important}
.topBorder{border-top:1px dashed #eee; margin-top:1em;}
.textRight{ text-align:right}

/****secondary menu****/
div#cmsmstMenuSec { float:right; clear:both; margin-top:1em}

div#cmsmstMenuSec .currentpage {}
div#cmsmstMenuSec ul {}
div#cmsmstMenuSec ul li { list-style-type:none; display:block; float:left; padding-right:.4em; margin-right:.4em; border-right:1px dashed #069}
/*div#cmsmstMenuSec ul li:last-child{ border-right:none}*/
div#cmsmstMenuSec ul li a, div#cmsmstMenuSec ul li a:visited { color:#069}
/*div#cmsmstMenuSec ul li a:hover { color:#09C}*/

/*div#cmsmstMenuSec .bullet_sectionheader - To style section header*/
/*hr.separator - To style the ruler for the separator*/

/* Horizontal menu for the CMS CSS Menu Module */
/* by Alexander Endresen */

/* The wrapper clears the floating elements of the menu */

/* Fix for Opera 8 */
.clearb { clear: both; }
#menuwrapper { 
   /* Fix for Opera 8 */ 
   /*   overflow: hidden;  */
   float:right;
   margin-top:5.9em;
}

/* Set the width of the menu elements at second level. Leaving first level flexible. */
#primary-nav li li { 
   width: 200px; 
}


/* Unless you know what you do, do not touch this */ 
#primary-nav, #primary-nav ul { 
   list-style: none; 
   margin: 0px; 
   padding: 0px; 
}
#primary-nav ul { 
   position: absolute; 
   top: auto; 
   display: none; 
}
#primary-nav ul ul { 
   margin-top: 1px;
   margin-left: -1px;
   left: 100%; 
   top: 0px; 
}
	
#primary-nav li { 
   margin-left: -1px;
   float: left; 
}
#primary-nav li li { 
   margin-left: 0px;
   margin-top: -1px;
   float: none; 
   position: relative; 
}

/* Styling the basic apperance of the menu elements */
#primary-nav a { 
   display: block; 
   margin: 0px; 
   padding: 5px 10px; 
   text-decoration: none; 
   color: #006699;
}
#primary-nav li a { 
   border-right: 1px solid #FFF;
   border-left: 1px solid #FFF;
}
/*#primary-nav li:last-child a { 
   border-right: none;
}
#primary-nav li:first-child a { 
   border-left: none;
}*/
#primary-nav li li a { 
   /*border: 1px solid #FFF;*/
}	
#primary-nav li, #primary-nav li.menuparent { 
   background-color: #7be5ef; 
}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */

#primary-nav li.menuactive { 
   background-color: #28AFCC; 
}
#primary-nav li.menuactive a{
	color:#FFF;
}

/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav ul li.menuparent, 
#primary-nav ul li.menuparent:hover, 
#primary-nav ul li.menuparenth { 
/* arrow for menuparents */
  /* background-image: url(images/cms/arrow.gif); 
   background-position: center right; 
   background-repeat: no-repeat; */

}


/* Styling the apperance of menu items on hover */
#primary-nav li a:hover, #primary-nav li li a:hover { color:#FFF }
#primary-nav li:hover, 
#primary-nav li.menuh, 
#primary-nav li.menuparenth, 
#primary-nav li.menuactiveh { 
   background-color: #28AFCC; 
      color:#FFF !important
}


/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

/* 
just add 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul ul ul,
for fourth level 
*/
#primary-nav ul, 
#primary-nav li:hover ul, 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul, 
#primary-nav li.menuparenth ul ul { 
   display: none; 
}

/* add 
#primary-nav ul ul ul li:hover ul, 
#primary-nav ul ul ul li.menuparenth ul,
for fourth level
*/
#primary-nav li:hover ul, 
#primary-nav ul li:hover ul, 
#primary-nav ul ul li:hover ul, 
#primary-nav li.menuparenth ul, 
#primary-nav ul li.menuparenth ul, 
#primary-nav ul ul li.menuparenth ul { 
   display: block; 
}


/* IE Hacks */
#primary-nav li li { 
   float: left; 
   clear: both; 
}
#primary-nav li li a { 
   height: 1%; 
}

/***************/

a.external span
{
position: absolute;
left: -5000px;
width: 4000px;
}

a.external:link
{
background: url(/uploads/images/layout/externalLink.gif) no-repeat 100% 0;
padding: 0 20px 0 0;
}

a.external:visited
{
color: purple;
background: url(/uploads/images/layout/externalLink.gif) no-repeat 100% -100px;
padding: 0 20px 0 0;
}

a.external:hover
{
color: red;
background: url(/uploads/images/layout/externalLink.gif) no-repeat 100% -200px;
padding: 0 20px 0 0;
}

/*******/
pre, code, tt { display:block; float:left; background-color:#F0F8FF; border:1px dashed #D7EBFF; padding:0 .6em}

/****TOC****/
div.toc {
background:#EFEFEF none repeat scroll 0 0;
border:1px dashed #CCCCCC;
float:right;
margin:0.4em;
padding:0.4em;
text-align:left;
width:340px;
}
/*********/
div.overlay {
	
	/* growing background image */
	background-image:url(/uploads/images/layout/white.png);

	/* dimensions after the growing animation finishes  */
	width:600px;
	height:470px;		
	
	/* initially overlay is hidden */
	display:none;
	
	/* some padding to layout nested elements nicely  */
	padding:55px;
}

/* default close button positioned on upper right corner */
div.overlay div.close {
	background-image:url(/uploads/images/layout/close.png);
	position:absolute;
	right:5px;
	top:5px;
	cursor:pointer;
	height:35px;
	width:35px;
}

div.category_item{ float:left; margin:0 2em 2em 0; width:190px; height:105px; overflow:hidden; border:1px solid #CCCCCC}
/*div.category_item:over{ border-color:#00CCFF}*/

input.fbsubmit {
background-color:#0099CC;
border:1px solid #006699;
font-size:1.2em;
margin-left:14.8em;
padding:0.4em;
color:#FFF
}
.star{ color:#FFCC00 !important; font-family:Georgia, "Times New Roman", Times, serif; font-size:22px !important}
.captcha {
clear:both;
}
.span-8 form fieldset{
width:235px
}
bold{ font-weight:bold}
noMargin{ margin:0 !important}