/*------------------------------------------------------------------------------
CLEAR THE DECKS
------------------------------------------------------------------------------*/
html,body, div, span, ul, ol, li, form, label, table, h1, h2, h3, h4, h5, h6, p, a, img  { 
margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; }
a img,:link img,:visited img { border: 0 }
table{ border-collapse: collapse; border-spacing: 0; width: 100% }
td, th, caption { padding: 2px 4px }
h1, h2, h3, h4, h5, h6, p { font-weight: normal; }
h1, h2, h3, h4, h5, h6 { word-spacing: 0.25px; }

/*
orange: #faa41a
light green: #72c04d
dark green: #296c31
brown: #7f3005
*/

/*------------------------------------------------------------------------------
CLEAR FIX
------------------------------------------------------------------------------*/	
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
.clearfix {
	display: inline-block;
}
html[xmlns] .clearfix {
	display: block;
}
* html .clearfix {
	height: 1%;
}

/*------------------------------------------------------------------------------
HIGHGATE HTML PREFERENCES
------------------------------------------------------------------------------*/	
ul {								
	margin: 0 0 10px 15px;  
	padding: 0px;					
}

ol {
	margin: 0 0 10px 25px;  
	padding: 0;					
}

h1, h2, h3, h4, h5, h6, li, ol, p {
	margin-bottom: .8em;
}

h1, h2, h3, h4 {
	letter-spacing: -.02em;
}

p {
	line-height: 160%;
}

/*------------------------------------------------------------------------------
SITE-WIDE HTML
------------------------------------------------------------------------------*/	
body {
	margin: 0;
}

body.home {
    background: #ddd url(/xm_client/images/bg_home.gif) repeat-x;
}
body.sub {
    background: #ddd url(/xm_client/images/bg_internal.gif) repeat-x;
}
a { text-decoration: none; }
a:link { color: #faa41a; }
a:visited { color: #7f3005; }
a:hover { color: #72c04d; }

/*------------------------------------------------------------------------------
HIGHSITE ONLY
------------------------------------------------------------------------------*/
.error_page h1 { margin: 40px 0 10px 40px; }
.error_page p { margin: 10px 40px; } 

.edit_link {
	color: #ea4e22;
	font: 10px Tahoma, sans-serif;
	text-decoration: none; 
}
.multidiv { /* for separating multiple sections */
	position: relative;
	margin: 0 0 20px 0;
	border-bottom: 2px dotted #999;	
	padding-bottom: 20px;
}


/*------------------------------------------------------------------------------
SITE-WIDE DIVS
------------------------------------------------------------------------------*/	
div#container {
	position: relative;
	margin: 0 auto;
	width: 960px;
	height: 500px;
	text-align: left;
	background: #ffffff;
}
	html>body div#container {
		height: auto;
		min-height: 500px;
	}
	
div#container hr {
	display: block;
	padding: 0;
	margin: 0;
	clear: both; 
	visibility: hidden;
}
div#banner {
   width: 960px;
   height: 92px;
   background: #fff url(/xm_client/images/banner_background.gif) repeat-x;
}
div.logo {
    position: absolute;
    left: 20px;
    top: 15px;
    width: 235px;
    height: 68px;
    cursor: pointer;
    background: #fff url(/xm_client/images/AgraShares_logo_final.jpg) no-repeat;
}
div#footer p {
   text-align: right;
   font: 11px Tahoma, sans-serif;
   color: #ffffff;
	margin: 7px 0 0 0;
}

