/******************************************
*   Main or page navigation styles                       
******************************************/


/*Main Navbar */

#nav {
	background:#666;
	font-size:1em;
	}
	
#nav, #nav ul {
	list-style:none;
	line-height:1;
	}

#nav a, #nav a:hover {
	display: block;
	text-decoration: none;
	border:none;
	}

#nav li {
	float: left;
	list-style:none;
	border-right:1px solid #fff;
	}

#nav a, #nav a:visited {
	display:block;
	font-weight:bold;
	color: #eee;
	padding:6px 12px;
	}

#nav a:hover, #nav a:active {
	background:#333;
	text-decoration:none;
	}	

.current_page_item	a, #home .on  {background:#333;}
	
	
	
/* Dropdown Menus for child pages */		

#nav li ul {/*first level dropdown*/
	position: absolute;
	z-index: 10;
	left: -999em;
	height: auto;
	width: 174px;
	border-bottom: 1px solid #666;
	}
	
#nav li ul ul {/*second level dropdown*/
	margin: -2em 0 0 172px;
	}

#nav li:hover ul ul, #nav li.sfhover ul ul {
	left: -999em;
	}

#nav li li {
	width: 172px;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	border-left: 1px solid #fff;
	background:#999;
	}

#nav li li a, #nav li li a:visited {
	font-weight:normal;
	font-size:0.9em;
	color:#FFF;
	}

#nav li li a:hover, #nav li li a:active {background:#840000;}	
	
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {left: auto;}

a.main:hover {background:none;}




/*STYLES FOR USED PLUGINS */

/****** Images for flexible upload plugin *********/

.imageframe {  margin:5px 12px 5px 0; padding:4px; border:1px solid #999; }
.imgalignleft { float:left; margin:0 12px 5px 0; }
.imgalignright { float:right; margin:0 0 5px 12px; }
.imgaligncenter { display:block; margin:0 auto 5px auto; } 
.imagecaption {padding: 2px 2px 0 2px; text-align: left; font-size:10px!important; color:#666!important;}




/*****************************************************
*   Special styles for the various page templates                      
****************************************************/

/* Styles for the "3-columns-page template" */

#pageleft {
	float: left;
	width: 265px;
	margin: 20px 20px 0px 0px;
	padding: 0 20px 0 0;
	border-right: solid 1px #999;
	text-align:justify;
	}
	
#pagemiddle {
	float: left;
	width: 265px;
	margin: 20px 20px 0px 0px;
	padding: 0px;
	text-align:justify;
	}
	
#pageright {
	float: right;
	width: 265px;
	margin: 20px 0px 0px 0px;
	padding: 0 0 0 20px;
	border-left: solid 1px #999;
	text-align:justify;
	}

#pageleft .bullets li, #pagemiddle .bullets li, #pageright .bullets li {
	list-style:square;
	margin-bottom:5px;
	margin-left:22px;
	}

/* Styles for the "featured-page template" */

#featured-top {
	width:880px;
	float:left;
	padding: 0 0 15px 0;
	margin: 0 0 25px 0;
	border-bottom: double 3px #999; 
	}

#featured-content {
	width:600px;
	float:left;
	}
	
	
#featured-sidebar {
	width: 250px;
	float:right;
	}
	
#featured-sidebar h3 {
	border-bottom:1px solid #999;
	padding:5px 0 5px 2px;
	margin:0 0 20px 0;
	}	
	
#featured-sidebar .sidebar_widget {
	margin:0 0 20px 0;
	text-align:justify;
	}
	
#featured-leftcol {
	width:600px;
	float:left;
	margin:20px 20px 0 0;
	padding: 0 25px 0 0;
	border-right: 1px solid #999;
	}

#featured-leftcol h2, #featured-rightcol h2, #featured-content h2{
	color: #840000;
	font: 1.8em Georgia, "Times New Roman", Times, serif;
	margin: 0 0 10px 0;
	border:none;
	}

#featured-leftcol img{
	float:left;
	margin:0 20px 10px 0;
	padding:1px;
	border: 1px solid #999;
	}

#featured-rightcol{
	width:230px;
	float:right;
	margin-top:20px;
	}

#featured-rightcol li {
	list-style:none
	}

#featured-rightcol .bullets li {
	list-style:square;
	margin-bottom:5px;
	margin-left:22px;
	}

.featured_post blockquote {
	color:#666;
	background:#F4F4EC;
	padding:6px 14px;
	margin:18px 35px;
	border-right:1px solid #DDD;
	border-bottom:1px solid #DDD;
	}	

.featured_post ul li {
	list-style:square;
	margin-bottom:5px;
	
	margin-left:42px;
	}

.featured_post ol li {
	margin-bottom:5px;
	
	margin-left:48px;
	}



/*** UI.TABS CSS ***/

