@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #D3B67D;
    --light: #Fff;
    --dark: #191C24;
}

a,
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
h6 {
    color: #2b4551 !important;
}

body {
    background: #eef1f4 !important;
    font-family: 'Outfit', sans-serif;
}

.container-xxl {
    max-width: unset !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #EEF1F4;
}

::-webkit-scrollbar {
    width: 3px;
    background-color: #EEF1F4;
    height: 3px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #C2CACD;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Layout ***/
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 250px;
    height: 100vh;
    overflow-y: auto;
    background: var(--light);
    transition: 0.5s;
    z-index: 999;
}

.nav-item.nav-link {
    gap: 19px;
    display: flex;
    opacity: 0.8;
    transition: all .5s;
}

.nav-item.nav-link.active,
.nav-item.nav-link:hover {
    opacity: 1;
}

.navbar-brand {
    margin-bottom: 30px !important;
}

.nav-item.dropdown span {
    font-weight: 500;
    color: #2B4551;
    font-size: 14px;
}

.content {
    margin-left: 250px;
    min-height: 100vh;
    transition: 0.5s;
}

@media (min-width: 992px) {
    .sidebar {
        margin-left: 0;
    }

    .sidebar.open {
        margin-left: -250px;
        z-index: 9999;
    }

    .content {
        width: calc(100% - 250px);
    }

    .content.open {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 991.98px) {
    .sidebar {
        margin-left: -250px;
    }

    .sidebar.open {
        margin-left: 0;
        z-index: 9999;
    }

    .content {
        width: 100%;
        margin-left: 0;
    }
}


/*** Navbar ***/
.navbar.top-bar-nav {
    margin-top: 20px;
}

.top-bar-nav-wrp {
    width: 100%;
    padding: 0px 15px;
}

.top-bar-nav-wrp h5 {
    color: #2b4551;
    font-size: 28px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    font-weight: 600;
}

.top-bar-nav-wrp h5 span {
    color: #889296;
}

.table-top-headeing {
    padding: 0 23px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

.sidebar .navbar .navbar-nav .nav-link {
    padding: 7px 20px;
    color: var(--dark);
    font-weight: 500;
    border-left: 4px solid var(--light);
    border-radius: 0 30px 30px 0;
    outline: none;
}

.sidebar .navbar .navbar-nav .nav-link:hover,
.sidebar .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    background: #FFFFFF;
    border-color: var(--primary);
}

.sidebar .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 40px;
}

.sidebar .navbar .navbar-nav .nav-link:hover i,
.sidebar .navbar .navbar-nav .nav-link.active i {
    background: var(--light);
}

.sidebar .navbar .dropdown-toggle::after {
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
}

.sidebar .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.sidebar .navbar .dropdown-item {
    padding-left: 25px;
    border-radius: 0 30px 30px 0;
}

.content .navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 12px 0;
    color: var(--dark);
    outline: none;
}

.content .navbar .navbar-nav .nav-link:hover,
.content .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.sidebar-toggler img {
    width: 20px;
}

.sidebar-toggler {
    width: 20px !important;
    margin-right: 10px;
}

.content .navbar .sidebar-toggler,
.content .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 40px;
}

.content .navbar .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
    display: none;
}

.content .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 575.98px) {
    .content .navbar .navbar-nav .nav-link {
        margin-left: 15px;
    }
}


