/* 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:8px}

h2						{font-size:28px; top:10px}

h3						{font-size:22px; top:2px}

h4						{font-size:18px; top:4px}

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}

small					{position:relative; line-height:18px; top:5px}
p small                 {position:static; line-height:inherit}

/* lists */

ul, 
ol, 
dl, 
dialog					{font-size:13px; line-height:18px; margin-bottom:18px; position:relative; top:5px}

li ul, 
li ol                   {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}


/* tables */

table					{font-size:13px; border-top:solid 1px #999; position:relative; 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:-1px 0 18px 0}

.leading			    {margin-bottom:18px}

.noleading			    {margin-bottom:0 !important}