* {
    box-sizing: border-box !important;
    font-family: 'Varela Round', sans-serif;
}

/* Table styles on elements we want to get rid of */



/* #region titles */
.main-title {
    font-weight: 400;
    color: #4069b6;
    font-size: 40px;
}

.sub-title {
    font-weight: 300;
    color: #1e2a47;
    font-size: 30px;
}

.sub-sub-title {
    font-weight: 900;
    color: #1e2a47;
    font-size: 24px;
}

.popup-title {
    font-weight: 900;
    color: #1e2a47;
    font-size: 18px;
}

/* #endregion*/


/* #region buttons */
.btn,
button {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #3e7597;
    cursor: pointer;
    color: #3e7597;
    font-size: 1rem;
    transition: all 150ms ease-in-out;
}

.btn.primary {
    background: #229cd1;
    color: #fff;
}

.btn.primary:hover {
    background: #0D5587;
    color: #fff;
}

.btn.warning {
    color: #c83939;
    border-color: #c83939;
}

.btn.warning:hover {
    border-color: #c83939;
    background: #c83939;
    color: #fff;
}

.btn:hover,
button:hover {
    background-color: #229cd1;
    color: #fff;
    border: 1px solid #229cd1;
}

.btn.text-link {
    padding: 0;
    border: 0;
    background: none;
    text-decoration: underline;
}

.btn.text-link:hover {
    color: #229CD1;
}

/* #endregion*/


/* #region categories */
.category {
    padding-left: 15px;
}

.category-name {
    font-weight: bold;
}

.category-name:hover {
    background-color: beige;
    cursor: pointer;
}

/* #endregion*/


/* #region solutions */
.solution:hover {
    background-color: beige;
    cursor: pointer;
}

.tree-item-selected {
    background-color: antiquewhite;
    cursor: pointer;
}

.solutions {
    padding-left: 15px
}

/* #endregion*/


/* #region text */
.txt-center,
.text-center {
    text-align: center;
}

.text-start {
    text-align: left;
    display: flex;
    border: none !important;
}

.text-right {
    text-align: right;
}

/* #endregion*/


.clear-after::after {
    clear: both;
    display: block;
    content: "";
}

.margin-top-bot {
    margin: 20px 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.stretch {
    width: 100%;
}

.floatLeft {
    float: left;
}

.floatRight {
    float: right;
}

.clearBoth:after {
    display: block;
    content: "";
    clear: both;
}

.width50 {
    width: 50%;
    float: left;
    padding-right: 10px;
}

.width50:last-child {
    padding-left: 10px;
}

.width70 {
    width: 70%;
    float: left;
    padding-right: 10px;
}

.width30 {
    width: 30%;
    float: left;
    padding-left: 10px;
}

.width33 {
    width: 33.3333%;
    float: left;
    padding: 0 10px 0 0;
}

.width33:nth-child(2),
.width33:nth-child(3) {
    padding: 0 10px;
}

.width33:nth-child(4) {
    padding: 0 0 0 10px;
}

.width25 {
    width: 25%;
    float: left;
    padding: 0 10px 0 0;
}

.width25:last-child {
    margin-right: 0;
}

.width33:last-child {
    margin-right: 0;
}

.side-col-left {
    float: left;
    width: 70%;
}

.side-col-right {
    float: right;
    width: 28%;
}

.invalid {
    border: 2px solid #c11919 !important;
}

.k-edit-cell select {
    padding: 8px;
}

hr {
    margin: 2em 0;
    border: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.2);
}

.relative {
    position: relative;
}

#main-wrapper {
    /* max-width: 1600px; */
    margin: 0 auto;
    -webkit-box-shadow: 20px 20px 50px 0 rgba(0, 0, 0, .05);
    box-shadow: 20px 20px 50px 0 rgba(0, 0, 0, .05);
}

.masthead {
    width: 100%;
    background: #151a36;
    padding: 30px;
    position: relative;
}

.masthead h1 {
    color: #fff;
    padding: 5px 10px 5px 70px;
    background: url(../images/logo.png) no-repeat;
    background-size: auto 100%;
    margin: 0;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.886);
}

.login-masthead {
    text-align: center;
    margin-bottom: 45px;
}

.login-masthead img {
    max-width: 75px;
}

.login-masthead h1 {
    font-weight: normal;
}

.header-search {
    position: absolute;
    left: 400px;
    right: 400px;
    top: 50%;
    margin-top: -30.5px;
}

.header-search input {
    width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border: 0;
    font-size: 1.25em;
}

.header-meta {
    position: absolute;
    right: 20px;
    top: 38%;
    margin-top: -21px;
    color: #fff;
    text-align: right;
}

.header-meta a {
    text-decoration: none;
    color: #fff;
    display: inline-block;
    padding: 0px 10px 0px 10px;
}

.header-meta a:last-child {
    padding: 0px 0px 0px 10px;
}

.header-meta a:hover {
    text-decoration: underline;
}

.sub-menu {
    border-bottom: 1px solid rgba(255, 255, 255, .25);
    border-top: 1px solid rgba(255, 255, 255, .25);
    background-image: linear-gradient(to right, #161b34, #191e3a, #1b2141, #1e2547, #21284e, #21284e, #21284e, #21284e, #1e2547, #1b2141, #191e3a, #161b34);
    display: flex;
    padding: 10px;
}

.sub-menu a {
    background: #288fcf00;
    padding: 1em;
    font-weight: 700;
    flex-grow: 1;
    text-align: center;
    display: none;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 3px;
    transition: all .2s ease-in;
    -moz-transition: all .2s ease-in;
    /* Firefox 4 */
    -webkit-transition: all .2s ease-in;
    /* Safari and Chrome */
    -o-transition: all .2s ease-in;
    /* Opera */
}

.sub-menu a:hover,
.sub-menu a.active {
    background: #ffffff22;
}

.sub-menu a span {
    display: inline-block;
    background: #c11919;
    padding: 5px;
    margin-left: 10px;
    border-radius: 3px;
    font-size: .8em;
}

#content {
    display: table;
    width: 100%;
    min-height: 600px;
}

#content-left,
.content-left {
    width: 350px;
    display: table-cell;
    background: #fff;
    border-right: 1px solid #ccc;
    vertical-align: top;
}

.left-col-padding {
    padding: 30px;
}

.left-col-title {
    font-size: 1.5em;
    padding-bottom: 15px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 15px;
}

.left-col-subtitle {
    font-size: .8em;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 15px;
}

.left-col-subtitle span {
    background: #fff;
    position: relative;
    z-index: 1;
    padding-right: 10px;
}

.left-col-subtitle::after {
    content: "";
    position: absolute;
    top: 50%;
    margin-top: -1px;
    right: 0;
    left: 0;
    height: 1px;
    background: #ccc;
}

.left-col-btn-container {
    margin-bottom: 30px;
}

.left-col-btn-container a {
    display: block
}

.left-col-search-container {
    margin-bottom: 15px;
}

.left-col-search-container input {
    display: block;
    padding: 10px;
    width: 100%;
    border-radius: 3px;
    -moz-border-radius: 3px;
    border: 1px solid #ccc;
    font-size: 1em;
}

/*Tree Styles */

.client.no-children .toggle {
    display: none;
}

.client {
    padding: 7px 0;
    cursor: pointer;
}

.client .toggle,
.category .toggle {
    border: solid #151a36;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    margin-right: 7px;
}

.client .open,
.category .toggle.open {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.client .closed,
.category .toggle.closed {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.clients .clients {
    padding: 15px 0 15px 15px;
    border-left: 1px solid #ccc;
    margin-left: 3px;
}

.client-name.selected {
    color: #000;
    background: #673ab71f;
    padding: 3px 5px;
    border-radius: 3px;
    -moz-border-radius: 3px;
}

/*Solutions Left Column List */
.sub-categories {
    padding: 0 0 0 15px;
}

.solutions {
    padding-left: 20px;
}

.category label {
    margin: 10px 0 !important;
    display: block;
}

#solutions-grid .solution {
    margin: 10px 0;
    position: relative;
}

#solutions-grid .solution::before {
    content: '';
    display: inline;
    width: 7px;
    height: 7px;
    background: #673ab7;
    border-radius: 50px;
    -moz-border-radius: 50px;
    position: absolute;
    left: -15px;
    top: 3px;
}

