/**
Theme Name: Life Sci Communications Child Theme
Author: Life Sci Communications
Author URI: https://lifescicommunications.com/
Description: LSC Custom Child - No Comments - updated astra breakpoints - CPT for Teams
Version: 1.9.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: life-sci-communications-child-theme
Template: astra
*/
/* --- GLOBAL  --- */
.no-bot-margin, .no-bot-margin p:last-of-type{
  margin-bottom: 0 !important;
}

/* overflow control - stops items from going off the side of the screen */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* fix astra menu issue */
.ast-header-break-point #ast-desktop-header {
  display: none;
}
/* THIS CODE UPDATES THE MENU COLORS AND SPACING BASED ON THE FIX ABOVE */
@media (max-width: 1039px){
  #masthead .ast-mobile-header-wrap .ast-primary-header-bar, #masthead .ast-mobile-header-wrap .ast-below-header-bar {
      padding-left: 20px;
      padding-right: 20px;
  }
  /* THIS IS PULLING COLORS FROM A VARIABLE THEY WILL NEED TO BE UPDATED TO MATCH THE SITE 
  .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link {
      color: var(--ast-global-color-5);
  }
  .ast-builder-menu-mobile .main-navigation .menu-item > .ast-menu-toggle {
      color: var(--ast-global-color-5);
  }
  */
  }
/* END FIX */
/* --- END GLOBAL -- */
/* --- hide mobile menu on desktop --- */
/* -- NOTE:: If you change when the mobile menu shows this will need to be changed --*/
@media (min-width: 1025px) {
  body #ast-mobile-popup-wrapper {
    display: none;
    visibility: hidden;
  }
}

/* -- START Team section for SEARCH AND FILTER TEAM SECTION -- */
/* team section spacing and sizing */
.team-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap:40px 2%;
}

.team-member {
    flex: 0 1 auto;
    max-width: 340px;
    min-width: 300px;
    width: 25%;
    margin-bottom: 0;
    position: relative;
    padding: 0;
}
.team-container.scientific-advisory-board,.team-container.board-of-directors  {
    max-width: calc((3 * 340px) + (2 * 2%));
    margin: 0 auto;
}
.scientific-advisory-board .team-member, .board-of-directors .team-member{
    width: 33%;
}
.team-member:has(a){
    cursor: pointer;
}
/* mobile sizing */
@media (max-width: 1024px) {
  .team-member, .management 
.team-member {
    width: 48%;
  }
}
@media (max-width: 767px) {
  .team-container {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .team-member, .management 
.team-member {
    width: 98%;
  }
}
/* hover state */
.team-member:has(a):hover .team-image {
  transform: scale(1.05);
  transition: all 0.25s ease;
}
.team-member .team-image {
  transition: all 0.25s ease;
  margin-bottom: 20px;
}
/* team image and title styles */
.team-member .team-image img{
  max-width:250px;
  border-radius:90%;
  margin:0 auto;
  display:block;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.35);
}
.team-member .team-name{
  text-align:center;
}
.team-member .team-name .member-link {
  color: #85243D;
  text-decoration: none !important;
  font-weight: 700;
  font-size:1.1rem;
  line-height:1.5rem;	
}
.team-member .team-title, .team-member .team-company {
  color: #202020;
  text-decoration: none !important;
  font-size:.9rem;
  font-weight:400;
  line-height:1.35rem;
  text-align:center	
}
/* start make whole team member clickable */
/* updated to make clickable area larger than contain so border can be farther from content */
a.member-link:after {
  content: "";
  display: block !important;
  position: absolute;
  top: -5px;
  bottom: 0;
  left: -5px;
  right: 0;
  z-index: 1;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
}

/* end make whole team member clickable */
/* TEAM member Focus state */
/* added border to focus state - this allows focus to show over dark and light backgrounds if needed */
.team-member a:focus:after {
  outline: 2px dotted #fff;
  border: 2px dotted #000035;
  border-radius: 5px;
  outline-offset: 1px;
}

.team-member a:focus {
  outline: none;
}

/* -- End Team section -- */

/* -- START FOCUS STYLES -- */
a:focus {
  outline: 2px dotted #21374B;
  border-radius: 15px;
  -webkit-transition: all 0s;
  transition: all 0s;
}

