/* Layout Stylesheet tnb website*/

html, body, ul, ol, li, p, h1, h2, h3, h4, h5, h6, form, fieldset {  
margin: 0; 
padding: 0; 
border: 0; 
}

.noprint{
}

body {
	color: #0000FF;
	text-align:left;
	padding:0px;
	margin: 0px;
	background-color: #FFFFFF;
	font: 12px Geneva, Arial, Helvetica, sans-serif;
}

h1{
	border-bottom:4px solid #FF8000;
	color:#000066;
}

h1 a{text-transform:none; color:#4088b8;}

h2{
	color:#000099;
}

h3{
	color:#0000FF;
}

#pageheaderimages {
	width: 900px;
	height: 100px;
	margin: auto;
/*	background-image: url(images/headerimage.jpg);
	background-repeat: no-repeat;
	background-position: right center; */
}
#pageheaderimages img{
	float: left;
}

#pageheadersearch {
	width: 270px;
	float: right;
	text-align: left;
	background-color: #eaeaff;
	background-image: url(images/noticecorner3.jpg);
	background-repeat: no-repeat;
	background-position: right top;
	border: 1px solid #CECEFF; /*#cccccc;*/
	border-right: 2px solid #CECEFF; /*#cccccc;*/
	border-bottom: 2px solid #CECEFF; /*#cccccc;*/
	padding-left: 10px;
}

#pageheaderimages img{
	margin-top: 20px;
}

#bannerads {
	padding: 2px 0px 2px 0px;
	width: 100%;
	margin: auto;
	font-size: 0px;  /* hack to get rid of white space in Firefox */
	height: 122px;
	overflow: hidden;
	text-align: center;
	clear: both;
}

#bannerads img {
	vertical-align: middle;
	margin-left: 5px;
	border: solid 1px #FFFFFF;
}
	
#outer {
	background-color: #FFFFFF;
	margin: 0 auto 0 auto;	/* don't use just 0 because it won't work! */
	text-align: left;
	width: 900px;
	/* position: relative; /* needed to keep ferry image in place */
}


/* This is the same as footer */
#topnavbar {
  clear:both;
  text-align: left;
  width: 100%;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 100%;
  float: none;
  background-color:#FFFFFF;
  margin: 2px 0px 5px 0px;
  padding: 0px;
}

#topnavbar a{
  color: #ffffff;
}

#topnavbarleft {
	float: left;
	color: #ffffff;
	background-color: #FF8000;
	margin:0;
	padding: 5px;
	text-align: left;
	border: none;
}

#topnavbarright {
  background: #0000FF; /*#22739B; */
  color: #ffffff;
  text-align: right;
  margin:0;
  padding: 5px;
  border: none;
}

#bodyblock {
	color: #000000;
	width: 900px;
	padding: 0px;
	margin: 0px;
/*	
	border-left: 1px solid #f0f0fc;
	border-right: 1px solid #f0f0fc;
*/	
}

#leftcolumn {
	float:left;
	width:180px;
	text-align: left;
	padding: 0 5px 0px 5px;
	margin: 0px;
	background-color: #FFFFFF;
}

#leftcolumn p {
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 0px;
}

.ticker{
	width: 160px;
}

div.leftfooterimage{
	background-image: url(images/footerimage.jpg);
	background-repeat: no-repeat;
	background-position: 5px bottom;
	height: 200px;
}
#leftmenu {
	float:left;
	width:179px;
	text-align: left;
	margin: auto;
}

#leftmenu .bluebackground {
	color: #ffffff;
	text-align: center;
	display: block;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 100%;
	font-weight: normal;
	padding: 0.2em 0 0.2em 0;
	margin: 0px;
	margin-top: 0px;
	background-image: url(images/header_bg_179.jpg);
	background-repeat: no-repeat;
	background-position: center top;
}

#tradingas img {
	width: 180px;
	margin-top: 10px;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: 0px;
	border: 1px solid #CECEFF; /*#cccccc;*/
	border-right: 2px solid #CECEFF; /*#cccccc;*/
	border-bottom: 2px solid #CECEFF; /*#cccccc;*/
}

.adminhome a {
	color: #22739B;
	background:  #FFFFFF;
	text-align: left;
	font-size: 110%;
	font-weight: normal;
	line-height: 150%;
}

#content {
	width: 698px;
	float: right;
	color: #000000;
	text-align:left;
	margin: 0;
	padding: 0;
}