#solutions-grid .solution:hover {
    cursor: pointer;
}

#solutions-grid .multi-solution::before {
    background-color: #c11919 !important;
}

.multi-solution-for-key {
    content: '';
    display: inline;
    width: 7px;
    height: 7px;
    background-color: #c11919 !important;
    border-radius: 50px;
    -moz-border-radius: 50px;
    position: absolute;
    left: -15px;
    top: 3px;
}

#solutions-grid .solution:first-child {
    margin: 0 0 10px 0;
}

#solutions-grid .solution:last-child {
    margin: 10px 0 0 0;
}

.pricing-grids .form-item input {
    font-size: 2em !important;
}

.pricing-grids input:read-only {
    border-color: #dfdcdc !important;
    background: #f5f5f5 !important;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ccc;
    font-size: 1em;
}

.pricing-table th {
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    text-transform: uppercase;
    font-size: .8em;
    background: #161b34;
    color: #fff;
}

.pricing-table th:last-child {
    text-align: right;
    padding-right: 10px;
}

.pricing-table tr td {
    border-bottom: 1px solid #ccc;
    padding: 10px;
}

.pricing-table tr td input {
    padding: 5px;
    width: 100%;
    text-align: center;
}

.pricing-table tr td:nth-child(2) {
    width: 200px;
}

.pricing-table tr td:last-child input {
    text-align: right;
}

.analysis-subtitle {
    font-size: .8em;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 15px;
    margin-top: 30px;
}

.analysis-subtitle span {
    background: #fff;
    position: relative;
    z-index: 1;
    padding-right: 10px;
}

.analysis-subtitle::after {
    content: "";
    position: absolute;
    top: 50%;
    margin-top: -1px;
    right: 0;
    left: 0;
    height: 1px;
    background: #ccc;
}

.analysis-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ccc;
    font-size: 1em;
}

.analysis-group {
    width: 25%;
}

.analysis-margin {
    background: #f2f2f2;
}

.analysis-market {
    background: #e5e5e5;
}

.analysis-minmarg {
    background: #d6d5d5;
}

.analysis-hours {
    max-width: 50px;
    text-align: center;
}

.analysis-price {
    text-align: right;
}

.analysis-table th {
    border-bottom: 1px solid #ccc;
    padding: 10px;
    font-size: 1em;
}

.analysis-table th:last-child {
    padding-right: 10px;
}

.analysis-table tr td {
    border-bottom: 1px solid #ccc;
    padding: 10px;
    border-right: 1px solid #ccc;
}

.analysis-table tr td input {
    padding: 5px;
    width: 100%;
    text-align: center;
}

/*.analysis-table tr td:nth-child(2) {width: 200px;}
*/
.analysis-table tr td:last-child input {
    text-align: right;
}

.tbl-sub-total {
    background: rgb(98 55 240 / 7%);
    text-align: center;
    font-weight: bold;
}

.tbl-sub-total-2 {
    background: rgb(98 55 240 / 12%);
}

.tbl-sub-total-3 {
    background: rgb(98 55 240 / 19%);
}

.tbl-sub-total-4 {
    background: rgb(98 55 240 / 26%);
}

.tbl-sub-total-right {
    text-align: right;
}

.tbl-sales-commission {
    text-align: right;
}

.tbl-tax {
    text-align: right;
}

.tbl-total {
    text-align: right;
    font-size: 1.25em;
    color: #fff;
    border-right: 1px solid rgb(103, 58, 183) !important;
}

.tbl-total-1 {
    background: rgba(103, 58, 183, .75);
}

.tbl-total-2 {
    background: rgba(103, 58, 183, .80);
}

.tbl-total-3 {
    background: rgba(103, 58, 183, .85);
}

.tbl-total-4 {
    background: rgba(103, 58, 183, .9);
}

#content-right {
    width: auto;
    display: table-cell;
    background: #f5f5f5;
    vertical-align: top;
}

.content-right-title-section {
    padding: 30px;
    /*background-image: linear-gradient(to left top, #6ebde4, #5db1df, #4ba6da, #3a9ad5, #288ecf, #2488c8, #1f82c2, #1a7cbb, #247bb2, #2e79a9, #3677a0, #3e7597);*/
    background-image: linear-gradient(to right, #845ec2, #965dc0, #a75dbe, #b75cbb, #c55cb7, #d55daf, #e25fa6, #ed639d, #f86c8f, #fe7982, #ff8778, #ff9671);
}

#client-name-title,
#solution-name-title,
#crm-interest-form-heading {
    color: #fff;
    font-size: 2em;
}

.tabs {
    margin-top: 25px;
}

.tabs a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding: 10px 15px;
    border-radius: 3px;
    -moz-border-radius: 3px;
}

.tabs a.active {
    background: rgba(255, 255, 255, 0.1);
    font-weight: 900;
}

.tabs a.active::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    position: absolute;
    display: block;
    background: #ffc000;
    left: 50%;
    margin-left: -2.5px;
    border-radius: 20px;
    -moz-border-radius: 20px;
    bottom: -15px;
}

.tab-content {
    padding: 30px;
}

.top-level-insight-container {
    display: flex;
    border-radius: 3px;
    overflow: hidden;
    -moz-border-radius: 3px;
}

.top-level-insight {
    flex-grow: 1;
    border-right: 0 solid #ccc;
}

.top-level-insight:last-child {
    border-right: 0;
}

.top-level-insight:last-child {
    padding-right: 0;
}

.top-level-insight-title {
    display: block;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

.top-level-insight-data {
    font-size: 2em;
    font-weight: 700;
}

.content-container {
    background: #fff;
    margin: 30px 0;
    border-radius: 3px;
    -moz-border-radius: 3px;
    border: 1px solid #ccc;
    position: relative;
}

.content-container:first-child {
    margin: 0 0 30px 0;
}

.expand-view {
    position: absolute;
    right: 10px;
    top: 10px;
    background: #fff;
    border: 2px solid #351a65;
    color: #351a65
}

.content-filters {
    padding: 20px;
    background: #f5f5f5;
    border-bottom: 1px solid #ccc;
}

.filter-item {
    float: left;
    margin-right: 20px;
    width: 200px;
}

.filter-item label {
    display: block;
    padding-bottom: 5px;
}

.filter-item:last-child {
    margin-right: 0;
}

.content-filters input,
.content-filters select {
    padding: 5px;
    width: 100%;
}

.content-title {
    font-size: 1.4em;
    margin-top: 18px;
    padding: 18px 0 0;
    border-top: 1px solid #ccc;
}
.content-title strong {
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.05);
    font-size: 1.2rem;
    line-height: 1.4em;
}

.solution-title {
    font-size: 1.5em;
    padding: 20px;
    border-bottom: 1px solid #ccc;
}

.content-padding {
    padding: 30px;
}

.content-sub-title {
    font-size: 1.25em;
    padding-bottom: 20px;
    position: relative;
}

.content-side-col-secton {
    margin-bottom: 30px;
}

.content-side-col-secton:last-child {
    margin-bottom: 0px;
}

.content-side-col-title {
    font-size: .8em;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 15px;
}

.content-side-col-title span {
    background: #f5f5f5;
    position: relative;
    z-index: 1;
    padding-right: 10px;
}

.content-side-col-title::after {
    content: "";
    position: absolute;
    top: 50%;
    margin-top: -1px;
    right: 0;
    left: 0;
    height: 1px;
    background: #ccc;
}

.expand-view {
    font-size: .8em;
}

.expand-container-view {
    position: fixed !important;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: auto;
    margin: 0;
    z-index: 999;
}

.expand-container-view .content-padding {
    max-width: 1800px;
    margin: 50px auto;
}

