/*
Theme Name: Ocean Science Trust
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/* ==========================================================================
	HyperArts Styles
   ========================================================================== */


/* ==========================================================================
	General
   ========================================================================== */

/* remove padding on top of page */
.content {
	padding-top: 0;
	padding-bottom: 0;
}

a:hover, a:focus, a:visited {
	text-decoration: none !important;
}

/* logo */
.inner-container .logo {
	margin-top: 10px;
}

h2 {
	font-family: ' helvetica neue', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 25px;
}

/* remove underline on links */
#top .av_inherit_color a {
	text-decoration: none;
}

span.peach-text {
	color: #f58a6e !important;
}

.main_color strong {
	color: #243d4a;
}

.main_color blockquote {
	border-color: #eee;
}

/* ==========================================================================
	Menu
   ========================================================================== */

#top #header_main > .container .main_menu ul:first-child > li > a {
	line-height: 70px !important;
	height: 60px !important;
}

/* inner page sub nav */
ul#menu-subnav-about-us,
ul#menu-subnav-work,
ul#menu-subnav-connect,
ul#menu-subnav-internships,
ul#menu-subnav-leg-science{
    width: 100%;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 2px solid #f58a6e;
    margin-bottom: 25px;
}

ul#menu-subnav-about-us li:nth-child(2):before,
ul#menu-subnav-about-us li:nth-child(3):before,
ul#menu-subnav-about-us li:nth-child(4):before,
ul#menu-subnav-work li::before,
ul#menu-subnav-connect li:nth-child(2):before,
ul#menu-subnav-connect li:nth-child(3):before,
ul#menu-subnav-connect li:nth-child(4):before,
ul#menu-subnav-leg-science li:nth-child(2):before,
ul#menu-subnav-leg-science li:nth-child(3):before,
ul#menu-subnav-internships li:nth-child(2):before,
ul#menu-subnav-internships li:nth-child(3):before,
ul#menu-subnav-internships li:nth-child(4):before{
	content: "/";
	color: #f58a6e;
}

ul#menu-subnav-work li:nth-child(1)::before {
	content: "";
}

#top .av-subnav-menu > li > a {
	display: inline;
}

#top .av-subnav-menu > li {
	padding: 20px 0;
}

#top .av-submenu-container {
	height: 62px;
}

ul#menu-subnav-about-us li a:hover,
ul#menu-subnav-work li a:hover,
ul#menu-connect li a:hover,
ul#menu-internships li a:hover,
ul#menu-leg-science li a:hover{
	text-decoration: none;
	color: #f58a6e;
}


/* ==========================================================================
	Button
   ========================================================================== */

a.avia-icon_select-yes-right-icon.avia-color-custom.avia-size-large.avia-position-center,
.avia-button-wrap a.avia-button  {
	border: 3px solid #f58a6e !important;
	border-radius: 0px !important;
	text-transform: uppercase;
	letter-spacing: 2px;
	background-color: white;
	color: #f58a6e !important;
}

a.avia-icon_select-yes-right-icon.avia-color-custom.avia-size-large.avia-position-center:hover,
.avia-button-wrap a.avia-button:hover {
	color: #243d4a !important;
	border: 3px solid #243d4a !important;
	background-color: white;
}

.avia-button {
	transition-property: background-color, border-color;
	transition-duration: 0.5s;
}


/* ==========================================================================
	Revolution Slider
   ========================================================================== */

.forcefullwidth_wrapper_tp_banner {
	margin-top: 0 !important;
}

span.revslider-peach-text {
	color: #f58a6e;
}

.tparrows:before {
	color: #f58a6e;
}

.slider-quotes {
	clear: both;
}

.tp-loader.spinner5,
.tp-loader {
	display: none !important;
	visibility: hidden !important;
}

/* ==========================================================================
	Homepage
   ========================================================================== */

hr.home-horizontal-line {
	margin-top: 55px;
	border: 8px solid #f58a6e;
}

body.home .av-layout-grid-container {
	width: 90%;
	margin: 0 auto;
}

#top .iconbox_left_content .iconbox_icon {
	font-size: 50px;
}

.avia-builder-el-last .iconbox_left_content .iconbox_icon {
	font-size: 80px !important;
}

#newsletter {
	background-image: url("/wp-content/uploads/2020/10/pier.jpg"); /* The image used */
  	background-color: #ffffff; /* Used if the image is unavailable */
	height: 500px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

/* Highlights styles are defined in ost-postlist/main.css */

/* ==========================================================================
	Inner Pages
   ========================================================================== */

.av-layout-grid-container {
	width: 70%;
	margin: 0 auto;
}
h2.inner-page {
	margin: 0 auto;
	padding-bottom: 50px;
	width: 50%;
	border-bottom: 8px solid #f58a6e;
	margin-bottom: 50px;
}

/* ABOUT PAGE */

/* Tabs */
div  .main_color .tabcontainer .active_tab_content {
	background-color: white;
}

body.page-id-14 .tabcontainer {
	width: 80%;
	margin: 0 auto;
	overflow: initial;
}

#top .tabcontainer {
	text-align: center;
}

.js_active .tab {
	display: inline;
	float: none;
}

.js_active .tab_content {
	padding: 0;
}

.js_active .top_tab .tab {
	padding: 10px 40px;
}

@-moz-document url-prefix() {
	.js_active .top_tab .tab {
		padding: 9px 40px;
	}
}

