

@media print {
  #menu, footer {
    display: none!important;
  }
}

body, html {
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  min-height: 100vh;
}

/* Keep the footer at the bottom of the window on short pages: the content grows to fill
   any space left over. */
body {
  display: flex;
  flex-direction: column;
}

#content {
  background-color: #fafafa;
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

.logo {
  max-height: 100px;
  max-width: 500px;
}

@media (max-width: 767px) { 
  .logo {
    max-height: 50px;
  }
}

@media (max-width: 320px) { 
  .display-4 {
    font-size: 28px;
  }
}

footer {
  color: #ccc;
  border: 0;
  border-color:rgb(212, 45, 31);
  border-style: solid;
  border-top-width: 5px;
  background-color: #373737;
}

/* Side Menu */

.list-limit {
  max-height: 420px;
  overflow-y:auto;
  overflow-x:hidden;
}

/* Menu */

.menu-logo {
  background-size: contain;
  background-repeat: no-repeat;
}

.menu-pages {
  list-style-type: none;
}
.menu-pages li {
  float: right;
  padding: 10px;
}

.menu-pages a {
  color: black;
}

/*  */

.menu-social {
  font-size: 24px;
  list-style-type: none;
  margin-top: 5px;
  margin-bottom: 0;
}

.menu-social li {
  float: right;
  padding: 5px;
}

.menu-social a {
  padding: 0;
  margin: 0;
}

/* 
 */
.menu-pages a:hover {
  color: rgb(212, 45, 31)!important;
  text-decoration: none;
}

.menu-bar {
  border-bottom: 2px solid #115dad;
}

.menu-bar a {
  color: white;
  font-weight: 800;
  font-size: 18px;
}

.menu-bar .active {
  background-color: #115dad;;
}

.menu-collapse-wrapper {
  position: relative;
}

.menu-collapse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background-color: #115dad;
  min-height: 200px;
  z-index: 9999;
  border: 0;
  border-style: solid;
  border-bottom-width: 5px;
  border-color: #004da0;
}
.cat-child img {
  height: 150px;
  text-align: center;
}

.menu-item {
  margin: 0;
  cursor: pointer;
}



.menu-item a, .cat-child a {
  color: white;
  font-weight: 600;
}

.menu-item a:hover, .cat-child a  {
  text-decoration: none;
}

/* Carousel Promotions */

#carouselPromotions {
  border: 0;
  border-color: #004da0;
  border-style: solid;
  border-bottom-width: 5px;
}

.carousel-item {
  height: 350px;
  overflow: hidden;
}

.carousel-item img {
  height: 350px;
}

.divider-wrap {
  padding: 0;
  margin: 0;
}

.dividerA {
    width: 100%;
    height: 350px;
    position: relative;
}

.dividerA:before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-right: 100px solid white;
  border-top: 175px solid transparent;
  border-bottom: 175px solid transparent;
}

  .dividerB {
    width: 100%;
    height: 350px;
    position: relative;
  }

  .dividerB:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 100px solid white;
    border-top: 175px solid transparent;
    border-bottom: 175px solid transparent;
  }
  



.basket-del-options, 
.basket-del-options a, 
.basket-upsell-added, 
.basket-upsell-added a, 
.basket-upsell-options, 
.basket-upsell-options a {
  font-size: 20px;
  font-weight: 300;
}




.jumbotron  {
  padding: 15px!important;
}
.jumbotron .display-4 {
  margin-bottom: 4px;
  margin-top: 8px;
}
@media (max-width: 767px) { 
  .jumbotron .display-4 {
    font-size: 30px;
    margin-bottom: 4px;
  }
  .jumbotron  {
    padding: 10px!important;
  }
}

@media (max-width: 400px) { 
  .jumbotron p {
    font-size: 16px;
  }
}

footer h2 {
  font-size: 24px;
}
footer .lead {
  font-size: 18px;
}
footer .social-icon {
  font-size: 24px;
}

@media (max-width: 992px) { 
  footer .lead {
    font-size: 16px;
  }
  footer h2 {
    font-size: 22px;
  }
}

/* Menu */

#main-menu.navbar .dropdown-menu div[class*="col"] {
  margin-bottom:1rem;
}

/* The category titles in the blue bar (Laundry, Dishwashing...), not the links in their dropdowns */
#main-menu.navbar .navbar-nav > .nav-item > .nav-link {
  color: rgba(255, 255, 255, .95);
  font-weight: 600;
}
#main-menu.navbar .navbar-nav > .nav-item > .nav-link:hover,
#main-menu.navbar .navbar-nav > .nav-item > .nav-link:focus {
  color: #fff;
}

#main-menu.navbar .dropdown-menu {
 border:none;
 background-color:#0060c8!important;
}

