/*
 Theme Name:     Epic Research
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Nicholas Decker
 Author URI:     https://www.deckerdevs.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */







/* TEAM PAGE */
@media (max-width: 767px) {
  .et_pb_team_member_description {
      display: block;
      padding: 30px;
  }
}

.team {
  display: flex;
  flex-direction: column;
}
.team .et_pb_team_member_image {
  flex-basis: 100%;
  max-width: 100%;
  width: 100%;
  flex: 1 1 auto;
}
.team .et_pb_team_member_image img {
  width: 100%;
  object-fit: cover;
}

.team.leadership {
  position: relative;
}
.team.leadership .et_pb_team_member_description {
  padding: 20px 50px;
  vertical-align: bottom;
  position: relative;
}
.team.leadership .et_pb_team_member_description .et_pb_module_header {
  font-weight: bold;
}
.team.leadership .et_pb_team_member_description .et_pb_module_header,
.team.leadership .et_pb_team_member_description .et_pb_member_position {
  color: #4d4d4d;
}

.team .et_pb_team_member_description .et_pb_member_social_links li {
  background: none;
  border: none;
  height: 35px;
  width: 35px;
}
.team .et_pb_team_member_description .et_pb_member_social_links .et_pb_linkedin_icon {
  height: 35px;
  width: 35px;
}
.team .et_pb_team_member_description .et_pb_member_social_links .et_pb_linkedin_icon:before {
  height: 35px;
  width: 35px;
  content: url("assets/linkedin-hover-01.svg");
}

.team .et_pb_team_member_description .et_pb_member_social_links .et_pb_linkedin_icon:hover {
  content: url("assets/linkedin-hover-01.svg");
}


.team .et_pb_team_member_description .et_pb_member_social_links li {
  margin-right: 0;
  width: 33px;
  height: 33px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.team .et_pb_team_member_description .et_pb_member_social_links a {
  font-size: 20px;
  display: inline-block;
}
.team.normal .et_pb_team_member_description .et_pb_member_position {
  color: #4d4d4d;
  padding-top: 5px;
}
.page-id-23 .et_pb_column_empty {
  min-height: 0;
  max-height: 0;
}
.team.normal .et_pb_team_member_description > div ul {
  padding-bottom: 0;
} 
@media (min-width: 768px) {
  .team .et_pb_team_member_image img {
    width: 100%;
    max-height: 333px;
    object-fit: cover;
  }
  .team.normal .et_pb_team_member_description {
    position: absolute;
	top: 0;
    padding: 30px 50px;
    height: 100%;
    width: 100%;
  }
  .team.normal .et_pb_team_member_description .et_pb_module_header {
    padding-bottom: 0;
    font-weight: bold;
  }
  .team.normal .et_pb_team_member_description > div {
    position: absolute;
    bottom: 35px;
  }
  
  .team.normal .et_pb_team_member_description .et_pb_member_social_links {
      position: absolute;
      right: 20px;
      bottom: 10px;
  }
  .team.normal .et_pb_team_member_image {
      margin-bottom: 0;
  }
  .team.leadership .et_pb_team_member_description .et_pb_module_header {
    position: absolute;
    top: -125px;
    left: 50px;
  }

  .team.leadership .et_pb_team_member_description .et_pb_member_position {
    position: absolute;
    top: -105px;
    left: 50px;
    line-height: 1.75;
  }
  
  .team.leadership .et_pb_team_member_description .et_pb_member_social_links {
    position: absolute;
    right: 20px;
    top: -85px;
  }
  .team .et_pb_team_member_description .et_pb_member_social_links .et_pb_linkedin_icon:before {
    content: url("assets/circle-linkedin-01.svg");
  }
  
}
  










  











/* HEADER SECTION */
.mobile_menu_bar {
  padding-bottom: 0!important;
}
.mobile_menu_bar:before {
  background: none!important;
  color: #fff!important;
  
}

@media (max-width: 980px) {
  .et_fixed_nav #main-header,
  .et_fixed_nav #top-header,
  .et_non_fixed_nav.et_transparent_nav #main-header,
  .et_non_fixed_nav.et_transparent_nav #top-header {
    position: fixed;
  }
  .et_fixed_nav #main-header.et-fixed-header,
  .et_fixed_nav #top-header.et-fixed-header,
  .et_non_fixed_nav.et_transparent_nav #main-header.et-fixed-header,
  .et_non_fixed_nav.et_transparent_nav #top-header.et-fixed-header {
    background: rgba(0, 0, 0, 1) !important;
  }
  .et_fixed_nav #main-header.menu-open {
    background: #000!important;
  }
	
  .mobile_nav .et_mobile_menu {
    position: fixed!important;
    top: 77px!important;
    width: 100%!important;
    left: 0!important;
    right: 0!important;
  }
}