.form-title {
    font-size: 1.25em;
    margin-bottom: 15px;
    font-weight: 700;
}

#add-solution-example-open {
    display: flex;
    align-items: center;
    gap: 2px;
}

.btn-group--actions button {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-group--actions {
    display: flex;
    gap: 4px;
}

.project-details {
    gap: 15px;
    padding: 1rem 1.4rem;
    background: #fff;
}
.project-details .project-detail {
    font-size: 0.85rem;
    line-height: 1.4em;
}
.project-details .project-detail:not(:last-child) {
    padding-right: 15px;
    border-right: 1px solid #ccc;
}
.project-details .project-detail:has(> .status) {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.project-details.project-highlight {
    gap: 15px;
    margin-bottom: 1rem;
    background: #0D5587;
    color: #fff;
    font-size: 1.2rem;
}
.project-details.project-highlight .project-detail {
    margin-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}
.project-details.project-highlight .project-detail:last-child {
    flex: 1 1 auto;
    border-right: 0;
}
.project-details.project-highlight .project-detail input, .project-details.project-highlight .project-detail select {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, .1);
    color: #fff;
    font-size: 16px;
}
.project-details.project-highlight .project-detail select option {
    color: #15141A;
}
.project-details.project-highlight .btn {
    border-color: #229CD1;
}

.project-details .status {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem;
    border-radius: 2rem;
    box-shadow: 0 0 10px -4px #fff;
    background: #999;
    color: #fff;
    white-space: nowrap;
}
.project-details label .status {
    margin: -0.3rem 0.2rem;
    padding: 0.3rem;
}
.project-details .status span {
    overflow: visible;
}
.project-details span.status-green {
    background: #22a564;
}
.project-details span.status-blue {
    background: #0D5587;
}
.project-details span.status-yellow {
    background: #eae200;
    text-shadow: 0 0 6px #843b00;
}
.project-details span.status-red {
    background: #c11919;
}

.form-item {
    margin-bottom: 15px;
}

.form-item label {
    display: block;
    width: 100%;
    margin-bottom: 0.4rem;
}

.form-item strong em {
    display: inline-flex;
    margin: -0.2rem 0.2rem;
    padding: 0.4rem 0.4rem 0.2rem;
    background: #f4ef8b;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.4em;
}

.modal-button a,
.modal-button label {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    padding: 10px 20px;
    background: #fff;
    border-radius: 3px;
    border: 1px solid #3e7597;
    cursor: pointer;
    color: #3e7597;
    font-size: 1em;
    transition: all 150ms ease-in-out;
}

.modal-button a:hover,
.modal-button label:hover {
    background-color: #229cd1;
    color: #fff;
    border: 1px solid #229cd1;
}

.form-item textarea {
    height: 125px;
    line-height: 1.4em;
}

.form-item textarea.short {
    height: 70px;
}

.static-date {
    display: inline-block;
    margin-bottom: 0.4rem;
    padding: 0.4rem 0.6rem;
    background: rgba(0, 0, 0, 0.05);
    font-size: 0.8em;
    line-height: 1.4em;
}

.form-item.cb-container label,
.form-item.rb-container label {
    display: inline-block;
    margin-right: 20px;
}

.form-item.cb-container label:last-child,
.form-item.rb-container label:last-child {
    display: inline-block;
    margin-right: 0;
}

.btn-action-container {
    margin-top: 30px;
}

.invalid {
    border: 2px solid #c11919
}

.top-nav {
    float: right;
    padding-top: 35px;
}

.top-nav a {
    font-weight: 900;
    text-decoration: none;
    color: #1e2a47;
    padding: 10px 15px;
    text-transform: uppercase;
}

.hide-scroll {
    position: fixed;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.client>.client-name.selected {
    font-weight: bold;
}

.k-widget.k-dropdown {
    width: 100%
}

.k-widget.k-notification .k-notification-wrap {
    display: flex;
    align-items: center;
}

.k-widget.k-notification .k-notification-content, .k-widget.k-notification .k-icon {
    color: #fff;
}

.k-widget.k-notification.k-notification-success {
    background-color: #229cd1 !important;
    border-color: white !important;
}

/*Grid Styles */
.k-grid th.k-header {
    text-transform: uppercase;
    font-size: .8em;
}

.k-widget.k-window {
    top: 50px !important;
}

.k-widget.k-editor.k-editor-widget.k-resizable {
    width: 100% !important;
    height: 220px;
}

.k-grid .btn {
    padding: 5px 10px;
}

.k-grid-content {
    overflow-y: auto !important;
}

.k-tabstrip:focus {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

/* Client Dashboard */

.prod-row {
    display: table-cell;
    width: 100%;
}

.prod-cell {
    display: table-cell;
    width: 50%;
    padding: 20px;
    border: 1px solid #ccc;
}

.prod-list {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.prod-list-item {

    display: flex;
    width: 48%;
    margin-right: 4%;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 3px;
    -moz-border-radius: 3px;
}

.prod-list-item:hover {
    border: 1px solid #673ab7;
    background: #673ab7;
}

.prod-list-item:hover * {
    color: #fff;
}

.prod-list-item:hover .btn {
    background: #351a65;
}

.prod-list-item:nth-child(even) {
    margin-right: 0;
}

.prod-list-content {
    width: 100%;
    padding: 20px;
}

.prod-item-title {
    font-size: 1.25em;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.radio-container label {
    display: inline;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.main-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ccc;
    font-size: 1em;
}

.main-table th {
    border-bottom: 1px solid #ccc;
    padding: 10px;
    text-transform: uppercase;
    font-size: .8em;
    background: #161b34;
    color: #fff;
    text-align: left;
}

.main-table tr td {
    border-bottom: 1px solid #ccc;
    padding: 10px;
}

.main-table tr td input {
    padding: 5px;
    width: 100%;
    text-align: center;
}

.main-table tr td:nth-child(2) {
    width: 200px;
}

.main-table tr td:last-child input {
    text-align: right;
}

.grid-status {
    padding-left: 18px;
    position: relative;
}

.grid-status::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    position: absolute;
    left: 0;
    top: 3px;
    border-radius: 30px;
    -moz-border-radius: 30px;
}

.grid-status-text {
    display: inline-block; width: 100%; margin: 0 0 0.2rem; padding: 0.1rem 0.3rem; background: #999; color: #fff; font-size: 0.8rem; font-weight: 600; line-height: 1.4em; text-align: center;
}
.grid-status-text.green {
    background: #22A564;
}
.grid-status-text.red {
    background: #c11919;
}

.overdue::before {
    background: #c11919;
}

.on-schedule::before {
    background: #22A564;
}

.inlineCheckbox {
    width: initial !important;
    display: inline !important;
    margin-bottom: 3px;
}

.modal-window-bg {
    position: fixed;
    background: rgba(0, 0, 0, .8);
    height: 100%;
    width: 100%;
    z-index: 200;
    top: 0;
    left: 0;
    overflow: auto;
    display: none;
}

.modal-window {
    max-width: 1600px;
    margin: 30px auto;
    background: #f5f5f5;
}

.interest-date {
    margin-top: 15px;
}

.interest-date span {
    background: #00000029;
    padding: 5px 10px;
    display: inline-block;
    border-radius: 5px;
    color: #fff;
}

.interest-date.overdue span {
    background: #c11919;
}

/*Login Screens */

.login-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
    /*    background-image: linear-gradient(to right bottom, #ff512f, #f3602e, #e86c2f, #dd7634, #d27e3b, #d2883d, #d29140, #d29b44, #d9ab41, #ddbc3e, #dece3e, #dce040);
  */
    background-image: linear-gradient(to right, #845ec2, #965dc0, #a75dbe, #b75cbb, #c55cb7, #d55daf, #e25fa6, #ed639d, #f86c8f, #fe7982, #ff8778, #ff9671);
}

.login-container {
    max-width: 700px;
    width: 98%;
    margin: 30px auto;
    padding: 30px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 5px;
    -webkit-box-shadow: 0 0 100px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 0 100px 0 rgba(0, 0, 0, .1);
}

.login-btn {
    display: block;
    text-decoration: none;
    text-align: center;
    padding: 10px 20px;
    background: #fff;
    border-radius: 3px;
    -moz-border-radius: 3px;
    border: 3px solid #3e7597;
    cursor: pointer;
    color: #3e7597;
    font-size: 1.2em;
    width: 100%;
}

.login-sec-action {
    margin-top: 30px;
    text-align: center;
}

.login-sec-action a {
    color: #666;
    text-decoration: none;
}

.padding-bottom {
    padding-bottom: 10px;
}

.content-padding {
    padding: 20px;
}

.form-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(auto, auto);
    gap: 10px;
}

.form-full-width {
    grid-column: span 2;
}

.fill-blank {
    grid-column: 2;
}

.field-highlight {
    border-radius: 3px;
    background-color: #f1f1f1;
    padding: 10px;
}

.form-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    border: 1px dashed #ccc;
    background-color: #f5f5f5;
    padding: 20px;
}

.form-upload p {
    font-size: 0.9em;
    color: #333;
}

.form-upload button {
    background-color: #3e7597;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 10px 20px;
    cursor: pointer;
}

.upload-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ccc;
    border-radius: 62px;
    width: 62px;
    height: 62px;
    opacity: 0.3;
}

.btn-action-container {
    margin-top: 10px;
}

.content-right-title-section {
    padding: 60px 0 0 30px;
}

dl {
    margin: 0;
    padding: 0;
}

dl dt {
    font-size: 1.2em;
    margin: 0 0 5px;
}

dl dd {
    margin: 0;
    padding-bottom: 15px;
}

dl dd:last-child {
    margin-bottom: 15px;
}

.tabs {
    margin-top: 0;
    display: flex;
}

.tabs a {
    color: #fff;
    text-decoration: none;
    display: block;
    position: relative;
    padding: 10px 15px;
    border-radius: 5px 5px 0 0;
    transition: all 150ms ease-in-out;
}

.tabs a.active,
.tabs a.active:hover {
    background: #f5f5f5;
    color: #151a36;
    font-weight: 300;
}

.tabs a.active::after {
    display: none;
}

.tabs a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Styles for the modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-open {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #3e7597;
    color: #fff;
    padding: 5px 10px;
    cursor: pointer;
}

.modal-close {
    border: 1px solid #ccc;
    border-radius: 30px;
    text-align: center;
    font-size: 1.3em;
    line-height: 1;
    cursor: pointer;
    display: flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: all 250ms ease;
}

.modal-close:hover {
    border: 1px solid #fff;
    color: #fff;
    background-color: #3e7597;
}

/* Styles for modal content */
.modal-content {
    background-color: #fefefe;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border: 1px solid #fff;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    /* Set a maximum width if needed */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    -webkit-animation: animatezoom 0.4s;
    animation: animatezoom 0.4s;
}

.cost-table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
}

