.single-location .et_pb_section_0_tb_header,
.single-company .et_pb_section_0_tb_header {
  padding-bottom: 0;
}
.company-list-wrap {
  width: 85%;
  margin: 0 auto;
  padding: 20px;
}
.company-list-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
}
.company-list-content a {
  width: 22.5%;
  height: 220px;
}
.company-list-content .company-item {
  flex: 1;
  width: 100%;
  height: 220px;
  transition-duration: 0.5s;
  box-shadow: 0px 0px 8px #2cace3;
  margin-top: 0px;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid #2cace3;
  padding: 10px;
  background: #d3d3d315;
  display: flex;
  justify-content: center;
  align-items: center;
}
.company-item h2 {
  text-align: center;
  font-size: 28px;
  color: #2cace3;
  font-weight: 500;
  padding: 0 10px;
  margin: 0 auto 0 auto;
  transition: transform 0.3s ease-in-out;
  -webkit-transition: transform 0.3s ease-in-out;
  -moz-transition: transform 0.3s ease-in-out;
}
.company-item h2:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  z-index: 0;
  cursor: pointer;
}
.company-item h2 a {
  text-decoration: none;
  color: #000;
}
.company-item h2 a:hover {
  color: #9953a0;
  transition: all 0.1s ease-in-out;
  cursor: pointer;
}
/* .company-item h2:hover {
  transition: all 0.1s ease-in-out;
  cursor: pointer;
} */
.company-item p {
  margin-top: 0;
  width: 100%;
  height: 100%;
  margin-bottom: 0px;
  text-align: center;
  display: flex;
  align-items: center;
}
.company-item p img {
  transition: transform 0.3s ease-in-out;
  -webkit-transition: transform 0.3s ease-in-out;
  -moz-transition: transform 0.3s ease-in-out;
  /* border-radius: 10px; */
  height: auto;
  width: 90%;
  margin: 0 auto;
}

.company-item p img:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  z-index: 0;
  cursor: pointer;
}

/*-------------location listing page -----------*/
.masonry {
  /* display: grid;
    grid-template-columns: repeat(auto-fill, minmax(calc(280px - 2rem), 20ch));
    grid-auto-rows: 4px;
    column-gap: 1rem;
    justify-content: center;
    justify-items: center;
    width: 100%;
    max-width: 70%;
    margin: 0 auto 0; */

  display: flex;
  width: 80%;
  margin: 0 auto;
  flex-wrap: wrap;
  column-gap: 1rem;
  justify-content: center;
  justify-items: center;
  margin: 0 auto 0;
  padding-bottom: 400px;
}

