/* @font-face {
  font-family: "Swiss 721 BT";
  src: url(http://ml2020.je-hosting.co.uk/wp-content/themes/milsted-langdon/fonts/Swiss721BT-Roman.ttf) format("truetype");
  src: url(http://ml2020.je-hosting.co.uk/wp-content/themes/milsted-langdon/fonts/Swiss721BT-Roman.eot) format('eot'), url(http://ml2020.je-hosting.co.uk/wp-content/themes/milsted-langdon/fonts/Swiss721BT-Roman.woff) format('woff'), url(http://ml2020.je-hosting.co.uk/wp-content/themes/milsted-langdon/fonts/Swiss721BT-Roman.svg) format('svg');
}

@font-face {
  font-family: 'effrabold';
  src: url('http://ml2020.je-hosting.co.uk/wp-content/themes/milsted-langdon/fonts/effra_std_bd-webfont.woff2') format('woff2'), url('http://ml2020.je-hosting.co.uk/wp-content/themes/milsted-langdon/fonts/effra_std_bd-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
} */
@font-face {
  font-family: 'Figtree';
  src: url('https://www.milstedlangdon.co.uk/wp-content/themes/milstedlangdon2025/assets/fonts/Figtree/Figtree-Black.woff2') format('woff2'),
    url('https://www.milstedlangdon.co.uk/wp-content/themes/milstedlangdon2025/assets/fonts/Figtree/Figtree-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Figtree';
  src: url('https://www.milstedlangdon.co.uk/wp-content/themes/milstedlangdon2025/assets/fonts/Figtree/Figtree-BlackItalic.woff2') format('woff2'),
    url('https://www.milstedlangdon.co.uk/wp-content/themes/milstedlangdon2025/assets/fonts/Figtree/Figtree-BlackItalic.woff') format('woff');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Figtree';
  src: url('https://www.milstedlangdon.co.uk/wp-content/themes/milstedlangdon2025/assets/fonts/Figtree/Figtree-Regular.woff2') format('woff2'),
    url('https://www.milstedlangdon.co.uk/wp-content/themes/milstedlangdon2025/assets/fonts/Figtree/Figtree-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Figtree';
  src: url('https://www.milstedlangdon.co.uk/wp-content/themes/milstedlangdon2025/assets/fonts/Figtree/Figtree-ExtraBoldItalic.woff2') format('woff2'),
    url('https://www.milstedlangdon.co.uk/wp-content/themes/milstedlangdon2025/assets/fonts/Figtree/Figtree-ExtraBoldItalic.woff') format('woff');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Figtree';
  src: url('https://www.milstedlangdon.co.uk/wp-content/themes/milstedlangdon2025/assets/fonts/Figtree/Figtree-BoldItalic.woff2') format('woff2'),
    url('https://www.milstedlangdon.co.uk/wp-content/themes/milstedlangdon2025/assets/fonts/Figtree/Figtree-BoldItalic.woff') format('woff');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Figtree';
  src: url('https://www.milstedlangdon.co.uk/wp-content/themes/milstedlangdon2025/assets/fonts/Figtree/Figtree-Bold.woff2') format('woff2'),
    url('https://www.milstedlangdon.co.uk/wp-content/themes/milstedlangdon2025/assets/fonts/Figtree/Figtree-Bold.woff') format('woff');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Figtree';
  src: url('https://www.milstedlangdon.co.uk/wp-content/themes/milstedlangdon2025/assets/fonts/Figtree/Figtree-ExtraBold.woff2') format('woff2'),
    url('https://www.milstedlangdon.co.uk/wp-content/themes/milstedlangdon2025/assets/fonts/Figtree/Figtree-ExtraBold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Figtree';
  src: url('https://www.milstedlangdon.co.uk/wp-content/themes/milstedlangdon2025/assets/fonts/Figtree/Figtree-SemiBold.woff2') format('woff2'),
    url('https://www.milstedlangdon.co.uk/wp-content/themes/milstedlangdon2025/assets/fonts/Figtree/Figtree-SemiBold.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

:root {
  --textcolour: #333333;
  --yellow: #ED8C00;
  --darkgrey: #909195;
  --lightgrey: #F4F4F4
}

body {
  font-family: 'Figtree';
  font-weight: normal;
}


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

h1.entry-title {
  
  margin-bottom: 10px;
}

#navxt-breadcrumbs {
  display: none;
}

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

#main {
  padding: 0;
  margin-top: 130px !important;
}
.blk{
  color: var(--darkgrey) !important;
  font-weight: 400 !important;
  font-size: 15px !important;
}
#resoBox #resoBoxLine{
  display: none !important;
}
.rc-nav {
  /* text-align: center; */
  margin-bottom: 0 !important;
}
.rc-nav span{
color: var(--darkgrey) !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(--darkgrey);
}

#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: 1.0em;
  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: 1.0em;
}

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

#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-top: 130px !important;
  margin-bottom: 60px;
}
.grid-container{
  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);
    
}
#resoBoxMainText{
  span{
    float: none !important;
    a{
                  margin-bottom: 20px !important;
                    display: block;
                    width: fit-content;
                    border: 1px solid #ed8c00 !important;
                    border-radius: 5px;
                    padding: 10px 15px !important;
                  }
                  a:hover{
                    border: 1ps solid transparent !important;
                    background-color: #E7E7E8;
                  }
  }
}

.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;
}