/* Caution! Ensure accessibility in print and other media types... */
	@media projection, screen { /* Use class for showing/hiding tab content, so that visibility can be better controlled in different media types... */
	    .ui-tabs-hide {
	        display: none!important;
	    }
	}

	/* Hide useless elements in print layouts... */
	@media print {
	    .ui-tabs-nav {
	        display: none!important;
	    }
	}

	/* Skin */
	#container-4 { /* the whole container with all elements of the tabbed section */
		margin: 20px 0 20px 0!important;
		/*height:360px!important;*/ /* defines a static height to the tabbed section and avoids "jumping" - part 1 of 2 */
	}

	.ui-tabs-panel { /* the main content-section of the tabbed area NOT the tabs themselves */
		width:571px!important;
	    padding: 15px!important;
		border-top: 1px solid #ccc!important;
		border-left: 1px solid #ccc!important;
		border-right: 2px solid #999!important;
		border-bottom: 2px solid #999!important;
		background: url(../images/backgrounds/bg_leadarticle.jpg) repeat-x #E6E3D3!important; /* declare background color for container to avoid distorted fonts in IE while fading */
	}

	/* the "fragments" which are the single tab areas. each tab is defined by a fragment. 
	you can add as many as you want following the scheme "#fragment-x" */
	#fragment-1, #fragment-2, #fragment-3, #fragment-4, #fragment-5, #fragment-6, #fragment-7, #fragment-8, #fragment-9 {
		/*height:300px!important;*/ /* defines a static height to the tabbed section and avoids "jumping" - part 2 of 2 */
	}

	.ui-tabs-panel .title { /* for the headlines in the tabbed section */
		font:1.8em Georgia, "Times New Roman", Times, serif!important;
		line-height:100%!important;
		display:block!important;
		padding-bottom:7px!important;
		color: #840000!important;
		text-transform:none!important;
		letter-spacing:normal!important;

	}

	.ui-tabs-nav { /* the whole area of the tabs navigation above the tabbed-content */
	    list-style:none!important;
	    margin:0px!important;
	    padding:0px!important;
	}

	.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
	    display: block!important;
	    clear: both!important;
	    content: " "!important;
	}
	.ui-tabs-nav li {
	    float: left!important;
	    margin:0 1px 0 0!important;
	    min-width: 85px!important; /* be nice to Opera */
	}
	.ui-tabs-nav .ui-tabs {
	    display:block!important;
	    padding:5px!important;
	    background:#E6E3D3!important;
		margin:1px 0 0 0!important; /* position: relative makes opacity fail for disabled tab in IE */
		position: relative!important;
	    top:1px!important;
	    z-index:2!important;
	    color: #333!important;
	    font-weight:bold!important;
	    line-height:1.2!important;
	    text-align:center!important;
	    text-decoration:none!important;
		border:1px solid #ccc!important;
	    white-space:nowrap!important; /* required in IE 6 */    
	    outline:0!important; /* prevent dotted border in Firefox */
	}


	.ui-tabs-nav .ui-tabs:hover { /* here´s to define the hover effect of the tabs */
	    background:#333!important;
		color:#fff!important;
	}


	.ui-tabs-selected .ui-tabs { /* the effects of the currently selected tab */
		background-color:#fff!important;
	    color:#333!important;
		border-bottom:1px solid #fff!important;
	}

	.ui-tabs-nav .ui-tabs-selected .ui-tabs, 
	.ui-tabs-nav .ui-tabs a:hover, 
	.ui-tabs-nav .ui-tabs a:active {
	    background-position: 100% -150px!important;
	}

	.ui-tabs-nav .ui-tabs, 
	.ui-tabs-nav .ui-tabs-disabled .ui-tabs a:hover, 
	.ui-tabs-nav .ui-tabs-disabled .ui-tabs a:active {
	    background-position: 100% -100px!important;
	}

	.ui-tabs-nav .ui-tabs-selected .ui-tabs a:link, 
	.ui-tabs-nav .ui-tabs-selected .ui-tabs a:visited, 
	.ui-tabs-nav .ui-tabs-disabled .ui-tabs a:link, 
	.ui-tabs-nav .ui-tabs-disabled .ui-tabs a:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
	    cursor: text!important;
	}

	.ui-tabs-nav .ui-tabs a:hover, 
	.ui-tabs-nav .ui-tabs a:active,
	.ui-tabs-nav .ui-tabs-unselect .ui-tabs a:hover, 
	.ui-tabs-nav .ui-tabs-unselect .ui-tabs a:active { /* @ Opera, we need to be explicit again here now... */
	    cursor: pointer!important; 
		background-color:#333!important;
		color:#fff!important;
	}

	.ui-tabs-disabled {
	    opacity: .4!important;
	    filter: alpha(opacity=40)!important;
	}

	/* Additional IE specific bug fixes... */
	* html .ui-tabs-nav { /* auto clear, @ IE 6 & IE 7 Quirks Mode */
	    display: inline-block!important;
	}
	*:first-child+html .ui-tabs-nav  { /* @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rule (because of the unknown + combinator)... */
	    display: inline-block!important;
	}





