/* =Clearfix
----------------------------------------------- */
/* The Magnificent CLEARFIX: Updated to prevent margin-collapsing on child elements << j.mp/bestclearfix */
/* Fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
/* Note: It's better to use display:inline-block; if width is set on the element you want to clear */
.clearfix:before, .clearfix:after {
	content: "\0020"; display: block; height: 0; visibility: hidden;	
} 
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

/* =Global
----------------------------------------------- */
#wp-toolbar .blavatar,
#wpadminbar .blavatar {
	display: none;
}

body {
	padding: 0 1em ;
}

#page {
	margin: 1em auto 2em auto;
}

#page,
.one-column-no-sidebars #page {
	max-width: 960px;
}

#main {
	padding: 0 0 30px 0;
}

#ie7 #main {
	position: relative;
}

.hide-me {
	display: none;
}

/* =Header
----------------------------------------------- */
#branding {
	border-top: none;
	padding: 10px 30px;
}

#ie7 #branding {
	height: 127px;
}

#ie7 #branding-nav {
	position: relative;
	z-index: 1;
}

#branding img {
	height: auto;
	margin: 0;
	width: auto;
	max-width: 100%;
}

#custom-logo {
	float: left;
	margin-bottom: 1em;
}

.custom-header-text h1#site-title {
	display: block;
	height: 0px;
	text-indent: -9999px
}

.custom-header-text h1#site-title a {
	font-size: 36px;
	font-weight: normal;
}

.custom-header-text h2#site-description {
	font-size: 22px;
	margin: 2em 0 1em 0;
}

#branding hgroup {
	float: left;
	margin: 0;
}

#branding .custom-header-text #site-title {
	margin: 0;
	padding: 0;
}

#branding #searchform {
	float: right;
	margin-bottom: 1em;
	position: static;
	top: auto;
	right: auto;
}

.social-header {
	clear: right;
	float: right;
	margin-bottom: 1em;
	text-align: right;
	width: 248px;
}

/* =Header Menus
----------------------------------------------- */
#meta-access div,
#access div {
	margin: 0;
}

#meta-access a,
#access a {
	text-decoration: none;
}

#access .current-menu-item > a,
#access .current-menu-ancestor > a,
#access .current_page_item > a,
#access .current_page_ancestor > a {
	/*background: none;*/
	font-weight: bold;
}

/* Small menus */
.meta-menu-toggle,
.primary-menu-toggle,
.footer-menu-toggle {
	cursor: pointer;
	font-size: 16px;
	font-weight: bold;
}

.meta-menu-toggle:before,
.primary-menu-toggle:before,
.footer-menu-toggle:before {
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid #373737;
	content: "";
	display: inline-block;
	position: absolute;
	top: 12px;
}

.meta-menu-toggle:before,
.footer-menu-toggle:before {
	left: 6px;
}

.meta-menu-toggle,
.footer-menu-toggle {
	margin: 0 0 0 20px;	
}

.footer-menu-toggle {
	color: #373737;
}

.primary-menu-toggle:before {
	left: 4px;	
}

.primary-menu-toggle {
	margin: 0 0 0 18px;
}

.meta-main-small-navigation .menu,
.primary-main-small-navigation .menu,
.footer-main-small-navigation .menu {
	display: none;
}

#meta-access.meta-main-small-navigation,
#access.primary-main-small-navigation,
#footer-access.footer-main-small-navigation {
	/*background: none;*/
	-moz-box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px;
	-webkit-box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px;
	box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px;
	position: relative;
	margin: 1em 0;
}

#meta-access.meta-main-small-navigation ul,
#access.primary-main-small-navigation ul,
#footer-access.footer-main-small-navigation ul {
	margin: 0;
}

#meta-access.meta-main-small-navigation li,
#access.primary-main-small-navigation li,
#footer-access.footer-main-small-navigation li {
	border: none;
	float: none;
	margin: 0;
	padding: 0;
}

#meta-access.meta-main-small-navigation li a,
#access.primary-main-small-navigation li a,
#footer-access.footer-main-small-navigation li a {
	background: none;
	border: none;
	font-weight: normal;
	line-height: 2;
	padding: 0;
	width: auto;
}

