/* Typography mostly borrowed from (because of the extensive testing):
 * http://www.thenoodleincident.com/tutorials/typography/index.html
 *
 * Also Yahoo Reset CSS incorporated for stable base.
 *
 * Finally enhanced with Church CMS specific needs.
 *
 * Note that you should probably not adjust things directly here
 * but instead in styles.css. This just provides your foundation.
 */

/*############ Yahoo Reset CSS Start ################*/
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.1
*/
html{color:#000;background:#FFF;}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img{border:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}
li{list-style:none;}
caption,th{text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}
q:before,q:after{content:'';}
abbr,acronym {border:0;font-variant:normal;}
/* to preserve line-height and selector appearance */
sup {vertical-align:text-top;}
sub {vertical-align:text-bottom;}
input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}
/*to enable resizing for IE*/
input,textarea,select{*font-size:100%;}
/*because legend doesn't inherit in IE */
legend{color:#000;}
/*########### Yahoo Reset CSS End ####################*/

/*########### Sane CSS Generic styles start ##########*/
* {font-family: verdana, arial, helvetica, sans-serif}

body {
  font-size: 76%;
  color: black;
  background-color: white;
  margin: 0em;
  padding: 0em;
}

p, ol, ul, li {font-size: 1em; line-height: 1.8em;}

h1, h2, h3, h4, h5, h6, p {margin: 1.2em 0em 1.2em 0em;}
h1, h2, h3 {font-weight: normal;}
h4, h5, h6 {font-weight: bold;}
h1 {font-size: 2em;}
h2 {font-size: 1.7em;}
h3 {font-size: 1.4em;}
h4 {font-size: 1.2em;}
h5 {font-size: 1.0em;}
h6 {font-size: 0.8em;}

image {border: 0em;}

ol, ul, li {margin: 0.2em 0em 0.1em;}
ol {list-style-type: decimal;}
ul {list-style-type: disc;}
ol, ul {padding-left: 1em;}
dd {margin-top: 0.25em;margin-left: 2em;margin-bottom: 1em;}
li > p {margin-top: 0.2em;}

pre {font-family: monospace;font-size: 1.0em;}
strong, b {font-weight: bold;}
fieldset {
  border: thin solid black;
  padding: 0.5em;
  width: 30em;
  margin: 1em 0em;
}
fieldset legend {padding: 0em 0.25em; font-size: 1.2em}
.content ul li {list-style-type: disc}
.content ol li {list-style-type: decimal}
/*########### Sane CSS Generic styles end ##########*/

// Give Flash messages and error displays a sane look */
.flash {padding: 1em;border: thin solid black;font-size: 1.2em;}
.flash li {list-style-type: none;}
#notice {background-color: #ccff66; }
#message {background-color: #cccc66; }
#warning, #error {background-color: #cd5c5c; }
.errorExplanation {border: thin solid #666666; padding: 0em 1em 1em;}
.errorExplanation h2 {font-size: 1.2em;font-weight: bold; color: red;}
.errorExplanation li, .errorExplanation p {font-size: 1em !important;}
.errorExplanation li {list-style-type: disc !important;}
