/****************** GENERAL.CSS ************************/
/* Form validation */
.invalid { border-color: #ff0000; }
label.invalid { color: #ff0000; }

/* Buttons */
#editor-xtd-buttons {
	padding: 5px;
}

.button2-left,
.button2-right,
.button2-left div,
.button2-right div {
	float: left;
}

.button2-left a,
.button2-right a,
.button2-left span,
.button2-right span {
	display: block;
	height: 22px;
	float: left;
	line-height: 22px;
	font-size: 11px;
	color: #666;
	cursor: pointer;
}

.button2-left span,
.button2-right span {
	cursor: default;
	color: #999;
}

.button2-left .page a,
.button2-right .page a,
.button2-left .page span,
.button2-right .page span {
	padding: 0 6px;
}

.page span {
	color: #000;
	font-weight: bold;
}

.button2-left a:hover,
.button2-right a:hover {
	text-decoration: none;
	color: #0B55C4;
}

.button2-left a,
.button2-left span {
	padding: 0 24px 0 6px;
}

.button2-right a,
.button2-right span {
	padding: 0 6px 0 24px;
}

.button2-left {
	background: url(../images/j_button2_left.png) no-repeat;
	float: left;
	margin-left: 5px;
}

.button2-right {
	background: url(../images/j_button2_right.png) 100% 0 no-repeat;
	float: left;
	margin-left: 5px;
}

.button2-left .image {
	background: url(../images/j_button2_image.png) 100% 0 no-repeat;
}

.button2-left .readmore {
	background: url(../images/j_button2_readmore.png) 100% 0 no-repeat;
}

.button2-left .pagebreak {
	background: url(../images/j_button2_pagebreak.png) 100% 0 no-repeat;
}

.button2-left .blank {
	background: url(../images/j_button2_blank.png) 100% 0 no-repeat;
}

/* Tooltips */
div.tooltip {
	float: left;
	background: #ffc;
	border: 1px solid #D4D5AA;
	padding: 5px;
	max-width: 200px;
	z-index:13000;
}

div.tooltip h4 {
	padding: 0;
	margin: 0;
	font-size: 95%;
	font-weight: bold;
	margin-top: -15px;
	padding-top: 15px;
	padding-bottom: 5px;
	background: url(../images/selector-arrow.png) no-repeat;
}

div.tooltip p {
	font-size: 90%;
	margin: 0;
}

/* Caption fixes */
.img_caption.left {
	float: left;
	margin-right: 1em;
}

.img_caption.right {
	float: right;
	margin-left: 1em;
}

.img_caption.left p {
	clear: left;
	text-align: center;
}

.img_caption.right p {
	clear: right;
	text-align: center;
}

/* Calendar */
a img.calendar {
	width: 16px;
	height: 16px;
	margin-left: 3px;
	background: url(../images/calendar.png) no-repeat;
	cursor: pointer;
	vertical-align: middle;
}


/****************** SIZE.CSS ************************/
#page_bg {
	margin:0;
	padding: 0;
	margin-bottom: 1px;
}


/* template position */
div#wrapper_left {
	margin-left: 0;
	margin-right: auto;
}

div#wrapper_center {
	margin-left: auto;
	margin-right: auto;
	margin-bottom:20px;
}
div#wrapper_right {
	margin-left: auto;
	margin-right: 0;
}



/* template width */
body.width_medium div#wrapper_right ,body.width_medium div#wrapper_left ,body.width_medium div#wrapper_center {
	width: 950px;
}

body.width_small div#wrapper_right ,body.width_small div#wrapper_left ,body.width_small div#wrapper_center {
	width: 800px;
}

body.width_fluid div#wrapper_right ,body.width_fluid div#wrapper_left ,body.width_fluid div#wrapper_center {
	width: 1050px;
}

/****************** CURVY.CSS ************************/
div#tabarea_l {
	background: url(../images/curvy/mw_header_l_b.gif) 0 0 no-repeat;
	padding-left: 14px;
}

div#footer_width {
	margin:0 9px;
}


div#footer {
	background: transparent url(../images/curvy/mw_footer_b.gif) 0 100% repeat-x;
}