#meta-access.meta-main-small-navigation li a,
#meta-access.meta-main-small-navigation li a:hover,

#access.primary-main-small-navigation li a,
#access.primary-main-small-navigation li a:hover,

#footer-access.footer-main-small-navigation li a,
#footer-access.footer-main-small-navigation li a:hover {
	color: #373737;
}

#meta-access.meta-main-small-navigation li a:hover,
#access.primary-main-small-navigation li a:hover,
#footer-access.footer-main-small-navigation li a:hover {
	background: none;
}

#meta-access.meta-main-small-navigation ul ul,
#access.primary-main-small-navigation ul ul,
#footer-access.footer-main-small-navigation ul ul {
	float: none;
	display: block;
	padding: 0 0 0 10px;
	width: auto;
	position: relative;
	left: 0;
	top: 0;
	-moz-box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px;
	-webkit-box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px;
	box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px;
}

/* =Meta Nav
----------------------------------------------- */
#meta-access {
	float: right;
	margin-bottom: 1em;
	text-align: right;
	width: 100%;
}

/*#meta-access .menu-meta-menu-container {
	margin: 0;
}*/

#menu-meta-menu {
	list-style-type: none;
	margin: 0;
}

#menu-meta-menu li {
	border-right: 1px solid #ccc;
	display: inline-block;
	margin-right: 1em;
	padding-right: 1em;
}

#menu-meta-menu li.menu-item-last {
	border-right: none;
	margin-right: 0;
	padding-right: 0;
}

#menu-meta-menu li ul {
	display: none;
}

/* =Primary Nav
----------------------------------------------- */
#access {
	margin-bottom: 30px;
	-moz-box-shadow: rgba(0, 0, 0, 0.8) 0px 2px 8px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.8) 0px 2px 8px;
	box-shadow: rgba(0, 0, 0, 0.8) 0px 2px 8px;
}

#access ul {
	margin: 0;
	padding: 0
}

/*#access .menu-primary-menu-container {
	margin: 0 20px;
}*/

#access a {
	font-size: 14px;
}

#access .sub-menu {
	/*background-color: #fff;*/
	min-width: 100%;
	width: auto;
	top: auto;
}

#access .sub-menu li {
	float: none;
}

#access ul ul a {
	border-bottom: none;
	min-width: 100%;
	width: auto;
	white-space: nowrap;
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;
}

/* =Content
----------------------------------------------- */
#primary {
	margin: 0 30px 0 0;
	padding: 0 0 0 30px;
	width: 570px;
}

.two-column-left-sidebar #primary {
	float: right;
	margin: 0 0 0 30px;
	margin: 0 30px 0 0;
	width: 570px;
}

.one-column-no-sidebars #primary {
	margin: 0;
	padding: 0 30px;
	width: 900px;
}

#main #content,
#content {
	margin: 0;
	padding: 0;
	width: 100%;
}

.page-title {
	font-size: 32px;
	line-height: normal;
	letter-spacing: normal;
	margin: 0 0 1em 0;
	padding: 0 0 .2em 0;
	text-transform: none;
}

.entry-summary-full {
	width: auto;
}

.entry-thumbnail {
	float: left;
	margin: .375em 1.625em 0 0;
	overflow: hidden;
}

.entry-content,
.entry-summary {
	padding: 0;
}

.entry-content h1,
.comment-content h1 { 
	font-size: 26px; 
	font-weight: bold;
	text-transform: none;
}

.entry-content h2,
.comment-content h2 { 
	font-size: 24px; 
	font-weight: bold;
	text-transform: none;
}

.entry-content h3,
.comment-content h3 { 
	font-size: 22px; 
	font-weight: bold;
	text-transform: none;
}

.entry-content h4,
.comment-content h4 { 
	font-size: 20px; 
	font-weight: bold;
	text-transform: none;
}

.entry-content h5,
.comment-content h5 { 
	font-size: 18px; 
	font-weight: bold;
	text-transform: none;
}

.entry-content h6,
.comment-content h6 { 
	font-size: 16px; 
	font-weight: bold;
	text-transform: none;
}

.entry-meta .edit-link a,
.commentlist .edit-link a {
	float: none;
}

