/*=====================================
Invoice details Preview view*/
/*=====================================*/
.invoice-leftbar {
    height: 100%;
    border-right: 1px solid #E4E4E4;
}

    .invoice-leftbar .invlice-listing li.active {
        background-color: #01A3FE;
    }

        .invoice-leftbar .invlice-listing li.active * {
            color: #fff !important
        }

    .invoice-leftbar .header {
        padding: 8px 20px;
        border-bottom: 1px solid #E4E4E4;
    }

        .invoice-leftbar .header p {
            margin-bottom: 0;
        }

ul.invlice-listing li {
    display: block;
    border-bottom: 1px solid #E4E4E4;
    font-size: 12px;
    padding: 8px 20px;
}

.pl-20 {
    padding-left: 20px;
}

.invoice-details {
    position: relative;
}

.invoice-wrapper {
    background: #FFFFFF;
    border: 0.847499px solid #E6E9EC;
    box-shadow: 0px 0px 6.77999px rgba(0, 0, 0, 0.06);
    border-radius: 6.77999px;
    padding: 30px;
    margin: 30px 5px;
    width: 95%;
    font-size: 12px;
}

.tofrom {
    position: relative;
    margin-bottom: 15px;
}

    .tofrom::before {
        width: 83%;
        height: 1px;
        background-color: #D9D9D9;
        position: absolute;
        top: 8px;
        right: 0;
        content: "";
    }

.text-label {
    color: #5f5f5f;
}

.marb-5 {
    margin-bottom: 5px;
}

.border-transparent {
    border-bottom-color: transparent
}


/*===========================================
Search Filter
============================================*/

.search {
    position: relative;
    /* box-shadow: 0 0 40px rgba(51, 51, 51, .1); */
}

    .search input {
        height: 51px;
        text-indent: 15px;
        border: 1px solid #E6E9EC;
        border-radius: 2px;
        background-color: #FFF;
        font-size: 1rem;
        border-radius: 4px;
        border: 1px solid #969696;
        /* filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.05)); */
        border-radius: 5px;
    }

        .search input:focus {
            box-shadow: none;
            border: 1px solid #01A3FE;
        }

    .search .bi-search {
        position: relative;
        top: -6px;
        color: #838383;
        font-size: 16px;
    }

    .search button {
        position: absolute;
        top: 5px;
        right: 5px;
        height: 50px;
        width: 110px;
        background: blue;
    }

/*===========================================
Login Message
============================================*/

.sucess-message {
    position: relative;
    padding: 15px;
    border-left: 6px solid #00BC57;
    border-bottom: 2px solid #00BC57;
    background-color: #FFF;
    color: #00BC57;
    width: auto;
    display: inline-block;
    margin: 15px 0;
}

    .sucess-message i {
        margin-right: 5px;
        font-size: 1rem;
    }

    .sucess-message::before {
        content: "\F231";
        font-family: "bootstrap-icons";
        position: absolute;
        top: 30%;
        left: -6px;
        color: #00BC57;
    }


/*===========================================
Bottom Slide modal
============================================*/
#bottomSlider {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 9999;
    right: 0;
    width: 730px;
    background-color: #ccc;
}

    #bottomSlider #btn {
        display: none;
        background: #FFF;
        border: 1px solid #F1F1F1;
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    }

.bottom-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #FFF;
    font-weight: 600;
    cursor: pointer;
}

    .bottom-modal-close:hover {
        color: #FFF;
    }

/*===========================================
                PDF Viewer
============================================*/
.pdfViewer {
    width: 100%;
    height: 100%
}
/*===========================================
            File Drop Control
============================================*/
.drop-zone {
    max-width: 100%;
    height: 200px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* font-family: "Quicksand", sans-serif; */
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 20px;
    cursor: pointer;
    color: #cccccc;
    border: 1px dashed #DDD;
    border-radius: 10px;
}

.drop-zone--over {
    border-style: solid;
}

.drop-zone__input {
    display: none;
}

.drop-zone__thumb {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background-color: #cccccc;
    background-size: cover;
    position: relative;
}

    .drop-zone__thumb::after {
        content: attr(data-label);
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 5px 0;
        color: #ffffff;
        background: rgba(0, 0, 0, 0.75);
        font-size: 14px;
        text-align: center;
    }

