

/********** Global Styles **********/

/* The global font size is set to 90% as  */
/* most browsers' normal font size is too */
/* large, at least when using Verdana     */
html
{
}

body
{
    border-right: medium none;
    padding-right: 0px;
    border-top: medium none;
    padding-left: 0px;
    font-size: 80%;
    background: gainsboro;
    padding-bottom: 0px;
    margin: 0px;
    border-left: medium none;
    color: black;
    padding-top: 0px;
    border-bottom: medium none;
    font-family: Verdana, "Bitstream Vera Sans" , "Lucida Sans" , Arial, Helvetica, sans-serif;
}


.hidden
{
    /* Used for content that should be displayed */ /* by non-stylesheet-aware browsers          */
    display: none !important;
}

.notprinted
{
    /* Used for content that should not be */
}
/* printed to paper                    */


/* Headings */

h1, h2, h3
{
    font-weight: bold;
    text-align: left;
    margin: 0.5em 0px 0px;
    padding: 0;
}

h4, h5, h6
{
    font-weight: bold;
    text-align: left;
    margin: 0.25em 0 0 0;
    padding: 0;
}

h1
{
    font-size: 175%;
}
h2
{
    font-size: 145%;
}
h3
{
    font-size: 120%;
}
h4
{
    font-size: 105%;
}
h5
{
    font-size: 80%;
}
h6
{
    font-size: 65%;
}


/* Anchors */

a:link
{
    background: none transparent scroll repeat 0% 0%;
    color: #660099;
    text-decoration: none;
}

a:visited
{
    background: none transparent scroll repeat 0% 0%;
    color: #660099;
    text-decoration: none;
}

a:hover, a:active
{
    cursor: hand;
    color: red;
    text-decoration: underline;
}


/* Inline elements and classes */

/* This style sheet assumes B, BIG, EM, I, */
/* SMALL, STRONG, SUB and SUP are defined  */
/* by the browser as per the HTML4 sample  */
/* style sheet.                            */
code, kbd, pre, /* Note: PRE is a block element */ samp, tt
{
    font-family: "Courier New" , Courier, monospace;
    font-size: 115%; /* Courier tends to be a little too small */
    line-height: 1.0; /* Otherwise lines tend to spread out */
}

kbd, code.markup, /* HTML/CSS markup */ span.markup, /* Alternative form for HTML/CSS markup */ .title
{
    /* Title in floating boxes / left sidebar */
    font-weight: bolder;
}

abbr, acronym
{
    font: inherit; /* Don't use small-caps, etc. */
}

.tooltip
{
    cursor: help;
    border-bottom: 1px dotted #CCCCCC;
}

abbr[title], acronym[title]
{
    cursor: help;
    border-bottom: 1px dotted #CCCCCC;
}

cite, dfn, var, .fn, /* Filename */ .url, /* Uniform Resource Locator */ .email
{
    /* E-mail address */
    font-style: italic;
}

.program, /* Command-line name of a computer program */ .window, /* Window or dialog box name */ .menu, /* Menu item in a computer program */ .gui, /* Generic GUI element in a computer program */ .key
{
    /* Keypress in a computer program */
    font-weight: bolder;
}

.clearboxes
{
    /* Clear navboxes and floatboxes */
    clear: right;
}

.unicode
{
    font-family: "Arial Unicode MS" , "Lucida Sans Unicode" , Verdana, "Bitstream Vera Sans" , "Lucida Sans" , Arial, Helvetica, sans-serif;
}


/* Block-inline elements */

img
{
    vertical-align: baseline;
    margin: 0;
    padding: 0;
    border: none;
}

img.left
{
    /* Left-floating images */
    margin: 0.75em 1.5em 0.75em 0;
    float: left;
}

img.right
{
    /* Right-floating images */
    margin: 0.75em 0 0.75em 1.5em;
    float: right;
}

img.icon16[src]
{
    /* For 16x16 file-type icons */
    vertical-align: -10%; /* IE/Win cannot handle negative percentages */
}

del, del *
{
    /* Required for Mozilla */
    text-decoration: line-through;
}

ins, ins *
{
    /* Required for Mozilla */
    text-decoration: underline;
}


/* Block elements */

p
{
    margin: 1em 0;
    padding: 0;
}