@-moz-document url-prefix() {
	.js_active .top_tab .tab {
		padding: 9px 40px;
	}
}

.tab_titles {
	height: 36px;
	border-bottom: 3px solid #f58a6e !important;
}

.tab_titles .tab {
	text-transform: uppercase;
	letter-spacing: 3px;
	font-size: 14px;
	border: 3px solid #f58a6e !important;

}

.tab_titles .tab.active_tab {
	background-color: #f58a6e !important;
	color: white !important;
	cursor: default;
	padding: 9px 37px;
}

body.page-id-14 .tab_inner_content p {
	margin: 40px 0 90px;
}

#ourlinktocalifornia:after {
	content: url(images/flourish.svg);
	position: absolute;
	margin-left: -200px;
	margin-top: -140px;
	z-index: 10;
}


/* OUR WORK PAGE */

/* our work tabs */
body.page-id-16 span.tab_icon {
	font-size: 85px !important;
}

body.page-id-16 .tab_titles {
	border-bottom: none !important;
}

body.page-id-16 .tab_titles .tab {
	display: inline-block;
	padding: 0 !important;
	border: none !important;
	border-left: 5px solid white !important;
	border-right: 5px solid white !important;
	height: 110px;
	width: 150px;
	font-weight: bold;
}

body.page-id-16 .tab_icon:before {
	position: absolute;
	left: 22%;
	right: 28%;
	top: 25%;
}

body.page-id-16 span.tab-title {
	font-size: 10px;
	top: 45px;
	position: relative;
}

/* different colors on tabs */
body.page-id-16 .tab_counter_0 {
	background-color: #F58A6E !important;
	color: white !important;
}
body.page-id-16 .tab.tab_counter_0.active_tab {
	background-color: #F58A6E !important;
}
body.page-id-16 .tab.active_tab.tab_counter_0 span.tab-title:after {
	content: url(images/triangle-orange.png);
	position: absolute;
	top: 225%;
	right: 100%;
}
body.page-id-16 .tab_counter_1 {
	background-color: #1F3D4A !important;
	color: white !important;
}
body.page-id-16 .tab.tab_counter_1.active_tab {
	background-color: #1F3D4A !important;
}
body.page-id-16 .tab.active_tab.tab_counter_1 span.tab-title:after {
	content: url(images/triangle-darkblue.png);
	position: absolute;
	top: 225%;
	right: 80%;
}
body.page-id-16 .tab_counter_2 {
	background-color: #5B828D !important;
	color: white !important;
}
body.page-id-16 .tab.tab_counter_2.active_tab {
	background-color: #5B828D !important;
}
body.page-id-16 .tab.active_tab.tab_counter_2 span.tab-title:after {
	content: url(images/triangle-mediumblue.png);
	position: absolute;
	top: 225%;
	right: 102%;
}
body.page-id-16 .tab_counter_3 {
	background-color: #F58A6E !important;
	color: white !important;
}
body.page-id-16 .tab.tab_counter_3.active_tab {
	background-color: #F58A6E !important;
}
body.page-id-16 .tab.active_tab.tab_counter_3 span.tab-title:after {
	content: url(images/triangle-orange.png);
	position: absolute;
	top: 225%;
	right: 75%;
}
body.page-id-16 .tab_counter_4 {
	background-color: #1F3D4A !important;
	color: white !important;
}
body.page-id-16 .tab.tab_counter_4.active_tab {
	background-color: #1F3D4A !important;
}
body.page-id-16 .tab.active_tab.tab_counter_4 span.tab-title:after {
	content: url(images/triangle-darkblue.png);
	position: absolute;
	top: 225%;
	right: 100%;
}
body.page-id-16 .tab_counter_5 {
	background-color: #5B828D !important;
	color: white !important;
}
body.page-id-16 .tab.tab_counter_5.active_tab {
	background-color: #5B828D !important;
}
body.page-id-16 .tab.active_tab.tab_counter_5 span.tab-title:after {
	content: url(images/triangle-mediumblue.png);
	position: absolute;
	top: 225%;
	right: 100%;
}

#projects .tab_titles {
	border-bottom: 3px solid #f58a6e !important;
	height: 50px;
	overflow: hidden;
}

#projects .tab {
	background-color: transparent !important;
	border: 3px solid #f58a6e !important;
	color: #1f3d4a !important;
	display: inline-block;
	font: inherit !important;
	height: auto;
	min-width: 300px;
	padding: 10px 40px !important;
}

#projects .fullsize-tab {
	width: 100%;
}

#projects .tab.active_tab {
	background-color: #f58a6e !important;
	border: 3px solid #f58a6e !important;
	color: #ffffff !important;
	font: bold !important;
}

#projects .tab_inner_content {
	padding-top: 80px;
}

@media screen and (min-width: 768px) {
	#projects [data-fake-id].fullsize-tab {
		display: none;
	}
}

/* text below tabs */
body.page-id-16 .tab_inner_content.invers-color {
	padding-top: 150px;
	width: 80%;
	margin: 0 auto;
}

body.page-id-16 .tabcontainer{
	margin-bottom: 20px;
}

body.page-id-16 .ourapproach-wrapper {
	display: inline;
}

body.page-id-16 .ourapproach-image {
	display: inline-block;
	float: left;
	width: 25%;
}

body.page-id-16 .ourapproach-text {
	display: inline-block;
	text-align: left;
	width: 65%;
	padding-top: 30px;
}

