.cost-calculator-container {
  /* Colors */
  --royal-purple: #48206e;
  --Brand-Royal-Purple: #48206e;
  --Brand-Cream: #f0eae0;
  --Brand-Violet: #7c45ee;
  --Digital-Light-Grey: #f5f5f5;
  --Brand-Sage: #8fda97;
  --Brand-Teal: #54c6d3;
  --Brand-Gold: #ac852e;
  --Brand-White: #ffffff;
  --Brand-Fog: #d7cdbf;

  --gold: #ac852e;
  --violet: #7c45ee;
  --brand-yellow: #ffdc00;
  --brand-coral: #f699dd;
  --brand-teal: #54c6d3;
  --brand-sage: #8fda97;
  --brand-cream: #f0eae0;
  --brand-fog: #d7cdbf;
  --fog: #d7cdbf;
  --cream: #f0eae0;
  --white: #ffffff;

  overflow-x: auto;
  padding: 3em 0;
  position: relative;
}

/* Delete  if need tooltips */
/* .tooltip-content {
  display: none;
} */
.tooltip-content {
    transition: all 0.3s
ease;
    opacity: 0;
    transform: translate(0%, 15%);
    position: absolute;
    z-index: -1;
    padding: .75em 5%;
    width: calc(100% - 1em);
    max-width: 400px;
    top: 100%;
    left: 0.5em;
    border: 3px solid var(--Brand-Royal-Purple);
    color: #fff;
    background-color: var(--Brand-Royal-Purple);
}
.page_content .cost-calculator-container table tbody tr:first-child{
    background-color: transparent;
}

.cost-calculator-container input,
.cost-calculator-container select,
.cost-calculator-container textarea {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0.5em 1em;
  line-height: inherit;
  outline: none;
  /* color: #464646; */
  /* background-color: #ececec; */
  border: none;
  vertical-align: middle;
  font-size: 18px;
  border-radius: 0;
  box-shadow: inset 0 0 0 1px #d3d3d3;
}

@media (max-width: 1181px) {
  .cost-calculator-container {
    margin-top: 1em;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
  }

  .cost-calculator-container:before {
    content: "\25C0  \00a0 Slide left / right\00a0  \25B6";
    position: absolute;
    top: 0.5em;
    right: 0;
    left: 0;
    z-index: 2;
    color: var(--Brand-Royal-Purple);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.2em;
    text-align: center;
  }
}

.cost-calculator-table {
  min-width: 745px;
  font-size: 0.8em;
  border-collapse: initial;
}

.cost-calculator-table input,
.cost-calculator-table select {
  width: 100%;
  padding: 0.5em;
  text-align: center;
  box-shadow: none !important;
  transition: background-color 0.6s ease;
}

.cost-calculator-table input:not([disabled]):focus,
.cost-calculator-table input:not([disabled]):hover {
  background-color: var(--white);
  box-shadow: inset 0 0 0 2px var(--Brand-Royal-Purple) !important;
}

.cost-calculator-table .cc-custom-select:focus,
.cost-calculator-table .cc-custom-select:hover {
  background-color: var(--white);
  box-shadow: inset 0 0 0 2px var(--Brand-Royal-Purple) !important;
}

.cost-calculator-table .cc-custom-select:focus:after,
.cost-calculator-table .cc-custom-select:hover:after {
  border-color: var(--Brand-Royal-Purple);
}

.cost-calculator-table td {
  text-align: center;
}

.page_content table.cost-calculator-table tbody td a {
  text-transform: none;
  padding: 0;
  font-size: 18px;
}

.cost-calculator-table tr td:first-child {
  min-width: 220px;
  max-width: 270px;
  text-align: right;
  padding: 0.5em 1em 0.5em 1em;
  font-weight: bold;
  background-color: transparent;
  line-height: 1.1;
}

.cost-calculator-table thead {
  font-size: 1.1em;
}

.cost-calculator-table thead th {
  font-weight: normal;
  text-align: center;
}

.cost-calculator-table tbody tr {
  transition: background-color 0.4s ease;
}

