body {
	padding: 0;
	margin: 0;
}

#head {
	background-color: #e6f4ff;
	margin: 0 0 10px 0;
	padding: 6px;
	box-shadow: 0 1px 2px 0 #aaa;
	-webkit-box-shadow: 0 1px 2px 0 #aaa;
}
#head h1 {
	color: #3b6592;
	text-shadow: 1px 2px 1px #ccc; /* we don't really want a blur, but android is buggy and requires it */
	font-family: Georgia, 'Times New Roman', Times, serif;
	font-size: 20px;
	margin: 0;
	padding: 0;
	font-weight: normal;
	text-align: center;
}
#head h1 a {
	text-decoration: none;
	color: #3b6592;
}
#head form {
	display: inline;
	position: absolute;
	z-index: 10;
	top: 4px;
	right: 4px;
}
#head form input {
	height: 17px;
	border-radius: 4px;
	border: none;
	padding: 3px;
	box-shadow: inset 0px 1px 1px 0 #aaa;
}
#head a.button, #alert_savebox a.button {
	font-size: 13px;
	border-radius: 5px;
	background-color: #50759b;
	color: #fff;
	padding: 4px 6px 4px;
	font-family: 'Lucida Grande', Tahoma, sans-serif;
	text-shadow: 0 -1px 0 #000;
	text-decoration: none;
}
#head a.button:active {
	background-color: #71a0cf;
}
#head a#account.button {
}

#sidemenu {
position: fixed;
top: 0;
left: -300px;
z-index: 200;
width: 80%;
max-width: 300px;
background: rgba(245, 245, 245, 0.95);
height: 100%;
border-right: 1px solid #ddd;
}

#sidemenu ul {
list-style: none;
padding-left: 0;
margin-top: 0.5em;
}

#sidemenu li {
font-size: 20px;
font-family: Arial, Helvetica, sans-serif;
border-bottom: 1px solid #ddd;
}

#sidemenu li.btm {
border-top: 1px solid #ddd;
margin-top: 1em;
background: #d5d5d5;
}

#sidemenu li a {
text-decoration: none;
color: #222;
display: block;
padding: 13px;
font-family: Arial, Helvetica, sans-serif;
}

#sidemenu form input, #Account #sidemenu form input {
	height: 1.3em;
	font-size: 1.1em;
	border-radius: 4px;
	border: none;
	padding: 3px;
	box-shadow: inset 0px 1px 1px 0 #aaa;
	width: 97%;
	margin: 5px;
}

#sidemenu form input[type="password"], #Account #sidemenu form input[type="password"] {
width: 65%;
}

#sidemenu h4 {
margin: 0;
font-weight: normal;
font-size: 0.9em;
}

#sidemenu a.button {
	font-size: 1em;
	border-radius: 5px;
	background-color: #50759b;
	color: #fff;
	padding: 6px;
	font-family: 'Lucida Grande', Tahoma, sans-serif;
	text-shadow: 0 -1px 0 #000;
	text-decoration: none;
	display: inline;
}
#sidemenu a.button:active {
	background-color: #71a0cf;
}

#menuoverlay {
position: fixed;
z-index: 199;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

#tabs {
	height: 40px;
	width: 94%;

	background-image: linear-gradient(bottom, #567FCC 0%, #6BA1FF 100%);
	background-image: -webkit-linear-gradient(bottom, #567FCC 0%, #6BA1FF 100%);
	background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #567FCC), color-stop(1, #6BA1FF));

	box-shadow: inset 0px 1px 1px 0 #555;
	-webkit-box-shadow: inset 0px 1px 1px 0 #555;

	color: #fff;

	/* hover on bottom */
	position: fixed;
	bottom: 50px;
	left: 50%;
	transform: translateX(-50%);
}
#tabs .tab {
	float: left;
	width: 34%;
	text-align: center;
	height: 100%;
	margin-right: 1px;
	font-weight: bold;

	text-shadow: 0 -1px 0 #000;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
#tabs .tab.active {
	background-image: linear-gradient(bottom, #AD0000 0%, #E00000 100%);
	background-image: -webkit-linear-gradient(bottom, #AD0000 0%, #E00000 100%);
	background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #AD0000), color-stop(1, #E00000));
}
#tabs .tab:nth-child(n+2) {
	width: 33%;
	border-left: 1px solid #365f9c;
}

#alert_ct {
background: #e00000;
padding: .4em;
border-radius: 1em;
}

