/* Basic styles for ChinglishMail app
 * Ben Hayes, July 2009
 * info@jackfruitdesign.com
 */

/* Eric Meyer's reset styles: */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, cite, code, del, em, img, strong, sub, sup, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; } input, textarea { font-family: inherit; } body { color: black; background: white; } ol, ul { list-style: none; } table { border-collapse: separate; border-spacing: 0; } caption, th, td { text-align: left; font-weight: normal; } blockquote:before, blockquote:after, q:before, q:after { content: ""; } blockquote, q { quotes: "" ""; }


body, input, textarea, select {
	font-size: 14px;
	line-height: 20px;
	font-family: Arial, sans-serif;
	color: #222;
}

h1 {
	font-size: 30px;
	line-height: 30px;
	font-weight: normal;
}

h2 {
	font-size: 24px;
	font-weight: normal;
}

h3, h4, h5 {
	font-size: 16px;
	font-weight: bold;
}

strong { font-weight: bold; }
em { font-style: italic; }

p.smallprint {
	font-style: italic;
	font-size: 12px;
}

#wrapper { padding: 0 0 20px 0; }

#page {
	width: 980px;
	margin: 0 auto;
}

#content div.half {
	width: 48%;
}
#content div.row {
	clear: both;
}
#content div.left {
	float: left;
}
#content div.right {
	float: right;
}

#content ul.highlight {
	font-weight: bold;
	font-size: 16px;
	background-color: #f2f2f2;
	margin-left: -10px;
	padding: 10px;
	list-style-image: url(../images/bullet.gif);
	padding-left: 28px;
}

#content ul {
	padding-left: 30px;
	list-style-type: disc;
}

ol {
	padding-left: 30px;
}

ol li {
	list-style-type: decimal;
}

ol li li {
	list-style-type: lower-alpha;
}

ol li li li {
	list-style-type: lower-roman;
}

p.notification, p.error {
	background-color: #FFA300;
	margin-left: -10px;
	color: #fff;
	font-weight: bold;
	padding: 10px;
}

p.error {
	background-color: #F55800;
}


h1, h2, h3, h4, h5, p, ul, ol, dl {
	margin: 20px 0;
}

a:link, a:visited {
	color: #C21300;
	text-decoration: underline;
}

a:hover, a:active {
	color: #222;
}

a.button:link, a.button:visited { color: #fff; text-decoration: none; }
a.button:hover, a.button:active { color: #fff; }

#mainnav {
	background-color: #f2f2f2;
	width: 100%;
	overflow: auto;
	clear: both;
	padding: 10px 0;
}

#mainnav ul {
	padding: 5px 10px;
	margin: 0;
}

#mainnav ul li {
	float: left;
	margin: 0 20px 0 0;
	font-size: 18px;
	font-weight: bold;
}

#mainnav ul li a {
	text-decoration: none;
	display: block;
}

#mainnav ul li.current a:link, #mainnav ul li.current a:visited {
	color: #222;
}

#top {
	padding: 10px;
	height: 80px;
}

a#logo {
	display: block;
	float: left;
}

#topnav {
	float: right;
}

#content {
	padding: 0 10px;
}

.withsidebar #content {
	margin-right: 250px;
}

#sidebar {
	float: right;
	width: 230px;
	color: #666;
}

div.section {
	margin-bottom: 40px;
}



/* =forms
 * ================================================== */

form {
	background-color: #FFF1D9;
	padding: 10px;
	margin: 20px 0 20px -10px;
}

label {
	display: block;
}

input.radio { display: inline; }

input.textbox, textarea {
	border: 1px solid #F2CE94;
	padding: 1px;
}

.button {
	background: #BA1200 url(../images/gradient-red.gif) left top repeat-x;
	border: 1px solid #BA1200;
	cursor: pointer;
	color: #fff;
	text-shadow: 1px #990B00;
	margin: 10px 0;
	padding: 1px 8px;
}

.button:hover {
	background-image: none;
}

#topnav form {
	padding: 3px 10px;
	margin: 6px 0 0;
}

#topnav form input {
	vertical-align: middle;
}

#topnav a#loginhelp {
	font-size: 12px;
	text-align: right;
	display: block;
	padding: 3px 10px 0 0;
}

input#getstarted {
	font-size: 20px;
	padding: 4px 12px;
}

fieldset {
	padding: 20px 0;
}


/* =tables
 * ================================================== */
table {
	margin: 10px 0 10px 0px;
}

th {
	background: #1A1A1A url(../images/gradient-black.gif) left top repeat-x;
	color: #fff;
	padding: 4px 10px;
}

td {
	padding: 4px 10px;
	background-color: #f2f2f2;
}

td.usertype {
	font-style: italic;
}

td#regenerate {
	vertical-align: middle;
}


/* =home
 * =================================================== */
body.index div.left form, body.home div.left form {
	margin-left: 0;
}

body.index div.left, body.home div.left {
	padding-top: 10px;
	width: 51%;
}

body.index #content div.right, body.home #content div.right {
	width: 47%;
}

body.index #content ul.highlight li, body.home #content ul.highlight li {
	margin-bottom: 6px;
}


body.index #content ul, body.home #content ul {
	padding-left: 20px;
}

body.index #content ul.highlight, body.home #content ul.highlight {
	padding-left: 30px;
}

