/* detect browser width 
@media screen and (max-width: 320px){
    body{ width: 320px;}
}*/
/*@media screen and (min-width: 321px){*/
    body{ width: 480px; margin:0;padding:0;font-size:18px;}
/*}*/
/* rest of styles below */
a,a:link,a:visited{
	/* color:#2a9848; */
	color:#900;
	outline:none;
	text-decoration:none;
}
a.ext:after{
	color:#999;
	font-weight:normal;
	content:' →';
}
a:hover{
	text-decoration:underline;
}
ul, ol{ padding-left:40px;}
li{
	margin:0 0 10px 0;
}
ul li{
	list-style-image:url(../images/bullet.png);
}
p,ul,address{
	margin:0 0 20px 0;
}
h2, #home #latest h2, #home #onblog h2{
	font-size:24px;
	line-height:30px;
	margin:0 0 19px 0;
	border-bottom:2px solid #86c744;
	padding-bottom:8px;
	font-weight:normal;
	color:#000;
}
p + h3{
	margin-top:38px;
}
h3{
	font-size:18px;
	line-height:20px;
	margin:-2px 0 22px 0;
	font-weight:normal;
	color:#600;
}
img{
	max-width:440px;
	float:right;
	margin:0 0 18px 18px;
}
ul.pdfs li{
	background:transparent url(../images/pdf.png) no-repeat 9px 6px;
	padding-left:50px;
	height:40px;
	list-style:none;
	list-style-image:none;
}
#header h1{
	display:block;
	height:82px;
	width:150px;
	text-indent:-5000px;
	background:#FFF url(../images/agfeed-logo-small.png) no-repeat 0 0;
	margin:11px 0 8px 0;
}
#header{
	padding:0 10px 0 10px;
	margin:0;
	overflow:hidden;
}
#header #chlang{
	background-color:#333;
	color:#CCC;
	margin:0 -10px;
	padding:5px 10px;
	text-align:right;
}
#header #chlang a{
	color:#FFF;
}
#header #symbol{
	float:right;
	text-align:right;
	background-color:#EEE;
	border-radius:10px;
	padding:10px;
	margin-top:20px;
	margin-bottom:10px;
}
#header #tagline{
	font-style:italic;
	color:#EEE	;
	font-size:16px;
	background-color:#666;
	margin:10px -10px 0 -10px;
	padding:5px 10px;
	text-align:center;
}
div#main_content{
	padding:20px; overflow:hidden;
}
#footer{
	padding:10px;
	margin:0;
	font-size:14px;
	color:#666;
}
#footernav{
	float:right;
	margin:0;
	padding:0;
}
#sub{display:none}
.board{
	padding-bottom:17px;
	border-bottom:1px dotted #666;
	margin-bottom:18px;
}
#overview #boxes{
	display:block;
	padding:0;
	margin:-4px 0 0 0;
}
#overview #boxes hr{
	display:block;
	clear:both;
	visibility:hidden;
	height:0;
}
#overview #boxes div {
	display:block;
	border:3px solid #666;
	padding:15px;
	width:404px;
	float:left;
	text-align:center;
	margin-top:0;
	z-index:100;
	-webkit-border-radius:8px;
	-moz-border-radius:8px;
	border-radius:8px;
	margin-bottom:9px;
}
#overview #boxes div:last-child{
	margin-bottom:0;
}
#overview #boxes div#box1{
	border-color:#fddb40;
	margin-right:20px;
}
#overview #boxes div#box2{
	border-color:#2bb44c;
	margin-right:20px;
}
#overview #boxes div#box3{
	border-color:#86c744;
}
#overview #boxes div h3 {
	font-size:18px;
	color:#6000;
	line-height:30px;
	margin-bottom:6px;
	margin-top:0;
}
#overview #boxes div p {
	margin-bottom:10px;
}
#overview #boxes div h3 a {
	color:#600;
}
div#condcomm ul.pdfs{
	padding-left:0;
}
#committees{
	border-collapse:collapse;
	margin-bottom:50px;
}
#committees thead th{
	text-align:center;
	font-weight:normal;
	padding:10px 5px;
	background-color:#EEE;
}
#committees tbody th{
	font-weight:normal;
	text-align:left;
	padding:9px 0 10px;
	border-bottom:1px dotted #666;
}
#committees tbody td{
	text-align:center;
	padding:9px 0 10px;
	border-bottom:1px dotted #666;
}
#corporate-governance #body_content_left hr{
	clear:both;
	border:0;
	height:0;
	visibility:hidden;
}
#committees tbody td.member{
	text-indent:-5000px;
	background:#FFF url(../images/check.png) no-repeat 50% 50%;
}
#home h2{
	border-bottom:none;
	padding-bottom:0;
}
#home #marquee{
	height:293px;position:relative;margin-bottom:19px;
	padding-bottom:18px;
	border-bottom:3px solid #600;
	margin:0 -20px 20px -20px;
}
#home #marquee #mainimgs{
	display:block;
	position:absolute;
	left:0;
	top:0;
	width:480px;
	height:293px;
	background-color:#999;
	overflow:hidden;
}
#home #marquee #mainimgs img{
	margin:0;
	width:480px;
	max-width:480px;
}
#home #marquee #mainimgs div.current{
	top:0;
	z-index:10;
}
#home #marquee #mainimgs div.last{
	top:-293px;
	z-index:20;
}
#home #marquee .marqitem{
	position:absolute;
	top:293px;
	left:0;
	height:293px;
	width:480px;
	z-index:0;	
}
#home #marquee .marqitem img{
	position:absolute;
	top:0;
	left:0;
}
#home #marquee .marqitem .copy{
	display:block;
	position:absolute;
	bottom:0;
	left:0;
	padding:20px 40px 20px 20px;
	width:420px;
	background:transparent url(../images/homepage/arrow-bg.png) no-repeat 100% 50%;
	color:#CCC;
}
#home #main_content{padding-top:0;}
#home #marquee .marqitem .copy h2 a{
	color:#FFF;
	text-decoration:none;
}
#home #marquee .marqitem .copy h2{
	margin-bottom:0;
}
#home #marquee .marqitem .copy p{
	margin-bottom:0;
}
#home #price{
	width:185px;
	border:3px solid #999;
	padding:7px;
	-webkit-border-radius:8px;
	-moz-border-radius:8px;
	border-radius:8px;
	text-align:center;
	margin-bottom:20px;	
	/*behavior: url(/theme/stylesheets/PIE.htc);*/
	float:left;
}
#home #price h2{
	font-size:16px;
	line-height:15px;
	margin-bottom:10px;
}
#home #price .stockprice{
	color:#666;
	font-size:24px;
}
#home #price .symbol{
	font-size:24px;
	color:#600;
}
#home #price p{
	font-size:12px;
	color:#999;
	margin-bottom:0;
}
#home #pres{
	width:185px;
	padding:30px 10px;
	background:#FFF url(../images/homepage/stock-info.jpg) no-repeat 50% 0;
	-webkit-border-radius:8px;
	-moz-border-radius:8px;
	border-radius:8px;
	text-align:center;
	/*behavior: url(/theme/stylesheets/PIE.htc);*/
	float:right;
}
#home #pres h2{
	margin-bottom:0;
}
#home #pres h2 a{
	color:#000;
}
#home #follow{
	clear:both;
}
#maplegend{
	margin:-20px 0 9px 0;
	height:36px;
	padding:5px;
	-webkit-border-bottom-right-radius:6px;
	-moz-border-radius-bottomright:6px;
	border-bottom-right-radius:6px;
	-webkit-border-bottom-left-radius:6px;
	-moz-border-radius-bottomleft:6px;
	border-bottom-left-radius:6px;
	background-color:#333;
	width:auto;
	overflow:hidden;
}
#maplegend li{
	list-style:none;
	float:left;
	width:auto;
	margin-right:5px;
	padding:0 10px 0 36px;
	font-style:italic;
	position:relative;
	padding-top:10px;
	height:26px;color:#CCC;
	background-color:#444;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:4px;
}
#maplegend li span{padding-top:10px;}
#maplegend li img{
	position:absolute;
	top:0;
	left:0;
	margin:0;
}
#map_canvas{
	width: 100%;
	height: 300px;
	height:300px;
	margin-bottom:20px;
}
#why_invest_chart, #profile_chart_1, #profile_chart_2{
	width: 400px;
	height: 300px;
}
#profile_chart_1, #profile_chart_2{
	margin-top: 50px;
	margin-bottom: 50px;
}
.graph {
  margin-bottom: 50px;
  margin-top: 30px;
  font-size: 14px;
}
.graph .label{
  text-align: center;
  padding-top: 5px;
  padding-bottom: 5px;
	display:block;
}
.graph-header h3{
  margin-bottom: 0px;
}
.graph-header{
  text-align: center;
  margin-top: 50px;
}
.graph-header p{
  margin-top: 0px;
}
.graph .legend td, .graph .legend, .graph .legend tr{
  padding: 0px;
  margin: 0px;
  border-collapse:collapse;
}
.graph .legend{
  margin-left: 10px;
}
.graph .legend td{
  padding-right: 5px;
}
.graph .legend .color-box{
  width: 14px;
  height: 10px;
  overflow: hidden;
}
.graph-links{
	width: 420px;
	padding: 10px;
	background-color:#eee;
	-webkit-border-radius:8px;
	-moz-border-radius:8px;
	border-radius:8px;
	/*behavior: url(/theme/stylesheets/PIE.htc);*/
}
.graph-links ul{
	line-height:1;
	padding: 0;
	margin:0;
}
.graph-links li{
	list-style:none;
	list-style-image:none;
	padding:5px;
}
.graph-links .selected{
	background-color:#FFF;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:4px;
}
#menubutton{
	font-weight:bold;
	color:#32570e;
	background-color:#EEE;
	margin:0 -10px;
	padding:5px 10px;
	-webkit-box-shadow:0 2px 5px rgba(0,0,0,0.5);
}
#menubutton.closed:before{
	content:'open ';
	font-weight:normal;
}
#menubutton:before{
	content:'close ';
	font-weight:normal;
}
#menu{
	margin:0;
	-webkit-box-shadow:0 2px 5px rgba(0,0,0,0.5);
	padding:20px;
	margin-bottom:10px;
}
#menu li{list-style:none;font-weight:bold;}
#menu li ul{
	padding:0;
}
#menu li ul li{
	display:inline;
	font-weight:normal;
	white-space:nowrap;
	padding-right:10px;
}
#menu li ul li:before{
	content:'• ';
}
