.accordion {
  width: 100%;
}

.accordion-item {
  border: 1px solid #ccc;
  border-radius: 5px;  
  margin-bottom: 3.5rem;
}

.accordion-header {
  background-color: #f1f1f1;
  padding: 10px;
  cursor: pointer;
}

.accordion-content {
  display: none;
  padding: 10px 20px;
}

.open .accordion-content {
  display: block;
}

.calc-hero {
  background: url('https://www.quadrent.com.au/hubfs/Quadrent%20Green%20Lease%20Background-1.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  padding: 3rem 2rem 1rem;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  margin: 2rem 0 5rem;
}

.calc-hero h1,
.calc-hero p {
  color: #fff;
}

.calculator-container p {
  font-weight: 400;
}

.calc-box {
  border: 1px solid #DBDCDD;
  padding: 1.25rem 1rem;
  margin-bottom: 2rem;
  margin-top: 0.75rem;
  border-radius: 6px;
}

.calc-box-title {
  background: #00AC3E;
  color: #fff;
  position: relative;
  top: -20px;
  margin-left: 1rem;
  width: 100%;
  padding: 5px 20px;
  max-width: 300px;
}

.calc-box-title:after {
  content: " ";
  position: absolute;
  display: block;
  width: 15%;
  height: 100%;
  top: 0;
  right: 0;
  z-index: 0;
  background: #00AC3E;
  transform-origin: bottom left;
  -ms-transform: skew(-30deg, 0deg);
  -webkit-transform: skew(-30deg, 0deg);
  transform: skew(-30deg, 0deg);
}

.calc-box-col-title {
  width: 35%;
  position: absolute;
  top: 0;
}

.calc-box-col-title:after {
  width: 25%;
}

.calc-box-title-col-blue,
.calc-box-title-col-blue:after {
  background: #181F71;
}

.calc-box-title h4 {
  color: #fff;
  padding-bottom: 0 !important;
}

.quad-title-grn {
  color: #00AC3E;
  font-weight: 700;
  line-height: 1.2;
  font-size: 1rem;
  margin-left: 1.5rem;
}

.sum-title {
  margin-left: 0;
}

.calc-inline-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.calc-inline-left {
  width: 40%;
  padding-right: 10rem;
}

.calc-inline-right {
  width: 60%;
}

.lease-vs-buy-notes ol {
  margin-bottom: 0;
}

.lease-vs-buy-notes ol li {
  margin-bottom: 1rem;
}

.lease-vs-buy-notes ol li:last-child {
  margin-bottom: 0;
}

.calculator-mobile-warning {
  padding: 50px 0;
}

table {
  width: 100%;
}

.calculator-table {}

th, td {
  border: none;
  padding: 2px 8px;
  font-weight: 500;
  font-size: 16px;
  text-align: left;
  color: #000;
}


th {
  padding-top: 12px;
  padding-bottom: 12px;
  position: relative;

  /*background-color: #4CAF50;
  color: white;*/

}


.bold {
  font-weight: bold;
}

.bold input {
  font-weight: bold;
  color: #000;
}

h5.bold {
  font-weight: bold;
  color: #0D1363;
}

.bold td {
  font-weight: bold;
  color: #000;
}

.bold.green-res td,
.bold.green-res input {
  color: #00AC3E;
}

input[readonly] {
  border: none;
  outline: none;
}
input {
  text-align: left;	
}
input[readonly]#monthly-payments {
  border-bottom: 1px solid #00AC3E;
  width: fit-content !important;
}
.spacer td {
  height: 30px;
}

.total td:nth-of-type(2):before, 
.total td:nth-of-type(3):before {
  content:'';
  position:relative;
  display:grid;
  top:50%;
  height:1px;
  width: 100%;
  background:#000;
  left:50%;
  z-index:1;
  transform:translateX(-50%);
  -webkit-transform:translateX(-50%);
}

/*	.table-wrapper {
padding: 30px;
box-shadow: 2px 2px 8px #eee;
}*/

.amortisation-table {
  min-height: 300px;
  margin-bottom: 30px;
  margin-top: 5rem;
}

.amortisation-table table td {
  padding: 2px 8px;
  width: 10%;
}

.amortisation-table table .h-spacer {
  width: 60px;
}

#buy-price {
  text-align: left;
}

table#amortisation-header {
  width: auto;
}

#amortisation-header td {
  text-align: left;
}

.amortisation-table table td:before {
  content '$';
}

table.calculator-table tr td:first-child {
  text-align: left;
}

table.input-table tr td:first-child {
  text-align: left;
}