div#footer_l {
	background: transparent url(../images/curvy/mw_footer_b_l.gif) 0 0 no-repeat;
}

div#footer_r {
	background: transparent url(../images/curvy/mw_footer_b_r.gif) 100% 0 no-repeat;
}

div.module_menu div {
	background: url(../images/curvy/mw_box_bl.png) 0 100% no-repeat;
}

div.module_menu {
	background: url(../images/curvy/mw_box_br.png) 100% 100% no-repeat;
}

div.module_menu div div div {
	background: url(../images/curvy/mw_box_tl.png) 0 0 no-repeat;
}

div.module_menu div div {
	background: url(../images/curvy/mw_box_tr.png) 100% 0 no-repeat;
}

div#tabarea {
	background: transparent url(../images/curvy/mw_header_b.gif) 0 0 repeat-x;
	margin: 0 8px;
}

div#tabarea_r {
	height: 42px;
	background: url(../images/curvy/mw_header_r_b.gif) 100% 0 no-repeat;
	padding-right: 1px;
}

td.greyline {
  width: 20px;
  vertical-align:bottom;
  text-align:left;
  background: url(../images/curvy/mw_line_grey.png) 50% 0 repeat-y;
}

td.greyline .greyline_bottom {
  width: 20px;
  background: url(../images/curvy/mw_line_grey_bottom.png) 50% 0 no-repeat;
  height:50px;
}

td.pill_l {
  background: url(../images/curvy/mw_menu_cap_l.png) no-repeat;
  width:  16px;
  height: 32px;
}
td.pill_r {
  background: url(../images/curvy/mw_menu_cap_r.png) no-repeat;
  width:  16px;
  height: 32px;
}

#pillmenu ul li {
	float: left;
	background: url(../images/curvy/mw_menu_cap_r.png) top right no-repeat;
	margin: 0;
	padding: 0;
}

div#leftbg {
	background: transparent url(../images/curvy/mw_shadow_l.gif) 0 0 repeat-y;
}

div#rightbg {
	background: url(../images/curvy/mw_shadow_r.gif) 100% 0% repeat-y;

}

#sgnewsflash {
	height:118px;
	margin:0 0 10px 0;
	width:100%;
	overflow:hidden;
}
#sgnewsflash .left_bg {
	background: transparent url(../images/curvy/news_left_bg.gif) top left no-repeat;
	height:118px;
	width:20px;
}
#sgnewsflash .middle_bg {
	background: transparent url(../images/curvy/news_middle_bg.gif) top left repeat-x;
	height:118px;
}
#sgnewsflash .right_bg {
	background: transparent url(../images/curvy/news_right_bg.gif) top right no-repeat;
	height:118px;
	width:20px;

}

#search {
	background: url(../images/curvy/search_bg.png) no-repeat top left;
	float: right;
	width:206px;
	height:30px;
	margin-top: 0px;
	padding:0px;
	text-align:center;
}

#pillmenu a {
  background: url(../images/curvy/mw_menu_cap_l.png) top left no-repeat;
 }


/****************** TEMPLATE.CSS ************************/
html {
  height: 100%;
  margin-bottom: 0px;
}


form {
  margin: 0;
  padding: 0;
}

body {
	font-family: Tahoma,Arial,Helvetica,sans-serif;
	line-height: 1.4em;
	margin: 0;
	padding:0;
	font-size: 14px;
	color: #444;
}


img { border: 0 none; }

div#logo {
	width: 100%;
	height: 236px;
	margin-left: 10px;
	font-size: 36px;
	text-align: center;
	font-weight: 900;
	vertical-align: bottom;
	font-family: Georgia, "Myriad Pro", Impact, Helvetica, Tahoma, serif;
}

table.table_small {
	height:100%;
	width: 780px;
	background-repeat:no-repeat;
}

table.table_medium {
	height:100%;
	width: 930px;
	background-repeat:no-repeat;

}

table.table_fluid {
	height:100%;
	width: 1030px;
	background-repeat:no-repeat;
}



div#header {
	text-align:left;
	height: 236px;
	width:100%;
}

