/***** Global Settings *****/

* {
	margin: 0;
}

html, body {
border:0;
margin:0;
padding:0;
height: 100%;
}

body {
font:.9em/1.4em arial, helvetica, sans-serif;
background: url(../images/back.jpg) repeat-x #fff;
color: #393939;
}

/***** Common Formatting *****/

h1, h2, h3, h4, h5, h6 {
margin:0;
padding:0;
font-weight:normal;
color: #57b7df;
}

h1 {
padding:30px 0 15px 0;
letter-spacing:-1px;
font:2em arial, helvetica, sans-serif;
}

h2 {
padding:20px 0;
letter-spacing:-1px;
font:1.5em arial, helvetica, sans-serif;
}

h3 {
font:1em arial, helvetica, sans-serif;
font-weight:bold;
}

p, ul, ol {
margin:0;
padding:0 0 18px 0;
}

ul, ol {
list-style:disc;
padding:0 0 18px 40px;
}

blockquote {
margin:22px 40px;
padding:0;
}

small {
font-size:0.85em;
}

img {
border:0;
}

sup {
position:relative;
bottom:0.3em;
vertical-align:baseline;
}

sub {
position:relative;
bottom:-0.2em;
vertical-align:baseline;
}

acronym, abbr {
cursor:help;
letter-spacing:1px;
border-bottom:1px dashed;
}

/***** Links *****/

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

a:hover {
text-decoration: none;
}

/***** Forms *****/

form {
margin:0;
padding:0;
display:inline;
}

input, select, textarea {
font:1em arial, helvetica, sans-serif;
}

textarea {
line-height:1.25;
}

label {
cursor:pointer;
}

/***** Tables *****/

table {
border:0;
margin:0 0 18px 0;
padding:0;
}

	table tr td {
	padding:2px;
	}

/***** Wrapper *****/

#wrap {
width:960px;
margin:0 auto;
min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -123px; /* the bottom margin is the negative value of the footer's height */
}

/***** Header *****/

#header h1 {
float:left;
display:block;
padding: 0 0 0 0;
text-indent:-2000px;
}
	
	#header h1 a {
	width:311px;
	height:163px;
	display:block;
	background:url(../images/logo.jpg) no-repeat;
	}
	
#welcome-button {
float: right;
display: block;
width: 214px;
height: 41px;
margin: 13px 0 0 0;
}

#nav {
margin: 9px 0 0 0;
*margin: 28px 0 0 0;
display: block;
text-transform: uppercase;
color: #464646;
font-weight: bold;
font-size: .9em;
}

#nav ul {
margin: 0;
padding: 0;
list-style: none;
}

#nav li {
margin: 0;
padding: 0 20px;
float: left;
display: block;
}

#nav a {
color: #464646;
text-decoration: none;
}

#nav a:hover {
color: #d8d8d8;
}

#nav h3 {
color: #ddd;
padding: 2px 0 0 0;
}
	
/***** Home *****/

#home-left {
float: left;
display: block;
width: 639px;
}

#home-right {
float: right;
display: block;
width: 300px;
margin: 15px 0 0 0;
}

#flash {
background: url(../images/flashback.jpg) no-repeat;
display: block;
width: 615px;
height: 361px;
padding: 12px;
margin: 22px 0 0 0;
}

#button1 {
padding: 16px 0 0 12px;
float: left;
display: block;
}

#button2 {
padding: 16px 12px 0 0;
float: right;
display: block;
}

#home-right h2 {
border-bottom: 3px solid #57b7df;
padding: 10px 0 1px 0;
margin: 0 0 3px 0;
}

#home-right h2 a {
color: #57b7df;
}

#home-right a {
text-decoration: none;
}

#home-right a:hover {
text-decoration: underline;
}

#blogposts ul {
list-style: none;
padding: 0;
margin: 0;
}

#blogposts li {
padding: 0;
margin: 0;
}

#blogposts li a {
color: #393939;
}

#blogposts h2 a {
color: #57b7df;
}

.socialicon {
padding: 0 0 0 5px;
}

/***** Sub *****/

#subcontent {
width: 709px;
float: left;
display: block;
margin: 28px 0 0 0;
}

#subnav {
float: right;
display: block;
width: 223px;
color: #7c7c7c;
font-size: 1.05em;
margin: 20px 0 0 0;
}

#subnav a {
color: #7c7c7c;
text-decoration: none;
}

#subnav a:hover {
color: #57b7df;
}

#subnav ul {
margin: 0;
padding: 0;
list-style: none;
}

#subnav li {
margin: 0;
padding: 10px 0;
}

/***** Footer *****/

#push {
height: 123px;
margin: 30px 0 0 0;
*margin: 50px 0 0 0;
}

#footer {
height: 123px;
background: url(../images/footer.jpg) repeat-x;
width: 100%;
color: #565a58;
font-size: .9em;
}

#footer a {
color: #565a58;
}

#f1 {
float: left;
display: block;
padding: 22px 0 0 0;
}

#f2 {
float: right;
display: block;
padding: 22px 0 0 0;
}

/***** Global Classes *****/

.clear 			{ clear:both; }

.float-left 	{ float:left; }
.float-right 	{ float:right; }

.text-left 		{ text-align:left; }
.text-right 	{ text-align:right; }
.text-center 	{ text-align:center; }
.text-justify 	{ text-align:justify; }

.bold 			{ font-weight:bold; }
.italic 		{ font-style:italic; }
.underline 		{ border-bottom:1px solid; }
.highlight 		{ background:#ffc; }

.wrap 			{ width:960px;margin:0 auto; }

.img-left 		{ float:left;margin:4px 10px 4px 0; }
.img-right 		{ float:right;margin:4px 0 4px 10px; }

.nopadding 		{ padding:0; }
.noindent 		{ margin-left:0;padding-left:0; }
.nobullet 		{ list-style:none;list-style-image:none; }