blockquote
{
    /* Should only be used in main content area, */ /* floating boxes or left sidebar.           */
    margin: 1em 2.5em;
    padding: 0;
}

pre
{
    /* Should only be used in main content area  */ /* and floating boxes.                       */
    line-height: 1.2;
    margin: 1em 2.5em;
    padding: 0;
}

pre code, pre kbd, pre samp, pre tt
{
    font-size: 100%; /* PRE is already enlarged above */
    line-height: 1.2; /* Use same value as for PRE above */
}

hr
{
    color: #999999;
    background: transparent;
    height: 1px; /* Required for IE/Win */
    margin: 1em 0;
    padding: 0;
    border-color: #999999;
    border-width: 1px;
    border-style: none none solid none;
}

hr.lighter
{
    /* Warning: not printed out on paper */
    color: #F0F0F0;
    background: transparent;
    border-color: #F0F0F0;
}


/* Lists */

ol
{
    list-style: decimal outside;
    margin: 1em 0;
    padding: 0 0 0 2.5em;
}

ol.alpha
{
    list-style-type: lower-alpha;
}

ol.number
{
    list-style-type: decimal;
}

ul
{
    list-style: square outside;
    margin: 1em 0;
    padding: 0 0 0 2.5em;
}

ol ol, ol ul, ul ol, ul ul
{
    margin-top: 0;
    margin-bottom: 0;
}

ol ul, /* Override possible browser styles */ ol ol ul, ol ul ul, ul ul, ul ol ul, ul ul ul
{
    list-style: square outside;
}

li
{
	margin: 0;
	padding: 0;
	font-size: 80%;
}

dl
{
    margin: 1em 0;
    padding: 0;
}

dt
{
    font: inherit; /* Don't make the text bold by default */
    margin: 1em 0 0.25em 0;
    padding: 0;
}

dd
{
    margin: 0 0 1em 2.5em;
    padding: 0;
}


/* Tables */
/* Tables should never be used for visual */
/* formatting: that is the role of CSS!   */

table.simple
{
    color: inherit;
    background: inherit; /* Don't make tables transparent */
    border-collapse: collapse;
    border-spacing: 0;
    empty-cells: show;
    margin: 0.5em 2.5em;
    padding: 0;
    border: 1px solid #999999;
}

table.simple caption
{
    text-align: center;
    caption-side: top;
    margin: 0 2.5em 0.75em;
    padding: 0;
    border: none;
}

table.simple td, table.simple th
{
    text-align: center;
    vertical-align: middle;
    margin: 0;
    padding: 0.25em 0.5em;
    border: 1px solid #999999;
}

table.simple th, table.simple td.highlight, table.simple th.highlight
{
    font-weight: bold;
    color: inherit;
    background: #F0F0F0;
}

table.simple td.lighter, table.simple th.lighter
{
    color: inherit;
    background: #F8F8F8;
}

table.simple td.left, table.simple th.left
{
    text-align: left;
}

table.simple td.center, table.simple th.center
{
    text-align: center;
}

table.simple td.right, table.simple th.right
{
    text-align: right;
}


/* The following HTML elements should NOT be used in documents using this
   style sheet:

       address - use the #footer style instead
       q       - use &ldquo; and &rdquo; instead
*/


/********** Styles for Main Content **********/

#main
{
    padding-right: 1.5em;
    padding-left: 1em;
    background: whitesmoke;
    padding-bottom: 0.5em;
    margin: 0px 0px 0px 12.5em;
    border-left: #999999 1px solid;
    color: black;
    line-height: 1.5;
    padding-top: 0.25em;
    text-align: justify;
    min-height: 540px;
    height: 540px;
}
#main .bodytext
{
    padding-right: 1.5em;
    padding-left: 1em;
    background: whitesmoke;
    padding-bottom: 0em;
    margin: 0px 0px 0px 12.5em;
    border-left: #999999 1px solid;
    color: black;
    line-height: 1.5;
    padding-top: 0em;
    text-align: justify;
}
#main #bodytext p
{
    font-size: 85%;
}
#main .bodytext ul li
{
    padding-right: 0px;
    padding-left: 0px;
    padding-bottom: 0.12em;
    margin: 0px;
    padding-top: 0.12em;
    list-style-type: circle;
}