.hentry, .no-results {
	border: none;
	margin: 0 0 .625em;
	padding: 0 0 .625em;
	position: relative;
}

.hentry .posted-on {
	display: none;
}

.category-blog .hentry .posted-on,
.single .hentry .posted-on {
	font-weight: bold;
	display: block;
	margin-bottom: 1em;
}

.bookmark {
	margin-bottom: 1em;
}


/* =Singular
----------------------------------------------- */
.singular #primary {
	margin: 0 30px 0 0;
}

.singular #content,
.two-column-left-sidebar.singular #content {
	margin: 0;
	position: relative;
}

.singular .hentry {
	padding: 0;
}

.singular .entry-header, 
.singular .entry-content, 
.singular footer.entry-meta, 
.singular #comments-title {
	width: auto;
}

.singular .entry-meta .edit-link a {
	bottom: auto;
	left: auto;
	position: relative;
	right: auto;
	top: auto;
}

.one-column-no-sidebars.singular .entry-meta .edit-link a {
	position: relative;
	left: auto;
	top: auto;
}

/* =Singular ( Page )
----------------------------------------------- */
.singular.page .hentry {
	padding: 0;
}

.singular .entry-title {
	font-size: 30px;
	font-weight: normal;
	line-height: 32px; 
	margin-bottom: 1em;
	padding-top: 24px;
}

/* =Post Navigation
----------------------------------------------- */
#content nav#nav-single,
.post-type-archive-oomph-calendar .page-footer {
	margin-bottom: 1em;
	padding: .5em;
}

#nav-single,
.post-type-archive-oomph-calendar .page-footer {
	background: #F6F6F6;
	border: 1px solid #DDD;
	float: none;
}

/* =Categories
----------------------------------------------- */
.read-more-social {
	margin-bottom: 1em;
	padding: .1em 0 0 0;
}

.read-more-social .read-more {
	display: block;
	float: left;
}

.read-more-social .read-more a {
	font-size: 16px;
}
.read-more-social .social-posts {
	display: block;
	float: right;
	width: 322px;
}

#ie7 .read-more-social .social-posts,
#ie8 .read-more-social .social-posts {
	width: 374px;	
}

.category p.download-pdf {
	margin-bottom: .5em;
}

/* =Secondary
----------------------------------------------- */
#main #secondary,
#secondary {
	float: right;
	margin: 0;
	overflow: hidden;
	padding: 0 30px 0 0;
	width: 300px;
}

.two-column-left-sidebar #main #secondary,
.two-column-left-sidebar #secondary {
	float: right;
	margin: 0;
	overflow: hidden;
	padding: 0 0 0 30px;
	width: 300px;	
}

.one-column-no-sidebars #main #secondary {
	float: none;
	margin: 0 0 0 30px;
	width: auto;
}

/* =Widgets
----------------------------------------------- */
#above-post-content-widgets,
#below-post-content-widgets {
	margin-bottom: 1em;
}

.widget-title {
	font-size: 18px;
	margin-bottom: .8em;
}

.widget ul {
	font-size: 15px;
	list-style: disc outside none;
	margin: 0 0 0 20px;
}

.widget ul li {
	margin-bottom: 10px;
}

.widget ul ul {
	list-style-type: square;
}

.widget_rss a.rsswidget {
	border: none;
	text-decoration: none;
}


/* =Footer
----------------------------------------------- */
#site-generator {
	padding: 10px 30px;
}

#footer-access {
	display: inline-block;
}

#menu-footer-menu {
	list-style-type: none;
	margin: 0;
}

#menu-footer-menu li {
	border-right: 1px solid #ccc;
	display: block;
	float: left;
	margin-right: 1em;
	padding-right: 1em;
}

#menu-footer-menu li.menu-item-last {
	border-right: none;
	margin-right: 0;
	padding-right: 0;
}

#menu-footer-menu li ul {
	display: none;
}


/* Site Info */
#site-info {
	font-size: 12px;
	margin: 0 auto;
	text-align: center;
	width: 960px;
}

#site-info span {
	margin: 0 2px;
}

#site-info span.company-phone,
#site-info span.company-fax,
#site-info span.company-email {
	border-style: solid;
	border-left-width: 1px;
}

