.tf-agent-wrap.disable-border-radius * {
    border-radius: 0 !important;
}

.tf-agent-wrap .agent-post .featured-post 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;
}

.tf-agent-wrap .agent-post:hover .featured-post img {
    -webkit-transform: scale3d(1.07, 1.07, 1.07);
    transform: scale3d(1.07, 1.07, 1.07);
}

.tf-agent-wrap .featured-post .wrap-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;
}

.tf-agent-wrap .agent-post:hover .wrap-image::after {
    bottom: 0;
    opacity: 1;
    visibility: visible;
}

/* style 1 */

.tf-agent-wrap.style1 .featured-post img {
    object-fit: cover;
    width: 100%;
}

.tf-agent-wrap.style1 .featured-post {
    position: relative;
    margin-bottom: 17px;
}

.tf-agent-wrap.style1 .featured-post .wrap-image {
    border-radius: 16px;
    display: block;
    position: relative;
    overflow: hidden;
}

.tf-agent-wrap.style1 .featured-post .social {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 17px 17px;
    border-radius: 16px;
    position: absolute;
    bottom: 20px;
    left: 44px;
    right: 44px;
    background: #000000;
    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: 2;
}

.tf-agent-wrap.style1 .featured-post .social a {
    color: #fff;
    padding: 0 18px;
    border-right: 1px solid #FFFFFF33;
    font-size: 16px;
    line-height: 9px;
}

.tf-agent-wrap.style1 .featured-post .social a i {
    vertical-align: middle;
}

.tf-agent-wrap.style1 .featured-post .social a:last-child {
    border: unset !important;
}

.tf-agent-wrap.style1 .featured-post .social a:hover {
    color: var(--theme-primary-color);
}

.tf-agent-wrap.style1 .agent-post:hover .social {
    bottom: 32px;
    opacity: 1;
    visibility: visible;
}

.tf-agent-wrap.style1.position-social-right .featured-post .social {
    flex-direction: column;
    padding: 2px 9px;
    border-radius: 16px;
    bottom: unset;
    top: 50%;
    transform: translateY(-50%);
    left: unset;
    right: 0px;
}

.tf-agent-wrap.style1.position-social-right .featured-post .social a {
    padding: 12px 7px;
    border: unset;
    border-bottom: 1px solid #E4E4E4;
}

.tf-agent-wrap.style1.position-social-right .agent-post:hover .social {
    bottom: unset;
    right: 15px;
}

.tf-agent-wrap.style1 .content {
    position: relative;
    padding-right: 85px;
}

.tf-agent-wrap.style1 .hide-contact .content {
    padding: 0;
    text-align: center;
}

.tf-agent-wrap.style1 .agent-post.hide-contact .social {
    bottom: 0px;
}

.tf-agent-wrap.style1 .agent-post.hide-contact:hover .social {
    bottom: 16px;
}

.tf-agent-wrap.style1 .agent-post.hide-contact .featured-post {
    margin-bottom: 25px;
}

.tf-agent-wrap.style1 .content .position {
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: #5C5E61;    
}

.tf-agent-wrap.style1 .content .title {
    margin-bottom: 2px;
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
}

.tf-agent-wrap.style1 .content .phone-user,
.tf-agent-wrap.style1 .content .mail-user {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: #A3ABB0;
    border: 1px solid #ECECEC;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #5C5E61;
}

.tf-agent-wrap.style1 .content .phone-user:hover,
.tf-agent-wrap.style1 .content .mail-user:hover {
    background: var(--theme-primary-color);
    border-color: var(--theme-primary-color);
    color: #fff;
}

