/*
Theme Name: JamesGray
Theme URI: http://jamesgray.com
Description: Design for JamesGray.com
Version: 1.0
*/

/* import css */
@import "reset.css";

body {
	font-size: 12px;
	font-family:Georgia, "Times New Roman", Times, serif;
	background: #fff url(images/bgbody.jpg) no-repeat top center;
	color: #fff;
	line-height: 1.2;
}

a:link, a:visited, a:active {
	text-decoration: none;
	color:#6598B8;
	padding: 0;
}

a:hover {
	text-decoration: none;
	color:#a8a8a8;
	padding: 0;
}

h3 {
	font-size: 17px;
	padding: 0;
	margin: 0 0 6px;
}

#wrapper {
	width: 700px;
	display: block;
	margin: 0 auto;
    min-height: 600px;
    max-height: 850px;
    overflow: auto;
    padding: 0 250px;
    height: auto;
}
#logo {
	width: 183px;
	height: 33px;
	margin: 30px 0 15px;
	background: transparent url(images/logo.png) no-repeat 0 0;
}

#logo a {
	width: 183px;
	height: 33px;
	display: block;
	text-indent: -9999px;
	text-decoration: none;
	border: 0;
}

#logo a:hover {
	
}

.tabs {
	float: left;
	width: 100%;
	background: transparent;
	font-size: 15px;
	color: #fff;
	line-height: normal;
	display: block;
	position: relative;
	margin: 0 0 0 15px;
	z-index: 100;
}

.tabs ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tabs li {
	float: left;
	margin: 0;
	padding: 0;
	position: relative;
}

.tabs li a {
	float: left;
	position: relative;
	background: transparent url(images/tableft.png) no-repeat 0 0;
	margin: 0 17px 0 0;
	padding: 0 0 0 4px;
	text-decoration: none;
	border: 0;
}

.tabs li a span {
	float: left;
	position: relative;
	display: block;
	background: transparent url(images/tabright.png) no-repeat right top;
	padding: 5px 20px 4px 15px;
	color: #fff;
	border: 0;
}

/* Commented Backslash Hack hides rule from IE5-Mac \*/

.tabs li a span {
	float: none;
	border: 0;
        display: block;
}

/* End IE5-Mac hack */

.tabs a:hover span {
	color: #6598B8;
	border: 0;
}

.tabs a:hover, .tabs .current_page a {
	background-position: 0% -40px;
	border: 0;
}

.tabs a:hover span, .tabs .current_page a span {
	background-position: 100% -40px;
	border: 0;
}

.tabs ul ul {
	width: 145px;
	font-size: 11px;
}

/* style the second level links */
.tabs ul ul a, .tabs ul ul a:visited {
	background: #000;
        /* for IE */
        filter:alpha(opacity=90);
        /* CSS3 standard */
        opacity:0.9;
	color: #fff;
	height: auto;
	line-height: 1em;
	padding: 5px 0;
	width: 165px;
	border: 0;
	/* border-width: 0 1px 1px 1px; */
}

/* make the second level visible when hover on first level list OR link */
.tabs ul li:hover ul,
.tabs ul a:hover ul {
	visibility: visible;
	border: 0;
}

/* style the second level hover */
.tabs ul ul li a:hover {
	background: #000;
	border: 0;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */

.tabs table {
	position: absolute;
	top: 0;
	left: 0;
	border-collapse: collapse;
}

.tabs ul ul a, .tabs ul ul a:visited {
	/*border-bottom: 3px solid rgb(56,81,182);
	border-bottom: 3px solid rgba(56,81,182,0.50);*/
}



/* hide the sub levels and give them a positon absolute so that they take up no room */
.tabs ul ul {
	visibility: hidden;
	position: absolute;
	height: 0;
	top: 27px;
	left: 0;
	width: 145px;
}

.tabs ul ul a, .tabs ul ul a span {
	background-image: none;
        font-size: 1.1em;
}

#container {
	display: block;
	background: url(images/container_bg.png) repeat-y 0 0;
	margin: 0 0 20px 0;
	position: relative;
	float: left;
	width: 700px;
        font-size: 1.1em;
}

