.Main-section {
  max-width: max-content;
}

.pageSearch .searchWrapper span.search input {
  padding: 20px 0px 20px 20px !important;
}

.pageSearch .searchWrapper {
  padding-right: 85px;
}

.pageSearch .searchWrapper span.searchMembership .input {
  padding: 20px 0px 20px 15px !important;
}

.member-list-section {
  max-width: 1600px !important;
}

.Main-section {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  max-width: 1600px !important;
}

.section-1 {
  margin-right: auto;
  margin-left: auto;
  margin-top: 5rem;
}

.section-1 h4.our-members {
  color: #f56934;
  font-family: "Montserrat", Sans-serif;
  font-size: 20px;
  font-weight: 400;
  text-transform: none;
  text-align: center;
}

h1.heading {
  font-family: "Montserrat", Sans-serif;
  font-size: 57px;
  font-weight: bold;
  text-transform: none;
  line-height: 73px;
  -webkit-text-stroke-color: #000;
  stroke: #000;
  text-align: center;
}

.section-1 p {
  color: #434343;
  font-family: "Poppins", Sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 34px;
  padding: 0 14rem;
  text-align: center;
}

.pageSearch {
  display: block;
}

.pageSearch {
  padding: 0px 0px 25px;
}

.searching {
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

span.search {
  width: 100%;
}

/* .searching img {
  padding: 20px 0px 20px 15px !important;
} */
.pageSearch .searchWrapper {
  background: #ffffff;
  box-shadow: 0px 0px 15px rgba(172, 172, 172, 0.25);
  border-radius: 10px;
  overflow: hidden;
  padding-right: 65px;
}

.pageSearch .searchWrapper span.search input {
  background: url(../../images/search_icon.svg) no-repeat 0px 2px;
  background-size: 18px;
  padding: 20px 0px 20px 40px !important;
  background-position: 12px;
}

.pageSearch .searchWrapper .input {
  width: 100%;
  border-radius: 0px;
  border: none;
  padding: 22px 15px !important;
}

.pageSearch .searchWrapper span {
  /* border-right: 1px solid #e8e8e8; */
  padding-right: 10px;
  padding-left: 0px;
}

.pageSearch .searchWrapper span.searchMembership .input {
  background: url(../../images/award_icon.svg) no-repeat 0px 2px;
  background-size: 18px;
  background-position: 12px;
  padding: 20px 0px 20px 40px !important;
}

.pageSearch .searchWrapper .input {
  width: 100%;
  border-radius: 0px;
  border: none;
}

.pageSearch .searchWrapper span:last-child {
  padding-right: 0px;
}

/* div#searchLoader {
  display: none;
} */
.pageSearch .searchWrapper span:last-child {

  padding-right: 0px;
}

.pageSearch .searchBtn input {
  padding: 7px 22px;
  background: linear-gradient(270deg, #f58634 0%, #ee314d 100%);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.13);
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  line-height: 21px;
  color: #ffffff;
  border: 1px solid white;
}

form#memberSearchForm {
  position: relative;
}

.sortBy a {
  font-size: 16px;
  font-weight: 400;
  padding: 0px 6px;
  text-decoration: none;
  font-family: "Poppins", Sans-serif;
  color: #32b5e3;
}

.elementor-kit-6 a {
  font-family: "Poppins", Sans-serif;
}

.sortBy .active {
  color: #ef3d4a;
  font-family: "Poppins", Sans-serif;
}

.sortBy span {
  font-family: "Poppins", Sans-serif;
}

.card {
  background: #ffffff;
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.13);
  border-radius: 6px;
}

.memberListingHeader {
  position: relative;
}

.memberDirectory .card.cardListing .memberListingHeader {
  padding: 24px 24px 16px 24px;
}