.cost-table h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin: 0;
}

.cost-table th {
    text-align: left;
    padding-bottom: 10px;
}

.cost-table tr {
    position: relative;
}

.cost-table tr:nth-child(1) {
    background: rgba(34, 156, 209, 0.2);
    border-bottom: 2px solid #fff;
}

.cost-table tr:nth-child(2) {
    background: rgba(34, 156, 209, 0.1);
    font-weight: 600;
}

.cost-table td {
    padding: 10px 20px;
    border-right: 1px solid #fff;
}

.cost-table--summary {
    width: 100%;
}

.cell-width--lg {
    width: 60%;
}

.cell-width--med {
    width: 30%;
}

.cell-width--sm {
    width: 10%;
}

.cost-table td p:first-child {
    margin: 0;
    padding: 0;
}

.cost-table--btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    background-color: #fff;
    color: #222;
    font-size: 0.7em;
    font-weight: 300;
    border: 1px solid #edf6ff;
    border-radius: 3px;
    padding: 3px 10px;
    cursor: pointer;
}

.cost-table--edit,
.cost-table--add {
    border: 1px solid #3e7597;
    border-radius: 3px;
    line-height: 1;
    padding: 8px 10px;
    cursor: pointer;
}

.cost-table--edit {
    background-color: #3e7597;
    color: #fff;
}

.cost-table--add {
    background-color: #fff;
    border: 1px solid #3e7597;
    border-radius: 3px;
    color: #3e7597;
    margin-left: 10px;
}

/* hide tinyMCE API warning */
.tox.tox-silver-sink.tox-tinymce-aux {
    display: none !important;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    background: #f5f5f5;
}

p {
    margin: 0 0 0.6rem;
}


/* Content Styles */
.main-content {
    padding: 30px;
}

.quote {
    display: flex;
    justify-content: center;
    height: calc(100vh - 131px);
    overflow: auto;
}

.quote-container {
    width: 1200px;
}

.no-dispatch {
    display: flex;
    justify-content: center;
    font-size: 38px;
    margin: auto;
}

.quote-template {
    background: rgb(255, 255, 255);
}

.quote-layout {
    display: flex;
    background-color: #e6e6e6;
    width: 100%;

}

.quote-tabs-container {
    background-color: #f9f9f9;
    border-right: 1px solid #ddd;
}

.quote-content-container {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 20px;
    height: calc(100vh - 131px);
    margin: 0 auto;
    justify-content: center;
    background-color: #2c3e50;
    background-color: #3e7597;
    background-color: #88b0c4;
    background-color: #b0c4cf;
    background-color: #ddd;
    ;
    /* background-image: linear-gradient(to right, #845ec2, #965dc0, #a75dbe, #b75cbb, #c55cb7, #d55daf, #e25fa6, #ed639d, #f86c8f, #fe7982, #ff8778, #ff9671); */

}

.quote-content {
    flex-grow: 1;
    padding: 40px;
    overflow-y: auto;
    /*CR: TODO: Maybe we set this to whatever the pixel translation to 8X11 paper? */
    width: 1200px;
    background-color: #f9f9f9;
}

.quote-tabs {
    display: flex;
    flex-direction: column;
    width: 300px;
    min-width: 250px;
    background-color: #f4f4f4;
    border-right: 1px solid #cdcdcd;
    overflow-y: auto;
    padding: 20px;
    gap: 10px;
    height: calc(100vh - 131px);
}


.quoteTab {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #3e7597;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quoteTab.active {
    background-color: #bcdfe8;
}

.quoteTab span {
    flex-grow: 1;
    font-weight: bold;
    font-size: 14px;
    text-align: left;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #3e7597;
}

input:checked+.slider:before {
    transform: translateX(20px);
}


.quote-tab-content {
    display: none;
}

.quote-tab-content.active {
    display: block;
}


/* Dispatch Styles */
.dispatch-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.dispatch-info {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px;
}

.dispatch-info>div:first-child {
    width: 230px;
}

.dispatch-message {
    max-height: 100px;
    overflow-y: auto;
}

.dispatch-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 40px;
}

.interest-title {
    font-size: 1.6em;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    font-weight: 600;
}

.interest-wrapper {
    margin-bottom: 80px;
}

/* Popup styles */
#thank-you-popup {
    width: 450px;
    max-width: 90%;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 30px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 1000;
    text-align: center;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Overlay behind the popup */
#thank-you-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

/* Headline styling */
#thank-you-popup h2 {
    margin: 0 0 15px;
    font-size: 1.8em;
    color: #333;
}

/* Description styling */
#thank-you-popup p {
    margin: 15px 0;
    color: #666;
    font-size: 1em;
}

/* Button styling */
#thank-you-popup a {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1em;
    transition: background-color 0.3s;
}

#thank-you-popup a:hover {
    background-color: #0056b3;
}

.prospects-container {
    height: calc(100vh - 141px);
    overflow: auto;
}


/* Styles for the modal */
.overdue-leads-icon {
    cursor: pointer;
    fill: #c11919;
    top: 10px;
    left: 110px;
    transform: rotate(180deg);
}

