/**
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 {
  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: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
}

.team-member {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 auto;
          flex: 0 1 auto;
  max-width: 300px;
  width: 33%;
  cursor: pointer;
  margin-bottom: 4em;
  position: relative;
  padding: 0 1%;
  text-align: center;
}
#sab .team-member, #gtsab .team-member {
 cursor: initial;
}
@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-image img{
  border-radius:90%;
  border: 3px solid #319EFC33;
  max-width:484px;
  width:100%;
  box-shadow:0 3px 10px #319EFC33;
}
.team-member .team-name a {
	font-size:0.9rem;
	color:#014167;
	font-weight: 700;
	font-family: 'Navigo',navigo,sans-serif;
	text-decoration: none !important;
}
#sab .team-member .team-name, #gtsab .team-member .team-name{
	font-size:0.9rem;
	color:#014167;
	font-weight: 700;
	font-family: 'Navigo',navigo,sans-serif;
	text-decoration: none !important;
}
.team-member .team-title{
	font-size:0.9rem;
	color:#041B45;
}

.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 Team Elementor BIO Template -- */
.bio-template .bio-image img{
  border-radius:90%;
  border: 3px solid #319EFC33;
  max-width:484px;
  width:100%;
  box-shadow:0 3px 10px #319EFC33;
}
.bio-template h1{
  font-size:1.9rem;
  line-height:1;
}
.bio-template h2{
  font-size:1.3rem;
  color:#014167;
  margin-bottom:1rem;
  font-family: 'Quasimoda',quasimoda,sans-serif;
  font-weight:400;
}
/* -- End Team Elementor BIO Template -- */

/* -- Start SF Items News/Media ETC sections -- */

.lsc-sf-title .lsc-sf-link{
  font-family: 'Navigo',navigo,sans-serif;
  font-size:1.1rem;
  font-weight:900;
  color:#014167;
  text-decoration:none !important;
}
.lsc-sf-title .lsc-sf-link:hover{
  text-decoration:underline !important;
}
.lsc-sf-item{
  border-bottom:1px solid #8CC9E0;
  margin-bottom: 1em;	
  padding-bottom:1.55rem;	
}
/* event page */
.event-container .lsc-sf-title .event-link{
  font-family: 'Navigo',navigo,sans-serif;
  font-size:1.1rem;
  font-weight:900;
  color:#014167;
  text-decoration:none !important;
}
.event-container .lsc-sf-title .event-link:hover{
  text-decoration:underline !important;
}
@media (max-width: 767px) {
	.event-container .lsc-sf-title {
		line-height:1.2;
	}
	.event-container .lsc-sf-title .event-link{
 		font-size:1.0rem;
	}
}
/* 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 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;
}

/* -- 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-main/img/down-arrow.svg") center center no-repeat;
  background-size: contain;
  color: #000;
  right: 10px;
  /*Adjust for position however you want*/
  bottom: 24px;
  margin: auto 0;
  padding: 0;
  position: absolute;
  pointer-events: none;
  display: block;
  width: 15px;
  height: 15px;
}
@media (max-width: 1024px) {
	li[data-sf-field-input-type="select"] label:after {
	  bottom: 19px;	
	}
}
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;
}