#controls .button, .fancybutton {
	background-color: #1d3961;
	color: #fff;
	font-size: 13px;
	padding: 4px 6px 4px;
	font-family: 'Lucida Grande', Tahoma, sans-serif;
	text-shadow: 0 -1px 0 #000;
	text-decoration: none;
	border-color: #3d6793 #102138 #102138 #3d6793;
	border-width: 1px;
	border-style: solid;
}
#controls .button.toggled {
	border-color: #102138 #3d6793 #3d6793 #102138;
	background-color: #2d62a9;
}

#content {
}

#content div.article {
	padding: 8px;
	font-family: 'Lucida Grande', Tahoma, sans-serif;
}
#content div.article:nth-child(n+2) {
	border-top: 1px solid #ccc;
}
#content div.article a {
	text-decoration: none;
	color: #000;
	display: block;
}
#content div.article span {
	color: #888;
}

.innerad {
	padding: 5px;
	clear: left;
	border-top: 1px solid #ccc;
}

div.error-link a {
	text-decoration: none;
	color: #000;
	text-align: center;
}
div#loading {
	display: none;
	position: fixed;
	background-color: rgba(240, 240, 240, 0.8);
	top: 40%;
	left: 20%;
	width: 60%;
	font-weight: bold;
	color: #000;
	text-align: center;
	border: 1px solid #ddd;
}
div#success_modal {
	display: none;
	position: fixed;
	background-color: #c8fdd1;
	top: 40%;
	left: 20%;
	width: 60%;
	font-weight: bold;
	color: #070;
	text-align: center;
	/*border: 1px solid #070;*/
	box-shadow: 0 6px 6px 0 #ccc;
	-webkit-box-shadow: 0 6px 6px 0 #ccc;
}

div.chg-up {
	color: #009600;
}
div.chg-down {
	color: #C80000;
}
div.chg-zero {
	color: #000;
}

.hidden-tv {
	display: none;
}

span.timestamp {
	color: #666;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
}

#image_left {
	float: left;
	margin-right: 8px;
}
#image_right {
	float: right;
	margin-left: 8px;
}

#image_left, #image_right {
	max-width: 50%;
}
#image_left img, #image_right img {
	width: 100%;
}

img {
	margin: 0 0 10px;
	border: 1px solid #b8d1e9;
	background-color: #e8f2fb;
	text-align: center;
	padding: 3px;
}
img.icon {
	margin: 0;
	border: none;
	background-color: transparent;
	padding: 0;
}
#article_body {
	font-family: Arial, Helvetica, sans-serif;
}

h1 {
	color: #000;
	font-family: Georgia, 'Times New Roman', Times, serif;
}

h3 {
	color: #900000;
	font-family: Georgia, 'Times New Roman', Times, serif;
	font-size: 18px;
	margin-bottom: 8px;
}

#related, #categories {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
}

#related > a, #categories > a { /* wrapper for each article */
	display: block;
	text-decoration: none;
	width: 320px;
	margin-top: 8px;
	padding-top: 8px;
}

#related > a:nth-child(n+2), #categories > a:nth-child(n+2) {
	border-top: 1px solid #d0d0d0;
}

#related > a > span, #categories > a > span {
	color: #000;
	font-size: 12px;
	padding-left: 10px;
	display: block;
}
#categories > a > span {
	font-size: 15px;
}
#related > a.red > span {
	font-weight: bold;
	color: #E50000;
}
#related > a > dfn {
	color: #666;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	padding-left: 10px;
	line-height: 0.9em;
}

