/*
 Theme Name:   PHC Divi
 Description:  Child Theme for Divi
 Author:       The PixelHouse
 Author URI:   https://thepixelhouse.net
 Template:     Divi
 Version:      1.3
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  phc
*/


#rsvp-form-section h2.gform_title {
	font-weight: 700;
	font-size: 30px;
	line-height: 40px;
	margin-bottom: 10px;
}
#rsvp-form-section .gform_footer .gform_button.button {
    background-color: #0078AC!important;
    border-radius: 30px!important;
    font-size: 16px!important;
    font-weight: 600!important;
    padding: 5px 30px!important;
    line-height: 26px!important;
    text-transform: uppercase!important;
}
#rsvp-form-section p.gform_required_legend {
    display: none;
}

.simplefavorites-clear {
  background: #dc3545;
  color: white;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
}
.simplefavorites-clear:hover {
  background: #c82333;
}


/* Atorney Search Filter  */
.filter-section {
  padding: 0px 30px 130px !important;
}
#attorneysFilter > div:first-child {
  text-align: right;
}
#attorneysFilter a.reset-button {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  color: #22376D;
  line-height: 50px;
  display: inline-block;
}

.filter-section div.et_pb_row {
  width: 100%;
  max-width: 1228px;
}
#attorneysFilter .row {
  display: flex;
}

#attorneysFilter .row:last-child {
  gap: 0;
  margin-bottom: 65px;
  margin-top: 14px;
}
#attorneysFilter .row > div {
  width: 25%;
  padding-right: 10px;
}
#attorneysFilter .row > div:last-child {
  padding-right: 0;
}
/*#attorneysFilter .row > div select {
  width: 100%;
  background: #E0E0E0;
  padding: 19px 40px 19px 25px;
  border: none;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 900;
  color: #000;
  font-family: 'Lato',Helvetica,Arial,Lucida,sans-serif;
  appearance: none;
  background-image: url(https://millermartin.wpenginepowered.com/wp-content/uploads/2025/07/bottom-arrow.png);
  background-repeat: no-repeat;
  background-position: calc(100% - 24px);
}*/

#attorneysFilter .row:last-child > div {
  width: auto;
}
#attorneysFilter .row:last-child > div:first-child {
  width: 100%;
}
#attorneysFilter #search {
  width: 100%;
  border: none;
  border-bottom: 1px solid #D9D9D9;
  padding: 0px 26px;
  line-height: 50px;
  color: #000;
  font-size: 16px;
}
#attorneysFilter input::placeholder {
  color: #000;
}

.btn.btn-filter {
  background: #0078AC;
  color: #fff;
  border: none;
  font-weight: 900;
  font-size: 16px;
  line-height: 51px;
  font-family: 'Lato',Helvetica,Arial,Lucida,sans-serif;
  text-transform: uppercase;
  padding: 0 20px;
  min-width: 205px;
  margin-left: 40px;
  cursor: pointer;
}


.pagination {
  display: flex;
  margin-top: 80px;
  justify-content: center;
  gap: 4px;
}
.pagination .page-numbers {
  background: #E0E0E0;
  width: 40px;
  line-height: 40px;
  padding: 0;
  height: auto;
  font-size: 15px;
  text-align: center;
  font-family: 'Lato',Helvetica,Arial,Lucida,sans-serif;
  white-space: nowrap;
  color: #22376D;
  transition: 0.3s all ease;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover {
  background: #0078AC;
  color: #fff;
}
.page-numbers.dots {
  background: transparent;
  width: auto;
  padding: 0 10px;
}
.pagination .prev.page-numbers, .pagination .next.page-numbers {
  width: auto;
  padding: 0 18px;
}

.attorney-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.attorney-slider > .people-inner {
  background: #F2F2F2;
  padding: 5px 25px 0 25px;
  width: calc(50% - 15px);
  display: flex;
  gap: 55px;
  align-content: flex-end;
}
.people-img {
  max-width: 210px;
  width: 100%;
  padding: 10px 0 0 0;
  display: flex;
  align-items: flex-end;
  min-height: 210px;
}
.people-img a {
  display: flex !important;
  align-items: flex-end;
}
.people-img img {
  height: 210px;
  width: 210px;
  object-fit: contain;
  object-position: bottom center;
}
.people-content {
  width: 100%;
  font-size: 16px;
  line-height: 24px;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
}
.people-contact-info {
  display: flex;
  align-items: center;
}
.people-email {
  padding-left: 6px;
  border-left: 1px solid #000;
  margin-left: 6px;
}
.people-name {
  font-size: 22px;
  line-height: 28px;
  font-weight: bold;
  color: #000;
  margin-bottom: 5px;
}
.people-name a {
  color: #000;
}
.people-phone {
  color: #0078ac;
}



@media only screen and (max-width: 980px){
  #attorneysFilter .row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  #attorneysFilter .row > div {
    width: calc(50% - 5px);
    padding: 0 5px !important;
  }
  #attorneysFilter .row:last-child {
    flex-wrap: nowrap;
  }
  .btn.btn-filter {
    margin-left: 20px;
  }
  .attorney-slider > .people-inner {
    gap: 15px;
  }
  .people-img img {
    height: 150px;
    width: 150px;
  }
  .people-name {
    font-size: 20px;
  }
  .pagination {
    margin-top: 40px;
  }
}