/* Hosted By */
#hosted-by {
	font-size: 10px;
	margin: 1em auto;
	padding-bottom: 1em;
	text-align: center;
	width: 300px;
}

/* =Posts & Pages with Gallery & jCarousel
----------------------------------------------- */
#content.has-gallery #mycarousel {
	list-style-type: none;
	margin: 0;
	overflow: hidden;
	padding: 0;
}

#content.has-gallery #mycarousel {
	height: 342px;
}

#content.has-gallery #mycarousel li {
	float: left;
	font-size: 100%;
	height: 342px;
	width: 570px;
	position: relative;
}

#content.has-gallery #mycarousel li .entry-thumbnail {
	height: 100%;
	margin: 0;
	padding: 0;
	width: 100%;
	position: absolute;
}

#content.has-gallery #mycarousel li .entry-thumbnail img {
	max-height: 342px;
	max-width: 570px;
}

#ie7 #content.has-gallery #mycarousel li .entry-thumbnail img {
	height: 100%;
	width: 570px;
}

#content.has-gallery #mycarousel li .entry-meta,
.one-column-no-sidebars #content.has-gallery #mycarousel li .entry-meta {
	background: transparent url(../images/controls.png) scroll repeat 0 0;
	color: #fff;
	display: block;
	font-size: 1em;
	line-height: normal;
	padding: .5em;
	width: 100%;
	position: absolute;
	bottom: 0;
	z-index: 1;
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;
}

#content.has-gallery #mycarousel li .entry-title {
	border: none;
	color: #fff;
	display: block;
	font-size: 1em;
	line-height: normal;
	margin: 0;
	padding: 0;
	width: 100%;
}

#content.has-gallery #mycarousel li .entry-summary {
	font-style: italic;
}

/* One Column Layout chosen */
.one-column-no-sidebars #content.has-gallery #mycarousel {
	height: 345px;
}

.one-column-no-sidebars #content.has-gallery #mycarousel li {
	height: 345px;
	width: 920px;
}

.one-column-no-sidebars #content.has-gallery #mycarousel li .entry-thumbnail img {
	max-height: 345px;
	max-width: 920px;
}

#ie7 .one-column-no-sidebars #content.has-gallery #mycarousel li .entry-thumbnail img {
	width: 920px;
}

/* =Posts & Pages Gallery & FlexSlider Overrides Controls
----------------------------------------------- */
.flexslider {
	background: none;
	border: none;
	border-radius: 0px;
	box-shadow: none;
	margin: 0;
	position: relative;
}
.flex-control-nav {
	display: none;
}
.flex-direction-nav {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.flex-direction-nav .flex-prev,
.flex-direction-nav .flex-next {
	cursor: pointer;
	display: block;
	font-size: 0;
	height: 40px;
	margin: 0;
	opacity: 1;
	width: 40px;
	position: absolute;
	top: 6px;
	z-index: 1;
}
.flex-direction-nav .flex-prev {
	background: transparent url(../images/gallery-controls-left2.png) scroll no-repeat 0 0;
	left: 5px;
}
.flex-direction-nav .flex-next {
	background: transparent url(../images/gallery-controls-right2.png) scroll no-repeat 0 0;
	right: 5px;
}

/* =Homepage Widgets
----------------------------------------------- */
.page-template-showcase-full-php #main .widget-area,
.page-template-showcase-php #main .widget-area {
	clear: both;
	float: none;
	margin: 0;
	width: 100%;
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;
}

#home-widgets {
	padding: 0 30px;
}

#ie7 #home-widgets {
	margin-bottom: 2.2em;
}

#home-widgets .widget {
	clear: none;
	float: left;
	margin-right: 30px;
	width: 280px;
}

#home-widgets .widget-2 {
	margin-right: 0;
}

/*#home-widgets .widget ul {
	margin: 0 0 0 1em;
}*/

#home-widgets .widget li a {
	font-weight: normal;
}

#home-widgets .widget .widget-title,
#home-widgets .widget_wordtwit_twitter_widget h2 {
	font-size: 22px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	text-align: center;
	text-transform: uppercase;
}

/* =Comments
----------------------------------------------- */
#respond {
	width: auto;
}