table input.user-input {
  border: 1px solid #E3E6EC;
  padding-right: 10px;
  border-radius: 6px;
  padding-left: 8px;  
}

table select {
  border: 1px solid #E3E6EC;
  padding-right: 10px;
  padding-left: 8px;
  border-radius: 6px;
  height: 32px;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;  
  background-image: url("data:image/svg+xml;utf8,<svg fill='grey' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position-x: 98%;
  background-position-y: 5px;  
}

table.colcalc {
  border-spacing: 30px 0;
  border-collapse: separate;
}

table.colcalc td:first-child {
  width: 25%;
}

table.colcalc td:nth-child(2),
table.colcalc td:nth-child(3) {
  width: 35%;
  border-left: 1px solid #E3E6EC;
  border-right: 1px solid #E3E6EC;
  padding: 10px 20px;
  background: #fff;
  box-shadow: 2px 5px 5px rgba(0, 0, 0, 0.3);
}

table.colcalc td:nth-child(3),
table.colcalc td:nth-child(3) input[type="text"] {
  background: #FBFCFF;
}

table.colcalc tr.top-table td {
  padding-top: 2rem;
}

table.colcalc tr.top-table td:nth-of-type(2), 
table.colcalc tr.top-table td:nth-of-type(3) {
  border-top: 1px solid #E3E6EC;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;    
}

table.colcalc tr.bottom-table td:nth-of-type(2), 
table.colcalc tr.bottom-table td:nth-of-type(3) {
  border-bottom: 1px solid #E3E6EC;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;  
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.lease-v-buy th {
  font-weight: bold;
  font-size: 18px;
  text-transform: uppercase;
}

input.negative {
  color: red;
}

#wacc {
  position: relative;
}

#wacc:after {
  position: absolute;
  content: '%'
}

.amortisation-table table thead tr th {
  font-weight: bold;
  color: #0D1363;
  border-bottom: 1px solid #000;
}

.g-table {
  display: grid;
  grid-template-columns: 280px 1fr 1fr;
  gap: 0 30px;
}

.g-cell {
    padding: 10px 20px;
    box-sizing: border-box;
}

.g-row {
  display: contents;
}

.g-row .g-cell:nth-child(2),
.g-row .g-cell:nth-child(3) {
    border: none; /* Remove individual borders for inner cells */
    border-left: 1px solid #E3E6EC;
    border-right: 1px solid #E3E6EC;
    padding: 10px 20px;
    box-shadow: 2px 5px 5px rgba(0, 0, 0, 0.3);  
}

.g-cell:nth-child(2) {
  border-left: 1px solid #000; /* Add left border for the second column */
  background: #fff;
}

.g-cell:nth-child(3) {
  border-right: 1px solid #000; /* Add right border for the third column */
  background: #FBFCFF;
}

.g-row:nth-child(2) .g-cell:nth-child(2),
.g-row:nth-child(2) .g-cell:nth-child(3) {
  border-top: 1px solid #E3E6EC; /* Add top border for the first row */
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;  
}

.g-row:last-child .g-cell:nth-child(2),
.g-row:last-child .g-cell:nth-child(3) {
  border-bottom: 1px solid #E3E6EC; /* Add bottom border for the last row */
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;  
}

.g-row:nth-child(1) .lease-label {
  text-align: left;
  font-weight: bold;
  font-size: 18px;
  color: #fff;
  background: #00AC3E;
  text-transform: uppercase;
}

.g-row:nth-child(1) .buy-label {
  text-align: left;
  font-weight: bold;
  font-size: 18px;
  color: #fff;
  background: #181F71;
  text-transform: uppercase;
}

.g-no-tag.g-row:nth-child(1) .lease-label {
  background: #fff;
  color: #00AC3E;
  margin-left: 25px;  
}

.g-no-tag.g-row:nth-child(1) .buy-label {
  background: #fff;
  color: #181F71;
  margin-left: 25px;
}

.g-row:nth-child(1) .g-cell:nth-child(2),
.g-row:nth-child(1) .g-cell:nth-child(3) {
  border: none;
  box-shadow: none;
  top: 18px;
  margin-left: 8px;
  width: 35%;
  padding: 5px 20px;
}

.g-row:nth-child(2) .g-cell {
  padding-top: 2rem;
}

.g-row:nth-child(2).g-no-title .g-cell {
  padding-top: 1rem;
}

.g-row:last-child .g-cell {
  padding-bottom: 1rem;
}

.g-cell.calc-box-title:after {
  width: 25%;
}

.buy-label.g-cell:nth-child(3).calc-box-title:after {
  background: #181F71;
}

.g-row > div {
  font-weight: 500;
  font-size: 16px;
  text-align: left;
  color: #000;
}

