
@import url(crooked-boxes.css.php);

/* LAYOUT */

body {
	margin: 0;
	padding: 0;
	background-color: #416971;
    color: #333;
    font-size: 80%;
	font-family: "lucida grande", "lucida sans", verdana, arial, helvetica, sans-serif;
}
br.clear {
    clear: both;
}
#main, #footer {
	text-align: center;
	min-width: 916px;
}
#main {
	background: #afdfe5;
	color: black;
}
.page {
	position: relative;
	width: 960px;
	margin: 0 auto;
	text-align: left;
}
#main .page {
	padding: 100px 0 25px;
}
#content {
	width: 650px;
	float: left;
	margin-left:20px;
}
#sidebar {
	width: 250px;
	float: right;
	margin-right: 20px;
    padding-top: 20px;
}




/* Content */

#content .content-section {
    padding: 20px;
    background-color: white;
}
#content .breadcrumb {
    font-size: .8em;
}
#content .page-title {
    margin: 0;
}

table {
    width: 100%;
}
table thead th {
    border: 0px;
    background-color: #999;
    color: white;
}


.page-content .node {
    margin-right: -20px;
    margin-bottom: 50px;
    background: url(../images/border-dots/orange-50pct.png) 0 0 repeat-x;
    padding-top: 25px;
    padding-right: 20px;
}
.page-content .node h2 {
    margin-top: 0;
}







/* Tabs */

.content-tabs {
    margin: 0;
    font-size: .9em;
}
.content-tabs .tabs {
    margin: 0;
    padding: 0 20px;
    border-bottom: 0;
}
.content-tabs .tabs.secondary {
    padding-top: 10px;
}
.content-tabs .tabs li,
.content-tabs ul.secondary li {
    margin: 0 5px 0 0;
    padding: 0;
    border: 0;
}
.content-tabs a,
.content-tabs ul.primary li.active a,
.content-tabs ul.secondary a {
    border: 0;
    padding: 0 1em;
}
.content-tabs .primary a {
    border-width: 0 1px 0 0;
    border-color: #999;
    margin: 0;
    background-color: #83d3e2;
    color: white;
}
.content-tabs .secondary a {
    background-color: #999;
    color: white;
}
.content-tabs .active a {
    background-color: white;
    color: #666;
}
.has-secondary-tabs .content-tabs ul.primary .active a,
.content-tabs .secondary {
    background-color: #333;
}
.has-secondary-tabs .content-tabs ul.primary .active a {
    color: white;
}



/* Projects */

#content .page-content .view-recent-projects .views-row {
    padding-top: 2em;
    clear: both;
}
#content .page-content .view-recent-projects .views-field-field-project-image-detail-imceimage-path {
    float: left;
    margin: 0 2em 1em 0;
}



/* People */

.node-type-person .page-content .name-and-title {
    margin: 0 0 2.5em;
}
.node-type-person .page-content .name,
.node-type-person .page-content .title {
    margin: 0;
    padding: 0;
}
.node-type-person .page-content .name {
    color: #666;
    font-weight: normal;
}
.node-type-person .page-content .title {
    margin-top: .5em;
    font-size: .9em;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: bold;
    color: #e76f34 !important;
}
.node-type-person .page-content .photo {
    position: relative;
    left: -20px;
    float: left;
    clear: left;
    width: 250px;
    margin: 0 0 20px;
}
.node-type-person .page-content .contact-info {
    float: left;
    clear: left;
    width: 230px;
    margin: 0 20px 20px 0;
    font-size: .9em;
}
.node-type-person .page-content .contact-info dt {
    font-weight: bold;
}
.node-type-person .page-content .contact-info dd {
    margin: 0 0 1em;
    padding: 0;
}





/* Sidebar

#sidebar .block {
    background-color: white;
    margin: 0 0 20px;
    padding: 20px;
    font-size: .9em;
}
#sidebar .black-block { background-color: #2c3839; color: white; }
#sidebar .black-block h2.block-title { background-image: url(../images/border-dots/black.gif); color: white; }
#sidebar .black-block a { color: #FFFF00; }
#sidebar .black-block ul li { background-image: url(../images/bullets/orange-on-black.gif); }

#sidebar .green-block { background-color: #74b74a; color: #ffffff; }
#sidebar .green-block h2.block-title { background-image: url(../images/border-dots/green-dark.gif); color: #ffffff; }
#sidebar .green-block a { color: #FFFF00; }
#sidebar .green-block ul li { background-image: url(../images/bullets/green-on-green.gif); }

#sidebar .orange-block { background-color: #e76f34; color: #ffffff; }
#sidebar .orange-block h2.block-title { background-image: url(../images/border-dots/orange-dark.gif); color: #ffffff; }
#sidebar .orange-block a { color: #FFFF00; }
#sidebar .orange-block ul li { background-image: url(../images/bullets/orange-on-orange.gif); }

#sidebar .blue-block { background-color: #58b7dd; color: #1d3d4a; } /* lighter version of this color is #2b6377, accent blue is #83d3e2.
#sidebar .blue-block h2.block-title { background-image: url(../images/border-dots/blue-dark.gif); color: #1d3d4a; }
#sidebar .blue-block a { color: #FFFF00; }
#sidebar .blue-block ul li { background-image: url(../images/bullets/orange-on-blue.gif); }

#sidebar .view-quotes ul li {
    background: none;
}
*/