/* tabs text border colors */
body.page-id-16 #tab-id-1-container .ourapproach-image {
	border-right: 1px solid #F58A6E;
	padding: 30px 0;
}
body.page-id-16 #tab-id-2-container .ourapproach-image {
	border-right: 1px solid #1F3D4A;
	padding: 30px 0;
}
body.page-id-16 #tab-id-3-container .ourapproach-image {
	border-right: 1px solid #5B828D;
	padding: 30px 0;
}
body.page-id-16 #tab-id-4-container .ourapproach-image {
	border-right: 1px solid #F58A6E;
	padding: 30px 10px;
}
body.page-id-16 #tab-id-5-container .ourapproach-image {
	border-right: 1px solid #1F3D4A;
	padding: 30px 0;
}
body.page-id-16 #tab-id-6-container .ourapproach-image {
	border-right: 1px solid #5B828D;
	padding: 30px 0;
}

/* Services section */
#services {
	padding-bottom: 100px;
}

#services:after {
	content: url(images/flourish.svg);
	position: absolute;
	margin-left: -200px;
	margin-top: -80px;
	z-index: 10;
}

#services h2.center-text.inner-page {
	margin-bottom: 15px;
}

#services-mobile {
	display: none;
}

/* Services section */
#services {
	padding-bottom: 100px;
}

#services:after {
	content: url(images/flourish.svg);
	position: absolute;
	margin-left: -200px;
	margin-top: -80px;
	z-index: 10;
}

#services h2.center-text.inner-page {
	margin-bottom: 15px;
}

#services-mobile {
	display: none;
}

/* 3 columns */
.caption {
    position: relative;
    overflow: hidden;

    /* Only the -webkit- prefix is required these days */
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
}

.caption::before {
    content: ' ';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: transparent;
    transition: background .35s ease-out;
}

.caption:hover::before {
    background: rgba(245, 138, 110, 1.0);
}

.caption__media {
    display: block;
    min-width: 100%;
    max-width: 100%;
    height: auto;
}

.caption__overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 20px;
    color: white;

    -webkit-transform: translateY(100%);
            transform: translateY(100%);

    transition: -webkit-transform .35s ease-out;
    transition:         transform .35s ease-out;
}

.caption__overlay a {
	color: white;
	text-decoration: none;
}

.caption__overlay a:hover {
	color: white;
}

.caption:hover .caption__overlay {
    -webkit-transform: translateY(0);
            transform: translateY(0);
}

.caption__overlay__title {
    -webkit-transform: translateY( -webkit-calc(-100% - 150px) );
            transform: translateY( calc(-100% - 150px) );

    transition: -webkit-transform .35s ease-out;
    transition:         transform .35s ease-out;
    width: 200px;
    margin: 0 auto;
}

h2.caption__overlay__title {
	color: white;
	text-transform: uppercase;
	font-size: 16px;
	line-height: 19px;
	text-align: center;
	font-weight: 900;
	margin: 0 auto;
}

.caption:hover .caption__overlay__title {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    width: auto;
    margin: 0 auto;
}

p.caption__overlay__content {
	padding: 0px 10px 5px 10px;
	line-height: 18px;
}

.learn-more {
	padding-left: 10px;
	position: absolute;
	bottom: 10px;
}

article.caption-ie {
	display: none;
}

/* Internet Explorer */
@media screen and (min-width:0\0) {

	article.caption {
		display: none !important;
	}

	article.caption-ie {
		display: inline-block;
	}

	.captioni-ie {
	    position: relative;
	    overflow: hidden;
    }

	.caption__media-ie {
		display: block;
		min-width: 100%;
		max-width: 100%;
		height: auto;
	}

	.caption__overlay-ie {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		padding: 5px;
		max-width: 300px;
	}

	h2.caption__overlay__title-ie {
		color: white;
		text-transform: uppercase;
		font-size: 16px;
		line-height: 19px;
		text-align: center;
		font-weight: 900;
		margin: 0 auto;
	}

	p.caption__overlay__content-ie {
		padding: 0px 5px 5px 5px;
		line-height: 18px;
		color: white;
	}

	.learn-more-ie {
		padding-left: 10px;
		position: absolute;
		bottom: 10px;
		color: white;
	}

}

/* Microsoft Edge */
@supports (-ms-ime-align:auto) {

	article.caption {
		display: none !important;
	}

	article.caption-ie {
		display: inline-block;
	}

	.captioni-ie {
	    position: relative;
	    overflow: hidden;
    }

	.caption__media-ie {
		display: block;
		min-width: 100%;
		max-width: 100%;
		height: auto;
	}

	.caption__overlay-ie {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		padding: 5px;
		max-width: 300px;
	}

	h2.caption__overlay__title-ie {
		color: white;
		text-transform: uppercase;
		font-size: 16px;
		line-height: 19px;
		text-align: center;
		font-weight: 900;
		margin: 0 auto;
	}

	p.caption__overlay__content-ie {
		padding: 0px 5px 5px 5px;
		line-height: 18px;
		color: white;
	}

	.learn-more-ie {
		padding-left: 10px;
		position: absolute;
		bottom: 10px;
		color: white;
	}

}

/* temporarily hide Our Projects section */
/*#projects,
#projects-1-2,
#projects-3-4 {
	display: none;
}*/


/* COLLABORATE PAGE */

/* our work tabs */
body.page-id-18 span.tab_icon {
	font-size: 110px !important;
}

body.page-id-18 .tab_titles {
	border-bottom: none !important;
}