.back-btn {
    color: #2D2D2D;
    cursor: pointer;
    text-decoration: none;
}

    .back-btn:hover {
        text-decoration: none;
        color: #000;
    }

.login-footer {
    background: transparent;
    box-shadow: none;
    position: relative;
}
/*========================================
Expense Details
=========================================*/

.invoicepagination-right {
    justify-content: end;
}

.Invoicepagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 8px;
    margin-bottom: 0px;
}

.Invoicepagination .page-item .page-link {
    color: #6c757d;
    pointer-events: none;
    cursor: auto;
    background-color: #fff;
    border-color: transparent;
}

.invoiceForm-container {
    height: 700px;
    width: 103%;
    overflow: auto;
}

#scrollbar1::-webkit-scrollbar, #scrollbar2::-webkit-scrollbar {
    width: 12px;
}

#scrollbar1::-webkit-scrollbar-track, #scrollbar2::-webkit-scrollbar-track {
    border-radius: 8px;
    background-color: transparent;
    border: 1px solid transparent;
}

#scrollbar1::-webkit-scrollbar-thumb, #scrollbar2::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 3px solid transparent;
    background-clip: content-box;
    background-color: #E1E5EA;
}

fieldset {
    margin: 30px 0;
    position: relative;
    background-color: #FBFBFB;
    padding: 30px 15px;
    border-radius: 10px;
}

legend {
    padding: 4px 10px;
    color: #FFF;
    font-size: 0.9rem;
    margin: 0 auto;
    display: inline-block;
    width: auto;
    position: absolute;
    /*top: -15px;*/
    right: 15px;
    background: #000;
    border-radius: 4px;
    cursor: pointer;
}
/*=======================================
 Chat app Screen
 =======================================*/
.messages-page {
    height: 84.5vh;
    background-color: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
}

.messages-page__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.messages-page__title {
    color: var(--colour-text-darker);
    font-weight: bold;
    font-size: 1.5rem;
}

@media screen and (max-width: 1199px) {
    .messages-page__title {
        font-size: 1.5rem;
    }
}

.messages-page__dark-mode-toogler {
    width: 2.6rem;
    height: 2.6rem;
    padding: 0.35rem;
    border-radius: 50%;
    border: 1px solid #e8e7e7;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .messages-page__dark-mode-toogler:hover {
        background-color: var(--colour-primary);
        border-color: var(--colour-primary);
    }

        .messages-page__dark-mode-toogler:hover path {
            fill: #f7f7f7;
        }

.messages-page__list {
    list-style: none;
    flex-grow: 1;
    overflow-y: scroll;
    overflow-x: hidden;
}