.single-fc_grants #comments {
	display: none;
}

/* =Oomph Calendar
----------------------------------------------- */
.event-date {
	display: none;
}

.post-type-archive-oomph-calendar .event-date,
.single-oomph-calendar .event-date {
	display: block;
	font-weight: bold;
}

/* =AddThis
----------------------------------------------- */
.addthis_32x32_style .addthis_counter.addthis_bubble_style {
	width: 60px !important;
}

#ie7 .social-posts .at300b,
#ie8 .social-posts .at300b {
	width: 100px;
}

/* =Twitter Widget Overrides
----------------------------------------------- */
.twtr-profile-img {
	position: absolute;
}

/* =Grants = Archives & Single
----------------------------------------------- */
.post-type-archive-fc_grants #grants-post-meta div.grants-city,
.tax-cog #grants-post-meta div.grants-city,
.tax-yog #grants-post-meta div.grants-city,
.post-type-archive-fc_grants #grants-post-meta div.grants-url,
.tax-cog #grants-post-meta div.grants-url,
.tax-yog #grants-post-meta div.grants-url {
	display: list-item;
	list-style-type: square;
	margin: .5em 0 .5em 16px;
}

.grant-link {
	margin-bottom: 1.625em;
}

#grants-post-meta {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.grants-post-meta-item {
	position: relative;
}

.grants-post-meta-item .grant-title,
.grants-post-meta-item .grant-excerpt,
.grants-post-meta-item .grant-amount {
	color: #333;
}

.grants-post-meta-item .grant-amount {
	position: absolute;
	top: 0;
	right: 0;
}

.grants-note {
	font-size: 13px;
	font-style: italic;
	font-weight: bold;
}

/* Single */
.single-fc_grants #grants-post-meta {
	margin: 0 0 1.625em 0;
}

.single-fc_grants #grants-post-meta li {
	background-color: #F6F6F6;
	border: 1px solid #DDD; 
	margin: 0 0 1em 0;
	padding: .5em 1em;
}

.single-fc_grants .grants-post-meta-item {
	border: none;
}

.single-fc_grants .grants-amount-label {
	display: inline-block;
	font-weight: bold;
	width: 130px;
}

/* =Grants = Accordion
----------------------------------------------- */
#grants-accordion {
	margin-bottom: 1em;
}

#grants-accordion #grants-post-meta .grants-post-meta-item {
	border-bottom: 1px solid #ddd;
	margin-bottom: 1em;
}

#grants-accordion.ui-accordion .ui-accordion-header {
	margin-bottom: 1em;
	padding: .5em 1em;
	position: relative;
}

#grants-accordion.ui-accordion .ui-accordion-header:hover {
	cursor: pointer;
}

#grants-accordion .ui-widget-content {
	background: none;
	padding: .5em .5em .5em .7em;
}

#grants-accordion .ui-state-default,
#grants-accordion .ui-widget-content .ui-state-default,
#grants-accordion .ui-widget-header .ui-state-default,
#grants-accordion .ui-state-active,
#grants-accordion .ui-widget-content .ui-state-active,
#grants-accordion .ui-widget-header .ui-state-active {
	background: #F6F6F6;
	border: 1px solid #DDD;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
}

#grants-accordion .ui-accordion-content .grants-post-meta-item,
#grants-accordion .ui-helper-reset .grants-post-meta-item, 
#grants-accordion .ui-widget-content .grants-post-meta-item,
#grants-accordion .ui-corner-bottom .grants-post-meta-item,
#grants-accordion .ui-accordion-content-active .grants-post-meta-item {
	background: none;
	border: none;
}

#grants-accordion .ui-icon {
	background: none;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	content: "";
	display: inline-block;
	position: absolute;
	top: 46%;
	margin: 0;
	height: auto;
	width: auto;
}

#grants-accordion .ui-accordion-header a {
	padding: .5em .5em .5em 1em;
}

#grants-accordion .grantsamount-total,
.tax-yog #year_total,
.tax-cog #year_total {
	float: right;
}

.post-type-archive-fc_grants #year-end-total,
.tax-yog #year-end-total,
.tax-cog #year-end-total {
	padding: .5em 1em;
	text-align: right;
}
