/* Breadcrumb container */
/* .insurance-plan-banner {
    background-image: url(../images/insurance-plan-banner.webp);
} */

.insurance-plan-sec-title {
  margin-bottom: 0;
}

/* Insurance Plan Section */
.search-box {
  position: relative;
}

input.search-field:focus-visible,
.dropdown-toggle:focus-visible {
  outline: 0;
}

input.search-submit {
  background: url(../images/icon_search.svg) no-repeat left center;
  background-size: contain;
  padding: 0;
  border: 0;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 8px;
  left: 12px;
}

.listing-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  height: 100%;
}

.dropdown-menu hr {
  border-top: 1px solid #d3d3d3;
  margin-top: 22px;
  opacity: 1;
}

.box-card-wrapper {
  border: 1px solid #eeeeee;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
}

.box-card-image {
  overflow: hidden;
  display: block;
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.box-card-image img {
  transition: all 0.3s ease-in-out;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.box-card-content {
  padding: 16px;
}

.box-card-content h3,
.box-card-content h3 a {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

.box-card-content h3 a:hover {
  color: #00457c;
  transition: 0.3s ease-in-out;
}

.box-card-content p {
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  color: #565656;
}

.category-price-wrapper {
  margin-bottom: 0;
}

.insurance-category {
  background-color: #eef2f6;
  border-radius: 20px;
  padding: 4px 8px;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  color: #1a1b1c;
  text-align: center;
  display: inline-block;
}

.insurance-price {
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  color: #1a1b1c;
}

.box-card-wrapper:hover .box-card-image img {
  transform: scale(1.2);
  transition: all 0.3s ease-in-out;
}

/* .dropdown {
    background: #EEF2F6;
    padding: 7px 12px;
    border-radius: 4px;
    border: 1px solid #D3D3D3;
} */

.dropdown-toggle::after {
  display: none;
}

.insurance-plan .dropdown .dropdown-toggle {
  background: #eef2f6;
  padding: 7px 12px;
  border-radius: 4px;
  border: 1px solid #d3d3d3;
  gap: 8px;
  font-size: 16px;
  line-height: 21px;
  font-weight: 400;
  color: #969696;
}

.dropdown-menu {
  padding: 20px;
  border: none;
  border-radius: 20px;
  box-shadow: 0px 4px 8px 0px #00000040;
  transform: translate(0, 60px) !important;
  transition: 0.4s;
  background: #fff;
  z-index: 4;
  -webkit-animation-name: DropDownSlide;
  animation-name: DropDownSlide;
  -webkit-animation-duration: 0.4s;
  animation-duration: 0.4s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  position: absolute !important;
  top: 100% !important;
  min-width: 267px;
  max-width: 267px;
  width: 100%;
  height: fit-content;
}

.dropdown-menu.show {
  transform: translate(0, 5px) !important;
  transition: 0.4s;
}

[data-popper-placement="top-start"] {
  animation-name: DropDownSlideDown;
}

.filter-sorting {
  display: flex;
  gap: 8px;
}

.type-warpper .form-check:last-of-type {
  margin-bottom: 0;
}

.btn-wrapper {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

@keyframes DropDownSlide {
  100% {
    margin-top: -1px;
  }

  0% {
    margin-top: 8px;
  }
}

@keyframes DropDownSlideDown {
  100% {
    margin-bottom: 0;
  }

  0% {
    margin-bottom: 8px;
  }
}

/* Insurance Plan Section End*/

/* Range Slider */
.wrapper {
  position: relative;
  /* padding: 16px 20px 16px 20px; */
  /* border-bottom: 1px solid #f1f1f1; */
}

.container-range {
  position: relative;
  width: 100%;
  height: 100%;
  margin-top: 12px;
  margin-bottom: 9px;
}

input[type="range"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  outline: none;
  position: absolute;
  margin: 0;
  top: 2px;
  bottom: 0;
  background-color: transparent;
  pointer-events: none;
  padding: 0;
  border: 0;
  margin-top: -6px;
}

.slider-1 {
  z-index: 1;
}

.slider-2 {
  z-index: 2;
}

.slider-track {
  width: 100%;
  height: 8px;
  margin: 0;
  top: 0;
  bottom: 0;
  border-radius: 8px;
  margin-top: 16px;
  margin-bottom: 17px;
}

input[type="range"]::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  height: 6px;
}

input[type="range"]::-moz-range-track {
  -moz-appearance: none;
  height: 6px;
}

input[type="range"]::-ms-track {
  appearance: none;
  height: 6px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  display: block;
  height: 20px;
  width: 20px;
  background-color: #fff;
  cursor: pointer;
  margin-top: -5px;
  pointer-events: auto;
  border-radius: 50%;
  border: 1px solid #00457c;
}

input[type="range"]::-moz-range-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 20px;
  width: 20px;
  cursor: pointer;
  border-radius: 50%;
  background-color: #fff;
  pointer-events: auto;
  border: 1px solid #00457c;
}

input[type="range"]::-ms-thumb {
  appearance: none;
  height: 20px;
  width: 20px;
  cursor: pointer;
  border-radius: 50%;
  background-color: #fff;
  pointer-events: auto;
  border: 1px solid #00457c;
}

input[type="range"]:active::-webkit-slider-thumb {
  background-color: #00457c;
  border: 1px solid #ffffff;
}

.values {
  position: relative;
  display: flex;
  align-items: center;
}

.values-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  color: #121111;
  border: 0;
  border-radius: 20px;
  padding: 0;
  max-width: fit-content;
  width: 100%;
}

/* Range Slider End */
/* Checkbox */
.form-check {
  display: flex;
  align-items: center;
  padding: 0;
  margin-bottom: 10px;
}

.form-check-input {
  display: none;
}

.form-check-label {
  position: relative;
  padding-left: 26px;
  margin-bottom: 0;
  cursor: pointer;
}

.form-checkbox label::before {
  content: "";
  height: 16px;
  width: 16px;
  border: 1px solid #d3d3d3;
  border-radius: 4px;
  position: absolute;
  top: 2px;
  left: 0;
}

.form-checkbox label::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 3px;
  height: 11px;
  width: 11px;
  background: url(../images/icon_check.svg) no-repeat center / contain;
  opacity: 0;
}