/* Content for showcontent.php popup window */
#content_left {
	width: 698px;
	color: #000000;
	text-align:left;
	padding: 0 0 5px 10px;
	margin: 0;
}

#admincontent {
	margin: auto;
	}

#midcolumn {
	width: 480px;
	height: 100%;
	float: left;
}


/*
#content p, #midcolumn p{
	line-height: 1.2em;
	margin: 0 0 20px 0;
  }
  
#content ol, #content ul, #content li, 
#midcolumn ol, #midcolumn ul, #midcolumn li 
{
  margin: 0.2em 0 0.8em 2em; 
  line-height: 1.2em;
} 
*/


#rightcolumn {
	float: right;
	width: 205px;
	margin: 0px;
	top: 0px;
	right: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 0px;
}

#rightcolumn p {
  margin: 5px;
  padding: 0px;
}

div.rcsection {
	background-color: #eaeaff;
	background-image: url(images/noticecorner3.jpg);
	background-repeat: no-repeat;
	background-position: right top;
	border: 1px solid #CECEFF; /*#cccccc;*/
	border-right: 2px solid #CECEFF; /*#cccccc;*/
	border-bottom: 2px solid #CECEFF; /*#cccccc;*/
	margin: 5px 0px 5px 0px;
	padding-bottom: 15px;
	padding-left: 10px;
}
div.amara {
	margin-top: 10px;
}

/* Right Column Forum Message Groups */
div.rcg {
	margin-bottom: 10px;
	padding-bottom: 10px;
	background-image: url(images/divider.jpg);
	background-position: center bottom;
	background-repeat: no-repeat;
}

p.rcgheader{
	font-size: 105%;
	color: #000066;
}
p.rcgfooter {
	font-size: 80%;	
}

/* windows with white background used by FAQ popup window*/
.whitebackground {
  float: left;
	background-color: #FFFFFF;
	margin: 0px;
	padding: 5px;
}

.whitebackground h3 {
	margin: 0px;
	margin-bottom: 5px;
	background: #22739B;
	color: #FFFFFF;
	font-weight: normal;
}

.faq_group_header{
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size:14px;
	font-weight:normal;
	color:#990066;
	background-image: url(file:///D|/websites/test/homepage_files/images/tnb_bullet.gif);
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 20px;
	margin-bottom: 5px;
}


/* end of windows with white background used by FAQ popup window*/


#footer {
	clear:both;
	text-align: left;
	width: 100%;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1em;
	float: none;
	padding: 12px 0px 10px 0px;
	margin: 0px;
}

#footerleft {
  float: left;
  background:#FF8000;
  color: #ffffff;
  margin:0;
  padding: 5px;
  text-align: left;
	border: none;
}

#footerright {
  background: #0000FF;
  color: #ffffff;
  text-align: right;
  margin:0;
  padding: 5px;
	border: none;
}

p.ForumMessageHeader {
	background-color: #22739B;
	color: #FFFFFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
	font-style: normal;
	line-height: 80%;
	font-weight: normal;
}

.ForumMessage {
	background-color: #FFFFFF;
	color: #000000;
	margin-top: 10px;  
}

div.clear {
	clear: both;
}


/* 
Hack to set min height of main content courtesy of http://www.greywyvern.com/ 
This is implemented with content60 in the following way...
<body>
	<div id="content60">
	<div class="prop minheight"></div>
*/	
.prop {
    float:left;
    width:0px;
	 background-color:#FF0000; 
	}
	
.minheight {
    height: 600px;
	width:  0px;
	}
/* end of hack to set min height of main content */	
.buscardimage {
	text-align: center;
	margin-bottom: 10px;
}	
.buscardimage img{
	padding: 10px;
	border: solid 1px #000000;
}

input.tnb_formbutton{
	padding: 10px;
	margin: 10px;
}

p.form_prompt {
	margin: 10px 0px 5px 10px;
	color: #000000;
}
p.form_value {
	margin: 10px 0px 5px 20px;
	color: #000066;
}

ul.vbuttons
{
	margin-left: 0;
	padding-left: 0;
	list-style-type: none;
}

ul.vbuttons a
{
	display: block;
	text-decoration: none;
	border: 0px;
	border-top: 1px solid #8BB3F4;
	border-left: 1px solid #8BB3F4;
	border-bottom: 1px solid #28426D;
	border-right: 1px solid #28426D;
	background-color: #f4f4f4;
	color: #000066;
	font-family: 'Lucida Grande', Geneva, Arial, Verdana, sans-serif;
	font-size: 14px;
	padding: 3px 10px 3px 10px;
	margin: 4px;
	width: 140px;
}

