/*
Theme Name: Ellen Mendelbaum
Theme URI: http://blogwhatdesign.com
Authors: Chase Wiseman, PHP9 revision by Skaht Hansen
Author URI: http://blogwhatdesign.com/
Version: 1.1
License: GNU General Public License
*/


/* Reset
-------------------------------------------------------------------------------*/

html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}									

article, aside, figure, footer, header, hgroup, nav, section {display: block;}

/* force a vertical scrollbar to prevent a jumpy page */
html {overflow-y: scroll;}

/* we use a lot of ULs that aren't bulleted. 
	don't forget to restore the bullets within content. */
ul {list-style: none;}

blockquote, q {quotes: none;}

blockquote:before, 
blockquote:after, 
q:before, 
q:after {content: ''; content: none;}

a {margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent;}

del {text-decoration: line-through;}

abbr[title], dfn[title] {border-bottom: 1px dotted #000; cursor: help;}

/* tables still need cellspacing="0" in the markup */
table {border-collapse: collapse; border-spacing: 0;}
th {font-weight: bold; vertical-align: bottom;}
td {font-weight: normal; vertical-align: top;}

hr {display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0;}

input, select {vertical-align: middle;}

pre {
	white-space: pre; /* CSS2 */
	white-space: pre-wrap; /* CSS 2.1 */
	white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
	word-wrap: break-word; /* IE */
}

input[type="radio"] {vertical-align: text-bottom;}
input[type="checkbox"] {vertical-align: bottom; *vertical-align: baseline;}
.ie6 input {vertical-align: text-bottom;}

select, input, textarea {font: 99% sans-serif;}

table {font-size: inherit; font: 100%;}
 
/* Accessible focus treatment
	people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active {outline: none;}

small {font-size: 85%;}

strong, th {font-weight: bold;}

td, td img {vertical-align: top;} 

/* Make sure sup and sub don't screw with your line-heights
	gist.github.com/413930 */
sub, sup {font-size: 75%; line-height: 0; position: relative;}
sup {top: -0.5em;}
sub {bottom: -0.25em;}

/* standardize any monospaced elements */
pre, code, kbd, samp {font-family: monospace, sans-serif;}

/* hand cursor on clickable elements */
.clickable,
label, 
input[type=button], 
input[type=submit], 
button {cursor: pointer;}

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea {margin: 0;}

/* make buttons play nice in IE */
button {width: auto; overflow: visible;}
 
/* scale images in IE7 more attractively */
.ie7 img {-ms-interpolation-mode: bicubic;}

/* prevent BG image flicker upon hover */
.ie6 html {filter: expression(document.execCommand("BackgroundImageCache", false, true));}

/* let's clear some floats */
.group:before, .group:after { content: "\0020"; display: block; height: 0; overflow: hidden; }  
.group:after { clear: both; }  
.group { zoom: 1; }  



/* Ok, this is where the fun starts.
-------------------------------------------------------------------------------*/

/* new Linux- and Windows-friendly sans-serif font stack: http://mky.be/fontstack */
body {
	font: 13px Helmet, Freesans, sans-serif;
	color: #9a9b9d;
}

/* using local fonts? make sure to read up on Paul Irish's 
	Bulletproof @font-face syntax: http://mky.be/font-face/bulletproof/ */

a, a:link, a:visited {
	color: #007794;
	text-decoration: none;
}
a:hover {
	color: black;
} 

h1 {
	font-size: 2.45em;
	color: #007794;
	text-transform: uppercase;
}
h1.cat-title {
	margin-bottom: 12px;
	padding-bottom: 5px;
	color: #67686b;
	text-transform: uppercase;
	font-weight: 500;
	font-size: 1em;
	border-bottom: 1px solid #ebeced;
}
h2 {
	margin-bottom: 20px;
	color: #67686b;
	text-transform: uppercase;
}
p {
	color: #58595b;
	margin-bottom: 1em;
	line-height: 1.538em;
}



/* And here begins the Wordpress fun.
-------------------------------------------------------------------------------*/

/* Layout */
#page-wrap {
	width: 795px;
	margin: 30px auto;
}
#content {
	margin-bottom: 20px;
}

