/* Overrides */

/* Breakpoints Overview */
/*
small: 0px,
medium: 640px,
large: 1024px,
xlarge: 1200px,
xxlarge: 1440px,

Small only
@media screen and (max-width: 39.9375em) {}

Medium and up
@media screen and (min-width: 40em) {}

Medium only
@media screen and (min-width: 40em) and (max-width: 63.9375em) {}

Large and up
@media screen and (min-width: 64em) {}

Large only
@media screen and (min-width: 64em) and (max-width: 74.9375em) {}
*/

body.admin-bar {
  margin-top: -32px;
}

@media print, screen and (min-width: 48em) {
  header.header {
    overflow-y: visible;
  }
}

@media print, screen and (min-width: 40em) {
  header.header .top-bar .top-bar-mobile .toggle-offcanvas {
    padding: 1.75rem 0;
  }

  .dropdown.menu.medium-horizontal>li.is-dropdown-submenu-parent>a:after {
    right: -20px;
    border-color: var(--wp--preset--color--black) transparent transparent;
  }

  .dropdown.menu.medium-horizontal>li.is-dropdown-submenu-parent:hover>a:after {
    transform: rotate(180deg);
  }
}

@media screen and (min-width: 64em) and (max-width: 66.8125em) {
  #menu-main-menu-slim {
    white-space: nowrap;
  }
}

@media screen and (min-width: 64em) and (max-width: 78.125em) {
  header.header .top-bar {
    margin-left: -1.5625rem;
    margin-right: -1.5625rem;
    padding-left: 1.5625rem;
    padding-right: 1.5625rem;
  }
}

header.header .top-bar,
#menu-top-menu,
.top-bar-left {
  background-color: #f4f4f4;
}

.top-bar-mobile {
  background-color: var(--wp--preset--color--white);
}

.top-bar-left {
  text-align: right;
}

header.header .top-bar .top-bar-left ul li a {
  color: var(--wp--preset--color--black);
}

header.header .top-bar .top-bar-left ul li a:hover {
  color: #b55700;
}

header.header .top-bar .top-bar-left ul li:first-child a {
  font-size: 1rem;
}

@media print, screen and (min-width: 40em) {
  header.header .bottom-bar .bottom-bar-left .menu.vertical li {
    padding: 0 1.625rem;
  }
}

header.header .bottom-bar .bottom-bar-left .menu.vertical li.active a {
  background-color: transparent;
  color: var(--wp--preset--color--black);
  /* color: #b55700; */
}

header.header .bottom-bar .bottom-bar-left .menu.vertical li.active a[aria-current="page"] {
  color: #b55700;
}

@media print, screen and (min-width: 64em) {
  .home #content #inner-content {
    padding: 7.0625rem 0 0;
  }

  header.header .bottom-bar {
    height: 4.75rem;
  }
}

.is-dropdown-submenu>li {
  width: 100%;
  min-width: 224px;
}

.custom-logo-link {
  display: flex !important;
}

.custom-logo-link > a {
  padding: 0 !important;
  margin: 0;
}

.custom-logo-link > a > .aspect-ratio--logo {
  overflow: hidden;
  height: 66px;
}

.custom-logo-link > a > .aspect-ratio--logo > svg {
  width: auto;
  height: 100%;
}

.flex-1 {
  flex: 1;
}

.flex-2 {
  flex: 2;
}


.grid {
  display: grid;
}

.grid-columns {
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
}

.grid-gap-1 {
  gap: 0.25rem;
}

.grid-gap-2 {
  gap: 0.5rem;
}

.grid-gap-3 {
  gap: 1rem;
}

@media screen and (max-width: 39.9375em) {
  .small-flex {
    display: flex;
  }

  .small-flex-column {
    flex-direction: column;
  }

  .small-grid-row {
    grid-auto-flow: column;
  }
}

@media screen and (min-width: 40em) and (max-width: 63.9375em) {
  .medium-flex-column {
    flex-direction: column;
  }
}

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

.fs20 {
  font-size: 1.25rem;
}

/* .accordion-withimage {}
.accordion-textonly {} */

/**
 * Who We Are.
 */
.page-template-template-who .row.fullwidth .row {
  max-width: 75rem;
  margin-right: auto;
  margin-left: auto; 
}

.page-template-template-who #content {
  background-color: #F4F4F4; 
}

.page-template-template-who #process {
  padding-right: 1.5625rem;
  padding-left: 1.5625rem; 
}

@media screen and (min-width: 78.125em) {
  .page-template-template-who #process {
    padding-left: 0;
    padding-right: 0; 
  }
}

.page-template-template-who #process ul:not(.tabs):not(.accordion),
.page-template-template-who #process ol {
  font-size: 1.25rem;
  margin-left: 2.5rem; 
}