.masonry__item {
  width: 24%;
  max-width: calc(20 - 1rem);
  margin-bottom: 20px;
  /* height: fit-content; */
  min-height: 280px;
  height: 280px;
  padding: 1rem 1.5rem;
  color: #fff;
  background: url(../Images/bg-img.png) no-repeat center center;
  border-radius: 10px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  /* overflow: auto; */
  font-family: "Poppins", Helvetica, Arial, Lucida, sans-serif !important;

  /* box-sizing: border-box;
    grid-row: span var(--height); 
    position: relative;
    min-width: calc(280px - 2rem);
    width: 100%;
    max-width: calc(20 - 1rem);
     height: fit-content;
    min-height: 280px;
    height: 280px;
    padding: 1rem 1.5rem;
    color: #fff;
    background: url("../Images/bg-img.png") no-repeat center center;
    border-radius: 10px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif !important; */
}
.frm_note {
  background-color: #ffffff;
  color: #1a237e;
  padding: 12px 20px;
  font-size: 17px;
  /* font-family: Arial, sans-serif; */
  border: 1px solid #2cace3;
  border-left: 5px solid #2cace3;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  font-weight: 600;
  max-width: 900px;
  margin: 20px auto;
  border-radius: 6px;
}
.wa_login_shortcode {
  display: none !important;
}
@media (max-width: 1400px) {
  .company-list-wrap {
    width: 100%;
    margin: 10px auto;
    padding: 20px;
  }
  .company-list-content {
    gap: 25px;
  }
  .company-list-content .company-item {
    overflow: hidden;
  }
  .company-item p img {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
  }
}
@media (max-width: 1200px) {
  .company-list-content {
    gap: 20px;
  }
  .company-list-content a {
    width: 30.5%;
    height: 210px;
    margin-bottom: 40px;
  }
}
@media (max-width: 991px) {
  .company-list-content {
    gap: 10px;
  }
}
@media (max-width: 1024px) {
  .masonry__item {
    width: 40%;
  }
  .company-item h2 {
    font-size: 22px;
  }
}
@media (max-width: 768px) {
  .masonry__item {
    width: 46%;
  }
  .frm_note {
    margin: 0 25px 30px 25px;
    font-size: 13px;
    line-height: 18px;
  }
  .company-item h2 {
    font-size: 26px;
  }
  .company-list-content {
    gap: 20px;
  }
  .company-list-content a {
    width: 47.5%;
    height: 200px;
    margin-bottom: 25px;
  }
}
@media (max-width: 568px) {
  .masonry__item {
    width: 96%;
  }
  .company-item h2 {
    font-size: 22px;
  }
  .company-list-content a {
    width: 100%;
    height: 200px;
  }
}
.title {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
}

.masonry__item h3 {
  font-size: 20px;
  margin: 0;
  color: #fff;
  width: -webkit-fill-available;
  padding-bottom: 0;
  font-weight: 500;
  min-height: 30px;
}
.masonry__item h3::after {
  content: "";
  display: block;
  width: 20%;
  height: 1px;
  background-color: #fff;
  margin-top: 5px;
}

.masonry__item h3:hover::after {
  width: 40%;
  transition: ease-in-out 0.5s;
}
.masonry__item h3 a {
  text-decoration: none;
  color: #fff;
  /* min-height: 30px; */
  display: inline-grid;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
p.city_names {
  font-size: 14px;
  color: #fff;
  padding-bottom: 0;
  margin: 10px 0;
  overflow: hidden;
  overflow-y: auto;
  min-height: 70px;
  height: 70px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.masonry__item h3 img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
  display: inline-block;
}
/* .masonry__item h3 a::after {
  content: "";
  display: block;
  width: 20%;
  height: 1px;
  background-color: #fff;
  margin-top: 5px;
} */
/* .masonry__item h3 a:hover::after {
  width: 40%;
  transition: ease-in-out 0.5s;
} */
.masonry__item ul {
  padding-top: 0;
  padding-left: 1px;
  overflow-y: auto;
  min-height: 120px;
  height: 120px;
  margin-top: 15px !important;
}
/* scrollbar css */
.masonry__item ul::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px #afe2f96e;
  background-color: #f5f5f57d;
  border-radius: 10px;
}
.masonry__item ul::-webkit-scrollbar {
  width: 3px;
  background-color: #2cace358;
  border-radius: 10px;
}

.masonry__item ul::-webkit-scrollbar-thumb {
  background-color: #ffffff90;
  border-radius: 10px;
}

