.contact-phone {
  position: absolute;
  top: 55px;
  right: 30px;
}

.contact-phone a {
  font-size: 0.9375em;
  margin-right: 5px;
}

.contact-social {
  position: absolute;
  top: 15px;
  right: 30px;
}

.contact-social a {
  margin-left: 15px;
}

.contact-social a:nth-of-type(3) {
    margin-left: 70px;
}

.contact-social a img{
  height: 16px;
}

.client-data-protection a {
    display: block;
    text-decoration: underline;
    font-size: 0.95vw;
    text-align: center;
    margin-bottom: 30px;
}

.contact-details a:nth-of-type(3) {
  margin-left: 20px;
}

.contact-details a:nth-of-type(2) {
  margin-left: 20px;
}

.our-people__staff {
  display: flex;
  float: none;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.our-people__staff .member {
  float: none;
  width: auto;
  max-width: calc(33% - 1.5vh);
  flex-basis: calc(33% - 1.5vh);
  text-align: left;
}

.our-people__staff .member img {
  display: block;
  margin: auto;
  width: 100%;
  margin-bottom: 1.25em;
}

.our-people__staff .position p {
  margin-bottom: 0;
}

.our-people__staff .single-profile,
.our-people__staff .single-description {
  max-width: calc(50% - 1.5vh);
  flex-basis: calc(50% - 1.5vh);
}

.our-people__staff .btn {
  color: #fff;
  background: #c2555b;
  padding: 0.5em;
}

header .container {
  background-color: #ffffff;
}

.menu-item {
    position: relative;
}

.sub-menu {
    display: none;
    position: absolute;
    bottom: -65px;
    left: -270px;
    text-align: center;
    background: #fff;
    width: 700px;

}



.sub-menu li {
    display: inline-block;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid goldenrod;
    width: 180px;

}

.logo img {
    width: 300px;
}

#menu-footer-navigation {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    text-decoration: underline;
    flex-wrap: wrap;
}

.responsive-table {
  display: table;
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  margin-bottom: 1.25em;
  font-size: 0.9375em;
  line-height: 1.3333333333;
}

.responsive-table thead {
  display: table-header-group;
}

.responsive-table thead tr {
  position: relative;
  top: 0;
  left: 0;
  display: table-row;
}

.responsive-table thead th {
  display: table-cell;
  padding: 0.375em 0;
  text-align: left;
}

.responsive-table tbody {
  display: table-header-group;
}

.responsive-table tbody tr {
  display: table-row;
}

.responsive-table tbody td {
  display: table-cell;
  padding: 0.375em 0;
}

.responsive-table tbody td:before {
  display: none;
}

.disbursement-table thead th {
  width: 70%;
}

.disbursement-table tbody td {
  width: 30%;
}

.disbursement-table tbody td:first-of-type:before {
  content: "Disbursement Costs";
}

.disbursement-table tbody td:last-of-type:before {
  content: "Fee (exclusive of VAT)";
}

.debt-table thead th {
  width: 25%;
}

.debt-table tbody td {
  width: 25%;
}

.debt-table tbody td:first-of-type:before {
  content: "Debt value";
}

.debt-table tbody td:nth-of-type(2):before {
  content: "Court fee";
}

.debt-table tbody td:nth-of-type(3):before {
  content: "Our fee (incl.VAT)";
}

.debt-table tbody td:last-of-type:before {
  content: "Total";
}

.residential-table thead th {
  width: 60%;
}

.residential-table tbody td {
  width: 40%;
}

.residential-table tbody td:first-of-type:before {
  content: "Residential Conveyancing";
}

.residential-table tbody td:last-of-type:before {
  content: "Fee (exclusive of VAT)";
}

.additional-table thead th {
  width: 60%;
}

.additional-table tbody td {
  width: 40%;
}

.additional-table tbody td:first-of-type:before {
  content: "Additional Fixed Charges";
}

.additional-table tbody td:last-of-type:before {
  content: "Fee (exclusive of VAT)";
}

.home__services {
    height: 100%;
}

.home__services .slide {
    height: 100%;
}

.bx-wrapper img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.bx-wrapper .bx-viewport {
    height: 400px !important;
}

.container {
    max-width: 70em;
}

.internal__content-title {
    background-size: cover;
    background-position: center;
    text-align: right;
}

.home__services .content h2 {
    color: #3e525c;
}

@media only screen and (max-width: 928px) {
  .contact-phone,
  .contact-social {
    display: none;
  }

  .sub-menu li {
      display: block;
      padding-top: 0;
      padding-bottom: 0;
      width: auto;
      border: 0;
  }

  .overlay .sub-menu {
    display: none;
    width: auto;
    position: relative;
    left: 0;
    padding: 0;
    background: transparent;
    bottom: 0;
  }

  .menu-item-has-children a {
      margin-bottom: 0.75rem;
  }
}

@media only screen and (max-width: 767px) {

  .our-people__staff .member {
    max-width: calc(50% - 1.5vh);
    flex-basis: calc(50% - 1.5vh);
  }

  .responsive-table {
    display: block;
    width: 100%;
  }

  .responsive-table thead,
  .responsive-table tbody {
    display: block;
  }

  .responsive-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
    display: block;
  }

  .responsive-table thead th,
  .responsive-table tbody tr {
    display: block;
    width: 100%;
  }

  .responsive-table tbody td {
    position: relative;
    display: block;
    width: 100%;
    padding: 0.375em 0 0.375em 50%;
  }

  .responsive-table tbody td:before {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(50% - .75rem);
    display: block;
    padding: 0.375em 0;
    font-weight: bold;
    white-space: nowrap;
  }

  .residential-table tbody td,
  .additional-table tbody td {
    padding: 0.375em 0 0.375em 55%;
  }

  .purchases-table tbody td {
    padding: 0.375em 0;
  }

}

@media only screen and (max-width: 500px) {
    .logo img {
        width: auto;
    }

    .our-people__staff .member {
      max-width: 100%;
      flex-basis: 100%;
    }

    .our-people__staff .single-profile {
      margin-bottom: 1.5em;
    }

    .our-people__staff .single-profile,
    .our-people__staff .single-description {
      max-width: 100%;
      flex-basis: 100%;
    }

    #menu-footer-navigation li {
        max-width: calc(50% - 1.5vh);
        flex-basis: calc(50% - 1.5vh);
    }
}