#main h1
{
    /* Should be used once, following navhead */
    color: #999999;
    background: transparent;
    margin: 0px 0px 5px 0px;
}

#main .highlight
{
    /* Highlight box (for warnings, etc) */
    color: inherit;
    background: #F0F0F0;
    margin: 1em 0;
    padding: 1em 2.5em;
    border: 1px solid #999999;
}

#main .totop
{
    /* For "Top ^" lines in FAQs, etc */
    font-size: 90%;
    text-align: right;
    margin: -0.75em 0 1em 0;
    padding: 0 0 0.25em 0;
    border-bottom: 1px solid #F0F0F0;
}

#main table.simple td.highlight, /* Else "#main .highlight" will override */ #main table.simple th.highlight
{
    margin: 0;
    padding: 0.25em 0.5em;
}


/* Other styles related to the main content */

#mainlink
{
    /* "Skip to main content" link */
    display: none !important;
}

#navhead
{
    font-size: 80%;
}

#navhead hr
{
    margin-top: 0em;
    margin-bottom: 0em;
    padding-bottom: 0em;
    padding-top: 0em;
}

#endmain
{
    visibility: hidden;
    clear: both; /* Doesn't always work under IE/Win */
}


/********** Styles for Floating Boxes **********/

/* "navbox" is used to provide intra/inter- */
/* page links; it is NOT printed out on     */
/* paper.  "floatbox" is used to provide    */
/* floating boxes that may appear anywhere  */
/* in the main content; they ARE printed.   */
.floatbox, .navbox
{
    overflow: hidden;
    font-size: 95%;
    line-height: 1.25;
    margin: 0 0 0.75em 1.5em;
    float: right;
    clear: right;
    padding-bottom: 0.5em;
    padding-left: 0px;
    padding-right: 0em;
    padding-top: 0.5em;
}
.floatboxmsg, .navboxmsg
{
    clear: left;
    border-right: red 1px solid;
    padding-right: 1em;
    border-top: red 1px solid;
    padding-left: 1em;
    font-size: 95%;
    float: left;
    padding-bottom: 0.5em;
    margin: 0px 0px 0.75em 1.5em;
    overflow: visible;
    border-left: red 2px solid;
    line-height: 1.25;
    padding-top: 0.5em;
    border-bottom: red 1px solid;
    background-color: #ffffff;
    text-align: center;
}

.floatbox
{
    background: #ffffff;
    width: 35%;
    color: black;
}

.navbox
{
    text-align: left;
    color: black;
    background: silver; /* width:           12.5em;*/
}

.floatbox hr, /* Used for non-stylesheet-aware browsers */ .navbox hr
{
    display: none !important;
}

.floatbox p, .navbox p
{
    margin: 0.75em 0;
    padding: 0;
}

.floatbox ol, .floatbox ul
{
    padding-right: 0px;
    padding-left: 1em;
    padding-bottom: 0px;
    margin: 0.75em 0px;
    padding-top: 0px;
}

.navbox ol, .navbox ul
{
    margin: 0.5em 0;
    padding: 0 0 0 1.5em;
}

.floatbox blockquote
{
    margin: 0.75em 1.5em;
    padding: 0;
}

.floatbox pre
{
    font-size: 95%;
    margin: 0.75em 1.5em;
    padding: 0;
}

.floatbox dt
{
    margin: 0.75em 0;
    padding: 0;
}

.floatbox dt
{
    margin: 0.75em 0 0.25em 0;
    padding: 0;
}

.floatbox dd
{
    margin: 0 0 0.75em 1.5em;
    padding: 0;
}

#main .floatbox .highlight
{
    color: inherit;
    background: silver;
    margin: 0.75em 0;
    padding: 0.75em 1.5em;
}

#main .floatbox table.simple
{
    margin: 0.75em 0;
}

#main .floatbox table.simple th, #main .floatbox table.simple td.highlight, #main .floatbox table.simple th.highlight
{
    color: inherit;
    background: silver;
    margin: 0;
    padding: 0.25em 0.5em;
}


/********** Styles for Header **********/

/* In this style sheet, headers are composed */
/* of three parts: left, right and subheader */
/* Left part is ideally an image.            */

