.agent-tabs {
    display: flex;
    flex-direction: column;
}

.agent-tab-titles {
    display: flex;
    gap: 5px;
}

.agent-tab-title {
    padding: 10px 0;
    margin: 2px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    line-height: 22.4px;
    color: #5C5E61;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    padding: 0 8px;
    border: none;
    padding-bottom: 7px;
    border-bottom: 2px solid transparent;
}

.tab button.active {
    background-color: #ccc;
}

.agent-tab-title:hover {
    color: #111;
    border-color: #111;
}

.agent-tab-title.active {
    color: #111;
    border-color: #111;
}

.agent-tab-content .agent-tab {
    display: none;
}

.agent-tab-content .agent-tab.active {
    display: block;
}

.agent-tab-content .agent-tab.active .properties p {
    font-size: 16px;
    font-weight: 600;
    line-height: 22.4px;
    color: #5C5E61;
}

.agent-inner.sidebar-left {
    order: 1;
}

.agency-wrapper {
    position: relative;
}

.user-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.user-description {
    font-size: 18px;
}

.cover-photo {
    height: 100%;
    overflow: hidden;
}

.cover-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agent-contact-information {
    margin-top: 5%
}

.agency-view-grid-list.active {
    color: black;
}

.card {
    display: flex;
    width: 100%;
    margin-bottom: 20px;
}

.thumbnail {
    flex: 0 0 150px;
}

.thumbnail img {
    width: 100%;
    height: auto;
}

.agency-avatar img {
    width: 100%;
    height: 50%;
    object-fit: cover;
    object-position: center;
}


.single-agent-all-listing .button-wrap {
    border-top: 1px solid #EFEFEF;
    padding-top: 30px;
    margin-top: 30px;
}

.single-agent-all-listing .button {
    padding: 18px 32px;
    display: inline-block;
    background: var(--theme-primary-color);
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
}

.single-agent-all-listing .button i {
    margin-left: 8px;
    vertical-align: middle;
}

.single-agent-all-listing .button:hover {
    background: #161E2D;
    color: #fff;
}

.single-agent-element .agent-description p {
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color: #5C6368;
}

.single-agent-element .agent-author .agent-avatar img {
    border-radius: 16px;
    object-fit: cover;
    height: 100%;
    object-position: top;
    width: 100%;
    max-height: 630px;
}

.single-agent-element .agent-author .agent-title {
    font-size: 22px;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 400;
    line-height: 22.4px;
    color: #5C5E61;
    margin: 0;
}

.single-agent-element .agent-author .agent-content-item {
    display: flex;
    align-items: center;
}

.single-agent-element .agent-author .agent-content-item svg {
    width: 14px;
    height: 14px;
}

.single-agent-element .agent-author .agent-content-item svg * {
    fill: #555;
}

.single-agent-element .agent-author .agent-content-company {
    margin-bottom: 12px;
}

.single-agent-element .agent-author .agent-content-title {
    margin-bottom: 24px;
}

.single-agent-element .agent-author .tf-social {}

.single-agent-element .agent-author .agent-company {
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    text-transform: capitalize;
}

.single-agent-element .agent-author .agent-company b {
    color: #2b2b2b;
}

.single-agent-element .agent-author .agent-content-phone,
.single-agent-element .agent-author .agent-content-email {
    margin-bottom: 5.5px;
}

.single-agent-element .agent-author .agent-content-phone a {
    color: var(--theme-primary-color);
}