.page-template-template-who #process .tabs {
  border: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: stretch;
  -ms-flex-pack: stretch;
  justify-content: stretch;
  -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16); 
}

.page-template-template-who #process .tabs li {
  width: 100%;
  text-align: center;
  border-right: 1px solid #D0D0D0; 
}

.page-template-template-who #process .tabs li:last-child {
  border-right: 0; 
}

.page-template-template-who #process .tabs li a {
  margin-bottom: 0;
  color: #092459;
  height: 100%;
  width: 100%;
  background-color: #F4F4F4;
  position: relative;
  font-weight: 400; 
}

.page-template-template-who #process .tabs li a:before {
  content: '';
  display: block;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  height: 0;
  background-color: #B55700;
  width: 100%; 
}

.page-template-template-who #process .tabs li a:after {
  content: '';
  display: block;
  position: absolute;
  bottom: 100%;
  left: 0;
  height: 0;
  background-color: #fff;
  width: 100%; 
}

.page-template-template-who #process .tabs-panel {
  padding: 2.5rem 1.875rem 2.5rem calc(30px - .9375rem); 
}

.page-template-template-who #process .tabs-title > a:focus, .page-template-template-who #process .tabs-title > a[aria-selected=true] {
  background-color: #fff; 
}

.page-template-template-who #process .tabs-title > a[aria-selected=true]:before {
  height: 9px; 
}

.page-template-template-who #process .tabs-title > a[aria-selected=true]:after {
  height: 8px; 
}

.page-template-template-who #process .tabs-content {
  border: 0;
  -webkit-box-shadow: 0 5px 6px rgba(0, 0, 0, 0.16);
  box-shadow: 0 5px 6px rgba(0, 0, 0, 0.16);
  z-index: 1;
  position: relative; 
}

.page-template-template-who #process .image-column {
  border-radius: 15px;
  -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  min-height: 300px;
  margin: 1rem 10px 1rem; 
}

@media print, screen and (min-width: 48em) {
  .page-template-template-who #process .image-column {
    margin: 0; 
  }
}

.page-template-template-who #process .accordion {
  background-color: transparent; 
}

.page-template-template-who #process .accordion-title {
  background-color: transparent;
  border: 1px solid #D0D0D0;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  color: #092459;
  margin-bottom: 0;
  color: #092459;
  position: relative;
  border-radius: 0;
  font-weight: 400; 
}

.page-template-template-who #process .accordion-title:before {
  margin-top: 0;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%); 
}

.page-template-template-who #process .is-active > .accordion-title {
  background-color: transparent;
  border-bottom: 0; 
}

.page-template-template-who #process .is-active > .accordion-title:before {
  -webkit-transform: translateY(-53%);
  -ms-transform: translateY(-53%);
  transform: translateY(-53%); 
}

.page-template-template-who #process .accordion-content {
  border: 0;
  background-color: transparent;
  padding: 1rem 0.375rem; 
}

@media print, screen and (min-width: 40em) {
  .page-template-template-who #process .tabs-content .tabs-panel > div.row > div:nth-child(even) {
    order: 2;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }

  .page-template-template-who #process .tabs-content .tabs-panel > div.row > div.bg-center:nth-child(even) {
    order: 1;
    margin-bottom: 2rem;
  }
}

/**
 * Tabs to Cards.
 */
 @media print, screen and (min-width: 40em) {
  .hvia-cards #process .tabs,
  .home #process .tabs {
    display: none;
  }

  .hvia-cards #process .tabs-content,
  .home #process .tabs-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2em;
    background: transparent;
  }

  .hvia-cards #process .tabs-content {
    box-shadow: none;
  }

  .hvia-cards #process .tabs-content .tabs-panel,
  .home #process .tabs-content .tabs-panel {
    display: block;
    border-radius: 15px;
    box-shadow: 0 3px 6px rgba(0,0,0,.16);
    background-color: var(--wp--preset--color--white);
  }

  .hvia-cards #process .tabs-content .tabs-panel > div.row ,
  .home #process .tabs-content .tabs-panel > div.row {
    display: flex;
    flex-direction: column;
  }

  .hvia-cards #process .tabs-content .tabs-panel > div.row > div,
  .home #process .tabs-content .tabs-panel > div.row > div {
    order: 2;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }

  .hvia-cards #process .tabs-content .tabs-panel > div.row > div.bg-center,
  .home #process .tabs-content .tabs-panel > div.row > div.bg-center {
    order: 1;
    margin-bottom: 2rem;
  }

  .hvia-cards #process .tabs-content .column,
  .home #process .tabs-content .column {
    width: 100%;
  }

  .hvia-cards #process .tabs-content .bg-center,
  .home #process .tabs-content .bg-center {
    display: none1;
  }
}

