.modal-xxl{
   max-width:90%;
}
.inner_page_header.agents_profile_popup{
   min-height:240px;
}
.agents_profile_popup .head_profile_img{
   width:190px;
   height:180px;
}
.agents_profile_popup .btn_contact_me{
   font-size:18px;
   padding:14px 30px;
}
.agents_profile_popup .head_profile_content .pro_share_btn a{
   padding:15px 20px;
   font-size: 18px;
   border-left:1px solid #fff;
}
#AgentDetails .btn_close_bg{
   background-color:#ee6583 !important;
   top:10px;
   right:24px;
   width:32px;
   height:32px;
   z-index:99;
   border-radius:50%;
   display:flex;
   justify-content:center;
   align-items:center;
}

#AgentDetails .btn_close_bg .btn-close{
   filter: invert(100%) sepia(97%) saturate(1723%) hue-rotate(346deg) brightness(1200%) contrast(97%);
   z-index:999;
   opacity:1;
   background-size:50%;
}

@media (max-width:1199.98px){
.agents_profile_popup .btn_contact_me{font-size:17px; padding:14px 16px;}

}

@media (max-width:991.98px){
.inner_page_header.agents_profile_popup{min-height:200px;}
.inner_page_header .inner_header_content{padding:16px 0;}
.agents_profile_popup .head_profile_img{width:140px; height:auto;}
.agents_profile_popup .head_profile_img img{max-width:140px;}
.agents_profile_popup .container{padding-left:16px; padding-right:16px;}
.modal-xxl{max-width:95% !important; width:100% !important;}
.agents_profile_popup .head_profile_content .pro_share_btn a{padding:10px 15px; font-size:16px;}
.agents_profile_popup .btn_contact_me{font-size:16px; padding:10px 15px;}

}

@media (max-width:767.98px){
.agents_profile_popup .btn_contact_me, .agents_profile_popup .head_profile_content .pro_share_btn{border-radius:6px;}
.agents_profile_popup .head_profile_content .pro_share_btn a{padding:6px 14px; font-size:14px;}
.agents_profile_popup .btn_contact_me{padding:7.7px 16px; font-size:14px; margin-right:7px;}
.agents_profile_popup .head_profile_content .fs-1{font-size:26px !important;}
.agents_profile_popup .head_profile_content .fs-4{font-size:13px !important;}
.agents_profile_popup .head_profile_content .review_star{font-size:13px !important;}
.agents_profile_popup .head_profile_content .review_star .fs-6{font-size:13px !important;}
.agents_profile_popup .head_profile_img{width:120px;}
.agents_profile_popup .head_profile_img img{max-width:120px;}
.agents_profile_popup .head_profile_content .pro_share_btn{ margin:13px 0 0 0;}
.sticky_wrap{position:static;}
#agentContact, #agentReviewSubmit{font-size:14px;}
#reviewBuySell{font-size:9px;}
}

@media (max-width:575.98px){
.inner_page_header.agents_profile_popup{min-height:360px;}
.agents_profile_popup .head_profile_img{margin: 0 auto 16px;}
.agents_profile_popup .head_profile_content{text-align:center;}
.agents_profile_popup .head_profile_content .pro_share_btn{margin:15px auto 0;}
.agents_profile_popup .btn_contact_me{width:100%; margin-top:16px;}
.agents_profile_popup .head_profile_content .pro_share_btn{width:100%; justify-content:center;}
#reviewBuySell{font-size:8px;}
}