/*
Theme Name: Massachusetts Capital Resource Company
Theme URI: http://masscapital.com/
Description: Default Wordpress theme for MCRC.
Version: 1.0
*/

* {
	margin:0;
	padding:0;
}

body {
	background:#fff url(images/background-secondlevel.jpg) repeat-x top;
	text-align:center;
	width:920px;
	margin:0 auto;
	font:12px/150% arial, sans-serif;
	color:#5b5956;
}

body.home {
	background:#fff url(images/background-home.jpg) repeat-x top;
}

body.toplevel {
	background:#fff url(images/background-toplevel.jpg) repeat-x top;
}


/* Masthead
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#masthead {
	height:88px;
	overflow:hidden;
	padding:27px 0 0;
	text-align:left;
	font:12px georgia, sans-serif;
	color:#2d4c7c;
}

.logo {
	float:left;
	width:500px;
	margin:0;
}
	
.logo a {
	background:url(images/logo.jpg) no-repeat left center;
	display:block;
	height:35px;
	padding:25px 0 0 150px;
	color:#2d4c7c;
	text-transform:uppercase;
	text-decoration:none;
}
	
#newsletter {
	float:right;
	margin:23px 0 0;
}

#newsletter .cform ol li {
	list-style-type:none;
}

#newsletter .cform ol, #newsletter .cform .cf-sb {
	float:left;
	margin:0;
}

#newsletter .cform input {
	margin:0 0 0 5px;
}

#newsletter .cform span {
	font:12px georgia, sans-serif;
	color:#2d4c7c;
	text-transform:none;
}

#newsletter .cform .sendbutton {
	background:#fff;
	color:#5b5956;
	text-transform:uppercase;
	border:none;
	padding:0;
	cursor:pointer;
}


/* Navigation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#navbar {
	margin:6px 0 0;
	height:30px;
	overflow:hidden;
}

/* Main Navigation */

#mainnav {
	float:left;
	margin:0;
}

#mainnav li {
	list-style-type:none;
	display:block;
	float:left;
}

#mainnav a {
	display:block;
	float:left;
	height:24px;
	padding:6px 15px 0 15px;
	font:14px georgia, serif;
	color:#fff;
	text-decoration:none;
}

#mainnav a:hover {
	color:#4a95da;
}

#mainnav li.current_page_item a, #mainnav li.current_page_ancestor a, #mainnav li.current_page_item a:hover {
	background:#4a95da;
	color:#fff;
}

/* Secondary Navigation */

#secondary-container {
	background:#4a95da url(images/background-secondary.jpg) no-repeat bottom;
	float:right;
	width:184px;
	height:193px;
	overflow:hidden;
	margin:0;
}

#secondary {
	margin:0 10px;
	border-top:1px solid #6ca8e0;
}

#secondary li {
	list-style-type:none;
	border-bottom:1px solid #6ca8e0;
	padding:0;
	margin:0;
}

#secondary a {
	font:14px georgia, serif;
	color:#fff;
	display:block;
	padding:5px 0;
}

#secondary a:hover {
	color:#2d4c7c;
}

#secondary li.current_page_item a, #secondary li.current_page_item a:hover {
	background:url(images/background-secondarynav.jpg) repeat-y right;
	color:#fff;
}

/* Quick Links */

#quicknav {
	float:right;
	margin:4px 0 0;
}

#quicknav li {
	list-style-type:none;
	display:block;
	float:left;
}

#quicknav a {
	color:#fff;
	text-decoration:none;
	border-right:1px solid #fff;
	font:12px georgia, serif;
	padding:0 10px 0 0;
	margin:0 0 0 10px;
}

#quicknav li.page-item-23 a {
	border:none;
	padding:0;
}

#quicknav a:hover {
	color:#4a95da;
}

/* Footer Navigation */

#footernav {
	margin:3px 0 0;
}

#footernav li {
	list-style-type:none;
	float:left;
	display:block;
	padding:0 10px 0 0;
	margin:0 10px 0 0;
}

/* Rotate */

#rotate {
	margin:0;
}

