/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 11px;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
/*a,
a:link, 
a:active {
	text-decoration: underline;
	/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element 
	background-color: inherit; 
	color: #000000; 
}*/

a:visited {
	text-decoration: underline;
	background-color: inherit;
	color: #666666;                /* a different color can be used for visited links */
}

/* remove underline on hover and change color */
a:hover {
	text-decoration: underline;
	background-color: inherit;
	color: #FF9900;
}

/*****************
basic layout 
*****************/
body {
   background-color: #F3EEEE;
   color: #000000;
   margin:0.5em;    /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
	margin: 0 auto;       /* this centers wrapper */
	width: 877px;
	background-color: #F3EEEE;
	color: #000000;
	background-image: url('images/content_background.gif');
	background-repeat: repeat-y;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
   height: 93px;    /* adjust according your image size */
   background-color: #F3EEEE;           
}
div#header a {
	text-decoration: underline;
	/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
	background-color: inherit; 
	color: #FF9900; 
	line-height: 1.4em;
}
div#header a:hover {
	text-decoration: none;
	/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
	background-color: inherit; 
	color: #FF9900; 
	line-height: 1.4em;
}

table.TopHeader {
	padding:0px;
	border: 0px;
	margin: 0px;
	border-spacing: 0px;
	border-collapse: collapse;
	font-size: 11px;
}
td.TopHeaderLang {
	background-image: url('images/header_lang_background.gif');
	text-align: center;
	color: #FF9900;
	height: 93px;
}
td.TopHeaderText {
	text-align: center;
	vertical-align: bottom;
}
p.TopHeaderText {
	text-align: center;
	color: #FF9900;
	margin-bottom: 5px;
}

div#menu {
	width: 867px;
	background-color: #F3EEEE;           
}
div#sideMenuLeft {
	float: left;
}
div#mainMenu {
   font-size: 11px;
}
div#subMenu {
	background-color: #F3EEEE; 
	height: 24px;
	border-bottom: 1px dashed #000;
}
div#sideMenuRight {
	float: right;
}

td.MainMenu {
	border-left: 1px solid #F3EEEE;
	border-top: 1px solid #F3EEEE;
	border-right: 1px solid #F3EEEE;
	background-color: #000; 
	text-align: center;
	font-size: 11px;
}
td.MainMenu a {
	text-decoration: none;
	color: #FF9900;
	background-color: #000; 
	line-height: 19px;
	display: block;
}
td.MainMenu a:visited {
	text-decoration: none;
	color: #FF9900;
	display: block;
}
td.MainMenu a:hover {
	text-decoration: none;
	color: #000!important;
	background-color: #F3EEEE!important; 
	display: block;
	line-height: 19px;
	font-weight: bold;
}
td.subMenuTD {
	font-size: 11px;
	font-weight: bold;
	color: #000;
	margin-left: 5px;
	margin-right: 5px;
	background-color: #F3EEEE;
	text-align: center;
	line-height: 19px;
	text-decoration: none;
}
td.subMenuTD a {
	line-height: 19px;
	text-decoration: none;
	display:block;
	color: #000;
}
td.subMenuTD a:visited {
	color: #000;
	text-decoration: none;
}
td.subMenuTD a:hover {
	color: #FF9900;
	text-decoration: none;
}
td.MainMenuRight {
	background-image: url('images/menu_right_background.gif');
	background-repeat: repeat-y;
}

td.construction {
	background-image: url('images/under_construction.gif');
	width: 280px;
	height: 300px;
	vertical-align: top;
	text-align: center;
	color: #FF9900;
	padding-left: 20px;
	padding-top: 20px;
	font-size: 20px;
}

div#content {
	float: right;
	margin-left:-153px;
	width: 100%;
}