body.page-id-18 .tab_titles .tab {
	display: inline-block;
	padding: 0 !important;
	border: none !important;
	border-left: 5px solid white !important;
	border-right: 5px solid white !important;
	height: 140px;
	width: 210px;
	font-weight: bold;
}

body.page-id-18 .tab_icon:before {
	position: absolute;
	left: 25%;
	right: 25%;
	top: 35%;
}

body.page-id-18 span.tab-title {
	font-size: 16px;
	top: 65px;
	position: relative;
}

body.page-id-18 .tabcontainer .tab_icon {
	margin-right: 13px;
}

/* Hide columns 1 & 3 */
/* body.page-id-18 #connect .flex_column:nth-child(2) *,
body.page-id-18 #connect .flex_column:nth-child(4) * {
	visibility: hidden !important;
}*/

body.page-id-18 #contact .flex_column form {display: none;}

/* different colors on tabs */
body.page-id-18 .tab_counter_0 {
	background-color: #F58A6E !important;
	color: white !important;
}
body.page-id-18 .tab.tab_counter_0.active_tab {
	background-color: #F58A6E !important;
}
body.page-id-18 .tab.active_tab.tab_counter_0 span.tab-title:after {
	content: url(images/triangle-orange.png);
	position: absolute;
	top: 190%;
	right: 130%;
}
@-moz-document url-prefix() {
	body.page-id-18 .tab.active_tab.tab_counter_0 span.tab-title:after {
	top: 170%;
	}
}

body.page-id-18 .tab_counter_1 {
	background-color: #1F3D4A !important;
	color: white !important;
}
body.page-id-18 .tab.tab_counter_1.active_tab {
	background-color: #1F3D4A !important;
}
body.page-id-18 .tab.active_tab.tab_counter_1 span.tab-title:after {
	content: url(images/triangle-darkblue.png);
	position: absolute;
	top: 190%;
	right: 110%;
}
@-moz-document url-prefix() {
	body.page-id-18 .tab.active_tab.tab_counter_1 span.tab-title:after {
		top: 170%;
	}
}
body.page-id-18 .tab_counter_2 {
	background-color: #5B828D !important;
	color: white !important;
}
body.page-id-18 .tab.tab_counter_2.active_tab {
	background-color: #5B828D !important;
}
body.page-id-18 .tab.active_tab.tab_counter_2 span.tab-title:after {
	content: url(images/triangle-mediumblue.png);
	position: absolute;
	top: 190%;
	right: 100%;
}
@-moz-document url-prefix() {
	body.page-id-18 .tab.active_tab.tab_counter_2 span.tab-title:after {
		top: 170%;
	}
}

/* text below tabs */
body.page-id-18 .ourapproach-wrapper {
	margin-top: 155px;
	margin-bottom: 60px;
}

body.page-id-18 .ourapproach-text {
	margin: 0 auto;
	text-align: left;
	width: 50%;
	line-height: 20px;
}

body.page-id-18 .engage-wrapper {
	margin-top: 155px;
	padding-bottom: 2px;
}

body.page-id-18 .engage-text {
	margin: 0 auto;
	text-align: left;
	width: 50%;
	line-height: 20px;
	margin-bottom: 15px;
}

body.page-id-18 .innertabs-wrapper {
	margin-top: 20px;
	margin-bottom: 100px;
	width: 50%;
	margin: 0 auto;
}

/* tabs within tabs */
.responsive-tabs .responsive-tabs__list__item {
	color: #F58A6E !important;
}

ul.responsive-tabs__list {
	margin: 0 !important;
	margin-bottom: 7px !important;
}
@-moz-document url-prefix() {
	ul.responsive-tabs__list {
		margin-bottom: 8px !important;
	}
}

li.responsive-tabs__list__item {
	float: initial !important;
	border: 2px solid !important;
	border-color: #F58A6E !important;
	border-radius: 0px !important;
	font-family: 'Raleway', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	text-transform: uppercase !important;
	font-size: 14px !important;
	padding: 9px 37px !important;
	top: 0;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

li.responsive-tabs__list__item.responsive-tabs__list__item--active {
	background-color: #F58A6E;
	color: white !important;
	top: 0;
}

li.responsive-tabs__list__item.responsive-tabs__list__item--active:hover {
	background-color: #F58A6E !important;
	color: white !important;
	top: 0;
}

.responsive-tabs .responsive-tabs__panel {
	border: none !important;
	border-top: 2px solid #F58A6E !important;
	text-align: left;

}

body.page-id-18 .tab_inner_content p {
	margin: 0 !important;
}

.innertabs-text {
	padding-top: 20px;
	width: 75%;
	margin: 0 auto;
}

.current-funders {
	font-weight: bold;
	padding: 30px 0 10px 0;
}


/* contact section */
#contact .template-page.content{
	padding-top: 55px !important;
	margin-bottom: 100px !important;
}

#contact:after {
	content: url(images/flourish.svg);
	position: absolute;
	margin-left: -200px;
	margin-top: -180px;
	z-index: 10;
}

#contact h2.inner-page {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 40px;
}

#contact h3 {
	text-transform: uppercase;
	font-size: 14px;
	padding-top: 5px;
}

#contact a {
	color: #F58A6E !important;
}

#contact a:hover {
	color: white !important;
}

#contact p {
	margin-top: 0 !important;
}

/* outreach section */
#outreach .template-page.content{
	padding-top: 55px !important;
	margin-bottom: 100px !important;
}

