:root {
  --color-text-light: #34495e;
  --color-white: #ecf0f1;
}

body {
  background-image: var(--background-img);
  font-size: clamp(14px, 1vw, 1vw);
  color: rgb(60,60,60);
  background-size: 115vw;
  background-color: #abcae6;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

a {
  color: #0450a3;
}

a:hover {
  transform: scale(1.08);
  color: rgb(60,60,60);
  text-decoration: none;
}

.news:hover {
    background-color: rgba(225, 225, 225, 0.25);
}

.footer {
  color: var(--color-white) !important;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 1rem;
  position: fixed;
  bottom: 0;
  width: 100%;
}

.fake-link {
  color: #0450a3;
}

.fake-link:hover {
  transform: scale(1.08);
  color: rgb(60,60,60);
  text-decoration: none;
}

td, tr {
    align-content: center;
    font-size: clamp(12px, 1vw, 1vw);
}

#postcode {
    text-transform: uppercase;
}

.postcode-image {
    display: inline-block;
    width: clamp(20px, 1vw, 1vw) !important;
    height: clamp(20px, 1vw, 1vw) !important;
}

.postcode-image:hover {
    display: inline-block;
    svg:hover {
        fill: rgb(60,60,60);
    }
}

.postcode {
    font-size: clamp(20px, 1vw, 1vw);
    text-decoration: none;
}

.postcode:hover {
    font-size: clamp(25px, 1.1vw, 1.1vw);
    font-weight: bold;
}

.vertical-center {
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.footer {
  color: var(--color-text-light) !important;
  background-color: rgba(225, 225, 225, 0.6);
  padding: 1rem;
  position: fixed;
  bottom: 0;
  width: 100%;
}

.dropdown-item-custom {
    background-color: rgba(225, 225, 225, 0.0) !important;
    padding: 0rem 0rem;
}

.dib-nav {
  text-decoration: none;
  color: #0450a3 !important;
}

.dib-nav:hover {
    font-weight: bold;
    color: rgb(60, 60, 60);
}

.wrap-word {
  width: 200px;
  -ms-word-break: break-all;
  word-break: break-all;
}

.wrap-word2 {
  -ms-word-break: break-all;
  word-break: break-all;
}

.dib-banner {
  filter: drop-shadow(0 0 0.75rem rgb(255, 255, 255));
}

.dib-button {
    background-color: #69aaf0;
    border-color: #69aaf0;
    color: #FFFFFF;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem
}

.dib-button-alt {
    background-color: #33ad3e;
    border-color: #33ad3e;
    color: #FFFFFF;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem
}

.dib-button:hover {
    font-weight: bold;
    color: rgb(60,60,60);
    background-color: rgba(225, 225, 225, 0.8);
    border-color: rgb(60,60,60);
    margin-right: 0.5rem;
}

.dib-button-alt:hover {
    font-weight: bold;
    color: rgb(60,60,60);
    background-color: rgba(225, 225, 225, 0.8);
    border-color: rgb(60,60,60);
    margin-right: 0.5rem;
}

.dib-button-disabled {
    background-color: var(--color-text-light) !important;
    border-color:  rgba(0, 0, 0, 0.8);
    color: rgba(0, 0, 0, 0.8);
    margin-right: 0.5rem;
    margin-bottom: 0.5rem
}

.dib-button-disabled:hover {
    transform: scale(1);
}

.toggler-custom {
    color: #0450a3 !important;
    border-color: #0450a3 !important;
    background-color: rgba(225, 225, 225, 0.6);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(1, 31, 63, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  background-color: rgba(225, 225, 225, 0);
}

.nav-item-custom {
    font-size: clamp(25px, 1vw, 1vw);
}

.navbar {
    background-color: rgba(225, 225, 225, 0.6);
}

.dropdown-custom {
    background-color: rgba(225, 225, 225, 0.8) !important;
    min-width: 0px;
}

.dib-dropdown {
    background-color: rgba(225, 225, 225, 0);
}

/* change navbar background on collapse */
@media (max-width: 1200px) {
  body {
    background-position: left bottom;
    background-size: auto 100vh;
  }

  ul.navbar-nav {
    background-color: rgba(225, 225, 225, 0.8);
  }

  .dropdown-custom {
    background-color: rgba(225, 225, 225, 0) !important;
    margin: 0.5rem 0rem;
  }
  .dropdown-item-custom {
      padding: 0rem 0rem;
  }
}

@media (min-width: 1199px) {
  .dib-banner {
    width: 80%;
  }
}

@media (max-width: 500px) {
  .footer {
    font-size: 10px;
  }
}

.dib-card {
    background-color: rgba(225, 225, 225, 0.8);
    margin-bottom: 10px;
    margin-bottom: 5rem;
}

.fullmap {
  height: 100%;
  min-height: 100%;
  width: 100%;
  min-width: 100%
}

.img-wrapper-20 {
    max-width: 100%;
    margin: 0rem 0.5rem 0rem 0rem;
}
.img-wrapper-20 img:hover {
        transform: scale(1.08);
    }

.d-flex {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.carousel-button {
  padding: 0;
  margin: 0;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: Transparent;
  cursor: pointer;
  position: absolute;
  font-size: 3rem;
  transform: translateY(-50%);
  top: 50%;
}

.ul-slider,
.li-slider {
  list-style: none;
  text-decoration: none;
  margin: 0;
  padding: 0;
}

.carousel {
  width: 100%;
  height: 40vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.carousel-slider {
  width: 100%;
  height: 87%;
  overflow: hidden;
  position: relative;
}

.content-inner-slider {
  width: 100%;
  height: 100%;
  display: flex;
}

.carousel-img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-prev-button {
  left: 0;
}

.carousel-next-button {
  right: 0;
}

.carousel-dots {
  display: flex;
  margin: 1rem 0;
}

.carousel-dot {
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--color-text-light);
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}

.carousel-form {
  display: flex;
  align-items: center;
  font-size: 1rem;
}

.auto_slide {
}

  @keyframes ticker-kf {
    0% {
      transform: translateX(0);
    }

    100% {
      /* 10rem for each logo x 6 logos total = -60rem */
      transform: translateX(var(--transform-rem));
    }
  }

  .img-ticker {
    display: flex;
    margin-left: -1rem;
    margin-right: -1rem;
    animation: ticker-kf 10s linear infinite;
  }

  .tickerlogo {
    width: 8rem;
    max-height: 8rem;
    flex: none;
    margin: 0 1rem 0 1rem;
    align-self: center;
    max-width: 100%;
    height: auto;
  }

  .tickerlogo:hover {
    transform: scale(1.08);
  }