header {
  height: 50px;
  display: grid;
  grid-template-columns: repeat(3, auto) 1fr;
  align-items: center;
  background: #151a36 url(../images/glow-bg.jpg) no-repeat -20px -20px;
  padding: 0;
}

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);
}

header img {
  height: 30px;
  margin-left: 20px;
}

.mainNav {
  padding: 0;
}

.mainNav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mainNav ul li {
  display: inline-block;
  position: relative;
}

.mainNav ul li a {
  display: block;
  padding: 16px 20px 16px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.mainNav ul li a.active {
  background-color: rgba(34, 156, 209, 0.2);
}

.mainNav ul li:hover a {
  background-color: #229cd1;
  color: #fff;
}

.mainNav ul ul {
  position: absolute;
  display: block;
  z-index: 2;
  width: 200px;
  /*background: #0c1224;*/
  background: #229cd1;
  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;*/
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.mainNav ul li:hover ul {
  left: 0;
}

.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);
}

.account-drop-down {
  position: relative;
  justify-self: end;
}

#dropdown {
  display: none;
  position: absolute;
  top: 48px;
  background-color: #151a36;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  z-index: 3;
  transform: scale(0.9);
  transition: all 100ms ease-in-out;
}

/*#dropdown::before {
        content: "\25b4";
        position: absolute;
        z-index: -1;
        top: -20px;
        left: 3px;
        color: #fff;
        font-size: 32px;
      }*/
#dropdownBtn {
  background: none;
  border: none;
  margin-right: 10px;
  cursor: pointer;
}

#dropdownBtn span {
  display: inline-block;
  width: 4px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 4px;
  margin-right: 1px;
  transition: all ease-in-out 250ms;
}

#dropdownBtn:hover span {
  background-color: rgba(255, 255, 255, 1);
}

#dropdown a {
  color: #fff;
  text-align: left;
  font-size: 0.9em;
  padding: 12px 16px 12px 40px;
  text-decoration: none;
  display: block;
  width: 100%;
}

#dropdown a:hover {
  /*background-color: rgba(213,241,248,0.5);*/
  background-color: rgba(255, 255, 255, 0.1);
}

.my-account {
  background: url(../images/icon-account-wh.png) no-repeat 16px 15px;
  background-size: 15px;
}

.logout {
  background: url(../images/icon-log-out-wh.png) no-repeat 16px 15px;
  background-size: 15px;
}

.support {
  background: url(../images/icon-ticket-bl.png) no-repeat 16px 12px;
  background-size: 15px;
}

.billing {
  background: url(../images/icon-dollar-bl.png) no-repeat 16px 12px;
  background-size: 15px;
}

.spWelcome {
  display: inline-block;
  margin-right: 20px;
  padding: 5px 10px 6px 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  background: url(../images/user-account-wh.png) no-repeat 1px 1px;
  font-size: 0.9em;
  color: #fff;
}

.acctinfo {
  color: #fff;
  font-size: 14px;
  justify-self: end;
  margin-right: 20px;
}

.acctinfo a {
  display: block;
  padding: 16px 15px 16px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.acctinfo a:hover {
  background: #229cd1;
}

.sub-menu a {
  display: block;
}

.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-radius: 3px;
  padding: 10px 20px;
  cursor: pointer;
}

.upload-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ccc;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  opacity: 0.3;
}

.upload-icon img {
  width: 20px;
}

.btn-action-container {
  margin-top: 10px;
}

.content-right-title-section {
  padding: 60px 0 0 30px;
}

.marketing-examples {
  margin: 0;
  padding: 0;
}

.marketing-examples dt {
  font-size: 1.2em;
  margin: 0 0 5px;
}

.marketing-examples dd {
  margin: 0;
  padding-bottom: 15px;
}

.marketing-examples dd:last-child {
  margin-bottom: 15px;
}

.marketing-examples:last-child dd {
  border-bottom: none;
}

.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);
}

.upload-tabs {
  border-bottom: 1px solid #ccc;
}

.upload-tabs .template-button {
  border-radius:  5px 5px 0 0 !important;
}

.btn,
button {
  border: 1px solid #3e7597;
  border-radius: 3px;
  font-size: 1em;
  transition: all 150ms ease-in-out;
  cursor: pointer;
}

.btn-group--actions {
  margin-bottom: 20px;
}

.custom-file-upload {
  background-color: #229cd1;
  color: #fff;
  border-radius: 5px;
  font-size: 14px;
  padding: 10px;
  width: 140px;
  text-align: center;
  border: 1px solid #3e7597;
  border-radius: 3px;
  font-size: 1em;
  transition: all 150ms ease-in-out;
  cursor: pointer;
  font-weight: 700;
}