#outreach:after {
	content: url(images/flourish.svg);
	position: absolute;
	margin-left: -200px;
	margin-top: -180px;
	z-index: 0;
}

#outreach p {
	margin-top: 0 !important;
}

/* newsletter signup */
#contact p.first_form{
	color: white !important;
}

#contact input[type='submit'] {
	border: 3px solid #f58a6e;
	border-radius: 0;
	text-transform: uppercase;
	letter-spacing: 2px;
	padding: 15px 30px;
}

#contact input[type='submit']:hover {
	background-color: white;
	color: #f58a6e;
	border: 3px solid #f58a6e;
}



/* HIGHLIGHTS PAGE */

body.page-id-20 .tabcontainer {
	margin-top: 15px;
}

body.page-id-20 .tab_titles {
	padding-bottom: 43px;
	border-bottom: 2px solid #f58a6e !important;
}

body.page-id-20 .tab_inner_content {
	margin: 80px 0 0 0;
}

body.page-id-20 .tab_titles .tab.active_tab {
	background-color: white !important;
	color: #1f3d4a !important;
	font-weight: normal;
}

body.page-id-20 .tab:hover,
body.page-id-20 .tab.active_tab:hover {
	color: #F58A6E !important;
}

body.page-id-20 .tab_titles .tab {
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 13px;
	border: none !important;
	padding: 10px;
}

body.page-id-20 .tab_counter_1:before,
body.page-id-20 .tab_counter_2:before,
body.page-id-20 .tab_counter_3:before {
	padding-right: 15px;
	content: "/";
	color: #f58a6e;
}

/* RESOURCES rebuilt PAGE */

body.page-id-4123 .tabcontainer,
body.page-id-4131 .tabcontainer {
	margin-top: 15px;
}

body.page-id-4123 .tab_titles,
body.page-id-4131 .tab_titles {
	padding-bottom: 43px;
	border-bottom: 2px solid #f58a6e !important;
}

body.page-id-4123 .tab_inner_content,
body.page-id-4131 .tab_inner_content {
	margin: 40px 0 0 0;
}

body.page-id-4123 .tab_titles .tab.active_tab,
body.page-id-4131 .tab_titles .tab.active_tab {
	background-color: white !important;
	color: #1f3d4a !important;
	font-weight: normal;
}

body.page-id-4123 .tab:hover,
body.page-id-4123 .tab.active_tab:hover,
body.page-id-4131 .tab:hover,
body.page-id-4131 .tab.active_tab:hover{
	color: #F58A6E !important;
}

body.page-id-4123 .tab_titles .tab,
body.page-id-4131 .tab_titles .tab {
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 13px;
	border: none !important;
	padding: 10px;
}

body.page-id-4123 .tab_counter_1:before,
body.page-id-4123 .tab_counter_2:before,
body.page-id-4123 .tab_counter_3:before,
body.page-id-4123 .tab_counter_4:before,
body.page-id-4131 .tab_counter_1:before,
body.page-id-4131 .tab_counter_2:before,
body.page-id-4131 .tab_counter_3:before,
body.page-id-4131 .tab_counter_4:before {
	padding-right: 15px;
	content: "/";
	color: #f58a6e;
}

/* PROGRAMS LISTING */

.taxonomy-term-wrapper {
	height: 300px;
	margin: 10%;
	min-height: 300px;
	padding: 0 10%;
	position: relative;
}

.taxonomy-term-wrapper h3 {
	color: white;
	font-size: 24px;
	padding-top: 45%;
	text-align: center;
}


/* (inner) Core Functions PAGES */

.flex_column.av_one_fourth {
	border-left: 1px solid #F58A6E;
}

/* RESOURCE LIBRARY */
/* sidebar */
.flex_column.av_one_fourth.el_before_av_three_fourth.avia-builder-el-first {
	background-color: #f9f8f8;
	border-left: none;
	padding: 1.5em;
}
.flex_column.av_one_fourth.el_before_av_three_fourth.avia-builder-el-first h3,
.flex_column.av_one_fourth.el_before_av_three_fourth.avia-builder-el-first h4 {
	color: #233d4b;
	font-family: 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: bold;
	margin-bottom: 1em;
}
.flex_column.av_one_fourth.el_before_av_three_fourth.avia-builder-el-first h3 {
	margin-bottom: 2em;
}
.facetwp-type-search {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	padding: 0;
}
.facetwp-type-search-button {
	cursor: pointer;
	/*line-height: 2;*/
	padding: 0 0.75em;
}
.facetwp-expand {
	line-height: 2;
	padding: 0 0.5em;
}
.facetwp-type-search .facetwp-btn {
	/* Hide FacetWP default search bar button */
	display: none;
}
#top .facetwp-search-wrap {
	padding: 0;
}
#top .main_color .facetwp-type-search .facetwp-search[type="text"] {
	background-color: #eeeeee;
	border-color: #ddddef;
	color: inherit;
	margin: 0;
}
input.facetwp-search::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #bbbbbb;
}
input.facetwp-search::-moz-placeholder { /* Firefox 19+ */
  color: #bbbbbb;
}
input.facetwp-search:-ms-input-placeholder { /* IE 10+ */
  color: #bbbbbb;
}
input.facetwp-search:-moz-placeholder { /* Firefox 18- */
  color: #bbbbbb;
}
#top .main_color .avia-button,
.facetwp-type-search-button,
.facetwp-expand  {
	background-color: #f58a6e;
	color: #ffffff !important;
}
#top .main_color .avia-button:hover,
#top .facetwp-type-search .facetwp-type-search-button:hover,
#top .facetwp-expand:hover,
#top .facetwp-expand:focus {
	background-color: #243d4a;
}
.facetwp-facet>[class^='facetwp-'] {
	border-bottom: 1px solid #ddddef;
	color: #333333;
	padding-bottom: 0.5em;
}
.facetwp-facet .facetwp-checkbox {
	background-position-y: 0.35em;
}