.latest-posts {
/*  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.75);
  border: 3px solid #acb6c8;*/
	margin: 20px 20px 20px 15px;
	padding: 10px;
}
.latest-posts h2{
	margin: 0px;
	font-size: 16px;
}
.latest-posts .post{
  margin:10px 0px 30px 0px;
}
.latest-posts .post small{
 color:#777; 
}
.latest-posts .navigation{
  height:30px;
}
.latest-posts .alignleft{
  float:right;
}
.latest-posts .postmetadata{
  float:right;
}
.home-post {
	width: 250px;
	height: 270px;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.75);
	border: 3px solid #acb6c8;
	margin: 20px 0 20px 15px;
	float: left;
	display: inline;
	padding: 10px;
}

.home-post h2 {
  margin: 0 0 4px;
  font-size: 14px;
}

.home-img {
	width: 380px;
	float: left;
	margin: 20px 0 25px 15px;
	display: inline;
}

.contact-page {
	height: 271px;
}

.contact-page p {
	text-align: center;
}

.contact-page a:hover {
	text-decoration: none;
	color:#6598B8;
	padding: 0;
}

.page-post {
	width: 648px;
	margin: 8px 0 15px 18px;
	float: left;
	padding: 8px;
}

.page-img {
	background: #fff;
	float: left;
	margin: 5px 0 40px 0;
	text-align: center;
	width: 648px;
	position: relative;
	display: block;
}

.post-container {
	float: left;
        height: auto;
        margin: 10px 0 15px 0;
        width: 100%;
}

.page-img cite {
	background-color: rgb(125,133,149);
	background-color: rgba(125,133,149,0.75);
	/* filter:alpha(opacity=55);
	opacity:.55; */
	color: #fff;
	font-size: 24px;
	font-family: Georgia;
	position: absolute;
	text-align: left;
	top: 0;
	right: 0;
	width: 633px;
	height: 35px;
	margin: 0 0 0 0;
	padding: 6px 0 0 15px;
	border-bottom: 0;
	border-left: 0;
}

a.bigButton, a.bigButton:hover {
	background: url(images/latest_posts.png) no-repeat 0 0;
	width: 211px;
	height: 28px;
        position:absolute;
	display: block;
	font-size: 16px;
	text-align: center;
	color: #fff;
	text-transform: uppercase;
	padding: 5px 0 0;
	font-family: Georgia;
        left: 50px;
        top:270px;
}

#footer {
        width: 700px;
        margin: 0 auto;
	top:875px;
        text-align:center;
        color:#000;
        position: absolute;
}

#footerHome {
        width: 100%;
        margin: 0 auto;
	top:875px;
        text-align:center;
        color:#000;
        position: absolute;
}


/*#footer {
	margin: 13px 20px 13px 0;
	position: relative;
	text-align: right;
	display: block;
}*/

.clearer {
	clear: both;
	line-height: 0;
	margin: 0;
	padding: 0;
	height: 0;
}

ul.category_images_ii {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
}
li.category_image {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
	height: 252px;
}
#toprss {
        display: inline;
        float: right;
        line-height: 41px;
        margin: -7px 0 0;
        width: 65px;
}
.widget {
        color: #000;
        float: right;
        text-align: right;
        width:100%;
        margin-top: -10px
}
.widget input {
        margin: 5px 0;
}
.widget h4 {
	filter:alpha(opacity=0);
	-moz-opacity:0;
	-khtml-opacity: 0;
	opacity: 0;
        width:100%;
}
.numbers {
         float: left;
         background: url(images/numbers.gif) no-repeat 0 0;
         font-family: Helvetica;
         font-size: 14px;
         color: #FFF;
         text-align: center;
         margin: 15px 5px 5px 4px;
         padding: 5px 0;
         width: 25px;
         height: 25px;
}
#recentcomments {
         float: left;
}


ol li.comment {
	margin: 5px 0 15px 0;
}

form textarea {
	width: 550px;
}