div#custom_logo {
	height: 236px;
	margin-left: 10px;
	float:left;
}


a:link, a:visited {
	text-decoration: none;
	font-weight: normal;
}


a:hover {
	text-decoration: underline;
	font-weight: normal;
}


input.button {
 cursor: pointer;
}


p {
  margin-top: 0;
  margin-bottom: 15px;
}


div#newsflash {
	width: auto;
	margin-left: 350px;
	margin-right: 30px;
	border: 1px solid #00f;
}


div#footer_r {
	padding-top: 10px;
	height: 47px;
	overflow: hidden;
}


div#footer_r div {
	text-align: center;
	font-size: .90em;
	color: #aaa;
}


div#footer_r a:link, div#footer_r a:visited  {
	color: #999;
}

div#toppathway {
	text-align:left;
	margin:0 10px;
}


div#toppathway table {
	width:100%;
	height:27px;
}


#area {
	padding: 0;
}

#whitebox {
	margin: 0 11px 0px 11px;
	width: auto;
}

#whitebox_m {
	margin: 0 10px 0px 10px;
	width: auto;
	padding: 1px 0px;

}


#whitebox div {
	text-align: left;
}

table.pill {
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  text-align:left;
  width:100%;
}

td.pill_m {
  padding: 0;
  margin: 0;
  width: auto;
}


#pillmenu {
  white-space: nowrap;
  height: 32px;
  float: left;
  margin: auto auto auto 230px;
}

#pillmenu ul {
  margin: 0;
  padding: 0;
  list-style:none;
}

#leftcolumn {
	padding: 0;
	margin: 0;
	width: 20%;
	float:left;
}

#maincolumn, #maincolumn_full {
	margin-left: 20%;
	padding-left: 15px;
	width: 78%;
}


#maincolumn_full {
	margin-left: 0;
}

table.nopad {
	width: 100%;
	border-collapse: collapse;
	padding: 0;
	margin: 0;
	margin-bottom: 15px;
}

table.nopad td.middle_pad {
	width: 20px;
}


div.offline {
	background: #fffebb;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	font-size: 1.2em;
	padding: 5px;
}

span.pathway {
  display: block;
  height: 20px;
  overflow: hidden;
}


div.componentheading {
  padding-left: 0px;
}


h1 {
	padding: 0;
	font-family: Tahoma, Helvetica ,Arial,sans-serif;
	font-size: 1.3em;
	font-weight: bold;
	vertical-align: bottom;
	color: #666;
	text-align: left;
	width: 100%;
}


h2, .contentheading {
	padding: 0;
	font-family: Tahoma, Arial, Helvetica,sans-serif;
	font-size: 1em;
	font-weight: bold;
	vertical-align: bottom;
	color: #666;
	text-align: left;
	width: 100%;
}


table.contentpaneopen h3 {
	margin-top: 25px;
}

h4 {
	font-family: Arial, Helvetica, sans-serif;
	color: #333;
}


h3, .componentheading, table.moduletable th, legend {
  margin: 0;
  font-weight: bold;
  font-family: Helvetica,Arial,sans-serif;
  font-size: 1.3em;
  padding-left: 0px;
	margin-bottom: 10px;
	text-align: left;
}

.small {
	font-size: .90em;
	color: #999;
	font-weight: normal;
	text-align: left;
}

.modifydate {
  height: 20px;
  vertical-align: bottom;
	font-size: .90em;
	color: #999;
	font-weight: normal;
	text-align: left;
}


.createdate {
	height: 20px;
	vertical-align: top;
	font-size: .90em;
	color: #999;
	font-weight: normal;
	vertical-align: top;
	padding-bottom: 5px;
	padding-top: 0px;
}