/* RESOURCE list */
.resource-item {
	border: none;
	clear: none;
	display: inline-block;
	float: left;
	height: 435px; /* linked to height of .resource-item-main & .resource-item-thumbnail */
	margin: 0 0 2em;
	min-width: 150px;
	padding-right: 1em;
	position: relative;
	width: 25%;
}
/* Use gradient overlay to fade out text at bottom */
.resource-item-main {
	height: 395px;
	max-height: 395px; /* linked to height of .resource-item  & .resource-item-thumbnail*/
	overflow-y: hidden;
	position: relative;
}
.resource-item-main::after {
	background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,1));
	bottom: 0;
	content: "";
	height: 2em;
	left: 0;
	position: absolute;
	right: 0;
	width: 100%;
}
.resource-item-title,
.resource-item-thumbnail,
.resource-item-year {
	display: block;
	font-family: 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	width: 100%;
}
.resource-item-thumbnail {
	background: #f9f8f8;
	max-height: 285px;
	min-height: 285px; /* linked to height of .resource-item-main & .resource-item */
}
.resource-item-thumbnail img {
	max-height: 285px; /* linked to height of .resource-item-thumbnail */
	min-height: 285px;
}
.resource-item .resource-item-title {
	font-weight: bold;
}
.resource-item .resource-item-year {
	bottom: 1em;
	color: #ee8871;
	font-size: 0.8em;
	position: absolute;
}
.facetwp-pager {
	clear: both;
	width: 100%;
}
.facetwp-pager-label {
	visibility: hidden;
}
.facetwp-pager .facetwp-page {
	background-color: #F58A6E;
	background-color: rgba(247,138,106,0.25);
	color: #f78a6a;
	padding: 0 0.5em;
}
.facetwp-pager .facetwp-page.active {
	background-color: #f78a6a;
	background-color: rgba(247,138,106,1.0);
	color: #ffffff;
}

/* SEARCH RESULTS PAGE */

body.search-results #main,
body.search-no-results #main {
	padding-top: 50px !important;
}


/* ==========================================================================
	Footer
   ========================================================================== */

#footer {
	margin-top: 35px;
	font-family: 'Raleway', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#footer section#nav_menu-2,
ul#menu-footer-menu-2 {
	text-transform: uppercase;
}

#top .avia_ajax_form.avia-mailchimp-form input[type='text'] {
  background: rgba(131, 138, 145, 0.3);
  color: #fff;
}

/* ==========================================================================
	MEDIA QUERIES
   ========================================================================== */

@media only screen and (max-width: 1135px) {


	/* Flourish */
	#ourlinktocalifornia:after,
	#corefunctions:after,
	#services:after,
	#contact:after {
		display: none;
	}

/* WORK PAGE */

	/* 3 columns */
	.caption__overlay {
		padding: 6%;
	}
	h2.caption__overlay__title {
		font-size: 14px;
		line-height: 17px
	}
	p.caption__overlay__content {
		font-size: 13px;
		padding: 5px;
		margin: 0;
	}
	.learn-more {
		padding-left: 5px;
	}

}

@media only screen and (max-width: 1023px) {

/* HOMEPAGE */

	/* 3 icons section */
   .responsive #top #wrap_all .av-flex-cells .no_margin {
		display: block;
	    margin: 0;
	    height: auto !important;
	    overflow: hidden;
	    padding-left: 8% !important;
	    padding-right: 8% !important;
	    width: 100%;
   }

	/* highlights section */
   	.ost-postlist.ost_highlights-list .highlight {
		width: 100%;
	}

	/* resources section */
		.ost-postlist.ost_resources-list .resource {
		width: 100%;
	}

/* ABOUT PAGE */
	h2.inner-page {
		width: 100%;
		padding-bottom: 20px;
	}

/* WORK PAGE */

	/* our work tabs */
	body.page-id-16 span.tab_icon {
		font-size: 65px !important;
	}
	body.page-id-16 .tab_titles .tab {
		height: 80px;
		width: 112px;
		font-weight: bold;
	}
	body.page-id-16 .tab_icon:before {
		left: 19%;
		top: 25%;
	}
	body.page-id-16 span.tab-title {
		font-size: 8px;
		top: 32px;
		left: -2px;
	}
	/* triangles below tabs */
	body.page-id-16 .tab.active_tab.tab_counter_0 span.tab-title:after {
		top: 170%;
		right: 80%;
	}
	body.page-id-16 .tab.active_tab.tab_counter_1 span.tab-title:after {
		top: 170%;
		right: 65%;
	}
	body.page-id-16 .tab.active_tab.tab_counter_2 span.tab-title:after {
		top: 170%;
		right: 80%;
	}
	body.page-id-16 .tab.active_tab.tab_counter_3 span.tab-title:after {
		top: 170%;
		right: 60%;
	}
	body.page-id-16 .tab.active_tab.tab_counter_4 span.tab-title:after {
		top: 170%;
		right: 80%;
	}
	body.page-id-16 .tab.active_tab.tab_counter_5 span.tab-title:after {
		top: 170%;
		right: 80%;
	}

	body.page-id-16 .tab_inner_content.invers-color {
		padding-top: 100px;
	}

	/* Core Functions */
	#corefunctions  {
		display: none;
	}
	#corefunctions-mobile {
		display: inline-block;
		padding: 30px;
	}
	#corefunctions-mobile a,
	#corefunctions-mobile h3 {
		color: white;
	}
	body.page-id-16 h2.inner-page {
		margin-bottom: 0;
	}