/* FOOTER SECTION */

footer #footer-widgets .footer-widget h4 {
    font-weight: bold;;
}

footer #footer-widgets .footer-widget ul li {
    padding-left: 0;
}
footer #footer-widgets .footer-widget ul li:before {
    display: none;
}
footer #footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer #footer-bottom .container .et-social-icons {
  margin-bottom: 0;
  order: 2;
}
footer #footer-bottom .container .et-social-icons .connect-nav li {
  background: #E9E9E9;
  border-radius: 50%;
  height: 42px;
  width: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer #footer-bottom .container .et-social-icons .connect-nav li a {
  /* height: 42px;
  width: 42px; */
  height: 16px;
  width: 16px;
  padding: 21px;
  display: inline-block;
  color: transparent;
  cursor: pointer;
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center center;
  
}
footer #footer-bottom .container .et-social-icons #menu-secondar-footer {
  display: flex;

}

footer #footer-bottom .container .et-social-icons .connect-nav li:nth-of-type(1) a {
  background-image: url("assets/phone.svg");
}
footer #footer-bottom .container .et-social-icons .connect-nav li:nth-of-type(2) a {
  background-image: url("assets/email.svg");
}
footer #footer-bottom .container .et-social-icons .connect-nav li:nth-of-type(3) a {
  background-image: url("assets/linkedin.svg");
}
footer #footer-bottom .container .et-social-icons .connect-nav li:nth-of-type(4) a {
  background-image: url("../../uploads/2020/06/facebook.png");
}

footer #footer-bottom .container #footer-info {
  padding-bottom: 0;
}
#main-header .et_mobile_menu {
  background: #000!important;
}
footer#main-footer #footer-widgets {
  display: flex;
  flex-direction: column;
}
footer #footer-bottom {
  padding: 15px 0;
}

@media (min-width: 768px) {
  footer#main-footer #footer-widgets {
    flex-direction: row;
    justify-content: flex-start;
  }
}
.footer-widget {
  margin-bottom: 60px !important;
}
.footer-widget:last-of-type {
  max-width: 300px;
  display: flex;
  flex-direction: column;
}
.footer-widget:last-of-type > div {
  margin-bottom: 15px !important;
}
.footer-widget #mc_embed_signup {
  width: 100%;
}
@media (min-width: 768px) {
  #mc_embed_signup form {
    text-align: center;
    padding: 10px 0;
  }
}
.mc-field-group {
  display: inline-block;
}
#mc_embed_signup input.email {
  width: 100%;
  font-size: 15px;
  border: 1px solid #ABB0B2;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  color: #343434;
  background-color: #fff;
  box-sizing: border-box;
  height: 38px;
  line-height: 38px;
  padding: 0 0.4em;
  display: inline-block;
  margin: 0;
  width: 350px;
  vertical-align: top;
}
@media (min-width: 768px) {
  #mc_embed_signup input.email {
    max-width: 156px;
  }
}
#mc_embed_signup label {
  display: block;
  font-size: 16px;
  padding-bottom: 10px;
  font-weight: bold;
}
#mc_embed_signup .clear {
  display: inline-block;
}
#mc_embed_signup .button {
  font-size: 12px;
  border: none;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  letter-spacing: 0.03em;
  color: #fff;
  background-color: #aaa;
  box-sizing: border-box;
  height: 38px;
  line-height: 38px;
  padding: 0 18px;
  display: inline-block;
  margin: 0;
  transition: all 0.23s ease-in-out 0s;
}
#mc_embed_signup .button:hover {
  background-color: #777;
  cursor: pointer;
}
#mc_embed_signup div#mce-responses {
  float: left;
  top: -1.4em;
  padding: 0 0.5em;
  overflow: hidden;
  width: 90%;
  margin: 0 5%;
  clear: both;
}
#mc_embed_signup div.response {
  margin: 1em 0;
  padding: 1em 0.5em 0.5em 0;
  font-weight: bold;
  float: left;
  top: -1.5em;
  z-index: 1;
  width: 80%;
}
#mc_embed_signup #mce-error-response {
  display: none;
}
#mc_embed_signup #mce-success-response {
  color: #fff;
  display: none;
}
#mc_embed_signup label.error {
  display: block;
  float: none;
  width: auto;
  margin-left: 1.05em;
  text-align: left;
  padding: 0.5em 0;
}
div#mc_embed_signup_scroll {
  text-align: left;
}
@media (max-width: 768px) {
  #mc_embed_signup input.email {
    width: 100%;
    margin-bottom: 5px;
  }
  #mc_embed_signup .clear {
    display: block;
    width: 100%;
  }
  #mc_embed_signup .button {
    width: 100%;
    margin: 0;
  }
}
#mc_embed_signup .button {
  background-color: #f0816a;
}
#mc_embed_signup .button:hover {
  background: #b25344;
  background: -moz-linear-gradient(left, #b25344 0%, #e87b65 100%);
  background: -webkit-linear-gradient(left, #b25344 0%, #e87b65 100%);
  background: linear-gradient(to right, #b25344 0%, #e87b65 100%);
  filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#b25344', endColorstr='#e87b65',GradientType=1 );
}

#mc_embed_signup {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
#mc_embed_signup .mc-field-group {
  margin-bottom: 8px;
  flex-basis: 100%;
  min-width: 100%;
  max-width: 100%;
}
#mc_embed_signup .mc-field-group input {
  width: 100%;
  font-size: 15px;
  border: 1px solid #ABB0B2;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  color: #343434;
  background-color: #fff;
  box-sizing: border-box;
  height: 38px;
  line-height: 38px;
  padding: 0 0.4em;
  display: block;
  margin: 0;
  max-width: 350px;
  vertical-align: top;
}
#mc_embed_signup .mc-field-group input[type="submit"] {
  background: #f0816a;
  color: #fff;
  border: none;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  letter-spacing: 0.03em;
  color: #fff;
  box-sizing: border-box;
  padding: 0 18px;
  margin: 0;
  transition: all 0.23s ease-in-out 0s;
}
#mc_embed_signup .mc-field-group input[type="submit"]:hover {
  background: #b25344;
  background: -moz-linear-gradient(left, #b25344 0%, #e87b65 100%);
  background: -webkit-linear-gradient(left, #b25344 0%, #e87b65 100%);
  background: linear-gradient(to right, #b25344 0%, #e87b65 100%);
  filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#b25344', endColorstr='#e87b65',GradientType=1 );
}
@media (min-width: 768px) {
  #mc_embed_signup .mc-field-group input {
    max-width: 250px;
  }
}
#mc_embed_signup #mce-responses {
  flex-basis: 100%;
}
#mc_embed_signup input {
  width: 100%;
}