/* Home page */

body.front .billboard {
    position: relative;
    margin: 0 20px 20px;
    width: 920px;
    height: 450px;
    background: #2c3839 url(../images/front-billboard.jpg) 0 0 no-repeat;
    color: #ffff00;
}
body.front .billboard h1 {
    position: absolute;
    left: -9999px;
}
body.front .billboard .mission {
    position: absolute;
    width: 400px;
    right: 25px;
    bottom: 0px;
    font-size: 1.25em;
}





h1 {
    font-size: 24px;
    line-height: normal;
    margin-bottom: 1em;
}
h1.page-title {
	margin: 0;
	padding: 0;
}

.block-body .page-content h2 {
	margin-bottom: 10px;
	padding-bottom: 5px;
	font-size: 16px;
	font-weight: bold;
	color: #2b6377;
}
.left .block .white h2 {
	color: #2b6377;
}

p {
	margin-bottom: 1.25em;
	margin-top: 0;
}
a {
	color: #00B0D8;
	text-decoration: none;
	border-width: 0 0 1px;
	border-style: none none dotted;
}
table td, table th {
    padding: 5px 10px;
    font-size: 11px;
    background-color: transparent;
}
tr.even, tr.odd {
    background-color: transparent;
}
tr.even td, tr.odd td {
    border-bottom: 1px dotted #ccc;
}

.replaced-by-image {
	position: absolute;
	left: -9999px;
}

/* Section indexes */

.section-photo {
	margin-bottom: 25px;
	padding: 10px;
	background-color: white;
}
.section-photo div {
	position: relative;
	height: 250px;
	background-color: black;
}
.section-photo h1 {
	position: absolute;
	left: 25px;
	bottom: 25px;
	color: white;
	font-weight: normal;
	font-size: 48px;
}

.section-index {
	clear: both;
	padding: 25px;
	background-color: #2c3839;
	color: white;
	overflow: hidden;
	zoom: 1;
}
.section-index .group {
	width: 250px;
	float: left;
}
.section-index .group.two, .section-index .group.three {
	margin-left: 24px;
	border-left: 2px solid #666;
	padding-left: 24px;
}
.section-index li {
	padding: 25px 0 0;
	background-image: none;
}
.section-index li.first {
	padding-top: 0;
}
.section-index h2 {
	padding-bottom: 0;
	border: 0;
	color: #BFD73B;
}
.section-index h2 a {
	color: #BFD73B;
}


/* Nodes */

.left .views-row-odd, .left .views-row-even {
	padding: 10px 25px;
	border-right: 1px solid #d4d4d4;
	border-bottom: 1px solid #d4d4d4;
}
.left .views-row-odd {
	margin: 0 0 10px -10px;
	background-color: #f6f6f6;
}
.left .views-row-even {
	margin: 0 -10px 10px 0;
	background-color: #eee;
}

.left .node-odd, .left .node-even {
        padding: 10px 25px;
        border-right: 1px solid #d4d4d4;
        border-bottom: 1px solid #d4d4d4;
}
/* Prevent doubling the borders and padding. */
.left .views-row-odd .node-odd,
.left .views-row-even .node-even {
        border: none;
        padding: 0;
        margin: 0;
}
.left .node-odd {
        margin: 0 0 10px -10px;
        background-color: #f6f6f6;
}
.left .node-even {
        margin: 0 -10px 10px 0;
        background-color: #eee;
}


/*
--------------------------------------------------------------------------------
                                                                          Blocks
*/

.block {
	position: relative;
	margin-bottom: 0px;
}
.right .block {
	font-size: 11px;
}

.block .with-header .header {
	padding: 10px 25px 0;
	background-color: #2c3839;
	color: white;
}
body._front div.left .block .with-header .header {
	background-color: #58b7dd;
	color: white;
}
.block .with-header .header h1 {
	padding-bottom: 10px;
}