/**
 * Homepage and Featured.
 */
@media print, screen and (min-width: 64em) {
  .home .featured-hero {
    max-height: 576px;
  }
}

@media print, screen and (min-width: 75em) {
  .home .featured-hero {
    max-height: 672px;
  }
}

.home #values h2.large-5 {
  white-space: nowrap;
  width: 100%;
}

.home #media {
  background: transparent url(../images/business-charts-meeting_680x453.jpg) no-repeat 0 0;
  background-size: cover;
  background-position: center;
}

/* Larger than 1366 viewport */
@media screen and (min-width: 85.376em) {
  .home #media {
    /* 1920-952x820 */ /* 960x640 */
    background: transparent url(../images/business-charts-meeting_960x640.jpg) no-repeat 0 0;
    background-size: cover;
    background-position: center;
  }
}

.home #media > .media {
  display: none !important;
}

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

/**
 * Insights.
 */
#insights-header {
  position: relative;
  background-color: #f4f4f4;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDI4OCAyODgiIGhlaWdodD0iMTAwJSIgd2lkdGg9IjEwMCUiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDI4OCAyODg7IG9wYWNpdHk6MC41IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgogICAgLnN0MHtmaWxsOiNmZmZmZmY7fQogIDwvc3R5bGU+C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U3LTE0LjQyLTExMC41LTE0LjQyLTExMC41CgkJczkuNSw1My44NiwyNS44OSwxMDEuNDNDMTkxLjQsMjA3LjQsMjcxLjIxLDI0My43NCwyNzcuNjEsMjQ2Ljk0Ij48L3BhdGg+CiAgICA8cGF0aCBjbGFzcz0ic3QwIiBkPSJNOC4zLDI0NS43YzYuMzktMy4yNCw5OS4xLTI4Ljk2LDEyMC41NC05Mi42NGMxNi4wNy00Ny42OCwxMy42Ni0xMTAuNTksMTMuNjYtMTEwLjU5cy05LjEzLDUzLjkyLTI1LjIsMTAxLjYKCQlDOTUuODYsMjA3LjczLDE0LjY4LDI0Mi40NSw4LjMsMjQ1LjciPjwvcGF0aD4KICAgIDxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0xNDMuODEsMjg1LjAyTDE0My44MSwyODUuMDJjMCwwLTYuOTMtMTI3LjIxLTcuMTItMTQwLjU3Yy0wLjE3LTEzLjM0LDYuOTUtMTM3LjUzLDYuOTUtMTM3LjUzCgkJczYuOTQsMTIyLjc3LDYuOTQsMTM2Ljgzcy02Ljc2LDEzOS4xNS02Ljc2LDEzOS4xNUwxNDMuODEsMjg1LjAyeiI+PC9wYXRoPgogICAgPHBhdGggY2xhc3M9InN0MCIgZD0iTTguNTksMTQ1LjM0TDguNTksMTQ1LjM0YzAsMCwxMjIuNTktNi40MSwxMzUuOTQtNi41N2MxMy4zNC0wLjE5LDE0MC4wMiw2LjQsMTQwLjAyLDYuNAoJCXMtMTI0LjkxLDYuNDItMTM4Ljk2LDYuNDJDMTMxLjU0LDE1MS41OCw4LjU5LDE0NS4zNCw4LjU5LDE0NS4zNCI+PC9wYXRoPgogIDwvZz4KPC9zdmc+");
  background-position: 150% 50%;
  background-size: 50%;
  background-repeat: no-repeat;
  padding-top: 7.1875rem;
}

.ff-body {
  font-family: Mukta Malar,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
}

.single-insights article .document-row {
  padding-bottom: 3.125rem;
}

.single-insights article .document-row:before {
  content: "";
  display: block;
  width: 300%;
  height: 100%;
  position: absolute;
  top: 0;
  left: -100%;
  background-color: #f4f4f4;
  z-index: -1;
}

.tax-insight_cat .insight-post .image-column {
  background-color: #f4f4f4;
}

/* Hide the 'Type' filter */
/* .page-template-template-insights #filter-insights .filter-selectors:nth-child(4),
.single-insights #filter-insights-sidebar .filter-selectors:nth-child(3) {
  display: none;
} */

.tax-insight_cat.term-10 #main > #insights-header,
.tax-insight_cat.term-31 #main > #insights-header {
  margin-right: -1.5625rem;
  margin-left: -1.5625rem;
  width: calc(100% + 50px);
}

