/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/
/* revised */
@media (max-width: 1440px) and (min-width: 1281px) {
  html {
    font-size: 55% !important;
  }
}
@media (max-width: 1280px) and (min-width: 1025px) {
  header a {
    font-size: 1.4rem;
  }
  .bricks-nav-menu > li {
    margin: 0 0 0 10px;
  }
}
body {
  min-height: 100vh;
}
.sub-menu {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brxe-search button.close {
  color: var(--Brand-Secondary-01) !important;
}
.wp-block-button.brxe-button {
  position: relative;
  padding: 0;
}
.wp-block-button.brxe-button a.wp-block-button__link {
  display: block;
  padding: 1em 1.5em;
  color: inherit;
  background-color: inherit;
}
/* WP Block Style Overwrite */
.wp-block-heading {
  margin-bottom: 1em;
}
.wp-block-list {
  margin-top: 0.5rem;
	padding-left: 1.5em;
}
.wp-block-list>li {
	margin-bottom: 0.5em;
}
/* Team */
.team-job-title h4 {
  display: flex;
}
.team-job-title h4 label {
  color: #fff;
  font-weight: inherit;
}
.team-autobio h5 {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  color: var(--Brand-Secondary-01);
  white-space: nowrap;
}
.team-autobio h5 strong {
  padding-right: 20px;
}
.team-autobio h5:after {
  content: '';
  border-bottom: 2px solid var(--Brand-Secondary-01);
  display: block;
  width: 100%;
}
.team-autobio p {
  margin-top: 1em !important;
  margin-bottom: 1em !important;
}
/* Surgery */
.surgery-item:nth-child(4n+1) .surgery-cat {
  background-image: url(/wp-content/uploads/bg_item_01.jpg);
}
.surgery-item:nth-child(4n+2) .surgery-cat {
  background-image: url(/wp-content/uploads/bg_item_02.jpg);
}
.surgery-item:nth-child(4n+3) .surgery-cat {
  background-image: url(/wp-content/uploads/bg_item_03.jpg);
}
.surgery-item:nth-child(4n) .surgery-cat {
  background-image: url(/wp-content/uploads/bg_item_04.jpg);
}
/* FAQ */
.search-faq form {
  display: flex;
  justify-content: space-between;
}
.search-faq input {
  color: #000;
  border-radius: 50px;
  margin-right: 1em;
}
.search-faq button {
  white-space: nowrap;
}
.search-with-clear {
  position: relative;
  display: inline-block;
  max-width: 100%
}
.search-with-clear input {
  padding-right: 2.25rem
}
.search-with-clear .clear-btn {
  position: absolute;
  right: .25em;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 1;
  font-size: 1.5em;
  opacity: .6
}
.search-with-clear .clear-btn:hover {
  opacity: 1
}
/* Care */
.group-block-care {
  border-bottom: 1px solid #ffffff80;
  padding-bottom: 30px;
  margin-bottom: 30px;
}
/* Consult */
.group-block {
  background-color: #fff;
  padding: 3rem;
  border-radius: 25px;
  color: var(--Text-Primary)
}
form label {
  color: var(--Text-Primary);
}
form .input, input:not([type="submit"]), select, textarea {
  border: 1px solid var(--Text-Primary);
}
.form-btn {
  text-align: center;
}
/* Home */
.history-list > div > div > div:first-child {
  color: var(--Brand-Secondary-01);
}
@media screen and (max-width: 767px) {
  .group-block {
    padding: 1.5rem;
    border-radius: 15px;
  }
  .history-list > div > div {
    gap: 0;
  }
}