#header
{
    background: black;
    color: #003399;
    font-family: Verdana, Tahoma, Arial;
}

#header a:link, #header a:visited
{
    color: #003399;
    background: transparent;
}

#header .highlight, #header a.highlight:link, #header a.highlight:visited
{
    color: silver;
    background: transparent;
}

/* Left part of header (ideally an image but may be a link) */

#header div.left
{
    float: left; /* clear:           left;*/
}

#header div.left img
{
    display: block; /* Otherwise IMG is an inline, causing gaps */
}

#header div.left, #header div.left a:link, #header div.left a:visited
{
    font-weight: bold;
    font-size: 250%;
    background: none transparent scroll repeat 0% 0%;
    color: silver;
    font-family: 'Old English Text MT' ,Verdana, Arial;
    text-decoration: none;
}

#header div.left p
{
    /*margin:          0 0 0 0.25em;*/
    padding: 0;
    margin: 0 0 0 0em;
}

#header div.left .alt
{
    color: #FF9800;
    background: transparent;
}

/* Right part of header is for external/global links, search, etc */

#header div.right
{
    clear: right;
    padding-right: 1.67em;
    padding-left: 1em;
    font-size: 90%;
    float: right;
    padding-bottom: 0px;
    margin: 0px;
    color: silver;
    padding-top: 0.5em;
    text-align: right;
}

#header div.right a:link
{
    padding-right: 0.5em;
    padding-left: 0.5em;
    padding-bottom: 0px;
    margin: 0px;
    color: silver;
    padding-top: 0px;
}
#header div.right a:visited
{
    padding-right: 0.5em;
    padding-left: 0.5em;
    padding-bottom: 0px;
    margin: 0px;
    color: white;
    padding-top: 0px;
}

#header div.right form
{
    margin: 0;
    padding: 0.25em 0 0 0;
}

#header div.right form input
{
    font-size: 95%;
    vertical-align: middle;
}

/* Subheader for global links */

#header div.subheader
{
    clear: both;
    padding-right: 1.5em;
    padding-left: 0.5em;
    background: darkgray;
    padding-bottom: 0.5em;
    margin: 0px;
    color: white;
    padding-top: 0.25em;
    border-bottom: black 1px solid;
}

#header > div.subheader
{
    padding: 0.5em 1.5em 0.5em 0.5em; /* For all other browsers */
}

#header div.subheader a:link
{
    padding-right: 0.5em;
    padding-left: 0.5em;
    background: none transparent scroll repeat 0% 0%;
    padding-bottom: 0px;
    margin: 0px;
    color: darkorchid;
    padding-top: 0px;
}
#header div.subheader a:visited
{
    color: black;
    background: transparent;
    margin: 0;
    padding: 0 0.5em;
}

#header div.subheader .highlight, #header div.subheader a.highlight:link, #header div.subheader a.highlight:visited
{
    color: #FDA05E;
    background: transparent;
}


/********** Styles for Left Sidebar **********/

#sidebar
{
    /*clear: both;*/
    float: left;
    width: 12.5em;
    min-height: 400px;
    height: 400px;
}

#sidebar div
{
    font-size: 95%;
    text-align: left;
    margin: 0;
    padding: 0.5em 1em; /*border-bottom:   1px solid #999999;*/
}

#sidebar div.lighter
{
    color: inherit;
    background-color: white;
}

#sidebar p
{
    margin: 0.5em 0;
}

#sidebar ul
{
    list-style: none outside;
    margin: 0.5em 0;
    padding: 0;
}

#sidebar ul li
{
    margin: 0;
    padding: 0.125em 0;
}
#sidebar ul li.highlight
{
    cursor: hand;
    background: white;
    margin-left: -1em;
    margin-right: -1em;
    padding-left: 1em;
    border-top: 1px solid #999999;
    border-bottom: 1px solid #999999;
}

#sidebar ul li.highlight a:link /*#sidebar ul li.highlight a:visited*/
{
    cursor: hand;
    color: black;
    background: transparent;
}
#sidebar ul li.highlight a:hover, a:active
{
    cursor: hand;
    color: white;
    background: silver;
    text-decoration: underline;
}

