/**
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 in STYLE.CSS 
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-child {
  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;
}
/* disable image from being clickable */
.disable-img {
  pointer-events: none;
}
/* --- 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-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: start;
}
.team-member {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 auto;
          flex: 0 1 auto;
  max-width: 474px;
  width: 33%;
  cursor: pointer;
  margin-bottom: 4em;
  position: relative;
  padding: 0 1%;
}
@media (max-width: 1024px) {
  .team-member {
    width: 48%;
  }
}
@media (max-width: 767px) {
  .team-container {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .team-member {
    width: 98%;
  }
}
.team-member:hover .team-image {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
.team-member .team-image {
  -webkit-transition-duration: 0.3s;
          transition-duration: 0.3s;
  -webkit-transition-property: -webkit-transform;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
  margin-bottom: 20px;
}
.team-member .team-name a {
  text-decoration: none !important;
}
.team-member .team-title, .team-member .team-company {
  text-decoration: none !important;
}
/* 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 SF Items News/Media ETC sections -- */
.lsc-sf-container {
    display: flex;
    flex-direction: row;
	flex-wrap: wrap;
    gap: 40px 5%;
	justify-content: space-between;	
}
.lsc-sf-container .lsc-sf-item {
    border-bottom: unset;
    line-height: 1.35em !important;
    flex: 1;
    width:46%;
    background:#EDEDED;
    padding:4%;
    transition: all 0.5s ease;
   border:2px solid #EDEDED;
	min-width: 345px;
	max-width:46%;
}
.lsc-sf-container .lsc-sf-item .lsc-sf-link{
    color: #000000;
    font-family: "Nunito Sans", Sans-serif;
    font-size: 1.625rem;
    font-weight: 300;
    text-transform: none;
    line-height: 1.308em;
    letter-spacing: 0px;
}
.lsc-sf-container .lsc-sf-item:hover {
  border:2px solid #F5584E;
  transform: translate(0, -5px);
  transition: all 0.5s ease;
}
/* 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 area member clickable */
/* -- s&F form styles -- */
form.searchandfilter ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 0;
  flex-flow: wrap;
}

input.sf-input-text, select.sf-input-select {
  /* color: #2d106a; */
  /*  background-color: #e9e0fe;*/
  /*  border-radius: 25px;*/
  min-width: 320px;
  line-height: 1rem;
  padding: 0.75em;
  height: auto;
}

.searchandfilter ul li {
  list-style: none;
  display: block;
  padding: 10px 0;
  margin: 0 1rem 0 0;
}

.searchandfilter label span.screen-reader-text {
  position: relative !important;
  display: block;
  color: #152c4c;
  width: auto;
  height: auto;
  clip: unset;
  -webkit-clip-path: unset;
          clip-path: unset;
  top: unset;
  margin: 0;
  padding: 0 0 0.25em 0.25em;
  font-size: 1em !important;
}
.searchandfilter label{
    font-family: "Nunito Sans", Sans-serif;
    font-size: 1.125em;
    font-weight: 400;
}
.searchandfilter input, .searchandfilter .sf-input-select{
    background-color: #F4F4F4;
    border-color: rgba(2, 1, 1, 0);
    border-width: 0px 0px 0px 0px;
    border-radius: 0px 0px 0px 0px;
    font-family: "Nunito Sans", Sans-serif;
    font-size: 1.125em;
    font-weight: 400;
    line-height: 2em;
    letter-spacing: 0px;    
}

@media (max-width:1024px){
  input.sf-input-text, select.sf-input-select{
    min-width:unset;
  }
  .searchandfilter label{
    width:100%;
  }
  form.searchandfilter ul li{
    width:46%;
  }
  }
  @media (max-width:600px){
  form.searchandfilter ul li{
    width:100%;
  }
  }
/* -- end s&F form styles -- */
/* -- 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/img/down-arrow.svg") center center no-repeat;
  background-size: contain;
  color: #000;
  right: 10px;
  /*Adjust for position however you want*/
  top: unset;
  bottom: 27px;
  margin: auto 0;
  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;
}
/* -- END SF Items News/Media ETC sections -- */
/* -- pagenavi styles --*/
.wp-pagenavi {
  margin-bottom: 1rem;
  text-align:center;
}
.wp-pagenavi span.pages {
  margin-right: 1rem;
}
.wp-pagenavi a.page, .wp-pagenavi a.nextpostslink, .wp-pagenavi a.last, .wp-pagenavi .current {
  margin: 0 0.5rem;
}
.wp-pagenavi .current {
    border: 1px solid #000;
    background: transparent;
    color: #000;
    padding: 8px 16px;
    margin: 6px;
    font-weight: 800;
    display: inline-block;
}
.wp-pagenavi .first, .wp-pagenavi a.page, .wp-pagenavi a.nextpostslink, .wp-pagenavi a.previouspostslink, .wp-pagenavi .last {
    text-decoration: none;
    border: 1px solid #F5584E;
    background: #F5584E;
    padding: 8px 15px;
    margin: 6px;
    font-weight: 800;
    color: #fff;
    display: inline-block;
}
.wp-pagenavi .first:hover, .wp-pagenavi a.page:hover, .wp-pagenavi a.nextpostslink:hover, .wp-pagenavi a.previouspostslink:hover, .wp-pagenavi .last:hover {
    border: 1px solid #000;
    background: #000;    
}

/* -- END pagenavi styles --*/
/* -- START FOCUS STYLES -- */
/* s&f item focus */
.lsc-sf-item a.lsc-sf-link:focus {
  outline: none;
}
.lsc-sf-item a.lsc-sf-link:focus:after {
  outline: 2px dotted #21374B;
  border-radius: 5px;
}
/* global focus */
a:focus, .ast-menu-toggle:focus {
  outline: 2px dotted #21374B;
  border-radius: 15px;
  -webkit-transition: all 0s;
  transition: all 0s;
}
/*
a:active {
  outline: none;
}
*/
a.elementor-icon:focus {
  outline-offset: 10px;
}
a.custom-logo-link:focus {
  outline-offset: 5px;
}
footer 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;
}
/* TEAM member Focus styles in Team member section above */
/* -- END FOCUS STYLES -- */
.ir-overview-corporate-video {
  margin: 0 auto;
}
.ir-overview-corporate-video iframe {
  max-width: 500px !important;
}