/* =====================
General
===================== */
:root {
  --bg-grey: #a1a1a1;
  --bg-light-grey: #f7f7f7;
  --bg-green-checkbox: #83ba11;
  --divider-light-grey: #eaeaea;
}

.l-cards-3 .l-card:nth-of-type(1) {
  padding-top: inherit;
}
.l-cards-3 .l-card:nth-of-type(3) {
  padding-top: 1.375rem;
}

.l-cards-inner {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}

/* =====================
Filters Sections
===================== */
#filters-section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: center;
  width: auto;
  margin: 0 1%;
  padding: 3vh 0;
  background-color: rgba(255, 255, 255, 0.85);
}

#filters-div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  width: 96vw;
  margin: 0 1%;
  padding: 3vh 0;
  background-color: rgba(255, 255, 255, 0.85);
}

#no-matches {
  display: none;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
  padding-top: 5%;
  background: #fff;
  text-align: center;
}

/* Filters Menu */
#filter-menu {
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  width: 285px;
  background-color: var(--bg-grey);
  min-height: -webkit-fit-content;
  min-height: -moz-fit-content;
  min-height: auto;
  top: 150px;
}

.filter-menu-position {
  height: 70px;
}

.hamburger-menu {
  display: none;
  width: 30px;
  height: 12px;
  background-image: url(../_images/_archive_forklift_used/icons/icon-hamburguer-menu.svg);
  float: right;
  position: relative;
  top: -40px;
  right: 10px;
}

.forklift-archive-header-bkg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(../_images/_archive_forklift_used/used-forklifts-banner.jpg)
    center center/cover no-repeat transparent;
}

.logo-approved-trucks {
  max-width: 272px;
  height: 100%;
  width: 100%;
}

.filter-menu-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 70px;
  width: 100%;
  color: #ffffff;
  font-size: 20.62px;
  line-height: 22px;
  text-align: center;
  margin: 0;
  font-weight: 400;
}

select {
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  max-width: 100%;
  height: 45px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  border: 1px solid var(--divider-light-grey);
  border-radius: 0;
  background-image: url("../_images/_archive_forklift_used/icons/icon-arrow-down.svg");
  background-position: 100% 50%;
  background-repeat: no-repeat;
  background-size: 44px;
  padding: 0 10px;
}

.filter-menu-options {
  padding: 37px 16px 26px 16px;
  background-color: var(--bg-light-grey);
}

.filter-menu-options-title {
  color: #333333;
  font-size: 20.62px;
  line-height: 22px;
  font-weight: bold;
  text-transform: capitalize;
  margin: 39px 0 8px 0
}

/* Filters Cards */
#filtered-cards {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 70%;
  margin-left: 2%;
}
#filtered-cards ul {
  list-style: none;
}
#filtered-cards ul li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  height: 42px;
  border-top: 1px solid var(--divider-light-grey);
  list-style: none;
}
#filtered-cards ul li:last-child {
  border-bottom: 1px solid var(--divider-light-grey);
  padding-bottom: 0.618rem;
}
#filtered-cards ul img {
  width: 100%;
}

.list-icon {
  width: 28px !important;
  padding-right: 15px;
}

.card-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-width: -moz-available;
  height: auto;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#ffffff),
    to(#f1f3f4)
  );
  background: linear-gradient(180deg, #ffffff 0%, #f1f3f4 100%);
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  align-items: stretch;
  padding: 25px;
  margin-bottom: 30px;
  z-index: 0;
}

.card-container:nth-child(1) {
  margin-top: 0;
}

.card-details {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: distribute;
  justify-content: space-between;
  margin-right: 15px;
  /* width: -webkit-fill-available; */
  height: auto;
  min-height: 476px;
  width: 40%;
  /* max-width: 40%; */
}

.list-features {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-line-pack: start;
  align-content: flex-start;
}

.card-title {
  font-size: 23px;
  color: #000000;
  font-weight: 400;
  margin-bottom: 6px;
}

.card-subtitle {
  margin-top: 0;
}

.card-price {
  margin: 0 0 0.3em;
  color: #a00020;
  font-size: 30px;
  font-weight: 600;
}

.card-details ul {
  padding-left: 0;
  margin: 0;
}

.list-features ul li img {
  height: 30px;
  width: 30px;
  padding-right: 10px;
}

.btn-red {
  margin-top: 30px;
  width: -webkit-fill-available;
}

.no-border {
  border-bottom: 0 !important;
}

#reset-filter {
  color: #a00020;
}

#reset-filter:hover {
  cursor: pointer;
}

/* Checbox */
.container-checkbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--divider-light-grey);
}

.container-checkbox:last-child {
  border: none;
}