/* INNER Core Functions PAGE */
	body.page-id-637 .av_three_fourth,
	body.page-id-637 .av_one_fourth,
	body.page-id-603 .av_three_fourth,
	body.page-id-603 .av_one_fourth,
	body.page-id-631 .av_three_fourth,
	body.page-id-631 .av_one_fourth {
		width: 100%;
	}

	.flex_column.av_one_fourth {
		border-left: none;
		padding: 0 !important;
		margin-left: 0 !important;
	}

}

/* Success Stories */
#success  {
	display: none;
}
#success-mobile {
	display: inline-block;
	padding: 30px;
}
#success-mobile a,
#success-mobile h3 {
	color: white;
}
body.page-id-16 h2.inner-page {
	margin-bottom: 0;
}

/* INNER Success Stories PAGE */
body.page-id-637 .av_three_fourth,
body.page-id-637 .av_one_fourth,
body.page-id-603 .av_three_fourth,
body.page-id-603 .av_one_fourth,
body.page-id-631 .av_three_fourth,
body.page-id-631 .av_one_fourth {
	width: 100%;
}

.flex_column.av_one_fourth {
	border-left: none;
	padding: 0 !important;
	margin-left: 0 !important;
}


@media only screen and (max-width: 767px) {

	/* Logo Mobile */
	.html_stretched #wrap_all {
		margin-top: -30px;
	}
	.responsive .logo a:nth-child(1) {
		display: none;
	}
	.second-logo {
		width: 200px;
	}
	.responsive #top .logo {
		width: 70%;
	}

	/* inner page sub nav */
	ul#menu-subnav-about-us,
	ul#menu-subnav-work,
	ul#menu-subnav-connect,
	ul#menu-subnav-internships,
	ul#menu-subnav-leg-science{
		display: none;
	}

/* HOME PAGE */
	body.home .flex_column {
		padding: 50px 0 !important;
	}

	.responsive #top #wrap_all .av-flex-cells .no_margin {
		padding-left: 5% !important;
		padding-right: 5% !important;
	}

/* ABOUT PAGE - people tabs */
	.responsive #top .main_color .active_tab_content {
		background-color: white;
	}

	.ost-postlist.ost_persons-list .person, .ost-postlist.ost_projects-list .project {
		width: 100%;
	}

	.ost-postlist h3 {
		margin-top: 5px;
	}

	.responsive #top .main_color .tabcontainer .active_tab {
		background-color: #F58A6E;
	}

	.js_active .tab {
		font-size: 20px;
		text-transform: uppercase;
		letter-spacing: 2px;
	}

	.main_color .tabcontainer .tab {
		border: 2px solid #F58A6E;
		color: #F58A6E;
	}

	.av-layout-grid-container {
		width: 100%;
	}

	/* DEI PAGE */
	#deiresources .template-page.content{
		padding-top: 55px !important;
		margin-bottom: 100px !important;
	}

	#deiresources:after {
	content: url(images/flourish.svg);
	position: absolute;
	margin-left: -200px;
	margin-top: -140px;
	z-index: 10;
}

	#deiresources h2.inner-page {
		border-bottom: none;
		padding-bottom: 0;
		margin-bottom: 40px;
	}

	#deiresources h3 {
		text-transform: uppercase;
		font-size: 14px;
		padding-top: 5px;
	}

	#deiresources a {
		color: #F58A6E !important;
	}

	#deiresources a:hover {
		color: white !important;
	}

	#deiresources p {
		margin-top: 0 !important;
	}

/* WORK PAGE */

	/* our work tabs */
	body.page-id-16 .tab_icon:before {
		left: 29%;
		top: 25%;
	}
	body.page-id-16 span.tab-title {
		font-size: 20px;
		top: 15px;
		font-weight: normal;
	}
	body.page-id-16 span.tab_icon {
		font-size: 80px !important;
	}
	#ourapproach .tab.active_tab.fullsize-tab {
		padding: 30px;
	}
	#ourapproach .tab.fullsize-tab {
		padding: 30px;
	}
	body.page-id-16 .tab_inner_content.invers-color {
		width: 100%;
	}
	body.page-id-16 .ourapproach-text {
		padding-top: 5px;
	}
	body.page-id-16 .tab_inner_content.invers-color {
		padding-top: 20px;
		padding-bottom: 20px;
	}
	body.page-id-16 .main_color .tabcontainer .tab {
		border: none;
	}
	/* different colors on tabs */
	body.page-id-16 [data-fake-id="#tab-id-1"] {
		background-color: #F58A6E !important;
		color: white !important;
	}
	body.page-id-16 [data-fake-id="#tab-id-2"] {
		background-color: #1F3D4A !important;
		color: white !important;
	}
	body.page-id-16 [data-fake-id="#tab-id-3"] {
		background-color: #5B828D !important;
		color: white !important;
	}
	body.page-id-16 [data-fake-id="#tab-id-4"] {
		background-color: #F58A6E !important;
		color: white !important;
	}
	body.page-id-16 [data-fake-id="#tab-id-5"] {
		background-color: #1F3D4A !important;
		color: white !important;
	}
	body.page-id-16 [data-fake-id="#tab-id-6"] {
		background-color: #5B828D !important;
		color: white !important;
	}

	body.page-id-16 h2.inner-page {
		margin-bottom: 20px;
	}

	body.page-id-16 .ourapproach-image	{
		display: none;
	}

	body.page-id-16 .tab_content {
		padding: 0px !important;
	}