ul.vbuttons a:hover
{
}
ul.hbuttons {
	margin-left: 0;
	padding-left: 0;
	list-style-type: none;
}

ul.hbuttons li {
	display: inline;
}
ul.hbuttons a {
	display: inline;
	text-decoration: none;
	border: 0px;
	border-top: 1px solid #8BB3F4;
	border-left: 1px solid #8BB3F4;
	border-bottom: 1px solid #28426D;
	border-right: 1px solid #28426D;
	background-color: #f4f4f4;
	color: #000066;
	font-family: 'Lucida Grande', Geneva, Arial, Verdana, sans-serif;
	font-size: 14px;
	padding: 3px 10px 3px 10px;
	margin: 4px;
	width: 140px;
}

ul.hbuttons a:hover
{
}

div.tnbbutton {
	width: 100px;
	margin: 5px;
	float: left;
	}

	
.adactive, .adnotactive 	{
	margin: 10px 0px;
	font-weight: bold;
}
.adactive {
	color:#0000FF;
}
.adnotactive {color:#FF0000;}	

/* set width of all droplists */
div select {
	width: 300px; /* Width for modern browsers */
	padding: 2px;
}

.width_wide {
	width: 500px;
}

/* public styles */

.blueheader{
	margin: 5px;
	padding: 0.4em;
	color: #ffffff;
	text-align: left;
	display: block;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1.5em;
	font-weight: bold;
	color: #000066;
	background-image: url(images/subheaderbarblue.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
}
.orangeheader{
	margin: 5px;
	padding: 0.4em;
	color: #ffffff;
	text-align: left;
	display: block;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1.5em;
	font-weight: bold;
	color: #000066;
	background-image: url(images/subheaderbarorange.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
}

div.sortorders, div.sortorders a{
	margin: 1em;
}

.article-addnewbutton{
	width: 90%;
	text-align: right;
	}

.article, .search-results {
	width: 90%;
	margin: 2em 1em 2em 1em;
	padding: 0px;
	border: 1px solid #dadada;
}

.article p {
	padding: 0 5px 0 5px;
}

.article-header {
	font-size: 120%;
	color: #000066;
	background-color: #eaeaff;
	padding: 0.5em;
	margin-bottom: 0.5em;
	border-bottom: 1px solid #dadada;
}

.article-body {
}

.article-footer {
	font-size: 95%;
	color: #000066;
	background-color: #FFFFCC;
	padding: 0.5em;
	margin-top: 0.5em;
	border-top: 1px solid #dadada;
	clear: both;
}

.article-author {
	background: url(images/comment.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}

.article-date {
	padding-left: 20px; margin: 0 10px 0 5px;
	background-image: url(images/clock.gif);
	background-repeat: no-repeat;
	background-position: left center;
}	

.article-reply {
	padding-left: 20px;
	margin: 0 10px 0 5px;
	background-image: url(images/page.gif);
	background-repeat: no-repeat;
	background-position: left center;
}

.search-results-header {
	font-size: 120%;
	color: #000066;
	background-color: #eaeaff;
	padding: 0.5em;
	margin-bottom: 0.5em;
	border-bottom: 1px solid #dadada;
	font-weight: bold;
}
 .search-results-body {
	}

.search-results p {
	padding: 0 5px 0 5px;
}
 
.search-results img {
	border: #FFFF00 thin solid;
	margin-right: 10px;
	float: left;
}
.search-results-footer {
	color: #000066;
	background-color: #FFFFCC;
	padding: 0.5em;
	border-top: 1px solid #dadada;
	clear: both;
	margin-top: 0.5em;
}
.search-results-keywords {
	background: url(images/keywords.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}

.center-text {
	text-align: center;
}

td.bluetext {
	border: 2px outset gray;
	background-color: threedlightshadow;
	color:blue; 
    empty-cells: show; 
    padding: 0.3em;
}
td.blacktext {
	border: 2px outset gray;
	background-color: #C6FFB8;
	color: black; 
    empty-cells: show; 
    padding: 0.3em;
}

.normal {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-style: normal;
	line-height: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	color: #333333;
	text-decoration: none;
}

.normaltitle {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 150%;
        font-style: normal;
        line-height: normal;
        font-weight: bold;
        font-variant: normal;
        text-transform: none;
        color: #333333;
        text-decoration: none;
}

.title {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 150%;
	color: #333333;
	text-decoration: none;
	font-weight: normal;
	text-transform: none;
}

tr.tr_oddrow {
	background-color: #FFFFFF;
}
tr.tr_evenrow {
		background-color: #eeeeee;
}
tr.tr_highlightrow {
		background-color: #eaeaff;
}

.normalBold {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 120%;
	font-style: normal;
	line-height: normal;
	font-weight: bold;
	font-variant: normal;
	text-transform: none;
	color: #333333;
	text-decoration: none;
	border-bottom: 2px solid #666666;
}

.normalUnderline {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-style: normal;
	line-height: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	color: #333333;
	text-decoration: underline;
	background-color: #FFFFFF;
	border: 1px none #82D7FF;
}

.whiteonblue {
	font-style: normal;
	line-height: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	color: #FFFFFF;
	text-decoration: none;
	background-color: #0066FF;
	border: 1px solid #91C8C8;
}

.blocktext400 {
	width: 400px;
	margin: 10px auto 10px auto;
	background:#f0f0f0;
	padding:10px;
} 

.notice {
	line-height: 1.6em;
	margin: 0.5em 0;
	padding: 12px;
	padding-right: 25px;
	color: #000033;
	background-color: #eaeaff;
	background-image: url(images/noticecorner3.jpg);
	background-repeat: no-repeat;
	background-position: right top;
	border: 1px solid #CECEFF; /*#cccccc;*/
	border-right: 2px solid #CECEFF; /*#cccccc;*/
	border-bottom: 2px solid #CECEFF; /*#cccccc;*/
}

.notice400{
	width: 400px;
	line-height: 1.6em;
	margin: 0.5em auto 0.5em auto;
	padding: 12px;
	padding-right: 25px;
	color: #000033;
	background-color: #eaeaff;
	background-image: url(images/noticecorner3.jpg);
	background-repeat: no-repeat;
	background-position: right top;
	border: 1px solid #CECEFF;
	border-right: 2px solid #CECEFF;
	border-bottom: 2px solid #CECEFF;
	font-size: 120%;
}

p.boldtext {
	font-size: 14px;
	font-weight: bold;
	color: #000066;
}
.blueborder {
	padding: 0px 10px 0px 10px;
	margin: 10px 0 10px;
	border: 1px solid #CECEFF;
	border-right: 2px solid #CECEFF;
	border-bottom: 2px solid #CECEFF;
	background-image: url(images/noticecorner2.jpg);
	background-repeat: no-repeat;
	background-position: right top;
}

.para400{
	width: 400px;
	line-height: 1.6em;
	margin: 0.5em auto 0.5em auto;
	padding: 12px;
	padding-right: 25px;
	border: 1px solid #CCCCCC;
}

.center-notice{
	text-align: center;
	line-height: 1.6em;
	margin: 0.5em;
	padding: 5px;
	color: #808080;
	border: 1px solid #CCCCCC;
	background-color: #f4f4f4;
	background-image: url(images/noticebg.gif);
	background-repeat: no-repeat;
	background-position: right bottom;
	}

.pullquoteleft {
	width: 150px;
	float:left;
	font-size:150%;
	padding: 5px;
	margin: 5px 20px 5px 0px;
	border-top: 6px double #CCCCCC;
	border-bottom: 6px double #CCCCCC;
	text-align: left;
}
.pullquoteleft:first-letter {
	font-size:180%;
}
.pullquoteright {
	width: 150px;
	float: right;
	font-size:150%;
	padding: 5px;
	margin: 5px 0px 5px 20px;
	border-top: 6px double #CCCCCC;
	border-bottom: 6px double #CCCCCC;
	text-align: left;
}
.pullquoteright:first-letter {
	font-size:180%;
}

/* alignment classes */
.float-left  { float: left; }
.float-right {	float: right; }
.align-left  {	text-align: left; }
.align-right {	text-align: right; }

/* Default Styles for www HTML4 */
html, address,
blockquote,
body, dd, div,
dl, dt, fieldset, form,
frame, frameset,
h1, h2, h3, h4,
h5, h6, noframes,
ol, p, ul, center,
dir, hr, menu, pre   { display: block }
li              { display: list-item }
head            { display: none }
table           { display: table }
tr              { display: table-row }
thead           { display: table-header-group }
tbody           { display: table-row-group }
tfoot           { display: table-footer-group }
col             { display: table-column }
colgroup        { display: table-column-group }
td, th          { display: table-cell }
caption         { display: table-caption }
th              { font-weight: bolder; text-align: center }
caption         { text-align: center }
body            { margin: 8px }
h1              { font-size: 2em; margin: .67em 0 }
h2              { font-size: 1.5em; margin: .75em 0 }
h3              { font-size: 1.17em; margin: .83em 0 }
h4, p,
blockquote, ul,
fieldset, form,
ol, dl, dir,
menu            { margin: 1.12em 0 }
h5              { font-size: .83em; margin: 1.5em 0 }
h6              { font-size: .75em; margin: 1.67em 0 }
h1, h2, h3, h4,
h5, h6, b,
strong          { font-weight: bolder }
blockquote      { margin-left: 40px; margin-right: 40px }
i, cite, em,
var, address    { font-style: italic }
pre, tt, code,
kbd, samp       { font-family: monospace }
pre             { white-space: pre }
button, textarea,
input, select   { display: inline-block }
big             { font-size: 1.17em }
small, sub, sup { font-size: .83em }
sub             { vertical-align: sub }
sup             { vertical-align: super }
table           { border-spacing: 0px; }
thead, tbody,
tfoot           { vertical-align: middle }
td, th          { vertical-align: inherit }
s, strike, del  { text-decoration: line-through }
hr              { border: 1px inset }
ol, ul, dir,
menu, dd        { margin-left: 40px }
ol              { list-style-type: decimal }
ol ul, ul ol,
ul ul, ol ol    { margin-top: 0; margin-bottom: 0 }
u, ins          { text-decoration: underline }
br:before       { content: "\A" }
:before, :after { white-space: pre-line }
center          { text-align: center }
:link, :visited { text-decoration: underline }
/* :focus          { outline: thin dotted invert }  shows up in IE8*/ 

/* make links and inputs in these divs look like buttons */
.linkbutton {
	border: 0px;
	border-top: 1px solid #8BB3F4;
	border-left: 1px solid #8BB3F4;
	border-bottom: 1px solid #28426D;
	border-right: 1px solid #28426D;
	background-color: #f4f4f4;
	color: #000066;
	font-size: 12px;
	padding: 0.5em 1.0em;
	text-decoration: none;
	cursor: pointer;
	line-height: 4.0em;
}

.linkbutton:visited {
	background-color: #eeeeee;
}
.linkbutton:hover {
	border-style: inset;
	background-color: #eeeeee;
}
.linkbutton:active {
	color: black
}

/* make links and inputs in these divs look like buttons */

.advertisingbuttons{
}
.advertisingbuttons form{
	padding: 1px;
	margin: 0;
}

.submitbutton,
.submitbuttonright {
	border: 0px;
	border-top: 1px solid #8BB3F4;
	border-left: 1px solid #8BB3F4;
	border-bottom: 1px solid #28426D;
	border-right: 1px solid #28426D;
	background-color: #f4f4f4;
	color: #000066;
	padding: 0.2em;
	margin: 0px;
	cursor: pointer;
	font: 10pt Verdana, Arial, Helvetica, sans-serif;
	width: 160px;
}

.submitbuttonright {
	float: right;
}

.backbutton {
	margin: 10px;
	height: 45px;
	width: 30px;
	float: right;
}

.googlemap {
	border: 1px solid #CECEFF; /*#cccccc;*/
	border-right: 2px solid #CECEFF; /*#cccccc;*/
	border-bottom: 2px solid #CECEFF; /*#cccccc;*/
	padding: 1px;
}

/* Invoice Styles */
#invoice {	/* centre the invoice */
	color: #000000;
	width: 600px;
	padding: 0px;
	margin: 0 auto 0 auto;	/* don't use just 0 because it won't work! */
}

.invoiceaddress{
	text-align: left;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	}	

.right{
	float: right;
	}	
.left{
	float: left;
	}	
	
/* TAX INVOICE header */	
.invoicetaxheader{ 
	font-size: 16px;
	font-weight: bold;
	color: #000066;
	text-align: center;
	padding: 0.5em;
	margin: 0.5em 0 0.5em 0;
	border-top: 1px solid #dadada;
	border-bottom: 1px solid #dadada;
}	

/* sub headers for invoice items */
.invoiceheaders{
	font-size: 16px;
	font-weight: bold;
	color: #000066;
	text-align: left;
}	

/* Invoice items */
.invoiceitems{
	font-size: 14px;
	font-weight: normal;
	color: #000;
	text-align: left;
	margin-left: 20px;
}	

div.vertical {
	clear: both;
	margin-top: 0px;  /* gwb - give some space below menu */
	margin-bottom: 10px;  /* gwb - give some space below menu */
}
div.vertical br {
	clear: both;
}
