div.text_input{ float:left; margin:0 10px 0 15px;}
	div.search_button input{width: 10em;height: 3em;background: #163e58;border: none;color: white;}
    select.category_search_deopdown {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  outline: 0;
  box-shadow: none;
  border: 0 !important;
  background: white !important;
  background-image: none;
}
/* Remove IE arrow */
select.category_search_deopdown::-ms-expand {
  display: none;
}
/* Custom Select */
div.text_input input{height: 3em;line-height: 3;border: 1px solid grey;width: 16em;
    padding-left: 10px;}
.select {
  float:left;
  display: flex;
  width: 15em;
  height: 3em;
  line-height: 3;
  background: #2c3e50;
  overflow: hidden;
  border: 1px solid grey;
  position: relative;
}
select.category_search_deopdown {
  flex: 1;
  padding: 0 .5em;
  color: black;
  cursor: pointer;
}
/* Arrow */
.select::after {
  content: '\25BC';
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 1em;
  background: #444444;
  color: #847a7a;
  cursor: pointer;
  pointer-events: none;
  -webkit-transition: .25s all ease;
  -o-transition: .25s all ease;
  transition: .25s all ease;
}
/* Transition */
.select:hover::after {
  /*color: #f39c12;*/
}
#benefits-page #page-content{ width:100%;}
@media (min-width: 767px)
{
body #benefits-page .featured-partners .partner {
    width: 25%!important;
}
}
.holder {
    margin:15px 0;
    display: flex;
    justify-content: center;
    width: 18rem !important;
}
.holder a {
    font-size:12px;
    cursor:pointer;
    margin:0 5px;
    color:#195184 !important;
}
.holder a:hover {
    background-color:#222;
    color:#fff;
}
.holder a.jp-previous {
    margin-right:15px;
}
.holder a.jp-next {
    margin-left:15px;
}
.holder a.jp-current,a.jp-current:hover {
    color:#FF4242 !important;
    font-weight:bold;
}
.holder a.jp-disabled,a.jp-disabled:hover {
    color:#bbb;
}
.holder a.jp-current,a.jp-current:hover,.holder a.jp-disabled,a.jp-disabled:hover {
    cursor:default;
    background:none;
}
.holder span {
    margin:0 5px;
}
.featured-partners {
  text-align: center;
}
form {
    /*float:right;*/
    margin-right:10px;
}
form label {
    margin-right: 5px;
}
div#all_benefit_listing{ min-height: auto !important;}
/*pagination style */
.pagination {
  display: inline-block;
}

.holder a {
  color: black;
  margin: 0px;
  padding: 8px;
  text-decoration: none;
  border: 1px solid #ddd;
}

.holder a.active {
  background-color: #4CAF50;
  color: white;
  border: 1px solid #4CAF50;
}

.holder a:hover:not(.active) {background-color: #ddd;}

.holder a:first-child {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  margin:0px;
}

.holder a:last-child {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
   margin:0px;
}
div#all_benefit_listing{ background:none !important;}

.overlay {
  position: absolute;
  top: 70px;
  bottom: 0;
  left: 0;
  right: 0;
  height: auto;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #e1e1e1;
}
.text input{    color: white;
    border: none;
    padding: 8px 8px 8px 8px;}
#partner-new:hover .overlay {
  opacity: 1;
}
#partner-new:hover{ background-color: #e1e1e1;}
#partner-new img{ cursor:pointer;}

.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.benefits-single {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.summary-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Media Queries */
@media only screen and (max-width: 600px) {
  /* Login Logo */
  div.login-logo img {
    width: 200px !important;
  }

  #benefits-page #page-content {
    padding: 0;
  }

  #benefits-login-bar #login {
    margin: 0;
  }

  .summary-container {
    flex-direction: column;
    gap: 1rem;
  }
}

