﻿ * {
     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;
 }

 .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;
 }

 .justify-between {
     justify-content: space-between;
 }

 .justify-end {
     justify-content: flex-end;
 }

 .items-center {
     align-items: center;
 }


 @media screen and (min-width: 1024px) {
     .contact-grid {
         grid-template-columns: repeat(3, 1fr);
     }
 }

 @media screen and (max-width: 624px) {
     .contact-grid {
         grid-template-columns: repeat(1, 1fr);
     }
 }

 .w-100 {
     width: 100%;
 }

 .w-50 {
     width: 50%
 }

 .gap {
     gap: 20px;
 }

 .gap-lg {
     gap: 40px;
 }

 .gap-md {
     gap: 28px;
 }

 .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;
 }

 .disabled {
     opacity: 0.5;
     pointer-events: none;
     cursor: not-allowed;
 }

 .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=datetime-local],
 select {
     font-family: 'Montserrat', sans-serif;
     width: 100%;
     padding: 10px;
     border: 1px solid #ccc;
     font-size: 1em;
 }

 textarea {
     width: 100%;
     height: 100px;
     font-family: 'Montserrat', sans-serif;
     border: 1px solid #ccc;
     padding: 10px;
     font-size: 1em;
 }

 /* .contact-textarea {
    padding: 0 !important;
     border: none !important; 
 } */

 .contact-email-textarea {
     height: clamp(100px, 35vh, 350px) !important;
 }

 .contact-button-row {
     display: flex;
     flex-direction: column;
     padding: 0 80px 0 20px;
     min-width: 400px;
 }

 label.required:before {
     display: inline-block;
     color: red;
     content: "*";
     padding-right: 5px;
 }

 .readonly.formContainer label {
     border-bottom: 1px solid #ccc;
     margin-bottom: 0;
     padding-bottom: 5px;
 }

 input:read-only,
 textarea:read-only {
     border: 0;
     padding: 10px 0;
     background: none;
 }

 #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;
     line-height: 1em;
 }

 h1 {
     font-size: 2em;
 }

 h2 {
     font-size: 1.5em;
 }

 .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;
 }

 /*** Main Header ***/
 /* header { height: 50px; background:#161d34; padding: 0; position:fixed; width: 100%; z-index:1;}
    header img { height: 40px; width: auto; position: absolute; top: 5px; left: 10px;}

.mainNav { float:left; padding: 0 0 0 70px;}
    .mainNav ul { list-style:none; margin: 0; padding: 0;}
        .mainNav ul li { float:left; position: relative;}
            .mainNav ul li a { display:block; padding: 16px 15px 16px; font-weight: 700; color:#fff; text-decoration:none; font-size: 14px;}
                .mainNav ul li:hover a { background:#229cd1; color:#fff;}

        .mainNav ul ul { position: absolute;    width: 200px;    background: #0c1224; margin-top: 0; left: -999999px;}
            .mainNav ul ul li { width: 100%; display:block;}
                .mainNav ul li:hover ul li a { font-size: 12px; background:#161d34}
                .mainNav ul li:hover ul li a:hover {background:#229cd1; color:#fff;}

        .mainNav ul li:hover ul { left: -1px;} */



 .acctinfo {
     float: right;
 }

 .acctinfo a {
     display: block;
     padding: 16px 15px 16px;
     font-weight: 700;
     color: #fff;
     text-decoration: none;
     font-size: 14px;
 }

 .acctinfo a:hover {
     background: #229cd1;
 }

 /* 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);
 }

 /*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;
 }

 /*Data Grid*/
 .dataGridContainer .k-grid {
     border: 0 !important;
 }

 .dataGridContainer div.k-grid-header,
 .dataGridContainer div.k-grid-header:hover {
     background: none !important;
 }

 .dataGridContainer .k-grid-header .k-header,
 .dataGridContainer .k-grid-header:hover .k-header:hover {
     background: none !important;
     text-transform: uppercase;
     font-weight: 700 !important;
     border-left: 0 !important;
     padding: 10px 0 !important;
     font-size: .8em;
 }

 .dataGridContainer .k-grid-header tr {
     background: none !important;
 }

 .dataGridContainer .k-grid-header-wrap {
     border: 0 !important;
 }

 .dataGridContainer .k-grid .k-pager-wrap {
     border: 1px solid #ccc !important;
 }

 .dataGridContainer tbody td a {
     font-weight: 700;
     color: #229cd1;
     text-decoration: none;
 }

 .dataGridContainer tbody tr:hover {
     background: #def5ff !important;
 }

 .dataGridContainer .k-alt {
     background: #f1fbff;
 }

 .dataGridContainer tr.overdue {
     background-color: rgba(255, 0, 0, 0.5);
     /* Change the background color as needed */
 }

 .dataGridContainer * {
     -webkit-box-sizing: content-box !important;
     box-sizing: content-box !important;
 }

 .dataGridContainer * input {
     box-sizing: border-box !important;
     -moz-box-sizing: border-box !important;
 }

 .dataGridContainer .k-grid {
     background: none !important;
 }

 .dataGridContainer .k-grid-content {
     background: #fff;
 }

 /*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;
 }


 /*Tabstrip */
 .k-tabstrip-wrapper {
     padding: 60px 0 0 30px;
     background-image: linear-gradient(to right, #845ec2, #965dc0, #a75dbe, #b75cbb, #c55cb7, #d55daf, #e25fa6, #ed639d, #f86c8f, #fe7982, #ff8778, #ff9671);
     ;
 }

 .tabs a {
     color: #fff;
     text-decoration: none;
     display: inline-block;
     position: relative;
     padding: 10px 15px;
     border-radius: 3px;
     -moz-border-radius: 3px;
 }

 #tabstrip {
     border: 0 !important;
     background: none;
     box-shadow: none !important;
 }

 .k-tabstrip-items {
     padding: 0 !important;
     display: flex;
 }

 .k-link {
     padding: 0 !important;
     color: #f5f5f5;
 }

 .k-link.tab {
     color: #f5f5f5 !important;
 }

 .k-link th {
     padding: 0 !important;
     color: black !important;
 }

 .k-tabstrip>.k-content {
     margin: 0 !important;
     border: 1px solid #ccc !important;
     padding: 20px !important;
 }

 #tabstrip .k-item {
     text-decoration: none;
     position: relative;
     padding: 10px 15px;
     transition: all 150ms ease-in-out;
     background: transparent !important;
     border: none !important;
     color: #fff;
     display: inline-block;
     position: relative;
     border-radius: 3px;
     -moz-border-radius: 3px;
 }

 #tabstrip .k-item.k-state-active span {
     background: #fff !important;
     color: #151a36 !important;
     font-weight: 300;
     border: none !important;
 }

 #tabstrip .k-item.k-state-active a {
     background: #fff !important;
     color: #151a36 !important;
     font-weight: 300;
     border: none !important;
 }

 #tabstrip .k-item.k-state-active {
     background: #fff !important;
     color: #151a36;
     font-weight: 300;
     padding: 10px 15px !important;
 }

 /*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;
 }

 /* CSS to style the modal */
 .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;
 }

 .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;
 }

 .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: 20vh;
     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);
 }

 .contact-modal-content {
     background-color: #fefefe;
     margin: 2%;
     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;7
     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;
 }

 .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 {
     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;
 }


 /*TitleWindow*/
 .k-window-titlebar {
     height: auto !important;
     z-index: 9;
 }

 .k-window .k-window-content {
     padding: 20px !important;
 }

 .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: 20px;
 }

 .source-interest-and-assignment {
     display: flex;
     justify-content: space-between;
     width: 100%;
     gap: 20px;
 }

 .interest-and-assignment {
     display: flex;
     flex-direction: column;
 }

 .button {
     background: #229cd1;
     color: #fff;
     border-radius: 5px;
     -moz-border-radius: 5px;
     padding: 10px;
     text-align: center;
     display: inline-block;
     text-decoration: none;
     font-weight: 700;
     font-size: .8em;
     text-transform: uppercase;
 }

 .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;
 }

 .template-button.active {
     background: #1a7a9e;
 }

 .button:hover {
     background: #1a8fc2;
 }

 .fontSmaller {
     font-size: .8em;
 }

 .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) {
     padding: 0 10px;
 }

 .width33:nth-child(3) {
     padding: 0 0 0 10px;
 }

 .width25 {
     width: 25%;
     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;
 }