.custom-file-upload:hover {
  background-color: #e0e0e0;
}

#file-upload {
  display: none;
}

.action-delete,
.action-add,
.action-edit {
  padding: 5px 30px 5px 10px;
  position: relative;
  margin-right: 10px;
}

.action-delete span,
.action-add span,
.action-edit span {
  position: absolute;
  right: 5px;
  font-size: 18px;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 200, "GRAD" 0, "opsz" 24;
}

.action-edit {
  background-color: #3e7597;
  color: #fff;
}

.action-delete {
  background-color: rgba(255, 0, 0, 1);
  border: 1px solid red;
  color: #fff;
}

.action-delete:hover {
  background-color: rgba(255, 0, 0, 0.8);
  border: 1px solid red;
}

.btn:hover,
button:hover {
  background-color: #229cd1;
  color: #fff;
  border: 1px solid #229cd1;
}

/* Delete confirmation pop-up */
.delete-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border-radius: 10px;
  padding: 0 0 20px;
  z-index: 1000;
  text-align: center;
}

.delete-popup p {
  background-color: #ccc;
  margin: 0 0 20px;
  padding: 10px 20px;
  font-weight: 600;
  border: 1px solid #fff;
  border-radius: 9px 9px 0 0;
}

.delete-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.cancel {
  background-color: #fff;
  color: #3e7597;
  padding: 5px 20px;
  margin-right: 10px;
}

/* Styles for the modal */
.information-icon {
  cursor: pointer;
  fill: #229cd1;
  top: -4px;
  left: 126px;
  transform: rotate(180deg);
}

.section-information-icon {
  padding: 10px 0 10px 0;
  margin-top: 20px;
}

.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;
}

.modal-close {
  border: 1px solid #ccc;
  border-radius: 50%;
  text-align: center;
  font-size: 1.1em;
  line-height: 1;
  cursor: pointer;
  display: flex;
  width: 20px;
  height: 20px;
  margin-bottom: 10px;
  align-items: center;
  justify-content: center;
  transition: all 250ms ease;
}

.modal-close:hover {
  border: 1px solid #fff;
  color: #fff;
  background-color: #3e7597;
}

/* Styles for modal content */
.modal-outer::-webkit-scrollbar {
  width: 10px;
}

.modal-outer::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

.modal-outer::-webkit-scrollbar-thumb {
  background-color: #888;
}

.modal-outer {
  background-color: #fefefe;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 2px;
  border: 10px solid #fff;
  border-radius: 10px;
  width: 60%;
  max-width: 800px;
  /* Set a maximum width if needed */
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  -webkit-animation: animatezoom 0.4s;
  animation: animatezoom 0.4s;
}

.modal-content {
  padding: 10px;
}

/* Modal animation */
@keyframes animatezoom {
  from {
    opacity: 0;
    transform: scale(0.5) translate(-50%, -50%);
  }

  to {
    opacity: 1;
    transform: scale(1) translate(-50%, -50%);
  }
}

