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: 5px;
	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;
}
