html {
    scroll-behavior: initial !important;
}

:root {
/* Change viewport max width here */
/*********************************/
  --max-width: 1440px;
/*********************************/
/* Enter brand colours here ******/
  --primary: #234862;
  --secondary: #050505;
  --tertiary: #0b9bd9;
  --accent: #E8B85C;
  --darkgrey: rgb(63, 69, 73);
  --bg-color: --secondary;
}


body {
  background-color: var(--bg-color);
}

p:where(:only-of-type), li:not(nav li, nav a), blockquote {
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: pretty;
}

.footer-link p {
  z-index: 0;
}

#brx-footer .brxe-text a:hover {
  color: var(--tertiary);
}

#brx-footer a > svg {
  transition: fill 200ms ease-out;
}

#brx-footer a > svg:hover {
  fill: var(--tertiary);
}

#brx-content .brxe-text-basic:not(.noanimborder) a:before, #brx-content .brxe-text:not(.noanimborder) a:before, #brx-content a.border:before, #brx-content a.brxe-text-basic:not(.noanimborder):before, #brx-content .brxe-text-link:not(.noanimborder):before, .footer-link p:before, #brx-content .brxe-text-link:before  {
    content: "";
    position: absolute;
    bottom: -2px;
    width: 100%;
    height: 1px;
    transition: all 0.2s ease-in-out;
    background: var(--tertiary);
    left: 0px;
    z-index: -1;
    opacity: 1;
}

#brx-content a.brxe-text-basic:not(.noanimborder) {
    position: relative;
    z-index: 0;  
}

.footer-link p:before {
    bottom: 0px;
}

#brx-content .brxe-text-basic:not(.noanimborder) a:hover:before, #brx-content .brxe-text:not(.noanimborder) a:hover:before, #brx-content a.border:hover:before, #brx-content a.brxe-text-basic:not(.noanimborder):hover:before, .footer-link:hover p:before, #brx-content .brxe-text-link:hover:before {
    height: 100%;
    width: calc(100% + 8px);
    left: -4px;

}

#brx-content .brxe-text-basic:not(.noanimborder) a, #brx-content .brxe-text:not(.noanimborder) a, #brx-content a.border, #brx-content a.brxe-text-basic:not(.noanimborder), #brx-content .brxe-text-link:not(.noanimborder), .footer-link p {
  transition: color 200ms ease-in;
  white-space: nowrap;
}

#brx-content .accordion-content a.brxe-text-basic {
  white-space: inherit;
}


#brx-content .brxe-text-basic:not(.noanimborder) a:hover, #brx-content .brxe-text:not(.noanimborder) a:hover, #brx-content a.border:hover, #brx-content a.brxe-text-basic:not(.noanimborder):hover, .brxe-text-link:hover {
  color: #fff;
}

.brxe-text-link:hover svg {
  fill: #fff !important;
}

.grid-item {
  aspect-ratio: 1;
}

.grid-item-name, .grid-item-hover-overlay {
  transition: opacity 300ms ease-in-out;
}

blockquote {
  font-style: italic;
  font-size: clamp(2.04rem, 1.78439rem + 0.53476vw, 2.64rem);
}

.grid-item-name {
  opacity: 1;
  transition: opacity 300ms ease-in-out;
}

.grid-item:hover .grid-item-name {
  opacity: 0;
}

.grid-item-hover-overlay {
  opacity: 0;
  transition: opacity 300ms ease-in-out;
}

.grid-item:hover .grid-item-hover-overlay {
  opacity: 1;
}

.grid-item-name2, .grid-item-email, .grid-item-phone, .grid-item-button {
  opacity: 0;
  transform: translateX(-14px);
}

.grid-item:hover .grid-item-name2, .grid-item:hover .grid-item-email, .grid-item:hover .grid-item-phone, .grid-item:hover .grid-item-button {
  opacity: 1;
  transform: translateX(0);
}

.grid-item-name2, .grid-item-phone, .grid-item-email, .grid-item-button {
  transition: opacity 300ms ease-in-out, transform 300ms ease-out, border-color 300ms ease-out;
}

.grid-item-email:hover svg, .grid-item-phone:hover svg {
  fill: var(--tertiary) !important;
}

.grid-article-category {
  max-width: calc(100% - 2*(var(--space-s)));
}

.grid-article-category span {
  text-wrap: pretty;
}

.grid-article-category, .grid-article-button, .grid-article-heading, .grid-article-date, .grid-article-overlay {
    transition: opacity 300ms ease-in-out;
}

.grid-article-image {
    transition: transform 1s ease-in-out;
}

.grid-article-button {
    opacity: 0;
}

.grid-article:hover .grid-article-button {
    opacity: 1;
}

.grid-article:hover .grid-article-image {
    transform: scale(1.1);
}