/* stock lookup */
#logo {
	float: left;
	margin-left: 10px;
	margin-top: 10px;
	background-color: #fff;
	padding: 0;
	border: none;
}
#logo img, #chart img {
	margin: 0;
	border: none;
	background-color: #fff;
	text-align: center;
	padding: 0;
}

#chart {
	float: left;
	margin-left: 10px;
	margin-bottom: 15px;
}
#chartimg {

}
#cbuttons a {
	display: block;
	width: 55px;
	border: 1px solid #c0c0c0;
	border-radius: 5px;
	padding: 8px 5px 8px 5px;
	color: #444;
	font-weight: bold;
	margin: 4px;
	float: left;
	text-align: center;
	text-decoration: none;
	font-family: sans-serif;
	font-size: 14px;
}
#cbuttons a.hl {
	background-color: rgb(236, 243, 255);
}
#price {
	margin-left: 10px;
}
#price .current {
	font-size: 18px;
}
#price .delta {
	font-size: 14px;
}
img {
	margin: 0 0 10px;
}

h3.qpage, h3.epage {
	margin-left: 0.3em;
}

#upcomingevents {
	padding-left: 0.3em;
}

#upcomingevents a {
	text-decoration: none;
	color: #000;
	font-size: 1.3em;
	font-family: Arial, Helvetica, sans-serif;
}

#headlines {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
}

#headlines > a { /* wrapper for each article */
	display: block;
	border-top: 1px solid #d0d0d0;
	text-decoration: none;
	width: 320px;
	margin-top: 8px;
	padding-top: 8px;
}
#headlines > a > span {
	color: #000;
	font-size: 12px;
	padding-left: 10px;
	display: block;
}
#headlines > a.red > span {
	font-weight: bold;
	color: #E50000;
}
#headlines > a > dfn {
	color: #666;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	padding-left: 10px;
	line-height: 0.9em;
}

#content.account form input[type="text"], #Account form input[type="password"], #Account form input[type="email"] {
	border-radius: 4px;
	padding: 3px;
	box-shadow: inset 0px 1px 1px 0 #aaa;
}
#content.account a.button {
	font-size: 13px;
	border-radius: 5px;
	background-color: #50759b;
	color: #fff;
	padding: 4px 6px 4px;
	font-family: 'Lucida Grande', Tahoma, sans-serif;
	text-shadow: 0 -1px 0 #000;
	text-decoration: none;
}

input.nice {
	border-radius: 4px;
	padding: 3px;
	box-shadow: inset 0 0 3px 0 #aaa;
	border: none;
	height: 1.6em;
	font-size: .8em;
}
select.nice {
	height: 1.6em;
	font-size: 1em;
	font-weight: bold;
}

div#quoteauto {
	width: 80%;
	margin-right: 5%;
	position: absolute;
	right: 0;
	z-index: 200;
	box-shadow: 0 1px 2px 0 #aaa;
	-webkit-box-shadow: 0 1px 4px 0 #aaa;
	background-color: #fff;
	border-radius: 10px;
	font-size: 1.3em;
	max-height: 70%;
	overflow: scroll;
	padding-bottom: 6px;
}

div#quoteauto div {
	padding: 16px 10px 16px 10px;
}
div#quoteauto div:nth-child(n+2) {
	border-top: 1px solid #ccc;
}
div#quoteauto div:nth-child(odd) {
	background-color: #f5f5f5;
}

.etable td, .etable th {
	font-size: 1.3em;
	font-family: Arial, Helvetica, sans-serif;
	padding: 10px;
	text-align: left;
}

.etable a {
	text-decoration: none;
	color: #000;
}

.etable .summaryRow td {
	border-top: 1px solid #d8d8d8;
}

.etable .detailsRow td {
	border-left: 2px solid #305070;
	background: #eee;
}

.etable img {
	border: none;
	background: none;
	padding: 0;
	margin: 0 0 0 1.2em;
	height: 1em;
}

.etable hr {
	border: none;
	border-bottom: 1px solid #ccc;
}

