/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

.feature-table {
    display: grid;
    grid-template-columns: 25% 1fr;
    grid-gap: 0px;
}

.feature-table .column {
    font-family: 'Oswald', sans-serif;
    font-weight: 200;
    vertical-align: top;
    border-bottom: 1px solid rgba(140, 149, 164, 0.1);
}

.feature-table .column:nth-last-child(-n+2) {
    border-bottom: none;
}

.feature-table .feature {
    padding: 20px 20px 20px 0;
    font-size: 24px;
    line-height: 1.5;
}

.feature-table .stat {
    font-size: 16px;
    padding: 20px 20px 20px 0;

}
#header-secondary-outer .nectar-left-text {
    float: left;
    padding: 6px 0;
}

#header-secondary-outer .nectar-left-text a {
    color: #FFFFFF;
    font-family: Times, Tahoma, Verdana, sans-serif;
    font-variant: small-caps;
}

#home-featured .nectar-recent-posts-single_featured .grav-wrap .text a {
    display:none;
}

#home-featured .large-featured-post-title {
    padding-bottom:10px;
}

#header-secondary-outer .nectar-left-text:hover {
    opacity:.7;
}

#header-secondary-outer #social {
    float:right !important;
}


#header-secondary-outer nav>.sf-menu li {
    font-family: Karla;
}

body.material #header-secondary-outer nav>ul {
    height: auto;
    padding: 5px 0;
    margin-left: 20px;
}

#page-header-bg h1, #page-header-bg .subheader {
    text-shadow: 2px 1px 2px #0000006 !important;
}
#page-header-bg .subheader {
    display: block;
    width:50% !important;
}

.mec-container {
    margin-top: 2%;
    margin-bottom: 2%;
}

.document-icon::before {
    font-family: FontAwesome;
    content:"\f15b";
    padding-right:6px;
    color: #ccc;
}
#menu-about-olcf li {
    border-bottom: 1px solid #efefef;
    padding: 10px;
    list-style: none;
}
#menu-about-olcf li.current_page_item {
    color:#00e0b7;
    border-left: 5px solid #00e3ab;
    padding-left: 8px;
}
.section-menu-title h2.widgettitle {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.section-menu-title h2.widgettitle::after {
    font-family: FontAwesome;
    font-size:14px;
    font-weight:100;
    content:"\f149";
    margin-left:10px;
}
.staff-card-wrap {
    border-bottom: 1px solid #f2f2f2;
    margin: 0 0 20px;
    padding-bottom: 30px !important;
}
.staff-card-wrap:last-of-type {
    border-bottom: none;
}
.staff-meta > span{
    display: block;
}
.staff-meta--job-title {
    font-weight: 700;
    font-size: 15px;
    line-height: 16px;
    color: #5B6670;
    padding-bottom:10px !important;
}
.staff-meta--email-address {
    font-weight: 100;
    font-size: 14px;
    line-height: 16px;
    padding-bottom:10px !important;
}
.staff-meta--short_bio {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
}
h3.subtitle {
    margin-bottom:40px !important;
}
.profile-row {
    border-bottom: 1px solid #f1f1f1;
    padding: 20px 0;
}
.container .profile-row:last-child {
    border-bottom:none !important;
}
.contact_detail_label {
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: 0.0625rem;
    line-height: 1.53846;
    text-transform: uppercase;
    position: relative;
    margin: 0;
    color: #5B6670;
    margin: 0 0 0.625rem;
}
.contact_detail_label:after {
    content: ''; /* Required to make the pseudo-element appear */
    display: block; /* Ensures it takes up space on the page */
    width: 100%; /* Adjust as needed */
    height: 2px; /* Thickness of the line */
    background-color: #00e0b7; /* Color of the line */
    position: absolute; /* Position relative to the heading */
    bottom: -5px; /* Adjust positioning of the line */
}
.contact_detal_label_text {
    text-transform:uppercase;
    position: relative;
}
.profile-picture.circle {
    position: relative;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 50%;
    height: 165px;
    width: 165px;
}
.directory_group-name {
    font-size: 14px;
    line-height: 18px;
}
.directory_section-name {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    padding-bottom: 8px;
}
#search_input {
    margin:20px 0 45px;
}
#staff-list {
    margin-bottom: 50px;
}
.group-listing .hover-content::after {
    font-family: FontAwesome;
    font-size:12px;
    content:"\f054";
    padding-left:6px;
}
.img-with-aniamtion-wrap .hover-wrap {
    margin-bottom: 0 !important;
}
.home .mec-event-detail, .home .event-color {
    display: none;
}
.mec-event-list-modern .mec-event-sharing {
    display:none;
}
.home .mec-event-list-modern .mec-event-article {
    border-bottom: 1px solid #e1e1e1;
}
.home .mec-event-list-modern .mec-event-article:last-of-type {
    border-bottom: none;
}
.home .mec-event-list-modern .mec-event-date .event-da {
    font-weight: 400;
}
.heading::after {
    content: "";
    display: block;
    width: 60px;
    height: 0;
    margin-top: 25px;
    margin-bottom: 25px;
    border-top: 2px solid #00e3ab;
}
.staff-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px; /* Adjust the negative margin to match the padding */
}
.staff-member-card {
    width: 23.641%;
    padding: 10px 20px;
    box-sizing: border-box;
    background: #fff;
    margin: 40px 10px;
    min-height:260px;
}
.staff-member-card:hover {
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.15);
}
.staff-photo img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: -76px 0 35px;
    margin: -4.75rem 0 2.1875rem;
}
.staff-name {
    font-size: 1.2em;
    margin: 10px 0 5px;
}
img.custom-size {
    width: 160px !important; /* desired width */
    height: 160px !important; /* desired height */
    object-fit: cover; /* maintain aspect ratio, fill the box */
    border-radius:50%;
    border: 4px solid #fff
}
.section-lead-card {
    padding: 10px 20px;
    box-sizing: border-box;
    background: #f1f1f1;
    margin: 40px 10px;
    min-height:260px;
    width:100%;
    text-align:center;
}
.section-lead-card:hover {
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.15);
}
.section-lead--heading {
    font-size:14px;
    text-transform:uppercase;
    margin:0;
}
.section-lead-photo img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: -76px 0 35px;
    margin: -4.75rem auto 2.1875rem;
}
/* Responsive styling */
@media (max-width: 1646px) {
    .staff-member-card {
        width: calc(25% - 20px); /* Three columns on tablets */
    }
}

@media (max-width: 1160px) {
    .staff-member-card {
        width: calc(50% - 20px); /* Two columns on small tablets */
    }
}

@media (max-width: 580px) {
    .staff-member-card {
        width: calc(100% - 20px); /* One column on mobile */
    }
}
