/*
=========================
CSS for www.tamewhale.com
gavin@tamewhale.com
Version: 2
Last Update: 10/03/10
=========================
*/

/*
=============================================================
RESET
	
Adapted from Eric Meyer's reset at:
http://meyerweb.com/eric/thoughts/2008/01/15/resetting-again/
=============================================================
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
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-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*
=============
GLOBAL STYLES
=============
*/

html, body {
    height: 100%;
}

body {
	font-family: Cambria, Georgia, Times, Times New Roman, serif;
	color: #333;
    background: #eee url(../images/sumtextb.jpg) repeat;
    font-size: 16px;
}

#container {
    min-height: 100%;
    position: relative;
}

#wrapper {
	width: 940px;
	padding: 0 20px 220px;
	margin: 0 auto;
	clear: both;
}

h2 {
	font-weight: normal;
	font-size: 28px;
	color: #eaa333;
	margin-bottom: 20px;
    line-height: 38px;
    border-bottom: 2px solid #eaa333;
}

h3 {
	font-weight: normal;
	font-size: 18px;
	color: #555;
	margin-bottom: 20px;
    line-height: 20px;
}

p {
	line-height: 20px;
	color: #444;
	text-align: justify;
	margin-bottom: 20px;
}

a {
	color: #eaa333;
	padding: 2px 4px;
    margin: 0 -4px;
}

a:visited {color:#8b4513;}

a:hover, a:focus {
	color: white;
	background-color: #eaa333;
	text-decoration: none;
}

a:active {background-color:#8b4513;}

.clear {clear: both;}

/*
======
HEADER
======
*/

#header {
	height: 170px;
	color: #aaa;
	margin-bottom: 29px;
	background: #eee url(../images/header.png) repeat-x;
}

    #header img {
        display: block;
        float: left;
        margin-top: 24px;
    }

    #header a:hover, #header a:focus, #header a:active {
        background-color: transparent;
    }

    #header div {
        display: block;
        width: 940px;
        padding: 0 20px;
        margin: 0 auto;
    }

    #header h1 {
        background: transparent url(../images/logotype.jpg) no-repeat left bottom;
        text-indent: -999em;
        display: block;
        width: 350px;
        height: 90px;
    	font-family: Helvetica, Calibri, Arial, sans-serif;
    	font-size: 42px;
    	font-weight: bold;
    	letter-spacing: -1px;
    	margin: 13px 0 14px -29px;
    	line-height: 40px;
    	float: left;
        font-style: italic;
    }

    #header h1 span {
    	color: #eaa333;
    	font-weight: normal;
        font-style: normal;
        padding-left: 3px;
    }

    #header p {
    	color: #888;
    	font-style: italic;
    	font-size: 1.2em;
    	line-height: 1.3em;
    	float: left;
    	clear: left;
    }

    #header .amp {
    	font-family: "URW Palladio L", Baskerville, "Goudy Old Style", "Palatino", "Book Antiqua", Constantia, serif;
    	font-style: italic;
    }
    
/*
============
MAIN CONTENT
============
*/
    
#content {
	width: 600px;
    padding-right: 20px;
	float: left;
}

/*
=======
SIDEBAR
=======
*/

#sidebar {
	width: 300px;
	float: right;
}

    #sidebar p {
        margin-bottom: 20px;
        color: #eaa333;
    }

    #sidebar a {
        margin-left: -4px;
    }

/*
======
FOOTER
======
*/
    
#footer {
	clear: both;
    background-color: #333;
    padding: 40px 0 60px;
    position: absolute;
    bottom: 0;
    height: 100px;
    width: 100%;
}

    #footer div {
        margin: 0 auto;
        width: 940px;
    }
    
    #footer p {
        color: #888;
        text-align: center;
    }

/*
============
FORM STYLING
============
*/

form {
	display: block;
	width: 800px;
	height: auto;
	margin: 0;
}

fieldset {
	border: none;
}

label,input, textarea {
	display: block;
	float: left;
	margin-bottom: 17px;
}

input, textarea {
    border-top: 1px solid #ddd;
    border-right: none;
    border-bottom: none;
    border-left: 1px solid #ddd;
    margin-top: -2px;
    padding: 4px;
}

textarea {
	color: #888;
	font-family: Cambria, Georgia, Times, Times New Roman, serif;
	font-style: italic;
    font-size: 1em;
    width: 468px;
    height: 174px;
}

textarea.focus {
    color: #222;
    font-style: normal;
}

label {
	width: 4em;
	padding-right: 1em;
}

input {
    width: 300px;
}

form br {
	clear: left;
}

.help {
    display: none;
    color: #444;
    text-shadow: 0 1px 1px #d8d8d8;
    background-color: #eaa333;
    border-bottom: 1px solid silver;
    border-right: 1px solid silver;
    float: left;
	margin: -2px 0 0 3px;
    padding: 2px 6px 2px 0;
}

.help img {
    position: relative;
    left: -8px;
    top: -2px;
    vertical-align: middle;
}

#submit {
    width: auto;
    padding: 0;
    cursor: pointer;
    background-color: #ccc;
    font-weight: bold;
    text-shadow: #fff 0 1px 1px;
    border: 6px solid #ccc;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

#submit:hover, #submit:focus {
    background-color: #999;
    border-color: #999;
    text-shadow: #ccc 0 1px 1px;
}

/*
========
HASHGRID
========
*/

#grid{
    background: url(../images/bg-grid-980.gif) repeat-y 0 0;
    width: 980px;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -490px;
}

#grid.grid-1{
    background: url(../images/bg-grid-980.gif) repeat-y 0 0;
}

#grid.grid-2{
    background: url(../images/bg-grid-660.gif) repeat-y 160px 0;
    padding: 0 160px;
    width: 660px;
}

#grid div.horiz{
    height: 19px;
    border-bottom: 1px dotted #aaa;
    margin: 0;
    padding: 0;
}
