.office-logo img {
  max-height: 50px;
}
.agents-archive .wpb_tabs_nav {
  justify-content: center;
  display: flex;
  margin-bottom: 60px !important;
}
.agents-archive .wpb_tabs_nav li a {
  padding: 12px 30px;
}
#agents-archive .author-box-container,
#teams-archive .author-box-container {
  max-width: unset;
  justify-content: center;
}

.page-meet-our-team.site-252 #agents-archive .author-box-container .author-box-wrapper, 
.page-meet-our-team.site-252 #teams-archive .author-box-container .author-box-wrapper {
    width: calc(33.33% - 20px);
}

#agents-archive .author-box-container .author-box-wrapper,
#teams-archive .author-box-container .author-box-wrapper {
  /* width: calc(33.33% - 30px);
    margin: 15px !important; */
  width: calc(25% - 20px);
  margin: 10px !important;
  display: flex;
  flex-direction: column;
}
#agents-archive .author-box-container .other-staffs {
  background-color: #fff;
}
.other-staffs > img {
  width: 100% !important;
}
#agents-archive .author-contact-wrapper,
#teams-archive .author-contact-wrapper {
  display: flex;
  justify-content: space-between;
}
#agents-archive .avatar-content,
#teams-archive .avatar-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
/* #agents-archive .author-contact-wrapper .author-email,
#agents-archive .author-contact-wrapper .author-tel,
#teams-archive .author-contact-wrapper .author-email,
#teams-archive .author-contact-wrapper .author-tel {
    width: auto;
    padding: 15px 15px;
    flex:1;
    font-size: 14px;
} */

@media screen and (max-width: 1100px) and (min-width: 1000px) {
  #agents-archive .author-box-container .author-box-wrapper,
  #teams-archive .author-box-container .author-box-wrapper {
    width: calc((100% / 2) - 20px);
  }
}

@media screen and (max-width: 1380px) and (min-width: 1100px) {
  #agents-archive .author-box-container .author-box-wrapper,
  #teams-archive .author-box-container .author-box-wrapper {
    width: calc((100% / 3) - 20px);
  }
}

@media screen and (max-width: 1000px) {
  #agents-archive .author-box-container .author-box-wrapper,
  #teams-archive .author-box-container .author-box-wrapper {
    width: calc(50% - 20px);
    max-width: 400px;
  }
}
@media screen and (max-width: 690px) {
  #agents-archive .author-box-container .author-box-wrapper,
  #teams-archive .author-box-container .author-box-wrapper {
    width: calc(100% - 20px);
  }
}
@media screen and (max-width: 480px) {
  /* #agents-archive .author-contact-wrapper .author-email,
    #agents-archive .author-contact-wrapper .author-tel,
    #teams-archive .author-contact-wrapper .author-email,
    #teams-archive .author-contact-wrapper .author-tel {
        padding: 10px;
    } */
}
/************************* Search agents *************************/
#stepps-agents-search {
  max-width: 700px;
  margin: auto;
}
body #stepps-agents-search input[type="text"],
body #stepps-agents-search select {
  background-color: #fff !important;
  color: #8b8b8b;
  padding: 10px;
  font-size: 16px;
}
body .container-wrap .input-group button[type="submit"] {
  min-width: 150px;
  padding: 15px !important;
  font-size: 16px;
}
body .container-wrap .input-group button[type="submit"] .fa {
  width: auto;
  height: auto;
  line-height: 1em;
}

#stepps-agents-search .search-result {
  position: absolute;
  text-align: left;
  background-color: #ffffff;
  color: #000;
  border: 1px solid #ddd;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  left: 0px;
  top: 46px;
  z-index: 1;
  display: none;
}
#stepps-agents-search .search-result.show {
  display: block;
}

.search-result-item a {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 5px 15px;
  height: 70px;
  border-bottom: 1px solid rgba(221, 221, 221, 0.5);
}
.search-result-item:last-child a {
  border-bottom: 0px;
  opacity: 1 !important;
}
.col .search-result-item img {
  width: 60px !important;
  margin-right: 20px !important;
  margin-left: unset !important;
  margin-bottom: 0;
}
.col .search-result-item .agent-name {
  color: #202121;
}

@media screen and (max-width: 1000px) {
  div#stepps-agents-search {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 2em;
    /*border-radius: 10px;*/
  }
}
@media screen and (max-width: 690px) {
  .input-group {
    display: block;
  }
  body #stepps-agents-search select {
    margin-bottom: 1rem;
    padding: 12px;
  }
  body .container-wrap .input-group button[type="submit"] {
    width: 100%;
    min-width: unset;
  }
}