#rotate li {
	list-style-type:none;
	display:block;
	font:14px georgia, serif;
}

#rotate a {
	display:block;
	border-bottom:1px solid #d6d5c7;
	padding:5px 0 5px 5px;
}

#rotate li.selected a {
	background:url(images/background-rotate.jpg) repeat-y right;
	color:#5b5956;
}

#rotate li span {
	color:#000;
	font-size:14px;
}


/* Homepage
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#header-home {
	height:260px;
	overflow:hidden;
	margin:6px 0 0;
	text-align:left;
	color:#fff;
}

#header-home .blurb {
	float:left;
	width:368px;
	padding:30px 0 0;
}

#header-home .image {
	float:right;
	margin:0;
}

#content-home {
	background:url(images/background-content-home.jpg) repeat-y;
	margin:20px 0;
	text-align:left;
}

#content-home .left, #content-home .center {
	float:left;
	width:230px;
}

#content-home .center {
	padding:0 46px;
}

#content-home .right {
	float:right;
	width:368px;
}

#rotatecontent {
	border-top:1px solid #d6d5c7;
	margin:20px 0 0;
}

#rotateleft {
	width:174px;
	float:left;
	padding:20px 0 0;
}

#rotateright {
	width:174px;
	float:right;
}

#rotatecontent span {
	color:#000;
	font-size:12px;
}


/* Top Level
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#header-toplevel {
	height:193px;
	overflow:hidden;
	margin:6px 0 0;
	text-align:left;
}

#header-toplevel .header {
	float:left;
	margin:0;
}

#header-toplevel .summary {
	float:left;
	width:690px;
	margin:30px 0 0;
	font-size:14px;
	line-height:20px;
	color:#fff;
}

#content-toplevel {
	background:url(images/background-content-toplevel.jpg) repeat-y;
	margin:5px 0 20px;
	text-align:left;
}

#content-toplevel .left {
	float:left;
	width:250px;
}

	#content-toplevel .left span {
		font:14px georgia, serif;
		color:#4a95da;
		text-transform:uppercase;
		margin:10px 0 0;
	}

#content-toplevel .right {
	float:right;
	width:615px;
}

#content-toplevel .col-left {
	float:left;
	width:285px;
}

#content-toplevel .col-right {
	float:right;
	width:285px;
}


/* Second Level
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#content-secondlevel {
	text-align:left;
	margin:6px 0 20px;
}

#content-secondlevel .left {
	float:left;
	width:690px;
	padding:65px 0 0;
}

#segment {
	margin:40px 0;
}

#company {
	border-top:1px solid #d6d5c7;
	padding:20px 0 0;
	margin:5px 0 0;
}

#company .logo {
	width:125px;
	float:left;
}

#company .post {
	width:565px;
	float:left;
}

#portfolio-feature {
	background:url(images/background-portfeature.jpg) repeat-x bottom;
	border:1px solid #d6d5c7;
	border-width:1px 0;
	padding:30px 0;
	margin:0 0 40px;
	text-align:left;
}

#portfolio-feature p {
	margin:0;
}

#portfolio-feature .breadcrumb {
	font:12px georgia, serif;
	text-transform:none;
	margin:0 0 20px;
}

#portfolio-feature .left {
	float:left;
	width:138px;
	text-align:center;
	padding:10px 0;
}

#portfolio-feature .right {
	float:right;
	width:558px;
	margin:0;
	padding:0 224px 0 0;
}


/* Single Page
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#single-page {
	background:url(images/background-content-toplevel.jpg) repeat-y;
	margin:56px 0 20px;
	text-align:left;
}

#single-page .left {
	float:left;
	width:250px;
}

	#single-page .left span {
		font:14px georgia, serif;
		color:#4a95da;
		text-transform:uppercase;
		margin:10px 0 0;
	}

#single-page .right {
	float:right;
	width:615px;
}


/* Contact Page
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#contact-page {
	background:url(images/background-contact.jpg) repeat-y;
	margin:56px 0 20px;
	text-align:left;
}

#contact-page .left {
	float:left;
	width:414px;
}

	#contact-page .left span {
		font:14px georgia, serif;
		color:#4a95da;
		text-transform:uppercase;
		margin:10px 0 0;
	}

#contact-page .right {
	float:right;
	width:460px;
}

#contact-page .cform ol {
	padding:0;
	margin:0;
	list-style-type:none;
	background:none;
}

#contact-page .cform ol li {
	background:none;
	padding:0;
	display:block;
	margin:0 0 10px 0;
}

#contact-page .cform label {
	display:block;
	margin:0 0 5px;
}

#contact-page .cform input, .cform textarea {
	display:block;
}

#contact-page .cform input {
	width:65%;
}

#contact-page .cform textarea {
	width:85%;
}

#contact-page .reqtxt, .emailreqtxt, .cf_hidden, .linklove {
	display:none;
}

#contact-page .cform .sendbutton {
	background:#2d4c7c;
	color:#fff;
	text-transform:uppercase;
	border:none;
	border:none;
	width:20%;
	padding:5px;
	cursor:pointer;
}

#contact-page .success {
	display:block;
	color:#368836;
	background:#b8e9b8;
	padding:5px;
	margin:10px 0;
}

#contact-page .failure {
	display:block;
	color:#671051; 
	background:#dab8d2;
	padding:5px;
	margin:10px 0;
}


/* Portfolio Companies
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#portcompany, #portcompany-middle {
	width:304px;
	float:left;
	margin:15px 0;
}

#portcompany-middle {
	margin:15px 4px;
}

#portcompany .summary, #portcompany-middle .summary {
	background:url(images/background-portoverview.jpg) no-repeat bottom;
	height:175px;
	margin:5px 0 0;
}

#portcompany .summary .in, #portcompany-middle .summary .in {
	padding:20px 10px;
}

#portcompany .summary .logo, #portcompany-middle .summary .logo {
	width:126px;
	float:left;
}

#portcompany .summary .copy, #portcompany-middle .summary .copy {
	width:158px;
	float:right;
}


/* Footer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#footer {
	background:url(images/background-footer.jpg) repeat-x top;
	padding:8px 0 40px;
	text-align:left;
	font-size:11px;
}

#footer p {
	margin:0;
}

#footer .left {
	float:left;
	margin:5px 0 0 0;
}

#footer .right {
	float:left;
	margin:0 20px 0 20px;
}
	

/* Formatting
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

p {
	margin:10px 0;
}

h1, h2, h3, span {
	font-family:georgia, serif;
	color:#2d4c7c;
	text-transform:uppercase;
	font-weight:normal;
	line-height:125%;
}

h1 span {
	text-transform:lowercase;
}

h1, span {
	font-size:23px;
}

h2 {
	font-size:18px;
}

h3 {
	font-size:14px;
}

h4 {
	font:14px georgia, serif;
	color:#4a95da;
	text-transform:uppercase;
	margin:10px 0 0;
}

span.date, span.date a {
	font:12px arial, sans-serif;
	color:#4a95da;
	font-weight:bold;
	text-transform:none;
}

a {
	color:#4a95da;
	text-decoration:none;
}

a:hover {
	color:#2d4c7c;
}

a img {
	border:none;
}

ul {
	margin:10px 20px;
}

ul ul {
	margin:0 20px;
}

.imgleft {
	float:left;
	margin:0 40px 40px 0;
}

.archives ul {
	margin:10px 0;
}

.archives ul ul {
	margin:10px;
}

#single-page .left span.collapsArch {
	font:12px arial, sans-serif;
	text-transform:none;
	cursor:pointer;
}

li.collapsArch {
	list-style-type:none;
	margin:5px 0;
}

li.collapsArch ul {
	margin:5px 5px;
}

li.collapsArch ul li {
	list-style-type:none;
	margin:5px 10px;
}

li.collapsArch ul li ul {
	list-style-type:none;
	margin:5px 5px;
}

li.collapsArch span.sym img {
	padding:0 5px 0 0;
}   


/* Browser Adjustments
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}          
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