a.elementor-icon:focus {
  outline-offset: 10px;
}

a.custom-logo-link:focus {
  outline-offset: 5px;
}

footer a:focus, header a:focus, .white-text a:focus {
  outline: 2px dotted #fff;
  border-radius: 15px;
  outline-offset: 2px;
}

footer .site-footer-primary-section-1 a:focus {
  outline-offset: 10px;
}

footer .site-footer-primary-section-1 a.ast-builder-social-element:focus {
  border-radius: 0;
  outline-offset: 4px;
}

.team-member a:focus:after {
  outline: 2px dotted #fff;
  border-radius: 5px;
  outline-offset: 2px;
}

.team-member a:focus {
  outline: none;
}
.lsc-sf-item a.lsc-sf-link:focus {
  outline: none;
}
/* -- S&F FOCUS STYLES -- */
.lsc-sf-item a.lsc-sf-link:focus:after {
  outline: 2px dotted #21374B;
  border-radius: 5px;
}

/* -- END FOCUS STYLES -- */
/* ---- Search and Filter --- */
/* -- ad column for button --*/
.col-2-button{
  min-width:200px;
  margin-left:2rem;
}
/* -- add to base S&F style for button column to work -- */
.lsc-sf-item {
  position: relative;
  display: flex;
  justify-content:space-between;
  align-items:center;
  border-bottom: 1px solid #982162;
  padding-bottom: 1rem;
  margin-bottom: 1rem;	
}
@media (max-width: 767px) {
  .col-2-button{
    margin-left:0rem;
    margin-top:1rem
  }
  .lsc-sf-item {
    display:block;
  }
}
/* -- S&F field width  -- */
.searchandfilter select.sf-input-select {
    min-width: 225px;
}

/* -- make S&F fields show on one line -- */
.searchandfilter ul{
  margin-left:0;
  margin-bottom:1.5rem;
}
.searchandfilter ul li{
  display:inline-block;
  margin-right: 20px;
}
/* -- SF Items color and font styles -- */

.lsc-sf-item .lsc-sf-date{
	font-weight:500;
}
.lsc-sf-item .lsc-sf-date, .lsc-sf-item .lsc-sf-title a.lsc-sf-link{
	color:#1D2C6C;
	text-decoration:none;
}
.lsc-sf-item .lsc-sf-title a.lsc-sf-link:hover{
	text-decoration:underline;	
}
/* start make whole area clickable */
.lsc-sf-item {
  position: relative;
}

a.lsc-sf-link:after {
  content: "";
  display: block !important;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

/* end make whole new container clickable */
/* -- fix arrow in select and update labels to display -- */
.searchandfilter label span.screen-reader-text{
  position:relative !important;
  display:block;
  color:#1D2C6C;
  width: auto;
  height: auto;
  clip:unset;
  clip-path: unset;
  top:unset;
  margin:0;
  padding: 0 0 0.25em 0.25em;
  font-size: 1em !important;
font-family: 'ITC-Avant-Garde-Gothic-Pro',itc-avant-garde-gothic-pro,sans-serif;
  font-weight:700;
}
.searchandfilter ul li input, .searchandfilter ul li select{
  border:1px solid #2699FB;;
  padding:0 1rem;
  line-height:1rem;
  font-size:1rem;
  height:50px;
  border-radius:10px;
  background-color:#f2f9ff;
  color:#1D2C6C;
}
.searchandfilter ul li input::placeholder{
  color:#1D2C6C;
}

/* -- Search and Filter Select Arrow Update -- */
li[data-sf-field-input-type="select"] label {
  position: relative;
}

/* To edit the color of the arrow go into the SVG and change the fill */
li[data-sf-field-input-type="select"] label:after {
  content: '';
  background: url('/wp-content/themes/lsc-wp-theme-main/img/down-arrow.svg') center center no-repeat;
  background-size: contain;
  right: 10px;
  /*Adjust for position however you want*/
  bottom:16px;
  padding: 0;
  position: absolute;
  pointer-events: none;
  display:block;
  width:15px;
  height:15px;
}

li[data-sf-field-input-type="select"] label select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