.project-section {
    margin-bottom: 60px;
}

.project-section-split {
    display: flex;
    width: 100%;
}


/* Accordion Styles */
.accordion-item {
    margin-bottom: 10px;
}

.accordion-header {
    cursor: pointer;
    width: fit-content;
}

.accordion-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s linear;
}

.accordion-content.active {
    display: block;
    max-height: 500px;
    /* Adjust as needed */
}

.k-icon { background-image: none !important; }

.toggle-icons {
    display: flex;
    align-items: center;
    padding-bottom: 20px;
}

.edit-icon {
    position: absolute;
    left: -25px;
}

#chevron-up {
    display: none;
}

/* Blue Accordion */

.blue-accordion .blue-accordion-title {
    padding: 14px 14px 14px 20px;
    background: #0D5587;
    color: #fff;
}
.blue-accordion .info-row > span {
    padding: 8px 12px;
    border: 0;
    background: rgba(255,255,255, 0.1);
    color: #fff;
}
.blue-accordion .blue-accordion-content .info-row {
    padding: 10px;
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(0,0,0,0.03);
}
.blue-accordion .blue-accordion-content .info-row > span {
    background: #fff;
    color: inherit;
}
.blue-accordion .info-row a.btn {
    padding: 8px 12px;
    border: 0;
    background: #229CD1;
    color: #fff;
}
.blue-accordion .blue-accordion-title .blue-accordion-toggle {
    width: 2.4rem;
    height: 2.4rem;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 2.4rem;
    background: #229CD1;
    color: #fff;
    transition: all 0.4s ease 0s;
}
.blue-accordion  .blue-accordion-title.active .blue-accordion-toggle {
    transform: rotate(-180deg);
}
.blue-accordion .blue-accordion-content {
    display: none;
    padding: 20px;
    border: 1px solid #c5c5c5;
    background: #fff;
}

/* Attachments */
#cm-files-list { padding: 10px 0; }
    #cm-files-list > div { display: flex; align-items: center; gap: 0.4rem; }

/* Generic Styles */
.flex {
    display: flex;
}

.no-wrap {
    flex-wrap: nowrap;
}

.row-wrap {
    flex-wrap: wrap;
}

.row-reverse-desktop {
    flex-direction: row-reverse;
}

.flex-column {
    flex-direction: column;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.interest-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: 10px;
    width: 50vw;
}

.justify-between {
    justify-content: space-between;
}

.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.items-end {
    align-items: flex-end;
}

.w-100 {
    width: 100%;
}

.w-75 {
    width: 75%
}

.w-66 {
    width: 66.66%;
}

.w-50 {
    width: 50%
}

.w-33 {
    width: 33.33%;
}

.w-25 {
    width: 25%;
}

.h-90 {
    height: 90%;
}

.gap {
    gap: 20px;
}

.gap-lg {
    gap: 40px;
}

.gap-sm {
    gap: 14px;
}

.gap-xs {
    gap: 8px;
}

.self-start {
    align-self: flex-start;
}

.self-end {
    align-self: flex-end;
}

.absolute {
    position: absolute;
}

.hidden {
    display: none;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-0 {
    margin-top: 0;
}

.mt-auto {
    margin-top: auto;
}

.my-20 {
    margin: 20px 0;
}

.px-20 {
    padding-inline: 40px !important;
}

.no-pm>* {
    padding: 0 !important;
    margin: 0 !important;
}

.font-bold {
    font-weight: bold;
}

.overflow-auto {
    overflow: auto;
}

.white-block {
    padding: 30px;
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.6);
}

#cost {
    display: none;
}

.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

button:disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

.incoming-interest {
    border-bottom: 3px solid #ccc;
    margin-bottom: 60px;
}

.incoming-interest:not(:first-child) {
    margin-top: 20px;
}

.company-profile-two-column {
    display: grid;
    grid-template-columns: 15% auto;
    gap: 20px;
}

.two-column-even {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.three-column-even {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.quote-logo-container {
    opacity: 0.6;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quote * {
    font-family: "Montserrat", sans-serif;
}

.quote-logo {
    height: 26px;
}

.quote-section-header {
    font-weight: 900;
}

.quote-header-title {
    font-size: 22px;
}

.quote-proposal-title {
    font-weight: 700;
}

.quote-create-title {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    background: #eee;
}

.quote-table-title {
    opacity: .8;
    font-weight: 700;
    text-transform: uppercase;
}

.quote-subtitle {
    font-size: 18px;
    line-height: 1.5;
}

.thumbnail-image {
    height: 120px;
    width: 120px;
}

.quote-section-title {
    color: #4472C4;
    font-size: 24px;
    font-weight: bold;
}

.quote-paragraph-title {
    color: darkblue;
    font-weight: bold;
}

/* Quote cost summary table */
.quote-table-cost-summary th,
.quote-table-cost-summary td,
.quote-deliverable-table-details th,
.quote-deliverable-table-details td {
    width: 25%;
    border: 1px solid #ccc;
    /* Add border */
}

.quote-table-cost-summary th:nth-child(2),
.quote-table-cost-summary td:nth-child(2) {
    width: 50%;
}

.quote-table-cost-summary th:nth-child(-n+2),
.quote-table-cost-summary td:nth-child(-n+2) {
    text-align: left;
}

.quote-table-cost-summary th:last-child,
.quote-table-cost-summary td:last-child {
    text-align: right;
}

.quote-table-cost-summary tbody tr:nth-child(odd) {
    background-color: #eee;
}

.quote-table-cost-summary .spacer-row td {
    height: 20px;
    /* Adjust height for spacing */
}

/* Quote deliverable table */
.quote-deliverable-table th,
.quote-deliverable-table td {
    width: 25%;
    border: 1px solid #ccc;
    /* Add border */
}

.quote-deliverable-table th:nth-child(-n+2),
.quote-deliverable-table td:nth-child(-n+2) {
    text-align: left;
}

.quote-deliverable-table th:last-child,
.quote-deliverable-table td:last-child {
    text-align: right;
    width: 0% !important;
}

/* Quote deliverable details table */

.quote-deliverable-table-details {
    text-align: left;
}

.quote-deliverable-table-details th:nth-child(3),
.quote-deliverable-table-details td:nth-child(3) {
    width: 70%;
}

.quote-deliverable-table-details th,
.quote-deliverable-table-details td {
    width: 10%;
    text-align: left;
    vertical-align: top;
}

.quote-deliverable-table-details th:last-child,
.quote-deliverable-table-details td:last-child {
    text-align: right;
    width: 100% !important;
    display: flex;
    border: none;
}

.quote-deliverable-table-cs th:first-child,
.quote-deliverable-table-cs td:first-child {
    width: 55%;
}

.quote-deliverable-table-cs th:not(:first-child),
.quote-deliverable-table-cs td:not(:first-child) {
    width: 15% !important;
    text-align: center !important;
}

.quote-compensation-column {
    width: 20vw;
}

#catalog {
    font-weight: bold;
    font-size: 14px;
}

#catalog ul,
#catalog ul ul {
    display: none;
    list-style: none;
}

#catalog li {
    cursor: pointer;
    margin: 10px 0;
    list-style: none;
}

.catalog-static {
    display: flex;
    flex-flow: row wrap;
    gap: 0.4rem;
}

.catalog-static .catalog-item {
    display: inline-flex;
    padding: 0.4rem 0.6rem;
    background: #fff;
}

.solutions li {
    font-weight: normal !important;
    font-size: 14px;
}

.addons {
    list-style-type: none;
    padding: 0;
}

.cost-flag,
.cost-flag-min {
    height: 20px;
    width: 20px;
}

.catalog-quote-summary {
    list-style-type: none;
    padding: 0;
    border: 1px solid #ccc;
    padding: 20px 10px;
    border-radius: 5px;
    display: flex;
}

.summary-column {
    flex: 1;
}

.cost-data {
    margin-bottom: 10px;
}

