body,
html {
  font-family: "PT Sans", sans-serif;
}

/** headings **/

h1 {
  color: var(--bs-primary);
  font-size: 1.4em;
}

h2 {
  color: var(--bs-primary);
  font-size: 1.1em;
}

h3 {
  font-size: 1em;
}

h4 {
  font-size: 1em;
}

h5 {
  font-size: 1em;
}

h6 {
  font-size: 1em;
}

@media (min-width: 992px) {
  h1 {
    font-size: 1.5em;
  }

  h2 {
    font-size: 1.5em;
  }

  h3 {
    font-size: 1.3em;
  }

  h4 {
    font-size: 1.1em;
  }

  h5 {
    font-size: 1em;
  }

  h6 {
    font-size: 1em;
  }
}

a {
  text-decoration: none;
  font-weight: bold;
}

.dropdown-menu {
  border-color: var(--bs-secondary);
}

.btn.btn-white {
  background-color: #fff;
}
.btn.btn-white:active,
.btn.btn-white:focus,
.btn.btn-white:hover {
  background-color: var(--bs-light);
  color: var(--bs-primary);
}

.btn.btn-block {
  width: 100% !important;
}

/** header **/
header {
  border-bottom: solid 1px var(--bs-secondary);
}

#main-nav-mobile .collapsing {
  width: 100%;
}

#main-nav-mobile .nav-item {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  border-top: solid 1px var(--bs-secondary);
}

#main-nav-mobile .nav-item:last-child {
  /* border-bottom: solid 1px var(--bs-secondary); */
}

#main-nav-mobile .nav-link {
  line-height: 31px;
  font-size: 1.2em;
  font-weight: bold;
}

#main-nav-mobile .nav-item .subnav-collapse .nav-link {
  font-weight: 400;
  margin-bottom: 0.5rem;
}
#main-nav-mobile .nav-item .subnav-collapse .nav-link:last-child {
  margin-bottom: 0;
}

#main-nav-mobile .nav-item .collapse-btn i {
  transition: all 0.25s;
}

#main-nav-mobile .nav-item .collapse-btn:not(.collapsed) i {
  transform: rotate(180deg);
}

.nav-link.active {
  color: var(--bs-primary) !important;
}

/* header .nav-col {
  margin-top: -1.5rem;
} */

.navbar-brand {
  padding: 0;
  margin: 0;
}

/* .top-nav {
  margin-bottom: .5rem;
} */

.top-nav .btn:hover {
  background-color: transparent;
  color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

.top-nav .btn a {
  text-decoration: none;
}

#main-nav .nav-link {
  color: var(--bs-dark);
  padding: 1em;
  font-size: 0.8em;
}

#main-nav .dropdown-item {
  font-size: 0.8em;
}

@media (min-width: 992px) {
  #main-nav .dropdown-item,
  #main-nav .nav-link {
    font-size: 1em;
  }
}

#main-nav .nav-link:hover {
  color: var(--bs-primary);
}

#main-nav .nav-item.dropdown > .dropdown-menu.show,
#main-nav .nav-item.dropdown:hover > .dropdown-menu {
  margin-top: -3px;
  display: block;
}

#main-nav .nav-item.dropdown .dropdown-menu.dropdown-menu-end {
  right: 0;
}

/** footer **/
footer #top-footer {
  background-color: #fff;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

footer #bottom-footer {
  background-color: var(--bs-primary);
  color: rgba(255, 255, 255, 0.5);
  padding-top: 3rem;
  padding-bottom: 3rem;
}
footer #metanav {
  margin: 0px;
}
footer #metanav a {
  transition: all 0.25s;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}
footer #metanav a:hover {
  color: #fff;
}

/** content **/

#content {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

#content.daisy-background {
  background: url("../img/banner-daisy-xs.jpg") no-repeat 0 0;
  background-size: contain;
  min-height: 26.142em;
}

@media (min-width: 768px) {
  #content.daisy-background {
    background: url("../img/banner-daisy.jpg") no-repeat 100% 100%;
    background-size: cover;
  }
}

#content-2 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/** cards **/
.card.border-info-on-hover,
.card.border-primary-on-hover {
  transition: border-color 0.2s;
}
.card.border-primary-on-hover:hover {
  border-color: var(--bs-primary) !important;
}
.card.border-info-on-hover:hover {
  border-color: var(--bs-info) !important;
}


.card {
  border-color: var(--bs-secondary);
}

.card .card-header {
  display: grid;
  border: none;
  min-height: 54px;
}

