/*
Changes made by Jules 1-11-20
jules.s.cowan [at] gmail.com
}
*/
h1 {
	-webkit-animation: h1 1s cubic-bezier(0.215,0.610,0.355,1.000) both;
	animation: h1 1s cubic-bezier(0.215,0.610,0.355,1.000) both;
}

@-webkit-keyframes h1 {
	0% {
		letter-spacing: -.5em;
		opacity: 0;
	}
	
	40% {
		opacity: .6;
	}
	
	100% {
		opacity: 1;
	}
}

/* GLOBAL */
body, button, input, select, textarea {
	font-size: 1.2rem;
	font-style: normal;
	color: #0d0c4a
}

.entry-content h4,.entry-content h5,.entry-content h6 {
	font-weight: 400;
}

.homepage {
	background: #F7F2EB;
}

.site-branding {
	z-index: 2;
}

a.blue:hover,.block-two a.blue:hover {
	text-decoration: none;
	background-color: #f39a21;
	color: #0D0C4A;
	font-family: 'Gill Sans'
}

.main-navigation a:hover {
    color: #0d0c4a;
		font-style: normal;
}

/* HOMEPAGE */
.page-id-6 .header {
	z-index: 1;
	padding-top: 8% !important;
	padding: 15% 0;
	color: #0d0c4a 
}

.page-id-6 .header > div { 
		text-align: left;
		font-style: normal;
}

.page-id-6 .overlay {
	opacity: 0;
}

.page-id-6 .block-two .entry-content {
	margin: 4%;
}

.page-id-6 .news .entry-content a {
	color: #0D0C4A; !important;
}

.customwidget span.posted-on a {
	color: #777;
	font-weight: 300;
	font-style: normal;
	text-transform: none;
	font-size: .8em;
}

/* MENU */

.custom-logo {
	max-width: 210px;
}

.main-navigation a {
	font-size: 1.2rem;
	font-weight: 400;
	line-height: 4;
	color: #0d0c4a;
}

.main-navigation ul ul {
	background: #f39a21;
	color: #0d0c4a;
	top: 4em;
}

.main-navigation ul ul li {
	padding: .7em 0;
}

.main-navigation ul ul a {
	line-height: 1.4;
	font-size: 1.2rem;
	text-transform: capitalize
}

.standard-menu .site-header {
	background: #f39a21;
	color: #0d0c4a;
}

#site-navigation {
	width: 97%;
	padding-right: 5.2%;
}

	@media screen and (max-width: 1500px) {
	#site-navigation {
			padding-right: 1%;
			padding-left: 10%;
		}}
	@media screen and (max-width: 1300px) {
	#site-navigation {
			padding-right: 0%;
			padding-left: 10%;
}
}
.site-branding {
	width: 3%;
}

.main-navigation ul > li.menu-item-has-children > a::after {
	top: 36%!important;
	font-size: 18px;
}

#menu-item-493 > a:after{
top:60%!important;
	color: #0d0c4a;
}

.main-navigation. ul {
	padding: 40px;
	background: #f39a21;
	color: #0d0c4a;
}

.main-navigation li.blue a:link{
	background: #df5447;
	color: #0d0c4a;
	padding: 8px 32px;
	position: relative;
	border-radius: 8px;
}

.smallMenu {
	margin: 0 4px !important;
}

.smallMenu a {
	font: 400 11px/66px "jaf-facitweb", "jaf-facitweb-1", sans-serif !important;
}

/* PAGE CONTENT */
.header {
	z-index: -1;
}

.header .entry-content {
	z-index: 1;
	color: #f7f2eb;
	padding: 0 3%;
}

.section.pages h1 {
	color: #f7f2eb;
}

.header {
	transform: none;
	text-transform: uppercase;
	transform-origin: top left;
}

.section.pages .overlay {
	background: #000;
	opacity: .45;
}

.page .section.pages, .page.standard-menu .section.pages {
	padding: 14% 0;
}

.page-template-grid-page .sharedaddy{
	display: none;
}

.entry-content h1 {
	font-weight: 600;
	text-transform: uppercase;
	line-height: 1.6;
	color: #0d0c4a
}
	
.entry-content h2 {
	font-weight: 600;
	text-transform: none;
	line-height: 1.6;
	color: #0d0c4a
}

.entry-content h3 {
	font-weight: 600;
	text-transform: none;
	line-height: 1.6;
	color: #0d0c4a
}

.wf-active .page-template-grid-page.singular .columns .entry-title {
	font-weight: 400;
	font-size: 1.5rem;
}

.sd-content ul li a.sd-button, .sd-social-icon-text .sd-content ul li a.sd-button {
	font: 400 12px/12px "jaf-facitweb", "jaf-facitweb-1", sans-serif !important;
	color: #0D0C4A !important;
	background: #F7F2EB;
	border: 1px solid #f39a21;
}

.sd-title {
	color: #F39A21;
	letter-spacing: .5px;
}

#main div.sharedaddy h3.sd-title::before {
	border-top: 2px solid #F39A21;
}

