
/**
 * Page Notre equipe - Map + cards
 */

#regm-agent-list .map {
  height: 500px;
}
#regm-agent-list #primary {
    padding-top: 1em;
}
.all-agents {
    display: flex;
    margin-top: 2em;
    width: 40px;
    height: 40px;
}
.all-agents a {
  background: #244d46;
  width: 100%;
  height: 100%;
  text-align: center;
  line-height: 40px;
  color: #ffffff;
  font-size: 16px;
  transition: all ease 0.2s;
}
.all-agents a:hover,
.all-agents a:focus {
  background: #44776f;
  color: #ffffff;
}
#regm-agent-list .cards {
    padding-top: 1em;
}
#regm-agent-list .listing_wrapper {
    margin-bottom: 0;
}
#regm-agent-list .agent_unit {
  background-color: #fff !important;
  min-height: auto;
}
#regm-agent-list .agent-unit-img-wrapper {
  margin: 15px;
}
#regm-agent-list .agent_unit h4 {
    padding: 0px 20px;
    margin-top: 10px;
}

@media only screen and (max-width: 700px) {
  body #regm-agent-list .listing_wrapper {
      width: 100%;
  }
}
#regm-agent-list .agent-unit-infos {
  padding-left: 90px;
  position: relative;
  min-height: 80px;
}
#regm-agent-list .image-cropper {
  width: 70px;
  height: 80px;
  position: relative;
  overflow: hidden;
  border-radius: 10px !important;
  position: absolute;
  top: 0px;
  left: 0px;
  background-position: center center;
  background-size: cover;
}

/*
#regm-agent-list .image-cropper img {
  display: inline !important;
  margin: 0 auto !important;
  height: 100% !important;
  width: auto !important;
  margin-left: -21px !important;
  max-width:none !important;
  border-radius: 50% !important;
}
*/

@media all and (min-width: 670px) {
  body .container_agent .col-md-5.agentpic-wrapper {
    width: 20%;
  }
  body .container_agent .col-md-7.agent_details {
    width: 80%;
  }
}

/**
 * Single - Sidebar
 */
.single-estate_agent #primary {
  padding-top: 5rem;
}
/**
 * Single - Send mail button
 */
body a.send_email_agent:focus {
	color: #ffffff;
}
body a.send_email_agent:hover {
	color: #244d46;
}
body .agentpict {
    width: 80px !important;
    height: 100px !important;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -khtml-border-radius: 10px;
    vertical-align: middle;
}
body .agent_details {
    min-height: unset;
}
.back-to-team {
  display: flex;
  margin-bottom: 10px;
  width: 40px;
  height: 40px;
}
.back-to-team a {
  background: #244d46;
  width: 100%;
  height: 100%;
  text-align: center;
  line-height: 40px;
  color: #ffffff;
  font-size: 16px;
  transition: all ease 0.2s;
}

.back-to-team a:hover,
.back-to-team a:active,
.back-to-team a:focus{
  background: #44776f;
  color: #ffffff;
}

.agent_unit_social_single {
	bottom: 0 !important;
}