/*
Theme Name: Peter Bristol
Theme URI: http://peterbristol.net/
Description: Wordpress theme for Peter Bristol's portfolio site
Author: Hamilton Boyce, Peter Bristol
Version: 1.0
Tags: 
*/


/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

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 {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
body {
/*	line-height: 1; */
	padding-bottom: 100px;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: normal;
}
ol, ul {
	list-style: none;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img {
	border: none;
}

/* end CSS reset */

body {
	font-family: "Times New Roman", Times, Georgia, serif;
}

a {
	text-decoration: none;
	outline: none;
	color: #000;
}

a:hover {
	color:#999;
}

a:active {
	color:#CCC;
}

#wrapper {
	margin: 40px auto 10px;
	padding: 0 5px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 18px;
	line-height: 1.1em;
}

/* nav and header */

#site-nav {
	font-family: Helvetica, Arial, sans-serif;
	line-height: 1.1em;
	font-size:22px;
	font-weight:bold;
	text-transform:lowercase;
	text-align: center;
	width:1008px;
	margin:0 auto;
}

.single-post #site-nav {
	width:600px;
}

#site-nav li {
	list-style: none;
}

#site-nav a {
	color:#CCC;
}

#site-nav a:hover {
	color:#999;
}

#site-nav a.current {
	color:#000;
}

#site-nav a.current:hover {
	color:#666;
}

#infolink {
	background-image: url("images/info.png");
    background-position: center center;
    display: block;
    height: 22px;
    margin: 0 auto;
    width: 90px;
    text-indent: -9999px;

}

#projectslink {
	background-image: url("images/projects.png");
    background-position: center center;
    display: block;
    height: 28px;
    margin: 0 auto;
    width: 90px;
    text-indent: -9999px;

}

#category-nav .filter {
	background-image: url("images/filter.png");
    background-position: center center;
    display: block;
    height: 25px;
    margin: 0 auto;
    width: 90px;
    text-indent: -9999px;

}

a#infolink, a#projectslink {
	opacity:0.22;
	filter:alpha(opacity=22);
}

a#infolink:hover, a#projectslink:hover {
	opacity:0.46;
	filter:alpha(opacity=46);
}

a#infolink.current, a#projectslink.current {
	opacity:1;
	filter:alpha(opacity=100);
}

a#infolink.current:hover, a#projectslink.current:hover {
	opacity:0.6;
	filter:alpha(opacity=60);
}


#category-nav, #project-nav, #page-nav {
	color:#000;
	font-size:14px;
	font-style:italic;
	height:16px;
	margin:0 auto;
	width:1008px;
	padding: 0;
	text-align: center;
	font-weight: bold;
}

#category-nav .filter {
	font-size: 16px;
}

#category-nav {
	margin-top: 0px;
}


.single-post #project-nav {
	width:600px;
}

.page #site-nav {
	width:550px;
}

.cat-listing {
	font-size: 14px;
    font-style: italic;
    font-weight: bold;
}

#page-nav {
	width:550px;
}

#category-nav a, #site-nav .project-nav a, #site-nav .cat-listing a, #page-nav a {
	color:#000;
}

#category-nav a:hover, #site-nav .project-nav a:hover, #site-nav .cat-listing a:hover, #page-nav a:hover {
	color:#999;
}

#category-nav a:active, #site-nav .project-nav a:active, #site-nav .cat-listing a:active, #page-nav a:active {
	color:#CCC;
}

#page-nav ul {
	float:right;
	margin:0 8px;
}

#page-nav li {
	display: inline;
	margin-left: 30px;
}

#filter {
	float:left;
	width: 105%;
	margin-bottom: 30px;
	text-align: left;
}

#category-nav a.filter {
	opacity:1;
	filter:alpha(opacity=100);
}

#category-nav a.filter:hover {
	opacity:0.46;
	filter:alpha(opacity=46);
}

#category-nav a.filter:active {
	opacity:0.22;
	filter:alpha(opacity=22);
}

#category-nav a#filter-show {
	color:#CCC;
	opacity:0.22;
	filter:alpha(opacity=22);
}

#category-nav a#filter-show:hover {
	opacity:0.46;
	filter:alpha(opacity=46);
}

#category-nav a#filter-show:active {
	opacity:0.22;
	filter:alpha(opacity=22);
}



.archive.category #categorylist a {
	color:#CCC;	
}

.archive.category #categorylist .current-cat a {
	color:#000;
}

.archive.category #categorylist a:hover {
	color:#999;
}

#category-nav ul#categorylist {
	float: left;
	text-transform: lowercase;
	margin-top: 45px;
}

#category-nav li {
	display: block;
	width:140px;
	float: left;
	margin-right: 30px;
}

#categorylist .project_list {
	font-size: 12px;
    font-weight: normal;
    margin-top: 5px;
    text-transform: none;
}

#categorylist a {
	display: block;
	width:100%;
	margin-left: 2px;
}