/*** Date Picker ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.progress .progress-bar {
    width: 0px;
    transition: 2s;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 5px solid var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--dark);
    border-color: var(--primary);
}

.box-stats h6 {
    margin-bottom: 40px !important;
    font-size: 38px;
    font-weight: 600;
}

.box-stats p {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 0;
}

.notification-bar-dash h6 {
    font-size: 22px;
    font-weight: 600;
}

.notification-scroll-area p.seprator-rem {
    color: #9daab0;
    font-size: 12px;
    font-weight: 600;
}

.notification-scroll-area {
    overflow-x: auto;
    height: 412px;
    width: 99%;
    margin-bottom: 10px;
}

.notification-block {
    display: flex;
    gap: 21px;
    padding-left: 20px;
    position: relative;
}

.notification-block h6 {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.notification-block h6::before {
    content: '';
    position: absolute;
    border-radius: 50px;
    background-color: #C0D2D9;
    width: 8px;
    height: 8px;
    top: 3px;
    left: 0;
}

.notification-block small {
    color: #9DAAB0;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
}

.active-notification h6 {
    font-weight: 600;
}

.active-notification h6:before {
    background-color: #d3b67d;
}




/***======================= clients ========================***/
.clients-table thead tr th,
.clients-table tbody tr td {
    border-bottom: 1px solid #9daaaf40 !important;
    padding: 8px 23px;
}

.clients-table thead tr th {
    color: #9DAAB0;
    font-weight: 400;
    font-size: 12px;
    text-transform: uppercase;
}

.clients-table tbody tr td {
    color: #2B4551;
    font-weight: 400;
    font-size: 14px;
    vertical-align: middle;
}

.view-client-able-btn {
    background: #F1F4F6;
    color: #2B4551;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    padding: 10px 12px;
}

.table-top-bar {
    padding: 23px 23px 10px;
    display: flex;
    justify-content: space-between;
    height: 75px;
}

.table-top-bar form input {
    background: #F1F4F6;
}

.table-top-bar form input::placeholder {
    color: #889296;
    font-size: 14px;
    font-weight: 400;
}

.table-top-bar form {
    position: relative;
    width: 78%;
}

.search-btn {
    position: absolute;
    top: 0px;
    right: 8px;
    border: none;
    background: none;
    height: 100%;
}

.add-client-bnt {
    background: #D3B67D;
    border-radius: 4px;
    border: none;
    color: #fff;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 23%;
    justify-content: center;
}

.add-client-bnt span {
    font-size: 24px;
    line-height: 10px;
    color: #fff;
}

.pagination {
    padding: 0 23px;
    align-items: center;
}

.page-item-prv a,
.page-item-nxt a {
    background: #F1F4F6;
    border-radius: 4px;
    border: none;
}

.page-item-prv a img {
    transform: scaleX(-1);
}

.page-item-nxt {
    margin: 0 18px 0 8px;
}

.page-item-count {
    padding: 0;
    vertical-align: middle;
    margin: 0 2px;
    color: #474746;
    font-weight: 600;
    text-transform: uppercase;
}

.action-btns-table {
    display: flex;
    gap: 12px;
}

.delete-btn-sm {
    background: #FFE8E5;
}

.modal {
    background: rgba(43, 69, 81, 0.40);
    justify-content: center;
    align-items: center;
}

.modal .modal-content {
    width: 77%;
    border: none;
    border-radius: 0;
    padding: 30px 30px;
}

.close-modal {
    position: absolute;
    top: 13px;
    right: 14px;
    border-radius: 4px;
    border: 1px solid #F0F2F3;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
    cursor: pointer;
}

.close-modal:hover {
    border: 1px solid #dedfdf;
}

.model-content-box h6 {
    font-size: 28px;
}

.model-content-box form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 27px;
}

.model-content-box form .from-row-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 22px;
}

