@font-face {
  font-family: Poppins;
  src: url("https://macalvins2026.je-hosting.co.uk/wp-content/themes/macalvins2026/assets/fonts/Poppins/Poppins-Light.woff");
  font-weight: 300;
}

@font-face {
  font-family: Poppins;
  src: url("https://macalvins2026.je-hosting.co.uk/wp-content/themes/macalvins2026/assets/fonts/Poppins/Poppins-Regular.woff");
  font-weight: 400;
}

@font-face {
  font-family: Poppins;
  src: url("https://macalvins2026.je-hosting.co.uk/wp-content/themes/macalvins2026/assets/fonts/Poppins/Poppins-Medium.woff");
  font-weight: 500;
}

@font-face {
  font-family: Poppins;
  src: url("https://macalvins2026.je-hosting.co.uk/wp-content/themes/macalvins2026/assets/fonts/Poppins/Poppins-SemiBold.woff");
  font-weight: 600;
}

@font-face {
  font-family: Poppins;
  src: url("https://macalvins2026.je-hosting.co.uk/wp-content/themes/macalvins2026/assets/fonts/Poppins/Poppins-Bold.woff");
  font-weight: 700;
}

@font-face {
  font-family: Poppins;
  src: url("https://macalvins2026.je-hosting.co.uk/wp-content/themes/macalvins2026/assets/fonts/Poppins/Poppins-ExtraBold.woff");
  font-weight: 900;
}
:root {
  /* --textcolour: #004b85;
  --darkbluecolour: #004b85;
  --yellowcolour: #fdb728;
  --greycolour: #f4f4f4;
  --gradient-dark: linear-gradient(180deg, #003f6f 0%, #577dad 100%);
  --gradient-light: linear-gradient(90deg, #003f6f 0%, #577dad 100%); */
}
html {
  scroll-behavior: smooth;
}

:root {
  --textcolour: #333333;
  --yellow: #ed8c00;
  --darkgrey: #909195;
  --lightgrey: #f4f4f4;
}

body {
  font-family: "Poppins" !important;
}

a {
  /* color: #5E686F; */
  text-decoration: none;
  /* font-weight: bold; */
}

h1.entry-title {
  margin-bottom: 10px;
  text-align: left;
  font-weight: 700;
}

#navxt-breadcrumbs {
  display: none;
}

#page-wrapper .page-header-wrapper {
  border-bottom: 40px solid #ebd275;
}

#main {
  padding: 0;
}
.blk {
  color: var(--darkgreen) !important;
  font-weight: 400 !important;
  font-size: 15px !important;
}
#resoBox #resoBoxLine {
  display: none !important;
}
.rc-nav {
  text-align: left;
  margin-bottom: 30px;
}
.rc-nav span {
  color: var(--darkgreen)  !important;
  font-weight: 500 !important;
  font-size: 15px;
}

td p {
  margin: 5px;
}

#main iframe {
  width: 100%;
}

table.calcContainer td form {
  padding: 10px !important;
}

.vantage-icon-search:before {
  content: "\f002";
  font-family: "FontAwesome";
}

.vantage-icon-arrow-up:before {
  content: "\f077";
  font-family: "FontAwesome";
}

.calcContainer {
  border-color: var(--darkgrey);
}

.calcHR {
  border-color: var(--darkgrey);
}

.calclabel {
  color: #000000;
}

.calcformfield,
.calcformfieldFocus,
.calcformfieldReadonly {
  border-color: #ed8c00;
}

input[type="submit"],
input[type="reset"] {
  background: #ed8c00 !important;
  background-color: #ed8c00 !important;
}

#resoBox {
  width: 100%;
  text-align: left;
  margin-top: 40px;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle !important;
  margin-bottom: 3px !important;
}

h1 {
  margin-bottom: 20px;
}
#resoBoxMainText h3 {
  /* font-size: 1.5em; */
  margin: 1.5em 0 0.7em;
  /* color: #000000; */
}
#resoBoxHead #resoBoxHeadText,
#resoBox #resoBoxHead {
  display: none !important;
}
#resoBox #resoBoxMainText .calcHeader {
  text-align: center;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  line-height: 45px;
  height: 45px;
  padding-left: 20px;
  margin: -20px -10px 20px;
  /* color: var(--darkgrey); */
  background: var(--darkbluecolour);
}

#resoBox #resoBoxHead {
  background-image: url(resoBoxHeadBack.gif);
  background-repeat: no-repeat;
  background-position: right;
  height: 45px;
  background-color: #306ac1;
}

#resoBox #resoBoxLine {
  background-color: var(--darkgrey);
  height: 5px;
}