/* Header */
#main-header {
	margin-bottom: 10px;
	border-bottom: 1px solid #ebeced;
}
#main-header h1 {
	float: left;
	font-weight: normal;
}
#main-header h1 a:hover {
	color: #007794;
}

/* Nav */
#main-header #main-nav {
	float: right;
	margin-bottom: -1px;
	padding-top: 10px;
}
#main-menu a {
	color: #58595b;
}
#main-menu a:hover,
#main-menu li.current-menu-item > a,
#main-menu li.current-menu-parent > a {
	color: #007794;
}
#main-menu > li {
	position: relative;
	float: left;
}
#main-menu > li > a {
	position: relative;
	display: block;
	padding: 7px 7px 12px 7px;
	border: 1px solid transparent;
	border-bottom: none;
	z-index: 10;
}
#main-menu > li:hover > a,
#main-menu > li.current-menu-item > a,
#main-menu > li.current-menu-parent > a {
	color: #007794;
}
#main-menu > li:hover > a {
	background-color: white;
	border: 1px solid #ebeced;
	border-bottom: none;
}
#main-menu ul {
	position: absolute;
	display: none;
	left: 0px;
	top: 34px;
	width: 150px;
	background-color: white;
	border: 1px solid #ebeced;
	-moz-border-radius-bottomleft: 2px;
	-moz-border-radius-bottomright: 2px;
	-webkit-border-bottom-left-radius: 2px;
	-webkit-border-bottom-right-radius: 2px;
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	z-index: 5;
}
#main-menu ul li a {
	display: block;
	padding: 5px 10px;
	border-top: 1px solid #f0f1f1;
	border-bottom: 1px solid #f5f5f6;
}
#main-menu ul li.first a {
	border-top: none;
}
#main-menu ul li.last a {
	border-bottom: none;
}
#main-menu li:hover ul {
	display: block;
}

/* Front Slider */
#featured-projects { 
	width: 795px;
	height: 578px;
	overflow: hidden; }
#featured-projects>img,  
#featured-projects>div,
#featured-projects>a { display: none; }

#featured-projects .featured-project {
	background-color: white;
}
#featured-projects .project-hero {
	margin: 0 auto;
}
div.orbit-wrapper {
    width: 1px;
    height: 1px;
    position: relative; }

div.orbit {
    width: 1px;
    height: 1px;
    position: relative;
    overflow: hidden }

div.orbit>a {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    line-height: 0; 
    display: none; }

.orbit>div {
    position: absolute;
    top: 0;
    left: 0;
    width: 795px;
	height: 578px; }
div.timer {
	display: none
}

/* Pages */
body.page #content h1 {
	font-size: 1.538em;
	color: #58595b;
	text-transform: none;
	margin-bottom: 10px;
}
body.page #sidebar {
	float: left;
	width: 310px;
}
body.page #sidebar .page-thumb-wrap {
	width: 100%;
	height: 200px;
	margin-bottom: 6px;
	background-color: #e6e7e8;
}
body.page .page {
	float: right;
	width: 455px;
}
body.page .full-width {
	float: none;
	width: 100%;
}
.thumb-caption {
	font-size: 0.85em;
}
#sidebar #pull-quotes {
	margin: 30px auto 0px auto;
	color: #58595b;
	font-size: 1.15em;
	
}
#sidebar #pull-quotes li {
	margin-bottom: 15px;
	line-height: 22px;
}
#sidebar #pull-quotes li .credit {
	font-style: italic;
}

/* Project Page */
body.post-type-archive-em-project .em-project, body.tax-em-project-cat .em-project {
	float: left;
	width: 387px;
	margin-bottom: 20px;
}
body.post-type-archive-em-project .em-project.odd, body.tax-em-project-cat .em-project.odd {
	float: right;
}

/* Single Project */
body.single-em-project #content h1 {
	font-size: 1.538em;
	color: #58595b;
	text-transform: none;
}
body.single-em-project article h2 {
	margin-bottom: 5px;
	text-transform: none;
}
body.single-em-project #project-meta {
	margin-bottom: 20px;
}
body.single-em-project #project-thumbs {
	margin-bottom: 20px;
}
body.single-em-project .project-image {
	float: left;
	display: block;
	width: 387px;
	margin-bottom: 20px;
	text-align: center;
}
body.single-em-project .project-image.even {
	float: right;
}
body.single-em-project .project-image .image-wrap {
	margin: 0 auto;
}
body.single-em-project .project-image img, body.post-type-archive-em-project .project-thumb img {
	border: 1px solid white;
}
body.single-em-project .project-image:hover img, body.post-type-archive-em-project .project-thumb:hover img {
	border-color: #007794;
}
body.single-em-project #project-back {
	float: right;
	text-transform: uppercase;
	font-weight: bold;
}