@media screen and (min-width: 78.125em) {
  .tax-insight_cat.term-10 #main > #insights-header,
  .tax-insight_cat.term-31 #main > #insights-header {
    margin-right: 0;
    margin-left: 0;
    width: 100%;
  }
}

/**
 * Services & Submenu.
 */
#content > #inner-content > .submenu {
  position: sticky;
  top: 5.75rem;
  z-index: 10;
  box-shadow: 0 3px 6px rgba(0,0,0,.16);
}

#content > #inner-content > .submenu > ul > li > a {
  padding: 1rem 1rem;
}

@media print, screen and (min-width: 64em) {
  #content > #inner-content > .submenu {
    top: 7.5rem;
  }
}

/**
 * Tabs to Columns.
 */
 @media print, screen and (min-width: 40em) {
  main.hvia-columns .tabs,
  body:not(.home) .tabs {
    display: none !important;
  }

  main.hvia-tabs .tabs {
    display: flex !important;
  }


  main.hvia-columns .tabs-content,
  body:not(.home) .tabs-content {
    /* display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2em;
    background: transparent; */
  }


  main.hvia-columns .tabs-content .tabs-panel,
  body:not(.home) .tabs-content .tabs-panel {
    display: block;
    /*border-radius: 15px;
    box-shadow: 0 3px 6px rgba(0,0,0,.16);
    background-color: var(--wp--preset--color--white); */
  }

  main.hvia-tabs .tabs-content .tabs-panel {
    display: none;
  }
  main.hvia-tabs .tabs-content .tabs-panel.is-active {
    display: block;
  }

  main.hvia-columns .tabs-content .tabs-panel > div.row,
  body:not(.home) .tabs-content .tabs-panel > div.row {
    display: flex;
    flex-direction: row;
  }


  main.hvia-columns .tabs-content .tabs-panel > div.row > div,
  body:not(.home) .tabs-content .tabs-panel > div.row > div {
    /* order: 2; */
  }


  main.hvia-columns .tabs-content .tabs-panel > div.row > div.bg-center,
  body:not(.home) .tabs-content .tabs-panel > div.row > div.bg-center {
    /* order: 1; */
  }


  main.hvia-columns .tabs-content .column,
  body:not(.home) .tabs-content .column {
    /* width: 100%; */
  } 


  main.hvia-columns .tabs-content .bg-center,
  body:not(.home) .tabs-content .bg-center {
    display: none1;
  }
}

/**
 * Businesses.
 */
.page-template-template-businesses .row.fullwidth .row {
  max-width: 75rem;
  margin-right: auto;
  margin-left: auto;
}

.page-template-template-businesses #content {
  background-color: #F4F4F4;
}

.page-template-template-businesses #services {
  padding-right: 1.5625rem;
  padding-left: 1.5625rem;
}

@media screen and (min-width: 78.125em) {
  .page-template-template-businesses #services{
    padding-left: 0;
    padding-right: 0;
  }
}

.page-template-template-businesses #services ul,
.page-template-template-businesses #services ol {
  font-size: 1.25rem;
}

.page-template-template-businesses #services .row p {
  margin-bottom: 2rem;
}

.page-template-template-businesses #services .row p:last-child {
  margin-bottom: 0;
}

.page-template-template-businesses #services .row .column:first-child,
.page-template-template-businesses #services .row .columns:first-child {
  padding-left: 0;
  padding-right: 0;
}

@media print, screen and (min-width: 64em) {
  .page-template-template-businesses #services .row .column:first-child,
  .page-template-template-businesses #services .row .columns:first-child {
    padding-right: 2.5rem;
    border-right: 1px solid #D0D0D0;
  }
}

.page-template-template-businesses #services .row .column:last-child,
.page-template-template-businesses #services .row .columns:last-child {
  padding-left: 0;
  padding-right: 0;
  margin-top: 2rem;
}

@media print, screen and (min-width: 64em) {
  .page-template-template-businesses #services .row .column:last-child,
  .page-template-template-businesses #services .row .columns:last-child {
    margin-top: 0;
    padding-left: 2.5rem;
  }
}

.page-template-template-businesses #services .row .column:last-child .service,
.page-template-template-businesses #services .row .columns:last-child .service {
  margin-bottom: 2rem;
}

.page-template-template-businesses #services .row .column:last-child .service:last-child,
.page-template-template-businesses #services .row .columns:last-child .service:last-child {
  margin-bottom: 0;
}

/* Team */
.page-template-template-team #content {
  background-color: #F4F4F4;
}

.team-member-container {
  background-color: #ffffff;
}

@media print, screen and (min-width: 64em) {
  .page-template-template-team #filter-team-sidebar div#result-team-list:not(:empty) {
    top: 315px;
  }
}