.tf-agent-wrap.style1 .content .group-contact {
    display: flex;
    align-items: center;
    column-gap: 8px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
 
.tf-agent-wrap.style1 .content .tf-button a {
    font-size: 16px;
    font-weight: 700;
    line-height: 26px;
    color: #161E2D;
    border: 1px solid #161E2D;
    padding: 10px 30px;
    border-radius: 4px;
    background: #fff;
    display: inline-block;
    margin-top: 15px;
}

.tf-agent-wrap.style1 .content .tf-button a:hover {
    background: var(--theme-primary-color);
    color: #fff;
}

.tf-agent-wrap.style1 .content .tf-button a:hover {
    border-color: var(--theme-primary-color);
    -webkit-transition: all 0.25s ease-in-out;
	-moz-transition: all 0.25s ease-in-out;
	-ms-transition: all 0.25s ease-in-out;
	-o-transition: all 0.25s ease-in-out;
	transition: all 0.25s ease-in-out;
}

/* style 2 */

.tf-agent-wrap.style2 .featured-post img {
    object-fit: cover;
    width: 100%;
}

.tf-agent-wrap.style2 .featured-post {
    position: relative;
    margin-bottom: 0px;
}

.tf-agent-wrap.style2 .featured-post .wrap-image {
    border-radius: 16px;
    display: block;
    position: relative;
    overflow: hidden;
}

.tf-agent-wrap.style2 .featured-post .social {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 17px 17px;
    border-radius: 16px;
    position: absolute;
    bottom: 20%;
    left: 44px;
    right: 44px;
    background: #000000;
    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: 2;
}

.tf-agent-wrap.style2 .featured-post .social a {
    color: #fff;
    padding: 0 18px;
    border-right: 1px solid #FFFFFF33;
    font-size: 16px;
    line-height: 9px;
}

.tf-agent-wrap.style2 .featured-post .social a i {
    vertical-align: middle;
}

.tf-agent-wrap.style2 .featured-post .social a:last-child {
    border: unset !important;
}

.tf-agent-wrap.style2 .featured-post .social a:hover {
    color: var(--theme-primary-color);
}

.tf-agent-wrap.style2 .agent-post:hover .social {
    bottom: 25.3%;
    opacity: 1;
    visibility: visible;
}

.tf-agent-wrap.style2.position-social-right .featured-post .social {
    flex-direction: column;
    padding: 2px 9px;
    border-radius: 16px;
    bottom: unset;
    top: 50%;
    transform: translateY(-50%);
    left: unset;
    right: 0px;
}

.tf-agent-wrap.style2.position-social-right .featured-post .social a {
    padding: 12px 7px;
    border: unset;
    border-bottom: 1px solid #E4E4E4;
}

.tf-agent-wrap.style2.position-social-right .agent-post:hover .social {
    bottom: unset;
    right: 15px;
}

.tf-agent-wrap.style2 .content {
    position: relative;
    text-align: center;
    margin-top: -26%;
    z-index: 2;
}

.tf-agent-wrap.style2 .hide-contact .content {
    padding: 0;
    text-align: center;
}

.tf-agent-wrap.style2 .agent-post.hide-contact .social {
    bottom: 0px;
}

.tf-agent-wrap.style2 .agent-post.hide-contact:hover .social {
    bottom: 16px;
}

.tf-agent-wrap.style2 .agent-post.hide-contact .featured-post {
    margin-bottom: 25px;
}

.tf-agent-wrap.style2 .content .position {
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: #fff;    
    opacity: 0.5;
}

.tf-agent-wrap.style2 .content .title {
    margin-bottom: 2px;
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
}

.tf-agent-wrap.style2 .content .title a {
    color: #fff;
}

.tf-agent-wrap.style2 .content .title a:hover {
    color: var(--theme-primary-color);
}

.tf-agent-wrap.style2 .phone-user,
.tf-agent-wrap.style2 .mail-user {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #00000033;
    backdrop-filter: blur(4px);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.tf-agent-wrap.style2 .phone-user:hover,
.tf-agent-wrap.style2 .mail-user:hover {
    background: var(--theme-primary-color);
    color: #fff;
}

.tf-agent-wrap.style2 .group-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: column;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
}

.tf-agent-wrap.style2 .featured-post .wrap-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 68.29%, #000000 100%);
    height: 100%;
    opacity: 1;
    visibility: visible;
}
 
.tf-agent-wrap.style2 .content .tf-button a {
    font-size: 16px;
    font-weight: 700;
    line-height: 26px;
    color: #161E2D;
    border: 1px solid #161E2D;
    padding: 10px 30px;
    border-radius: 4px;
    background: #fff;
    display: inline-block;
    margin-top: 15px;
}

.tf-agent-wrap.style2 .content .tf-button a:hover {
    background: var(--theme-primary-color);
    color: #fff;
}

.tf-agent-wrap.style2 .content .tf-button a:hover {
    border-color: var(--theme-primary-color);
    -webkit-transition: all 0.25s ease-in-out;
	-moz-transition: all 0.25s ease-in-out;
	-ms-transition: all 0.25s ease-in-out;
	-o-transition: all 0.25s ease-in-out;
	transition: all 0.25s ease-in-out;
}


/*Column Agents*/
.tf-agent-wrap .wrap-agent-post.column-1 .item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.tf-agent-wrap .wrap-agent-post.column-2 .item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 49.99%;
    flex: 0 0 49.99%;
    max-width: 49.99%;
}