.catalog-quote-summary li {
    padding: 10px 0;
}

.left-col-subtitle span {
    background: #fff;
    position: relative;
    z-index: 1;
    padding-right: 10px;
    font-size: 11px;
}

.catalog-btn:hover {
    background: antiquewhite;
    width: fit-content;
}

.rich-text-placeholder {
    background: #ddd;
    margin: 20px auto;
    height: 40vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
}

.cost-with-frequency {
    width: 100% !important;
}

.emphasis-block {
    background-color: rgb(185, 77, 185);
    width: fit-content;
    color: white;
    padding: 5px;
    font-style: italic;
}

.quote-deliverable-description {
    margin-bottom: 20px;
    font-weight: 500;
}

.pagination {
    display: flex;
    justify-content: end;
    margin-top: 20px;
    gap: 20px;
}

.pagination button:hover {
    background-color: #0056b3;
}

.textarea-height {
    height: 50vh;
}

textarea {
    width: 100%;
    height: 100px;
    font-family: 'Montserrat', sans-serif;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 1em;
}

.quote-edit-btn {
    display: flex;
    justify-content: end;
    margin: 10px 0;
}

.page-header {
    opacity: .6;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.toggle-input {
    display: none;
}

.toggle-label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 10px;
    transition: background-color 0.4s;
}

.toggle-label:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.4s;
}

.toggle-input:checked+.toggle-label {
    background-color: #2196F3;
}

.toggle-input:checked+.toggle-label:before {
    transform: translateX(20px);
}

.accordion {
    cursor: pointer;
    background-color: #f4f4f4;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    width: 20vw;
    font-size: 14px;
}

.accordion.active {
    background-color: #eaeaea;
}

.k-tabstrip {
    padding: 1rem 0.8rem;
}

.main-content .k-panelbar > li.k-state-default > .k-link, .main-content .k-tabstrip-items .k-state-default .k-link, .main-content .k-panelbar > li.k-state-default > .k-link:hover, .main-content .k-tabstrip-items .k-state-default .k-link:hover {
    padding:  10px 20px;
    background: #0D5587;
    color: #fff;
}
.main-content .k-panelbar > li.k-state-default > .k-link.k-state-selected, .main-content .k-panelbar > li > .k-state-selected, .main-content .k-state-selected > .k-link {
    background: #0D5587;
    color: #fff;
}
.main-content .k-content:not(:has(table)) {
    padding: 20px;
}

.panel {
    padding: 10px;
    background-color: #fafafa;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 10px;
    margin-right: 20px;
}

.panel p {
    margin: 0;
}

.accordion:hover {
    background-color: #eaeaea;
}

.title-1 {
    margin-top: 12px;
    text-align: center;
    text-transform: uppercase;
    font-size: 26px;
    letter-spacing: 1px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 16px 0;
    grid-gap: 22px;
}

.title-1:after,
.title-1:before {
    content: " ";
    display: block;
    border-bottom: 2px solid #ccc;
}

.title-2 {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5em;
    padding-bottom: 15px;
    position: relative;
}

.title-2:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 5px;
    width: 30%;
    background-color: #ddd;
}

.title-2:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    height: 1px;
    width: 95%;
    /* max-width: 255px; */
    background-color: #ccc;
}

.title-2-end {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5em;
    padding-bottom: 15px;
    position: relative;
    text-align: end;
}

.title-2-end:before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    height: 5px;
    width: 30%;
    background-color: #ddd;
}

.title-2-end:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 2px;
    height: 1px;
    width: 95%;
    background-color: #ccc;
}

.contact-title {
    font-weight: 600;
    font-size: 18px;
}


.flex {
    display: flex;
}

.gap-md {
    gap: 28px;
}

.input-min-width {
    min-width: fit-content;
}

.table-title {
    color: black !important;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="date"],
input[type="time"],
input[type="tel"],
input[type="datetime-local"],
input[type="file"],
select,
textarea {
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 1em;
}
input[type="file"] {
    padding: 7px;
}

/*
.contact-textarea {
    padding: 0 !important;
    border: none !important;}
*/

.project-details-column {
    flex: 1 1 auto;
}

.contact-sidebar {
    flex: 0 0 320px;
}
.contact-sidebar .contact-block {
    padding: 1.2rem;
    background: #fff;
}
.contact-sidebar .contact-block h3 {
    margin: 0 auto 0 0;
}
.contact-sidebar .contact-block .contact-control, .contact-sidebar .contact-block .contact-control:hover {
    margin: 0 4px;
    padding: 0;
    border: 0;
    background: #fff;
    color: #0D5587;
}
.contact-sidebar .contact-block .contact-control:has(.k-i-delete), .contact-sidebar .contact-block .contact-control:has(.k-i-delete):hover {
    color: #c11919;
}
.contact-sidebar .contact-position {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.8rem;
}
.contact-item {
    margin: 2px 0;
    font-size: 0.9rem;
    line-height: 1.4em;
}
.contact-sidebar .contact-block .contact-button {
    margin: 0.4rem 0 0;
}

.contact-email-textarea {
    height: 200px !important;
}

.contact-button-row {
    display: flex;
    flex-direction: column;
    padding: 0 80px 0 20px;
    min-width: 400px;
}

label.required::before, strong.required::before {
    display: inline-block;
    color: #c11919;
    content: "*";
    padding-right: 5px;
}

.readonly.formContainer label {
    border-bottom: 1px solid #ccc;
    margin-bottom: 0;
    padding-bottom: 5px;
}

input:read-only:not[type="file"],
textarea:read-only:not[type="file"] {
    border: 1px solid rgba(0,0,0,0.05);
    padding: 10px;
    background: rgba(0,0,0,0.05);
}

#custom-source-input {
    margin-top: 20px;
}

textarea:read-only {
    overflow: visible;
}

.bigNote {
    height: 300px;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 20px 0;
    padding: 0;
    font-weight: 500;
    line-height: 1em;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.5em;
}

h3, h4 {
    font-weight: 600;
}

.smallTitle {
    font-size: .8em;
}

.sideTitle,
.smallTitle {
    color: #999;
    text-transform: uppercase;
    padding: 0 0 10px 0;
    border-bottom: 1px solid #ccc;
}

.sideTitle.contacts {
    padding-top: 40px;
}

.sideLabel {
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: .8em;
}

.sideInput {
    display: block;
    padding: 10px !important;
    width: 100%;
    border-radius: 3px;
    -moz-border-radius: 3px;
    border: 1px solid #ccc !important;
    font-size: 1.25em !important;
    margin: 10px 0 10px 0;
}

.sideLink {
    margin-top: 6px;
}


.acctinfo {
    float: right;
}

.acctinfo a {
    display: block;
    padding: 16px 15px 16px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

/* Left Menu */
.leftMenu {
    min-width: 250px;
    background: #fff;
    border-right: 1px solid #ccc;
    padding: 20px;
    font-size: .8em;
}

.leftMenu .button {
    width: 100%;
}

/* Right Menu */
/* .rightMenu {min-width: 250px; background: #fff; border-left: 1px solid #ccc; padding: 20px; font-size: .8em;}
.rightMenu .button { width: 100%;}
*/

.content-wrapper {
    display: flex;
    height: 100%;
}

/*Main Content 3 Col*/
.mainContent {
    padding: 30px;
    background: rgb(255, 255, 255);
}

.mainContent-2col {
    padding: 30px;
    width: calc(100% - 250px);
    background: rgb(255, 255, 255);
}

.solutions-list-wrapper {
    height: calc(100vh - 50px);
    overflow: auto;
}

.solutions-content-wrapper {
    display: block !important;
    height: calc(100vh - 50px);
    overflow: auto;
}

/*Main Content 2 Col*/
.mainContent2col {
    padding: 20px;
    position: fixed;
    top: 50px;
    bottom: 0;
    left: 250px;
    right: 0;
    overflow: auto;
}

/*Main Content Full*/
.mainContentFull {
    padding: 20px;
    position: fixed;
    top: 50px;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: auto;
}

/*Search*/
.searchContainer input {
    background: none;
    border: 0;
    border-bottom: 1px solid #ccc;
    padding: 0;
    width: 100%;
    padding: 20px 0 20px 0;
    font-size: 16px;
    font-weight: 700;
}

.searchContainer input:focus {
    outline: none;
}



/*Pin List*/
.pinList {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pinList li a {
    display: block;
    padding: 5px;
    border-bottom: 1px solid #ccc;
    color: #229cd1;
    text-decoration: none;
}

.pinList li a:hover {
    background: #229cd1;
    color: #fff;
}

/*Breadcrumbs*/
.breadCrumb {
    font-size: 10px;
    padding-bottom: 20px;
}

.breadCrumb a {
    text-decoration: none;
    color: #229cd1
}

/* Toast */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    display: none;
    cursor: pointer;
}

/* #region modals */

.add-line-item-modal-window {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.add-line-item-modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50vw;
    height: 50vh;
    position: relative;
    overflow: auto;
}

.review-quote-modal-window {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.review-quote-modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50vw;
    height: 50vh;
    position: relative;
    overflow: auto;
}

.help-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.help-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    position: relative;
}