.model-content-box form .from-row-wrapper .from-row-block {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.model-content-box form .from-row-wrapper .from-row-block label {
    color: #9DAAB0;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.model-content-box form .from-row-wrapper .from-row-block input,
.model-content-box form .from-row-wrapper .from-row-block textarea,
select {
    background: #F1F4F6;
    border: none;
    font-size: 14px;
    padding: 9px 17px;
    color: #2B4551;
    font-weight: 400;
}

.model-content-box form .from-row-wrapper .from-row-block input::placeholder {
    color: #2B4551;
    font-size: 14px;
    font-weight: 400;
    opacity: 1;
}

.btn-primary-gold {
    border-radius: 4px;
    background: #D3B67D;
    font-size: 14px;
    color: #FFF;
    font-weight: 600;
    border: none;
    padding: 12px 30px;
}

.form-modal-content-wrppaer {
    display: flex;
    gap: 20px;
}

.form-modal-content-wrppaer .form-modal-left {
    width: 73%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-modal-content-wrppaer .form-modal-right {
    border-radius: 4px;
    border: 1px solid #F0F2F3;
    width: 27%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.form-modal-content-wrppaer .form-modal-right p {
    color: #9DAAB0;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.form-blocks-top-head {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0;
}

.tabs-filter {
    display: flex;
    margin: 0 20px;
    gap: 12px;
}

.tabs-filter button {
    border-radius: 4px;
    border: 1px solid #E3E8EA;
    padding: 10px 20px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    background: none;
}

.tabs-filter button.active-btn-filter {
    border: 1px solid #D3B67D;
    background: #F6F0E5;
}

.table-top-bar-project form {
    width: 60%;
}

/***======================= projects ========================***/
.projects-data-table {
    padding: 34px 25px;
}

.data-table-top {
    border-bottom: 1px solid #F1F4F6;
    display: flex;
    justify-content: left;
    gap: 8px;
    padding-bottom: 12px;
}

.data-table-top p {
    color: #2B4551;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 0;
}

.datatable-records {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.datatable-records a {
    border-radius: 4px;
    background: #F1F4F6;
    font-size: 14px;
    font-weight: 400;
    padding: 16px 22px;
    display: flex;
    flex-direction: column;
}

.datatable-records a span {
    font-weight: 600;
}

.project-add-pop-up-form .form-modal-left {
    width: 50%;
}

.project-add-pop-up-form .project-modal-left {
    width: 50%;
}

.project-add-pop-up-form .project-modal-left .from-row-wrapper,
.project-add-pop-up-form .project-modal-left .from-row-wrapper textarea {
    height: 100%;
}

.add-client-bntin-form {
    width: 100%;
    background: #F6F0E5;
    color: #A48E64;
    font-size: 14px;
    font-weight: 500;
    padding: 9px 0;
}

.add-client-bntin-form span {
    font-size: 29px;
    line-height: 19px;
    font-weight: 400;
    color: #A48E64;
}

.tabstable-top-tab-bar {
    padding: 17px 23px 0;
    border-bottom: 1px solid rgba(157, 170, 175, 0.15);
    margin-bottom: 20px;
}

.tabstable-top-tab-bar ul {
    margin-bottom: 0;
    gap: 34px;
}

.tabstable-top-tab-bar ul li button {
    color: #889296;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    text-transform: uppercase;
    padding: 0 0 10px;
}

.tabstable-top-tab-bar ul li button.active {
    background-color: transparent !important;
    color: #2B4551 !important;
    border-bottom: 4px solid #D3B67D;
    border-radius: 0;
}

.tabs-hd-top-ico {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 23px 20px;
}

.tabs-hd-top-ico h5 {
    margin-bottom: 0;
    font-size: 22px;
}

.btn-table-download {
    background: #F6F0E5 !important;
    color: #A48E64 !important;
}

.btn-table-upload span {
    color: #8E9BA2;
    margin: 0 0 0 -7px;
}

.address-in-tbl {
    width: 70%;
}

.opactity-none {
    opacity: 0;
}






/***======================= Chat ========================***/
.message-chatwrapper {
    padding: 0 23px 23px;
}

.message-chatwrap {
    border-radius: 4px;
    border: 1px solid #F0F2F3;
    padding: 5px 0 0;
}

.tabstable-top-tab-bar-message {
    border: none;
    width: 49%;
    padding-right: 0;
}

.tabstable-top-tab-bar.tabstable-top-tab-bar-message ul {
    gap: 14px;
}

.tabstable-top-tab-bar-message button {
    border-radius: 4px !important;
    border: 1px solid #E3E8EA !important;
    padding: 10px 28px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    background: none !important;
}

.tabstable-top-tab-bar.tabstable-top-tab-bar-message button.active,
.tabstable-top-tab-bar-message button:hover {
    border: 1px solid #D3B67D !important;
    background: #F6F0E5 !important;
    color: #2B4551 !important;
}

.messages-tab-content {
    padding: 0 23px 23px;
}

.messages-tab-wrapper {
    position: relative;
}

.messagetabs-right-dv {
    border-radius: 4px;
    border: 1px solid #F0F2F3;
    padding: 14px 21px;
    display: flex;
    gap: 20px;
    align-items: center;
    position: absolute;
    top: 17px;
    right: 2.2%;
    width: 47%;
    justify-content: space-between;
}

.messagetabs-right-dv p {
    color: #9DAAB0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0;
}

.messagetabs-right-dv-check-boxes {
    display: flex;
    gap: 20px;
    align-items: center;
}

.messagetabs-right-dv-check-boxes div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.messagetabs-right-dv-check-boxes input {
    margin-top: 0 !important;
}

.messagetabs-right-dv-check-boxes label {
    color: #2B4551;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.message-tab-content-wrapper {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.message-tab-content-wrapper-left,
.message-tab-content-wrapper-right {
    width: 49%;
    border-radius: 4px;
    border: 1px solid #F0F2F3;
    padding: 20px;
}

.message-tab-content-wrapper-inner {
    border-radius: 4px;
    border: 1px solid #F0F2F3;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
}

.message-tab-content-wrapper-left,
.message-tab-content-wrapper-right {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.message-tab-content-wrapper-left .from-row-block,
.message-tab-content-wrapper-right .from-row-block,
.message-tab-content-wrapper-inner .from-row-block {
    display: flex;
    flex-direction: column;
}

.message-tab-content-wrapper-left .from-row-block label,
.message-tab-content-wrapper-right .from-row-block label,
.message-tab-content-wrapper-inner .from-row-block label {
    color: #9DAAB0;
    font-size: 12px;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.message-tab-content-wrapper-left .from-row-block textarea,
.message-tab-content-wrapper-right .from-row-block textarea,
.message-tab-content-wrapper-inner .from-row-block textarea {
    background: #F1F4F6;
    border: none;
    font-size: 14px;
    padding: 9px 17px;
    color: #2B4551;
    font-weight: 400;
    height: 114px;
}

.attach-file-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.attach-file-top-bar label {
    margin-bottom: 0 !important;
}

.attach-file-wrapper {
    position: relative;
    display: flex;
    gap: 6px;
}

.attach-file-wrapper input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    z-index: 9999;
    width: 100%;
    height: 100%;
}

.attach-file-wrapper p {
    margin-bottom: 0;
    color: #879197;
    font-size: 12px;
    font-weight: 500;
    line-height: normal;
}

.from-row-block div.action-btns-table {
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
    border: 1px solid #F0F2F3;
    background-color: #fff;
    padding: 4px 4px 4px 18px;
}

.from-row-block div.action-btns-table span {
    color: #2B4551;
    font-family: Outfit;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.from-row-block-input-images {
    display: flex;
    gap: 3px;
}

button.from-row-block-btn {
    border-radius: 4px;
    border: 1px solid #D3B67D;
    width: fit-content;
    padding: 14px 19px;
    background-color: #fff;
    color: #2B4551;
    font-family: Outfit;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

button.from-row-block-btn img {
    border-radius: 2px;
    background: #D3B67D;
    padding: 3px;
}

.message-tab-content-wrapper .add-client-bnt {
    margin: 0 0 0 auto;
    width: fit-content;
    padding-left: 24px;
    padding-right: 24px;
}

.client-demand-type {
    display: flex;
    gap: 15px;
}

.client-demand-type select {
    width: 300px;
    padding: 12px 10px;
}

.client-demand-type a {
    padding: 0 30px;
}

.message-historique-edit-top {
    padding: 0px 0;
    justify-content: flex-end;
    border: none;
}

.message-historique-edit-top button {
    padding: 14px 16px;
}

.message-histo-accordian-wrapper {
    border-radius: 4px;
    border: 1px solid #F0F2F3;
    padding: 18px 28px;
    width: 100%;
    height: 350px;
    overflow: auto;
}

.list-heading-accord {
    color: #2B4551;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 0;
}

.accordion-message {
    margin: 12px 0 20px;
}

.accordion-message .accordion-item {
    margin-bottom: 10px;
    border-radius: 4px;
    background: #F1F4F6;
    border: none;
    padding: 10px 0;
}

.accordion-message .accordion-button:not(.collapsed) {
    box-shadow: none;
    background: transparent;
}

.accordion-message .accordion-item {
    position: relative;
}

.accordion-message .accordion-item .accordion-body {
    padding: 15px 0 0 0;
}

.accordion-message .accordion-item button {
    position: absolute;
    top: 27px;
    right: 20px;
    background: transparent;
    padding: 0;
}

.accordion-message .accordion-item button {
    box-shadow: none;
    border: none;
}

.accordion-message .accordion-item table {
    margin-bottom: 0;
}

.accordion-message .accordion-item table th {
    font-weight: 600;
}

.accordion-message .accordion-item table th,
.accordion-message .accordion-item table td {
    border: none !important;
    padding: 3px 23px !important;
}

.navbar .top-bar-nav-wrp a.navbar-brand {
    margin: 0 10px 0 0 !important;
}




/* Chat -box */
.page-message {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screen {
    width: 100%;
}

.screen-container {
    height: 100%;
}


/* Chat */

.chat {
    height: calc(100% - 69px);
}

.chat-container {
    height: 100%;
}

/* Conversation */

.conversation {
    z-index: 0;
    position: relative;
}

.conversation ::-webkit-scrollbar {
    transition: all .5s;
    width: 5px;
    height: 1px;
    z-index: 10;
}

.conversation ::-webkit-scrollbar-track {
    background: transparent;
}

.conversation ::-webkit-scrollbar-thumb {
    background: #b3ada7;
}

.conversation .conversation-container {
    overflow-x: hidden;
    padding: 0 16px;
    margin-bottom: 5px;
    overflow-y: auto;
    height: 500px;
}

.conversation .conversation-container:after {
    content: "";
    display: table;
    clear: both;
}

/* Messages */

.message {
    color: #2B4551;
    clear: both;
    line-height: 18px;
    font-size: 14px;
    padding: 11px 16px;
    position: relative;
    margin: 8px 0;
    max-width: 50%;
    word-wrap: break-word;
    z-index: -1;
}

.message:after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
}

.metadata {
    display: inline-block;
    float: right;
    position: relative;
    bottom: -4px;
    width: 100%;
}

.metadata .time {
    color: #A48E64;
    font-size: 12px;
    display: inline-block;
}

.metadata .tick {
    display: inline-block;
    margin-left: 2px;
    position: relative;
    top: 4px;
    height: 16px;
    width: 16px;
}

.metadata .tick svg {
    position: absolute;
    transition: .5s ease-in-out;
}

.senedr-name-chat {
    color: #2B4551;
    font-size: 16px;
    font-weight: 600;
    line-height: 25px;
    margin-bottom: 0;
    position: absolute;
    top: -29px;
    left: 0;
}

.metadata .tick svg path {
    fill: #A48E64;
}

.metadata .tick svg:first-child {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: perspective(800px) rotateY(180deg);
    transform: perspective(800px) rotateY(180deg);
}

.metadata .tick svg:last-child {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: perspective(800px) rotateY(0deg);
    transform: perspective(800px) rotateY(0deg);
}

.metadata .tick-animation svg:first-child {
    -webkit-transform: perspective(800px) rotateY(0);
    transform: perspective(800px) rotateY(0);
}

.metadata .tick-animation svg:last-child {
    -webkit-transform: perspective(800px) rotateY(-179.9deg);
    transform: perspective(800px) rotateY(-179.9deg);
}

.message:first-child {
    margin: 16px 0 8px;
}

.message.received {
    background: #F6F0E5;
    border-radius: 0px 5px 5px 5px;
    float: left;
}

.message.received .metadata {
    padding: 0;
}

.message.received:after {
    border-width: 0px 10px 10px 0;
    border-color: transparent #F6F0E5 transparent transparent;
    top: 0;
    left: -10px;
}

.message.sent {
    background: #F6F0E5;
    border-radius: 5px 0px 5px 5px;
    float: right;
    margin-top: 40px;
}

.message.sent:after {
    border-width: 0px 0 10px 10px;
    border-color: transparent transparent transparent #F6F0E5;
    top: 0;
    right: -10px;
}

/* Compose */

.conversation-compose {
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
    height: 47px;
    width: 100%;
    z-index: 2;
    background: #F1F4F6;
}

.conversation-compose div,
.conversation-compose input {
    height: 100%;
}

.conversation-compose .input-msg {
    border: 0;
    flex: 1 1 auto;
    font-size: 14px;
    margin: 0;
    outline: none;
    min-width: 47px;
    background: transparent;
    font-weight: 400;
    padding: 0 16px;
}

.conversation-compose .photo {
    flex: 0 0 auto;
    border-radius: 0 0 5px 0;
    text-align: center;
    position: relative;
    width: 48px;
}

.conversation-compose .photo button {
    border: none;
    height: 100%;
    padding: 0;
}

.conversation-compose .photo button img {
    width: 18px;
    margin-top: -5px;
}


.conversation-compose .send {
    background: transparent;
    border: 0;
    cursor: pointer;
    flex: 0 0 auto;
    margin-left: 8px;
    margin-right: 8px;
    padding: 0;
    position: relative;
    outline: none;
}

.conversation-compose .send .circle {
    background: #D3B67D;
    border-radius: 4px;
    color: #fff;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.conversation-compose .send .circle i {
    font-size: 24px;
    margin-left: 5px;
}

.time-zone-chat {
    border-radius: 16px;
    background: #F1F4F6;
    color: #2B4551;
    font-size: 12px;
    margin-bottom: 0;
    margin: 0 auto;
    width: fit-content;
    padding: 2px 16px;
}

/* Small Screens */

@media (max-width: 768px) {

    .conversation {
        height: calc(100vh - 55px);
    }

    .conversation .conversation-container {
        height: calc(100vh - 120px);
    }

    .message {
        max-width: 90%;
    }
}


@media (max-width: 600px) {
    .sidebar .navbar-brand img {
        opacity: 1;
    }

    .top-bar-nav-wrp h5 {
        font-size: 15px;
        gap: 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 170px;
        display: block;
        width: auto;

    }

    .top-bar-nav-wrp h5 img {
        margin: 0 4px;
        width: 10px;
    }

    .rounded .table-top-bar {
        /* flex-direction: column; */
        gap: 15px;
        height: 110px;
    }

    .table-top-bar form,
    .add-client-bnt {
        width: 100%;
    }

    .view-client-able-btn {
        width: max-content;
    }

    .modal .modal-content {
        width: 95%;
    }

    .form-modal-content-wrppaer {
        flex-wrap: wrap;
    }

    .form-modal-content-wrppaer .form-modal-right {
        width: 100%;
        padding: 50px 0;
    }

    .form-modal-content-wrppaer .form-modal-left {
        width: 100%;
    }

    .model-content-box form .from-row-wrapper {
        flex-wrap: wrap;
    }

    .modal {
        overflow: auto;
        align-items: flex-start;
        padding: 20px 0;
    }

    .tab-content .table-responsive {
        margin-bottom: 20px;
    }

    .table-responsive::-webkit-scrollbar-track {
        border-radius: 10px !important;
        background-color: #EEF1F4 !important;
    }

    .table-responsive::-webkit-scrollbar {
        width: 2px !important;
        background-color: #EEF1F4 !important;
    }

    .table-responsive::-webkit-scrollbar-thumb {
        border-radius: 10px !important;
        background-color: #C2CACD !important;
    }

    .tabstable-top-tab-bar ul {
        gap: 24px;
        flex-wrap: nowrap;
    }

    .tabs-hd-top-ico {
        flex-wrap: wrap;
        gap: 10px;
    }

    .tabs-filter {
        margin: 0;
        gap: 12px;
        overflow: auto;
        padding-bottom: 10px;

    }

    .project-add-pop-up-form .project-modal-left {
        width: 100%;
    }

    .project-add-pop-up-form .project-modal-left .from-row-wrapper textarea {
        height: 150px;
    }

    .tabstable-top-tab-bar ul.nav {
        overflow: auto;
        padding-bottom: 10px;
    }

    .messagetabs-right-dv {
        position: relative;
        width: 100%;
        top: unset;
        right: unset;
        margin-bottom: 30px;
        flex-direction: column;
    }

    .tabstable-top-tab-bar-message {
        width: 100%;
    }

    .message-tab-content-wrapper-left,
    .message-tab-content-wrapper-right {
        width: 100%;
    }

    .from-row-block div.action-btns-table {
        flex-direction: column;
    }

    .client-demand-type {
        flex-wrap: wrap;
    }

    .client-demand-type select {
        width: 100%;
    }

    .client-demand-type .btn-table-download {
        width: 100%;
        padding: 20px 30px;
    }

    .message-histo-accordian-wrapper {
        height: unset;
        padding: 10px;
    }

    .accordion-message .accordion-item table td,
    .accordion-message .accordion-item table th {
        display: block;
    }
}

* {
    font-family: sans-serif;
    color: rgba(0, 0, 0, 0.75);
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* height: 100vh; */
    padding: 0px 30px;
    background: #ddd;
}

.wrapper.error-page {
    max-width: 960px;
    width: 100%;
    margin: 30px auto;
    transform: scale(0.8);
}

.error-page .landing-page {
    max-width: 960px;
    height: 475px;
    margin: 0;
    box-shadow: 0px 0px 8px 1px #ccc;
    background: #fafafa;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.error-page svg {
    width: 50%;
    max-height: 225px;
    height: auto;
    margin: 0 0 15px;
}

.error-page h1 {
    font-size: 48px;
    margin: 0;
}

.error-page p {
    font-size: 16px;
    width: 35%;
    margin: 16px auto 24px;
    text-align: center;
}

.error-page button {
    border-radius: 50px;
    padding: 8px 24px;
    font-size: 16px;
    cursor: pointer;
    background: #62AD9B;
    color: #fff;
    border: none;
    box-shadow: 0 4px 8px 0 #ccc;
}

.table-top-bar-project button#myBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.add-client-bnt {
    margin-left: 10px;
}


@media(max-width:600px) {
    .customform {
        min-height: auto !important;
    }

    .customform .bg-light {
        margin-right: 0px !important;
        margin-left: 0px !important;
    }

    .custom_form_content {
        padding-right: 0px !important;
        padding-left: 0px !important;
    }

    body {
        padding: 0px 12px;
    }

    .content .navbar.top-bar-nav {
        padding: 0px !important;
        z-index: 0;
    }

    .clients-table tbody tr td {
        font-size: 12px;
    }

    .custom_container_section {
        padding-right: 0px !important;
        padding-left: 0px !important;
    }

    .container-fluid {
        padding-right: 0px !important;
        padding-left: 0px !important;
    }

    .add-client-bnt {
        margin-left: 0px;
    }
}


@media (max-width:991px) {
    .table-top-bar {
        height: 90px;
        flex-wrap: wrap;
        row-gap: 12px;
        margin-bottom: 50px;
    }

    .table-top-bar form {
        width: 220px;
    }

    .table-responsive table.table.clients-table {
        width: 1000px;
    }

    .add-client-bnt {
        width: 200px;
    }

    .message-tab-content-wrapper-left,
    .message-tab-content-wrapper-right {
        width: 100%;
    }

    .message-tab-content-wrapper .add-client-bnt {
        width: 40%;
        margin: 0 auto;
    }
}


@media (max-width:600px) {
    .rounded .table-top-bar {
        height: 160px;
    }

    .table-top-bar form {
        width: 100%;
        display: block !important;
    }

}