/* Universal Content */
#content article ol,
#content article ul {
	color: #58595b;
	width: 80%;
	margin: 20px auto;
	padding-left: 20px;
}
#content article ol li,
#content article ul li {
	margin-bottom: 10px;
}
#content article ul {
	list-style: circle;
}

/* Footer */
#main-footer {
	float: right;
	width: 35%;
	color: #58595b;
	font-size: .85em;
	text-align: right;
}
#main-footer .social-wrap {
	margin-bottom: 5px;
	padding-bottom: 5px;
	border-bottom: 1px solid #ebeced;
}
#main-footer .social-wrap a, #main-footer .social-wrap a:link, #main-footer .social-wrap a:visited {
	display: block;
	float: right;
	width: 88px;
	height: 22px;
	margin-left: 10px;
	background-color: #9a9b9d;
	background-position: center;
	background-repeat: no-repeat;
}
#main-footer .social-wrap a:hover {
	background-color: #868686;
}
#main-footer .social-wrap a#social-subscribe {
	background-image: url(images/icon-subscribe.png);
}
#main-footer .social-wrap a#social-fb {
	width: 22px;
	background-image: url(images/icon-facebook.png);
}


/* Fancybox */
#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	margin-left: -20px;
	cursor: pointer;
	overflow: hidden;
	z-index: 1104;
	display: none;
}

#fancybox-loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background-image: url('images/fancybox/fancybox.png');
}

#fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1100;
	display: none;
}

#fancybox-tmp {
	padding: 0;
	margin: 0;
	border: 0;
	overflow: auto;
	display: none;
}

#fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	z-index: 1101;
	outline: none;
	display: none;
}

#fancybox-outer {
	position: relative;
	width: 100%;
	height: 100%;
	background: #fff;
}

#fancybox-content {
	width: 0;
	height: 0;
	padding: 0;
	outline: none;
	position: relative;
	overflow: hidden;
	z-index: 1102;
	border: 0px solid #fff;
}

#fancybox-hide-sel-frame {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	z-index: 1101;
}

#fancybox-close {
	position: absolute;
	top: -15px;
	right: -15px;
	width: 30px;
	height: 30px;
	background: transparent url('images/fancybox/fancybox.png') -40px 0px;
	cursor: pointer;
	z-index: 1103;
	display: none;
}

#fancybox-error {
	color: #444;
	font: normal 12px/20px Arial;
	padding: 14px;
	margin: 0;
}

#fancybox-img {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	line-height: 0;
	vertical-align: top;
}

#fancybox-frame {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

#fancybox-left, #fancybox-right {
	position: absolute;
	bottom: 0px;
	height: 100%;
	width: 35%;
	cursor: pointer;
	outline: none;
	background: transparent url('images/fancybox/blank.gif');
	z-index: 1102;
	display: none;
}

#fancybox-left {
	left: 0px;
}

#fancybox-right {
	right: 0px;
}

#fancybox-left-ico, #fancybox-right-ico {
	position: absolute;
	top: 50%;
	left: -9999px;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	cursor: pointer;
	z-index: 1102;
	display: block;
}

#fancybox-left-ico {
	background-image: url('images/fancybox/fancybox.png');
	background-position: -40px -30px;
}

#fancybox-right-ico {
	background-image: url('images/fancybox/fancybox.png');
	background-position: -40px -60px;
}

#fancybox-left:hover, #fancybox-right:hover {
	visibility: visible; /* IE6 */
}

#fancybox-left:hover span {
	left: 20px;
}

#fancybox-right:hover span {
	left: auto;
	right: 20px;
}

.fancybox-bg {
	position: absolute;
	padding: 0;
	margin: 0;
	border: 0;
	width: 20px;
	height: 20px;
	z-index: 1001;
}

