/*
 *  Amethyst Life Sciences master style controls.
 *
 *  The color palette: use these codes.
 *
 *  rgb(220,220,220); # light grey
 *  rgb(150,150,150); # dark grey
 *  rgb(50,50,50);    # near black - text
 *  rbg(0,0,0);       # black
 *  rgb(255,255,255); # white
 *  rgb(133,123,184); # light purple
 *  rgb(188,202,237); # lighter purple
 *  rgb(10,69,86);    # royal blue (dark)
 *  rgb(245,235,215); # cream  (light)
 *  rgb(228,291,152); # beige  (medium light)
 *  rgb(255,145,25);  # orange (medium dark)
 *  rgb(166,122,44);  # taupe  (dark)
 *
 *  Global elements here:
 */

body {
    font-family: verdana,helvetica,arial,sans-serif;
    background-color: rgb(150,150,150);
    color: rgb(50,50,50);
    font-size: 80%;
}

a:link    { color: rgb(133,123,184); }
a:visited { color: rgb(133,123,184); }
a:hover   { color: rgb(255, 145,25); }
a:active  { color: rgb(133,123,184); }

hr { color: rgb(150,150,150); height: 2px; width: 100%; }
h2 { style="rgb(99,148,247)"; margin-bottom: 1px; font-size: 14px;
	line-height: 110%;
}
#container {
    width: 98%;
    max-width: 1150px;
    margin: 0px auto;
    background-color: white;
    line-height: 130%;
}

.round_outer {
    background-image: url(../images/tl.gif);
    background-repeat: no-repeat;
    background-position: top left;
}

.round_inner {
    background-image: url(../images/tr.gif);
    background-repeat: no-repeat;
    background-position: top right;
    
	
}
.rightfloat {
    float: right;
}

#brand {
    padding: 5px;
}

#brand img {
    float: left;
	margin-left: 20px;
    vertical-align: text-bottom;
    border: none;
}

#brand p {
    float: right;
	margin-right: 30px;
	margin-top: 30px;
	font: 14px;
	line-height: 180%;
}

#brandend {
    clear: both;
    background-image: url(../images/grayfade.png);
	max-width: 1150px;
	background-repeat: repeat;
}

#imagebar {
    background-image: url(../images/amethyst_homepage_b.png);
    clear: both;
	vertical-align: top;
	height: 226px;
}

#imagebar p {
    color: rgb(245,235,215);
    padding: 20px;
}

#imagebar em {
    font-weight: bold;
}

/* Generic small content box */
.contentbox {
    border: 2px solid rgb(220,220,220);
    padding: 0px;
    margin-bottom: 1px;
}

.contentheader {
    padding: 3px;
    background: rgb(220,220,220);
	height: 30px;
}

.contentbox p {
    padding: 3px;
}

/* Master page layout */
#main {
    clear: both;
}
#main hr {
    color: rgb(150,150,150);
}

#home-left {
    float: left;
    width: 20%;
    vertical-align: top;
    padding: 0;
    margin: 8px;
}

#home-center {
    float: left;
    width: 60%;
    vertical-align: top;
	padding: 3px;
    margin: 2px;
}
#home-center em{
		 
			 }
#home-right {
    float: right;
    width: 15%;
    color: rgb(50,50,50);
    vertical-align: top;
	horizontal-align: center;
    padding: 3px;
    margin: 2px;
}

/*  Content-only Pages */

#content-left {
    float: left;
    width: 70%;
    vertical-align: top;
    border-right: 1px solid rgb(150,150,150);
    padding: 6px;
    margin: 0;
}

#content-right {
    float: left;
    vertical-align: top;
    padding: 6px;
    margin: 0;
    color: rgb(50,50,50);
}

/* All pages have footers */

#footer {
    border-top: 2px solid rgb(50,50,50);
    margin: 2px;
    clear: both;
    overflow: auto;
	height: 24px;
	font-size: 60%;
}
#footer-left {
    float: left;
	width: 54%;
	vertical-align: top;
    margin: 0;
}

#footer-right {
    float: right;
	width: 43%;
	vertical-align: top;
    margin: 1px;
	}
/*  Drop-down menu controls */

#menu {
    width: 100%;
	height: 36px;
    background: rgb(133,123,184);
    float: left;
	border-bottom: 0px solid rgb(10,69,86);
}

#menu ul {
    list-style: none;
    background-color: rgb(133,123,184);
    margin: 0;
	width: *;
    padding: 2px;
    float: left;
	position: relative;
}

#menu a, #menu h1 {
    font: bold 11px/16px arial, helvetica, sans-serif;
    display: block;
	width: 9em;
    border-width: 0px;
    border-style: solid;
    border-color: rgb(188,202,237);
    margin: 0;
    padding: 2px 3px;
}

#menu a {
    background: rgb(255,255,255);
    color: rgb(50,50,50);
    text-decoration: none;
}
div#menu h1 a{
    background: rgb(255,255,255);
    color: rgb(50,50,50);
	border-width: 3px;
	border color: rgb(133,123,184);
    text-transform: uppercase;
}
#menu a:hover {
    background: rgb(133,123,184);
    color: rgb(50,50,50);
}

#menu li {
    background: rgb(133,123,184);
    color: rgb(245,235,215);
    position: relative;	
}

#menu ul ul {
    float: absolute;
	width: 8em;
	z-index: 500;
    
}

#menu ul ul ul {
    position: absolute;
    top: 0;
    left: 100%;
}

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

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