.elementor-kit-6 a {
  font-family: "Poppins", Sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.logoCompany img {
  max-width: 200px;
  max-height: 70px;
}

.listingBtn {
  position: absolute;
  top: 0px;
  right: 0px;
}
.listingBtn.listing-border {
  position: absolute !important;
  top: -22px !important; /* Move to very top */
  right: -14px !important;
  z-index: 10 !important;
  margin: 0px !important; /* Add some margin */
}

.listingBtn.green label {
  background-color: transparent !important;
  border: 1px solid #8fc38a !important;
  color: #8fc38a !important;
}
.memberListingHeader {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 30px 24px 16px 24px !important; /* Added top padding for badge */
  min-height: 110px !important;
  width: 100% !important;
}
.card.cardListing {
  position: relative !important;
  padding: 20px !important;
  height: 100% !important;
  min-height: 350px !important; /* Ensure minimum height */
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

.companyDetails {
  margin: 15px 0 !important;
  flex-grow: 1 !important;
  min-height: 150px !important; /* Maintain space for description */
}
.companyDetails a {
  display: block !important;
  margin-bottom: 15px !important;
  color: #ff5e00 !important;
  font-size: 22px !important;
  font-weight: 400 !important;
}

.listingBtn.listing-border label {
  border: 1px solid #8fc38a;
  color: #8fc38a;
}

.listingBtn label {
  border-radius: 3px;
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
  padding: 5px 7px;
}

.companyDetails a {
  color: #ff5e00;
  font-family: "Poppins", Sans-serif;
  font-size: 22px;
  font-weight: 400;
  position: relative;
  z-index: 1;
  background-image: linear-gradient(transparent calc(100% - 1px), #014c9d 1px);
  line-height: 1.5;
}

.grids {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 30px;
  margin-top: 40px;
}

.card.cardListing {
  position: relative;
  padding: 20px;
  flex: 0 0 45%;
}

.card.cardListing .grid3 {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
}

.grid3 {
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
}

.companyDetails label {
  font-weight: 400;
  font-size: 14px;
  line-height: 25px;
  color: #5f5f5f;
  margin: 30px 0px;
  font-family: "Poppins", Sans-serif;
  text-align: justify;
}

.grid3 {
  display: grid;
  grid-template-columns: 30% 40% 30%;
  border-top: 1px solid #f0f0f0;
}

.grid3 span {
  border-right: 1px solid #f0f0f0;
}

.companyDetails {
  margin: 15px 0;
}

.companyDetails p {
  font-family: "Poppins", Sans-serif;
  font-size: 14px;
}

.grid3 a {
  text-decoration: none;
  color: black;
  font-family: "Poppins", Sans-serif;
  padding: 10px;
  font-size: 13px;
  text-align: center;
  position: relative;
  align-items: center;
  display: flex;
  justify-content: center;
}

.card-cardListings {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

label {
  display: flex;
  margin: 10px;
  gap: 10px;
  align-items: flex-start;
}

a img {
  margin-right: 10px;
}

img lable {
  margin-right: 10px;
}

.postPagging {
  text-align: center;
  /*   margin: 0px 0px 100px !important; */
  margin-top: 20px;
  padding-top: 18px !important;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  border-top: 0.5px solid rgba(0, 0, 0, 0.05);
}

.postPagging.members ul {
  display: flex;
  justify-content: center;
}

.postPagging .page-numbers {
  color: #1c1c1d;
  border-radius: 3px;
}

.postPagging.members ul li {
  padding: 10px;
  list-style-type: none;
}

.elementor-kit-6 a {
  font-family: "Poppins", Sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.postPagging .page-numbers {
  color: #1c1c1d;
  border-radius: 3px;
  text-decoration: none;
}

.postPagging .prev {
  top: 10px !important;
  padding-left: 18px;
}

.postPagging.members ul li a.prev {
  left: -100px;
}

.postPagging .prev::before {
  content: " ";
  top: 14px;
  left: 4px;
  width: 7px;
  height: 12px;
  background-image: url(images/assets_sprite.png);
  background-repeat: no-repeat;
  background-size: 75px;
  background-position: -2px -135px;
}

.postPagging .prev {
  left: 0px;
  top: 10px !important;
  padding-left: 18px;
}

@media only screen and (max-width: 1199px) {
  #memberListingResults {
    .grids {
      grid-template-columns: repeat(3, 1fr);
    }
  }
}

@media only screen and (max-width: 1024px) {
  .section-1 p {
    padding: 0 7rem;
  }

  .pageSearch {
    padding: 0 0rem 2rem;
  }

  .sortBy {
    padding: 0 6rem 2rem;
  }

  .pageSearch .searchBtn input {
    padding: 7px 22px 7px 12px;
  }

  .card.cardListing {
    padding: 2rem;
  }

  .grid3 {
    flex-wrap: wrap;
  }

  .grid3 span {
    border-right: none !important;
  }

  #memberListingResults {
    .grids {
      grid-template-columns: repeat(2, 1fr);
    }
  }

}

@media only screen and (max-width: 768px) {
  .section-1 p {
    padding: 0 1rem;
  }

  .section-1 {
    margin-top: 2rem;
  }

  .pageSearch .searchBtn input {
    padding: 6px 10px;
    margin-top: 12px;
  }

  .card-cardListings {
    display: block;
    margin: 0 5rem;
  }

  .pageSearch {
    padding: 0 3rem 2rem;
  }

  .pageSearch .searchWrapper span.search input {
    padding: 20px 0px 20px 0px !important;
  }

  .pageSearch .searchWrapper span.searchMembership .input {
    padding: 20px 0px 20px 10px !important;

  }

  .pageSearch {
    padding: 0rem 0 3rem;
  }
}


@media only screen and (max-width: 580px) {
  .card-cardListings {
    margin: 0 1rem;
  }

  #memberListingResults {
    .grids {
      display: flex;
      flex-direction: column;
    }
  }
}

@media only screen and (max-width: 425px) {
  h1.heading {
    font-size: 32px;
    line-height: 25px;
  }

  .sortBy {
    padding: 0 2rem 0rem;
  }

  .section-1 p {
    line-height: 25px;
  }

  .sortBy {
    padding: 0 2rem 0rem;
    line-height: 25px;
  }

  .card.cardListing {
    margin-top: 2rem;
    padding: 10px 1rem 10px 16px;

  }

  .grid3 a {
    width: 100%;
    margin: 0;
    display: inline-flex;
  }

  a img {
    margin-right: 0px;
  }

  .companyDetails label {
    display: block;
    margin: 22px 0;
    text-align: justify;
  }


  .logoCompany img {
    position: relative;
    /*top: 70px;*/
  }

  .companyDetails {
    margin: 15px 0 60px 0;
  }

  .card.cardListing .grid3 {
    flex-wrap: wrap;
  }

  .grid3 {
    grid-template-columns: 50% 50% !important;
  }

  .grid3 span {
    border-right: none;
  }
}

@media only screen and (max-width: 320px) {
  .postPagging .page-numbers {
    margin-right: 0px;
  }

  .postPagging .prev {
    padding-left: 18px;
  }
}

.sortByDropdown select {
  padding: 5px 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
  background-color: #f9f9f9;
}

.sortByDropdown select:hover,
.sortByDropdown select:focus {
  border-color: #ff5e00;
}

.sortBy span {
  font-weight: bold;
  margin-right: 10px;
}

.searchWrapper .input,
.searchWrapper input {
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.page-numbers.current {
  background-color: #ff5e00;
  color: #fff;
  border-radius: 50%;
  padding: 4px 12px;
  text-decoration: none;
}

.outline-none {
  outline: 0;
}