.messages-page__list-scroll {
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.custom-form {
    color: var(--colour-text-darkest);
    padding: 1.5rem;
    border-radius: 13px;
}

.custom-form__search-wrapper, .custom-form__send-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

    .custom-form__search-wrapper input::-moz-placeholder, .custom-form__send-wrapper input::-moz-placeholder {
        color: #9b9b9b;
        font-size: 0.9rem;
    }

    .custom-form__search-wrapper input:-ms-input-placeholder, .custom-form__send-wrapper input:-ms-input-placeholder {
        color: #9b9b9b;
        font-size: 0.9rem;
    }

    .custom-form__search-wrapper input::placeholder, .custom-form__send-wrapper input::placeholder {
        color: #9b9b9b;
        font-size: 0.9rem;
    }

    .custom-form__search-wrapper input:focus, .custom-form__send-wrapper input:focus {
        outline: none;
        box-shadow: none;
    }

    .custom-form__search-wrapper input {
        padding-right: 3rem;
        background-color: #e6ebf5;
        border: 1px solid #e6ebf5;
        height: 3rem;
    }

        .custom-form__search-wrapper input:-moz-placeholder-shown {
            background-color: #e6ebf5;
            border: 1px solid #e6ebf5;
        }

        .custom-form__search-wrapper input:-ms-input-placeholder {
            background-color: #e6ebf5;
            border: 1px solid #e6ebf5;
        }

        .custom-form__search-wrapper input:placeholder-shown {
            background-color: #e6ebf5;
            border: 1px solid #e6ebf5;
        }

        .custom-form__search-wrapper input:focus {
            background-color: #e6ebf5;
            border-color: #e8e7e7;
            color: var(--colour-text);
        }

    .custom-form__send-wrapper input {
        padding-right: 6rem;
        padding-left: 3.25rem;
        background-color: #e6ebf5;
        border: none;
    }

        .custom-form__send-wrapper input:focus {
            background-color: #e6ebf5;
            border-color: transparent;
            color: var(--colour-text);
        }

.custom-form__search-submit {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 3.5rem;
    cursor: pointer;
    background-color: transparent;
    border: none;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .custom-form__search-submit:focus {
        outline: none;
        border: none;
    }

.custom-form__send-submit {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    height: 2.6rem;
    width: 2.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #01a3fe;
    border-radius: 10px;
    box-shadow: 0 3px 3px var(--send-btn-box-shadow-colour);
    border: none;
    outline: none;
    text-align: center;
    font-size: 1.5rem;
    color: white;
}

    .custom-form__send-submit:focus {
        outline: none;
        border: none;
    }

    .custom-form__send-submit:hover {
        background-color: #01a3fe;
    }

.custom-form__send-img {
    position: absolute;
    top: 50%;
    left: 0.5rem;
    transform: translateY(-50%);
    width: 2.3rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-upload > input {
    display: none;
}

.image-upload i {
    cursor: pointer;
    font-size: 1.5rem;
    top: 5px;
    position: relative;
    color: #8f99ad;
}

.custom-form__send-emoji {
    position: absolute;
    top: 50%;
    right: 3.2rem;
    transform: translateY(-50%);
    width: 2.3rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #8f99ad;
    font-size: 1.5rem;
}

.messaging-member {
    border-radius: 13px;
    height: 72px;
}

    .messaging-member:hover {
        background-color: #f7f7f7;
    }

.messaging-member--new .messaging-member__name {
    color: var(--colour-text-darker);
}

.messaging-member--new .messaging-member__message {
    color: var(--colour-text-darker);
    font-weight: bold;
}

.messaging-member--online .user-status {
    background-color: #7bc9aa;
}

.messaging-member--active {
    background-color: #e8f3ff;
}

    .messaging-member--active:hover {
        background-color: #e8f3ff;
    }

@media screen and (max-width: 767px) {
    .messaging-member--active {
        background-color: var(--bg-page);
    }

        .messaging-member--active:hover {
            background-color: #f7f7f7;
        }
}

.messaging-member__wrapper {
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 13px;
    display: grid;
    grid-template-columns: 4rem 4fr;
    grid-template-rows: 2rem 2rem;
    -moz-column-gap: 1rem;
    column-gap: 1rem;
    grid-template-areas: "avatar     name" "avatar     message";
}

@media screen and (max-width: 1199px) {
    .messaging-member__wrapper {
        grid-template-columns: 3.5rem 1fr;
        grid-template-rows: 1.75rem 1.75rem;
    }
}

@media screen and (max-width: 991px) {
    .messaging-member__wrapper {
        grid-template-columns: 3.2rem 1fr;
        grid-template-rows: 1.75rem 1.75rem;
    }
}

.messaging-member__avatar {
    grid-area: avatar;
    position: relative;
    width: 48px;
    height: 48px;
}

    .messaging-member__avatar img {
        border-radius: 50%;
        width: 100%;
    }

.messaging-member__name {
    font-weight: bold;
    grid-area: name;
    color: var(--colour-text-darker);
    margin-top: auto;
    font-size: 0.9rem;
    white-space: nowrap;
    word-break: break-word;
    text-overflow: ellipsis;
    overflow: hidden;
}

.messaging-member__message {
    grid-area: message;
    white-space: nowrap;
    word-break: break-word;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 0.9rem;
}

.chat {
    height: 100%;
    width: 100%;
}

.chat__container {
    height: 100%;
    width: 100%;
}

.chat__wrapper {
    background-color: var(--bg-page);
    height: 100%;
    width: 100%;
    border-left: 1px solid #e8e7e7;
    border-right: 1px solid #e8e7e7;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media screen and (max-width: 767px) {
    .chat__wrapper {
        border-left: none;
        border-right: none;
    }
}

.chat__messaging {
    width: 100%;
    border-bottom: 1px solid #e8e7e7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat__previous {
    width: 8%;
    min-width: 2rem;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.7rem;
    cursor: pointer;
    color: var(--colour-primary);
}

.chat__notification {
    width: 4%;
    min-width: 1.5rem;
}

    .chat__notification span {
        display: none;
        width: 1.4rem;
        height: 1.4rem;
        text-align: center;
        border-radius: 50%;
        font-weight: bold;
        color: white;
        background-color: var(--colour-primary);
        font-size: 0.9rem;
    }

.chat__notification--new span {
    display: block;
}

.chat__infos {
    flex-grow: 1;
}

.chat__actions {
    font-size: 5px;
    height: 2rem;
    min-width: 2rem;
    color: var(--colour-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

    .chat__actions ul {
        list-style: none;
        display: flex;
    }

    .chat__actions li {
        width: 2.6rem;
        height: 2.6rem;
        padding: 0.35rem;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        background-color: var(--bg-page);
    }

        .chat__actions li + li {
            margin-left: 0.3rem;
        }

        .chat__actions li:hover {
            background-color: #e8f3ff;
        }

.chat__content {
    flex-grow: 1;
    overflow-y: scroll;
    overflow-x: hidden;
}

.chat__list-messages {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

    .chat__list-messages li {
        margin-bottom: 0.7rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

        .chat__list-messages li .chat__bubble {
            margin-bottom: 0.2rem;
        }

.chat__bubble {
    position: relative;
    color: var(--colour-text-darkest);
    padding: 0.5rem 1rem;
    border-radius: 22px;
    background-color: var(--bg-page);
    max-width: 30rem;
    font-size: 0.9rem;
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: break-word;
}

.chat__bubble--you {
    margin-right: 2rem;
    color: white;
    background-color: #01a3fe;
}

.chat__bubble--me {
    margin-left: 2rem;
    background-color: #f7f7f7;
    align-self: flex-end;
}

.chat__time {
    font-size: 0.8rem;
    color: #9b9b9b;
    align-self: start;
    padding-bottom: 0.2rem;
}

.chat__time-me {
    font-size: 0.8rem;
    color: #9b9b9b;
    align-self: end;
    padding-bottom: 0.2rem;
}

.chat__send-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-member__wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.chat-member__avatar {
    position: relative;
    width: 48px;
    height: 48px;
}

    .chat-member__avatar img {
        border-radius: 50%;
        width: 100%;
    }

.chat__bubble ul.message-img {
    border-radius: 0.2rem;
    position: relative;
}

    .chat__bubble ul.message-img li {
        position: relative;
        display: inline-block;
        margin-bottom: 0px;
    }

        .chat__bubble ul.message-img li img {
            max-width: 150px;
        }

        .chat__bubble ul.message-img li .message-img-link {
            bottom: 10px;
            left: auto;
            position: absolute;
            right: 10px;
        }

            .chat__bubble ul.message-img li .message-img-link li > a {
                color: #fff;
                display: inline-block;
                font-size: 18px;
                height: 30px;
                line-height: 30px;
                text-align: center;
                width: 30px;
            }

@media screen and (max-width: 767px) {
    .chat-member__avatar {
        width: 2.5rem;
    }
}

.chat-member__name {
    font-weight: bold;
    color: var(--colour-text-darker);
    margin-top: auto;
    white-space: nowrap;
    word-break: break-all;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 1rem;
}

@media screen and (max-width: 1199px) {
    .chat-member__name {
        font-size: 0.9rem;
    }
}

.chat-member__details {
    margin-left: 0.8rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

@media screen and (max-width: 767px) {
    .chat-member__details {
        margin-left: 1rem;
    }
}

.chat-member__age {
    font-size: 0.9rem;
    color: #9b9b9b;
    position: relative;
}

    .chat-member__age::after {
        content: " . ";
        font-size: 0px;
        position: absolute;
        top: 50%;
        right: -4px;
        width: 3px;
        height: 3px;
        background-color: #9b9b9b;
        border-radius: 50%;
    }

.chat-member__status {
    color: #9b9b9b;
    font-size: 0.8rem;
}

.chat__profile {
    width: 100%;
    height: 100%;
    max-width: 20rem;
}

.chat--mobile {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10001;
    transform: translateY(100%);
    display: none;
    transition: transform 0.3s ease-in-out 0.1s;
}

    .chat--mobile .chat__wrapper {
        border-radius: 0;
    }

    .chat--mobile.chat--show {
        display: block;
        transform: translateY(0%);
        border-radius: 0;
    }

.user-profile {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    overflow-y: auto;
}

.user-profile__wrapper {
    position: relative;
    height: 100%;
    width: 100%;
    padding-top: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.user-profile__close {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    width: 2rem;
    height: 2rem;
    color: var(--colour-primary);
    font-size: 1.375rem;
    cursor: pointer;
    z-index: 10003;
}

.user-profile__avatar {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .user-profile__avatar img {
        width: 9rem;
        border-radius: 50%;
    }

.user-profile__name {
    font-weight: bold;
    margin-top: 0.7rem;
    color: var(--colour-text-darker);
    word-wrap: break-word;
    font-size: 1.15rem;
}

@media screen and (max-width: 767px) {
    .user-profile__name {
        font-size: 1.1rem;
    }
}

.user-profile__phone {
    color: var(--colour-text-darker);
    font-size: 0.9rem;
}

.user-profile__details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.user-profile__location {
    color: #9b9b9b;
    font-size: 0.9rem;
}

.user-profile__description {
    text-align: center;
}

    .user-profile__description p {
        margin-top: 1.3rem;
        word-wrap: break-word;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.9rem;
    }

.user-profile__label {
    font-size: 0.9rem;
    font-weight: bold;
}

.user-profile__tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

    .user-profile__tags li {
        padding: 0.3rem 1rem;
        border-radius: 1rem;
        margin-right: 0.3rem;
        margin-bottom: 0.3rem;
        font-size: 0.9rem;
    }

    .user-profile__tags a:hover {
        text-decoration: none;
    }

.user-profile__tags--primary li {
    background-color: #e8f3ff;
    color: var(--colour-primary-darker);
}

.user-profile__tags--primary a:hover {
    color: var(--colour-primary-darker);
}

.user-profile__tags--secondary li {
    background-color: var(--colour-third-lightest);
    color: var(--colour-third);
}

.user-profile__tags--secondary a:hover {
    color: var(--colour-third);
}

.user-profile--large {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10002;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out 0.1s;
    background-color: var(--bg-page);
    box-shadow: -3px 0 3px rgba(0, 0, 0, 0.06);
}

    .user-profile--large.user-profile--show {
        display: block;
        transform: translateX(0%);
        border-radius: 0;
    }

.user-status {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 1rem;
    height: 1rem;
    background-color: #9b9b9b;
    border: 3px solid white;
    border-radius: 50%;
}

.user-status--online {
    background-color: var(--colour-third);
}

.svg-icon {
    width: 70%;
}

    .svg-icon path,
    .svg-icon circle {
        fill: var(--colour-primary);
    }

.svg-icon--send {
    width: 60%;
}

    .svg-icon--send path,
    .svg-icon--send circle {
        fill: white;
    }

.svg-icon--search {
    width: 40%;
}

    .svg-icon--search path,
    .svg-icon--search circle {
        fill: var(--bg-page-darkest);
    }

.svg-icon--send-img {
    width: 55%;
}

    .svg-icon--send-img path,
    .svg-icon--send-img circle {
        fill: var(--bg-page-darkest);
    }

.svg-icon--send-emoji {
    width: 60%;
}

    .svg-icon--send-emoji path,
    .svg-icon--send-emoji circle {
        fill: var(--bg-page-darkest);
    }

.svg-icon--previous {
    width: 55%;
}

.svg-icon--dark-mode {
    width: 80%;
}

    .svg-icon--dark-mode path,
    .svg-icon--dark-mode circle {
        fill: var(--colour-primary);
    }

.three-dotbtn {
    background-color: transparent;
    border: none;
}

    .three-dotbtn.dropdown-toggle:after {
        display: none;
    }

.messages-page__list-scroll .messages-page__list::-webkit-scrollbar,
.chat__container .chat__content::-webkit-scrollbar {
    width: 8px;
    background: #cdd5dd;
}

.messages-page__list-scroll .messages-page__list::-webkit-scrollbar-thumb,
.chat__container .chat__content::-webkit-scrollbar {
    background-color: #5c6874;
    border-radius: 15px;
}