

/******************************************
*   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 {
	position: absolute;
	z-index: 10;
	left: -999em;
	height: auto;
	width: 174px;
	border-bottom: 1px solid #666;
	}

#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;
	}



/* 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;
    }
}

/* Hide useless elements in print layouts... */
@media print {
    .ui-tabs-nav {
        display: none;
    }
}

/* Skin */
#container-4{ /* the whole container with all elements of the tabbed section */
	margin: 20px 0 20px 0 ;
	width:563px;
	background: url(../images/backgrounds/bg_leadarticle.jpg) repeat-x #E6E3D3; /* declare background color for container to avoid distorted fonts in IE while fading */
}

.ui-tabs-panel { /* the main content-section of the tabbed area NOT the tabs themselfes */
	width:530px;
    padding: 15px;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-right: 2px solid #999;
	border-bottom: 2px solid #999;
	background: url(../images/backgrounds/bg_leadarticle.jpg) repeat-x #E6E3D3;
}

.ui-tabs-panel .title{ /* for the headlines in the tabbed section */
	font:1.8em Georgia, "Times New Roman", Times, serif;
	line-height:100%;
	display:block;
	padding-bottom:7px;
	color: #840000;
	text-transform:none;
	letter-spacing:normal;

}

.ui-tabs-panel h1{
	font-size: 1.0em;
	padding: 0;
	margin: 0;
}

.ui-tabs-nav { /* the whole area of the tabs navigation above the tabbed-content */
    list-style:none;
    margin:0px;
    padding:0px;
}

.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
    display: block;
    clear: both;
    content: " ";
}
.ui-tabs-nav li {
    float: left;
    margin:0 1px 0 0;
    min-width: 85px; /* be nice to Opera */
}
.ui-tabs-nav .ui-tabs {
    display:block;
    padding:5px;
    background:#E6E3D3;
	margin:1px 0 0 0; /* position: relative makes opacity fail for disabled tab in IE */
	position: relative;
    top:1px;
    z-index:2;
    color: #333;
    font-weight:bold;
    line-height:1.2;
    text-align:center;
    text-decoration:none;
	border:1px solid #ccc;
    white-space:nowrap; /* required in IE 6 */    
    outline:0; /* prevent dotted border in Firefox */
}


.ui-tabs-nav .ui-tabs:hover { /* heres to define the hover effect of the tabs */
    background:#333;
	color:#fff;
}


.ui-tabs-selected .ui-tabs { /* the effects of the currently selected tab */
	background-color:#fff;
    color:#333;
	border-bottom:1px solid #fff;
}

.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;
}

.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;
}

.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;
}

.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; 
	background-color:#333;
	color:#fff;
}

.ui-tabs-disabled {
    opacity: .4;
    filter: alpha(opacity=40);
}

/* Additional IE specific bug fixes... */
* html .ui-tabs-nav { /* auto clear, @ IE 6 & IE 7 Quirks Mode */
    display: inline-block;
}
*: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;
}