#resoBox #resoBoxMain {
  border: 1px solid #ebebeb;
  padding-bottom: 20px;
  background-color: #ffffff;
}

#resoBox #resoBoxMain .resoIconHead {
  float: left;
  margin-top: 20px;
  margin-left: 40px;
  background-repeat: no-repeat;
  background-position: left top;
  width: 280px;
}

.hmrcL {
  float: left;
}

#resoBox #resoBoxMain .resoIconHead a {
  /* font-family: 'Lato', sans-serif; */
  font-size: 1.2em;
  color: #c9c9c9;
  text-decoration: none;
  font-weight: bold;
}

#resoBox #resoBoxMain .resoIconHead a:hover {
  /* font-family: 'Lato', sans-serif; */
  font-size: 1.2em;
  color: #5e686f;
  text-decoration: underline;
  font-weight: bold;
}

#resoBox #resoBoxMain .resoIcon {
  float: left;
  margin-top: 20px;
  background-repeat: no-repeat;
  background-position: 50% 0px;
  text-align: center;
  width: 20%;
  padding: 0 15px;
}

#resoBox #resoBoxMain .resoIcon a {
  /* font-family: 'Lato', sans-serif; */
  font-size: 1.1em;
  color: #000000;
  text-decoration: none;
}

#resoBox #resoBoxMain .resoIcon a:hover {
  /* font-family: 'Lato', sans-serif; */
  font-size: 1.1em;
  color: #000000;
  text-decoration: underline;
}

#resoBox #resoBoxMain #resoBoxMainHead {
  height: 100px;
  border-bottom: solid 1px #ebebeb;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  display: none;
}

#resoBox #resoBoxMain #resoBoxMainText {
  padding: 10px;
}

#awards-logos {
  display: none !important;
}

.disclaimer {
  font-size: 12px;
  color: var(--darkgrey);
}

table {
  text-align: center;
}

.table_header {
  font-weight: bold;
  background-color: var(--darkgrey);
}

.table_header p strong,
.table_sub_header p strong,
.table_header p b,
.table_sub_header p b,
.table_header p,
.table_sub_header p,
.table_header p,
.table_sub_header p {
  color: #ffffff !important;
}

.table_sub_header {
  background-color: var(--yellow);
}

.sub_header_bg2 {
  background-color: var(--darkgrey);
}

.sub_header_bg3 {
  background-color: var(--darkgrey);
}

.table_highlight_row {
  background-color: var(--lightgrey);
}

#resoBoxMainText p {
  /* font-family: 'Open Sans', sans-serif; */
  font-size: 1em;
  color: #000000;
}

#resoBoxMainText .copyright p {
  /* font-family: 'Lato', sans-serif; */
  font-size: 12px;
}

.breadcrumbs {
  display: none;
}

#secondary {
  margin-top: 55px !important;
}

#secondary ul li {
  margin-left: 0;
  margin-bottom: 0;
}

#resoBoxMainText ul {
  list-style-type: square;
  margin: 1em 0 1.1em;
  font-size: 1em;
}

#resoBoxMainText ul li {
  margin-left: 3em;
  margin-bottom: 0.5em;
  text-align: left;
}

#resoBoxMainText strong {
  color: #000000;
  font-size: 1em;
}

.table_header strong {
  font-size: 1em;
  color: var(--darkgrey);
}

#resoBoxMainText iframe {
  width: 100% !important;
  min-height: 1300px;
}

@media (max-width: 932px) {
  #resoBox #resoBoxMain .resoIcon {
    width: 100%;
  }
}

/*-------------------------------*/
/*Custom styles website*/
/*-------------------------------*/
.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0px 20px 0px;
  background-color: #ffffff;
}

div {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

.cf:before,
.cf:after {
  /* content: " "; */
  /* 1 */
  /* display: table; */
  /* 2 */
}

.cf:after {
  clear: both;
}

.cf {
  *zoom: 1;
}
#main {
  /* margin-bottom: 60px; */
}
h1 {
  color: #E71A84;
}
#resoBoxMainText{
  h1{
font-size: 40px !important;
line-height: normal;
color:var(--teal) ;
  }
}
.grid-container,
.grid-container .vc_column-inner .wpb_wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
@media screen and (max-width: 900px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 600px) {
  .grid-container {
    grid-template-columns: repeat(1, 1fr);
  }
}
/* .grid-block {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  background-color: #ffffff;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  span{
    color: var(--yellow) !important;
  }
     transition: opacity 0.4s ease,
     transform 0.4s ease;
}
.grid-block:hover {
  background-color: var(--lightgrey);
  color: var(--darkgrey);
  span{
    color: var(--darkgrey) !important;
  }
  border: 1px solid transparent;
     transform: translateY(-3px);
    
} */