/* New style added */
div#partner-new{ /*background-color:#e1e1e1 !important;*/ border:1px solid #e1e1e1;}
@media (min-width: 767px)
{
body #benefits-page .featured-partners.all_benefit_listing #partner-new {
    /* width: 32%; */
    width: 32% !important;
}
body #benefits-page.vendors-page .featured-partners.all_benefit_listing #partner-new {
    width: 24% !important;
}
}
body #benefits-page .featured-partners.all_benefit_listing #partner-new
{
	margin-right: 10px !important;padding: 15px;margin-bottom: 10px; height:182px;
}
@media all and (max-width:1024px) {
	body #benefits-page .featured-partners.all_benefit_listing #partner-new{ height:200px !important;}
}
#benefits-page .featured-partners #partner-new .content .title{ font-weight:bold;}
#benefits-page .featured-partners #partner-new .content .summary{ font-weight: normal !important;}
@media all and (max-width:767px) and (min-width:480px) {
	body #benefits-page .featured-partners.all_benefit_listing #partner-new {
    width: 45% !important;
}
}
div.serch_bar{background-color: #e1e1e1;padding: 20px 0 20px 0;}
div.search_inner_div{
  margin: auto;
  width: 700px;
}
@media (min-width: 481px) and (max-width: 767px) {
div.search_inner_div,div.search_inner_div div.select,div.search_inner_div div.text_input,div.search_inner_div div.search_button,div.search_inner_div div.search_button input,div.search_inner_div div.text_input input{ width:100%;}
div.search_inner_div div.text_input{ margin:0px !important;}
div.search_inner_div{margin-left: 5px;}
div.search_inner_div div.select,div.search_inner_div div.text_input,div.search_inner_div div.search_button{ margin:0 0 5px 0 !important;}
}

@media all and (max-width:767px) {
	div.search_inner_div {
		width: 100%;
	}
	form.search_tag_form{
		margin-right: 0px;
	}
	form.search_tag_form > div{
		width: 80%;
		margin: 0 auto;
		margin-bottom: 10px;
		float: none;
	}
	form.search_tag_form div.text_input input{
		width: 100%;
	}
	form.search_tag_form div.search_button input{
		width: 100%;
	}
}
.all_vendor_listing ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none; /* Ensures no default list styles */
  gap: 16px; /* Adjust the gap between items as needed */
  align-items: center;
}

.all_vendor_listing li {
  flex: 1 1 calc(25% - 16px); /* 4 columns for laptop */
  padding: 15px; /* Add padding as needed */
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.all_vendor_listing li img {
  max-width: 250px;
  max-height: 100%;
  display: block;
  object-fit: contain; /* Ensures the image fits within the container without being stretched */
}

@media (max-width: 1024px) {
  .all_vendor_listing li {
    flex: 1 1 calc(50% - 16px); /* 2 columns for tablet */
  }
}

@media (max-width: 768px) {
  .all_vendor_listing li {
    flex: 1 1 100%; /* 1 column for mobile */
  }
}

@media (max-width: 768px) and (min-width: 480px) {
  .all_vendor_listing li {
    flex:  Adjusted
  }
}

/*#vendors-new img{ cursor:pointer;}*/
div#vendors-new{ /*background-color:#e1e1e1 !important;*/ border:1px solid #e1e1e1;}
#vendors-new:hover .overlay {
  opacity: 1;
}
#vendors-new:hover{ background-color: #e1e1e1;}
#vendors-new img{ cursor:pointer;}


@media (min-width: 767px)
{
body #benefits-page .featured-partners.all_benefit_listing #vendors-new {
    /* width: 32%; */
    width: 24% !important;
}
}

body #benefits-page .featured-partners.all_benefit_listing #vendors-new
{
	margin-right: 10px !important;padding: 15px;margin-bottom: 10px; height:192px;
}
@media all and (max-width:1024px) {
	body #benefits-page .featured-partners.all_benefit_listing #vendors-new{ height:200px !important;}
}
#benefits-page .featured-partners #vendors-new .content .title{ font-weight:bold;}
#benefits-page .featured-partners #vendors-new .content .summary{ font-weight: normal !important; line-height: 20px;}

@media all and (max-width:767px) and (min-width:480px) {
	body #benefits-page .featured-partners.all_benefit_listing #vendors-new {
    width: 45% !important;
}
}
.vendors-page-list a {
    text-decoration: none !important;
}