/*------------------------------------------------------------------------------
DIVS -- HOME
------------------------------------------------------------------------------*/	
.home div#image_band {
   width: 960px;
   height: 215px;
}
#slideshow {
   float: left;
   width: 640px;
   height: 215px;
}
div.quote {
   float: left;
   margin-left: 2px;
   width: 318px;
   height: 215px;
}
.home div#left_column {
   float: left;
   width: 288px; /* compensate for padding */
   height: 300px;
   padding: 60px 10px 20px 20px;
   background: #eee url(/xm_client/images/whyinvest_mid.jpg) no-repeat top;
}
div#center_column {
   float: left;
   margin-left: 2px;
   height: 300px;
   width: 290px; /* compensate for padding */
   padding: 60px 10px 20px 20px;
   background: #eee url(/xm_client/images/whyinvest_agra.jpg) no-repeat top;
}
.home div#right_column {
   float: left;
   margin-left: 2px;
   height: 300px;
   width: 288px; /* compensate for padding */
   padding: 60px 10px 20px 20px;
   background: #eee url(/xm_client/images/news.jpg) no-repeat top;
}
.home div#footer {
	position: relative;
	margin: 0 auto;
   width: 940px;
   height: 46px;
   padding: 10px 20px 0 0;
   background: #fff url(/xm_client/images/footer.jpg) no-repeat bottom;
}


	
/*------------------------------------------------------------------------------
DIVS -- SUB--TWO COL
------------------------------------------------------------------------------*/	
.sub div#image_band {
   width: 960px;
   height: 63px;
   background: #fff url(/xm_client/images/banner_blank.jpg) no-repeat;
}
.sub div#image_band p {
   text-align: left;
   font: italic 20px Trebuchet MS, Arial, sans-serif;
   color: #ffffff;
	padding: 20px 0 0 50px;   
}
.sub div#left_column {
   float: left;
   padding: 20px 10px 10px 50px;
   width: 120px;
   background: #eee;
}
.sub div#right_column {
   float: left;   
   width: 740px;
   padding: 20px 20px 20px 20px
}
.sub div#footer {
	position: relative;
	margin: 0 auto;
   width: 940px;
   height: 46px;
   padding: 10px 20px 0 0;
   background: #fff url(/xm_client/images/footer_sub.jpg) no-repeat bottom right;
}

.menu_link {
font-weight: bold;
border: 1px solid; 
padding: 3px 4px 4px 4px;
}

/*------------------------------------------------------------------------------
NAVIGATION  
------------------------------------------------------------------------------*/		
	
div.nav {
	position: absolute;
	top: 60px;
	left: 300px;
	width: 800px;
	height: 29px;
	z-index: 2;
}


/*------------------------------------------------------------------------------	
HORIZONTAL MENU
------------------------------------------------------------------------------*/		

/*CONTROLS ALL LISTS*/ 
#menuh { 
	float: left;
	display: inline;
	list-style: none;
}

/*----- BELOW THREE DIVS CONTROL ALL LIST ITEMS -----*/

#menuh li { float: left; }

#menuh li a {
	display: block;
	font: 12px/16px Tahoma, sans-serif;
	padding: 7px 15px 3px 10px;   /*set vert spacing between li's and the main UL... */ 
	letter-spacing: .1em;        /*...flydown from bottom of the top ul, and left and right... */
	color: #296c31;              /*...distances between edges of type and left of li */
	text-decoration: none;
}
#menuh li a:hover {
	color: #f7bf32;
}

/*CONTROLS SECOND-LEVEL LIST ITEMS OR FLY-DOWNS*/ 

#menuh li ul {  
	position: absolute;
	margin: 0 0 0 0;
	padding: 0;
	left: -999em;
	z-index: 1;
}

#menuh ul {
	float: left;
	padding: 0;
	list-style: none;
	width: 180px; /* can be anything AFAIK, but it has to be there*/
}

#menuh ul li { float: left; margin: 0; padding: 0; }

#menuh ul li a {
	display: block;
	padding: 3px 30px 3px 10px;
	background-color: #f7bf32;
	width: 140px; /* master width minus left & right padding */
	border-top: 1px solid #fff;
}

#menuh ul li a:hover {
	color: #ffffff;
	background-color: #296c31; 
}

