body
{
    background-color: #f9fafb;
}
.container
{
    margin-top: 3rem;
}

/* Perofile page css starts here*/
.personal-information-section
{
    padding: 20px;
    box-sizing: border-box;
}
.profile-image
{
    border: 4px solid #F0825F;
    box-sizing: border-box;
}
.profile-image-container
{
    min-width: 137px;
    max-width: 137px;
    position: relative;
}
.new-image-div
{
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border: 3px solid #F0825F;
    position: absolute;
    border-radius: 15px;
    top: 70%;
    right: 5px;

}
.new-image-div .mdi
{
    color: #4AB969;
    font-size: 15px;
}
.personal-info-container
{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    position: relative;
    width: 100%;

}
.personal-action-container
{
    display: flex;
    justify-content: flex-end;
    width: 100%;
}
.personal-action-container .btn
{
    max-width: 137px;
}
.profile-info
{
    border-radius: 5px;
}
.person-name .thin
{
    font-weight: 400;
}
.personal-balance
{
    background-color: rgba(0,183,51,0.20);
    padding: 5px 10px;
    border-radius: 5px;
    width: calc(50% - 5px);
    margin-right: 5px;
}
.personal-balance .personal-balance-para
{
    width: 100%;
    color: #00B733;
    display: flex;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 0px;

}
.personal-balance .personal-balance-para span
{
    width: 100%;
    color: #00B733;
    margin-left: auto;
    font-weight: bold;
    width: fit-content;

}
.personal-nhi
{
    background-color: rgba(91,147,240,0.20);
    padding: 5px 10px;
    border-radius: 5px;
    width: calc(50% - 5px);
    margin-left: 5px;
}
.personal-nhi .personal-nhi-para
{
    width: 100%;
    color: #3624FB;
    display: flex;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 0px;

}
.personal-nhi .personal-nhi-para span
{
    width: 100%;
    color: #3624FB;
    margin-left: auto;
    font-weight: bold;
    width: fit-content;

}
.paypal-payment-btn
{
    background-color: #0CBAC3;
    width: 100%;
    text-align: center;
    color: white;
    max-height: 30px;
}
.terms-and-conditions-btn
{
    background-color: #F0825F;
    width: 100%;
    height: 100%;
    max-width: 137px;
    max-height: 137px;
    color:white;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    font-size: 12px;
}
.terms-and-conditions-btn .mdi-file-document
{
    font-size: 45px;
}


.change-password-btn
{
    background-color: #7164FB;
    width: 100%;
    height: 100%;
    max-width: 137px;
    max-height: 137px;
    color:white;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    font-size: 12px;

}
.personal-update-profile-btn-upper
{
    min-width: 30px;
    width: 30px;
    max-width: 30px;
    position: absolute;
    top: 15px;
    right: 25px;
    border-radius:30px;

}

.personal-update-profile-btn
{
    width: 100%;
    height: 100%;
    max-width: 137px;
    max-height: 137px;
    color:white;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    font-size: 12px;
}
.personal-update-profile-btn .mdi-file-document
{
    font-size: 45px;
}
.change-password-btn .mdi-lock
{
    font-size: 45px;
}
.terms-and-conditions-btn:hover ,.change-password-btn:hover
{
    color: white;

}
/* css for details cards starts here*/
.personal-detail-card 
{
border-left: 5px solid #4AB969;
}
.personal-detail-card-heading
{
    margin-bottom: 0.6rem;
}
.personal-detail-card-heading h5
{
 color:#4AB969;   
 font-size: 14px;
 font-weight: bold;
}

.detail-container
{
    display: flex;
    width: 100%;
}
.detail-label
{
    font-size: 12px;
    line-height: 18px;
    font-weight: bold;
    padding-right: 1rem;
}
.detail-value
{
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
    margin-left: auto;
    width: calc(100% - 50%);
    overflow: hidden;
    text-overflow: ellipsis;
    
}
.address-detail-card 
{
border-left: 5px solid #0CBAC3;
}
.address-detail-card-heading
{
    margin-bottom: 1rem;
}
.address-detail-card-heading h5
{
 color:#0CBAC3;   
 font-size: 14px;
 font-weight: bold;
}
.contact-detail-card 
{
border-left: 5px solid #7164FB;
}
.contact-detail-card-heading
{
    margin-bottom: 1rem;
}
.contact-detail-card-heading h5
{
 color:#7164FB;   
 font-size: 14px;
 font-weight: bold;
}
.practice-detail-card 
{
border-left: 5px solid #F0825F;
}
.practice-detail-card-heading
{
    margin-bottom: 1rem;
}
.practice-detail-card-heading h5
{
 color:#F0825F;   
 font-size: 14px;
 font-weight: bold;
}
.emergency-detail-card 
{
border-left: 5px solid #FF0000;
}
.emergency-detail-card-heading
{
    margin-bottom: 1rem;
}
.emergency-detail-card-heading h5
{
 color:#FF0000;   
 font-size: 14px;
 font-weight: bold;
}

