/**
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.6
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: .3s;
          transition-duration: .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 {
  color: #fff;
  text-decoration: none !important;
  font-weight: 600;
}

.team-member .team-title, .team-member .team-company {
  color: #fff;
  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-item {
  border-bottom: 1px solid #B2B2B2;
  margin-bottom: 1em;
  padding-top:1em;
  padding-bottom:1em;
}
.lsc-sf-item a, .lsc-sf-title{
  font-weight:600;
  font-size:20px;
  line-height:1.5em;
  text-decoration:none !important;
}
.lsc-sf-item a:hover{
  text-decoration:underline !important;
}
.lsc-sf-item .lsc-sf-date{
    color: #3B5C83;
    letter-spacing: 0.5px;
    line-height: 18px;
    text-transform: uppercase;
}
.lsc-sf-item .lsc-sf-excerpt p{
	margin-bottom:0 !important;
}
/* 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 team member clickable */
.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;
}
/* -- form styles -- */
form.searchandfilter ul {
  display: flex;
  padding:0;
}
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;
    clip-path: unset;
    top: unset;
    margin: 0;
    padding: 0 0 0.25em 0.25em;
    font-size: 1em !important;
}
/* -- pagenavi styles --*/
.wp-pagenavi{
  margin-bottom:1rem;
}
.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;
}
/* -- END pagenavi styles --*/


/* -- END SF Items News/Media ETC sections -- */
/* -- 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 {
  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;
}

/* -- END FOCUS 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: 16px;
  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;
}

/* TEAM member Focus styles in Team member section above */
.ir-overview-corporate-video {
  margin: 0 auto;
}

.ir-overview-corporate-video iframe {
  max-width: 500px !important;
}