.impact {
	padding-bottom: 10px;
	font: 600 1.6rem "jaf-facitweb", "jaf-facitweb-1", sans-serif !important;
	color: #0D0C4A;
}

.impact:after {
	content: "• • •";
	font-size: 1rem;
	letter-spacing: 1em;
	padding-left: 2em;
	padding-top: 1em;
	display: block;
	text-align: center;
}

.gridpage .impact {
	padding-bottom: 5px;
	margin-bottom: 0;
	font: normal 1rem/1.5rem "jaf-facitweb", "jaf-facitweb-1", sans-serif !important;
	color: #2b2b2b;
}

.gridpage .impact:after {
	display: none;
}

.more-link {
	background: #20C7AC;
	padding: 4px 12px;
	border-radius: 2px;
	color: #0D0C4A;
	box-shadow: #0d0c4a 0 2px 0 !important;
	font-size: 1.1rem;
	text-align: center;
	text-transform: uppercase;
}

/* FOOTER CONTENT*/
.site-footer { 
	background: #0D0C4A;
	font-family: 'Gill Sans'
	style: none;
	padding: 40px; 
}

/* 
CSS for the ASV timeline
Changes made by Hoaian Dang 6-5-2020
hoaiandan [at] berkeley.edu
*/

.page-id-665 #timeline-container {
  background: #F4E8D7;
  box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.16);
  border-radius: 4px;
  padding: 40px;
  font-size: 16px;
  text-align: center;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
	position: absolute;
	left: 16vw;
	margin-bottom: 80vh;
}

.page-id-665 #year-container {
  overflow: scroll;
  border-radius: 4px;
}

.page-id-665 #accent {
  /*background: #DF5447;
   *box-shadow: 0px 3px 3px rgba(0.2, 0.3, 0.6, 0.16);*/
  border-radius: 4px;
  color: white;
	overflow: scroll;
}

.page-id-665 #timeline-main {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-id-665 .quote {
  border-radius: 4px;
  box-shadow: 0px 3px 3px rgba(0.2, 0.3, 0.6, 0.16);
  width: 190px;
  background-size: contain;
  align-self: center;
}

.page-id-665 .year {
  background: white;
  border-radius: 4px;
  box-shadow: 0px 3px 3px rgba(0.2, 0.3, 0.6, 0.16);
  color: black;
  background-size: contain;
  align-self: center;
}

.page-id-665 #year-header {
  height: 20px;
  background-image: url("https://i.postimg.cc/T30kzcVd/Screen-Shot-2020-05-27-at-10-20-50-PM.png");
  background-size: contain;
  background-repeat: repeat-x;
  border-radius: 4px 4px 0px 0px;
}

.page-id-665 #timeline-bar-container {
  width: 60vw;
  overflow: scroll;
}

.page-id-665 #timeline-bar {
  width: 1600px;
  height: 120px;
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-start;
}

.page-id-665 .timeline-bar-elem {
  background-color: white;
  height: 80px;
  border-radius: 4px;
  box-shadow: 0px 3px 3px rgba(0.2, 0.3, 0.6, 0.16);
  margin-bottom: 6px;
  margin-right: 18px;
  margin-left: 2px;
  transition-duration: 0.1s;
  transition-timing-function: linear;
}

.page-id-665 .timeline-bar-elem:hover {
  opacity: 0.7;
  cursor: pointer;
}

.page-id-665 .timeline-bar-elem:active {
  box-shadow: 0px 1px 1px rgba(0.2, 0.3, 0.6, 0.16);
  margin-bottom: 5px;
  opacity: 1;
}

.page-id-665 .selected:hover {
  opacity: 1;
  cursor: pointer;
}

.page-id-665 .timeline-bar-elem-header {
  height: 10px;
  width: 100%;
  opacity: 0;
  background-image: url("https://eastbaysanctuary.org/wp-content/uploads/2020/08/red.png");
  background-size: contain;
  background-repeat: repeat-x;
  border-radius: 4px 4px 0px 0px;
  transition-duration: 0.1s;
  transition-timing-function: linear;
}

.page-id-665 .timeline-bar-elem-header.green {
	background-image:
	url("https://eastbaysanctuary.org/wp-content/uploads/2020/08/green.png");
}

.page-id-665 .timeline-bar-elem-header.red {
	background-image: url("https://eastbaysanctuary.org/wp-content/uploads/2020/08/red.png");
}

.page-id-665 .timeline-bar-elem-text {
  padding: 20px;
}

.page-id-665 .selected .timeline-bar-elem-header{
  opacity: 1;
  height: 16px;
}

.page-id-665 .timeline-bar-elem.selected {
  height: 110px;
}

.page-id-665 button {
  background: #0084ff;
  border: none;
  border-radius: 5px;
  padding: 8px 14px;
  font-size: 15px;
  color: #fff;
}

.page-id-665 #timeline-container.alt {
  background: #0084ff;
  color: #fff;
  margin-top: 40px;
  width: 200px;
}