/* form validation */
.invalid { border-color: #ff0000; }
label.invalid { color: #ff0000; }


/** overlib **/

.ol-foreground {
	background-color: #f6f6f6;
}

.ol-background {
	background-color: #666;
}

.ol-textfont {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
}

.ol-captionfont {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #f6f6f6;
	font-weight: bold;
}

.ol-captionfont a {
	color: #0B55C4;
	text-decoration: none;
	font-size: 12px;
}

.ol-closefont {}

/* menu links */
a.mainlevel:link, a.mainlevel:visited {
	padding-left: 5px;
}

a.mainlevel:hover {

}


/* Menu */

span.article_separator {
	display: block;
	height: 20px;
}

.article_column {
	padding-right: 5px;
}

td.buttonheading {
vertical-align:top;
}

.clr {
	clear: both;
}


div#maindivider {
  border-top: 1px solid #ddd;
  margin-bottom: 10px;
  overflow: hidden;
  height: 1px;
}

table.blog span.article_separator {
	display: block;
	height: 20px;
}

/* table of contents */

table.contenttoc {
  margin: 5px;
  border: 1px solid #ccc;
  padding: 5px;
}

table.contenttoc td {
  padding: 0 5px;
}


/* content tables */
td.sectiontableheader {
  background: #efefef;
  color: #333;
  font-weight: bold;
  padding: 4px;
  border-right: 1px solid #fff;
}


tr.sectiontableentry0 td,
tr.sectiontableentry1 td,
tr.sectiontableentry2 td {
  padding: 4px;
}

td.sectiontableentry0,
td.sectiontableentry1,
td.sectiontableentry2 {
  padding: 3px;
}

/* content styles */
table.contentpaneopen, table.contentpane {
	margin: 0;
	padding: 0;
	width: auto;
}

table.contentpaneopen li {
	margin-bottom: 5px;
}

table.contentpane ul li a.category {
	font-weight: bold;
}

table.contentpane ul li {
	color:#666;
}

table.contentpaneopen fieldset {
	border: 0;
	border-top: 1px solid #ddd;
}

table.contentpaneopen h3 {
	margin-top: 25px;
}

table.contentpaneopen h4 {
	font-family: Arial, Helvetica, sans-serif;
	color: #333;
}

/* module control elements */
table.user1user2 div.moduletable {
	margin-bottom: 0px;
}

div.moduletable, div.module {
  margin-bottom: 25px;
}

div.module_menu {
	margin: 0;
	padding: 0;
	margin-bottom: 15px;
}


div.module_menu div div div {
	padding: 8px;
	padding-top: 6px;
	padding-bottom: 6px;
	width: auto;
}

div.module_menu div div div div {
	background: none;
	padding: 0;
}

div.module_menu ul li a:link, div.module_menu ul li a:visited {
	line-height:16px;
	font-weight: bold;
	font-family: Tahoma, Helvetica, Arial, sans-serif;
}

#leftcolumn div.module {
	padding: 0 10px;
}

#leftcolumn div.module table {
	width: auto;
}

/* forms */
table.adminform textarea {
  width: 540px;
  height: 400px;
  font-size: 1em;
  color: #000099;
}

div.search input  {
	width: 130px;
	height: 15px;
	border: none;
	margin: 10px 0px 0 0;
	background:none;
	font: 12px normal Tahoma, Arial, Helvetica, sans-serif;
	color:#666;
	padding:0 2px;
	border:1px solid #cccccc;
}

div.search input.button {
	width: 50px;
	border: none;
	margin: 0 0 0 3px;
	font: 12px normal Tahoma, Arial, Helvetica, sans-serif;
	color:#999999;
}

input[type="checkbox"], input[type="radio"]{
   background: transparent;
   border: 0;
}