#filter #categorylist .project_list li a:hover, #filter #categorylist .project_list.hovered li a, #filter #categorylist .project_list li a.hovered {
	color:#999;
}


#page-nav {
	text-transform: lowercase;
	margin-top:30px;
}

.project-nav {
	position: relative;
}

.nav-next, .nav-previous {
	position: absolute;
	top:1px;
}

.nav-next { left:340px; }
.nav-previous { left:230px; }

.nav-next span, .nav-previous span {
	background: url("images/arrows_magnifying_glass.png") repeat scroll -30px -21px transparent;
    display: block;
    height: 20px;
    width: 24px;
    margin: 4px;
}

.nav-next a:hover span, .nav-previous a:hover span {
	opacity:0.5;
	filter:alpha(opacity=50);
}

.nav-next span {
	background-position: -53px -21px;
}

.nav-next a, .nav-previous a {

}

#project-nav .close-project {
	display:inline;
	margin: 2px;
}

/* nav and header end */



/* projects nav page */

#content {
	width:1020px;
	clear: both;
	margin:35px auto 0;
}

#content .post {
	float:left;
	position:relative;
}

#content img.wp-post-image {
/*should be	width of 328px based on "Medium" size in media settings */
	float: left;
}

#content .post-img-bkg {
	margin: 4px 6px 7px;
	float:left;
}


#content a:hover img.wp-post-image, #content a.hovered img.wp-post-image {
	visibility: hidden;
}

#content h2.project-title {
	position: absolute;
	left:0;
	font-size: 18px;
	display: none;
	text-align: center;
    top: 50%;
    margin-top:-10px;
    width:100%;
}

.home #content .post a:hover, .archive #content .post a:hover {
	color: #FFF; /* default title color if none is specified in the post */
}

#content a:hover h2.project-title, #content a.hovered h2.project-title {
	display: block;
}

/* projects nav page end */



/* single post */

.single-post #content {
	margin:35px auto;
	width:600px;
}

.single-post #content .post {
	width:100%;
	padding-bottom: 100px;
}

.single-post #content .post img {
/*	images should be uploaded at the width of the project (width:100%;) */
	float: left;
	width:600px;
	height: auto;
}

a.imgzoom {
	position: relative;
	float: left;
}

a.imgzoom span {
	background: url("images/arrows_magnifying_glass.png") 91px top;
    bottom: 15px;
    display: none;
    height: 45px;
    position: absolute;
    right: 10px;
    width: 30px;
}

a.imgzoom:hover span {
	display: block;
}

.single-post #content .post h1, .single-post #content .post h2 {
	font-size: 18px;
	margin-bottom: 8px;
	line-height: 22px;
	text-align: center;
}

.project-text {
	float:left;
	margin:10px 0;
	width:100%;
}


.project-text p {
	font-size: 13px;
    line-height: 20px;
    margin-bottom: 0.75em;
}


.project-info, .project-details {
	margin: 6px auto;
	width:70%;
}

.project-details ul {
	list-style: disc inside;
}


#details-show, #details-hide {
	clear: both;
	display: block;
	line-height: 13px;
	font-style: italic;
	margin: 6px auto;
	font-size: 13px;
	line-height: 20px;
	font-weight: bold;
	text-align: center;
}

a#details-show {
	color:#CCC;
}

a#details-show:hover {
	color:#333;
}

/* single post end */

/* page */

.page #wrapper {
	width:550px;
}

.page #content {
	margin:40px 10px 10px;
	width:530px;
	font-size: 14px;
    line-height: 22px;
	
}

.page .boxtoggle {
	text-transform: lowercase;
	font-weight: bold;
	font-style: italic;
	display: block;
	text-align: center;
}

.page #content .info-box {
	margin:18px 0;
}

.info-box p {
	font-style: italic;
}

.info-box strong {
	text-transform: uppercase;
	clear:both;
	display: block;
}

.contact {
	margin:40px 0;
}

.contact strong {
	display: block;
    float: left;
    margin-right: 10px;
    padding-right: 10px;
    text-align: right;
    width: 255px;
}

.column {
	float:left;
	margin-right: 20px;
}

.column.right {
	margin-right: 0;
}

.info-box .column {
	font-style: italic;
}

.info-box .column strong {
	font-style: normal;
	font-weight: bold;
	font-family: Helvetica, Arial, sans-serif;
	line-height: 1.1em;
	font-size: 18px;
}

/* page end */

#footer {
	clear: both;
    font-family: Helvetica, Arial, sans-serif;
    line-height: 1em;
    font-size: 10px;
    text-align: center;
    width: 100px;
    z-index: 5;
    position: fixed;
    bottom:0;
    left:50%;
    margin-left: -51px;
	background-color: #FFF;
	opacity:0.6;
	filter: alpha(opacity=60);
	padding: 2px;
}
/*
.single #footer, .page #footer {
    padding: 50px 0 10px;
    position: static;
}*/