* {
    box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    background: #f5f5f5;
}

p {
    margin: 0;
    margin-bottom: 20px;
}

/* Header Styles */
header h1 {
    display: inline-block;
    padding: 5px 30px 5px 20px;
    margin: 0;
    /*border-right: 1px solid #424d76;*/
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
    color: rgb(172, 227, 242);
}

#main-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.account-drop-down {
    display: none;
}

.main-nav {
    padding: 0;
    display: block;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav ul li {
    display: inline-block;
    position: relative;
}

.main-nav ul li a {
    display: block;
    padding: 16px 20px 16px;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.main-nav ul li a.active {
    background-color: rgba(34, 156, 209, 0.2);
}

.main-nav ul li:hover a {
    background-color: #229cd1;
    color: #fff;
}

.main-nav ul ul {
    position: absolute;
    display: block;
    z-index: 2;
    width: 200px;
    background: #229cd1;
    margin-top: 0;
    left: -999999px;
}

.main-nav ul ul li {
    width: 100%;
    display: block;
}

.main-nav ul li:hover ul li a {
    font-size: 12px;
    /*background: #161d34;*/
}

.main-nav ul li:hover ul li a:hover {
    /*background: #229cd1;*/
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.main-nav ul li:hover ul {
    left: 0;
}

.main-nav-drop-down.end:hover>ul {
    left: -113px !important;
}


.main-nav-drop-down>a {
    padding: 16px 25px 16px 15px !important;
}

.main-nav-drop-down>a::after {
    /*content: "⏷";*/
    content: url("../images/caret-wh.png");
    display: block;
    width: 10px;
    height: 7px;
    position: absolute;
    top: 50%;
    transform: translateY(-7px);
    transform-origin: center center;
    right: 8px;
    color: #fff;
    font-size: 12px;
    transition: all ease 180ms;
}

.main-nav-drop-down:hover>a::after {
    transform: rotate(180deg) translateY(0px);
}


/* Content Styles */
.main-content {
    padding: 30px;
    background: rgb(255, 255, 255);
    height: 100%;
}

.quote-template {
    padding: 0 30px 30px 30px;
    background: rgb(255, 255, 255);
    /* min-height: calc(100vh - 146px); */
    height: 100%;
}

 .quote-tabs {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #cdcdcd;
    padding-top: 20px;
 }

 .quoteTab {
    border-top: #3e7597; 
    border-right: #3e7597; 
    border-bottom: none; 
    border-left: #3e7597; 
    min-height: 50px;
 }

.content-title {
    font-size: 1.2em;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}


/* 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: 120px;
}

.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.3em;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    font-weight: 600;
}

/* Styles for the modal */
.overdue-leads-icon {
    cursor: pointer;
    fill: red;
    top: -5px;
    left: 78px;
    transform: rotate(180deg);
}

/* Table Styles */
table {
    border: 1px solid #ccc;
    width: 100%;
    margin: 0;
    padding: 0;
    border-collapse: collapse;
    border-spacing: 0;
}

table tr {
    border: 1px solid #ddd;
    padding: 5px;
}

table th,
table td {
    padding: 10px;
    text-align: center;
}

table th {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Accordion Styles */
.accordion-item {
    margin-bottom: 10px;
}

.accordion-header {
    cursor: pointer;
}

.accordion-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s linear;
}

.accordion-content.active {
    display: block;
    max-height: 500px;
    /* Adjust as needed */
}

.toggle-icons {
    position: absolute;
    left: 273px;
}

.edit-icon {
    position: absolute;
    left: -25px;
}

#chevron-up {
    display: none;
}

/* Phone size media query */
@media screen and (max-width: 767px) {

    table {
        border: 0;
    }

    table thead {
        display: none;
    }

    table tr {
        margin-bottom: 10px;
        display: block;
    }

    table td {
        display: block;
        text-align: right;
        font-size: 13px;
    }

    table td:last-child {
        border-bottom: 0;
    }

    table td:before {
        content: attr(data-label);
        float: left;
        text-transform: uppercase;
        font-weight: bold;
    }

    .k-grid td {
        text-align: start;
        display: flex;
        justify-content: space-between;
        gap: 20px;
        border-left: none;
        border-right: none;
    }

    .leads-filters {
        flex-direction: column;
    }
}

/* Generic Styles */
.flex {
    display: flex;
}

.no-wrap {
    flex-wrap: nowrap;
}

.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-50 {
    width: 50%
}

.w-25 {
    width: 25%;
}

.h-90 {
    height: 90%;
}

.gap {
    gap: 20px;
}

.gap-lg {
    gap: 40px;
}

.gap-sm {
    gap: 14px;
}

.gap-xs {
    gap: 8px;
}

.self-end {
    align-self: flex-end;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.hidden {
    display: none;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.my-20 {
    margin: 20px 0;
}

.px-20 {
    padding-inline: 40px !important;
}

.no-pm>* {
    padding: 0 !important;
    margin: 0 !important;
}

.text-right {
    text-align: right;
}

.font-bold {
    font-weight: bold;
}

.overflow-auto {
    overflow: auto;
}

#cost {
    display: none;
}

.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

button:disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

.overdue {
    background: rgba(255, 0, 0, 0.8)red;
}

.incoming-interest:not(:first-child) {
    margin-top: 20px;
}

.quotes-page-wrapper {
    max-width: 1123px;
    margin: 0 auto;
}

.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;
}

.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;
}

.left-col-subtitle::after {
    content: "";
    position: absolute;
    top: 50%;
    margin-top: -1px;
    right: 0;
    left: 0;
    height: 1px;
    background: #ccc; 
}

.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;
}

.text-start {
    text-align: left;
    display: flex;
    border: none !important;
}

.text-center {
    text-align: center !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;
}

.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; 
  }
  
  .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;
  }
  

@media (max-width: 820px) {
    .main-nav {
        display: none;
    }

    .account-drop-down {
        display: block;
    }

}

@media (max-width: 624px) {
    .contact-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .content-title {
        font-size: 1em;
        padding-bottom: 10px;
        border-bottom: 1px solid #ccc;
    }

    .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%;
    }

}