.block .body {
	padding: 25px 25px 1px;
	background-color: #fff;
    overflow: hidden;
    zoom: 1;
}
.block .body .content {
	margin-top: 10px;
}
.right .block .body {
	padding: 0 25px;
}
/* For the homepage project_slideshow. */
body.front #content2 .left .with-header .body {
	overflow: visible;
	padding-top: 0;
}
/* For the services page. */
body.page-services #content2 .left .body {
	padding-top: 0;
}


/* Testimonials */

#block-views-quotes-block_1 .body {
    overflow: visible;
}
.testimonial .quote {
    overflow: visible;
    margin-left: -32px;
    margin-right: -30px;
    background: url(../images/quote-left-on-green.gif) top left no-repeat;
}
.testimonial .quote blockquote {
    margin: 0;
    padding: 0 40px;
    background: url(../images/quote-right-on-green.gif) bottom right no-repeat;
    font: 18px georgia, times, serif;
}
.testimonial .quote blockquote p {
    margin: 0;
    padding: 0;
}
.testimonial .attribution {
    margin-top: 1em;
    padding-left: 10px;
}

/* Override line 58 usual list bullets and padding for the quotes block. */
.block div.view-quotes .item-list ul li {
	background: none;
	padding: 0;
}

.block .header h1 {
	font-size: 24px;
	color: white;
}

.left .block, .right .block { position: relative; zoom: 1; }
.left .block .even  { position: relative; left: 15px; }
.right .block .odd  { position: relative; left: 10px; }

.block a {
	color: #00B0D8;
	text-decoration: none;
	border-width: 0 0 1px;
	border-style: none none dotted;
}
.block ul li {
	list-style: none;
	margin-top: 5px;
	padding-left: 15px;
	background: url(../images/bullets/orange-on-white.gif) 0 4px no-repeat;
}
#main ul.inline.links li,
.block ul.inline.links li {
        background: none;
        padding-left: 0px;
}
.right .block ul li {
	background-position: 0 3px;
}

/* Black */

