#agent-form.modal{
   max-width: 100%;
   margin: 0 auto;
   width: 100%;
   height: 100%;
   display: none;
   background-color: rgb(0, 0, 0 ,0.5);
   position: fixed;
   top: 0;
   left: 0;
   z-index: 99999;
   overflow-x: hidden;
     overflow-y: auto;
 
 }
 #agent-form.modal.modal-show{
   display: block;
 }
 
 #agent-form.modal .modal-content{
   padding:30px;
   width: 100%;
   background-color: #ffffff;
   position: relative;
   margin-right: auto;
   margin-left: auto;
   /* height: 100%; */
 
 
 }
 #agent-form.modal .close{
   font-size: 50px;
   display: flex;
   justify-content: end;
   cursor: pointer;
   float:none !important;
 }

 @media (min-width:576px){
   #agent-form.modal .modal-content {
     width: 80%;
     margin-top: 100px;
     margin-bottom: 40px;
     height: fit-content;
 
   }
 }
 @media (min-width:1200px){
   #agent-form.modal .modal-content{
     width: 800px;
   }
 }
 #agent-form input{
   position: relative;
 
 }
 #agent-form .wpcf7-not-valid-tip{
   position: absolute;
   width: max-content;
   bottom: -42px;
 
 }
 .modal-heading
{
  margin-bottom: 20px;

}
.stop-scrolling {
  height: 100%;
  overflow: hidden;
}
#text-agent
{
    margin-top:20px;
}
 @media (min-width:767px){
	 #text-agent
	{
		width:32%;
	}
}
 @media (max-width:767px){
	 #text-agent
	{
		width:100%;
	}
}