.tf-agent-wrap .wrap-agent-post.column-3 .item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.33%;
    flex: 0 0 33.33%;
    max-width: 33.33%;
}

.tf-agent-wrap .wrap-agent-post.column-4 .item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}
/*End Column Agents*/

/* Carousel */
.tf-agent-wrap.has-carousel .wrap-agent-post .item .agent-post {
    margin-bottom: 0px;
}

.tf-agent-wrap.has-carousel .row {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 80px;
}

.tf-agent-wrap.has-carousel .row>* {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.tf-agent-wrap.has-carousel .wrap-agent-post .item {
    -webkit-box-flex: 0 !important;
    -ms-flex: 0 0 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

.tf-agent-wrap.has-carousel .owl-carousel .owl-stage {
    display: flex;
}

.tf-agent-wrap.has-carousel .wrap-agent-post .owl-carousel .owl-item img{
    display: unset;
}

.tf-agent-wrap.has-carousel .owl-carousel .owl-nav {
    position: absolute;
    right: 0;
    top: 50%;
    width: 100%;
}

.tf-agent-wrap.has-carousel .owl-carousel .owl-nav .owl-next,
.tf-agent-wrap.has-carousel .owl-carousel .owl-nav .owl-prev {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: #fff;
    background-color: var(--theme-primary-color);
    font-size: 20px;
    text-align: center;
    padding: 0;
    display: flex;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
}

.tf-agent-wrap.has-carousel .owl-carousel .owl-nav .owl-next {
    left: unset;
    right: 0;
}

.tf-agent-wrap.has-carousel .owl-carousel .owl-nav .owl-prev:before,
.tf-agent-wrap.has-carousel .owl-carousel .owl-nav .owl-next:before,
.tf-agent-wrap.has-carousel .owl-carousel .owl-dots .owl-dot:before {
    display: none;
}

.tf-agent-wrap .owl-carousel .owl-nav .owl-prev:hover, 
.tf-agent-wrap .owl-carousel .owl-nav .owl-next:hover {
    color: #091D3E;
    background-color: #fff;
}

.tf-agent-wrap .owl-carousel .owl-nav .owl-prev.disabled, 
.tf-agent-wrap .owl-carousel .owl-nav .owl-next.disabled {
    opacity: .35;
    cursor: auto;
    pointer-events: none;
}

.tf-agent-wrap.has-carousel .wrap-agent-post.owl-carousel .item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.tf-agent-wrap.has-carousel .owl-carousel.row {
    margin: 0 !important;
}

.tf-agent-wrap.has-carousel .owl-carousel .owl-dots {
    position: absolute;
    bottom: -7%;
    display: flex;
}

.tf-agent-wrap.has-carousel .owl-dots .owl-dot {
    margin: 0 7.5px;
    width: 8px;
    height: 8px;
    line-height: 8px;
    border-radius: 50%;
    position: relative;
    display: inline-block;
    overflow: unset;
    background: #E4E4E4;
    flex-shrink: 0;
}

.tf-agent-wrap.has-carousel .owl-dots .owl-dot::after {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    content: "";
    width: 14px;
    height: 14px;
    overflow: visible;
    border: 1px solid transparent;
    padding: 0;
}

.tf-agent-wrap.has-carousel .owl-dots .owl-dot.active::after {
    border: 1px solid var(--theme-primary-color);
}

.tf-agent-wrap.has-carousel .owl-dots .owl-dot.active {
    background-color: var(--theme-primary-color);
}
/* End Carousel */

/* Responsive */
@media only screen and (max-width: 991px) {

    .tf-agent-wrap .wrap-agent-post.column-4 .item,
     .tf-agent-wrap .wrap-agent-post.column-3 .item,
      .tf-agent-wrap .wrap-agent-post.column-1 .item {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .tf-agent-wrap.style2 .agent-post {
        display: block;
    }

    .tf-agent-wrap.style2 .agent-post .featured-post,
    .tf-agent-wrap.style2 .agent-post .content {
        width: 100%;
    }

    .tf-agent-wrap.style2 .agent-post .content {
        padding: 30px 20px;
    }

}

@media only screen and (max-width: 767px) {
    .tf-agent-wrap .wrap-agent-post.column-4 .item,
     .tf-agent-wrap .wrap-agent-post.column-3 .item,
      .tf-agent-wrap .wrap-agent-post.column-2 .item {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* End Responsive */