div#main {
   margin-left: 153px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-top: 10px;
}
div#main a {
	color: #000;
	text-decoration: underline;
}
div#main a:visited {
	color: #000;
	text-decoration: underline;
}
div#main a:hover {
	color: #000;
	text-decoration: none;
}
div#main img {
	border: 1px solid #000;
	padding:0px;
	margin: 5px;
}
div#main img.galleryThumb {
	padding:0px;
	margin: 0px;
}
div#main td.galleryThumb {
	padding: 2px 3px;
	margin: 0px;
	text-align: center;
}

table.Main {
	padding:0px;
	border: 0px;
	margin: 0px;
	border-spacing: 0px;
	border-collapse: collapse;
}
td.MainSideBar {
	font-size: 11px;
	text-align: left;
	vertical-align: top;
}
td.MainSideBarDivider {
	border-left: 1px dashed #000;
}
td.MainText {
	vertical-align: top;
	padding: 0px 10px;
}
td.fontLinks {
	font-size: 11px;
	text-align: left;
	vertical-align: top;
}

table.News {
	padding:0px;
	border: 0px;
	margin: 0px;
	border-spacing: 0px;
	border-collapse: collapse;
}
td.NewsTopBorder1 {
	height: 1px;
	border-bottom: 1px dashed #FF9900;
}
td.NewsTopBorder2 {
	height: 1px;
}
td.NewsBottomBorder1 {
	height: 1px;
	border-top: 1px dashed #FF9900;
}
td.NewsHeader {
	border-left: 1px dashed #FF9900;
	padding-left: 5px;
	padding-top: 2px;
	padding-bottom: 5px;
	font-weight: bold; 
}
td.NewsItem {
	border-left: 1px dashed #FF9900;
	padding-left: 5px;
	padding-top: 2px;
	padding-bottom: 2px;
}

div#sidebar {
	background-image: url('images/sidebar_background.gif');
	background-repeat: repeat-y;
	float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
	width: 150px;     /* sidebar width, if you change this please also change #main margins */
	display: inline;  /* FIX IE double margin bug */
}
div#market_calendar {
	margin-top: 10px;
	padding-left: 10px;
	padding-right: 5px;
	color: #FF9900;
	font-size: 12px;
}
div#market_calendar hr {
	color: #000;
	height: 1px;
	border-left: 0px;
	border-top: 0px;
	border-right: 0px;
	border-bottom: 1px dashed #FF9900;
}
div#market_calendar p {
	text-align: left;
	padding: 2px;
	font-size: 12px;
}
div#market_calendar a {
	color: #FF9900;
	text-decoration: none;
}
div#market_calendar a:visited {
	color: #FF9900;
	text-decoration: none;
}
div#market_calendar a:hover {
	color: #FF9900;
	text-decoration: underline;
}
#marqueecontainer{
	position: relative;
	width: 130px; /*marquee width */
	height: 200px; /*marquee height */
	background-color: #000;
	color: #FF9900;
	overflow: hidden;
	padding: 2px;
	padding-left: 4px;
}

div#footer {
	clear:both;       /* keep footer below content and menu */
	color: #FF9900;
	height: 24px;
}

div#footer a {
	color: #FF9900; /* needed becouse footer link would be same color as background otherwise */
	font-size: 10px;
	text-decoration: underline;
}
div#footer a:visited {
	color: #FF9900; /* needed becouse footer link would be same color as background otherwise */
	font-size: 10px;
	text-decoration: underline;
}
div#footer a:hover {
	color: #FF9900; /* needed becouse footer link would be same color as background otherwise */
	font-size: 10px;
	text-decoration: none;
}

div#albums {
	margin-left: 3px;
}
div#albums p {
	margin: 0px;
	padding: 0px;
}

table.Footer {
	padding:0px;
	border: 0px;
	margin: 0px;
	border-spacing: 0px;
	border-collapse: collapse;
	height: 24px;
}
td.FooterLeft {
	background-image: url('images/footer_left_background.gif');
	text-align: right;
	color: #FF9900;
}
td.FooterRight {
	background-image: url('images/footer_right_background.gif');
	text-align: right;
	color: #FF9900;
}
td.FooterMiddle {
	background-image: url('images/footer_middle_background.gif');
	background-repeat: repeat-x;
	text-align: right;
	color: #FF9900;
	font-size: 10px;
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 1em;
}