@media only screen and (max-width: 767px){
  #attorneysFilter .row > div {
    width: 100%;
    padding: 0 !important;
  }
  .attorney-slider > .people-inner {
    width: 100%;
  }
  .btn.btn-filter {
    font-size: 14px;
    padding: 0 10px;
    min-width: 130px;
    margin-left: 10px;
  }
  .pagination {
    margin-top: 30px;
  }
}
/*People Template*/

.people-top-sec .et_pb_row {
  display: flex;
}
.people-top-sec .et_pb_row .people-profile-pic-column {
  display: flex;
  align-items: flex-end;
  width: 100%;
  max-width: 490px;
}
.people-top-sec .et_pb_row .people-profile-pic-column .et_pb_module {
  width: 100%;
}
.people-top-sec .et_pb_row .people-profile-pic-column img.dmach-acf-value {
  width: 100%;
  height: 490px;
  object-fit: contain;
  object-position: bottom center;
}


.people-top-sec .et_pb_row .people-content-column {
  display: flex;
  align-content: center;
  flex-wrap: wrap;
  padding-left: 80px !important;
}

/*.people-full-name .grid-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px !important;
  font-size: 50px;
  line-height: 61px;
  font-weight: bold;
  color: #22376d;
  margin: 10px 0 20px;
}

.people-full-name .grid-posts * {
  display: inline !important;
  word-break: break-word;
}
*/

.people-full-name * {
  display: inline !important;
}