.moreinfo {
	margin-left: 0.3em;
}
.moreinfo a {
	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
}

#filters {
padding-left: .4em;
}

#filters div {
margin-bottom: .5em;
}
body {
	padding-top: 42px;
}
#head {
	margin: 0 0 7px 0;
	padding: 8px 0 8px 0;
	position:fixed;
	width: 100%;
	top: 0;
	z-index: 50;
}
#head h1 {
	font-size: 1em;
}
#head form {
	top: 3px;
	right: 3px;
}
#head form input {
	height: 1.9em;
	font-size: 0.85em;
	border-radius: 4px;
	padding: 3px;
	box-shadow: inset 0px 1px 1px 0 #aaa;
	-webkit-box-shadow: inset 0px 1px 1px 0 #aaa;
}
#head a.button, #alert_savebox a.button {
	font-size: 0.75em;
	border-radius: 4px;
	padding: 6px;
	text-shadow: 0 -1px 0 #000;
	font-weight: bold;
	box-shadow: inset 0 1px 2px 0 #000;
	-webkit-box-shadow: inset 0 1px 2px 0 #000;
}
#head a#account.button {
	position: absolute;
	z-index: 10;
	top: 3px;
	left: 3px;
}

img.burger {
	max-height: 14px;
}

li.menutop {
	padding: 8px;
}

.menuname {
	font-size: 1.1em;
}
.menuacct {
	margin-top: 6px;
	font-size: 0.7em;
}

#sidemenu h4 {
font-size: 0.9em;
}

#sidemenu a.button {
	font-size: 1em;
	border-radius: 5px;
	padding: 6px;
}

#sidemenu form input[type="password"], #Account #sidemenu form input[type="password"] {
width: 60%;
}

#tabs {
	margin: 0 auto 6px;
	height: 28px;
	padding: 0;
	border-radius: 5px;
}
#tabs .tab {
	margin-right: 0px;
	font-size: 0.7em;
	padding: 0;
	line-height: 28px;
}
#tabs .tab:nth-child(1) { border-radius: 5px 0 0 5px; }
#tabs .tab:nth-child(3) { border-radius: 0 5px 5px 0; }

#controls {
	width: 94%;
	margin: 0 auto 7px;
	height: 28px;
}
#controls .button {
	font-size: 0.7em;
	padding: 5px;
	text-shadow: 0 -1px 0 #000;
	font-weight: bold;
	float: left;
}
.fancybutton {
	font-size: 0.7em;
	padding: 5px;
	text-shadow: 0 -1px 0 #000;
	font-weight: bold;
}
#controls select {
	height: 2em;
	font-size: 0.85em;
	float: right;
	width: 225px;
	padding-top: 1px;
	font-weight: bold;
}

#content div.article {
	padding: 6px;
}
#content div.article:nth-child(n+2) {
	border-top: 1px solid #ccc;
}
#content div.article a {
	font-size: 0.75em;
	text-decoration: none;
	color: #000;
	display: block;
}
#content div.article span {
	font-size: 0.65em;
	padding-top: 3px;
}
#content div.article dfn {
	font-size: 0.7em;
	display: block;
}

div.error-link {
	font-size: 0.85em;
	padding: 5px;
}
div#loading, div#success_modal {
	font-size: 0.85em;
	padding: 5px;
}

div.successmsg {
	background-color: #ccffcc;
	color: #060;
	font-weight: bold;
	font-size: 0.65em;
	padding: 4px;
	margin-bottom: 10px;
}

#markets {
	padding: 6px 6px 8px 6px;
	font-size: 0.75em;
	border-bottom: 1px solid #ccc;
	margin-bottom: 2px;
}

div.market-wrap {
	height: 0.75em;
}
div.market-name {
	float: left;
	width: 100px;
	font-weight: bold;
}
div.market-value {
	float: left;
	width: 60px;
}
div.market-change {
	float: left;
	width: 125px;
}

#content.news {
	padding: 8px;
}
#content.account {
	padding: 8px;
}