.block .black .body { background-color: #2c3839; color: white; }
.block .black h2.block-title { background-image: url(../images/border-dots/black.gif); color: white; }
.block .black a { color: #FFFF00; }
.block .black ul li { background-image: url(../images/bullets/orange-on-black.gif); }

/* Green */

.block .green .body { background-color: #74b74a; color: #ffffff; }
.block .green h2.block-title { background-image: url(../images/border-dots/green-dark.gif); color: #ffffff; }
.block .green a { color: #FFFF00; }
.block .green ul li { background-image: url(../images/bullets/green-on-green.gif); }

/* Orange */

.block .orange .body { background-color: #e76f34; color: #ffffff; }
.block .orange h2.block-title { background-image: url(../images/border-dots/orange-dark.gif); color: #ffffff; }
.block .orange a { color: #FFFF00; }
.block .orange ul li { background-image: url(../images/bullets/orange-on-orange.gif); }

/* Blue */

.block .blue .body { background-color: #58b7dd; color: #1d3d4a; } /* lighter version of this color is #2b6377, accent blue is #83d3e2. */
.block .blue h2.block-title { background-image: url(../images/border-dots/blue-dark.gif); color: #1d3d4a; }
.block .blue a { color: #FFFF00; }
.block .blue ul li { background-image: url(../images/bullets/orange-on-blue.gif); }


.block .top-cap, .block .bottom-cap { height: 25px; background-repeat: no-repeat; }
.block .top-cap { background-position: top right; }
.block .even .top-cap { background-position: top left; }
.block .bottom-cap { background-position: bottom right; }
.block .even .bottom-cap { background-position: bottom left; }
.block .top-cap, .block .even .bottom-cap { background-image: url(../images/box-tops/white-neg1deg.png); }
.block .even .top-cap, .block .bottom-cap { background-image: url(../images/box-tops/white-plus1deg.png); }

/* Black */

/* The with-header line below gives most left-side blocks a black top. */
.block .with-header .white .top-cap,
.block .black .top-cap, .block .even .black .bottom-cap { background-image: url(../images/box-tops/black-neg1deg.png); }
.block .even .black .top-cap, .block .black .bottom-cap { background-image: url(../images/box-tops/black-plus1deg.png); }

/* Green */

.block .green .top-cap, .block .even .green .bottom-cap { background-image: url(../images/box-tops/green-neg1deg.png); }
.block .even .green .top-cap, .block .green .bottom-cap { background-image: url(../images/box-tops/green-plus1deg.png); }

/* Orange */

.block .orange .top-cap, .block .even .orange .bottom-cap { background-image: url(../images/box-tops/orange-neg1deg.png); }
.block .even .orange .top-cap, .block .orange .bottom-cap { background-image: url(../images/box-tops/orange-plus1deg.png); }

/* Blue */

.block .blue .top-cap, .block .even .blue .bottom-cap { background-image: url(../images/box-tops/blue-neg1deg.png); }
.block .even .blue .top-cap, .block .blue .bottom-cap { background-image: url(../images/box-tops/blue-plus1deg.png); }



/* Tabs */

.block ul.tabs {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 11px;
}
.block ul.tabs li {
	margin: 0 5px 0 0;
	padding: 0;
	background-image: none;
}
.block ul.tabs li a {
	margin: 0;
	padding: 2px 10px;
	border: 0;
}
	

/* Views */

.view-header {
	margin: 0;
	padding: 0;
	font-size: 16px;
	line-height: 24px;
	color: #999;
}
.view-header p {
	margin-top: 1em;
}


/* Portfolio / Recent Projects Page View */
.left .view-recent-projects .views-row-odd,
.left .view-recent-projects .views-row-even {
	height: 190px;
}
.left .view-recent-projects .views-field-title {
	font-size: 120%;
}
.left .view-recent-projects .views-row-even .views-field-field-project-image-detail-imceimage-path {
	float: right;
	padding-left: 25px;
}
.left .view-recent-projects .views-row-odd .views-field-field-project-image-detail-imceimage-path {
	float: left;
	padding-right: 25px;
}
.left .body .field-field-project-image {
	float: right;
	padding-left: 25px;;
	padding-bottom: 25px;;
	width: 190px;
	height: 145px;
}

/* Single project page */

.field-field-project-subtitle {
    color: #e76f34;
	font-size: 1.2em;
	margin-bottom: 1em;
}

/* Content */

#content {
	overflow: hidden;
}
.front #content {
    margin-left: 0;
    padding-left: 20px;
}





/* Footer */

#footer {
	text-align: center;
	padding-bottom: 25px;
}
#footer .page {
	margin: 25px auto 0;
	text-align: left;
	background: url(../images/footer/footer-bg.gif) 0 0 repeat-y;
	color: white;
	font-size: 13px;
	overflow: hidden;
}
#footer .column {
	float: left;
	width: 250px;
	margin: 0 25px;
}
#footer .top-cap, #footer .bottom-cap { display: none; }
#footer .top-mask, #footer .bottom-mask { display: none; }
#footer .block .body {
    background-color: transparent;
    margin: 0 0 25px;
    padding: 0;
}
#footer h2 {
	color: #f68c58;
	border: 0;
	padding-bottom: 10px;
	background: none;
}
#footer ul li {
	list-style: none;
	margin-top: 5px;
	padding-left: 15px;
	background: url(../images/bullets/footer.gif) 0 4px no-repeat;
}
#footer #user-login-form ul li {
        background: none;
        padding-left: 0px;
}
#footer a {
	color: #bfd73b;
	color: #afdfe5;
}
#footer div.address {
	padding-bottom: 1em;
}

#footer .contact-info {
    color: white;
}
#footer .contact-info .name {
    font-weight: bold;
    font-size: 1.25em;
}
#footer .contact-info .address,
#footer .contact-info .phone-numbers,
#footer .contact-info .email {
    margin-top: .1em;
}
#footer .contact-info abbr {
    border-bottom: 0;
}






/* Header */

#header {
	position: absolute;
	z-index: 200;
	width: 960px;
	height: 70px;
	left: 0;
	top: 15px;
	background: url(../images/header/header-bg.gif) 0 25px repeat-x;
}
body.front p.slogan {
	background: url(../images/home-updated.jpg);
	width: 944px;
	height: 355px;
	padding: 0;
	margin: 0;
	position: relative;
	top: -20px;
	left: -15px; /* roughly 22px = half of (944 image width - 900 header width) */
}
#logo {
	position: absolute;
	z-index: 300;
	width: 133px;
	height: 115px;
	left: 20px;
	top: 11px;
	background: url(../images/header/logo-large.gif) 0 0 no-repeat;
}

/* Navigation */

#navigation {
    position: relative;
    height: 70px;
	background: url(../images/header/header-bg-left.gif) 0 25px no-repeat;
}

#navigation ul.links {
	position: absolute;
	width: 600px;
	height: 70px;
	left: 20px;
	top: 0;
	margin: 0;
	padding: 0;
}
body.front #navigation ul.links {
}