.main-emergency-card{
    display:flex;
    flex-direction: column;
    padding:20px;
    margin: 7px 5px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.10);
    border-radius: 6px;
    position: relative;
}

.emergency-card
{
    padding:20px;
    margin: 7px 5px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.10);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.emergency-card .emergency-card-inner-div,
.emergency-card .card-details-div
{
    width: 100%;
    display:flex;
}

.card-detail .datetime-span,
.card-detail .span-duration
{
    color: #707070;
    font-size: 12px;
    line-height: 16px;
}
.emergency-card .card-detail
{
display: flex;
flex-direction: column;
width: fit-content;
}
.contact-image-container
{
    max-width: 60px;
    margin-right: 10px;
}
.contact-image-container img
{
    border: 3px solid #FF0000;
}
.card-content
{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.card-heading h5
{
color: #FF0000;
font-size: 14px;
font-weight: bold;
width: calc(100% - 5px);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.card-partner span
{
    font-size: 12px;
    font-weight: normal;
    color: #999;
}
.card_detail{
    display: flex;
    flex-direction: column;
}
.close-container
{
    position: absolute;
    top: 10px;
    right: 10px;

}
.close-card
{
    color: #FF0000;
}
.add-new-contact-container
{
    position: absolute;
    top: 20px;
    right: 30px;
    background: #4AB969;
    height: 25px;
    width: 25px;
    border-radius: 15px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* media queries for responsive display starts here*/

@media (max-width:767px) {
    .personal-update-profile-btn-upper
    {
        display: flex;
    }
    
    .personal-information-section
    {
        padding: 0px;
        box-sizing: border-box;
    }
    .profile-image-container
    {
        text-align: center;
        margin-bottom: 20px;
        width: fit-content;
        margin-right: auto;
        margin-left: auto;
    }
    .person-name
    {
        text-align: center;
    }
    .personal-info
    {
        display: flex;
    }
    .profile-info
    {
        padding:0px;
    }
    .profile-container
    {
        padding: 20px;
    }
    .personal-action-container
    {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
    .personal-action-container .btn
    {
        display: flex;
        max-width: 100%;
        flex-direction: row;
        height: 30px;
        font-size: 10px;
        white-space: nowrap;
        text-overflow: ellipsis;
        width: calc(50% - 5px);
    }
    .personal-action-container .btn:first-of-type
    {
       display: none;
    }
    .personal-action-container .btn .mdi
    {
        font-size: 14px !important;
        margin-right: 5px;
    }
    
}


@media (min-width:768px)
{
    .personal-information-section
    {
        padding: 20px;
        box-sizing: border-box;
    }
    .personal-update-profile-btn-upper
    {
        display: none;
    }
    .personal-information-section .section-heading
    {
        display: none;
    }
   
}
@media (min-width:768px) and (max-width:991px)
{
    .personal-action-container
    {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 100%;
        padding-left: 10px;
    }
    .personal-action-container .btn
    {
        display: flex !important;
        width: 100%;
        max-width: 100%;
        flex-direction: row;
        height: 32px;
    } 
    .personal-action-container .btn .mdi
    {
        font-size : 14px;
        padding-right: 5px;
    } 
}
@media (min-width:992px)
 {
    
    .personal-action-container .btn
    {
        display: flex !important;
        width: 100%;
        max-width: 100%;
        flex-direction: column !important;
    } 
    .personal-action-container .btn:nth-child(even)
    {
        margin-left: 20px;
        margin-right: 20px;
    }
    
}


/*Account Page Css Starts here*/

.section-heading h3
{
    color: #707070;
    font-size: 16px;
    position: relative;
}
.top-links-container
{
    padding: 10px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.invoice-type-link,.invoice-type-link:hover
{
    height: 30px;
    color: #707070;
    font-size: 12px;
    font-weight: 500;
    box-sizing: border-box;
    margin: 0px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.active-invoice-link
{
    border-bottom: 3px solid #7164FB;
}
.accounts-info-container
{
    /* background-color:#f9fafb;
    padding:20px; */
    border-radius: 6px;
}
.payment-details-container 
{
    display: flex;
}
.payment-card
{
    padding: 20px;
    /* width: calc(100% - 80%); */
}
.payment-card h4
{
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    color: white;
    /* margin-bottom: 1rem; */
}
.payment-card p
{
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    color: white;
    /* max-width: 250px; */
    /* width: 180px; */

}
.total-payment-due
{
    background-color: #0CBAC3;
    border-radius: 6px;
}
.advance-payment-due
{
    background-color: #7164FB;
    border-radius: 6px;
}
.account-balance
{
    background-color: #F0825F;
    border-radius: 6px;
}

.payment-details-form .form-group
{
    margin-bottom: 10px;
}
.form-control-container
{
    display: flex;
    align-items: center;
}
.form-control-container label
{
margin-bottom: 0px;
}
.form-control-container input[type=radio]
{
transform: scale(1.3);
}
.amount-reset-btn
{
    color: white;
    background-color: #0CBAC3;
    min-height: 28px;
    height: 32px !important;
    width: 80px;

}
.pay-with-stripe-btn
{
    color: white;
    background-color: #7164FB;
    min-height: 28px;
    height: 32px !important;
    width: 80px;
}
.payment-method strong
{
    color: #0CBAC3 !important;
}
textarea.form-control::placeholder
{
    color: #bfbfbf;
}
.invoice-card-header
{
    display: flex;
    align-items: center;
}

.invoice-grid-card
{
    width: 100%;
    margin-bottom: 15px;
    background-color: white;
    padding:20px;
    /* box-shadow: 0 0 10px 0px rgb(183 192 206 / 20%); */
    border:0.5px solid rgba(238, 238, 238, 0.75);
    border-left:5px solid #4AB969;;
    border-radius: 5px;
    margin-top: 20px;
}
.invoice-grid-card:last-of-type
{
    margin-bottom: 0px !important;
}

.invoice-grid-container .grid
{
    box-shadow: none;
    background-color: transparent;
    border:0px;
}
.invoice-grid-container .grid-body
{
    
    padding: 0px;
}
.invoice-date
{
    font-size: 12px;
    background-color: #4AB969;
    color: white;
    padding: 4px 10px;
    margin-bottom: 0px;
    border-radius: 4px;
}
.incovice-amount
{
    color: #4AB969;
    font-weight: normal; 
    margin-left: auto;
}
.incovice-amount span
{
    color: #4AB969;
    font-weight: bold;
}

.invoice-download-link,.invoice-download-link:hover
{
    color: white;
    padding: 4px;
    background-color: #4AB969;
    border-radius: 3px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
}
.invoice-card-body
{
    display: flex;
}
.invoice-card-body .cell
{
    width: calc(100% - 85.7142px);
    padding:5px;
}

.invoice-card-body .cell h4
{
    font-size: 12px;
    font-weight: bold;
    width: calc(100% - 1px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1rem;
}
.invoice-card-body .cell p
{
    font-size: 11px;
    font-weight: Normal;
    width: calc(100% - 1px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*media Queries for amount page*/


@media (max-width:767px)
{
.accounts-info-container
{
    /* padding: 8px; */
}
.invoice-card-body
{
    display: flex;
    flex-wrap: wrap;
}
.invoice-card-body .cell
{
    width: calc(100% - 50%);
    padding:5px;
}
.invoice-card-body .cell h4
{
    font-size: 11px;
    font-weight: bold;
    width: calc(100% - 1px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1rem;
}
.invoice-card-body .cell p
{
    font-size: 10px;
    font-weight: Normal;
    width: calc(100% - 1px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.accounts-section > .grid .grid-body
{
    padding: 10px;
}
.top-links-container
{
    display: none;
}
.payment-card
{
    padding: 10px;
    width: calc(100% - 69%);
}
.payment-card h4
{
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    color: white;
    margin-bottom: 0.5rem;
}
.payment-card p
{
    font-size: 10px;
    font-weight: normal;
    text-align: center;
    color: white;
    width: calc(100% - 1px)

}
.payment-details-container
{
    display: flex;
    justify-content: space-between;
}
}
@media (max-width:357px)
{
.invoice-date
{
    font-size: 10px;
}
.incovice-amount
{
    font-size: 12px;
}
.payment-card
{
    padding: 10px;
    width: calc(100% - 69%);
}
.payment-card h4
{
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    color: white;
    margin-bottom: 0.5rem;
}
.payment-card p
{
    font-size: 10px;
    font-weight: normal;
    text-align: center;
    color: white;
    width: calc(100% - 1px)

}
.payment-details-container
{
    display: flex;
    justify-content: space-between;
}

}
@media (min-width:768px)
{

}
@media (min-width:767px) and (max-width:991px)
{
.invoice-card-body
{
    display: flex;
    flex-wrap: wrap;
}
.invoice-card-body .cell
{
    width: calc(100% - 67%);
    padding:5px;
}
.payment-details-container
{
    display: flex;
    justify-content: space-between;
}
.payment-card
{
    padding: 10px;
    width: calc(100% - 68%);
}
}

/* Css for Letter and Documentation*/

.letter-profile-container
{
    display:flex;
    height: 100%;
    align-items: center;
}
.letter-image-container
{
    max-width: 62px;
    max-height: 62px;
}
.letter-profile-name
{
    display: flex;
    align-items: center;
}
.letter-profile-name-heading
{
    font-size: 18px;
    line-height: 24px;
    font-weight: bold;
    margin-left: 15px;
}
.letter-action-container
{
    display: flex;
    width: 100%;
    padding-left: 15px;
    height: 100%;
}
.letter-action-container button:nth-child(even)
{
    margin-left: 15px;
}
.letter-action-container button
{
    display: flex;
    flex-direction: row;
    min-width: calc(50% - 7px);
}
.letter-action-container button .mdi
{
   font-size: 30px;
}
.letter-detail-card-heading
{
    margin-bottom: 1rem;
}
.letter-detail-card-heading h5
{
    font-size: 14px;
    font-weight: bold;
}
.letter-detail-card-body
{
    margin-bottom: 1rem;
    border: 1px solid #e9e9e9;
    /* padding: 10px 0; */
}
.letter-and-documentation-container .detail-container
{
    border-bottom: 1px solid #e5e5e5;
    /* margin-bottom: 8px; */
    padding: 10px;
}

.letter-and-documentation-container .detail-container label.detail-label{
    margin-bottom: 0;
}

.letter-and-documentation-container .detail-value
{
    text-align: end;
}

.letter-and-documentation-container .grid-body >.row>.col:nth-of-type(3)
{
    border-top: 1px solid #e5e5e5;
    padding-top: 1rem;
    border-right: 1px solid #e5e5e5;
    padding-right: 1.5rem;
}
.letter-and-documentation-container .grid-body >.row>.col:nth-of-type(4)
{
    border-top: 1px solid #e5e5e5;
    padding-top: 1rem;
    padding-left: 1.5rem;
}
.letter-emergency-detail-card-heading h5
{
    color:black;
    margin-bottom: 1rem;
    font-size: 14px;
    font-weight: bold;
}
.letter-emergency-detail-card-body .emergency-card
{
    background-color:#f4f4f8;
    border-radius: 16px;
    padding:15px 15px;
    box-shadow: -1px 2px 1px 0px rgb(0 0 0 / 6%), 0 3px 3px 0 rgb(0 0 0 / 18%)
}

.letter-emergency-detail-card-body .main-emergency-card
{
    box-shadow: none;
    background-color:#f4f4f8;
    border-radius: 16px;
    padding:15px 15px;
}

.letter-emergency-detail-card-body .contact-image
{
    border:3px solid #6783D6;
}
.letter-emergency-detail-card-body .contact-image-container
{
    max-width: 50px;
}
.letter-emergency-detail-card-body h5
{
    color: black;
}
.letter-emergency-detail-card-body .card-partner span
{
    color: #6783D6
}
.letter-and-documentation-container .practice-detail-card
{
    border: 0px;
}
.letter-and-documentation-container .practice-detail-card-heading h5
{
    color: black;
}
.letter-and-documentation-container .address-detail-card-heading h5
{
    color: black;
}
.letter-and-documentation-container .contact-detail-card-heading h5
{
    color: black;
}
@media (max-width:767px)
{
 .letter-action-container
 {
     padding-left: 0px;
 }   
 .letter-action-container button
 {
     font-size: 10px;
     white-space: nowrap;
 }
 .letter-and-documentation-container .grid-body >.row>.col:nth-of-type(3)
{
    border-top: 0px;
    padding-top: 1rem;
    border-right: 0px;
    padding-right: 0rem;
}
.letter-and-documentation-container .grid-body >.row>.col:nth-of-type(4)
{
    border-top: 0px;
    padding-top: 1rem;
    padding-left: 0rem;
}

}
@media (min-width:768px) and (max-width:991px)
{
    .letter-action-container button .mdi
    {
       display: none !important;
    }
}

/* Raheel Asghar 16-09-2021 */
.t-header-content .nav
{
    width: 100%;
}

.t-header .t-header-content-wrapper .t-header-content .nav .nav-item .nav-link-switch
{
    display: flex;
    align-items: center;
}