.overdue-leads-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.overdue-leads-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    position: relative;
}

.email-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.email-modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90vw;
    height: 90vh;
    position: relative;
    overflow: auto;
}

.create-quote-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.create-quote-modal-content {
    background-color: #fefefe;
    margin: 20vh auto;
    padding: 20px;
    border: 1px solid #888;
    width: 700px;
    height: 24vh;
    position: relative;
    overflow: auto;
}

.catalog-quote-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.catalog-quote-modal-content {
    background-color: #fefefe;
    margin: 5vh auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90vw;
    height: 90vh;
    position: relative;
    overflow: auto;
}

.catalog-quote-summary-modal-content {
    background-color: #fefefe;
    margin: 5vh auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90vw;
    height: 90vh;
    position: relative;
    overflow: auto;
}

.phone-modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.phone-modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90vw;
    height: 90vh;
    position: relative;
    overflow: auto;
}

.text-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.text-modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90vw;
    height: 90vh;
    position: relative;
    overflow: auto;
}

.upload-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.upload-modal-content {
    background-color: #fefefe;
    margin: 4% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60vw;
    height: 80vh;
    position: relative;
    overflow: auto;
}

.catalog-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.catalog-modal-content {
    background-color: #fefefe;
    margin: 4% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60vw;
    height: 80vh;
    position: relative;
    overflow: auto;
}

.message-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.message-modal-content {
    background-color: #fefefe;
    margin: 4% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60vw;
    height: 80vh;
    position: relative;
    overflow: auto;
}

.contact-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.email-to-from-section {
    display: flex;
    flex-direction: column;
}

.contact-modal-content {
    background-color: #fefefe;
    margin: 1%;
    padding: 0px 20px 1% 20px;
    border: 1px solid #888;
    border-radius: 10px;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.15),
        /* Bottom shadow */
        0 -4px 15px rgba(0, 0, 0, 0.1),
        /* Top shadow */
        4px 0 15px rgba(0, 0, 0, 0.1),
        /* Right shadow */
        -4px 0 15px rgba(0, 0, 0, 0.1);
    /* Left shadow */
    position: relative;
    overflow: auto;
}

.contact-interest-content {
    margin: 2%;
    border-radius: 10px;
    padding: 40px 0 10% 0;
}

.contact-tab-content {
    padding: 20px;
    margin: 0;
}

#contact-by-email {
    padding: 20px 20px 0 20px;
}

#contact-by-text {
    padding: 20px 20px 100px 20px;
}

#textTextArea {
    min-height: 300px;
    border: 1px solid black !important;
    padding: 10px !important;
    margin-bottom: 20px;
}

.phone-buttons {
    display: flex;
    padding: 30px;
    align-items: center;
    justify-content: center;
    gap: 3vw;
}

.phone-buttons button {
    height: 140px;
    width: 280px;
    border-radius: 8px;
    font-size: 32px;
    background-color: #5a9bd5;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.phone-buttons button:hover {
    background-color: #6aafe1;
    transform: translateY(-2px);
}

.phone-buttons button:active {
    transform: translateY(0);
}

.contact-action-buttons {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 30px;
}

.contact-action-buttons .button {
    height: 140px;
    border-radius: 8px;
    font-size: 24px;
    background-color: #5a9bd5;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.contact-action-buttons .button:hover {
    background-color: #6aafe1;
    transform: translateY(-2px);
}

.contact-action-buttons .button:active {
    transform: translateY(0);
}

.interest-advance {
    background-color: #2abf82 !important;
    color: white;
}

.interest-advance:hover {
    background-color: #28a745;
    transform: translateY(-2px);
}

#phoneTextArea {
    /* width: 95%; */
    overflow: auto;
    /* border: none; */
}

#phoneNotesTextArea {
    min-height: 270px;
}

.phone-notes {
    display: flex;
    align-items: center;
    justify-content: center;
}

.archive-contact-section {
    display: none;
}

.phone-content-answered {
    display: none;
    /* background: yellow; */
}

.phone-content-voicemail {
    display: none;
}

.send-contact-btn:hover {
    color: white !important;
}

.upload-form, .upload-from-bms {
    display: none;
}

.close,
.close-quote-modal,
.close-catalog-quote-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    padding: 0 10px;
    right: 10px;
    top: 5px;
}

.close-contact-modal {
    font-size: 48px !important;
    z-index: 1000;
}

.close-upload,
.close-catalog,
.close-contact,
.close-message {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: relative;
    top: -10px;
}

.close-catalog-quote-modal:hover,
.close-quote-modal:hover,
.close:hover,
.close:focus,
.close-contact:hover,
.close-contact:focus,
.close-upload:hover,
.close-upload:focus,
.close-catalog:hover,
.close-catalog:focus,
.close-message:hover,
.close-message:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/*Contact*/
.contactContainer {
    padding-bottom: 20px;
}

.contactMobile {
    margin-top: 10px;
}

/* #endregion */



/*TitleWindow*/
.k-window-titlebar {
    z-index: 9;
    height: auto !important;
    background: #151A36;
    color: #fff;
}

.k-window .k-window-content {
    padding: 20px !important;
}

/* .k-window {
margin: 0 auto;
z-index: 1000;
}

*/
.saveContainer {
    background: #f5f5f5;
    border-top: 1px solid #ccc;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
}

/*Form Container*/
.formContainer {
    margin-bottom: 20px;
}

.formContainer label {
    margin-bottom: 5px;
    display: block;
    font-size: .8em;
}

.contentContainer {
    margin-bottom: 14px;
}

.source-interest-and-assignment {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.interest-and-assignment {
    display: flex;
    flex-direction: column;
}

.help-button {
    background: #888;
    color: #fff;
    border-radius: 5px;
    -moz-border-radius: 5px;
    padding: 10px 30px;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    font-size: .8em;
    text-transform: uppercase;
}

.upload-toggle {
    display: flex;
    gap: 20px; 
    margin-bottom: 30px;
    border: none; 
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.toggle-button {
    padding: 10px 30px; 
    background: #f1f1f1;
    color: #333;
    text-align: center;
    cursor: pointer;
    border: 1px solid #ddd; 
    border-radius: 10px 10px 0 0; 
    transition: all 0.3s ease-in-out; 
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); 
    flex: 0 0 auto; 
}

.toggle-button:hover {
    background: #e0f4fa; 
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    transform: scale(1.01); 
}

.toggle-button.active:hover {
    background: #157e96; 
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.25); 
}

.toggle-button.active {
    background: #1a7a9e;
    color: white;
    font-weight: bold;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2); 
    border-color: #145b73; 
    padding: 14px 35px; 
}

.toggle-button:not(.active):hover {
    color: #1a7a9e; 
}

.upload-toggle > .toggle-button.active {
    margin: 0 -2px; 
}

.button:hover {
    background: #1a8fc2;
}

