.search_background {
  background-color: #f7f7f7;
}

.Search_SFX_page_title_block {
  background-color: #f7f7f7;
  padding-top: 70px;
}

.Search_SFX_no_padding {
  padding: 0px;
}


.Search_SFX_search_bar_group {
  top: 45%;
  float: none;
  width: 100%;
  max-width: 1000px;
  margin: auto;
  margin-top: 40px;
}

.SFX_no_float {
  float: none;
}

.Search_SFX_search_bar {
  margin: auto;
  max-width: 95%;
}

/* General styling for the image */
.Search_responsive-image {
  display: block;
  max-width: 100%; /* Ensures image doesn't overflow its container */
  height: auto; /* Maintains aspect ratio */
  margin: 0 auto; /* Center the image if needed */
}

@media screen and (min-width: 768px) {
  .search_result_container {
    /*border:1px solid #cccccc;*/
    border-radius: 25px;
    margin-bottom: 80px;
    background-color: #ffffff;
  }
}

.BTN_search {
  position: absolute;
  top: 5px;
  right: 21px;
  border-radius: 30px;
  padding: 18px 0px;
  width: 130px;
  font-size: 16px;
  height: 60px;
  background-color: #377dff;
  color: #ffffff;
  border: 4px solid #ffffff;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.BTN_search img {
  margin-bottom: 1px;
}

.BTN_search:hover {
  background-color: #003d7d;
  cursor: pointer;
}

#searchText {
  border-radius: 50px;
  font-size: 18px;
  color: #464646;
  font-weight: 500;
  height: 70px;
  padding-left: 25px;
}

/*.glyphicon {
    top: 2px;
}*/

.Search_SFX_search_category {
  padding-top: 5%;
  padding-bottom: 5%;
}

.Search_SFX_search_category_counts {
  font-size: 24px;
  font-weight: 600;
  color: #464646;
}

.Search_SFX_search_category_filter_results_text {
  color: #c2c2c2;
  margin: 10% 0%;
  padding: 0;
  font-weight: 600;
}

.Search_SFX_search_results {
  border-left: 1px solid #e5e5e5;
  padding-top: 5%;
  padding-bottom: 5%;
  padding-right: 3%;
}

.Search_SFX_search_results_block {
  border-bottom: 1px solid #e5e5e5;
  margin: 0% 0% 3% 4%;
}

.Search_SFX_search_results_name {
  font-size: 24px;
  color: #377dff;
  padding-bottom: 2%;
  font-weight: 600;
}

.Search_SFX_search_results_description {
  color: #868686;
  font-size: 16px;
  line-height: 2;
}

.Search_SFX_search_results_link {
  color: #fe5f55;
  padding-top: 3%;
  padding-bottom: 3%;
}

/* Customize the label (the container) */
.checkbox_container {
  display: block;
  position: relative;
  padding-left: 13%;
  margin-bottom: 7%;
  cursor: pointer;
  font-size: 18px;
  color: #464646;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox_container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 30px;
  width: 30px;
  border-radius: 5px;
  background-color: #e1e1e1;
  transition: 0.3s;
}

/* On mouse-over, add a grey background color */
.checkbox_container:hover input ~ .checkmark {
  background-color: #ccc;
  transition: 0.3s;
}

/* When the checkbox is checked, add a blue background */
.checkbox_container input:checked ~ .checkmark {
  background-color: #377dff;
  transition: 0.3s;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkbox_container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox_container .checkmark:after {
  left: 12px;
  top: 8px;
  width: 7px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

@media screen and (max-width: 1040px) {
  /*    .Search_SFX_page_title_block {
        background-image: url(/images/Lonpac/banner_shape_mobile.svg);
    }*/

  /*.Search_SFX_search_bar {
        margin: auto;
        width: auto;
    }*/
}

@media screen and (max-width: 767px) {
  .BTN_search {
    width: 60px;
  }

  .SFX_Search_Pills_Block {
    padding: 0px 15px;
  }

  .Search_SFX_search_bar_group {
    margin-top: 80px;
  }

  .search_background {
    background-color: #ffffff;
  }

  .Search_responsive-image {
    width: 127px;
    height: 100px;
  }
}

/* Tablet view */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .Search_responsive-image {
    width: 155px;
    height: 122px;
  }
}

/* Desktop view */
@media screen and (min-width: 1025px) {
  .Search_responsive-image {
    width: 155px;
    height: 122px;
  }
}