.cost-analysis-container {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.cost-col {
  border-radius: 3px;
}

.cost-col-title {
  grid-column: span 2;
}

.cost-col p,
.cost-col span {
  padding: 10px 20px;
}

.cost-col p {
  margin: 0;
  line-height: 1;
  font-weight: 600;
}

.cost-col:nth-child(1) p {
  margin-right: 50%;
}

.cost-col:nth-child(2) p,
.cost-col:nth-child(3) p {
  margin-right: 55%;
}

.cost-col--labor {
  padding: 20px;
  background-color: #e8f0fc;
  border: 1px solid #ccc;
}

.cost-col--inputs {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cost-col--input {
  padding: 5px;
}

.cost-col--labor h3 {
  font-weight: 600;
  margin-top: 0;
}

.cost-col--labor table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.cost-col--labor table tr td {
  padding: 10px 0;
}

.cost-col--labor table tr td:last-child {
  text-align: right;
}

.cost-col--labor table tr {
  border-bottom: 1px solid #ccc;
}

.cost-col--labor table tr:last-child {
  border-bottom: none;
}

.cost-col--labor select {
  width: 100%;
  padding: 10px;
}

.cost-col--row {
  border: 1px solid #ccc;
}

.cost-col--row span {
  display: block;
  background-color: #e8f0fc;
}

.cost-col.span-two {
  grid-column: span 2;
}

.cost-col--totals table {
  width: 100%;
  border-collapse: collapse;
}

.cost-col--totals table th,
.cost-col--totals table td {
  padding: 10px;
  border-right: 1px solid #fff;
}

.cost-col--totals table th {
  text-align: left;
}

.cost-col--totals table tr:nth-child(even) {
  background-color: #f1f1f1;
}

.cost-col--totals table input[type="text"] {
  width: 40px;
  text-align: center;
}

.cost-col--totals table input[type="text"],
.cost-col--totals table select {
  padding: 5px;
}

.cost-subtotals--row {
  border-top: 1px solid black;
}

.cost-col.span-three {
  grid-column: span 3;
  display: flex;
  justify-content: center;
}

.pricing-detail {
  margin: 20px 0;
}

.cost-table--summary,
.cost-table--details {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1px;
}

/*.cost-table--top {
    border: 1px solid rgba(34, 156, 209, 0.2);
  }*/
.cost-table--summary-header {
  background-color: #d1def6;
}

.cost-table--summary-header:first-child a {
  color: #151a36;
}

.cost-table--summary tr {
  border-bottom: 1px solid #fff;
}

.cost-table--summary tr:nth-child(even) {
  background-color: #f1f1f1;
}

.cost-table--summary td {
  vertical-align: middle;
}

.cost-table--summary h3 {
  display: inline-block;
  font-size: 1.2em;
  font-weight: 600;
  margin: 0;
}

.cost-table--summary h4 {
  font-size: 1.2em;
  margin: 0;
}

.cost-table--summary p:last-child {
  margin-bottom: 0;
}

.summary-totals {
  display: block;
  margin-bottom: 10px;
}

.cost-table--right {
  text-align: right;
  font-weight: 600;
  vertical-align: top !important;
}

.cost-table--details tr:not(:first-child):hover {
  background-color: #f5f5f5;
}

.cost-table--details td p:first-child {
  margin-top: 0;
}

.cost-table--details tr:last-child td {
  padding-bottom: 20px;
}

.cost-table--details tr:nth-child(1) {
  background: #e8f0fc;
  font-weight: 600;
  border-bottom: 1px solid #fff;
}

.cost-table--details tr:nth-child(1) td {
  vertical-align: middle;
}

.cost-table--details td {
  position: relative;
  padding: 10px 20px;
  vertical-align: top;
  border-right: 1px solid #fff;
}

.cost-submit {
  position: absolute;
  bottom: 20px;
  left: 20px;
}

.cost-hours-input {
  width: 60px;
  padding: 5px;
}

.cost-table--pad {
  padding: 10px 20px;
}

.cell-width--lg {
  width: 60%;
}

.cell-width--med {
  width: 30%;
}

.cell-width--sm {
  width: 10%;
}

.cost-table--top td {
  vertical-align: middle;
}

.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--delete,
.cost-table--add {
  float: right;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #3e7597;
  background-color: #fff;
  text-align: center;
  line-height: 1;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.cost-table--delete {
  margin-left: 10px;
}

.back-link {
  display: inline-block;
  background-color: #f8f8f8;
  padding: 5px 10px;
  margin: 0 0 20px;
  font-size: 0.9em;
  border-radius: 3px;
}

.back-link a {
  color: #3e7597;
  text-decoration: none;
}

.back-link a::before {
  content: "\290C";
  font-size: 1.2em;
  margin-right: 5px;
}

.cost-panel {
  display: none;
  overflow: hidden;
}

.cost-panel--content {
  display: flex;
  gap: 20px;
}

.cost-panel--content h3 {
  margin-top: 0;
}

.cost-panel--content div {
  flex: 1;
}

.cost-open-panel {
  position: relative;
  display: inline-block;
  background-color: transparent;
  color: #151a36;
  padding: 10px;
  margin: 20px 0;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 1.2em;
  cursor: pointer;
  transition: all 250ms ease;
}

.cost-open-panel span {
  position: relative;
}

.cost-open-panel span::after {
  content: url(../images/chevron-med.png);
  position: absolute;
  top: 0;
  right: -30px;
  display: block;
  width: 18px;
  height: 10px;
  transition: all 250ms ease;
}

.cost-open-panel.active span::after {
  transform: rotate(180deg) translateY(-10px);
}

.cost-open-panel:hover {
  border: 1px solid #777;
}

.cost-panel table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
}

.cost-panel table th,
.cost-panel table td {
  padding: 10px;
  border-right: 1px solid #fff;
}

.cost-panel table th {
  text-align: left;
}

.cost-panel table tr:nth-child(even) {
  background-color: #f1f1f1;
}

/* hide tinyMCE API warning */
.tox.tox-silver-sink.tox-tinymce-aux {
  display: none !important;
}