.masonry__item ul li {
  margin-bottom: 5px;
  color: #ffffffc4;
  list-style: none;
}
.masonry__item ul li img {
  width: 14px;
  height: 14px;
  margin-right: 2px;
  vertical-align: middle;
  display: inline-block;
}
.masonry__item.without-city {
  min-height: 75px;
  height: 75px;
}
/* emp list page  */
.emp_wrap {
  display: flex;
  flex-wrap: wrap;
  width: 90%;
  gap: 40px;
  flex-direction: row;
  margin: 0 auto;
  text-align: center;
  justify-content: center;
  padding-bottom: 400px;
}
.emp_wrap .emp_info {
  width: 23%;
  /* padding: 20px; */
  box-shadow: 0px 0px 6px #c6c6c6;
  position: relative;
  margin-bottom: 30px;
  border-radius: 10px;
}
.emp_wrap .emp_info p.clickbtn {
  position: absolute;
  right: -15px;
  background: #2cace3;
  color: #fff;
  border: 1px solid #fff;
  margin: 0;
  padding: 0;
  top: -10px;
  border-radius: 38px;
  width: 35px;
  height: 35px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.emp_wrap .emp_info p.clickbtn a {
  cursor: pointer;
  transition: all 0.1s ease-in-out;
  text-decoration: none;
  color: #fff;
  font-size: 24px;
}
.emp_bg {
  height: 150px;
  /* background: #2cace3; */
  background: linear-gradient(
    180deg,
    rgba(70, 191, 238, 1) 10%,
    rgba(68, 156, 213, 1) 30%,
    rgba(153, 83, 160, 1) 100%
  );
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.emp_details {
  padding: 20px 15px 40px 15px;
  font-family: "Poppins", Helvetica, Arial, Lucida, sans-serif !important;
}
.emp_details p {
  font-family: "Poppins", Helvetica, Arial, Lucida, sans-serif !important;
}
.email_dtls,
.phone_dtls,
.location_dtls {
  overflow-wrap: break-word;
  display: flex;
  gap: 7px;
  justify-content: center;
  align-items: center;
}
.email_dtls img,
.phone_dtls img,
.location_dtls img {
  width: 20px;
  height: max-content;
}
.emp_img {
  margin-top: -40px;
}
.emp_img img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
}
/* popup css */
.confirmation_box {
  display: block;
  width: 420px;
  margin: 100px auto;
  text-align: center;
  box-shadow: 0px 2px 7px #94519c;
  background-color: #fff;
  padding: 40px;
  border: 7px solid #94519c;
  position: relative;
}
.confirmation_box .mfp-close {
  color: #ffffff;
  background: #000000;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  position: absolute;
  top: 5px;
  right: 5px;
  line-height: 25px;
}
.confirmation_box h2 {
  font-size: 18px;
  font-style: italic;
  line-height: 23px;
  font-family: "Poppins", Helvetica, Arial, Lucida, sans-serif;
}
.confirmation_content h3 {
  font-style: italic;
  margin-top: 10px;
}
.btn-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Poppins", Helvetica, Arial, Lucida, sans-serif;
  gap: 25px;
}
.btn-wrap button {
  color: #fff;
  padding: 8px 25px;
  border: 2px solid #2cace3;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
  font-size: 17px;
  background-color: #2cace3;
  border-radius: 2px;
  letter-spacing: 1px;
  min-width: 120px;
  font-weight: 500;
}
.btn-wrap button:hover {
  background-color: #fff;
  border: 2px solid #2cace3;
  color: #2cace3 !important;
}
#cancelBtn {
  background: #000;
  border: 2px solid #000000;
  color: #fff;
}
.btn-wrap #cancelBtn:hover {
  background: #fff;
  border: 2px solid #000;
  transition: all 0.1s ease-in-out;
  color: #000 !important;
}
@media (max-width: 1024px) {
  .emp_wrap .emp_info {
    width: 40%;
  }
}
@media (max-width: 768px) {
  .emp_wrap .emp_info {
    width: 46%;
  }
}
@media (max-width: 568px) {
  .emp_wrap .emp_info {
    width: 96%;
  }
  .confirmation_box {
    width: 99%;
  }
}

/* new frm css */

