/*
Theme Name: JBC
Author: Foundation Center
Author URI: http://foundationcenter.org/
Description: Template based on Gerbode
Template: fcwebbuilder
*/
@import url("../fcwebbuilder/style.css");

a {font-weight:bold;}

div#middle p, div#middle li {font-size:1em;}

p, li {font-size:.85em;line-height:1.3em;}

section#primary {font-size: 1.25em}

header.entry-header, header.page-header {margin:.5em 0;padding: 1em 0;}

article.page header.entry-header {margin: 0.5em 0 0;padding: 1em 0 0.5em;}

article.category-organizations header.entry-header {padding: 1em 0 0;}


body.home header.entry-header {margin-bottom:0em;}
h1.entry-title,
h1.page-title,
section#primary h2 {font-size: 1.3em;xcolor:#0d4210;color:#344853;font-weight: normal;margin: 0;}

section#primary h2 {margin: 2em 0 0.5em;}

.callout {padding:0;width:75%;margin: 1em auto; border:1px #344853 solid;border:none;}

section#primary div.callout p {text-align:center;margin-bottom:1em;} 

.button {font-size:.75em;text-align:center;}
.button a {text-align:center;font-size: 1em;text-transform:uppercase;display:inline-block;padding: 0.5em 1.25em;background-color:#344853;color:#fff;width:33%;}
.button a:hover {background-color:#eabd04;text-decoration:none;color:#444;}

div.announcement {float:right;width:275px;margin-left:1em;}
div.announcement p.button a {width:100%;padding: 0.5em 0;}

div.announcement p.announcement-title {font-weight: bold;margin-top: 0.5em !important;text-align: center;}

/* Header */
header#branding {width:100%;float:left;position:static;margin:0;}
div#custom-logo {margin: 48px 0;}

header#branding .custom-header-text {display:none;}




h1#site-title {font-weight:normal;font-size:3.25em;text-transform:UPPERCASE;text-shadow:3px 3px 3px rgba(0,0,0,.2);}
h2#site-description {font-weight:normal;font-size:1.5em;text-shadow:1px 1px 1px rgba(0,0,0,.2);}


h4 {font-size: 0.75em;text-transform:uppercase;margin:0;}
#text-4 p.pr-title {color:#b52816;font-size:.9em;line-height:1.25em;}




/* Nav Shared styles 
nav#top-access li a:before, nav#access li a:before, nav#footer-access li a:before {content:"";display:inline-block;float:left;width:0em;height:1em;border-left:1px solid;border-color:inherit;opacity:.2;margin:0.2em 0px 0px -1.5em;}*/
nav#top-access li:first-child a:before, nav#access li:first-child a:before, nav#footer-access li:first-child a:before {border:none;margin-left:0;}

/* Meta Nav */
div#header-top {display:none;}
nav#top-access a {color:inherit;padding:0 1.5em;font-size:.85em;font-weight:normal;}
nav#top-access li:last-child a {padding-right:0;}
nav#top-access ul ul {top:3em;border-style:solid;border-width:0 1px 1px 1px;}
nav#top-access ul ul li {margin:0;}
nav#top-access ul ul a {text-shadow:none;text-transform:none;}
nav#top-access ul ul a:before {border:none;}

/* Main Nav */
div#middle {z-index:9999;width:100%;float:left;margin-bottom:0; background-color: #999; background-color: #344853;}
nav#access {width:100%;text-align:center; background-color: #999;background-color: #344853;}
nav#access a {color:inherit;padding:1em 0;font-size:1em;font-weight:normal;text-transform:UPPERCASE;}
nav#access ul ul {top:3em;}
nav#access ul ul li {margin:0;}
nav#access ul ul a {text-shadow:none;text-transform:none;font-weight: bold;font-size:1em !important;}
nav#access ul ul a:before {border:none;}
nav#access ul ul a:hover {background-image:url("../fcwebbuilder/images/bg_translucent-white-20.png");text-decoration:none;}

nav#top-access .current-menu-item > a, nav#top-access .current-menu-ancestor > a, nav#top-access .current_page_item > a, nav#top-access .current_page_ancestor > a, nav#access .current-menu-item > a, nav#access .current-menu-ancestor > a, nav#access .current_page_item > a, nav#access .current_page_ancestor > a {
    font-weight: bold;
}


nav#access ul ul a {padding-left: 3.5em;}

nav#access li {width:20%; float: left;}

nav#access a {text-decoration:none;}
nav#access a:hover {color: #666;}

nav#access ul#menu-primary-menu > li:hover {background-color:#eabd04;}


/* Footer Nav */
nav#footer-access {padding:.25em 0;}
nav#footer-access a {color:inherit;padding:0 1em;font-size:.75em;font-weight:normal;}
nav#footer-access li a:before {margin-left:-1em;}


div#page {background: rgba(0, 0, 0, 0) url("../jbc/images/sunrise-2016-brightened.jpg") no-repeat scroll 0 0 / 100% 275px;left: 0;position: absolute;top: 0;width: 100%;}



/*
body.page-id-10 div#custom-logo a {width:357px;height:177px;display:block;}
body.page-id-10 div#custom-logo a img {opacity:0;}
body.page-id-10 div#custom-logo a {background: url("../jbc/images/logo-os-175.png")no-repeat scroll 0 0;}
*/


section#primary {width:100%;padding: 0 2.5% 2.5%;box-sizing: border-box;min-height: 525px;}

image:url("../fcwebbuilder/images/bg_translucent-white-80.png");}




aside.widget {    background-color: inherit;    margin: 0;    padding: 0%;    width: 100%;}



/* Footer */
div#hosted-by {opacity:1;padding:1em 0;margin:0;}
div#site-info {opacity:1;padding:1em 0 0;margin:0;}
div#site-info p {display:inline;font-size: 0.85em;}
div#site-info p.company-info > span {border-right-width: 0;}

div#hosted-by a {text-decoration:none;}
div#hosted-by p.photo-credits {display:inline-block;font-size: 0.6em !important;margin: 0.25em 0 0 3em; text-transform: uppercase;vertical-align: top;}
div#hosted-by p.photo-credits a {display:inline-block;margin:-2em 0 2em 3em;text-decoration:none;color:#666;font-weight: normal;}
div#hosted-by p.photo-credits a:hover {text-decoration:underline;}

body.page-id-725 #main ul {margin: 0;padding: 0;}

body.page-id-725 li img, body.page-id-725 li p {float:left;margin-top:0;font-size:.85em;}

body.page-id-725 #main div.entry-content ul > li {list-style-type:none;clear:both;}

body.page-id-725 li img {width:200px;clear:both;margin:0 1em 1em 0;}


/* Slide Show */
div.flexslider {border:0;}
div#slide-wrapper {width:100%;padding:0;margin:0;}


/* NEW CSS */



/* Always show the browser scroll bar*/
	html {overflow-y:scroll;}
/* match the navigation bottom margin to the logo 
	div#middle {margin-bottom: 2em !important;display: none;}*/
/* increase the width of the drop down menu to fit names on one line */
	nav#access ul ul {width: 310px !important;}




/* give lists in the content area squares  */
	#main ul > li {list-style-type: square;}

hr {margin: 0em auto; background-color:#b52816;}






div#fc-to-top {background: rgba(0, 0, 0, 0) url("../fcwebbuilder/images/bg_translucent-black-20.png") repeat scroll 0 0;}


/* Home page tweaks 
body.home p {font-size:1.2em;}*/
/*body.home header.entry-header {display: block;visibility:hidden;}   turns the header back on */
body.home div.entry-content {margin-top:1.5em;}



/* Buttons for 990s and ARs */
	
	#main ul.doc-list > li {list-style-type:none;margin-bottom:1em;}
	ul.doc-list li a {display:inline-block;background-color:#669999;padding: 0.75em 1.5em;border-radius:3px;color:#ddd;font-size:1em;text-align:center;text-decoration:none;font-weight:normal;text-transform:uppercase;}
	ul.doc-list li a:hover {background-image:url("../fcwebbuilder/images/bg_translucent-black-20.png");color:#fff;}
	
div.board-info span {padding-left:1em;font-size:.875em;font-style:italic;}

	a.inline-button {background-color:#669999;padding: 0.25em 1em;border-radius:3px;display:inline-block;color:#ddd;font-size:1em;text-align:left;text-decoration:none;font-weight:normal;}
	a.inline-button:hover {background-image:url("../fcwebbuilder/images/bg_translucent-black-20.png");color:#fff;}
	
	
	aside.widget, aside.widget h3.widget-title {background-image: none;}
	
	body.page-template-fc-grant-filter-php header.entry-header {width: 47em;}
	
	

   
    
.inset {margin-left:2em;margin-top:1em;}







.tab-link {color:#831e1e;font-weight:bold;cursor:pointer;}

div.category-wrapper h2 {display:none;}
div.category-wrapper {float:left;}
article.fc_people {border:none;position:relative;clear:both;}
article.fc_people header.entry-header {background: none; margin-bottom: 0;padding:1em 0 0;}
article.fc_people header.entry-header:hover span.people-name:after {content:"\00bb";}
article.fc_people.hentry {margin:0;}
div.category-wrapper h1 {font-size: 1em;font-weight: normal;display: inline-block;margin-bottom:.5em;}

span.people-position {color:#666;font-size:17px;display:block;line-height:1.25em;font-weight:bold;}
span.email-link, span.email-link a {color:#666;font-size:17px;display:block;line-height:1.25em;font-weight:normal !important;}


article.fc_people div.team-image {width:150px;height:150px;float:left;margin-right:1em;background-size: 150px 150px;}
article.fc_people span.people-name {color: #e85724;display: block;padding-bottom: 0.15em;}
article.post-48 div.team-image {background-image: url("/files/2015/12/Monique-Hoeflinger.jpg");}
article.post-52 div.team-image {background-image: url("/files/2015/12/Marci-McLendon.jpg");}
article.post-53 div.team-image {background-image: url("/files/2015/12/Adriana-Rocha.jpg");} 
article.post-54 div.team-image {background-image: url("/files/2015/12/Hyunhee-Shin.jpg");} 

article.fc_people div.tab-content {margin-top: 2em;}




article.jbc_fellow {border:none;position:relative;clear:both;}
article.jbc_fellow header.entry-header {background: none; margin-bottom: 0;padding:1em 0 0;}
article.jbc_fellow header.entry-header:hover span.people-name:after {content:"\00bb";}
article.jbc_fellow header.entry-header h1 {font-size: 1em;}

span.people-position {color:#666;font-size:17px;display:block;line-height:1.25em;font-weight:bold;}


span.email-link, span.email-link a {color:#666;font-size:17px;display:block;line-height:1.25em;font-weight:normal !important;}
span.email-link {margin-left: 170px;position: absolute;top: 3.8em;}

article.jbc_fellow div.fellow-image {width:150px;height:150px;float:left;margin-right:1em;background-size: 150px 150px;}
article.jbc_fellow span.people-name {color: #e85724;display: block;padding-bottom: 0.15em;}

article.jbc_fellow div.tab-content {margin-top: 1em;}

article.jbc_org {border:none;position:relative;clear:both;}
article.jbc_org header.entry-header {background: none; margin-bottom: 0;padding:1em 0 0;}
article.jbc_org header.entry-header:hover span.people-name:after {content:"\00bb";}
article.jbc_org header.entry-header h1 {font-size: 1em;}

span.people-position {color:#666;font-size:17px;display:block;line-height:1.25em;font-weight:bold;}
p.org-link, p.org-link a {color:#666;font-size:17px;display:block;line-height:1.25em;font-weight:normal !important;}
p.org-link {margin-left: 170px;position: absolute;top: 5em;}

article.jbc_org div.org-image {width:150px;height:150px;float:left;margin-right:1em;background-size: 150px 150px;}
article.jbc_org span.people-name {color: #e85724;display: block;padding-bottom: 0.15em;}

article.jbc_org div.tab-content {margin-top: 2em;}

body.page-id-65 h3 {color: #344853;font-size: 1em;}

span.hidden-text {display:none;color:transparent;text-align:right;display:block;font-size:.65em;text-transform:uppercase;}

span.hidden-text.showthis {display:none;color:#888 !important;} 


#sthoverbuttons .sthoverbuttons-label,
#sthoverbuttons #sthoverbuttons-background {display: none;}
#sthoverbuttons {top: 350px !important;} 



			div.category-wrapper.our-team article span.email-link:first-of-type {display:block;}
			div.category-wrapper.our-team article span.email-link:last-of-type {xdisplay:none;}
			
			body.page-id-65 article.jbc_org p.org-link:first-of-type {display:block;}
			body.page-id-65 article.jbc_org p.org-link:last-of-type {display:none;}
			div#below-post-content-widgets  {display:none;} 
			aside#gform_widget-2 h3 {display:none;} 
			aside#gform_widget-2.widget {padding: 0 5%;}



			div.gform_wrapper {margin: 0;}			
			
			p.email-link-new {display:none;}	
			
			
p.posted-on, p.bookmark, div.featured-image {display:none;}

div.page-restrict-output p:last-of-type, nav#nav-bottom {display:none;}
div.page-restrict-output p:first-of-type, div.page-restrict-output form p {display:block !important;}

div.entry-thumbnail img {width:150px;height:150px;}
div.entry-summary p {margin:0 !important;}


body.single article.category-jbc-fellows p.grantee-quote {margin-top:0;}
p.grantee-quote:before { background: rgba(0, 0, 0, 0) url("../jbc/images/quote-left.png") no-repeat scroll 0 1em  / 15px ;content: "";display: inline-block;margin-top: -0.5em;padding: 1em 0.6em;opacity:.5;}
p.grantee-quote:after {background: rgba(0, 0, 0, 0) url("../jbc/images/quote-right.png") no-repeat scroll 0.4em 1em / 15px;content: "";padding: 0.75em;opacity:.5;}
body.single article p.grantee-quote {font-style:italic;}


body.archive div.entry-thumbnail {float:left; margin-right: 1em;}
body.archive h1.entry-title {font-size: 1em;display: inline-block;margin-bottom: 0.25em;}

body.single-post article header.entry-header h1.entry-title {color:#e85724;}
/* body.single article.category-jbc-fellows header.entry-header h1.entry-title:after {content:"JBC Fellow";display:block;color: #666; font-size: 21px;padding-top: 0.5em;}*/

section#primary h2.grantee-person {color: #666;display: block;font-size: 21px;font-weight: bold;margin-top:0;}

h1.people-position {color: #666;display: block;font-size: 17px;font-weight: bold;padding-bottom:.3em;}

body.archive.category-5 header.entry-header,
body.archive.category-5 div.entry-summary,
body.archive.category-6 header.entry-header,
body.archive.category-6 div.entry-summary  {float: right;margin: 0;padding: 0;width: calc(100% - 170px);}




body.archive.category-5 header.entry-header:hover h1.entry-title:after, body.archive.category-6 header.entry-header:hover h1.entry-title:after {content:"\00bb";color:#e85724;}
body.archive.category-5 header.entry-header:hover h1 a:hover, body.archive.category-6 header.entry-header:hover h1 a:hover  {text-decoration:none;}

body.archive.category-5 article footer.entry-meta, body.archive.category-6 article footer.entry-meta {margin-top: 2em !important;}

p.read-more {display:none;}

article hr {margin:2em;}


ul#gform_fields_1 li {border:none;}

.gform_wrapper textarea.medium {border: 1px solid #ccc;}


p.fellow-intro {margin-bottom:2em;}


aside#text-3, aside#text-4 {display:none;}
body.archive.category-jbc-fellows aside#text-3, 
body.archive.category-organizations aside#text-4 {display:block;}

aside#text-3.widget,aside#text-4.widget {margin: 1.25em 0 !important;padding: 0;width: 100%;}


aside.widget h3.widget-title {border-radius: 0;color: #344853;font-size: 1.3em;font-weight: normal;margin: 0;margin-bottom:1.25em;padding: 0;width: 100%;}

/* body.archive.category header.page-header {display:none;} */

span.photo-credit {font-size:.5em;text-transform:uppercase;display:block;text-align:right;}

body.page-id-364 header.entry-header {display:none;} 


div.sunburst {position:absolute;z-index:-100;margin-left:-1000px;}

.staff {
    margin:0;
    padding:0;
}
#main ul.staff > li {
    max-width: 150px;
    text-align: center;
    display: inline-block;
    float: left;
    margin: .5em;
}
#main ul.staff > li:first-child {
    margin-top: .5em;
}
.staff span {
    display:block;
    font-size:.9em;
}
		@media (max-width:768px) {
	
			body.two-column-left-sidebar section#primary,body.two-column-left-sidebar section#secondary,article.fc-grant header {width: 100%;box-sizing: border-box;}

			header.entry-header, header.page-header {background: none;}
			
			h1.entry-title, h1.page-title {padding: 0;text-align: center;display: inline-block;}
			
			body.fc_people h1.entry-title {text-align: left;}
			
			div#fc-to-top {background: rgba(0, 0, 0, 0.15) url("../fcwebbuilder/images/sprite_mobile-icons.png") no-repeat scroll 50% 1em !important;}
			
			.inset {margin-left: 0em;}

			div#custom-logo img {padding:0 1em;box-sizing: border-box;}
			
			div#custom-logo {margin: 1em 0;}
			
			
			div#middle {display: none;}
			li#menu-item-199 > a {display: none !important;}
			
			div#below-post-content-widgets {display:block;position:absolute;top:0;left:0;background-color:#344853;width: 100%;}
			div#below-post-content-widgets aside.widget {padding: 0;width: 100%;}
			
			aside#nav_menu-2 h3.widget-title {display:none;}
			aside#nav_menu-2 ul li {list-style-type:none;}
			aside#nav_menu-2.widget li {border-bottom: none;margin: 0;padding: 0;}
			aside#nav_menu-2.widget li a {display:block;padding:.25em;font-size:.85em;line-height: 1.25em;color:#fff;border-bottom:none;font-weight:bold;}
			
			
			aside#nav_menu-2.widget ul ul li a {padding: 0.5em;}
			
			aside#nav_menu-2.widget ul li:hover {background-image:url("../fcwebbuilder/images/bg_translucent-black-10.png");}
			
			aside#nav_menu-2.widget ul li a:hover {color:#fff;text-decoration:none;}
			
			aside#nav_menu-2.widget ul ul li a:hover {background-image:url("../fcwebbuilder/images/bg_translucent-black-10.png");color:#fff;text-decoration:none;}
			
			li#menu-item-198 a {background: rgba(0, 0, 0, 0.15) url("../jbc/images/hamburger.png") no-repeat scroll 0 0.6em / 2em auto;padding: 0.6em 1.75em !important;}
			
			section#primary header.entry-header, section#primary header.page-header {margin-top:2em;}
			
			div.category-wrapper.our-team article span.email-link:first-of-type {display:none;}
			div.category-wrapper.our-team article span.email-link:last-of-type {xdisplay:block;}
			
			p.email-link-new {display:block;}			
 			p.email-link-new a {font-weight:normal;color:#444;font-size:.85em;}	
			
			
			body.page-id-65 article.jbc_org p.org-link:first-of-type {display:none;}
			body.page-id-65 article.jbc_org p.org-link:last-of-type {display:block;}
			
			span.email-link, p.org-link {margin-left:0;position: relative;top:0;}
			
			body.page-id-65 header.tab-link h1, div.category-wrapper h1 {margin-bottom: 0em;}
			body.page-id-65 div.tab-content, div.category-wrapper.our-team div.tab-content {display:block !important;}
			body.page-id-65 article-post-id-65 .tab-link, div.category-wrapper.our-team .tab-link {pointer-events: none;}
			body.page-id-65 div.team-image, article.fc_people div.team-image {margin-bottom:.5em;}
			body.page-id-65 div.tab-content {margin-top: 1em;}
			article.fc_people div.tab-content {margin-top: 0em;}
			
			article.jbc_org div.org-image {float: none;}
			h1.entry-title, h1.page-title {text-align: left;}
			p.org-link {margin-top: 0;}
			article.jbc_org h1 p {margin-bottom:0;}
			body.home div.entry-content {margin-top: 3em;}
			
			.gform_wrapper .top_label input.medium {width: 98% !important;}
			.gform_wrapper .ginput_complex.ginput_container.has_first_name.has_middle_name.no_last_name span, .gform_wrapper .ginput_complex.ginput_container.has_first_name.no_middle_name.has_last_name span, .gform_wrapper .ginput_complex.ginput_container.no_first_name.has_middle_name.has_last_name span {width: 98% !important;}
			
			
			
	}