div.acat, div.aent, div.astock {
	padding: 9px 6px 9px 6px;
	font-size: 0.9em;
	/*line-height: 30px;*/
	border-top: 1px solid #cfcfcf;
}
div.acat:nth-child(odd), div.aent:nth-child(odd), div.astock:nth-child(odd) {
	background-color: #f2f2f2;
}
div.acat input, div.aent input, div.astock input, div.radio input {
	-webkit-transform: scale(1.25, 1.25);
}

div.radio {
	padding: 6px 4px 6px 4px;
}

div.radio label {
	font-size: 0.85em;
}

.searchresult div.aent {
	color: #555;
}

#alert_savebox {
	position:fixed;
	bottom: 0;
	width: 100%;
	height: 30px;
	text-align: right;
	background-color: #e6f4ff;
	margin: 5px 0 0 0;
	padding: 6px 0 6px -5px;
	box-shadow: 0 -1px 2px 0 #aaa;
	-webkit-box-shadow: 0 -1px 2px 0 #aaa;
}
#alert_save_btn {
	position: absolute;
	bottom: 2px;
	right: 50px;
}
.EditAlerts {
	padding-bottom: 31px;
}

.alertsearch {
	padding: 5px;
}
.alertsearch input[type="text"] {
	height: 2em;
	font-size: 0.85em;
	border-radius: 4px;
	padding: 3px;
	box-shadow: inset 0px 1px 1px 0 #aaa;
	-webkit-box-shadow: inset 0px 1px 1px 0 #aaa;
	margin-bottom: 6px;
	width: 200px;
}

.searchresult {
	margin-bottom: 7px;
	border-bottom: 2px solid #ccc;
}

span.timestamp {
	font-size: 0.7em;
}
#image_left {
	float: left;
	margin-right: 8px;
}
#image_right {
	float: right;
	margin-left: 8px;
}
img {
	margin: 0 0 5px;
	border: 1px solid #b8d1e9;
	background-color: #e8f2fb;
	text-align: center;
	padding: 2px;
}
img.icon {
	margin: 0;
	border: none;
	background-color: transparent;
	padding: 0;
}
#article_body, p {
	font-size: 0.85em;
}
#article_body p {
	font-size: 1em;
}
#article_body {
	line-height: 1.3em;
}

h1 {
	margin-top: 0;
	font-size: 1.25em;
}

h3 {
	font-size: 0.95em;
	margin-bottom: 4px;
}

.news h3 {
	padding-left: 8px;
}

.account h3 {
	margin-top:4px;
}

#related > a, #categories > a { /* wrapper for each article */
	width: 100%;
	margin-top: 6px;
	padding-top: 6px;
}

#related > a:nth-child(n+2), #categories > a:nth-child(n+2) {
	border-top: 1px solid #d0d0d0;
	padding-top: 7px;
	margin-top: 7px;
}

#related > a > span, #categories > a > span {
	font-size: 0.75em;
	padding-left: 8px;
	display: block;
}
#related > a.red > span {
}
#related > a > dfn {
	font-size: 0.65em;
	padding-left: 7px;
	line-height: 0.65em;
}

/* stock lookup */
#companytitle {
	padding-left: 5px;
}
#logo {
	float: left;
	margin-left: 5px;
	margin-top: 5px;
	background-color: #fff;
	padding: 0;
	border: none;
}
#logo img, #chart img {
	margin: 0;
	border: none;
	background-color: #fff;
	text-align: center;
	padding: 0;
}
#chart {
	float: left;
	margin-left: 5px;
	margin-bottom: 7px;
}
#chartimg {

}
#cbuttons a {
	display: block;
	width: 52px;
	border: 1px solid #c0c0c0;
	border-radius: 4px;
	padding: 8px 4px 8px 4px;
	color: #444;
	font-weight: bold;
	margin: 2px;
	float: left;
	text-align: center;
	text-decoration: none;
	font-family: sans-serif;
	font-size: 0.75em;
}
#cbuttons a.hl {
	background-color: rgb(236, 243, 255);
}
#price {
	margin-left: 5px;
}
#price .current {
	font-size: 0.95em;
}
#price .delta {
	font-size: 0.8em;
}