/* thumbnails */
div.mosimage         {  margin: 5px; }
div.mosimage_caption {  font-size: .90em; color: #666; }

div.caption       { padding: 0 10px 0 10px; }
div.caption img   { border: 1px solid #CCC;margin:0 5px; }
div.caption p     { font-size: .90em; color: #666; text-align: center; }


/* Parameter Table */
table.paramlist {
	margin-top: 5px;
}

table.paramlist td.paramlist_key {
	width: 128px;
	text-align: left;
	height: 30px;
}

table.paramlist td.paramlist_value {
}


div.message {
	font-family : "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size : 14px;
	color : #c30;
	text-align: center;
	width: auto;
	background-color: #f9f9f9;
	border: solid 1px #d5d5d5;
	margin: 3px 0px 10px;
	padding: 3px 20px;
}


/* Banners module */

/* Default skyscraper style */

.bannergroup {
}

.banneritem {
}

/* Text advert style */

.banneritem_text {
	padding: 4px;
	font-size: 11px;
}


/* System Messages */
/* see system general.css */

.pagination span { padding: 2px; }
.pagination a    { padding: 2px; }

/* Polls */
.pollstableborder td {
	text-align: left;
}

/* Frontend Editing*/
fieldset {
	border: 1px solid #ccc;
	margin-top: 15px;
	padding: 15px;
}

legend {
	margin: 0;
	padding: 0 10px;
}

td.key {
	border-bottom:1px solid #eee;
	color: #666;
}


/* Tooltips */
.tool-tip {
	float: left;
	background: #ffc;
	border: 1px solid #D4D5AA;
	padding: 5px;
	max-width: 200px;
}

.tool-text {
	font-size: 100%;
	margin: 0;
}

/* Debug */
#system-debug     { color: #666666; background-color: white; padding: 10px; margin: 10px; }
#system-debug div { font-size: 11px;}


#controlswitch {
	position:absolute;
	float:right;
	top:-126px;
	right:10px;
	margin:0;
	overflow:hidden;
	width:206px;	
}

#controlswitch .tab-theme {
	height:140px;
	float:right;
	width:206px;
}

#controlswitch .tab-theme a.link {
	cursor: pointer;
}

#controlswitch .tab-theme .imgbg {
width:206px;
height:140px;
background: url(../images/cp.gif) bottom left;
}

table#cplinks {
	width:100%;
	margin:0 10px;
}

#cplinks a, #cplinks a:link {
	font: 10px normal Tahoma, Arial, Helvetica, sans-serif;
	color:#666;
	line-height:20px;
	text-decoration:none;
	padding:0;
	margin:0;
}

#cplinks a:hover {
	color: #3039aa;
}

#cplinks p .cplinks {
	margin:0;
	padding:0;
}


/****************** TOPMENU_CURVY.CSS ************************/
#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
}

#nav a {
	display: block;
/*	width: 10em;*/
}

#nav li { /* all list items */
	float: left;
	/*width: 10em; */
	/* width needed or else Opera goes nuts */
}

#nav li ul { /* second-level lists */
	position: absolute;
	width: 230px;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	margin:-4px 0 0 0px;
}

#nav li ul ul { /* third-and-above-level lists */
	margin: -1em 0 0 230px;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -999em;
}

#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 { /* lists nested under hovered list items */

	left: auto;
}

/* /////////////////////////////////////////////////////////////////////////////////// */

ul#nav li a {
margin:0;
padding:0 0 0 8px;
	font-family:Tahoma,Arial,Helvetica,sans-serif;
	font-weight:bold;
	text-decoration:none;
}

ul#nav li a span{
display:block;
padding: 8px 16px 4px 8px;
	font-family:Tahoma,Arial,Helvetica,sans-serif;
	font-weight:bold;
	text-decoration:none;
}

#nav .navi a, #nav .navi a:link {
	background-image:none;
	font-family:Tahoma,Arial,Helvetica,sans-serif;
	font-weight:bold;
	text-decoration:none;
	width:230px;
	margin:0px;
	padding:0px;
}
#nav .navi a span {
	height:140%;
	background-image:none;
	margin:0;
	padding:4px 16px;
	display:block;
}

#nav .firstli {
	margin:0;
	padding:0;
}

#nav li ul { /* second-level lists */
	background: url(../images/curvy/libg.jpg) bottom left no-repeat;
}

#nav li ul ul { /* third-and-above-level lists */
	background: url(../images/curvy/libg.jpg) bottom left no-repeat;
}

ul#nav li a {
	background: url(../images/curvy/mw_menu_cap_l.png) no-repeat top left;
	}

ul#nav li a span{
	background: url(../images/curvy/mw_menu_cap_r.png) top right no-repeat;
}

#nav .firstli {
	background: url(../images/curvy/firstli.gif) top left no-repeat;
}