/* COLLABORATE PAGE */
	#work-engage-support .tab.active_tab.fullsize-tab {
		padding: 40px;
	}
	#work-engage-support .tab.fullsize-tab {
		padding: 40px;
	}
	body.page-id-18 span.tab_icon {
		font-size: 80px !important;
	}
	body.page-id-18 span.tab-title {
		top: 35px;
	}
	body.page-id-18 .tabcontainer .tab_icon {
		margin-right: 0;
	}
	body.page-id-18 [data-fake-id="#tab-id-1"] {
		background-color: #F58A6E !important;
		color: white !important;
	}
	body.page-id-18 [data-fake-id="#tab-id-2"] {
		background-color: #1F3D4A !important;
		color: white !important;
	}
	body.page-id-18 [data-fake-id="#tab-id-3"] {
		background-color: #5B828D !important;
		color: white !important;
	}
	body.page-id-18 .main_color .tabcontainer .tab {
		border: none;
	}
	body.page-id-18 .ourapproach-wrapper,
	body.page-id-18 .engage-wrapper {
		margin-top: 0;
		padding-top: 10px;
	}
	body.page-id-18 .ourapproach-text,
	body.page-id-18 .engage-text {
		width: 100%;
		padding-bottom: 0;
	}
	body.page-id-18 .innertabs-wrapper	{
		width: 100%;
	}
	body.page-id-18 .responsive-tabs .responsive-tabs__heading--active,
	body.page-id-18 .responsive-tabs h2.tabtitle.responsive-tabs__heading {
		color: #F58A6E;
		background: white;
		border: none;
		border-bottom: 2px solid;
		text-align: left;
		padding-left: 0;
	}
	body.page-id-18 .innertabs-text {
		width: 100%;
		padding-top: 5px;
		padding-bottom: 10px;
	}
	body.page-id-18 .responsive-tabs .responsive-tabs__heading:after {
		border-top: 6px solid #F58A6E;
	}
	body.page-id-18 .responsive-tabs .responsive-tabs__panel {
		padding-bottom: 20px;
	}

	body.page-id-18 .responsive-tabs .responsive-tabs__heading:after {
		right: 0;
	}

	/* Hide columns 1 and 3 */
	body.page-id-18 .flex_column:nth-child(2),
	body.page-id-18 .flex_column:nth-child(4) {
		max-height: 1px;
	}

	#contact .template-page.content {
		margin-bottom: 0px !important;
	}

/* DOCUMENT LIBRARY */
	.resource-item {
		width: 50%;
	}

/* HIGHLIGHTS PAGE */
	body.page-id-20	.tab_titles {
		display: block !important;
		border: none !important;
		margin-bottom: 30px;
	}
	body.page-id-20 .tab.fullsize-tab {
		display: none !important;
	}

	body.page-id-20 .tab_titles .tab {
		padding: 5px;
		display: block;
		text-align: left;
		margin-left: 15%;
	}

	body.page-id-20 .tab_counter_1:before,
	body.page-id-20 .tab_counter_2:before,
	body.page-id-20 .tab_counter_3:before {
		content: none;
	}

	/* RESOURCES rebuilt PAGE */
		body.page-id-20	.tab_titles {
			display: block !important;
			border: none !important;
			margin-bottom: 30px;
		}
		body.page-id-20 .tab.fullsize-tab {
			display: none !important;
		}

		body.page-id-20 .tab_titles .tab {
			padding: 5px;
			display: block;
			text-align: left;
			margin-left: 15%;
		}

		body.page-id-20 .tab_counter_1:before,
		body.page-id-20 .tab_counter_2:before,
		body.page-id-20 .tab_counter_3:before {
			content: none;
		}

/* REVOLUTION SLIDER */
	body.page-id-14 .tp-caption.tp-resizeme,
	body.page-id-16 .tp-caption.tp-resizeme,
	body.page-id-18 .tp-caption.tp-resizeme,
	body.page-id-20 .tp-caption.tp-resizeme{
		font-size: 10px !important;
		line-height: 11px !important;
	}


/* FOOTER */
	#footer .widget {
		margin: 0;
	}

	#footer .flex_column {
		padding: 10px !important;
	}

}

/* PROJECT LIST */

.name-role {
	padding: 20px !important;
	font-size: 13px !important;
}

.ost-postlist.ost_projects-list .subheading {
	display: none; /* hide for the time-being */
}

/* 404 page */

.error404 .entry-title {
	margin-top: 50px;
	font-weight: bold;
	font-size: 20px;
}
 /* PROGRAM LIST */
.taxonomy-image {
	width: 100%;
}

@media screen and (max-width: 480px) {
/* DOCUMENT LIBRARY */
	.resource-item {
		width: 100%;
	}
}