h3.qpage, h3.epage {
	font-size: 1.1em;
	margin-left: 0.3em;
}

#upcomingevents {
	padding-left: 0.3em;
}

#upcomingevents a {
	font-size: 1.1em;
}

#headlines {
	font-family: Arial, Helvetica, sans-serif;
}

#headlines > a { /* wrapper for each article */
	display: block;
	border-top: 1px solid #d0d0d0;
	text-decoration: none;
	width: 100%;
	margin-top: 4px;
	padding-top: 4px;
}
#headlines > a > span {
	color: #000;
	padding-left: 7px;
	display: block;
	font-size: 0.75em;
	padding-right: 7px;
}
#headlines > a.red > span {
	font-weight: bold;
	color: #E50000;
}
#headlines > a > dfn {
	color: #888;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.65em;
	padding-left: 7px;
	line-height: 0.75em;
	font-style: italic;
}

#content.account form input[type="text"], #Account form input[type="password"], #Account form input[type="email"] {
	height: 2em;
	font-size: 0.85em;
	border-radius: 4px;
	padding: 3px;
	box-shadow: inset 0px 1px 1px 0 #aaa;
	-webkit-box-shadow: inset 0px 1px 1px 0 #aaa;
	margin-bottom: 6px;
	width: 300px;
}

#content.account form select {
	width: 305px;
	height: 2em;
	font-size: 0.85em;
}

#content.account form select[name="state"] {
	width: 202px;
	margin-right: 6px;
}

#content.account form input[name="zip"] {
	width: 90px;
}

#content.account form select[name="cc_year"], #content.account form select[name="cc_month"] {
	width: 133px;
}

#content.account a.button {
	font-size: 0.75em;
	border-radius: 4px;
	padding: 6px;
	text-shadow: 0 -1px 0 #000;
	font-weight: bold;
	box-shadow: inset 0 1px 2px 0 #000;
	-webkit-box-shadow: inset 0 1px 2px 0 #000;
	margin-top: 7px;
}

#content.account .loggedinas {
	font-size: 0.8em;
}

#content.account label {
	padding-top: 4px;
}

#content.account h2 {
	font-size: 0.8em;
}

h3 {
	font-size: 0.9em;
}

.geotrust img {
	margin: 0;
	border: none;
	background-color: transparent;
	padding: 0;
}

div.infoblock {
	font-size: 0.8em;
	background-color: #f2f2f2;
	border: 1px solid #f8f8f8;
	padding: 4px;
	margin: 6px 0 6px 0;
}

div.formrow {
	padding-top: 6px;
}
div.formrow label {
	display: block;
	font-size: 0.75em;
}

div.infoblock h3 {
	font-size: 0.6em;
}

div.formbuttons {
	margin-top: 6px;
	text-align: right;
	width: 305px;
}
div.formbuttons.toppad {
	margin-top: 11px;
}

div.paybuttons {
	margin-top: 12px;
	text-align: center;
}
.geotrust {
	margin-top: 13px;
	text-align: center;
}

div#quoteauto {
	width: 80%;
	margin-right: 5%;
	border-radius: 7px;
	font-size: 0.85em;
	max-height: 70%;
	padding-bottom: 4px;
}

div#quoteauto div {
	padding: 11px 7px 11px 7px;
}

#dateid, #tickerid {
font-size: 1.1em;
height: 1.2em;
margin-right: 0.5em;
}

.moreinfo {
	font-size: 1.1em;
}

.etable td, .etable th {
	font-size: 1.1em;
	padding: 8px;
}

.etable img {
	margin: 0 0 0 1em;
	height: 0.8em;
}

.etable.summary td, .etable.summary th {
	font-size: 1em;
	padding: 6px;
}

.evtable td, .evtable th {
	font-size: .9em;
}