/* contact section */
.connect-section .et_pb_text_inner h4 {
  padding-bottom: 20px;
}
.connect-section .et_pb_text_inner p {
  text-transform: uppercase;
}
.connect-section .et_pb_text_inner p a {
  color: #000;
}









/* header/footer overrides */
header .et_pb_svg_logo #logo {
  max-height: 100%!important;
  height: 100%!important;
}
header nav ul li a {
  text-transform: uppercase;
}
@media (min-width: 981px) {
  #main-header.et-fixed-header {
    background: rgba(0,0,0,0.9)!important;
  }
}


body header {
  max-height: 77px;
}
body header .et_menu_container {
  min-height: 77px;
}
body.et_pb_svg_logo #logo {
  height: 77px;
  min-height: 77px;
}
@media only screen and (min-width: 981px) {
  body.et_header_style_left #et-top-navigation {
    padding: 0;
    display: flex;
    height: 77px;
    justify-content: center;
    align-items: center;
  }
  body.et_header_style_left #et-top-navigation nav > ul > li > a {
    padding-bottom: 0;
  }
}

footer #footer-widgets .footer-widget h4 {
  font-family: 'Lato', sans-serif;
}
@media (min-width: 981px) {
  .et_pb_gutters3.et_pb_footer_columns_1_4__1_2 .footer-widget:nth-child(3) {
    width: 250px;
  }
  
  footer #footer-widgets .footer-widget {
    margin-right: 0;
    margin-left: 0;
    width: 25%;
  }
  footer #footer-widgets .footer-widget:nth-of-type(2) ul li a {
    letter-spacing: 0.1em;
  }
  footer #footer-widgets .footer-widget:last-of-type {
    margin-right: 0;
    margin-left: auto;
    width: 260px;
    min-width: 260px;
  }
  
}

@media (min-width: 1220px) {
  footer .container {
    width: 100%;
  }
}


/* admin bar mobile */
@media (max-width: 980px) {
	body.admin-bar.et_fixed_nav #main-header, 
	body.admin-bar.et_fixed_nav #top-header, 
	body.admin-bar.et_non_fixed_nav.et_transparent_nav #main-header, 
	body.admin-bar.et_non_fixed_nav.et_transparent_nav #top-header {
 	   top: 0!important;
	}
	html #wpadminbar {
		display: none!important;
	}

	html {
		margin-top: 0!important;
	}

}

/* line height adjustments */
h1 {
  line-height: 1.5!important;
}
h2 {
  line-height: 1.4!important;
}
 

