/*
Theme Name: Estate Engine
Description: Beast for Estate Planning Attorneys.
Version: 2.740
Author: Nicholas Blanton
*/

body {
	font-family: Avenir;
	margin:0px!important;
    overflow: hidden;	
}

body.ee-public-portal-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.ee-public-portal-header {
  width: 100%;
  box-sizing: border-box;
  flex: 0 0 auto;
  background: #fff;
  padding: 7px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.ee-public-portal-header a,
.ee-public-portal-header img {
  display: block;
}

.ee-public-portal-header img {
  width: min(250px, 70vw);
  height: auto;
  margin: 0 auto;
}

.ee-public-portal-footer {
  width: 100%;
  box-sizing: border-box;
  flex: 0 0 auto;
  margin-top: auto;
  padding: 20px;
  background: #000;
  color: #fff;
  text-align: center;
}

/* Pricing workspace */
.ee-pricing-workspace {
  max-width: 1180px;
  border: 1px solid #d7dee8;
  border-radius: 0 6px 6px 6px;
  background: #fff;
}
.ee-pricing-intro,
.ee-pricing-section,
.ee-pricing-confirm,
.ee-pricing-actions {
  padding: 18px 22px;
  border-bottom: 1px solid #e2e8f0;
}
.ee-pricing-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.ee-pricing-form + .ee-pricing-form { border-top: 8px solid #f1f5f9; }
.ee-pricing-workspace h2,
.ee-pricing-workspace h3,
.ee-pricing-workspace p { margin-top: 0; }
.ee-pricing-workspace h2 { text-align: left; font-size: 20px; }
.ee-pricing-section table { margin-top: 14px; }
.ee-pricing-section table th,
.ee-pricing-section table td { vertical-align: middle; text-align: left; }
.ee-pricing-section code { overflow-wrap: anywhere; }
.ee-money-input { display: inline-flex; align-items: center; gap: 6px; }
.ee-money-input input { width: 130px; }
.ee-one-time-prices { display: grid; gap: 0; border: 1px solid #e2e8f0; }
.ee-one-time-prices__header,
.ee-one-time-prices > label {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 150px minmax(260px, 1.5fr);
  align-items: center;
  gap: 18px;
  padding: 12px 14px;
  border-bottom: 1px solid #e2e8f0;
}
.ee-one-time-prices__header { background: #f6f7f8; font-weight: 700; }
.ee-one-time-prices > label:last-child { border-bottom: 0; }
.ee-one-time-prices__purpose { color: #64748b; }
.ee-pricing-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ee-pricing-plans article { border-top: 1px solid #d7dee8; padding-top: 14px; }
.ee-pricing-plans label { display: grid; gap: 5px; margin-top: 10px; font-weight: 600; }
.ee-pricing-plans input,
.ee-pricing-plans textarea { width: 100%; }
.ee-pricing-confirm { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ee-pricing-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-bottom: 0; }
.ee-pricing-actions p { flex-basis: 100%; margin: 2px 0 0; color: #64748b; font-size: 13px; }
.ee-maintenance-price-grid { max-width: 650px; }
.ee-maintenance-price-grid th:not(:first-child),
.ee-maintenance-price-grid td { text-align: center; }
.ee-existing-subscriptions { margin: 18px 0 0; padding: 0; border: 0; }
.ee-existing-subscriptions legend { margin-bottom: 8px; font-weight: 700; }
.ee-existing-subscriptions label { display: flex; align-items: flex-start; gap: 9px; max-width: 720px; padding: 9px 0; cursor: pointer; }
.ee-existing-subscriptions input { margin-top: 3px; }
.ee-existing-subscriptions label span { display: grid; gap: 2px; }
.ee-existing-subscriptions small { color: #64748b; font-size: 13px; }
.ee-price-codes { margin-top: 16px; border-top: 1px solid #e2e8f0; }
.ee-price-codes summary { cursor: pointer; padding: 14px 0; font-weight: 700; }
.ee-price-codes table { margin-top: 0; }
.ee-quick-charge { max-width: 1180px; margin: 0 0 20px; padding: 20px 22px; border: 1px solid #d7dee8; background: #fff; }
.ee-quick-charge h2,.ee-quick-charge h3 { text-align: left; }
.ee-quick-charge-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 20px; margin: 16px 0; }
.ee-quick-charge-grid label { display: grid; gap: 6px; font-weight: 600; }
.ee-quick-charge-grid input { width: 100%; }
.ee-quick-charge table { margin-top: 14px; }
.ee-quick-charge-modal { width:min(460px,calc(100vw - 32px)); padding:0; border:0; border-radius:6px; box-shadow:0 18px 60px rgba(15,23,42,.24); }
.ee-quick-charge-modal::backdrop { background:rgba(15,23,42,.45); }
.ee-quick-charge-modal form { display:grid; gap:16px; padding:22px; }
.ee-quick-charge-modal label { display:grid; gap:6px; font-weight:600; }
.ee-quick-charge-modal input { width:100%; min-height:40px; box-sizing:border-box; padding:8px 10px; font:inherit; }
.ee-quick-charge-modal__head,.ee-quick-charge-modal__actions { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.ee-quick-charge-modal__head h2 { margin:0; text-align:left; }
.ee-quick-charge-modal__actions { justify-content:flex-end; flex-wrap:wrap; margin-top:4px; }
.ee-quick-charge-modal__actions .button { width:auto; min-width:0; min-height:40px; margin:0; padding:7px 14px; }
.ee-quick-charge-close { border:0; background:transparent; font-size:26px; line-height:1; cursor:pointer; }
.ee-quick-charge-modal__actions .ee-quick-charge-close { border:1px solid #b8c0ca; background:#fff; color:#1d2327!important; font-size:14px; line-height:normal; }
.ee-quick-charge-recipient { display:flex; justify-content:space-between; gap:16px; padding:12px 14px; background:#f4f6f8; border:1px solid #d7dee8; }
.ee-quick-charge-recipient span { color:#64748b; overflow-wrap:anywhere; }
.ee-quick-charge-amount { position:relative; display:block; width:100%; min-height:0; border:0; background:transparent; font-weight:400; }
.ee-quick-charge-amount > span { position:absolute; z-index:1; top:50%; left:11px; padding:0; color:#3c434a; transform:translateY(-50%); pointer-events:none; }
.ee-quick-charge-amount input { width:100%!important; height:42px!important; min-height:42px!important; padding:8px 10px 8px 28px!important; border:1px solid #8c8f94!important; border-radius:0!important; outline:0; box-shadow:none!important; background:#fff; }
.ee-record-action-row { display:flex; align-items:center; flex-wrap:wrap; gap:8px; width:100%; }
.ee-contact-picker { position: relative; max-width: 760px; margin: 16px 0; }
.ee-contact-picker > label { display: grid; gap: 6px; font-weight: 600; }
.ee-contact-picker input { width: 100%; }
.ee-contact-picker__results { position: absolute; z-index: 20; top: 100%; left: 0; width: 100%; max-height: 300px; overflow-y: auto; border: 1px solid #cbd5e1; background: #fff; box-shadow: 0 8px 20px rgba(15,23,42,.12); }
.ee-contact-picker__option { display: grid; grid-template-columns: minmax(160px,1fr) minmax(200px,1.4fr) auto; gap: 12px; align-items: center; width: 100%; padding: 10px 12px; border: 0; border-bottom: 1px solid #e2e8f0; border-radius: 0; background: #fff !important; color: #0f172a !important; text-align: left; cursor: pointer; }
.ee-contact-picker__option:hover { background: #f1f5f9 !important; color: #0f172a !important; }
.ee-contact-picker__option span,.ee-contact-picker__option small { color: #64748b; }
.ee-contact-picker__loading { padding: 12px; color: #64748b; }
#ee-quick-contact-clear { margin-top: 8px; }
.ee-pricing-integration-link { padding: 16px 22px; border-top: 8px solid #f1f5f9; }
@media (max-width: 760px) {
  .ee-pricing-workspace { border-radius: 0; }
  .ee-pricing-intro,
  .ee-pricing-confirm { align-items: flex-start; flex-direction: column; }
  .ee-one-time-prices > label,
  .ee-one-time-prices__header,
  .ee-pricing-plans,
  .ee-quick-charge-grid,
  .ee-contact-picker__option { grid-template-columns: 1fr; }
}
.ee-public-payment { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: #f4f6f8; }
.ee-public-payment section { width: min(560px,100%); padding: 28px; border: 1px solid #d7dee8; background: #fff; }
.ee-public-payment h1 { margin-top: 0; }
.ee-public-payment dl { margin: 24px 0; border-top: 1px solid #e2e8f0; }
.ee-public-payment dl div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid #e2e8f0; }
.ee-public-payment dt { font-weight: 700; }.ee-public-payment dd { margin: 0; text-align: right; }
.ee-public-payment button { padding: 12px 20px; border: 0; background: var(--brand-color,#2271b1); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.ee-mp-access-block { padding: 22px; border: 1px solid #d7dee8; background: #fff; }
.ee-mp-access-block h2 { margin: 0 0 8px; text-align: left; font-size: 22px; }
.ee-mp-access-block p { margin: 0 0 16px; }
.ee-mp-access-block--warning { border-color: #e8b449; background: #fff8e8; }
.ee-mp-access-block--expired { border-color: #d7dee8; background: #f6f7f8; }
.ee-mp-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.adminMain {
	display:flex;
}

.main {
	padding: 30px;
	width: 100%;
	box-sizing: border-box;
	overflow-y: auto;
	height: 100vh;
    margin-left: 240px;
	transition: margin-left .2s ease;
}

.warning, .success {
	color:18px;
	font-style:italic;
}

a {
	color: var(--brand-color);
	text-decoration:none;
}

/* Matches wp-list-table widefat fixed striped */
.wp-list-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  background-color: #fff;
  border: 1px solid #ccd0d4;
  font-size: 15px;
}

.wp-list-table th,
.wp-list-table td {
  padding: 8px 10px;
  border: 1px solid #e1e1e1;
  text-align: left;
  vertical-align: middle;
}

.wp-list-table th {
  background-color: #f6f7f7;
  font-weight: 600;
  color: #23282d;
}

.wp-list-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.wp-list-table tr:hover {
  background-color: #f1f1f1;
}

table > tr:nth-child(odd) {
  background-color: #f9f9f9!important;
}



.wp-list-table td[colspan] {
  text-align: center;
  padding: 20px;
  background-color: #f9f9f9; /* match your striped even row color */
  border: 1px solid #e1e1e1; /* match your cell borders */
  font-style: italic;
  color: #555;
}


.lil-cta {
	margin-top: 10px;
    background-color: gray;
    color: white;
    padding: 10px;
    font-size: 18px;
}

.important {
	font-weight:600;
}

.reg-text {
	font-weight:400;
}

h2 {
    text-align: center;
    color: var(--brand-color);
}

/* Operational pages use left-aligned section headings by default. */
.adminMain .main h2,
.adminMain .main h3 {
    text-align: left;
    color: #111;
}

#portal {
    margin-bottom:40px;
}

.package-for {
    font-size: 20px;
    font-weight: 600;
}

.no-user {
    padding:20px;
    font-size:24px;
    text-align:center;
}

#sigpad1, #sigpad2, #sig1, #sig2 {
	background:white!important;
}

div.final-changes-form > ul > li > a {
	color: black;
}

div.final-changes-form > ul  {
	margin-bottom: 20px;
}

.question {
	font-weight: 600;
  font-size: 17px;
}

.file-list li {
    margin-bottom: 10px;
}

.file-list i {
    margin-right: 8px;
	color: var(--brand-color);
}

.file-list {
    list-style: none;
    padding-left: 0; 
}

div.final-changes-form > form > hr {
  margin: 15px 0px 15px;
}

.clearpad {
  background:black!important;
  margin-bottom: 10px;
}

#sigpad1, #sigpad2 {
	margin-top: -10px;
}

div.contract > form > fieldset {
	margin-top:25px;
}

.secure-plan-checkout, .lqai-upload, .drafting-message, .delivery-method-form, .final-changes-form, .contract, #execution-pay-wrapper, .execution-scheduled, .client-meeting-scheduled, .amendments-upload-form, .doc-review, .deed-upload-form, .tf-asset-upload-form, .tf-payment, .client-meeting-schedule, #maintenance-offer-wrapper, .delivery-block, .review-request, .doc-review-notes, .rightcolumn, .execution-schedule, .doc-review-scheduled {
    margin-bottom: 30px;
    background: #efefef;
    padding: 20px;
    border-radius:10px;
}

.form-img {
	padding: 0px 15px;
	margin-bottom: 20px;
}

.portal-left {
	flex: 1; 
	max-width: 400px; 	
	border-right: 1px solid #ccc; 
	padding-right: 20px;
	background-color:var(--brand-color);
	border-radius:10px;
	padding:15px;
}

#mail-fields label {
    padding-bottom:10px;
}

.doc-review label, .deed-upload-form label, .tf-asset-upload-form label {
	font-weight:600;
	padding-bottom:10px;
}

.amendments-upload-form  input[type=file], .doc-review input[type=file], .deed-upload-form input[type=file], .tf-asset-upload-form input[type=file] {
	margin: 10px 0px 20px;
}

div.contract > form > input[type=text] {
	margin: -10px 0px 10px 0px;
}

.contract-body h1,
.contract-body h2,
.contract-body h3,
.contract-body h4 {
	margin-top: 1.4em;
	margin-bottom: 0.5em;
}

.wrap {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 0px;
}

.portal-left {
    flex: 1;
    min-width: 250px;
}

.portal-right {
    flex: 2;
    min-width: 250px;
}

@media (max-width: 768px) {
    .wrap {
        flex-direction: column;
    }

    .portal-left,
    .portal-right {
        width: 100%;
    }
}

.form-wrapper {
  max-width: 1000px;
  margin: 20px auto;
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.6;
}

.legal-form label {
 /* display: block; */
  margin-bottom: 10px;
}

 input[type="text"] {
  font-size: 16px;	 
}

.legal-form input[type="text"] {
  width: 100%;
  max-width: 100%;
  border: 1px solid #999;
  padding: 0px;
  background-color: #fff;
  height: 28px;
  margin: 0px;
}

.inline-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 15px;
}

.inline-group label {
  flex: 1;
  min-width: 200px;
}

input[type="checkbox"] {
  margin: 0 5px 0 15px;
  transform: scale(1.2);
}

.children-section {
  display: flex;
  gap: 40px;
  margin-bottom: 20px;
}

.left-column,
.right-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.children-bottom-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.children-bottom-row label {
  flex: 1;
  min-width: 300px;
  margin-right: 30px;
}

.question-row, .inline-group {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  gap: 20px;
	align-items: center;
}

.question-row label {
  flex: 1;
}

.checkboxes {
  min-width: 100px;
  white-space: nowrap;
}

textarea {
  width: 100%;
  border: 1px solid #999;
  padding: 5px;
  background-color: #fff;
  resize: vertical;
  margin-top: 5px;
}

.two-column-grid {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}

.two-column-grid div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.designation-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.designation-table th,
.designation-table td {
  border: 1px solid #333;
  padding: 5px;
  text-align: left;
  vertical-align: middle;
}

.designation-table input[type="text"] {
  width: 100%;
  border: none;
  background-color: #fff;
  padding: 0px;
  height: 28px;
}

.centerLabel {
	text-align:center;
}

.subsubsub {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding-left: 0;
    margin: 15px 0 10px;
    gap: 10px;
    font-size: 13px;
}

.subsubsub li {
    display: inline;
}

.subsubsub a {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 8px;
    background: #e0e0e0;
    color: #2271b1;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.4;
}

.button-group {
    display: flex;
    gap: 20px;
}

.button-group .button {
    white-space: nowrap;
	margin-right:0px;
	padding: 8px 10px;
}


.sales-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
	  width:100%;
}

.sales-header .ee-detail-header-actions {
    margin-left: auto;
    justify-content: flex-end;
    flex: 0 0 auto;
    width: auto;
}

.subsubsub {
    display: block !important;
    width: 100% !important;
	  margin: 0px !important;
    padding: 0 !important;
    clear: both !important;
    float: none !important;
}


.adminTable {
	margin-top: -20px;	
}

.subsubsub li a {
    background: #e7e7e7;
    padding: 12px 10px;
	font-size:13px;
}

.subsubsub {
    margin: 8px 0 6px;
    padding: 0;
}

.subsubsub a.current, .subsubsub a {
    color: #333;
	border-radius: 10px 10px 0px 0px;
}

.subsubsub li a.current {
    background-color: var(--brand-color);
	color:white;
}

.subsubsub li {
padding-right: 5px;
}

.ee-workspace-tabs {
  margin: 8px 0 0 !important;
  border-bottom: 1px solid #dcdcde;
  white-space: nowrap;
  overflow-x: auto;
}

/* Keep the Content workspace stationary while switching between page templates. */
.ee-content-header {
  min-height: 44px;
  margin: 0 !important;
}

.ee-content-header + .ee-workspace-tabs {
  margin-top: 15px !important;
}

.ee-content-table-shell {
  width: 100%;
  margin-top: 0 !important;
  box-sizing: border-box;
}

.ee-content-table-shell > .wp-list-table,
.ee-content-table-shell > .scroll > .wp-list-table {
  margin-top: 0 !important;
}

.ee-content-table-shell .ee-content-title-link {
  color: var(--brand-color, #2271b1);
  font-weight: 600;
  text-decoration: none;
}

.ee-content-table-shell .ee-content-title-link:hover {
  text-decoration: underline;
}

.ee-workspace-tabs li {
  display: inline-block !important;
  padding-right: 5px;
}

.ee-workspace-tabs + .eems,
.ee-workspace-tabs + .wp-list-table,
.ee-workspace-tabs + .ee-lsa-card,
.ee-workspace-tabs + .ee-workspace-panel {
  margin-top: 0 !important;
}

.ee-workspace-panel {
  border: 1px solid #ccd0d4;
  border-top-left-radius: 0;
  background: #fff;
}

.ee-blog-list-panel > .wp-list-table {
  margin: 0;
  border: 0;
}

.ee-blog-list-panel > p,
.ee-blog-list-panel > .ee-blog-pagination {
  margin: 12px;
}

.button-primary {
	background-color: var(--brand-color);
    padding: 8px 10px;
    border-radius: 0;
    color: black!important;
    text-decoration: none!important;
	line-height: 22px;
}

.button-primary:hover { 
	background-color:black;
}

table td, table th {
  padding: 5px;
	text-align: left;
	vertical-align: middle;
}

/* Prevent long IDs/URLs from expanding detail columns. */
.wp-list-table td,
.wp-list-table th,
.wp-list-table td .field-value,
.wp-list-table td .editable-field,
.wp-list-table td .editable-field input,
.wp-list-table td .editable-field select {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  box-sizing: border-box;
}

.sales-header h1 {
	margin: 0px!important;
}

.adminBread {
	display: flex; 
	justify-content: space-between; 
	align-items: center; 
	width: 100%; 
	margin: 0px 0px -10px 0px;
}

.adminBreadLeft {
	flex: 1; 
	text-align: left;
}

.adminBreadRight {
	flex: 1; 
	text-align: right;
}

.button-group a {
	border-radius: 3px;
    color: white !important;
    padding-top: 8px;
}

.clientFiles {
  flex: 1;
	background: #fff;
	padding: 15px;
	border: 1px solid #ccc;
	border-radius: 8px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

/* Flex columns on detail pages should be shrinkable to avoid push-off behavior. */
.main .wrap > div[style*="display:flex"] > div {
  min-width: 0;
}

.clientFiles h2, #fulfillment-section h2 {
	color: black;
	font-size: 28px;
	text-align:left;
}

.clientFiles ul {
	    padding: 0px;
    list-style: none;
}

input[type=text], input[type=number] {
	margin-bottom: 10px;
}

input[type=file], input[type=date] {
	margin-bottom: 20px;
}

.form-label {
	font-weight:600;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}
.final-review-docs input[type="number"], #num_custom_docs {
	text-align: center;
	width: 22px;
    height: 22px;
    margin-right: 10px;	
	font-size: 16px;
}

.doc-to-add, #custom-doc-checkboxes > div > label > input[type=checkbox] {
	height: 22px;
    width: 22px;
}

.closing-docs > label > input, #custom-doc-checkboxes > div > label > input {
	margin: 5px 0px;
}

.closing-docs label, #custom-doc-checkboxes > div > label {
  display: flex;
  align-items: center;
  gap: 10px; /* spacing between checkbox and text */
  margin-bottom: 6px; /* optional spacing between rows */
}

#final-review-form {
	width:800px;
}

#final-review-form > h2, .docReviewNotesForm > h2, .final-review-h2 {
	text-align: left;
    color: black;
    font-size: 24px;
}



.docReviewNotesForm > p {
	margin-bottom:0px;
}

div.clientFiles > ul > li a {
	color:black;
	text-decoration:none;
}

.final-review-docs {
	display: flex; 
	flex-direction: column; 
	gap: 6px;
}

.wp-editor-container {
     margin: 0px 0px 15px;
}


.mce-toolbar .mce-listbox button, .mce-toolbar .mce-btn button {
    background-color: transparent;
}

.adminTable a {
    text-decoration: none;
}

.form-table {
  border-collapse: collapse;
  border: none;
  background: transparent;
  width: 100%;
}

.form-table th,
.form-table td {
  border: none !important;
  background: transparent !important;
  padding: 0.5em 1em;
  vertical-align: top;
}

.form-table tr {
  border-bottom: none;
}

.form-table th label {
  font-weight: 600;
}

.form-table input,
.form-table select,
.form-table textarea {
  width: 100%;
  max-width: 500px;
  margin-top: 0.25em;
}

#fulfillment-section .form-table {
  width: 100%;
  table-layout: fixed;
}

#fulfillment-section .form-table th {
  width: 25%;
  vertical-align: top;
  padding-right: 1rem;
}

#fulfillment-section .form-table td {
  width: 75%;
}

button,
input[type="submit"],
input[type="button"] {
  background-color: var(--brand-color);
  padding: 8px 10px;
  line-height: 22px;
  border-radius: 3px;
  color: #fff;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
}

button:hover, a.ctaButton:hover
input[type="submit"]:hover,
input[type="button"]:hover {
  background-color: black;
  color: white !important;
}

.sales-header select {
    font-size: 18px;
    padding: 5px;
}

.ctaButton, a.ctaButton {
	font-size:18px;
	padding: 10px 20px;
	background: var(--brand-color);
    color: white;
}

.wp-list-table {
	font-size:16px;
}

.clientFiles ul li {
    margin-bottom: 7px;
}

.form-img {
	max-width: 100%;
	padding:0px;
}

.sidebar {
  background-color: var(--brand-color);
  width: 240px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 30px 20px 30px;
  box-sizing: border-box;
  position: fixed;
  transition: width .2s ease, padding .2s ease;
}

.sidebar-collapse-toggle {
  position: absolute;
  top: 12px;
  right: -14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #d1d1d1;
  background: #fff !important;
  color: #111 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  padding: 0;
}

.sidebar-collapse-toggle:hover {
  background: #f3f3f3 !important;
  color: #111 !important;
}

.sidebar-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden; /* Prevent sidebar from scrolling beyond */
}

.sidebar-content {
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-footer {
  margin-top: 20px;
}

.nav-menu {
	list-style-type: none;
    font-size: 20px;
    font-weight: 400;
    line-height: 2.1;
    padding-left: 5px;
	margin-bottom:0px;
}

.nav-menu a {
	text-decoration:none;
	color:black;
	display: flex;
	align-items: center;
}

.nav-menu a i {
  margin-right: 12px;
  width: 20px;
  text-align: center;
  font-size: 18px;
}

.nav-menu a:hover {
  color: #595959;
}

body.ee-sidebar-collapsed .sidebar {
  width: 78px;
  padding-left: 10px;
  padding-right: 10px;
}

body.ee-sidebar-collapsed .main {
  margin-left: 78px;
}

body.ee-sidebar-collapsed .sidebar .logo img {
  max-width: 44px !important;
}

body.ee-sidebar-collapsed .sidebar .logo .logo-main {
  display: none;
}

body.ee-sidebar-collapsed .sidebar .logo .logo-favicon {
  display: block !important;
  margin: 0 auto;
}

body.ee-sidebar-collapsed .sidebar .wrap2 {
  display: none;
}

body.ee-sidebar-collapsed .sidebar .sidebar-search-item {
  display: block;
}

body:not(.ee-sidebar-collapsed) .sidebar .sidebar-search-item {
  display: none;
}

body.ee-sidebar-collapsed .sidebar .nav-menu a span {
  display: none;
}

body.ee-sidebar-collapsed .sidebar .nav-menu {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: normal;
}

body.ee-sidebar-collapsed .sidebar .nav-menu li {
  width: 100%;
  margin: 0 0 10px 0;
}

body.ee-sidebar-collapsed .sidebar .nav-menu a {
  width: 100%;
  justify-content: center;
  text-align: center;
  padding: 6px 0;
}

body.ee-sidebar-collapsed .sidebar .nav-menu a i {
  font-size: 24px;
  margin-right: 0 !important;
  width: auto;
}

.sidebar .ee-action-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  margin-left: 5px;
  border-radius: 10px;
  background: #d97706;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

th[align="center"], td[align="center"] {
  text-align: center;
}

textarea {
	font-size:16px;
}

#trust_funding, #tf_assets, #tf_cost {
	max-width:400px;
	font-size: 16px;
    padding: 4px;	
}

#settings-form, .form-table {
    background: #F6F7F7;
    padding: 25px;
    width: 700px;
}

.sa-hint {
	font-weight:400;
}

/* Mobile collapsible left column */
.portal-left-toggle{
  display:none; align-items:center; gap:8px; width:100%;
  font-size:16px; font-weight:600; cursor:pointer;
        background: transparent!important;
        color: black!important;
        border: none!important;
        padding: 0px!important;
        margin: 0px!important;	
}
.portal-left-toggle .chev { transition: transform .2s ease; }
.portal-left-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.portal-left-content{ display:block; } /* desktop default */
@media (max-width: 768px){
  .portal-left-toggle{ display:flex; margin-bottom:10px; }
  .portal-left-content.is-collapsed{ display:none; }
}

.calendar-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.calendar-tab {
    padding: 8px 15px;
    border: 1px solid #ccc;
    background: #c5c5c5;
    color: #000;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.calendar-tab.active {
	background: var(--brand-color);
    color: #fff;
    border-color: none;
}

/* SMS Filters (tabs) */
.ee-sms-block .ee-sms-filters{
  display:flex;
  gap:0;
  margin: 0px;
}

.ee-sms-block .ee-sms-filter{
  background-color:#f1f1f1;
  color:#333;
  border:1px solid #ddd;
  border-bottom:none;
  border-radius:0;
  margin:0;
  padding:8px 12px;
  line-height:1;
}

.ee-sms-block .button.ee-sms-filter:not(.is-active):hover{
  color:#9a9a9a!important;
}

/* first/last tab rounding */
.ee-sms-block .ee-sms-filter:first-child{
  border-top-left-radius:6px;
}
.ee-sms-block .ee-sms-filter:last-child{
  border-top-right-radius:6px;
}

/* active tab */
.ee-sms-block .ee-sms-filter.is-active{
  background-color: var(--brand-color, #2271b1);
  color:#fff;
  border-color: var(--brand-color, #2271b1);
}

button:hover, a.ctaButton:hover input[type="submit"]:hover, input[type="button"]:hover {
    background-color: black;
    color: white !important;
}

.ee-sms-block .sms-dir i{
  margin-right: 6px;
  opacity: .7;
}

.ee-note-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.ee-note-text {
  flex: 1;
}

.ee-note-delete-form {
  margin: 0;
}

.ee-note-delete-btn {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  cursor: pointer;
  color: #d32f2f; /* red default */
}

.ee-note-delete-btn:hover,
.ee-note-delete-btn:focus {
  background: transparent !important;
  box-shadow: none !important;
  color: #000 !important; /* icon only turns black */
}

.ee-trash-link{
    display:inline-flex;
    align-items:center;
    margin-left:6px;
    text-decoration:none !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    padding:0 !important;
    line-height:1;
  }
  .ee-trash-link i{
    color:#d32f2f;
    font-size:14px;
    vertical-align:middle;
    transition:color .12s ease;
  }
  .ee-trash-link:hover,
  .ee-trash-link:focus,
  .ee-trash-link:active{
    background:transparent !important;
    color:inherit !important;
    outline:none !important;
    box-shadow:none !important;
  }
  .ee-trash-link:hover i{
    color:#000 !important; /* ONLY icon goes black */
  }

/* One block around the selected tab content (like the table border on Fulfillment) */
.eeDashBlock{
  border: 1px solid #ccd0d4;
  background: #fff;
  padding: 16px;
  margin-top: -20px;
  width: 100%;
}

/* separators like WP admin tables */
.eeDashHr{
  border: 0;
  border-top: 1px solid #ccd0d4;
  margin: 16px 0;
}

/* make tables feel like your admin tables */
.eeDashBlock .adminTable{
  margin-top: 10px;
}

/* filter row styled like Fulfillment’s header filter form */
.eeDashFilterForm{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.eeDashFilterForm label{
  margin: 0;
  font-weight: 600;
}
.eeDashFilterForm .smallMeta{
  margin-left: 6px;
  color: #555;
}
.eeDashFilterForm input[type="date"]{
  height: 30px;
}
.final-review-doc-label {
  font-size: 16px;
}

.final-review-doc-text {
  line-height: 1.4;
}

.final-review-doc-open .dashicons {
  font-size: 16px;
  color: #2271b1; /* WP admin blue */
}

.final-review-doc-open:hover .dashicons {
  color: #135e96;
}

/* Click-to-call bridge links — used inline wherever a phone number is shown.
   Rendered as a <button> for a11y; CSS strips the button chrome so it reads as
   a clickable phone chip. !important on the states because theme buttons
   would otherwise flip the background to black on hover/focus. */
button.ee-voice-bridge-link,
.ee-voice-bridge-link {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  font: inherit !important;
  color: inherit !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: none !important;
  text-shadow: none !important;
  outline: none;
}
button.ee-voice-bridge-link:hover,
button.ee-voice-bridge-link:focus,
button.ee-voice-bridge-link:active,
.ee-voice-bridge-link:hover,
.ee-voice-bridge-link:focus,
.ee-voice-bridge-link:active {
  background: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
  text-decoration: underline !important;
}
.ee-voice-bridge-link:disabled { opacity: 0.6; cursor: wait; }
.ee-voice-bridge-link.ee-phone-ctc i { transition: transform .12s ease; }
.ee-voice-bridge-link.ee-phone-ctc:hover i { transform: scale(1.08); }

/* Clickable email addresses — same visual treatment as the phone bridge
   links so they read as inline clickable info, not standalone buttons. */
button.ee-meb-email-link,
.ee-meb-email-link {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  font: inherit !important;
  color: inherit !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: none !important;
  text-shadow: none !important;
  outline: none;
}
button.ee-meb-email-link:hover,
.ee-meb-email-link:hover {
  text-decoration: underline !important;
  background: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
}
.ee-meb-email-link:focus { outline: none; }
.ee-meb-email-link i { transition: transform .12s ease; }
.ee-meb-email-link:hover i { transform: scale(1.08); }

/* Dropdown menu shown when a click-to-call button is tapped. Compact
   popover — deliberately doesn't reuse the theme's big orange button style
   so it reads as an inline action, not another CTA. */
.ee-bridge-menu {
  position: absolute;
  z-index: 9999;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  padding: 2px;
  min-width: 150px;
  font: 12px/1 system-ui, -apple-system, sans-serif;
}
button.ee-bridge-menu-item,
.ee-bridge-menu-item {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  color: #0f172a !important;
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 10px !important;
  margin: 0 !important;
  cursor: pointer;
  text-align: left;
  border-radius: 4px;
  font: 12px/1 system-ui, -apple-system, sans-serif !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-weight: 500 !important;
  min-height: 0 !important;
  height: auto !important;
}
button.ee-bridge-menu-item:hover,
.ee-bridge-menu-item:hover {
  background: #f1f5f9 !important;
  color: var(--ee-brand-color, #0073aa) !important;
}
.ee-bridge-menu-item i {
  color: var(--ee-brand-color, #0073aa);
  width: 14px;
  text-align: center;
  font-size: 12px;
}

.ee-dashboard-deals-table .ee-dashboard-deals-package {
  white-space: normal;
  overflow-wrap: anywhere;
}

.ee-maintenance-portal .portal-right,
.ee-maintenance-portal #ee-mp-normal-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.ee-maintenance-portal .amendments-upload-form.sa-form {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.ee-maintenance-portal .amendments-upload-form.sa-form > .sa-related-amendments,
.ee-maintenance-portal .amendments-upload-form.sa-form > .sa-execution-benefit,
.ee-maintenance-portal .amendments-upload-form.sa-form > .sa-plan-actions {
  background: #efefef;
  border: 0;
  border-radius: 10px;
  padding: 20px;
  margin: 0;
}

.ee-maintenance-portal .amendments-upload-form.sa-form > .sa-plan-actions:empty {
  display: none;
}

@media (max-width: 768px) {
  .ee-maintenance-portal .portal-right,
  .ee-maintenance-portal #ee-mp-normal-content,
  .ee-maintenance-portal .amendments-upload-form.sa-form {
    gap: 12px;
  }

  .ee-maintenance-portal .amendments-upload-form.sa-form > .sa-related-amendments,
  .ee-maintenance-portal .amendments-upload-form.sa-form > .sa-execution-benefit,
  .ee-maintenance-portal .amendments-upload-form.sa-form > .sa-plan-actions {
    border-radius: 0;
    padding: 16px;
  }
}