.people-icon-box-row .et_pb_blurb_content {
  display: flex;
  align-items: center;
}
.people-icon-box-row .et_pb_main_blurb_image {
  width: auto;
  margin: 0 9px 0 0;
}
.people-icon-box-row .et_pb_blurb_container {
  padding: 0;
}
.v-card-icon-box .dmach-acf-value::before {
  content: "\f2bb";
  font-family: fontawesome;
  font-size: 24px;
  margin-right: 9px;
  vertical-align: middle;
  color: #22376D;
}
.v-card-icon-box .dmach-acf-value, .photo-icon-box .dmach-acf-label {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.photo-icon-box .dmach-acf-value {
  display: none;
}
.photo-icon-box .dmach-acf-label::before {
  content: "\f030";
  font-family: fontawesome;
  font-size: 24px;
  margin-right: 9px;
  vertical-align: middle;
  color: #22376D;
}


.print-bio-icon-box .et_pb_button {
  border: 0 !important;
  padding: 0 !important;
  font-size: 0;
  display: inline-block;
  background: transparent !important;
  vertical-align: top;
}
.print-bio-icon-box .et_pb_button::before {
  content: "";
  display: inline-block;
  opacity: 1;
  line-height: 24px;
  position: static;
  width: auto;
  margin: 0;
  vertical-align: top;
  background-image: url(https://millermartin.wpenginepowered.com/wp-content/uploads/2025/07/file-pdf-solid-full.svg);
  width: 26px;
  height: 26px;
  background-repeat: no-repeat;
  background-position: center center;
}
.print-bio-icon-box .et_pb_button::after {
  content: "Print Bio";
  font-size: 14px;
  display: inline-block;
  color: #0078AC;
  width: auto;
  opacity: 1;
  padding: 0;
  position: static;
  font-family: 'Lato',Helvetica,Arial,Lucida,sans-serif !important;
  line-height: 24px;
  margin: 0;
  vertical-align: middle;
  margin-left: 9px;
}

.people-logo-sec .grid-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px !important;
  align-items: center;
}
.people-logo-sec .et_pb_module_inner .dmach-acf-value {
  max-height: 150px;
}


.two-column-people-section .left-side-sec {
  width: calc(100% - 270px) !important;
  padding: 0 70px 0 0;
}
.two-column-people-section .right-side-sec {
  width: 100% !important;
  max-width: 270px;
}

.people-tab .et_pb_tabs_controls {
  background: transparent !important;
  display: flex;
  gap: 5px;
}
.people-tab .et_pb_tabs_controls::after {
  display: none !important;
}
.people-tab .et_pb_tabs_controls li {
  height: auto !important;
  flex: 1;
  text-align: center;
  border: none !important;
}
.people-tab ul li {
  line-height: 36px;
}
.people-tab ul {
  padding-bottom: 10px;
}
.people-tab ul ul {
  padding-bottom: 0;
}
.people-tab .et_pb_tab::after {
  display: none;
}

.people-tab .et_pb_tabs_controls li.hide-title,
.people-tab .et_pb_tab.hide-sec,
.bottom-spotlight-section-people.hide-section {
  display: none !important;
}

.section-bottom-in-depth-posts-title.hide-sec, 
.section-bottom-in-depth-posts.hide-sec {
  display: none;
}

@media only screen and (max-width: 980px){
  .people-top-sec .et_pb_row .people-content-column {
    padding-left: 20px !important;
  }
  .two-column-people-section .left-side-sec {
    width: 100% !important;
    padding: 0;
  }
  .two-column-people-section .right-side-sec {
    width: 100% !important;
    max-width: 100%;
    margin-top: 50px;
  }
}


.bottom-spotlight-row-people .et_pb_column {
  display: flex;
  gap: 50px;
  align-items: center;
}
.bottom-spotlight-row-people .et_pb_column .et_pb_module:first-child {
  min-width: 234px;
  margin: 0;
}
.bottom-spotlight-row-people img.dmach-acf-value {
  height: 234px;
  width: 234px;
  object-fit: cover;
  object-position: top center;
  background: #fff;
  border-radius: 50%;
}

@media only screen and (max-width: 767px){
  .people-top-sec .et_pb_row {
    display: flex;
    flex-wrap: wrap;
  }
  .people-top-sec .et_pb_row .people-profile-pic-column img.dmach-acf-value {
    height: auto;
  }
  .people-top-sec .et_pb_row .people-content-column {
    padding-left: 0px !important;
    padding-bottom: 30px;
  }
  .people-tab .et_pb_tabs_controls {
    flex-wrap: wrap;
    flex-direction: column;
  }
  .people-tab .et_pb_tabs_controls li a {
      display: block !important;
    }
    .bottom-spotlight-row-people .et_pb_column {
      gap: 20px;
      flex-wrap: wrap;
    }
}



.in-depth-all-posts .grid-posts.loop-grid {
  grid-gap: 25px !important;
}



/**/

.custom-select-wrapper select {
  display: none; /* hide native select */
}

#attorneysFilter .btn.dropdown-toggle {
  position: relative;
  cursor: pointer;
  width: 100%;
  background: #E0E0E0;
  padding: 10px 40px 10px 25px;
  border: none;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 900;
  color: #000;
  font-family: 'Lato',Helvetica,Arial,Lucida,sans-serif;
  appearance: none;
  background-image: url(https://millermartin.wpenginepowered.com/wp-content/uploads/2025/07/bottom-arrow.png);
  background-repeat: no-repeat;
  background-position: calc(100% - 24px);
  line-height: 37px;
  margin: 0;
}

#attorneysFilter .dropdown.bootstrap-select {
  position: relative;
}

#attorneysFilter .dropdown.bootstrap-select > .dropdown-menu {
  display: none !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  background: #fff !important;
  border: 1px solid #ccc;
  /* max-height: 300px !important; */
  /* overflow-y: auto !important; */
  z-index: 999;
  color: #000 !important;
  transform: none !important;
}
#attorneysFilter .dropdown.bootstrap-select.show > .dropdown-menu {
  display: block !important;
  max-height: 360px !important;
  min-height: auto !important;
}
#attorneysFilter .dropdown.bootstrap-select > .dropdown-menu .inner ul li a {
  padding: 10px;
  font-size: 16px;
  line-height: 24px;
  width: 100%;
  display: block;
}
#attorneysFilter .dropdown.bootstrap-select > .dropdown-menu .inner ul li:hover a {
  background: #e0e0e0;
}
#attorneysFilter .dropdown.bootstrap-select > .dropdown-menu div.inner {
  max-height: 360px !important;
}
.bootstrap-select.show-tick .dropdown-menu .selected span.check-mark {
  top: 10px !important;
}

/*.custom-select.open .options {
  display: block;
}

.custom-select .selected {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-select .options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  max-height: 300px;
  overflow-y: auto;
  z-index: 999;
}

.custom-select .options div {
  padding: 8px;
  cursor: pointer;
}

.custom-select .options div:hover {
  background: #f0f0f0;
}
*/