* {
    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);
    min-height: calc(100vh - 146px);
    height: 100%;
}

.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;
}

/* 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;
  }

  #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;
}

.items-center {
    align-items: center;
}

.items-end {
    align-items: flex-end;
}

.w-100 {
    width: 100%;
}

.w-50 {
    width: 50%
}

.w-25 {
    width: 25%;
}

.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;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.px-20 {
    padding-inline: 40px !important;
}

.no-pm > * {
    padding: 0 !important;
    margin: 0 !important;
}

.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;
  }

.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-table-title {
    opacity: .8;
    font-weight: 700;
    text-transform: uppercase;
}

.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-compensation-column {
    width: 20vw;
}

.cost-with-frequency {
    width: 100% !important;
}

.text-start {
    text-align: left;
    display: flex;
    border: none !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;
}


@media (min-width: 1024px) {
    /* .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    } */
}

@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%;
      }

}