.fontSmaller {
    font-size: .8em;
}

#key-grid .key-item {
    content: '';
    width: 7px;
    height: 7px;
    background: #673ab7;
    border-radius: 50px;
    -moz-border-radius: 50px;
    margin-top: 3px;
    margin-right: 6px;
}

#key-grid .key-item-shared {
    content: '';
    width: 7px;
    height: 7px;
    background: #c11919;
    border-radius: 50px;
    -moz-border-radius: 50px;
    margin-top: 3px;
    margin-right: 6px;
}

.file-tree {
    font-family: Arial, sans-serif;
    font-size: 16px;
    display: flex;
    flex-direction: column;
}

.tree-root, .folder-content {
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: relative; /* For drawing connector lines */
}

/* Hierarchy Lines */
.tree-root .folder-content:before,
.folder-content .folder-content:before {
    content: "";
    position: absolute;
    top: 0;
    left: 10px;
    width: 1px;
    height: 100%;
    background-color: #ccc; /* Connector line color */
}

.folder-content > li:not(:last-child):after {
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 10px;
    height: 1px;
    background-color: #ccc; /* Horizontal line color */
}

.folder-content > li:last-child:before {
    content: "";
    position: absolute;
    top: 0;
    left: 10px;
    width: 1px;
    height: 50%;
    background-color: #ccc; /* Short vertical line for the last child */
}

/* Folder Rows */
.folder-header {
    display: flex;
    align-items: center;
    margin: 5px 40px; /* reduced margin for compact layout */
    padding: 5px 10px;
    border-radius: 6px;
    background-color: #f9f9f9; /* Default row background */
}

.file-label {
    margin-left: 40px;
}

.folder-header:nth-child(odd) {
    background-color: #f0f0f5; /* Slightly different color for odd rows */
}

.folder-label {
    margin-left: 10px;
    font-size: 16px;
    font-weight: bold;
}

.folder-label.selected {
    font-weight: bold;
    background-color: #d3e2ff;
    border: 1px solid #aac4ff;
    border-radius: 6px;
    padding: 4px 8px;
    color: #333;
}

/* Folder Content Indentation */
.folder-content {
    margin-left: 30px; /* Increased indentation for better distinction */
}

/* Collapse Button */
.folder-header .collapse-folder {
    margin-right: 10px;
    padding: 4px;
    cursor: pointer;
    font-size: 16px;
    border: none;
    background: none;
    color: #333;
}

.folder-header .collapse-folder:hover {
    color: #000;
}

/* Action Buttons */
.folder-header button {
    padding: 4px 8px;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: white;
}

.select-folder {
    background-color: #8860BB;
}

.select-folder:hover {
    background-color: #7049A3;
}

.add-folder,
.upload-file {
    background-color: #C47B94;
    margin-left: 5px;
}

.add-folder:hover,
.upload-file:hover {
    background-color: #A56179;
}

/* Delete Button (Folders and Files) */
.folder-header .delete-folder,
.file .delete-file {
    background-color: #F49075;
    margin-left: 5px;
    padding: 4px 8px;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: white;
}

.folder-header .delete-folder:hover,
.file .delete-file:hover {
    background-color: #D87760; /* Darker Peach */
}

/* Start Message */
.start-message {
    font-size: 20px;
    color: #555;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    text-align: center;
}


.action-buttons {
    margin-left: 15px;
}

.tab-content-item {
    height: calc(100vh - 136px);
}
.padding-bottom-10 {
    padding-bottom: 10px;
}


@media screen and (max-width: 767px) {
    table {
        display: grid;
        grid-template-columns: 1fr;
        /* Single-column layout for the table */
        gap: 10px;
        /* Space between rows */
        width: 100%;
    }

    table thead {
        display: none;
        /* Hide the table header */
    }

    table tr {
        display: grid;
        grid-template-columns: 1fr;
        /* Single-column layout for rows */
        color: white;
        /* Text color for contrast */
        padding: 10px;
        gap: 5px;
        /* Space between label and field */
    }

    table td {
        display: flex;
        justify-content: space-between;
        font-size: 13px;
        background-color: #f4f4f4;
        /* Optional: Change field background for readability */
        color: black;
        /* Optional: Field text color */
        padding: 8px;
        border-radius: 4px;
        /* Optional: Slight rounding of field corners */
    }

    /* Use the data-label attribute for the label */
    table td:before {
        content: attr(data-label);
        /* Display the label from data-label attribute */
        font-weight: bold;
        color: #333;
        /* Label color */
        margin-right: 10px;
        /* Space between label and field value */
    }

    .main-content {
        padding: 30px 10px;
    }

    .leads-filters {
        flex-direction: column;
    }
}



/* Modal animation */
@keyframes animatezoom {
    from {
        opacity: 0;
        transform: scale(0.5) translate(-50%, -50%);
    }

    to {
        opacity: 1;
        transform: scale(1) translate(-50%, -50%);
    }
}



@media (max-width: 820px) {

    .main-nav {
        display: none;
    }

    .account-drop-down {
        display: block;
    }

    .flex:has(.contact-sidebar) {
        flex-flow: column;
    }
        .contact-sidebar {
            flex: 1 0 100%;
        }

}


@media (max-width: 820px) and (min-width: 625px) {

    .row-reverse-tablet {
        flex-direction: row-reverse;
    }

    .flex:has(> .w-100-tablet) { flex-wrap: wrap; }
        .w-100-tablet { flex: 1 0 100%; width: 100%; }

}


@media (max-width: 624px) {

    .row-reverse-phone {
        flex-direction: row-reverse;
    }

    .flex:has(> .w-100-phone) { flex-wrap: wrap; }
        .w-100-phone { flex: 1 0 100%; width: 100%; }

    .contact-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .content-title {
        font-size: 1em;
    }

    .interest-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        grid-gap: 10px;
        margin-bottom: 20px;
        width: 100%;
    }

    header h1 {
        display: inline-block;
        padding: 5px 30px 5px 20px;
        margin: 0;
        font-size: 16px;
        font-weight: 300;
        line-height: 1;
        color: rgb(172, 227, 242);
    }

    .interest-wrap {
        width: 100%;
    }

    .interest-btn-wrap {
        flex-direction: column;
    }

    .overdue-leads-icon {
        top: -8px;
        left: 68px;
    }

    .submit-btn {
        width: 100%;
    }


    .login-bg {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow: auto;
        /*    background-image: linear-gradient(to right bottom, #ff512f, #f3602e, #e86c2f, #dd7634, #d27e3b, #d2883d, #d29140, #d29b44, #d9ab41, #ddbc3e, #dece3e, #dce040);
      */
        background-image: linear-gradient(to right, #845ec2, #965dc0, #a75dbe, #b75cbb, #c55cb7, #d55daf, #e25fa6, #ed639d, #f86c8f, #fe7982, #ff8778, #ff9671);
    }

    .login-container {
        max-width: 700px;
        width: 98%;
        margin: auto;
        padding: 10px;
        border: 1px solid #ccc;
        background: #fff;
        border-radius: 5px;
        -webkit-box-shadow: 0 0 100px 0 rgba(0, 0, 0, .1);
        box-shadow: 0 0 100px 0 rgba(0, 0, 0, .1);
        height: 90%;
    }

    .login-btn {
        display: block;
        text-decoration: none;
        text-align: center;
        padding: 10px 20px;
        background: #fff;
        border-radius: 3px;
        -moz-border-radius: 3px;
        border: 3px solid #3e7597;
        cursor: pointer;
        color: #3e7597;
        font-size: 1.2em;
        width: 100%;
    }

    .login-masthead {
        margin-bottom: 30px;
    }

    .login-masthead h1 {
        font-size: 1.4em;
    }

    .login-masthead img {
        margin-bottom: 70px;
    }

    .sipi-clear-after {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 50px;
    }

    .sipi-width50 {
        width: 100% !important;
    }

    #loginForm .form-title {
        text-align: center;
        margin-bottom: 40px;
    }


}