.cost-calculator-table tbody tr td {
  background-color: var(--Digital-Light-Grey);
  border-top: .25em solid var(--white);
  border-bottom: .25em solid var(--white);
}
/* .cost-calculator-table tbody tr.total {
  border-top: 5px solid var(--Brand-Cream);
} */

.cost-calculator-table tbody .cc-custom-select {
  background-color: transparent;
}

.cost-calculator-table tbody .divider-row td:first-child {
  text-align: left;
  font-size: 1.5em;
  font-weight: bold;
  font-family: "OptimaLTPro-Roman", "Tahoma", "Arial", sans-serif;
  color: var(--Brand-Royal-Purple);
  padding: 0 0.25em;
  line-height: 1.1;
}

.cost-calculator-table tbody .divider-row td {
  background-color: transparent;
  border-top: 1em solid var(--white);
}

/* .cost-calculator-table tbody tr:not(.divider-row):hover {
    background-color: #464646
} */

.cost-calculator-table tbody tr:not(.divider-row):hover td {
  box-shadow: inset 0 0 0 1px var(--white);
}

/* .cost-calculator-table tbody tr:not(.divider-row):hover td:first-child {
    color: var(--white)
} */

/* .cost-calculator-table tbody tr:not(.divider-row):hover td:first-child a {
  color: var(--white);
  border-bottom-color: var(--white);
} */

/* .cost-calculator-table
  tbody
  tr:not(.divider-row):hover
  td:first-child
  .tooltip-trigger {
  border-color: var(--white);
  color: var(--white);
} */

.cost-calculator-table tfoot tr {
  background-color: var(--Brand-Cream);
  border-top: 2.5em solid var(--white);
  font-weight: bold;
}

.cost-calculator-table tfoot td:first-child {
  padding: 0.5em 1em 0.5em 1em;
}

.cost-calculator-table td .tooltip {
  display: inline-block;
  margin-left: 0.5em;
  margin-right: -0.5em;
}

.cost-calculator-table td .tooltip-trigger:empty {
  opacity: 0;
  visibility: hidden;
}

.cost-calculator-table td .tooltip-content {
  text-align: left;
  font-weight: normal;
  min-width: 330px;
  padding: 0.5em 0.75em;
  line-height: 1.4;
}

.cost-calculator-table tr.theme-row-highlight td {
  background-color: var(--Brand-Royal-Purple);
  color: var(--white);
}

.cost-calculator-table tr.theme-row-highlight td input,
.cost-calculator-table tr.theme-row-highlight td select {
  background-color: var(--Brand-Royal-Purple);
  color: var(--white);
}

.cost-calculator-table tr.theme-row-highlight td input:focus,
.cost-calculator-table tr.theme-row-highlight td input:hover,
.cost-calculator-table tr.theme-row-highlight td select:focus,
.cost-calculator-table tr.theme-row-highlight td select:hover {
  color: #464646;
}

.cost-calculator-table tr.theme-row-highlight td input:-moz-placeholder,
.cost-calculator-table tr.theme-row-highlight td textarea:-moz-placeholder {
  color: #d3d3d3;
}

.cost-calculator-table tr.theme-row-highlight td input:-ms-input-placeholder,
.cost-calculator-table
  tr.theme-row-highlight
  td
  textarea:-ms-input-placeholder {
  color: #d3d3d3;
}

.cost-calculator-table
  tr.theme-row-highlight
  td
  input::-webkit-input-placeholder,
.cost-calculator-table
  tr.theme-row-highlight
  td
  textarea::-webkit-input-placeholder {
  color: #d3d3d3;
}

.cost-calculator-table tr.theme-row-highlight td:first-child {
  background-color: transparent;
}

@media (min-width: 48em) {
  .cost-calculator-table {
    font-size: 0.9em;
  }
}

@media (min-width: 61.25em) {
  .cost-calculator-table {
    font-size: 1em;
  }
}

.cost-calculator-container .cc-custom-select {
  overflow: hidden;
  min-height: 40px;
  position: relative;
  cursor: pointer;
  background-color: #ececec;
  background-image: none;
}

.cost-calculator-container .cc-custom-select select,
.cost-calculator-container .hide-input,
.cost-calculator-container .tick-box input {
  -webkit-appearance: none;
  -ms-appearance: none;
  -moz-appearance: none;
  background-color: transparent;
  cursor: pointer;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 2;
  left: 0;
}

