.imgbox01, .imgbox02, .imgbox03, .imgbox04 {
  margin: 1em 0;
  padding: 0;
  min-height: 200px;
  display: block;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  background: none !important;   /* box no longer paints the colour image */
  border-top: 3px solid transparent;
  transition: 0.2s ease-in-out;  
}

.imgbox01:hover, .imgbox02:hover, .imgbox03:hover, .imgbox04:hover {border-top: 3px solid #004AA9;}

.imgbox01::before, .imgbox02::before, .imgbox03::before, .imgbox04::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -1;
  background-image: var(--bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  filter: grayscale(100%);
}

.imgbox01 {--bg: url(/shared/images/content/bus_58442/CCTV-Operational-Services-Darlington-HOMEIMG01.webp);}
.imgbox02 {--bg: url(/shared/images/content/bus_58442/CCTV-Operational-Services-Darlington-HOMEIMG02.webp);}
.imgbox03 {--bg: url(/shared/images/content/bus_58442/CCTV-Operational-Services-Darlington-HOMEIMG03.webp);}
.imgbox04 {--bg: url(/shared/images/content/bus_58442/CCTV-Operational-Services-Darlington-HOMEIMG04.webp);}

.d0overlaybox {background-color: rgba(0, 0, 0, 0.5); padding: 20px; min-width: 100%; min-height: 400px; display: flex; align-items: flex-start; justify-content: flex-end; flex-direction: column;}

.sf-menu>li ul {transform: translate(0px, -15px);}
