* {
    box-sizing: border-box !important;
}

html,
body,
#app {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

#app {
    min-height: 100vh;
    background: #f5f5f5;
}

.modal-title {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.modal-content {
  background: #17402A !important;
  border-radius: 0;
}

.modal-backdrop {
    opacity: 1 !important;
    background-color: rgba(0, 0, 0, .5);
    backdrop-filter: blur(10px);
}

.modal-body {
  background: #1E5035;
}

.modal-header {
    color: #fff;
    border-bottom: 0;
}

.modal-header .btn-close {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    --bs-btn-close-color: #fff;
    --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e")
  }

.modal-footer {
  border-top: 0;
}

.modal-body, .modal-body .form-label {
  color: #fff;
}

  /* Forms */
  .form-item {
  text-align: left;
}

.form-item label {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.88);
    position: relative;
    display: inline-flex;
    padding-bottom: 8px;
}

.form-item textarea,
.form-item select,
.form-item input[type="text"],
.form-item input[type="date"],
.form-item input[type="tel"],
.form-item input[type="search"],
.form-item input[type="email"],
.form-item input[type="number"],
.form-item input[type="password"] {
    border-radius: 0;
    border: 1px solid #a2b7e0;
    padding: 10px 15px;
}

.form-item textarea:focus,
.form-item select:focus,
.form-item input[type="text"]:focus,
.form-item input[type="date"]:focus,
.form-item input[type="tel"]:focus,
.form-item input[type="search"]:focus,
.form-item input[type="email"]:focus,
.form-item input[type="number"]:focus,
.form-item input[type="password"]:focus {
    box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.1);
    border-inline-end-width: 1px;
    outline: 0;
}

/* Buttons */
.btn span {
    margin-right: 10px;
}

.btn.btn-primary {
    border-radius: 0;
    background: #da6b5c !important;
    font-weight: 400;
    box-shadow: 0 2px 0 rgba(5, 145, 255, 0.1);
    color: #fff;
    border: 0;
}

.btn.btn-secondary {
    border-radius: 0;
    background: #405378 !important;
    font-weight: 400;
    box-shadow: 0 2px 0 rgba(5, 145, 255, 0.1);
    color: #fff;
    border: 0;
}

.btn.btn-white {
    border-radius: 0;
    background: #fff !important;
    font-weight: 400;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02);
    color: #405378 !important;
    border: 0;
}


.btn-lg {
    font-size: 16px;
    height: 40px;
    /* padding: 6px 15px; */
}

/* Authentication */
.auth-container {
    background-color: #1e5035;
    background-size: cover;
    padding: 70px;
    height: 100vh;
    min-height: 100vh;
    text-align: center;
    position: relative;
    overflow-y: auto !important;
}

.auth-container::before {
    background-image: url(../img/bg.png);
    content: " ";
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: .2;
    background-repeat: repeat;
    background-size: cover;
}

.auth-container .auth-container-inner {
    position: relative;
}

