*{margin:0;padding:0;} /*zeroes out margins so not controlled by browser*/

body {
    background: #d5dabc url(topbar.jpg) no-repeat;
    top: 0px; left: 0px;
    color: #525d21;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
}
		
#wrapper {
    position: absolute;
    top: 0px; left: 0px;
    width: 780px;
    margin: 0;
    padding: 0;
}        

#main {
    position: absolute;
    top: 107px; left: 0px;
    width: 619px;
    margin: 0;
    padding: 0;
    text-align: center;
    border-right: 1px solid #767E43;	/*525d21*/
    border-bottom: 1px solid #767E43;
    border-left: 160px solid #767E43;
    
}        

#content {
    width: 600px;
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    padding: 0;
    text-align: center;
}

#profile {
		width: 100%;
		height: 500px;
		margin-top: 30px;
}


/* ------------ home page styles ------------ */



/* ------------ navigation styles ------------ */

#menu {
    position: absolute;
    top: 40px; left: 0px;
    width: 160px; /* set width of menu */
    background: #767E43;
} 

#menu ul { /* remove bullets and list indents */
    list-style: none;
    margin: 0;
    padding: 0;
}

#menu a { /* style, color and size links and headings to suit */
    background: #767E43;
    color: #d5dabc;
    font: normal 12px/17px arial, helvetica, sans-serif;
    text-align: left;
    display: block;
    margin: 0 0 10px 3px;
    padding: 1px 0 1px 5px;
    border-top: 2px;
    border-right: 0;
    border-bottom: 2px;
    border-left: 1px;
    border-style: solid;
    border-color: #939f5f;
    text-decoration: none;
}

#menu a.submenu {
    margin: 0;
    padding: 1px 0 1px 5px;
    border: none;
}

#menu a:hover {
    color: #ffffaa;
    background: #767E43;
}

#menu li { /* make the list elements a containing block for the nested lists */
    position: relative;
} 

#menu ul ul ul {
    position: absolute;
    top: 0;
    left: 100%; /* to position them to the right of their containing block */
    width: 100%; /* width is based on the containing block */
}

div#menu ul ul ul,
div#menu ul ul li:hover ul ul
{display: none;}

div#menu ul ul li:hover ul,
div#menu ul ul ul li:hover ul
{display: block;}


/* Styling for Expand */

#menu a.x, #menu a.x:visited{
    background: #767E43 url(expand.gif) no-repeat right;
}



/* ------------ link styles ------------ */


.footer a {text-decoration: none;}


/*a:link.plain {
        color: #295a31;
        text-decoration: none;
        }
        
a:link {
        color: blue;
        text-decoration: none;
        }
        
a:visited {
        color: #b22222; 
        text-decoration: none;
        }
        
a:hover {
        color: #ff9966;
        text-decoration: none;
        }
        
a:active {
        color: #b22222;
        text-decoration: none;
        }
*/



/* ------------ page number styles ------------ */


div.pageno {
		width: 550px;
		margin-top: 10px;
		margin-right: auto;
		margin-bottom: 15px;
		margin-left: auto;
		text-align: center;
}

.pageno ul {
		list-style: none;
		margin: 0;
		padding: 0;
}

.pageno ul li {
		display: inline;
		margin: 0;
		padding: 0;
}

.pageno ul a {
		background: #767E43;
		color: #ffffaa;
		font-size: 9px;
		text-align: center;
		margin: 0;
		padding: 2px 4px;
		text-decoration: none;
}

.pageno ul a:hover {
    background: #ffffaa;
		color: #767E43;
}


.pageno ul a.current {
		background: #ffffaa;
		color: #767E43;
}




/* ------------ paragraph styles ------------ */

p {
    font-size: 9px;
    text-align: left;
    line-height: 1.2em;
    margin: 1.0em 0em 1.0em 0em;
    padding: 0;
}

.right {
    text-align: right;
}
        
.center {
    text-align: center;
}
        
p.home {
		font-size: 10px;
		text-align: center;
		line-height: 1.2em;
		margin: 0.2em 50px 1.0em 50px;
		padding: 0;
}

#profile p {
    font-size: 10px;
    text-align: left;
    line-height: 1.2em;
    margin: 1.5em 50px 1.0em 50px;
    padding: 0;
}

.company {
		color: #07265C;
}

#profile p.contact {
    text-align: center;
}

.click {color: blue;}


p.footer {
    text-align: center;
    font-size: 9px;
    padding-top: 10px;
    border-top: 1px solid #525d21;  /* provides rule above page footer */
    margin: 15px 20px 15px 20px;
}



/* ------------ heading styles ------------ */

h1, h2, h3, h4, h5 {
    font-family: arial, verdana, helvetica, sans-serif;
    color: #525d21;
}

h1 {
    font-size: 17px;
    text-align: center;
    margin-top: 0em;
    margin-bottom: 0em;
}
        
h2 {
    background: #767E43;
    color: #ffffaa;
    font-size: 15px;
    text-align: center;
    margin: 1.2em 180px 0.75em 180px;
    padding: 4px 0;
    border-top: 2px;
    border-right: 2px;
    border-bottom: 2px;
    border-left: 2px;
    border-style: solid;
    border-color: #939f5f;
}

h2.plain {
		background: none;
    color: #525d21;
    font-size: 15px;
    text-align: center;
    margin: 1.2em 0 0.2em 0;
    padding: 0;
    border: none;
}
       
h3 {
    font-size: 14px;
    text-align: center;
    margin: 1.2em 0em 0.2em 0em;
}
       
/*h4 {
    font-size: 11px;
    text-align: center;
    margin: 1.2em 0em 1.2em 0em;
}

h5 {
    font-size: 10px;
    text-align: left;
    margin: 1.2em 0em 0.25em 0em;
}*/


/* ------------ table styles ------------ */

table.images {
		width: 560px;
		margin-top: 0;
		margin-right: auto;
		margin-bottom: 0;
		margin-left: auto;
		/*border: 1px solid aqua;*/
}
        
.images td {
    text-align: center;
    vertical-align: top;
    padding: 5px;
    /*border: 1px solid yellow;*/
}

.images td.middle {
    vertical-align: middle;
}

.images td  p {
    font-size: 9px;
    line-height: 1.2em;
    text-align: center;
    padding: 5px 0;
    margin: 0;
}

table.data {
		width: 400px;
		margin-top: 0;
		margin-right: auto;
		margin-bottom: 15px;
		margin-left: auto;
		border-spacing: 0;
		/*border: 1px solid aqua;*/
}

.data th, td {
    font-size: 9px;
    line-height: 1.2em;
    text-align: center;
    vertical-align: top;
    padding: 2px;
    /*border: 1px solid yellow;*/
}

.data th {
		background: #525d21;
		color:#d5dabc;
}

.data th.left, td.left {
    text-align: left;
}

caption {
		font-size: 10px;
		font-weight: bold;
    text-align: center;
    padding-bottom: 5px;
}

tr.heading th {
		padding: 0;
}


/* ------------ image placement styles ------------ */




/* ------------ image styles ------------ */

img {
    border-width: 1px;
    border-style: solid;
    border-color: #525d21;
}


img.plain {
    border: none;
}