#navigation .home {
}
#navigation .home, #navigation .home a {
	width: 142px;
	height: 70px;
	margin-top: 0;
	background: url(../images/header/navigation/home-logo.gif) -25px 0;
}
#navigation .home a:hover { background-position: -25px -70px; }
body.front #navigation .home { display: none; }


#navigation li, #navigation li a {
	width: 100px;
	height: 28px;
	background-position: -50px 0;
}
#navigation li {
    display: block;
	list-style: none;
	float: left;
	margin: 25px 0 0;
	padding: 0;
}
#navigation a {
	display: block;
	border: 0;
}
#navigation a:hover {
	background-position: -50px -28px;
}
#navigation .active a {
	background-position: -50px -56px;
}
#navigation h2,
#navigation a span {
	position: absolute;
	display: block;
	left: -9999px;
}

#navigation .about, #navigation .about a { width: 58px; background: url(../images/header/navigation/about.gif) -71px 0; }
#navigation .about a:hover { background-position: -71px -28px; }
#navigation .about.active a { background-position: -71px -56px; }

#navigation .projects, #navigation .projects a { width: 80px; background: url(../images/header/navigation/portfolio.gif) -60px 0; }
#navigation .projects a:hover { background-position: -60px -28px; }
#navigation .projects.active a { background-position: -60px -56px; }

#navigation .services, #navigation .services a { width: 74px; background: url(../images/header/navigation/services.gif) -63px 0; }
#navigation .services a:hover { background-position: -63px -28px; }
#navigation .services.active a { background-position: -63px -56px; }

#navigation .blog, #navigation .blog a { width: 48px; background: url(../images/header/navigation/blog.gif) -76px 0; }
#navigation .blog a:hover { background-position: -76px -28px; }
#navigation .blog.active a { background-position: -76px -56px; }

#navigation .contact, #navigation .contact a { width: 70px; background: url(../images/header/navigation/contact.gif) -65px 0; }
#navigation .contact a:hover { background-position: -65px -28px; }
#navigation .contact.active a { background-position: -65px -56px; }


/* Search */

#header #search-form {
	position: absolute;
	width: 230px;
	height: 23px;
	left: 730px;
	top: 25px;
}

#search .p {
	position: absolute;
	width: 190px;
	height: 23px;
	left: 0;
	top: 0;
	background-color: #afdfe5;
}
#search span.search-label {
	position: absolute;
	width: 40px;
	height: 9px;
	left: 5px;
	top: 7px;
	background: url(../images/header/search/search.gif) 0 0 no-repeat;
}
#search label {
	position: absolute;
	left: -9999px;
}
#search .form-text {
	position: absolute;
	width: 150px;
	height: 23px;
	left: 50px;
	top: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: white;
}
#search .form-submit {
	position: absolute;
	width: 30px;
	height: 23px;
	left: 200px;
	top: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: url(../images/header/search/go.gif) 0 0 no-repeat;
    text-indent: 50px;
    line-height: 100px;
    overflow: hidden;
}
#search .form-submit:hover {
	background-position: 0 -23px;
	cursor: pointer;
}
#search span {
	position: absolute;
	display: block;
	left: -9999px;
}

.view-project-slideshow .view-content {
    padding-top: 15px;
    color: white;
}
.view-project-slideshow .views-field-title {
    margin-bottom: 20px;
    font-size: 2em;
    font-weight: normal;
}

.views_slideshow_main .views-field-field-project-image-imceimage-path,
.views_slideshow_main .views-field-field-project-image-detail-imceimage-path {
  width: 300px;
  height: 180px;
  overflow: hidden;
  position: relative;
  left: -38px;
  float: left;
  border: solid 2px white; /* same color as Blue block */
}

.views_slideshow_main .field-content img {
  margin-bottom: 10px;
}

#block-block-5 a {
  border-style: none;
}

/* Project pages */
.block .field-field-project-image {
  height: 150px;
  margin: 0px 0px 0px 0px;
  position: relative;
}
.block .project-pics {
  padding: 0;
  margin: 0;
}

.block .project-pics img {
    padding: 5px;  
    border:  1px solid #ccc;  
    background-color: #eee;  
} 

/* Hide the CAPTCHA text on the search box */
#search fieldset.collapsed legend.collapse-processed {
  display: none !important;
}
#search fieldset.collapsed {
  border: none;
}

li.activemenu-processed.expanded,
li.activemenu-processed.collapsed {
  list-style-image: none;
}

/* No orange crooked bullets in pagers */
ul.pager li {
    background: none !important;
}

/* Make region labels readable on /admin/build/block */
#footer .block-region {
  color: #000;
}

