/*
Theme Name: EcoResearch.org 2026 (Salient Child)
Description: This is a custom child theme for Salient
Author URI:  https://sternerstuff.dev
Template: salient
Version: 1.0.2
*/

/* header#top nav .sf-menu li.current_page_item > a {
    color: white !important;
} */

/* Global Page Header */
#page_header h1 {
    color: #ffffff;
}
#page_shadow {
    padding: 10px !important;
    margin: 0 !important;
}
/* #page-header-wrap {
    overflow: inherit;
}
#page-header-wrap:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -50px;
    height: 50px;
    background: url(https://ecoresearch.wpengine.com/wp-content/uploads/2018/12/page-shadow.png) no-repeat;
    background-size: cover;
    z-index: 10;
} */
body.single-post[data-bg-header="true"].ascend .container-wrap {
    z-index: 5;
}


/* Dropdown Menu CSS */
.sf-menu ul.sub-menu {
    /* top: 83px !important; */
    background-color: #21202e;
    padding: 2px 5px;
    border-top: 2px solid #ce1b28;
    border-bottom: 2px solid #ce1b28;
}
.sf-menu ul.sub-menu li {
    /* padding: 0 !important; */
    /* margin: 0; */
    border-bottom: 1px dotted #363544;
}
.sf-menu ul.sub-menu li:last-child {
    border-bottom: none;
}
body #header-outer:not([data-lhe="animated_underline"]) header#top nav ul.sub-menu li a:hover {
    padding-left: 20px;
    color: #ffffff !Important;
    background-color: #282737 !important;
}
.ascend #header-outer .sf-menu ul.sub-menu li a {
    background-color: transparent !important;
    transition: all 0.3s ease-in-out 0s;
}

/* HEADER CSS */
html body #header-outer:not([data-lhe="animated_underline"]) header#top nav .sf-menu > li.current-menu-item > a {
    color: #fff !important;
}

#header-outer[data-using-secondary="1"] {
    padding-top: 0 !important;
}

.sf-menu li {
    padding-left: 17px;
    padding-right: 17px;
}
header#top #logo {
    margin-top: 0;
    padding-top: 18px !important;
}
header#top #logo img {
    width: 255px;
    height: auto !important;
}
.sf-menu > li ul a {
    padding-block:14px;
}

.sf-menu li.current-menu-item {
    background-color: #ce1b28;
    color: white !important;
}
.sf-menu li.current_page_item a {
    color: white !important;
}
body:not(.material) header#top nav > ul li#search-btn, header#top nav > ul li.slide-out-widget-area-toggle {
    padding-bottom: 6px;
    padding-top: 7px;
    padding-top: 25px !important;
}
body[data-hhun="1"]:not(.no-scroll) #header-outer[data-permanent-transparent="false"][data-using-secondary="1"]:not(.detached):not(.parallax-contained):not(.at-top-before-box) {
    top: 0!important;
}
/* -------------- END HEADER ------- */



/* -------------- END SLIDER ------- */
/* ---- seperators -- */
.widget-separator {
    background-color: #cccccc;
    width: 180px;
    height: 1px;
    margin: 15px auto 21px;
}

.widget-separator span {
    width: 30px;
    height: 4px;
    margin: 0px auto;
    display: block;
    position: relative;
    bottom: 2px;
    background-color: #ce1b28;
}
/* ----- END SEP --- */
/* -- capabilities section -- */
.tabbed >ul li a {
    display: block;
    color: #fff;
    position: relative;
    background-color: #21202e;
    padding: 8px 15px;
    transition: all 0.3s cubic-bezier(0.12,0.75,0.4,1);
    -webkit-transition: all 0.3s cubic-bezier(0.12,0.75,0.4,1);
    border-left: 0 !Important;
    border-right: none !important;
}
.wpb_content_element .wpb_tabs_nav li {
    padding: 0 10px;
}
.tabbed >ul li a:hover {
    background-color: #ce1b28;
}


/* Footer CSS */
.ascend #footer-outer .widget h4 {
    letter-spacing: 1px;
    font-size: 20px;
    border-bottom: 1px solid #4b4b55;
    padding-bottom: 10px;
    margin-bottom: 15px !important;
}

#recent-posts-3 ul {
    border-bottom: 1px solid #4b4b55;
    padding-bottom: 15px;
    margin-bottom: 35px;
}

#text-4 ul {margin-left: 20px;}
#text-4 ul li {
    list-style-type: disc !important;
    padding: 10px 0 !important;
}


@media only screen and (max-width: 600px) {

    body:not(.material) header#top #logo {
        padding-top: 6px !important;
    }
    header#top #toggle-nav {
        top: 4px;
    }
    #footer-outer #copyright p{
        text-align: center;
    }

}

@media only screen and (max-width: 768px) {

    body:not(.material) header#top #logo {
        padding-top: 6px !important;
    }
    
}

@media only screen and (max-width: 1000px) {

    header#top #logo img  {
        width: auto !important;
    }
    
    body #page_shadow {
        padding: 0px 28px !important;
        margin-left: -28px !important;
    }
    
}

/*sidebar*/

#sidebar h3 {
    margin-bottom: 10px;
    color: #999;
    font-family: 'Open Sans';
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}


/*single blog page styling*/

#single-below-header {
    display:none!important;
}

.fn {
    display:none!important;
}

.meta-category {
    display:none!important;
}

.single #single-below-header >span {
    border-left:0px solid #DDD;
    padding: 10px 10px 0 5px;
}

#single-meta {
    display:none!important;
}

#gform_2 .gfield {
	margin-bottom: 15px;
}

#gform_fields_1 {
	padding-top: 25px;
}

#page_3 .gform_wrapper li {
    list-style: none;
}

/** Home **/
.blog-recent[data-style="default"] .post-header h3 a {
  color: var(--nectar-accent-color);
}