.single-agent-element .agent-author .agent-content-phone i,
.single-agent-element .agent-author .agent-content-email i,
.single-agent-element .agent-author .agent-content-address i {
    color: #8E8E93;
    margin-right: 7px;
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.single-agent-element .agent-author .agent-content-email i {
    font-size: 13px;
}

.single-agent-element .agent-author .agent-social {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 0;
    border-radius: 16px;
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    right: 0;
    background: #000000;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 5;
    width: max-content;
}

.single-agent-element .agent-author .agent-social a {
    padding: 0 15px;
    border: unset;
    border-right: 1px solid #ffffff29;
    color: #fff;
    line-height: 5px;
}

.single-agent-element .agent-author .agent-social a:hover {
    color: var(--theme-primary-color);
}

.single-agent-element .agent-author .agent-social .item:last-child a {
    border: unset !important;
}

.single-agent-element .agent-author {
    display: flex;
    flex-wrap: wrap;
    margin-left: -80px;
    align-items: center;
    margin-bottom: 105px;
}

.single-agent-element .agent-author .agent-content {
    width: calc(48% - 80px);
    margin-left: 80px;
}

.single-agent-element .agent-author .agent-avatar {
    width: calc(52% - 80px);
    margin-left: 80px;
    position: relative;
}

.single-agent-element.agent-single .title-card {
    font-weight: 600;
    font-size: 30px;
    line-height: 1.3333333333333333em;
    text-transform: capitalize;
    margin: 0;
}

.single-agent-element .agent-author .agent-content-title h5 {
    font-weight: 600;
    font-size: 30px;
    line-height: 1.3333333333333333em;
    text-transform: capitalize;
}

.single-agent-element .agent-author .agent-content-company {
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    color: #8E8E93;
}

.single-agent-element .agent-author .agent-description {
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #6D7074;
    margin-bottom: 30px;
}

.single-agent-element .agent-author .title-infor {
    font-weight: 600;
    font-size: 30px;
    line-height: 1.3333333333333333em;
    text-transform: capitalize;
    margin-bottom: 16px;
}

.single-agent-element .agent-author .list-infor {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 19px;
}

.single-agent-element .agent-author .list-infor h6 {
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 9px;
}

.single-agent-element .agent-author .list-infor p,
.single-agent-element .agent-author .list-infor a {
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    color: #24283E;
}

.single-agent-element .agent-author .agent-description h6 {
    font-size: 18px;
    font-weight: 600;
    line-height: 22.5px;
    margin-bottom: 11px;
}

.single-agent-element .agent-author .agent-description p {
    font-size: 16px;
    font-weight: 400;
    line-height: 22.4px;
    color: #5C5E61;
}

.single-agent-element .tfre-property-info .inner {
    position: relative;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.single-agent-element .tfre-property-info .inner.hide-content {
    height: 88px;
    overflow: hidden;
}

.single-agent-element .tfre-property-info .inner.show-content {
    height: auto;
}

.single-agent-element .tfre-property-info .inner::after {
    content: '';
    width: 100%;
    height: 50%;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(55, 100, 235, 0) 0%, #fff 100%);
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.single-agent-element .tfre-property-info .inner.hide::after {
    display: none;
}

.single-agent-element .tfre-property-info .inner.show-content::after {
    opacity: 0;
    visibility: hidden;
}

.single-agent-element .tfre-property-info .inner.hide-content::after {
    opacity: 1;
    visibility: visible;
}

.single-agent-element .tfre-property-info {
    margin-top: 11px;
}

.single-agent-element .tfre-property-info .button-show-hide {
    font-size: 16px;
    font-weight: 500;
    line-height: 22.4px;
    color: #111;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    margin-top: 9px;
    display: block;
    cursor: pointer;
}

.single-agent-element .tfre-property-info .button-show-hide::after {
    font-family: "luminor";
    content: "\e90e";
    margin-left: 5px;
    vertical-align: middle;
    display: inline-block;
    font-size: 20px;
}

.single-agent-element .tfre-property-info .button-show-hide.show::after {
    transform: rotate(180deg);
}

.more-listing-description {
    font-weight: 600 !important;
    color: #000 !important;
    cursor: pointer;
    font-size: 16px !important;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.more-listing-description:hover {
    color: var(--theme-primary-color) !important;
}

.list-item-agent .agent-inner {
    display: flex;
    flex-wrap: wrap;
    margin-left: -30px;
}

.list-item-agent .agent-inner .agent-wrapper.column3 {
    width: calc(25% - 30px);
    margin-left: 30px;
}

.list-item-agent .agent-inner .agent-wrapper.column4 {
    width: calc(33.33333% - 30px);
    margin-left: 30px;
}

.list-item-agent .infor-agent {
    display: flex;
    border-radius: 12px;
    background: #FFF;
    box-shadow: 0px 4px 18px 0px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 30px;
}

.list-item-agent .infor-agent .agent-avatar img {
    border-radius: 10px;
}

.list-item-agent .infor-agent .agent-avatar {
    margin-right: 30px;
    position: relative;
}

.list-item-agent .agent-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    text-transform: capitalize;
    margin-bottom: 4px;
}

.list-item-agent .agent-position {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #5C6368;
}

.list-item-agent .agent-wrap-info {
    margin-bottom: 20px;
}

.list-item-agent .agent-phone,
.list-item-agent .agent-email {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0em;
    color: #2b2b2b;
}

.list-item-agent .group-connect-agent {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    right: 0px;
    top: 5px;
}

.list-item-agent .group-connect-agent a {
    width: 40px;
    height: 40px;
    border: 1px solid #E4E4E4;
    border-radius: 8px;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.list-item-agent .group-connect-agent a:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.list-item-agent .agent-wrapper.grid .inner {
    margin-bottom: 39px;
}

.list-item-agent .agent-wrapper.grid .agent-image {
    overflow: hidden;
    position: relative;
    border-radius: 16px;
}

.list-item-agent .agent-wrapper.grid .agent-image img {
    border-radius: unset;
    object-fit: cover;
    width: 100%;
    height: 390px;
    object-position: top;
}

.list-item-agent .agent-wrapper .agent-content {
    position: relative;
    padding-right: 83px;
}

.list-item-agent .agent-wrapper .agent-content.position {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0em;
    color: #555555;
}

.list-item-agent .paging-navigation {
    justify-content: center;
}

.list-item-agent .agent-wrapper .agent-image img {
    -webkit-transition: all 1s cubic-bezier(0.3, 1, 0.35, 1) 0s;
    transition: all 1s cubic-bezier(0.3, 1, 0.35, 1) 0s;
}

.list-item-agent .agent-wrapper:hover .agent-image img {
    -webkit-transform: scale3d(1.07, 1.07, 1.07);
    transform: scale3d(1.07, 1.07, 1.07);
}

.list-item-agent .agent-wrapper .agent-image::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.12);
    bottom: 100%;
    left: 0;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 1;
}

.list-item-agent .agent-wrapper:hover .agent-image::after {
    bottom: 0;
    opacity: 1;
    visibility: visible;
}

.agent-wrapper .agent-image .agent-social,
.infor-agent.list .agent-avatar .agent-social {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    top: 12px;
    right: 12px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 2;
    gap: 12px;
}

.tfre-agency-single-wrap .header-agent-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 8px;
}

.tfre-agency-single-wrap .header-agent-list .title-agent {
    margin: 0;
    font-size: 40px;
    font-weight: 600;
    line-height: 50px;
}

.tfre-agency-single-wrap .tfre-controll-agencies .group-agency-order .nice-select {
    border: none;
}

.cards-container.list-item-agent .paging-navigation {
    text-align: center;
}

.agent-wrapper .agent-social a,
.infor-agent.list .agent-avatar .agent-social a {
    color: #111;
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 8px;
    font-size: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agent-wrapper .agent-social a:hover,
.infor-agent.list .agent-avatar .agent-social a:hover {
    background: #111;
    color: #fff;
}

.agent-wrapper .agent-social a {
    transform: translate(40px, 40px);
    -ms-transform: translate(40px, 40px);
    -webkit-transform: translate(40px, 40px);
    visibility: hidden;
    filter: alpha(opacity=0);
    -khtml-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
}

.agent-wrapper .agent-social a:first-child {
    transition: all 0.3s ease-in-out 150ms;
    -moz-transition: all 0.3s ease-in-out 150ms;
    -o-transition: all 0.3s ease-in-out 150ms;
    -webkit-transition: all 0.3s ease-in-out 150ms;
    -ms-transition: all 0.3s ease-in-out 150ms;
}

.agent-wrapper .agent-social a:nth-child(2) {
    transition: all 0.4s ease-in-out 150ms;
    -moz-transition: all 0.4s ease-in-out 150ms;
    -o-transition: all 0.4s ease-in-out 150ms;
    -webkit-transition: all 0.4s ease-in-out 150ms;
    -ms-transition: all 0.4s ease-in-out 150ms;
}

.agent-wrapper .agent-social a:nth-child(3) {
    transition: all 0.5s ease-in-out 150ms;
    -moz-transition: all 0.5s ease-in-out 150ms;
    -o-transition: all 0.5s ease-in-out 150ms;
    -webkit-transition: all 0.5s ease-in-out 150ms;
    -ms-transition: all 0.5s ease-in-out 150ms;
}

.agent-wrapper .agent-social a:nth-child(4) {
    transition: all 0.6s ease-in-out 150ms;
    -moz-transition: all 0.6s ease-in-out 150ms;
    -o-transition: all 0.6s ease-in-out 150ms;
    -webkit-transition: all 0.6s ease-in-out 150ms;
    -ms-transition: all 0.6s ease-in-out 150ms;
}

.agent-wrapper:hover .agent-social a {
    visibility: visible;
    -khtml-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
    transform: translate(0px, 0px);
    -ms-transform: translate(0px, 0px);
    -webkit-transform: translate(0px, 0px);
}

.infor-agent.list .agent-content {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.single-agent-property.agent-tabs {
    margin-bottom: 26px;
}

.single-agent-property.agent-tabs .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

@media only screen and (max-width: 1024px) {
    .list-item-agent .agent-inner .agent-wrapper.column3 {
        width: calc(33.33333% - 30px);
    }

    .list-item-agent .agent-wrapper.grid .agent-image img {
        height: 100%;
    }

    .single-agent-element .agent-author {
        margin-left: -40px;
        margin-bottom: 60px;
    }

    .single-agent-element .agent-author .agent-content {
        width: calc(48% - 40px);
        margin-left: 40px;
    }

    .single-agent-element .agent-author .agent-avatar {
        width: calc(52% - 40px);
        margin-left: 40px;
    }

    .single-agent-element .agent-author .list-infor p,
    .single-agent-element .agent-author .list-infor a {
        font-size: 16px;
    }
}

@media only screen and (max-width: 991px) {
    .infor-agent.list {
        display: block;
    }

    .infor-agent.list .agent-avatar {
        margin-right: 0px;
        margin-left: 0;
        margin-bottom: 20px;
    }

    .single-agent-element .agent-author .agent-avatar img,
    .infor-agent.list .agent-avatar img {
        width: 100%;
    }
}

@media only screen and (max-width: 767px) {
    .list-item-agent .infor-agent .agent-avatar img {
        height: 100%;
        object-fit: cover;
    }

    .single-agent-element .agent-author {
        display: block;
    }

    .single-agent-element .agent-author .agent-avatar {
        margin-right: 0px;
    }

    .single-agent-element .agent-author .agent-content {
        padding-bottom: 0;
    }

    .single-agent-all-listing {
        margin-bottom: 80px;
    }

    .single-agent-element .agent-author .agent-avatar,
    .single-agent-element .agent-author .agent-content {
        width: 100%;
    }

    .single-agent-element .agent-author .agent-avatar {
        margin-bottom: 30px;
    }

    .single-agent-property.agent-tabs h3 {
        font-size: 25px;
    }

    .list-item-agent .agent-inner .agent-wrapper.column3 {
        width: calc(100% - 30px);
    }

    .single-agent-element .agent-author .agent-content,
    .single-agent-element .agent-author .agent-avatar {
        width: calc(100% - 40px);
        margin-left: 40px;
    }

    .single-agent-element .agent-author .list-infor {
        grid-template-columns: 1fr;
    }
}