.emp_block {
  box-shadow: 0px 0px 7px rgba(49, 49, 49, 0.33);
  border-radius: 10px;
  padding: 20px;
  width: 26%;
  margin: 5px 0 15px 0;
  background: #fff;
  position: relative;
  font-family: "Poppins", Helvetica, Arial, Lucida, sans-serif;
}
.emp_info_block {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  gap: 5px;
  border-bottom: 2px solid #66666630;
  padding-bottom: 10px;
}
@media (max-width: 1024px) {
  .emp_wrap .emp_block {
    width: 40%;
  }
}
@media (max-width: 768px) {
  .emp_wrap .emp_block {
    width: 46%;
  }
}
@media (max-width: 568px) {
  .emp_wrap .emp_block {
    width: 96%;
  }
  .emp_name strong {
    font-size: 18px !important;
  }
  .emp_location span {
    font-size: 14px !important;
  }
}
.emp_name strong {
  font-size: 22px;
  color: #9953a0;
}
.emp_location span {
  font-size: 17px;
  font-weight: 500;
}
.emp_block .emp_details p {
  padding-bottom: 5px;
  display: flex;
  align-items: center;
}
.emp_block .emp_img {
  margin-top: 0;
  margin-right: 12px;
  width: fit-content;
}
.emp_block .emp_img img {
  width: 90px;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}
.emp_block p.clickbtn {
  position: absolute;
  right: -15px;
  background: #2cace3;
  color: #fff;
  border: 1px solid #fff;
  margin: 0;
  padding: 0;
  top: -10px;
  border-radius: 38px;
  width: 35px;
  height: 35px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ---- email icon at bottom position--- */

.icon_img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}
.emp_block .emp_other_details {
  padding: 15px 0px;
}
.emp_block .emp_other_details p {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-weight: 500;
  font-size: 16px;
}
.emp_block .comp_dtls .icon_img {
  height: 20px;
}
.emp_info_block .emp_details {
  padding: 15px 0px 15px 0px;
  font-family: "Poppins", Helvetica, Arial, Lucida, sans-serif !important;
}
.emp_phone {
  padding-top: 10px;
}
.emp_other_details .comp_dtls,
.emp_other_details .emp_email {
  border-bottom: 2px solid #66666624;
  padding-top: 10px;
  font-weight: 500;
}
.emp_email span {
  word-break: break-all;
  text-align: justify;
}
.emp_block p.clickbtn a {
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.1s ease-in-out;
  text-decoration: none;
}

/* banner image for company and FRM */
.page-banner {
  background-color: #d3d3d370 !important;
  min-height: 320px;
  width: 100%;
  display: flex;
  margin-bottom: 64px;
  width: 100%;
  position: relative;
  height: 320px;
}
.page-banner .et_pb_width {
  width: 95%;
  max-width: 1350px;
  margin: auto;
  position: relative;
  text-align: center;
}
.page-banner .et_pb_width .company_logo {
  width: 300px;
  height: auto;
}
.page-banner h2 {
  font-size: 65px;
  padding-top: 4% !important;
  color: #ffffff !important;
  letter-spacing: 3px;
  line-height: 1.5em;
  font-family: "Poppins", Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  padding-bottom: 10px;
}
.page-banner h3.regions_breadcumb {
  font-size: 25px;
  font-weight: 500;
  color: #33194d !important;
  font-family: "Poppins", Helvetica, Arial, Lucida, sans-serif;
  margin-top: 5vh;
  text-align: center;
}
.page-banner.regions-page-banner {
  box-shadow: 0 8px 12px -8px rgb(44 172 227);
}

/* @media (min-width: 600px) {
  .page-banner.regions-page-banner {
    background-position: initial !important;
  }
}
@media (min-width: 1600px) {
.page-banner.regions-page-banner {
        background-position: center !important;
    }
  } */