.grid-article:hover .grid-article-category, .grid-article:hover .grid-article-heading, .grid-article:hover .grid-article-date, .grid-article:hover .grid-article-overlay {
    opacity: 0;
}




.dash-list ul, ul.dash-list {
  list-style-type: none;
	margin: 0;
  padding-left: 2.5rem;
  row-gap: 0;
}

.dash-list ul li, ul.dash-list li {
  position: relative;
  padding-left: 16px;
	line-height: 1.2;
  margin: 8px 0;
}
.dash-list ul li:before, ul.dash-list li:before {
    left: 0;
    top: 14px;
    content: "";
    width: 10px;
    height: 2px;
    position: absolute;
    background: var(--tertiary);    
}

.dash-list ul li:has(.text--l):before, .dash-list:has(.text--l) ul li:before {
  top: 22px;
}


.dash-list ul li:has(ul>li):before {
    top: 0.7em;
}

.photo-corners {
  --c: 50px;
  --p: 30px;
  --d: 10px;
  display: inline-block;
  padding: var(--p);
  background:
    radial-gradient(farthest-side at 0 0, #000, #0000) 0 0 / var(--c) var(--c),
    radial-gradient(farthest-side at 100% 100%, #000, #0000) 100% 100% / var(--c) var(--c),
    linear-gradient(#fff 0 0) 50% 50% / calc(100% - var(--p)) calc(100% - var(--p)),
    linear-gradient(#0000, #000 25% 75%, #0000) 50% 50% / calc(100% - var(--p)) calc(100% - var(--d)),
    linear-gradient(90deg, #0000, #000 25% 75%, #0000) 50% 50% / calc(100% - var(--d)) calc(100% - var(--p)),
    radial-gradient(farthest-side at 0 100%, #00000018, #0000) calc(100% - var(--d) * 0.5) calc(var(--d) * 0.5) / var(--d) var(--d),
    radial-gradient(farthest-side at 100% 0, #00000018, #0000) calc(var(--d) * 0.5) calc(100% - var(--d) * 0.5) / var(--d) var(--d)
    ;
  background-repeat: no-repeat;
  clip-path: polygon(0 var(--c), var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%);    
}


.lawyer-item { 
    width: 30.66%; 
    margin-bottom: 4%;
}
/* fluid 4% gutter */
.gutter-sizer { 
    width: 4%; 
}


.filter-button:hover {
  transform: none;
  background-color: #dddedf;
  box-shadow: none !important;
}

.filter-button.is-checked {
  background-color: var(--tertiary);
  border-color: var(--tertiary);
  color: #fff;
}

.filter-button.show-all:not(.is-checked) {
  border-color: var(--secondary);
}


#brx-content .wpsr-review-template {
  border-radius: 0;
}

#brx-content .wpsr-feed-popup-carousel-wrapper .wpsr-swiper-pagination span, #brx-content .wpsr-swiper-carousel-wrapper .wpsr-swiper-pagination span {
  background-color: #fff;
}

#brx-content .wpsr-review-template .wpsr-review-content p {
  font-size: var(--text-s);
  line-height: 1.4;
}

#brx-content .wpsr-reviews-2727 .wpsr-fixed-height .wpsr-business-info {
  border-radius: 0;
  background: none;
}

#brx-content .wpsr-business-info .wpsr-business-info-left .wpsr-business-info-logo span {
  color: #fff;
  font-size: var(--text-s);
}

#brx-content .wpsr-business-info .wpsr-rating-and-count .wpsr-total-reviews {
  color: #fff;
  font-size: var(--text-s);
}
#brx-content .wpsr-business-info .wpsr-business-info-right a.wpsr-write-review {
  font-size: var(--text-m);
}


/* FORMS *********************************************************************/
.wsf-label-position-inside canvas.wsf-field + label, .wsf-label-position-inside select.wsf-field + label, .wsf-label-position-inside input.wsf-field[placeholder] + label, .wsf-label-position-inside textarea.wsf-field[placeholder] + label, .wsf-label-position-inside canvas.wsf-field + .wsf-input-group-append + label, .wsf-label-position-inside select.wsf-field + .wsf-input-group-append + label, .wsf-label-position-inside input.wsf-field[placeholder] + .wsf-input-group-append + label, .wsf-label-position-inside textarea.wsf-field[placeholder] + .wsf-input-group-append + label {
  top: 10px !important;
}

button.wsf-button {
  text-transform: uppercase;
  font-weight: bold !important;
  padding: 1.2rem 2.8rem;
}


/* *** MEDIA QUERIES ******************************************************/
@media only screen and (max-width: 478px) {

  .accordion-content ul {
    padding-left: 0 !important;
  }
}

@media only screen and (max-height: 1000px) {
  #home-logo {
    min-width: 300px;
  }
}