.cost-calculator-container .cc-custom-select select {
  flex-basis: auto;
  position: relative;
  min-height: 40px;
  align-self: center;
  padding-left: 25px;
  padding-right: 60px;
}

@media (max-width: 25em) {
  .cost-calculator-container .cc-custom-select select {
    font-size: 0.85em;
  }
}

.cost-calculator-container .cc-custom-select select::-ms-expand {
  display: none;
}

.cost-calculator-container .cc-custom-select:after {
  content: "";
  position: absolute;
  right: 9%;
  top: -0.5em;
  bottom: 0;
  margin: auto;
  z-index: 1;
  width: 30px;
  height: 100%;
  width: 16px;
  height: 16px;
  border-right: 2px solid #464646;
  border-bottom: 2px solid #464646;
  transform: rotate(45deg);
  pointer-events: none;
}

.cost-calculator-container .cc-custom-select.inset {
  padding: 0;
  background-color: #dfdfdf;
}

.cost-calculator-container .cc-custom-select {
  display: flex;
  flex-flow: row wrap;
  max-width: 100%;
}

.calculator-buttons{
  text-align: right;
}
.calculator-buttons .morelink{
  margin-left: 1em;
}
.btn-purple{
  background-color: var(--Brand-Royal-Purple);
  color: var(--white);
}

.tooltip-trigger {
    border: 1px solid var(--Brand-Royal-Purple);
    color: var(--Brand-Royal-Purple);
    width: 1.35em;
    height: 1.35em;
    line-height: 1.35;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    font-weight: bold;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: background-color 0.5s ease;
}
.cost-tooltip.show .tooltip-trigger {
    background-color: var(--Brand-Royal-Purple);
    color: #fff;
    border-color: var(--Brand-Royal-Purple);
}

.cost-tooltip.show .tooltip-content {
    opacity: 1;
    transform: translate(0%, 5%);
    z-index: 100;
    box-shadow: 1px 2px 2px #000
}
.cost-calculator-table td .cost-tooltip {
    display: inline-block;
    margin-left: .5em;
    margin-right: -.5em;
}
.cost-tooltip {
    position: relative;
}
@media (min-width: 48em) and (min-device-width: 1025px) {
    .tooltip-trigger:hover~.tooltip-content {
        opacity: 1;
        transform: translate(0%, 5%);
        z-index: 100;
        box-shadow: 1px 2px 2px #000;
    }
}
.cost-calculator-table td .tooltip-content {
  text-align: left;
  font-weight: normal;
  min-width: 330px;
  padding: .5em .75em;
  line-height: 1.4;
}


.print-header img{
  display: none;
}
.print-header img{
  width: auto;
}
@media print {
  .main-container, .basic-page .columnsblock{
    margin-top: 0 !important;
  }
  footer, .sidebar, body header.d-xl-block{
    display: none !important;
  }
  .main-column{
    width: 100% !important;
  }
  .calculator-buttons{
    display: none !important;
  }
  .col-lg-8 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .cost-calculator-table{
    border-spacing: 0;
    border-collapse: collapse;
  }
  .cost-calculator-table tbody tr td,
  .cost-calculator-table tfoot tr td {
    border: 1px solid black;
  }
  .cost-calculator-table tbody .divider-row td{
    border-top: 0 none;
    padding-top: 1em;
  }
  .cost-calculator-table tbody .divider-row td:first-child{
    padding: 1em 0.25em 0 0.25em;
  }
  .cost-calculator-table tfoot tr{
    border-top: 0 !important;
  }
  .print-header > img.tagline {
    height: 43px;
    width: 212px;
    border-left: 1px solid #c4c4c4;
    padding-left: 10px;
    margin-left: 4px;
    margin-top: 6px;
    display: block;
  }
  .print-header > img.logo {
    height: 79px;
    width: 174px;
    display: block;
  }
  .cost-calculator-container:before{
    content: none;
  }
  .cost-calculator-table tr td:first-child {
    padding: 0.25em .5em 0.25em .5em !important;
}
}