#fancybox-bg-n {
	top: -20px;
	left: 0;
	width: 100%;
	background-image: url('images/fancybox/fancybox-x.png');
}

#fancybox-bg-ne {
	top: -20px;
	right: -20px;
	background-image: url('images/fancybox/fancybox.png');
	background-position: -40px -162px;
}

#fancybox-bg-e {
	top: 0;
	right: -20px;
	height: 100%;
	background-image: url('images/fancybox/fancybox-y.png');
	background-position: -20px 0px;
}

#fancybox-bg-se {
	bottom: -20px;
	right: -20px;
	background-image: url('images/fancybox/fancybox.png');
	background-position: -40px -182px; 
}

#fancybox-bg-s {
	bottom: -20px;
	left: 0;
	width: 100%;
	background-image: url('images/fancybox/fancybox-x.png');
	background-position: 0px -20px;
}

#fancybox-bg-sw {
	bottom: -20px;
	left: -20px;
	background-image: url('images/fancybox/fancybox.png');
	background-position: -40px -142px;
}

#fancybox-bg-w {
	top: 0;
	left: -20px;
	height: 100%;
	background-image: url('images/fancybox/fancybox-y.png');
}

#fancybox-bg-nw {
	top: -20px;
	left: -20px;
	background-image: url('images/fancybox/fancybox.png');
	background-position: -40px -122px;
}

#fancybox-title {
	font-family: Helvetica;
	font-size: 12px;
	z-index: 1102;
}

.fancybox-title-inside {
	padding-bottom: 10px;
	text-align: center;
	color: #333;
	background: #fff;
	position: relative;
}

.fancybox-title-outside {
	padding-top: 10px;
	color: #fff;
}

.fancybox-title-over {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #FFF;
	text-align: left;
}

#fancybox-title-over {
	padding: 10px;
	background-image: url('images/fancybox/fancy_title_over.png');
	display: block;
}

.fancybox-title-float {
	position: absolute;
	left: 0;
	bottom: -20px;
	height: 32px;
}

#fancybox-title-float-wrap {
	border: none;
	border-collapse: collapse;
	width: auto;
}

#fancybox-title-float-wrap td {
	border: none;
	white-space: nowrap;
}

#fancybox-title-float-left {
	padding: 0 0 0 15px;
	background: url('images/fancybox/fancybox.png') -40px -90px no-repeat;
}

#fancybox-title-float-main {
	color: #FFF;
	line-height: 29px;
	font-weight: bold;
	padding: 0 0 3px 0;
	background: url('images/fancybox/fancybox-x.png') 0px -40px;
}

#fancybox-title-float-right {
	padding: 0 0 0 15px;
	background: url('images/fancybox/fancybox.png') -55px -90px no-repeat;
}

/* IE6 */

.fancybox-ie6 #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_close.png', sizingMethod='scale'); }

.fancybox-ie6 #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_nav_left.png', sizingMethod='scale'); }
.fancybox-ie6 #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_nav_right.png', sizingMethod='scale'); }

.fancybox-ie6 #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_title_over.png', sizingMethod='scale'); zoom: 1; }
.fancybox-ie6 #fancybox-title-float-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_title_left.png', sizingMethod='scale'); }
.fancybox-ie6 #fancybox-title-float-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_title_main.png', sizingMethod='scale'); }
.fancybox-ie6 #fancybox-title-float-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_title_right.png', sizingMethod='scale'); }

.fancybox-ie6 #fancybox-bg-w, .fancybox-ie6 #fancybox-bg-e, .fancybox-ie6 #fancybox-left, .fancybox-ie6 #fancybox-right, #fancybox-hide-sel-frame {
	height: expression(this.parentNode.clientHeight + "px");
}

#fancybox-loading.fancybox-ie6 {
	position: absolute; margin-top: 0;
	top: expression( (-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px');
}

#fancybox-loading.fancybox-ie6 div	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_loading.png', sizingMethod='scale'); }

/* IE6, IE7, IE8 */

.fancybox-ie .fancybox-bg { background: transparent !important; }

.fancybox-ie #fancybox-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_shadow_n.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_shadow_ne.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_shadow_e.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_shadow_se.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_shadow_s.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_shadow_sw.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_shadow_w.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }