/******************************************************************
 * TITLE: Grey Boxes Stylesheet for Sinorca                       * 
 * URI  : http://www.oswd.org/design/???/sinorca/sinorca-grey.css *
 * MODIF: 2003-01-13 1237 +0800                                   *
 ******************************************************************/


/* ###### Body Text ###### */

body {
  background-color: white;
  font-family: verdana, tahoma, helvetica, arial, sans-serif;
  font-size: 82%;
  margin: 0;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

h1, h2, h3 {
  color: white;
  background-color: #6487dc;
  padding-left: 1ex;
  padding-right: 1ex;
}

h1 {
  font-weight: bold;
  font-size: 100%;
  padding-top: 0.5ex;
  padding-bottom: 0.5ex;
  margin-top: 3ex;
}

img {
  border: none;
}

q {
  font-family: tahoma, verdana, helvetica, arial, sans-serif;
  text-align: left;
  width: 9em;
  margin: 0 1em 1ex 1em;
  padding: 0.5ex 0.5ex 0.5ex 1ex;
  border-style: solid;
  border-width: 1px;
  float: right;
}

acronym {
  border-bottom-style: dotted;
  border-bottom-width: 1px;
  cursor: help;
}

code {
  font-family: "lucida console", "courier new", courier, monospace;
}

dt {
  font-weight: bold;
  padding-left: 1ex;
  padding-right: 1ex;
}

dd {
  padding-left: 1ex;
  padding-right: 1ex;
  padding-bottom: 1.5em;
}

#rightSideBox{
	float:right;
	width:120px;
	margin: 10px 5px 0px 0px;	
}

#bodyText {
	text-align: justify;
	line-height: 1.5em;
	margin: 0 11.5em 0 15.5em;
	clear: none;
}

#bodyText p {
  padding-left: 1ex;
  padding-right: 1ex;
  padding-bottom: 2ex;
}

#bodyText .topOfPage {
  color: white;
  font-weight: bold;
  font-variant: small-caps;
  border: 0;
  padding: 0.25ex 1ex;
  float: right;
}

#bodyText [class~="topOfPage"] {
  padding: 1.5ex 1ex;
}

.smallCaps {
  font-variant: small-caps;
}


/* ###### Header ###### */

#upperMenuBar {
  height: 2.1em;
}

#upperMenuBar a {
  font-size: 90%;
  text-decoration: none;
  padding-left: 0.8ex;
  padding-right: 1.6ex;
}

#upperMenuBar a:hover {
  text-decoration: underline;
}

.LHS {
  position: absolute;
  left: 1.7mm;
  top: 1ex;
}

.RHS {
  position: absolute;
  right: 0.6mm;
  top: 0.9ex;
}

#header {
  font-size: 335%;
  height: 1.45em;
  padding-left: 4mm;
}

#headerSearch {
  position: absolute;
  right: 2mm;
  top: 1.85em;
}

#headerSearch .text {
  font-family: "lucida console", "courier new", courier, monospace;
  font-size: 97%;
  font-size-adjust: 0.55;
  width: 9em;
  height: 2ex;
  padding: 1mm;
  border-style: solid;
  border-width: 1px;
}

#headerSearch [class~="text"] {  /* This rule only rendered by CSS2-fully compliant browsers */
  height: 2ex;
}

#headerSearch .submit {
  font-size: 100%;
  font-weight: bold;
  border-style: solid;
  border-width: 1px;
  cursor: pointer;
  position: relative;
  top: -0.25ex;
}

#lowerMenuBar {
  height: 1.55em;
  padding-left: 1.3mm;
  padding-top: 1ex;
}

#lowerMenuBar a {
  font-weight: bold;
  text-decoration: none;
  padding-left: 0.75ex;
  padding-right: 1.5ex;
}  

#lowerMenuBar a:hover {
  text-decoration: underline;
}

#upperMenuBar .highlight, #lowerMenuBar .highlight {
  /* See: color-scheme.css */
}


/* ###### Side Boxes ###### */

.sideMenuBox, .sideLoginBox{
  background-color: #f0f0f0;
  width: 13.8em;
  border-bottom: 1px solid #999999;
  padding-top: 1em;
  padding-bottom: 1em;
  float: left;
  clear: left;
  border-right: 1px solid #999999;
}

.sideTextBox{
  background-color: #f0f0f0;
  width: 13.8em;  
  padding-top: 1em;
  padding-bottom: 1em;
  float: left;
  clear: left;
  border-right: 1px solid #999999;
  border-bottom: 1px solid #999999;
}

.sideMenuBox div, .sideTextBox div {
  padding-left: 2.5mm;
  padding-bottom: 1ex;
}

.sideLoginBox div{
  padding-left: 2.5mm;
  padding-bottom: 1ex;
}

.sideMenuBox a {
  text-decoration: none;
  display: block;
  padding: 1.5ex 1ex 1.5ex 5mm;
}

.sideMenuBox a:hover {
  /* See: color-scheme.css */
}

.sideMenuBox .thisPage {
  display: block;
  padding: 1.2ex 1ex 1.2ex 5mm;
}

.sideTextBox span {
  line-height: 1.5em;
  display: block;
  padding: 0 1ex 0 5mm;
}

.lighterBG {
  background-color: white;
}

/* ###### Footer ###### */

#footer {
  font-size: 90%;  
  clear: left;
}

#footer div {
  text-align: right;
  line-height: 1.45em;
  
  border-top: 1px solid #999999;
  border-bottom: 1px solid #999999;
}

#footer a {
  text-decoration: none; 
  border-bottom-style: solid;
  border-bottom-width: 1px;
}

#footer a:hover {
  border-bottom: none;
}

.footerLHS {
  float: left;
  clear: left;
}

.answer {
  font-family: tahoma, verdana, helvetica, arial, sans-serif;
  text-align: left;  
  margin: 0 1em 1ex 1em;
  padding: 0.5ex 0.5ex 0.5ex 1ex;      
}

/*used to format [code][/code]*/
.codeBox, .code{
  font-family: monospace, Courier;
  font-size: 11px;  
  background-color: #f0f0f0; 
  border: 1px solid #999999; 
  /*width: 400px;*/
  padding: 0.5ex 0.5ex 0.5ex 1ex;      
}

.quote {
  margin-left: 30px;
  margin-right: 30px;
  font-size: 11px;  
  background-color: #f0f0f0; 
  border-left: 1px solid #999999; 
  /*width: 400px;*/
  padding: 0.5ex 0.5ex 0.5ex 1ex;      
}


/*Look and feel for html tables for data*/
.dataGrid { border:solid whitesmoke 1px;}
.dataGrid th{ padding: 4px; border-left:solid #ccddee 1px; white-space: nowrap;}	
.dataGrid td{ padding: 4px;}
.dataGrid.dataGridTitle{ background-color: #274e90; font-weight: bold; color: white;}
.dataGrid.dataGridHeader{ background-color: #ccddee;}
.dataGrid.rowColor1{ background-color: white;}
.dataGrid.rowColor2{ background-color: whitesmoke;}		
.dataGrid.rulerColor{ background-color: #9cf;}		

/* style for href buttons*/
.button {
	border-right: black 1px solid;
	padding-right: 5px;
	border-top: black 1px solid; 
	padding-left: 5px;
	font-weight: bold;
	font-size: 12px;
	filter: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=white,endColorStr=silver);
	padding-bottom: 1px;
	text-transform: lowercase;
	border-left: black 1px solid;
	height: 10px;
	color: black; 
	padding-top: 1px;
	border-bottom: black 1px solid;
	font-family: Arial;
	background-color: silver;
	text-decoration: none;
	margin-right: 2px;
}

/* Mouseover style of href buttons */
.button:hover {
	text-transform: lowercase;
	background-color: #274e90;
	color: white;
	font-family: Arial;
	text-decoration: none;
	font-size: 12px;
	height: 10px;
	border-width: 1px;
	border-style: solid;
	border-color: Black;
	padding-bottom: 1px;
	padding-top: 1px;
	padding-left: 5px;
	padding-right: 5px;
	filter: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#004ba9,endColorStr=#002a55);
	margin-right: 2px;
}

/* styles for forms */
form {
	margin: 3px 0 3px 0;
	}
	
.formbutton {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 10px;
	color: #000000;
	padding: 1px;
	border: 1px solid;
	} 
	
.inputbox {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;	
	background: #FFFFFF;
	border: 1px solid; }
	
.sidebarLinks {
	margin-left: 10px;			
	padding: 0px;
}

.sidebarLinks li{
	left: 3em;
	list-style: none;		
}
.sidebarLinks a{
	padding: 0 ;
	margin: 0;
}