.card .card-header a {
  color: #fff;
  text-decoration: none;
}

.card .card-header .card-title {
  margin: 0;
}

.card-intro {
  width: 100%;
}

@media (min-width: 992px) {
  .card-intro {
    width: 65%;
  }
}

.card.card-bg-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}
.card.card-bg-primary * {
  color: #fff;
}
.card.card-bg-primary h1 {
  margin: 0px;
}

.card.card-primary:hover {
  border-color: var(--bs-primary) !important;
}

.card.card-info:hover {
  border-color: var(--bs-info) !important;
}

.card.card-home-with-image .card-header {
  min-height: 115px;
}

@media (min-width: 992px) {
  .card.card-home-with-image .card-header {
    min-height: 135px;
  }
}

.card.card-home-with-image .card-body {
  position: relative;
  margin-top: 13em;
}

.card.card-home-with-image .card-footer {
  padding-top: 0px;
  padding-bottom: 1rem;
  margin-top: 0px;
  background-color: transparent;
  border: none;
}

@media (min-width: 992px) {
  .card.card-home-with-image .card-body {
    margin-top: 17em;
  }
}

.card.card-home-with-image .card-body .image-link {
  position: absolute;
  display: block;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  left: 0;
  right: 0;
  bottom: 100%;
}

.card.card-home-with-image .card-body .image-link img {
  width: 100%;
}

.small-product {
  position: relative;
  text-decoration: none;
  display: block;
  border: solid 1px var(--bs-secondary);
}

.small-product span {
  font-size: 0.8em;
  padding: 0.25em;
  position: absolute;
  bottom: 0;
  left: 0;
}

.small-product.primary span {
  color: #fff;
  background-color: var(--bs-primary);
}

.small-product.primary:hover {
  border-color: var(--bs-primary);
}

.small-product.info span {
  color: #fff;
  background-color: var(--bs-info);
}

.small-product.info:hover {
  border-color: var(--bs-info);
}

.card.card-sidebar-with-image {
  height: 6em;
}

.card.card-sidebar-with-image:hover {
  border-color: var(--bs-primary);
}

.card.card-sidebar-with-image.bg-primary:hover {
  background-color: #00466f !important;
  border-color: #004268 !important;
}

.card.card-sidebar-with-image .fa-arrow-right {
  position: absolute;
  right: 0.75em;
  bottom: 1em;
}

.card.card-sidebar-with-image span {
  display: block;
  line-height: 1;
  font-size: 0.8em;
}

.card.card-sidebar-with-image span p {
  margin: 0;
}

@media (min-width: 992px) {
  .card.card-sidebar-with-image {
    height: 9em;
  }
  .card.card-sidebar-with-image span {
    line-height: normal;
    font-size: 1em;
  }
}

/** news **/

.small-news * {
  text-decoration: none;
  color: inherit;
  font-size: 0.8em;
}

.small-news:hover * {
  color: var(--bs-primary);
}

@media (min-width: 992px) {
  .small-news * {
    font-size: 1em;
  }
}

.applications-prev-next {
  position: relative;
  background-color: var(--bs-primary);
  border: solid 1px;
  border-color: #004268;
  color: #fff;
}

.applications-prev-next:hover {
  background-color: #00466f !important;
}

.applications-prev-next a {
  color: #fff !important;
  font-weight: normal;
}

.applications-filtermist {
  position: relative;
  background-color: var(--bs-info);
  border-color: var(--bs-info);
  color: #fff !important;
}

.applications-filtermist:hover {
  background-color: #26b9f1 !important;
}

.applications-filtermist a {
  color: #fff !important;
  font-weight: normal;
}

.applications-bespoke-solutions {
  position: relative;
  background-color: var(--bs-primary);
  color: #fff;
}

.applications-bespoke-solutions:hover {
  background-color: #00466f !important;
}

.applications-bespoke-solutions a {
  color: #fff !important;
  font-weight: normal;
  font-size: 1.6em;
}

.applications-bespoke-solutions .fa-arrow-right {
  position: absolute;
  bottom: 1.5rem;
  right: 1.25rem;
  color: #fff;
  width: auto;
  margin: 0;
  padding: 0;
}


.sidebar-other-object {
  position: relative;
  border: solid 1px var(--bs-secondary);
}

.sidebar-other-object:hover {
  border-color: #004268;
}

.sidebar-other-object .i.fa-arrow-right {
  position: absolute;
  display: inline-block;
  margin: 0;
  padding: 0;
  bottom: .75rem;
  right: 1rem;
  color: var(--bs-primary);
  width: auto;
}