.form-check-input:checked[type="checkbox"] + .form-check-label::before {
  background-color: #00457c;
  border-color: #00457c;
}

.form-check-input:checked[type="checkbox"] + .form-check-label::after {
  opacity: 1;
}

/* Checkbox end */
/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.pagination .page-item a {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  padding: 5px;
  color: #969696;
  border: 1px solid transparent;
  border-radius: 100%;
}

.pagination .page-item.previous a,
.pagination .page-item.next a {
  border: 1px solid #565656;
  border-radius: 100%;
}

.pagination .page-item.active a {
  color: #00457c;
}

.pagination .page-item a:hover {
  border: 1px solid #565656;
  border-radius: 100%;
  transition: 0.3s ease-in-out;
}

.pagination .page-item.previous a:before,
.pagination .page-item.next a:before {
  content: "";
  width: 24px;
  height: 24px;
  -webkit-mask-image: url(../images/left_icon_arrow.svg);
  mask-image: url(../images/left_icon_arrow.svg);
  mask-repeat: no-repeat;
  mask-position: center;
  background: #969696;
  transition: 0.3s ease-in-out;
}

.pagination .page-item.next a:before {
  -webkit-mask-image: url(../images/right_icon_arrow.svg);
  mask-image: url(../images/right_icon_arrow.svg);
}

.pagination .page-item.previous a:hover:before,
.pagination .page-item.next a:hover:before {
  background: #00457c;
  transition: 0.3s ease-in-out;
}

.pagination .page-link:focus {
  outline: 0;
  box-shadow: none;
}

/* Pagination End */
@media (max-width: 991px) {
  /* Insurance Plan Section */
  .light-blue-box {
    padding: 16px 16px 10px 12px;
    border-radius: 16px;
  }

  .box-card-content {
    padding: 10px;
  }

  .insurance-category {
    font-size: 12px;
  }

  .insurance-price {
    font-size: 14px;
    line-height: 18px;
  }

  /* Insurance Plan Section End */

  /* Pagination */
  .pagination .page-item a {
    width: 40px;
    height: 40px;
  }

  .pagination .page-item.previous a:before,
  .pagination .page-item.next a:before {
    width: 20px;
    height: 20px;
  }

  /* Pagination End */
  .btn-wrapper {
    margin-top: 24px;
    justify-content: start;
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .order-list li span {
    font-size: 15px;
  }

  .order-list li p {
    font-size: 15px;
    line-height: 22px;
  }

  /* Pagination */
  .pagination .page-item a {
    width: 36px;
    height: 36px;
  }

  .pagination .page-item.previous a:before,
  .pagination .page-item.next a:before {
    width: 16px;
    height: 16px;
  }

  /* Pagination End */

  /* insurance-plan  */
  .insurance-plan-sec-title {
    margin-bottom: 12px;
  }

  .listing-right {
    justify-content: flex-start;
  }

  .filter-sorting {
    gap: 16px;
  }

  .icon-filter,
  .icon-sorting {
    width: 18px;
    height: 18px;
  }

  .dropdown .dropdown-toggle {
    font-size: 14px;
    line-height: 20px;
  }
  .btn-wrapper {
    margin-top: 20px;
  }
  /* insurance-plan End */
  .text-sm {
    font-size: 14px;
    line-height: 20px;
  }
  .btn-wrapper {
    margin-top: 14px;
    gap: 12px;
  }
}

@media (max-width: 575px) {
  .order-list li p {
    font-size: 14px;
    line-height: 21px;
  }

  /* Pagination */
  .pagination {
    gap: 8px;
    margin-top: 12px;
  }

  .pagination .page-item a {
    width: 32px;
    height: 32px;
  }

  /* Pagination End */
}

@media (max-width: 480px) {
  .listing-right {
    flex-wrap: wrap;
    gap: 12px;
  }
  .filter-sorting {
    gap: 12px;
  }
  .search-box {
    flex-grow: 1;
  }
  input.search-field {
    min-width: 100%;
    max-width: 100%;
  }
  .sort-dropdown .dropdown-menu {
    min-width: 200px;
  }
}
@media (max-width: 390px) {
  .dropdown-menu.show {
    left: 0px !important;
  }
}