.inner-container {
  display: block;
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.inner-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #ffffff;
  border: 1px solid var(--divider-light-grey);
  -webkit-transform: scale(1.48);
  transform: scale(1.48);
}

/* On mouse-over, add a grey background color */
.inner-container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.inner-container input:checked ~ .checkmark {
  background: url('../_images/_archive_forklift_hire/icons/svg/icon-green-tick.svg');
  border: 0;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.inner-container input:checked ~ .checkmark:after {
  display: none;
}

/* Style the checkmark/indicator */
.inner-container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.responsive-img {
  width: 100%;
  height: auto;
  max-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-item-align: center;
  align-self: center;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.card-details-image {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: auto;
  top: 60px;
  left: 80px;
}

.card-details-image img {
  position: absolute;
  width: auto;
  height: 26.5em;
  min-height: 26em;
  max-width: 30em;
  max-height: 26.5em;
  -o-object-fit: cover;
  object-fit: cover;
  z-index: 999;
}

.card-details__image {
  display: flex;
  width: calc(60% - 40px);
  /* height: -webkit-fill-available; */
  align-self: center;
  align-items: center;
  justify-content: center;
}

.owl-prev {
  width: 15px;
  height: 100px;
  position: absolute;
  top: 40%;
  margin-left: 15px;
  display: block !important;
  border: 0px solid black;
  font-size: 4em;
}

.owl-next {
  width: 15px;
  height: 100px;
  position: absolute;
  top: 40%;
  right: 15px;
  display: block !important;
  border: 0px solid black;
  font-size: 4em;
}

.owl-next span,
.owl-prev span {
  font-size: 4em;
  color: #fff;
}

.card-details__image .owl-dots {
  display: none;
}
.card-details__image .carousel-image {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.card-details__image .carousel-image .blur-img {
  width: 110%;
  height: 110%;
  position: fixed;
  background-size: cover;
  background-position: center center;
  filter: blur(5px);
}

.card-details__image .carousel-image img {
  display: block;
  object-fit: cover;
  position: relative;
  z-index: 999;
  width: auto !important;
  /* height: 26.5em; */
  min-height: 476px;
  max-width: 30em;
  max-height: 476px;
}

.card-details__image img {
  /* height: 26.5em;
  min-height: 26em;
  max-width: 30em;
  max-height: 26.5em;
  width: auto !important;
  margin: 0 auto;
  -o-object-fit: cover;
  object-fit: cover; */
}

img.blur-image {
  position: relative;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
  width: 100vw;
  max-height: 26em;
  top: 0;
  left: 0;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  z-index: -1;
}

.blur-container {
  overflow: hidden;
}

@media screen and (min-width: 1440px) {
  #window {
    overflow: unset;
  }

  #filters-div {
    width: 90vw;
    max-width: 80em;
  }

  /* .btn-card {
    margin-bottom: -6px;
  } */
}

@media screen and (max-width: 1440px) {
  .card-container {
    max-width: 100%;
  }

  #filters-section {
    margin: 0;
  }

  @media screen and (max-width: 1024px) {
    #filtered-cards {
      width: 100%;
    }
    .card-details-image img {
      max-height: 26.5em;
    }

    /* .card-details__image {
      max-height: 30em;
    } */

    .card-details__image .carousel-image img {
      height: 100%;
      max-height: 30em;
    }

    img.blur-image {
      max-height: 26em;
      max-width: 100%;
    }

    #filters-div {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -ms-flex-direction: column;
      flex-direction: column;
      margin: 0 1%;
    }

    #filter-menu {
      display: none;
    }

    #filtered-cards {
      margin-left: 0;
    }

    .card-container {
      max-width: 100%;
    }

    .filter-menu-options {
      display: none;
    }

    .btn-red {
      -ms-flex-item-align: center;
      align-self: center;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center;
    }

    .hamburger-menu {
      display: inline;
    }
  }
}
@media screen and (max-width: 768px) {
  .card-details__image {
    width: 96vw;
    height: auto;
    align-self: center;
  }

  .card-details {
    width: 96% !important;
  }

  .card-details-image img {
    max-width: 96vw;
  }

  img.blur-image {
    max-width: 100%;
  }

  #filtered-cards {
    margin-left: 0;
  }

  .card-details {
    margin: 2%;
    max-width: 100%;
  }

  .card-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 10px 0;
    padding: 0;
  }

  .hamburger-menu {
    display: inline;
  }
}

/* =====================
Side Menu
===================== */

#side-menu {
  display: none;
  width: 96%;
  height: 100%;
  z-index: 999999;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.9);
  color: #fff;
  overflow: hidden;
  padding: 2%;
}

.icon-close {
  -ms-flex-item-align: end;
  align-self: flex-end;
}