.grid-block:nth-child(4n) {
}

/* @media all and (max-width: 1100px) {
  .grid-block {
    width: calc((100% - 50px) / 3);
  }

  .grid-block:nth-child(4n) {}

  .grid-block:nth-child(3n) {
    margin-right: 0;
  }
} */

@media all and (max-width: 850px) {
}

@media all and (max-width: 650px) {
  .grid-block {
    width: 100%;
    margin-right: 0;
  }
}

/* .grid-block .grid-block-overlay {
  min-height: 200px !important;
  max-height: 200px !important;
  padding: 70px 30px !important;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  z-index: 1;
  font-size: 20px;
  line-height: 25px;
  text-align: center;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-transform: uppercase;
 
}

.grid-block .grid-block-overlay>* {
  position: relative;
  z-index: 5;
} */

.contact-grid-container {
  margin: 30px 0 150px 0;
}

.contact-block {
  width: calc((100% - 15px) / 2);
  overflow: visible;
}

.contact-block:nth-child(2n) {
  margin-right: 0;
}

.contact-block .grid-block-overlay {
  font-size: 1em;
  font-weight: bold;
  min-height: 60px;
  padding: 19px 0 19px 65px;
}

.contact-block .grid-block-overlay-extra {
  padding-left: 60px;
  font-size: 18px;
  font-weight: 300;
}

@media all and (max-width: 650px) {
  table {
    width: 100% !important;
  }

  td p {
    margin: 15px;
  }

  .contact-block {
    width: 100%;
  }
}

.grid-block-bg {
  background: none !important;
}

.grid-block:nth-child(3n) {
  margin-right: 0 !important;
}
td p {
  text-align: left !important;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 30px;
  column-gap: 30px;
  align-items: center;
}

.grid-block {
  border-radius: 30px;
  transition: all 0.3s ease-in-out;

  .service-image {
    height: 9rem;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
  }

  span {
    padding: 25px;
    background: var(--gradient-light);
    display: flex;
    justify-content: space-between;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    align-items: center;
    color: #fff;
    height: 5rem;
    font-size: 18px;
    transition: all 0.3s ease-in-out;

    .arrow {
      background-color: #fff;
      border-radius: 20px;
      height: 30px;
      width: 50px;
      display: flex;
      justify-content: center;
      align-items: center;
      border: none;

      i {
        transform: rotate(-45deg);
        display: inline-block;
        font-size: 16px;
        color: var(--darkbluecolour);
      }
    }
  }
}

.grid-block .grid-block-overlay:hover {
  span {
    transition: all 0.3s ease-in-out;
    transform: scaleY(1.1);
  }

  .arrow {
    background-color: var(--yellowcolour);
  }

  i {
    transform: rotate(0deg) !important;
    color: #fff !important;
    transform: scaleX(1.2);
  }
}

.grid-block .grid-block-overlay {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Image */
.grid-block .grid-block-overlay .service-image {
  background-position: center;
  background-size: cover;
  transition: transform 0.6s ease;
}

/* Title overlay */
.grid-block .grid-block-overlay .service-title {
  transition: all 0.6s ease;
  transform-origin: bottom;
}

/* Hover effects */
.grid-block .grid-block-overlay:hover .service-image {
  transform: scale(1.08);
}



.services-wrapper {
  margin-top: 30px;
}

.services-content {
  padding: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 30px;
  column-gap: 30px;
  align-items: center;
}
.team-member-page{
  .service-item{
    background:  0 !important;
  }
  #main{
.button-pri {
    margin-top: 0 !important;
    background: var(--teal) !important;
    color: #fff !important;

    i {
      color: #fff;
    }
  }

  .button-pri:hover {
    background: var(--tealgradient) !important;
  }
  }
        
}
.service-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px;
  border-radius: 12px;
  background: none !important;
  /* background-position: 100% 100% !important;
  background-size: cover !important;
  background-repeat: no-repeat;
  height: 250px !important; */
  height: 200px !important;
border: 2.5px solid var(--teal);
 border-radius: 12px;

  h3 {
            width: 100% !important;
            max-width: 100% !important;
              color: var(--teal);
              padding-bottom: 20px;
    font-weight: 600 !important;
    text-align: left;
    font-size: 20px ;
    line-height: 24px;
    margin-bottom: 10px;
    border-bottom: 2.5px solid var(--teal);
  }
}
.services-wrapper {
  margin-top: 30px;
}

.services-content {
  padding: 40px;
}