/*CONTROLS THIRD-AND ABOVE LEVEL LIST ITEMS*/
#menuh li ul li ul {   
	margin: -22px 0 0 180px; /* the -top px vertically positions the right flyout */
}									 /*...and the left margin is ul-li-a horiz spacing+width+1/0 */

#menuh li ul li ul li a {   
	background-color: #f7bf32; 
}
#menuh li ul li ul li a:hover {   
	color: #ffffff;
	background-color: #296c31; 
}

/* lists nested under hovered list items */
#menuh li:hover ul ul, #menuh li:hover ul ul ul, #menuh li:hover ul ul ul ul, #menuh li.sfhover ul ul, #menuh li.sfhover ul ul ul, #menuh li.sfhover ul ul ul ul {
	left: -999em;
}
#menuh li:hover ul, #menuh li li:hover ul, #menuh li li li:hover ul, #menuh li li li li:hover ul, #menuh li.sfhover ul, #menuh li li.sfhover ul, #menuh li li li.sfhover ul, #menuh li li li li.sfhover ul {
	left: auto;
}


/*------------------------------------------------------------------------------	
RESERVED Selectors - Leave for the editor
------------------------------------------------------------------------------*/	
		
table {}
th {}
tr {}
td {}


/*------------------------------------------------------------------------------	
FORMS 
------------------------------------------------------------------------------*/		

div.form {
	float: left;
	width: 400px;
	margin: 10px 0 40px 0px;
}

div.frow {
	clear: both;
	padding-top: 8px;
}

div.frow span.label, div.frow span.blabel {
	font: 11px arial, sans-serif;
	color: #20447f;
	float: left;
	width: 100px;
	text-align: right;
	margin-top: 2px;  /* changes baseline of label text */
}

div.frow span.blabel {
   font-weight: bold;
}

div.frow span.frm {
	font: 11px arial, sans-serif;
	color: #20447f;
	float: right;
	width: 290px;
	margin-top: 2px;
} 

textarea, input, select { margin: 0; padding: 0; }

/*------------------------------------------------------------------------------	
CALENDAR
------------------------------------------------------------------------------*/	

.caltable {
	float: left;
	display: inline;
	width: 100%;
	font: 11px/13px Tahoma, arial, sans-serif;
	padding: 0;
}

.caltable table {
	width: 100%;
	border-collapse: collapse;
}
.caltable thead th {
	font:  bold 11px/14px Tahoma, sans-serif; 
	color: #5c3509;
	border-bottom: 1px solid #ddd;
	padding-top: 10px;
	/*background: #E8E3DA;*/
}

.caltable h4 {
	font: bold 14px/13px Tahoma, arial, sans-serif;
	margin-bottom: 6px;
}			

.calcol1 {
	vertical-align: top;
	width: 50px;
	padding: 2px;
}
.calcol2 {
	vertical-align: top;
	width: 140px;
	padding: 2px;
}	
.calcol3 {
	vertical-align: top;
	width: 200px;
	padding: 2px;
}	
.calcol4 {
	vertical-align: top;
	width: 90px;
	padding: 2px;
}
.calcol2 a, .calcol3 a {
	font-size: 11px;
	line-height: 13px;
}	

/*------------------------------------------------------------------------------	
SIMPLE CLASSES
------------------------------------------------------------------------------*/		

.bold { font-weight: bold; }
.italic { font-style: italic; }
.underline { text-decoration: underline; }
.emphasize { font-weight: bold; font-style: italic; text-decoration: underline;}
.clearleft 	{ clear: left; }
.clearright { clear: right; }
.clearboth 	{ clear: both; }
.floatleft	{ float: left; }
.floatright { float: right; }

.left { 
	float: left; 
	display: inline;
	padding-left: 20px;
}
.right {  
	float: right; 
	display: inline;
	padding-right: 20px;
}

.img_border {
	border-bottom: solid 10px #eab700;
}
