.searchbox {
  width: 98%;
  margin: 10px auto;
  /* border: solid 2px var(--theme-bg-color); */
  /* border-radius: 8px; */
  background: #f0f3f6;
}
.search_head {
  padding: 0.2em 1em 0.2em;
  background: var(--theme-secondary-color);
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
}
.search_head img {
  height: 80%;
  margin-right: 10px;
}
.search_body {
  border-collapse: initial;
  width: 100%;
  padding: 0.5em 1em;
}

.search_body td {
  width: 33.33%;
  padding-right: 1rem;
}

.search_body td:last-child {
  padding-right: 0;
}

.search_body th {
  width: 22%;
  height: 36px;
  background: #ebeff1;
  font-size: 12px;
}
.search_body td nobr {
  display: inline-block;
  width: 48%;
  margin-bottom: 3px;
  font-size: 1.2rem;
}
.search_body td.wide nobr {
  width: 98%;
}
.search_body input[type='radio'],
.search_body input[type='checkbox'] {
  position: relative;
  margin-right: 0;
}
.search_body input::before,
.search_body input::after {
  content: '';
  position: absolute;
  display: block;
  top: -3px;
  transition: opacity 0.3s;
}
.search_body input[type='radio']::before {
  left: -6px;
  width: 16px;
  height: 16px;
  background: #fff;
  border: solid 2px #ccc;
  border-radius: 50%;
}
.search_body input[type='radio']::after {
  left: -6px;
  width: 9px;
  height: 9px;
  border: solid 6px var(--theme-bg-color);
  border-radius: 50%;
  opacity: 0;
}
.search_body input[type='checkbox']::before {
  top: 0px;
  left: -1px;
  width: 14px;
  height: 14px;
  background: #ECEFF4;
  /* border: solid 2px #ccc; */
  /* border:none; */
  /* border-radius: 3px; */
}
.second_checkbox .search_body input[type='checkbox']::before {
  top: 0px;
  left: -1px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  /* border: solid 2px #ccc; */
  /* border:none; */
  /* border-radius: 3px; */
}
.search_body input[type='checkbox']::after {
  left: -3px;
  top: -1px;
  width: 14px;
  height: 14px;
  background: #2B66AC;
  background-image: url(/images/checkbox.png);
  background-size: 100% 100%;
  border: solid 2px #2B66AC;
  /* border-radius: 3px; */
  opacity: 0;
}
.search_body input[type='radio']:checked::after,
.search_body input[type='checkbox']:checked::after {
  opacity: 1;
}
.checkbox-toggle {
  text-align: center;
  color: var(--theme-secondary-color);
  border: 1px solid var(--theme-secondary-color);
  border-right: none;
  border-left: none;
  border-top: none;
  padding: 0px 5px 5px;
  position: relative;
  margin: 0px 22px;
  /* cursor: pointer; */
  font-weight: 700;
  font-size: 1.4rem;
}
#checkbox-toggle--wrapper {
  position: relative;
}
.checkbox-icon--before {
  position: absolute;
  top: 4px;
  left: 95%;
  color: var(--theme-secondary-color);
  font-size: 18px;
  font-weight: bold;
}
.checkbox-icon--after {
  position: absolute;
  top: 1px;
  left: 95%;
  color: var(--theme-secondary-color);
  font-size: 23px;
  font-weight: bold;
}
.search_body .search_feature {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  /* width: 98%; */
  margin: 5px 56px;
}
.search_body .search_type {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  width: 98%;
  margin: 5px auto;
}
.search_body .search_feature nobr {
  display: flex;
  align-items: center; 
  height: 2.5em;
  padding-left: 1.2em;
  background: #ffffff;
  border-radius: 20px;
  border: 2px solid #2B66AC;
  
}
.search_body .search_feature nobr span {
  margin-left: 0.6em;
  color: #2B66AC;
  font-weight: 700;
  font-size: 1.4rem;
}

.search_toggleoption {
  width: 240px;
  margin: 0 auto;
  padding: 0.2em 0;
  background: #555;
  border-radius: 8px;
  text-align: center;
  color: #fff;
  font-size: 14px;
}
.search_footer {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 90px;
  /* background: url(/images/search/search_bg.png); */
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.search_footer::before {
  content: '';
  position: absolute;
  top: 0;
  width: 100%;
  height: 15px;
  /* background: center no-repeat url(/images/search/search_body_arrow.png); */
  background-size: 30px 15px;
}
.search_button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 280px;
  height: 50px;
  margin-top: 5px;
  background: #2B66AC;
  box-shadow: 0 4px 4px #333;
  border-radius: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}

.select {
  width: 100%;
  max-width: 400px;
  padding: 0.75rem;
  border: none;
  height: 40px;
  appearance: none;
  background-color: #ffffff;
  /* background-image: linear-gradient(45deg, transparent 50%, #70a9db 50%),
    linear-gradient(135deg, #70a9db 50%, transparent 50%); */
  background-position: calc(100% - 20px) 1em, calc(100% - 15px) 1em;
  background-size: 5px 5px, 5px 5px, 2.5em 2.5em;
  background-repeat: no-repeat;
}

.custom-select {
  position: relative;
}
.custom-select:after {
  position: absolute;
  content: url(https://api.iconify.design/material-symbols/arrow-forward-ios.svg?color=%230a315f);
  height: 20px;
  width: 20px;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
}

.outlet label{
  /* border: 2px solid rgb(112, 169, 219); */
  padding: 3.5px;
  border-radius: 5px;
}

.outlet label input[type="checkbox"]{
  margin-right: 4px;
}


@media screen and (min-width: 768px) {
  .search_body td nobr {
    width: 24%;
    font-size: 1.4rem;
  }
  .search_body td.wide nobr {
    width: 38%;
  }
  .search_body td.radio nobr:nth-child(2) {
    width: 66%;
    font-size: 1.4rem;
  }
  .search_toggleoption,
  .search_button {
    width: 280px;
    height: 50px;
  }
  .search_body .search_feature {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .search_body .search_feature {
    margin: 0px;
  }
  .checkbox-icon--after {
    left: 92%;
  }
  .checkbox-icon--before {
    left: 92%;
  }
  .search_button {
    margin-top: 15px;
  }
}
