
:root {
    /* Colour variables */
    --primary:#0B60A9;
    --secondary:#1B4A73;
    --tertiary: #DFEDF9;  
    --quaternary: #2979BF;
    --quinary:#065293; 
    --dark:#393939;
    --silver: #C0C0C0;
    /* Text sizes */
    --fs-base: 1rem;
    --fs-scale-sm: 0.875;   /* for .fs-small */
    --fs-scale-lg: 1.25;   /* for .fs-body-large */
    --fs-scale-h1: 2.5;
    --fs-scale-h2: 2.25;
    --fs-scale-h3: 1.5;
    --fs-scale-h4: 1.5;
    --fs-scale-h5: 1.25;
    --fs-scale-h6: 1.125;
    --fs-scale-jumbo: 5;
    /* Fonts */
    --font-heading-family: "AH Sans", sans-serif;
    --font-body-family: "Manrope", sans-serif;
    --body-fs-base: 1rem;
    --spacing-scale: 1rem;
    --heading-font-scale: 1rem;
    --section-margin: 6rem;
}

/* Define any font face references here */

@font-face {
    font-family: 'AH Sans';
    src: url('../fonts/Oswald-Demi-BoldItalic.woff2') format('woff2'),
         url('../fonts/Oswald-Demi-BoldItalic.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* FONTS */

.font-body {
    font-family: var(--font-body-family);
    font-weight: 400; 
}

.font-body strong {
    font-weight: 800; 
}
.font-heading {
    font-family: var(--font-heading-family);
    vertical-align: baseline;
    font-weight: 500;
}

/* TEXT SIZES */
.fs-body        { font-size: var(--fs-base); }
.fs-body-large  { font-size: calc(var(--fs-base) * var(--fs-scale-lg)); }
.fs-small       { font-size: calc(var(--fs-base) * var(--fs-scale-sm)); }
.fs-h1          { font-size: calc(var(--fs-base) * var(--fs-scale-h1)); }
.fs-h2          { font-size: calc(var(--fs-base) * var(--fs-scale-h2)); }
.fs-h3          { font-size: calc(var(--fs-base) * var(--fs-scale-h3)); }
.fs-h4          { font-size: calc(var(--fs-base) * var(--fs-scale-h4)); }
.fs-h5          { font-size: calc(var(--fs-base) * var(--fs-scale-h5)); }
.fs-h6          { font-size: calc(var(--fs-base) * var(--fs-scale-h6)); }
.fs-jumbo       { font-size: calc(var(--fs-base) * var(--fs-scale-jumbo)); }

/* smallest font sizes overrides */

@media only screen and (max-width: 768px) {
.fs-jumbo  { font-size: calc(var(--fs-base) * var(--fs-scale-jumbo) * .6 ); }
}
@media only screen and (max-width: 768px) {
.fs-h2  { font-size: calc(var(--fs-base) * var(--fs-scale-h2) * .8 ); }
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
.fs-jumbo  { font-size: calc(var(--fs-base) * var(--fs-scale-jumbo) * .75 ); }
}
@media only screen and (max-width: 768px) {
.fs-body-large  { font-size: calc(var(--fs-base) * var(--fs-scale-base)); }
}
/* FONT WEIGHTS */

.fw-light {    
  font-weight: 200;
}
.fw-normal {    
  font-weight: 400;
}
.fw-bold {    
  font-weight: 900;
}

/* TEXT COLOURS */

.text-white {
  color:white;
}
.text-dark{
  color: var(--dark);
}
.text-primary{
  color: var(--primary);
}
.text-secondary{
  color: var(--secondary);
}
.text-tertiary{
  color: var(--tertiary);
}
.text-quaternary{
  color: var(--quaternary);
}
.text-silver{
  color: var(--silver);
}

/* BACKGROUND COLOURS */

.bg-dark {
  background-color: var(--dark);
}
.bg-primary {
  background-color: var(--primary);
}
.bg-secondary {
  background-color: var(--secondary);
}
.bg-tertiary {
  background-color: var(--tertiary);
}
.bg-quaternary{
  background-color: var(--quaternary);
}
.bg-quinary{
  background-color: var(--quinary);
}
.bg-silver {
  background-color: var(--silver);
} 
.bg-white {
  background-color: white;
}

/* BUTTONS */

.btn {
  padding: 1.3rem 1.5rem 1.25rem 1.5rem;
  font-family: var(--font-heading-family);
  font-size: calc(var(--fs-base) * var(--fs-scale-h5)); 
  font-weight: 800;
  border-radius: 0;
  line-height: 1; /* or 1.1, depending on test */
  vertical-align: baseline;
  text-decoration: none;
  border: 0;
  text-transform: uppercase;
}
.btn:hover {
  transition: .3s ease-out;
}
.btn-primary {
  color: white;
  background: var(--primary);
}
.btn-primary:hover {
  color: white;
  background: var(--dark);
}
.btn-secondary {
  color: var(--primary);
  background: white;
}
.btn-secondary:hover {
  color: white;
  background: var(--dark);
}
.btn-white {
  color: var(--primary);
  background: white;
}
.btn-white:hover {
  color: white;
  background: var(--dark);
}
.btn-dark {
  color: white;
  background: var(--dark);
}

/* MISC */

section, .section {
    margin-top: var(--section-margin);
    margin-bottom: var(--section-margin);
}

@media only screen and (max-width: 768px) {
  section, .section {
      margin-top: 3.5rem;
      margin-bottom: 3.5rem;
  }
}

/* CUSTOM SITE CSS */

.top-gradient {
    background: rgb(0, 0, 0);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    position: absolute;
    width: 100%;
    height: 200px;
    opacity: .75;
}
.image-invert {
     filter: invert(75%);
}

img.alpha-lorry {
    margin-top: -16%;
    z-index:99;
    position: relative;
  }

.pretitle {
  letter-spacing: .1rem;
}

.opaque-image {
  opacity: .35;
}

/* START ACCORDION */
.accordion  details {
  border-bottom: 2px solid var(--dark);
}

.accordion details[open] summary {
  padding-bottom: 1rem;

}

.accordion summary {
  font-weight: 700;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  list-style: none;  
}

.accordion details summary {
display: flex;
  align-items: center;
  gap: .5rem;
}

.accordion summary::-webkit-details-marker { /* Chrome, Edge, Safari */
  display: none;
}

.accordion details summary::before {
  content: "";
  width: 14px;
  height: 14px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  /* inline SVG that inherits currentColor */
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 8H15' stroke='%233C3C3C' stroke-width='2' stroke-linecap='square' stroke-linejoin='round'/%3E%3Cpath d='M8 1V15' stroke='%233C3C3C' stroke-width='2' stroke-linecap='square' stroke-linejoin='round'/%3E%3C/svg%3E");

}

.accordion details[open] summary::before {
  content: "";
  width: 14px;
  height: 14px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  /* inline SVG that inherits currentColor */
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='2' viewBox='0 0 16 2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1H15' stroke='%233C3C3C' stroke-width='2' stroke-linecap='square' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

/* END ACCORDION */

.image-text-block h2 strong {
    color: var(--primary);
}

.no-margin {
    margin: 0 !important;
  }

  .body-text p {
    margin-bottom: 1rem;
  }

.job-row {
  border-bottom: 1px solid var(--dark);
}
.job-row:first-of-type {
  border-top: 1px solid var(--dark);
}

.copyright {
  border-top: 1px solid white;
}
.social-icons {
  position: relative;
    bottom: -2px;
  }

  .services-block img {
    width: 50px;
    height: 50px;
  }

.partner-logos img {
  max-height: 180px;
  max-width: 250px;
  object-fit: contain;
}

.stats {
  background-image: url('../images/stats-bg-cover.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.cornered {
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M100 100.001H0L100 0V100.001Z' fill='white'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-size: 50px 50px;
  background-position: bottom right;
}
.image-text-block .image{
  position: relative;
  display: inline-block;
}
img.image-text {
  display: block;
  width: 100%;
  height: auto;
}

.cornered-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M100 100.001H0L100 0V100.001Z' fill='white'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-size: 50px 50px;
  background-position: bottom right;
  pointer-events: none;
}

.banner-map {
  background-image: url('../images/banner-dots.png');
  background-repeat: no-repeat;
  background-position: center right;
  pointer-events: none;
}

@media screen and (max-width: 1279px) {
  .banner-map {
    display:none;
  }
}


.primary-icon-holder {
  border-radius: 999rem;
}

.primary-icon-holder img {
  width: 50px;
  height: 50px;
}

a.hover-dark:hover {
  color: var(--dark);
  transition: .3s ease-out;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--primary);
  transition: .3s ease-out;
}

.body-text h1,
.body-text h2,
.body-text h3,
.body-text h4,
.body-text h5 {
  color: var(--primary);
  padding: .5rem 0;
}

.uniform__potty {
  display: none;
}

/* RESPONSIVE ADJUSTMENTS */
@media only screen and (max-width: 1575px) {
  .container { 
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.quote-mark {
  width: 50%;
}

.home header .fs-jumbo {
  text-shadow: 10px 5px 10px rgba(0, 0, 0, 0.4);
}

.alert-success {
    background: #87c078;
    padding: 1rem;
    margin-bottom: 1rem;
    color: black;
}