/* relational links under content */
div.left49 {
  float: left;
  width: 49%; /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}

img.float_left {float: left; clear: left; margin: 0 1.33em 0 0;}


/********************
CONTENT STYLING
*********************/
/* HEADINGS */
div#content h1 {
	color: #000; 
	font-size: 2em; /* font size for h1 */
	line-height: 1em;
	margin: 0;
}
div#content h2 {
	color: #000; 
	font-size: 1.5em; 
	text-align: left; 
	line-height: 1.5em;
	margin: 0.5em 0 0.5em 0;
}
div#content h3 {
	color: #000; 
	font-size: 13px;
	line-height: 1.3em;
	margin: 0 0 0.2em 0;
}
div#content h4 {
	color: #000; 
	font-size: 1.2em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
div#content h5 {
	color: #000; 
	font-size: 1.1em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
div#content h6 {
	color: #000; 
	font-size: 1em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}

/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.0em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
}
p.information {
   font-size: 80%;
   color: #333333; 
}
p.errortext {
	font-weight:bold; 
	color:#ff0000!important;
}
p.smallTextBold {
	font-size:0.8em; 
	font-weight:bold; 
}
p.smallText {
	font-size:0.8em; 
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

.formText {
	margin:0px; 
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;


}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* TABLES */
table.pages {
	text-align:center;
	border-collapse: collapse;
}
.pages {
	padding: 0.1em;
	border: 1px solid #4040FF;
}
.pagesL {
	text-align: left;
	padding: 0.1em;
	border: 1px solid #4040FF;
}
td.copyright_left {
	padding-left: 20px;
	text-align: left;
}
td.copyright_right {
	padding-right: 20px;
	text-align: right;
}
td.memberlist {
	border-top: thin solid;}
td.memberlist2 {
	text-align: right;
	border-top: thin solid;}
td.memberDetail {
	padding: 1px;
}

/* END TABLES */

/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 0 1.5em 0;
}

div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}

/* END LISTS */

/********************
MENU
*********************/
#menu_vert {
   padding-left: 0;
   margin-left: 1em;
}


/* third level has some padding to have it stand out */
div#menu_vert ul ul ul {
   padding-bottom: 0.5em;
}

/* menu li block */
#menu_vert li {
   list-style: none;
   margin: 0;
   border-bottom: 1px solid #0B209F;
   display: block;
}

#menu_vert ul ul li {
   border: none;
}

/** fix stupid ie bug with display:block; **/
* html #menu_vert li a { height: 1%; } 
* html #menu_vert li hr { height: 1%; }
/** end fix **/

/* first level links */
div#menu_vert a {
   text-decoration:none; /* no underline for links */
   display: block; /* IE has problems with this, fixed above */
   padding: 0.5em 0.5em 0.5em 1.5em; /* some air for it */
   color: #0B209F; /* this will be link color for all levels */
   background: url(images/cms/arrow-right.gif) no-repeat 0.5em center; 
   background: transparent; 
   min-height:1em; /* Fixes IE7 whitespace bug */ 
}

/* next level links, more padding and smaller font */
div#menu_vert ul ul a {
   font-size: 90%;
   padding: 0.5em 0.5em 0.5em 2.8em;
   background-position: 1.5em center;
}

/* third level links, more padding */
div#menu_vert ul ul ul a {
   padding: 0.3em 0.5em 0.3em 4.3em;
   background: url(images/cms/dash.gif) no-repeat 2.8em center; 
}

/* hover state for all links */
div#menu_vert a:hover {
   background-color: #DDE2F3;
}
div#menu_vert a.activeparent:hover {
   background-color: #0B209F;
   color: #FFFFFF;
}

/* 
active parent, that is the first-level parent 
of a child page that is the current page 
*/
div#menu_vert li a.activeparent {
   background: url(images/cms/arrow-down.gif) no-repeat 0.4em center; 
   background-color: #0B209F;
   color: #FFFFFF;
}