@media (max-width: 1280px) {
  .page-banner h3.regions_breadcumb {
    width: 90%;
    text-align: center;
    margin: 0 auto;
  }
  .emp_name strong {
    font-size: 20px !important;
  }
}
@media (max-width: 1200px) {
  .page-banner h3.regions_breadcumb {
    font-size: 20px;
  }
}
@media (max-width: 768px) {
  .page-banner h2 {
    font-size: 45px;
  }
  /* .page-banner h3.regions_breadcumb {
    margin-top: 19vh;
  }
  .page-banner h3.regions_breadcumb {
    margin-top: 165px !important;
  } */
}
@media (max-width: 568px) {
  .page-banner {
    padding: 50px 0;
  }
  .page-banner h2 {
    font-size: 35px;
    letter-spacing: 2px;
    line-height: 1.6em;
  }
  /* .page-banner h3.regions_breadcumb {
    font-size: 25px;
    margin-top: 15vh;
  } */
  .regions-page-banner {
    background-position: 5% 0 !important;
  }

  /* .page-banner h3.regions_breadcumb {
    padding-left: 50px;
  } */
}

@media (max-width: 441px) {
  .page-banner {
    height: 200px;
    min-height: 200px;
  }
  .page-banner.regions-page-banner {
    height: 400px;
    min-height: 400px;
  }
  .page-banner h3.regions_breadcumb {
    font-size: 18px;
  }
  .regions-page-banner {
    background-position: 6% 0 !important;
  }
}
@media (max-width: 380px) {
  .regions-page-banner {
    background-position: 6% 0 !important;
  }
  /* .page-banner h3.regions_breadcumb {
        padding-left: 30px;
    } */
}
/* new login-logout header button css  */

.wa_login_shortcode form {
  position: absolute;
  right: 0;
  top: 20px;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: anchor-center;
}
.wa_login_shortcode form p {
  color: #595b5d;
  font-weight: 500;
  font-size: 14px;
  font-family: "Poppins", Helvetica, Arial, Lucida, sans-serif;
}
.wa_login_shortcode form .button-primary {
  color: #fff;
  padding: 10px 15px;
  color: #fff;
  background: #2cace3;
  border: 0;
  font-size: 15px;
  font-family: "Poppins", Helvetica, Arial, Lucida, sans-serif;
}
.wa_login_shortcode form .button-primary:hover {
  cursor: pointer;
  opacity: 0.9;
}
.loader-wrap {
  height: 20px;
  width: 50px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .wa_login_shortcode form {
    top: 22px;
  }
}
@media (max-width: 980px) {
  .wa_login_shortcode form {
    top: -40px;
  }
}
@media (max-width: 568px) {
  .et_pb_column_1_tb_header {
    z-index: 1;
  }
  .et_pb_menu--style-centered .et_pb_menu__wrap {
    justify-content: flex-start !important;
    /* width: fit-content; */
  }
  .wa_login_shortcode form .button-primary {
    z-index: 99;
  }
}
.email_icon_img {
  width: 20px;
  height: 20px;
  margin-top: 4px;
}

.sent_icon {
  width: 70px;
  margin-bottom: 30px;
}
/* regions page design */
.archive.tax-regions .resource-blocks {
  width: 80%;
  max-width: 1080px;
  margin: auto;
  position: relative;
  padding-bottom: 70px;
  justify-content: flex-start;
}

.archive.tax-regions .ran-references-wrap a.d-block {
  max-width: 31%;
  width: 31%;
  font-size: 20px;
}
.archive.tax-regions .ran-references-wrap .location-description {
  margin-right: auto;
}
@media only screen and (min-width: 601px) and (max-width: 1200px) {
  .archive.tax-regions .ran-references-wrap a.d-block {
    max-width: 50% !important;
    width: 48% !important;
  }
  .archive.tax-regions .resource-blocks {
    gap: 20px !important;
  }
}
@media only screen and (max-width: 600px) {
  .archive.tax-regions .ran-references-wrap a.d-block {
    max-width: 100% !important;
    width: 100% !important;
  }
}
.archive.tax-regions li#menu-item-2135 a {
  color: #fff !important;
}
.caseconnect-custom .et_pb_with_background h3 {
  line-height: 1.3;
}