#sidebar ul li a:hover, a:active
{
    cursor: hand;
    color: white;
    text-decoration: underline;
}
#sidebar .title a:link, #sidebar .title a:visited
{
    color: black;
    background: transparent;
}
#sidebar .title ul li a:hover, a:active
{
    cursor: hand;
    color: white;
    text-decoration: underline;
}

/* Submenu */

#sidebar div.submenu
{
    font-size: 90%;
    background-color: #ffffff;
    margin: 0px;
}

/*#sidebar ul li.submenu.highlight a:link
{
	background: none transparent scroll repeat 0% 0%;
	cursor: hand;
	color: purple;
}
#sidebar ul li.submenu.highlight a:hover, a:active
{
	cursor: hand;
	color: black;
	text-decoration: underline;
	background: none transparent scroll repeat 0% 0%;

}

#sidebar ul li.submenu a:hover, a:active
{
	cursor: hand;
	color: red;
	text-decoration: underline;
}*/
/*Title*/
/*#sidebar .title.submenu a:hover, a:active
{
	cursor: hand;
	color: white;
	background-color: black;
	text-decoration: underline;
}*/

/********** Styles for Footer **********/

/*#footer
{
	clear: both;
	padding-right: 1.67em;
	font-size: 65%;
	background: black;
	padding-bottom: 0.5em;
	margin: 0px;
	color: silver;
	padding-top: 0.5em;
	text-align: right;
}*/
#footer
{
    font-size: 65%;
    background: black;
    color: silver;
    font-family: Verdana, Tahoma, Arial;
    height: 20px;
    padding-bottom: 10px;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

#footer a:link, #footer a:visited
{
    background: none transparent scroll repeat 0% 0%;
    color: red;
    text-decoration: none;
}

#footer hr
{
    border-right: #999999 1px;
    padding-right: 0px;
    border-top: #999999 1px;
    padding-left: 0px;
    background: none transparent scroll repeat 0% 0%;
    padding-bottom: 0px;
    margin: 0.1em 0px;
    border-left: #999999 1px;
    color: #999999;
    padding-top: 0px;
    border-bottom: #999999 1px solid;
    height: 1px;
}


#footer div.left
{
    clear: left;
    padding-left: 1.67em;
    font-size: 65%;
    background: black;
    float: left;
    padding-bottom: 0.1em;
    margin: 0px;
    color: silver;
    padding-top: 0.1em;
    text-align: left;
    text-decoration: none;
}

#footer div.left a:link
{
    padding-right: 1.67em;
    padding-left: 0.5em;
    padding-bottom: 0px;
    margin: 0px;
    color: silver;
    padding-top: 0px;
}
#footer div.left a:visited
{
    padding-right: 1.67em;
    padding-left: 0.5em;
    padding-bottom: 0px;
    margin: 0px;
    color: white;
    padding-top: 0px;
}
#footer div.right
{
    clear: left;
    padding-left: 1.67em;
    font-size: 65%;
    background: black;
    float: left;
    padding-bottom: 0.1em;
    margin: 0px;
    color: silver;
    padding-top: 0.1em;
    text-align: left;
    text-decoration: none;
}
/* End of the Sinorcaish style sheet */
#example
{
    border-right: #999999 2px solid;
    padding-right: 2.5em;
    border-top: #999999 2px solid;
    padding-left: 2.5em;
    padding-bottom: 0px;
    margin: 1em 0px;
    border-left: #999999 2px solid;
    padding-top: 0px;
    border-bottom: #999999 2px solid;
    background-color: white;
    text-align: center;
}
#example .float
{
    clear: right;
    padding-right: 1em;
    padding-left: 1em;
    font-size: 95%;
    float: right;
    padding-bottom: 0.5em;
    overflow: visible;
    background-color: transparent;
}
.valentine
{
    font-weight: bold;
    color: #a22243;
    font-style: italic;
}
#bodytext h1
{
    color: inherit;
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 120%;
}
.smaller h3
{
    font-size: 80%;
}
.smaller ul
{
    display: block;
}
.smaller ul li
{
    font-size: 9px;
}
#sidebar .title .submenu ul li a:hover
{
    text-decoration: underline;
    color: Silver;
}
#content
{
}
#sidebar .submenu .highlight a:hover
{
    background-color: #fff;
}