.page-id-665 #timeline-container.alt button {
  background: #fff;
  color: #000;
}


/* MEDIA QUERIES */
			
@media only screen and (min-width:1520px) {
	.page-id-665 #timeline-container {
		width: 80vw;
		margin-left: -6vw;
	}

	.page-id-665 #year-container {
		height: 58vh;
		width: 44vw;
		margin-left: 10px;
	}
	
	.page-id-665 #accent {
		height: 58vh;
		width: 28vw;
		margin-right: 10px;
	}
}

@media only screen and (max-width:1519px){
	
	.widget_search .search-submit {
    margin-top: 20px;
    float: left;
}
	.page-id-665 #timeline-container {
		width: 80vw;
		margin-left: -6vw;
	}

	.page-id-665 #year-container {
		height: 58vh;
		width: 44vw;
		margin-left: 10px;
	}

	.page-id-665 #accent {
		height: 58vh;
		width: 28vw;
		margin-right: 10px;
	}
	
	.page-id-665 #timeline-main {
  flex-direction: row;
}
}
@media only screen and (max-width: 1000px) {
	.main-navigation a {
		font-size: .8rem;
		line-height: 5;
	}
	input[type="search"]{
		width:120px;
		clear:none;
		margin-bottom:20px;
	}
	.page-id-665 #timeline-container {
		width: 90vw;
		margin-left: -11vw;
	}

	.page-id-665 #year-container {
		height: 400px;
		width: 50vw;
	}

	.page-id-665 #accent {
		height: 400px;
		width: 30vw;
	}
	
	.page-id-665 #timeline-main {
  flex-direction: row;
}
}

@media only screen and (min-width: 880px) {
	.site-header {
		max-height: 120px;
		max-width: 100%;
	}
	
	.single-post h1 {
		font-size: 41px !important;
	}
	
}

@media only screen and (max-width:1279px) {
	.page-id-6 .content-caption .entry-content p {
		max-width: 500px;
		margin: 0 auto;
		padding-bottom: 26px;
		font-style: normal;
	}
}

@media only screen and (min-width:1280px) {
	.page-id-6 .content-caption .entry-content p {
		max-width: 500px;
		text-align: left;
		padding-bottom: 26px;
		font-style: normal;
	}
}

@media only screen and (max-width: 879px) {
	.main-navigation a {
		font-size: 1.2rem;
		line-height: 1.7;
	}
	
	.main-navigation ul ul li {
		padding: .1em 0;
	}
	
	.main-navigation li {
		margin: .5em 0 0;
	}
	
	.main-navigation.toggled ul {
		padding: 15px 11px;
	}
	
	#menu-item-534 > a {
		line-height: 12px !important;
	}
	
	.impact {
		padding-bottom: 10px;
		font: 600 1.3rem "jaf-facitweb", "jaf-facitweb-1", sans-serif !important;
	}
	
	.social-block {
		border: 0;
		background: #0D0C4A;
		margin-bottom: -75px;
	}
	
	#site-navigation button {
		box-shadow: none;
		border: 1px solid #F7F2EB;
		padding: 5px 25px;
		margin-top: 58px;
	}
	.widget_search .search-submit{
		float:right;
	}
	input[type="search"]{
		width:200px;
		color:#fff;
	}
	
	.page-id-665 #timeline-container {
		width: 100vw;
		margin-left: -16vw;
	}

	.page-id-665 #year-container {
		height: 32vh;
		width: 90vw;
		margin-left: 0px;
		margin-right: 0px;
		margin-bottom: -60px;
	}

	.page-id-665 #accent {
		height: 32vh;
		width: 90vw;
		margin-left: 0px;
		margin-right: 0px;
		margin-bottom: 8px;
	}
	
	.page-id-665 #timeline-main {
		flex-direction: column;
	}
	
	.page-id-665 .timeline-bar-elem {
		height: 48px;
	}
	
	.page-id-665 .timeline-bar-elem.selected {
		height: 64px;
	}
	
	.page-id-665 .timeline-bar-elem-text {
    padding: 16px;
		padding-top: 4px;
		font-size: 12px;
  } 
}

@media screen and (max-width:767px){
	
h2.wp-block-heading.has-text-align-center {
    padding: 0 330px 0 330px;
    top: -50px !important;
}
.sgpb-popup-builder-content-7568.sgpb-popup-builder-content-html img {
    width: 69px !important;
    padding-top: 48px !important;
    padding-left: 34% !important;
    z-index: 1;
}
	div h3.wp-block-heading.has-text-align-center {
    top: -58px !important;
}
	
.onecolumn {
    margin-top: 30px !important;
}
	
.close {
    justify-content: center !important;
}

}
div .widget-area:nth-child(1) {
    width: 100% !important;
}
	
.footer-widgets > div:nth-child(2):nth-last-child(2), .footer-widgets > div:nth-child(3):nth-last-child(1) {

    width: 100% !important;
  
}

.widget-area:nth-child(3) {
    width: 100% !important;
}
	
.widget-area:nth-child(2) {
    column-count: 1 !important;
}