.auth-container .auth-form-container {
    background: #f3f0ec;
    margin-top: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.auth-container .auth-form-container .auth-tabs {
    background: #dcd3c8;
    text-align: left;
    display: flex;
}


.auth-container .auth-form-container .auth-tabs .auth-tab {
    display: inline-block;
    padding: 20px;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 2px;
    cursor: pointer;
    color: #575756;
    font-size: 14px;
    line-height: 1 !important;
}


.auth-container .auth-form-container .auth-tabs .auth-tab.selected,
.auth-container .auth-form-container .auth-tabs .auth-tab:hover {
    background: #f3f0ec;
}

.auth-container .auth-form-container .auth-form-inner {
    padding: 40px;
}

.auth-container .auth-form-container .auth-form-inner .auth-actions {
    display: flex;
    justify-content: space-between;
    padding-top: 35px;
}

.auth-container .auth-form-container .auth-form-inner .auth-actions .left {
    flex-grow: 1;
    text-align: left;
}

.auth-container .auth-form-container .auth-form-inner .auth-actions .right {
    flex-grow: 1;
    text-align: right;
}

/* Layout */
.sidebar-layout {
    display: flex;
    height: 100%;
    width: 100%;
}

.sidebar-layout .sidebar {
    background: #17402A;
    max-width: 200px;
    min-width: 200px;
    width: 200px;
    flex: 0 0 200px;
}

.sidebar-layout .sidebar .logo {
    margin-top: 22px;
    margin-bottom: 25px;
    text-align: center;
}

.sidebar-layout .sidebar .logo img {
    width: 150px;
}


.sidebar-layout .sidebar .menu {}

.sidebar-layout .menu .menu-item {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    text-decoration: none;
    /* text-align: center; */
    padding-left: 24px;
    padding-top: 15px;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    margin-bottom: 0 !important;
    margin-block-end: 0 !important;
}

.sidebar-layout .menu .menu-item:hover {
    color: #fff;
    /* background: #17402A; */
    background-color: rgba(0, 0, 0, 0.06) !important;
    cursor: pointer;
}

.sidebar-layout .menu .menu-item.active {
    color: #fff;
    background: #347C45 !important;
}

.sidebar-layout .menu .menu-item svg {
    width: 15px;
    height: 15px;
    margin-right: 9px;
}

.sidebar-layout .secondary-sidebar {
    flex: 0 0 450px;
    max-width: 450px;
    min-width: 450px;
    width: 450px;
    background: #17402A !important;
    display: flex;
    flex-direction: column;
}

.sidebar-layout .secondary-sidebar .tabs-wrapper {
    flex-shrink: 1;
    display: flex;
}

.sidebar-layout .secondary-sidebar .tabs-wrapper .tab {
    display: inline-block;
    padding: 20px 20px;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 2px;
    cursor: pointer;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

.sidebar-layout .secondary-sidebar .tabs-wrapper .tab.active,
.sidebar-layout .secondary-sidebar .tabs-wrapper .tab:hover {
    background: #1E5035;
}

.sidebar-layout .secondary-sidebar .tabs-inner {
    flex-grow: 1;
    height: 100%;
}

.sidebar-layout .secondary-sidebar .tabs-inner .tabs-inner-flex {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sidebar-layout .secondary-sidebar .tabs-inner .tabs-inner-flex .topbar {
    flex-shrink: 1;
    background: #1E5035;
    padding: 30px 20px;
    display: flex;
    gap: 20px;
}

.sidebar-layout .secondary-sidebar .tabs-inner .tabs-inner-flex .topbar .search {
    flex-grow: 1;
    background: #17402A;
    border: 0 !important;
    color: #fff;
    padding: 10px 15px;
    border-radius: 0;
}

.sidebar-layout .secondary-sidebar .tabs-inner .tabs-inner-flex .topbar .btn {
    border-radius: 0 !important;
    line-height: 32px;
    padding: 6px 15px;
    background: #347C45;
    border: 0;
    color: #fff;
    font-weight: 300;
    flex-shrink: 1;
    height: 44px !important;
}

.sidebar-layout .secondary-sidebar .tabs-inner .tabs-inner-flex .topbar .search:focus {
    box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.1);
    border-inline-end-width: 1px;
    outline: 0;
}

.sidebar-layout .secondary-sidebar .tabs-inner .tabs-inner-flex .table-wrapper {
    height: 100%;
    flex-grow: 1;
    overflow-y: auto;
    background-color: #1E5035;
    max-height: calc(100vh - 57px - 104px);
}

.sidebar-layout .secondary-sidebar .tabs-inner .tabs-inner-flex .table th {
    background: none !important;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    padding: 16px;
    border-bottom: 1px solid #347C45 !important;
}

.sidebar-layout .secondary-sidebar .tabs-inner .tabs-inner-flex .table td {
    background: none !important;
    color: #fff;
    /* font-weight: 500; */
    font-size: 14px;
    padding: 16px;
    border-bottom: 0;
}

.sidebar-layout .secondary-sidebar .tabs-inner .tabs-inner-flex .table tr:nth-child(odd) td {
    background: #17402A !important;
}

.sidebar-layout .secondary-sidebar .tabs-inner .tabs-inner-flex .table tr:hover td {
    background: #347C45 !important;
}

.sidebar-layout .secondary-sidebar .tabs-inner .tabs-inner-flex .table td a {
    color: #ffffff;
    text-decoration: none;
    background-color: transparent;
    outline: none;
    cursor: pointer;
    transition: color 0.3s;
    -webkit-text-decoration-skip: objects;
}

.sidebar-layout .secondary-sidebar .tabs-inner .tabs-inner-flex .table td a:hover {
    color: #69b1ff;
}

.sidebar-layout .secondary-sidebar .tabs-inner .tabs-inner-flex .table td a:active {
    color: #0958d9;
    outline: 0;
}

.sidebar-layout .content {
    background-color: #1E5035;
    background-image: url(..//img/bg.png);
    background-size: cover;
    flex: auto;
}

.sidebar-layout .content.dashboard {
    padding: 40px;
}

.sidebar-layout .content-inner {
    padding: 40px;
    max-height: 100vh;
    overflow-y: auto;
}

/* Error graph */
.error-graph-container {
    background: #DA6B5C;
    padding: 50px;
    color: #fff;
}

/* Cards */
.card {
    border-radius: 0 !important;
    border: 0 !important;
}

.card .card-header {
    background: #F3F0EC !important;
    border: 0 !important;
    padding: 18px 23px;
}

.card .card-header .card-title {
    color: #DA6B5C;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 0 !important;
}

.card .table th,
.card .table td {
    font-size: 14px !important;
}

.card .table td {
    padding-top: 16px;
    padding-bottom: 16px;
}

/* Client Details */
.client-details .client-details-top-section {
    background: #FFC3BB;
}

.client-details .client-details-top-section.jobs {
    background: #a2b7e0;
}

.client-details .client-details-top-section.finance {
    background: #ffefd4;
}

.client-details .client-details-top-section .basic-info {
    padding: 30px;
}

.client-details .client-details-top-section .basic-info.sep {
    display: flex;
}

.client-details .client-details-top-section .basic-info.sep .left {
    flex-grow: 1;
}

.client-details .client-details-top-section .basic-info.sep .right {
    flex-shrink: 1;
    display: flex;
    align-items: center;
}

.client-details .client-details-top-section .basic-info h1 {
    font-size: 30px;
    font-weight: 200;
    color: #8D2618;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.client-details .client-details-top-section .basic-info h2 {
    font-weight: 400;
    color: #8D2618;
    font-size: 14px;
    margin-top: 10px;
}

.status-selector {
    background: #d09534;
    padding: 3px;
    display: flex;
    border-radius: 25px;
}

.status-selector.job-selected {
    background: #405378;
}

.status-selector .status {
    display: flex;
    align-items: center;
    padding: 12px 17px;
    border-radius: 25px;
    cursor: default;
    font-weight: 300;
    color: #fff;
}

.status-selector.job-selected .status.selected {
    color: #405378;
    background: #fff;
}

.client-details .client-details-top-section.finance .status-selector {
    background: #d09534;
}

.client-details .client-details-tab-wrapper {
    display: flex;
}

.client-details .client-details-tab-wrapper .tab {
    text-decoration: none;
    display: inline-block;
    padding: 20px 30px;
    font-weight: 200;
    color: #8D2618;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    cursor: pointer;
}

.client-details .client-details-tab-wrapper .tab:hover {
    background: rgba(255, 255, 255, 0.5) !important;
}

.client-details .client-details-tab-wrapper .tab.active {
    background: rgba(255, 255, 255, 0.5) !important;
}

.client-details .client-details-top-section .client-details-tabs-inner {
    padding: 30px;
    background: rgba(255, 255, 255, 0.5);
}

.client-details .client-details-bottom-section {
    background: #DCD3C8;
    margin-top: 40px;
}

.client-details .bottom-section-tabs-inner {
    background: rgba(255, 255, 255, 0.5);
}

.client-details .client-details-bottom-section .search-section {
    padding: 40px 30px 30px;
    display: flex;
}

.client-details .client-details-bottom-section .search-section .left {
    flex-shrink: 1;
    padding-right: 35px;
}

  .client-details .client-details-bottom-section .search-section .right {
    flex-grow: 1;
  }

.client-details .client-details-bottom-section .search-section .btn {
    border-radius: 0;
    height: 44px;
    border: 0;
    background-color: #347C45;
    color: #fff;
    padding-left: 25px;
    padding-right: 25px;
    font-weight: 300;
    line-height: 31px;
}

.client-details .client-details-bottom-section .search-section .right input[type=text] {
    border: 0;
    border-radius: 0;
    padding: 10px 15px;
    width: 100%;
}

.client-details .client-details-bottom-section .pill-selector {
    padding: 0 30px 20px;
}

.client-details .client-details-bottom-section .pill-selector .pill {
    display: inline-block;
    margin-right: 5px;
    color: #1E335C;
    font-weight: 200;
    padding: 3px 15px;
    cursor: pointer;
    font-size: 14px;
}

.client-details .client-details-bottom-section .pill-selector .pill.selected {
    font-weight: 400;
    background: #fff;
    border-radius: 15px;
}

.client-details .client-details-bottom-section .table th {
    background: none !important;
    font-weight: 500;
    font-size: 14px;
    padding: 16px;
    border-bottom: none !important;
}

.client-details .client-details-bottom-section .table td {
    background: #fff !important;
    /* font-weight: 500; */
    font-size: 14px;
    padding: 16px;
    border-bottom: 0;
}

.client-details .client-details-top-section .table th {
  background: none !important;
  font-weight: 500;
  font-size: 14px;
  padding: 16px;
  border-bottom: none !important;
}

.client-details .client-details-top-section .table td {
  background: #fff !important;
  /* font-weight: 500; */
  font-size: 14px;
  padding: 16px;
  border-bottom: 0;
}

.client-details .client-details-top-section .search-section {
  padding: 40px 30px 30px;
  display: flex;
}

  .client-details .client-details-top-section .search-section .left {
    flex-shrink: 1;
    padding-right: 35px;
  }

  .client-details .client-details-top-section .search-section .right {
    flex-grow: 1;
  }

  .client-details .client-details-top-section .search-section .left .btn {
    border-radius: 0;
    height: 44px;
    border: 0;
    background-color: #347C45;
    color: #fff;
    padding-left: 25px;
    padding-right: 25px;
    font-weight: 300;
    line-height: 31px;
  }

/* Job Details */
.job-details .client-details-top-section {
    background: #A2B7E0 !important;
}

.basic-info.flex {
    display: flex;
}

.basic-info.flex .left {
    flex-grow: 1;
}

.basic-info.flex .right {
    flex-shrink: 1;
}

.basic-info.flex .right .status-selector.job-selected {
    background: #405378;
    padding: 3px;
    display: flex;
    border-radius: 25px;
}

.basic-info.flex .right .status-selector .status {
    display: flex;
    align-items: center;
    padding: 10px 17px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 300;
    box-sizing: border-box;
    color: #fff;
    font-size: 14px;
}

.basic-info.flex .right .status-selector .status span {
    margin-right: 10px;
    display: flex;
}

.basic-info.flex .right .status-selector .status.selected {
    color: #405378;
    background: #fff;
}

/* Quote Details */
.quote-details .client-details-top-section {
    background: #FFEFD4 !important;
    position: relative;
}

.quote-details .status-selector {
    background: #D09534 !important;
}

.quote-details .status-selector .status.selected {
    background: #fff;
    color: #D09534 !important   ;
}

.quote-details-actions {
    position: absolute;
    right: 20px;
    top: 115px;
}

.quote-details-actions a {
    margin-left: 10px;
    border: 0;
    background: rgba(255, 255, 255, 0.5);
    color: #DA6B5C;
    box-shadow: none;
    font-size: 14px;
    height: 32px;
    padding: 4px 15px;
    border-radius: 6px;
    text-decoration: none;
    vertical-align: middle;
}

.quote-details-actions a.icon {
    padding: 7px;
}

.quote-details-actions a .text {
    margin-left: 10px;
}

.contactCard {
    background: hsla(0,0%,100%,.5);
    width: 100%;
    padding: 20px;
    color: #1e335c;
    margin-bottom: 15px;
}

.contactCard .contactCardTop {
    display: flex;
}

.contactCard .contactCardTop .position {
    margin-top: 5px;
    font-style: italic;
    font-weight: 200;
}

.contactCard .contactCardTop .left {
    flex-shrink: 1;
    padding-right: 15px;
    display: flex;
    align-items: center;
}

.contactCard .contactCardTop .center {
    flex-grow: 1;
}

.contactCard .contactCardTop .right {
    padding-left: 10px;
    flex-shrink: 1;
    display: flex;
    align-items: center;
}

.contactCard .contactCardBottom {
    margin-top: 20px;
    border-top: 1px solid #a2b7e0;
    padding-top: 20px;
}

.contactCard .contactCardBottom div {
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 300;
}

.contactCard .contactCardBottom .position {
    font-style: italic;
}

.btn-add, .dialog-btn-positive, .dialog-btn-negative, .dialog-btn-neutral {
  display: block;
  border-radius: 0 !important;
  line-height: 31px;
  padding-left: 25px;
  padding-right: 25px;
  text-align: center;
  background: #347C45;
  border: 0;
  color: #fff;
  font-weight: 300;
  height: 44px !important;
  width: 87.42px !important;
  text-decoration: none;
}

.dialog-btn-positive {
  background: #347C45;
}

.dialog-btn-negative {
  background: #DA6B5C;
}

.dialog-btn-neutral {
  background: #777777;
}

.note-card {
    color: #405378 !important;
    background: hsla(0,0%,100%,.5);
    margin-top: 25px;
    padding: 20px;
    font-size: 13px;
    font-weight: 300;
}

.note-card .created-by {
    text-decoration: underline;
}

.note-card .message {
    margin-top: 20px;
    font-weight: 300;
    padding-top: 20px;
    border-top: 1px solid #a2b7e0;
}

.contactDetails {
    background: #ffc3bb;
    padding: 40px;
}

.contactDetails .contactDetailsTopSection {
    display: flex;
    padding-top: 10px;
    padding-bottom: 30px;
}

.contactDetails .contactDetailsTopSection .left {
    flex-grow: 1;
}

.contactDetails .contactDetailsTopSection .left h1 {
    font-size: 30px;
    font-weight: 200;
    color: #8d2618;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contactDetails .contactDetailsTopSection .right {
    flex-shrink: 1;
    display: flex;
    align-items: center;
}

.contactDetails .contactDetailsTopSection .right .ant-btn {
    border-radius: 0 !important;
    background: hsla(0,0%,100%,.5) !important;
    border: 0 !important;
    color: #405378 !important;
}

.contactDetails .contactDetailsBottomSection .contactInner {
    background: hsla(0,0%,100%,.5);
    color: #575756;
    padding: 20px;
}

.jobDetails .jobDetailsTopSection {
    background: #a2b7e0;
}

.jobDetails .jobDetailsTopSection .basicInfo {
    padding: 30px;
    display: flex;
}

.jobDetails .jobDetailsTopSection .basicInfo .left {
    flex-grow: 1;
}

.jobDetails .jobDetailsTopSection .basicInfo .right {
    flex-shrink: 1;
    display: flex;
    align-items: center;
}

.jobDetails .jobDetailsTopSection .jobDetailsTabWrapper .tab {
    display: inline-block;
    padding: 20px 30px;
    font-weight: 200;
    color: #8d2618;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    cursor: pointer;
}

.jobDetails .jobDetailsTopSection .jobDetailsTabWrapper .tab:hover {
    background: hsla(0,0%,100%,.5);
}

.jobDetails .jobDetailsTopSection .jobDetailsTabWrapper .tab.active {
    background: hsla(0,0%,100%,.5);
}

.jobDetails .jobDetailsTopSection .jobDetailsTabsInner {
    padding: 30px;
    background: hsla(0,0%,100%,.5);
}

.jobDetails .jobDetailsBottomSection {
    background: #dcd3c8;
    margin-top: 40px;
}

    .jobDetails .jobDetailsBottomSection .jobDetailsTabWrapper .tab {
        display: inline-block;
        padding: 20px 30px;
        font-weight: 200;
        color: #8d2618;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 13px;
        cursor: pointer;
    }

        .jobDetails .jobDetailsBottomSection .jobDetailsTabWrapper .tab:hover {
            background: hsla(0,0%,100%,.5);
        }

    .jobDetails .jobDetailsBottomSection .jobDetailsTabWrapper .tab.active {
        background: hsla(0,0%,100%,.5);
    }

.bottomSectionTabsInner {
    background: hsla(0,0%,100%,.5);
}

.searchSection {
    padding: 40px 30px 30px;
    display: flex;
}

.pillSelector {
    padding: 0 30px 20px;
}

.form-legend {
    font-weight: 200;
    color: #8D2618;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.input-group-text {
    background-color: transparent;
    border: none;
    border-radius: unset;
}

.red-label {
    color: #8D2618 !important;
    font-weight: 500;
}

.display-7 {
  font-size: calc(1.1rem + .5vw);
  font-weight: 300;
  line-height: 1.2;
}

.display-8 {
  font-size: calc(.8rem + .4vw);
  font-weight: 300;
  line-height: 1.0;
}

::-webkit-scrollbar {
  width: 14px;
  border: 5px solid #1E5035;
}

::-webkit-scrollbar-thumb {
  background-color: #17402A;
  background-clip: padding-box;
  border: 0.05em solid #1E5035;
}

  ::-webkit-scrollbar-thumb:hover {
    background-color: #347C45;
  }

::-webkit-scrollbar-track {
  background-color: #1E5035;
}
    /* Buttons */
::-webkit-scrollbar-button:single-button {
  background-color: #1E5035;
  display: block;
  border-style: solid;
  height: 13px;
  width: 14px;
}
    /* Up */
  ::-webkit-scrollbar-button:single-button:vertical:decrement {
    border-width: 0 8px 8px 8px;
    border-color: transparent transparent #17402A transparent;
    padding-bottom: 5px;
  }

    ::-webkit-scrollbar-button:single-button:vertical:decrement:hover {
      border-color: transparent transparent #347C45 transparent;
    }
    /* Down */
  ::-webkit-scrollbar-button:single-button:vertical:increment {
    border-width: 8px 8px 0 8px;
    border-color: #17402A transparent transparent transparent;
    padding-top: 5px;
  }

::-webkit-scrollbar-button:vertical:single-button:increment:hover {
  border-color: #347C45 transparent transparent transparent;
}
