.referral-form-header-row{
    display: flex;
    align-items: center;
    justify-content: center;
}
.form-icon {
    width: 40px !important;
}
.group-inputs{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.group-inputs .input-wrapper{
    flex: 1 1 300px;
}
._textarea{
    height: 200px;
}
._textarea textarea{
    height: 100%;
    padding-top: 20px;
}
.input-wrapper{
    position: relative;    
    width: 100%;    
}
.inp{
    background-color: rgb(255, 255, 255);
    
}
input,textarea,select{
font-weight: 300 !important;
}
.checkbox-input{
    position: relative;
    width: fit-content !important;
    height: fit-content !important;
    background: none !important;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;    
}
.checkbox-input input{    
    display: none;
}
.checkbox-input p{
    margin-top: 0;
}
.check-box-response{
    flex: 0 1 30px;
    position: relative;
    height: 30px;
    width: 30px;
    border: 1px solid rgba(0, 0, 0, 0.288);   
    display: flex; 
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.text-line{
    flex: 1 1 500px;
}
.check-box-response::after{
    content: "";    
    height: 30px;
    width: 30px;
}
.checkbox-input input:checked + .check-box-response::after{
    content: "\f00c";
    height: 30px;
    width: 30px;
    display: flex; 
    justify-content: center;
    align-items: center;
}

label{
    display: flex;
    padding: 10px 0;
    color: rgb(7, 7, 7);
}

img{
    object-fit: cover;    
}
form{    
    width: 100%;    
}
.form-button-wrapper{
    padding: 10px 0;
    width: 100%;
}
.form-button-wrapper button:hover{
    background-color: var(--color-theme1);
}













.referral-form-section h1 {
    padding: 10px 0 15px;
    font-size: var(--Mfont);
}
.referral-form-header-row{
    text-align: center;
}

/* Referral form */
.section-title{
    padding: 30px 0;
}
.section-title h2{
    font-weight: 600;
    font-size: 25px;
    color: var(--pri-color1);
}

.referral-form-section{
    padding: 150px 0;
}
.referral-form-body{
    padding: 50px 0 50px;
    display: grid;
    grid-template-columns: repeat(1,1fr);
    gap: 50px;
}

.client-details-group-contents{    
    padding: 60px;    
    background-color: #f0f7f6;
    display: grid;
    grid-template-columns: repeat(1,1fr);
    gap: 20px;
    /* border-radius: 20px; */
}

/* File upload section */
.upload-file-wrapper{
    position: relative;
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    overflow: hidden;
}
.upload-file-wrapper button{
    flex: 1 1 100px !important;
    background-color: green !important;
    height: 100% !important;
}
.upload-file-wrapper .inp{
    flex: 1 1 800px !important;
    
}
.upload-file-wrapper .inp input{
    cursor: not-allowed;
}
#clear-btn{    
    width: fit-content !important;
    margin: 10px 0;
    display: none;
}
.referral-form-footer{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}
#referral-form-submit-btn{
    width: 150px;    
    position: relative !important;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    height: 55px; 
    font-size: 17px; 
    /* border-radius: 10px;
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.267); */
    
}
small{
    font-size: 14px;
    display: block;
}


/* Referral Response Box */
.referral-response-message-box{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(24, 24, 24, 0.884);
    z-index: 5;    
    justify-content: center;
    align-items: center;
    display: none; 
    animation: fadeIn 0.3s linear;   
}
.message-box{
    position: relative;
    max-width: 600px;
    width: 95%;
    background-image: url(../backgrounds/bg5.png);
    background-color: aliceblue;
    background-size: 100% 100%;
    padding: 40px 50px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.062) !important;
    animation-delay: 0.4s;
    animation: 0.4s bounceIn linear;
    border-radius: 20px;
}
.message-box .fa-close{
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}
.message-box h3{
    margin: 20px 0 20px;
    font-size: 22px;
    font-weight: 600 !important;
    text-align: center;
}
.message-box p{
    text-align: center;
    
}
.message-box .small-text{
    margin: 20px 0 0;
    color: rgb(11, 60, 92);
    font-style: italic;  
    text-align: center;
    font-size: 15px;
    justify-content: center;
    display: flex;
}
.message-box .logo{
    width: 170px !important;
    padding: 20px 0 0;
    margin: 0 auto;
}



@media screen and (max-width:600px){
    
    
    .client-details-group-contents{
        padding: 50px 20px !important;
    }
    .referral-form-section{
        padding: 100px 0;
    }
    #referral-form-submit-btn{
        width: 100% !important;
    }
}