div#menu_vert ul ul li a.activeparent {
   background-position: 1.5em center; 
   background-color: transparent;
   color: #FFFFFF;
}


/* 
current pages in the default Menu Manager 
template are unclickable. This is for current page on first level 
*/
div#menu_vert ul h3 {
   background: url(images/cms/arrow-right-active.gif) no-repeat 0.4em center;
   background-color: #0B209F;
   display: block; 
   padding: 0.5em 0.5em 0.5em 1.5em;  /* some air for it */
   color: #FFFFFF;                                 /* this will be link color for all levels */
   font-size: 1em;                           /* instead of the normal font size for <h3> */
   margin: 0;                                  /* as <h3> normally has some margin by default */
}

/* 
next level current pages, more padding, 
smaller font and no background color or bottom border 
*/
div#menu_vert ul ul h3 {
   font-size: 90%;
   padding: 0.3em 0.5em 0.3em 2.8em;
   background: url(images/cms/arrow-right-active-blue.gif) no-repeat 2.7em center; 
   background-position: 1.4em center;
   background-color: transparent;
   border-bottom: none;
   color: #0B209F;     
}

/* current page on third level, more padding */
div#menu_vert ul ul ul h3 {
   padding: 0.3em 0.5em 0.3em 4.3em;
   background: url(images/cms/arrow-right-active-blue.gif) no-repeat 2.7em center; 
}

/* section header */
div#menu_vert li.sectionheader {
   border-right: none;
   font-size: 130%;
   font-weight: bold;
   padding: 1.5em 0 0.8em 0;
   background-color: #fff;
   line-height: 1em;
   margin: 0;
   text-align:center;
}



/* separator */
div#menu_vert li.separator {
   height: 1px !important;
   margin-top: -1px;
   margin-bottom: 0;
   padding:2px 0 2px 0;
   background-color: #000;
   overflow:hidden !important;
   line-height:1px !important;
   font-size:1px; /* for ie */
}

div#menu_vert li.separator hr {
   display: none; /* this is for accessibility */
}

/* END MENU */

/* FORMS */
.button{
	font-size: 1em;
	color: #000080;
	background: #DDE2F3;
	border: 1px solid #000080;
}

.textfield{
	font-size: 1em;
	color: #000080;
}

.textarea{
	font-size: 110%;
	color: #000080;
}

.dropdown{
	font-size: 1em;
	color: #000080;
}
/* END FORMS */

td.videoText {
	text-align: left;
}

div.clip_div {
	float: left;
	width: 350px;
	padding-bottom: 10px;
}
div.clip_div td{
	vertical-align: bottom;
}
td.clipText {
	text-align: left;
	padding-bottom: 5px;
}

/* ImageRotator */
.image_rotator {
	float: left;
	position: relative;
	margin-bottom: 25px;
	/*display: none;*/
}
/*--Window/Masking Styles--*/
.window {
	height:120px;	width: 560px;
	overflow: hidden; /*--Hides anything outside of the set width/height--*/
	position: relative;
}
.image_reel {
	position: absolute;
	top: 0; left: 0;
}
.image_reel img {
	float: left;
	border: none!important;
	padding: 0px!important;
	margin: 0px!important;
}

/*--Paging Styles--*/
.paging {
	position: absolute;
	bottom: 2px; right: -5px;
	width: 80px; height:26px;
	z-index: 100; /*--Assures the paging stays on the top layer--*/
	text-align: center;
	line-height: 20px;
	background: url(images/paging_bg4.png) no-repeat;
	display: none; /*--Hidden by default, will be later shown with jQuery--*/
}
.paging a {
	padding: 2px 3px;
	text-decoration: none!important;
	color: #fff!important;
}
.paging a.active {
	font-weight: bold!important; 
	color: #000!important;
	background: #FFE9C0; 
	border: 1px solid #610000;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
}
.paging a:hover {font-weight: bold;}

