/*======================================
Theme Name: MD Divi child theme
Theme URI: https://mercer-design.com/
Description: Child theme created by Mercer Design.
Version: 1.0
Author: BP
Author URI: https://www.mercer-design.com
Template: Divi
======================================*/


/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */

/*
Theme Name: MD Divi Child Theme
Template: Divi
Author: PK
Author URI: https://www.mercer-design.com
Description: Any questions concerning the website, please email me at brettp@mercer-design.com
Version: 1.0.11
*/
.et_pb_menu .et_pb_menu__search-input {
	color: #000000;
	background: #eeeeee;
	padding: 8px;
	border-radius:50px;
}

/* Column is the positioning context */
.leadership-row .et_pb_column {
  position: relative;
}

/* Pin the button */
.leadership-row .et_pb_button_module_wrapper{
  position: absolute;
  left: 50%;
  bottom: 0;                 /* you can set 10px if you want */
  transform: translateX(-50%);
  margin: 0 !important;
  width: auto;
  text-align: center;
}

/* Keep "LEARN MORE" on one line */
.leadership-row .et_pb_button{
  white-space: nowrap;
  display: inline-block;
}

/* THE IMPORTANT PART:
   Reserve space at the bottom of the TEXT module so it never gets covered */
.leadership-row .leader-info{
  padding-bottom: 250px;     /* adjust until no overlap */
}

header.et-l.et-l--header {
    z-index: 99999;
    position: relative;
}


.wpcf7-form-control {
	width: 100%;
	padding: 12px;
	border: 2px solid #bbb;
  border-radius: 25px;
}

.wpcf7 select {
  width: 100%;
	padding: 12px;
	border: 2px solid #bbb;
  border-radius: 25px;
  font-size: 18px;
  background: #ddd;
}

input[type="text"],
input[type="email"],
textarea {
padding: 12px;
font-size: 16px;
}

.wpcf7 input[type="submit"] {
  background-color: #253d65;
  color: white;
  border: none;
  border-radius: 25px;
  padding: 10px 24px;
  font-size: 1.1em;
  cursor: pointer;
  width: 15%;
  text-align: center;
}
@media screen and (max-width: 680px) {
  .wpcf7 input[type="submit"] {
    width: 100% !important;
    text-align:  center !important;
  }  
}


.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #999;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


@media all and (min-width: 981px) {
  /* first-level dropdown */
  .et_pb_menu .et-menu-nav > ul ul,
  .et_pb_fullwidth_menu .et-menu-nav > ul ul,
  #top-menu li ul {
    right: 0 !important;
    left: auto !important;
  }

  /* second-level dropdowns */
  .et_pb_menu .et-menu-nav > ul ul li ul,
  .et_pb_fullwidth_menu .et-menu-nav > ul ul li ul,
  #top-menu li ul ul {
    right: 100% !important;
    left: auto !important;
  }
}

/*CSS for shrinking menu on mobile */
/* Smooth animation */
.mobile-shrink-header,
.mobile-shrink-header .et_pb_menu,
.mobile-shrink-header .et_pb_module,
.mobile-shrink-header .et_mobile_nav_menu,
.mobile-shrink-header .mobile_menu_bar,
.mobile-shrink-header img {
  transition: all 0.25s ease;
}

/* Mobile sticky header shrinking */
@media (max-width: 980px) {

  /* Smooth transition */
  .mobile-shrink-header img {
    transition: all 0.25s ease;
    max-height: 50px; /* default size */
    width: auto;
  }

  /* Shrunk state */
  .mobile-shrink-header.is-scrolled img {
    max-height: 32px; /* smaller logo */
  }

}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

#SFctr input[type=text] {
  border-radius: 25px !important;
}

#SFctr input[type=password] {
  border-radius: 25px !important;
}

#SFctr a.SFbtn, #SFctr button {
  border-radius: 25px;
}