.g-row > div:first-child {
  text-align: left;
}

.total-val:before {
  content: '';
  position: relative;
  display: grid;
  top: 0;
  height: 1px;
  width: 100%;
  background: #000;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}

.comparison-tool-heading {
  font-size: 32px;
  text-transform: uppercase;
}

.g-row.bold > div {
  font-weight: bold;
  color: #000;
}

.g-row.bold.green-res > div {
  color: #00AC3E;
}

.amorisation-summary {
  margin-bottom: 50px;
}

#amortisation-header td:first-child {
  padding-left: 0;
}


#asset-value:before {
  content: '$'
}

.lease-vs-buy-notes {
  margin: 50px 0 30px;
  font-size: 16px;
  color: #000;
  font-weight: 500;
  line-height: normal;
}

.enter-your-information {
  background-color: red;
  display: inline-block;
  padding-bottom: 5px!important;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 5px;
  line-height: normal;
  color: #FFF;
  margin-bottom: 20px;
  margin-left: 5px;
}

.currency-input {
  position: relative;
}

.currency-input > span {
  position: absolute;
  left: 15px;
  color: #FFF;
  font-weight: 500;
  top: 6px;
}

.percentage-input {
  position: relative;
}

.percentage-input > span {
  position: absolute;
  right: 15px;
  font-weight: 500;
  top: 3px;
}

.percentage-input > input.user-input {
  padding-right: 22px;
}

@media (max-width: 825px){
  .calc-inline-left {
    padding-right: 0;
  }
  table.colcalc {
    border-collapse: collapse;
  }
  .calc-box-col-title,
  .g-row:nth-child(1) .g-cell:nth-child(2), 
  .g-row:nth-child(1) .g-cell:nth-child(3) {
    width: 80%;
  }
  .calc-box-title.calc-box-col-title {
    margin-left: 0;
  }
  .g-table {
    grid-template-columns: 150px 1fr 1fr;
  }
	.lease-vs-buy-notes ol {padding-left: 18px;}
	.g-row > div {
		line-height: 1.4;
		padding-top: 5px;
		padding-bottom: 5px;
	}
	.amortisation-table {
		height: 380px;
		overflow: scroll;
	}
	.amortisation-table table thead tr th {
		font-size: 14px;
		padding-left: 5px;
		padding-right: 5px;
	}
	.amortisation-table table td {
		font-size: 14px;
		padding-left: 5px;
		padding-right: 5px;
	}
	.amortisation-table table td:first-child {width: 5%;}
	.amortisation-table table td:nth-child(6) {width: 2%;}
	.sm-hide-td {display: none!important;}
}
@media (max-width: 580px){
	.xs-hide-td {display: none!important;}
  
  .calc-inline-left, 
  .calc-inline-right {
    width: 100%;
    padding-right: 0;
  } 
  .quad-title-grn {
    margin-left: 0;
  }
  .g-table {
    grid-template-columns: 0.85fr 1fr 1fr;
    gap: 0 10px;
  }
  .g-row > div:first-child {
    padding-left: 0;
  }
  table.colcalc td:nth-child(2), 
  table.colcalc td:nth-child(3) {
    padding: 10px 10px;
  }
  .calc-box-title:after {
    width: 10%;
  }
}
  
  
  .download {
    /* Typography */
/*     font-family: 'Roboto', sans-serif; */
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.25px;

    /* Sizing and spacing */
    padding: 8px 16px;
    height: 36px;
    
    /* Border and shape */
    border: none;
    border-radius: 4px;
    box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);

    /* Color (assuming a primary color) */
    background-color: #00AC3E; /* This is just an example primary color. Adjust accordingly. */
    color: white;

    /* Interaction */
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s, box-shadow 0.3s;

    /* Ensure text remains centered */
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.download:active {
    /* Pressed state: Adjust box shadow to give a "pressed" appearance */
    box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);
}

.green-btn {
  background: #00AC3E;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.25px;
  text-decoration: none;
  padding: 8px 16px;
  height: 36px;
  border: solid 2px #00AC3E;
  border-radius: 4px;  
  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  outline: none;
  transition: background-color 0.3s, box-shadow 0.3s;
  display: inline-flex;
  justify-content: center;
  align-items: center;  
}

.green-btn:hover {
  background: #fff;
  color: #00AC3E;
  text-decoration: none;
}

.btn-wrapper {
  text-align: center;
}

.anchor {
  display: block;
  position: relative;
  top: -100px;
  visibility: hidden;
}

.top-wrapper {
  display: flex;
  width: 99.3%;
  justify-content: space-between;
  align-items: center;
 }