/* From where the navbar stops collapsing (navbar-expand-md): mega dropdowns that open on hover.
   Clicks, taps and the keyboard are handled by Bootstrap. */
@media screen and (min-width: 768px) {
 
 /* remove the padding from the navbar so the dropdown hover state is not broken */
 #main-menu.navbar {
  padding-top:0px;
  padding-bottom:0px;
  }

  /* remove the padding from the nav-item and add some margin to give some breathing room on hovers */
  #main-menu.navbar .nav-item {
  padding:.5rem .5rem;
  margin:0 .25rem;
  }

  /* makes the dropdown full width  */
  #main-menu.navbar .dropdown {
    position:static;
  }
  #main-menu.navbar .dropdown-menu {
  width:100%;
  left:0;
  right:0;
  top:45px;
  }
  
  /* shows the dropdown menu on hover */
  #main-menu.navbar .dropdown:hover .dropdown-menu, #main-menu.navbar .dropdown .dropdown-menu:hover {
    display:block!important;
  }
  
  #main-menu.navbar .dropdown-menu {
    border: 1px solid rgba(0,0,0,.15);
    background-color: #fff;
  }
}

@media screen and (max-width: 575px) {
  #main-menu .cat-thumb {
    margin-left:10px;
  }
}

.search-prod-title {
  font-size: 1.75rem;
}

@media screen and (max-width: 400px) {
  .search-prod-title {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 350px) {
  .search-prod-title {
    font-size: 1.25rem;
  }
}


  .page-banner .display-1 {
    font-size: 4rem;
    text-align: center;
  }

  @media screen and (max-width: 900px) {
    .page-banner .display-1 {
      font-size: 3rem;
      text-align: center;
    }
  }

  @media screen and (max-width: 450px) {
    .page-banner .display-1 {
      font-size: 2rem;
      text-align: center;
    }
  }


  .page-section .card-columns {
    column-count: 3;
  }

  .brand-section .card-columns {
    column-count: 4;
  }
  
  @media screen and (max-width: 992px) {
    .brand-section .card-columns {
      column-count: 3;
    }    
  }

  @media screen and (max-width: 767px) {
    .page-section .card-columns {
      column-count: 1;
    }
    .brand-section .card-columns {
      column-count: 2;
    }    
  }

.video-thumbnail {
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin: 30px;
 }

 .video-thumbnail :before {
  position:absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  content: "\f144";
	font-family: 'Font Awesome\ 5 Free';
  font-size: 50px;
  font-weight: 900;
  color: #fff;
  opacity: .8;
  text-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
}

.video-thumbnail :hover:before {
  color: #eee;
}

/* Item count on the basket icon in the header (logged-in staff) */
.menu-basket-count {
  font-size: 11px;
  vertical-align: top;
  margin-left: -6px;
}

/* Cookie consent banner (CookieConsent 3) in the site's colours */
#cc-main {
  --cc-btn-primary-bg: #007bff;
  --cc-btn-primary-border-color: #007bff;
  --cc-btn-primary-hover-bg: #0069d9;
  --cc-btn-primary-hover-border-color: #0062cc;
  --cc-toggle-on-bg: #007bff;
}

/* Opening hours accordion (templates/frontend/inc_opening_hours.html): dark in the footer, light in cards */
.opening-hours__set {
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.opening-hours__set > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem;
  padding: .4rem 0;
  font-weight: 600;
}
.opening-hours__heading {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  padding: .4rem 0;
  font-weight: 600;
}
.opening-hours__set--only {
  border-bottom: none;
}
.opening-hours__set > summary::-webkit-details-marker {
  display: none;
}
.opening-hours__set > summary::after {
  content: "+";
  font-weight: 400;
  opacity: .6;
}
.opening-hours__set[open] > summary::after {
  content: "\2013";
}
.opening-hours__title {
  margin-right: auto;
}
.opening-hours__when {
  font-weight: 400;
  font-size: .8em;
  white-space: nowrap;
}
.opening-hours__when--upcoming {
  color: #b8860b;
}
.opening-hours__when--current {
  color: #28a745;
}
.opening-hours__days {
  width: 100%;
  margin-bottom: .5rem;
}
.opening-hours__days td:last-child {
  text-align: right;
}
.opening-hours__differs td {
  color: #b8860b;
  font-weight: 600;
}
footer .opening-hours {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 1rem;
}
footer .opening-hours__set {
  border-bottom-color: rgba(255, 255, 255, .2);
}
footer .opening-hours__set > summary,
footer .opening-hours__heading {
  color: #fff;
}
footer .opening-hours__when--upcoming,
footer .opening-hours__differs td {
  color: #f0ad4e;
}
footer .opening-hours__when--current {
  color: #5cb85c;
}
