/*
Theme Name: Revsys
Date: 2010.07
Author: Greg Newman
*/

/* `Block Level Elements
----------------------------------------------------------------------------------------------------*/

body {
    background: url(../images/revsys-bg.png);
    height: 100%;
}

a {
    color: #28749b;
    text-decoration: none;
}

#page {
    background: url(../images/revsys-blockbg.png);
    width: 960px;
    height: 100%;
    padding: 10px;
    margin: 0 auto;
}

header {
    height: 75px;
    background: url(../images/revsys-header-border.png) no-repeat bottom center;
    margin-bottom: 20px;
    padding-top: 10px;
    color: #474747;
}

nav {
    position: fixed;
    width: 130px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    line-height: 17px;
}

aside {
    width: 205px;
    margin: 0 10px 0 15px;
    float: right;
    color: #474747;
    font-size: 0.9em;
}

section {
    width: 580px;
    margin-left: 140px;
}

footer {
    margin-left: 140px;
    border-top: 3px solid #ffffff;
    width: 810px;
    padding-top: 15px;
    color: #474747;
}

/* `Clear Floated Elements
----------------------------------------------------------------------------------------------------*/

.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

.clearfix:after {
	clear: both;
	content: ' ';
	display: block;
	font-size: 0;
	line-height: 0;
	visibility: hidden;
	width: 0;
	height: 0;
}

/*
	The following zoom:1 rule is specifically for IE6 + IE7.
	Move to separate stylesheet if invalid CSS is a problem.
*/
* html .clearfix,
*:first-child+html .clearfix {
	zoom: 1;
}

/* `Header Elements
----------------------------------------------------------------------------------------------------*/

.logo {
    margin-left: 10px;
    float: left;
}

header p {
    margin-left: 271px;
}

header p a {
    color: #474747;
}



/* `Navigation Elements
----------------------------------------------------------------------------------------------------*/

nav ul {
    margin-left: 14px;
}

nav ul li {
    margin: 0;
    padding: 5px 0;
}

nav ul li a {
    color: #333333;
    text-decoration: none;
}

/* Active states */
.bodyhome nav ul li.home a,
.about_page nav ul li.about a,
.services_page nav ul li.services a,
.training_page nav ul li.training a,
.writings_page nav ul li.writings a,
.blog_page nav ul li.blog a,
.clients nav ul li.clients a,
.contact_page nav ul li.contact a,
.testimonials_page nav ul li.testimonials a {
    color: #ffffff;
    background: #28749b;
    border: 0 transparent;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
    text-shadow: 0 0 -1px #000;
	padding: 3px 7px 4px 7px;
}

/* `Aside Elements
----------------------------------------------------------------------------------------------------*/

aside h2 {
    margin-bottom: 10px;
}

aside h2 a, aside div.tweets p a { 
    color: #474747;
}

aside .subscribe h2 {
    background: url(../images/revsys-dash.png) repeat-x top left;
    padding-top: 10px;
}

.subscribe h2 span {
    float: right;
    margin-top: -5px;
}

a.feed,
a.twitter {
    float: right;
    width: 32px;
    height: 32px;
    display: block;
}

a.feed {
    background: url(../images/revsys-social-sprite.png) no-repeat;
}

a.twitter {
    background: url(../images/revsys-social-sprite.png) no-repeat -40px 0;
}

a.feed:hover {
    background: url(../images/revsys-social-sprite.png) no-repeat 0 -36px;
}

a.twitter:hover {
    background: url(../images/revsys-social-sprite.png) no-repeat -40px -36px;
}

p.quote {
    font-family: FontinSansItalic, Helvetica, Arial, sans-serif;
}

/* `Section Elements
----------------------------------------------------------------------------------------------------*/

section h2 {
    margin-bottom: 5px;
}

section h3,
section h4 {
    color: #28749b;
    font-size: 16px;
    font-family: FontinSansBold, Helvetica, Arial, sans-serif;
}

section h3 a {
    color: #28749b;
    text-decoration: none;
}

div.boxed {
    background: rgba(255,255,255,0.3);
    border: 0 transparent;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	padding: 10px 20px 5px 20px;
	margin-bottom: 15px;
}

.content_title h2 {
    background: url(../images/revsys-dash.png) repeat-x top left;
    text-transform: uppercase;
    padding-top: 10px;
}

.story_list h2 a { 
    color: #474747;
}

/* `Form Elements
----------------------------------------------------------------------------------------------------*/
td.label {
	width: 80px;
	font-weight: bold;
}

td textarea {
	padding: 8px;
	vertical-align: top;	
}

td input[type=text] {
	width: 220px;
	padding: 5px;
}

input[type=text],
textarea {
    border: 1px solid #666666;
    background: #cccccc;
    -moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	padding: 10px 20px 5px 20px;
}

input:focus,
textarea:focus {
	background: #f7f7f7;
}

button,
input[type=submit] {
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(231, 233, 234)), to(rgb(212, 214, 215)));
    border: 1px solid rgba(0, 0, 0, 0.296875);
    color: #333333;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	line-height: 25px;
    padding: 0 10px;
    outline: 0;
    cursor: pointer;
    font-size: 11px;
    white-space: nowrap;
}

legend {
    width: 100%;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9em;
    padding-top: 15px;
}

form {
    padding-top: 15px;
}

