/* Adapted by Cowie and Fox from:
 *   Baseline - a designer framework
 *   Copyright (C) 2009 Stephane Curzi, ProjetUrbain.com
 *   Creative Commons Attribution-Share Alike 3.0 License
 */

/* type */

body                    {font-size:75%; line-height:1.5; /*12/18*/ }

h1, 
h2, 
h3, 
h4, 
h5, 
h6                        {position:relative}

h1, 
h2                        {line-height:36px; margin-bottom:18px}

h1, 
h2, 
h3, 
h4                        {margin-top:18px}

h3, 
h4, 
h5, 
h6                        {line-height:18px}

h1                        {font-size:36px; top:6px}

h2                        {font-size:28px; top:9px}

h3                        {font-size:22px; top:2px}

h4                        {font-size:18px; top:3px}

h5                        {font-size:15px; top:4px}

h6                        {font-size:13px; top:5px}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child            {margin-top:0}

p, 
pre, 
address                    {font-size:13px; line-height:18px; margin-bottom:18px; position:relative; top:5px}

abbr, 
code, 
kbd,
samp, 
small, 
var                        {position:relative; line-height:18px; top:5px}


/* lists */

ul, 
ol, 
dl, 
dialog                    {font-size:13px; line-height:18px; position:relative; top:5px; margin-top:18px; margin-bottom:18px}

li ul, 
li ol                   {top:0; margin-top:0; margin-bottom:0}

li h1, 
li h2, 
li h3,
li h4, 
li h5, 
li h6,
li p                    {top:0}


/* forms */

.cform legend, 
.cform label                                        {position:relative; top:5px; font-size:13px; line-height:18px}

.cform input, 
.cform textarea                                        {font-size:12px}

.cform legend                                       {padding-bottom:18px}

.cform label,
.cform input,
.cform textarea,
.cform select,
.cform button                                       {margin-bottom:0}

.cform input[type="text"],
.cform input[type="password"],
.cform textarea                                     {border-width:1px; border-style:solid; padding:1px 2px}

.cform input[type="text"],
.cform input[type="password"],
.cform textarea,
.cform select                                       {height:16px; margin-top:4px; margin-bottom:12px}

.cform textarea                                     {display:block; line-height:18px; height:108px}

.cform input[type="submit"],
.cform button                                       {margin-top:4px; margin-bottom:12px}

/*
.radio                                                {margin:6px 0 0 1px; float:left; display:block; clear:left}
.radio-label                                        {margin:0 0 13px 0; padding-left:18px; float:none; display:block; clear:none}

.checkbox                                            {margin:6px 0 0 1px; float:left; display:block; clear:left}
.checkbox-label                                        {margin:0 0 13px 0; padding-left:18px; float:none; display:block; clear:none}
*/

/* tables */

table                    {font-size:13px; border-top:solid 1px #999; position:relative; top:-1px; margin-top:18px; margin-bottom:18px}

th, 
td                        {border-top:solid 1px #ccc; line-height:18px; padding-top:9px; padding-bottom:8px; position:relative}

caption                    {font-size:13px; line-height:18px; position:relative; top:5px; margin-bottom:18px}

hr                        {margin:18px 0 17px 0}

.leading                {margin-bottom:18px}

.noleading                {margin-bottom:0 !important}
