.mortgageSim {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 30px 5%;
}

.mortgageSimTitle {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-bottom: 20px;
}

.mortgageSimIcon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mortgageSimIcon {
    width: 84px;
    height: 84px;
    padding-right: 40px;
}

.mortgageSimContainer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.mortgageSimInner {
    width: 50%;
    box-sizing: border-box;
    padding: 20px 0px;
}



.mortgageSimResults {
    width: 400px;
}

.mortgageSimInner, .mortgageSimResults {
    border: 1px solid black;
    border-radius: 26px;
}

.mortgageSimTitleText h2 {
    font-family: 'Myriad';
    color: black;
    font-weight: 900;
    font-size: 1.5em;
}

.mortgageSimTitleText p {
    font-family: 'Myriad';
    color: black;
    font-weight: 400;
    font-size: 0.9em;
}

.condition {
    width: 63%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

span.absoluteSymbol.absoluteSymbolSmall {
    font-size: 1em;
}

.mortSimTopRow {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 10%;
    box-sizing: border-box;
    padding-bottom: 20px;
}

.conditionInner input:checked + label {
    background-color: rgba(163, 205, 209, 0.39);
    border-color: rgba(163, 205, 209, 0.39);
}

.conditionInner input {
    display: none;
}

.conditionInner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.conditionInner label {
    padding: 9px 0px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border-radius: 8px;
    border: 1px solid black;
    font-family: 'Myriad';
    color: #1a6345;
    line-height: 100%;
    font-size: 1em;
    text-align:center;
    width:170px;
}

.location select#region {
    padding: 9px 0px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border: 1px solid black;
    font-family: 'Myriad';
    color: #1a6345;
    line-height: 100%;
    text-align: center;
    font-size: 1em;
    border-radius: 0;
}

.mortSimIcon {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%,-50%);
}

span.absoluteSymbol {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate(-50%,-50%);
    font-family: 'Myriad';
    font-weight: 500;
    font-size: 1.3em;
    margin: unset;
}

.mortSimIcon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mortSimIcon {
    width: 32px;
    height: 32px;
}

.mortSimCatText h2 {
    font-family: 'Myriad';
    margin: unset;
    font-size: 1.2em;
    color: black;
}


.mortSimCatText p {
    font-family: 'Myriad';
    margin: unset;
    font-size: 0.9em;
    color: black;
}

.mortgageLegalWarningIcon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mortgageLegalWarningIcon {
    width: 20px;
    height: 20px;
    padding-right: 9px;
}

.mortgageLegalWarning {
    display: flex;
    flex-direction: row;
    width: 80%;
    margin: 0 auto;
    align-items: center;
    justify-content: flex-start;
    padding-left: 20px;
    box-sizing: border-box;
    background-color: rgba(163, 205, 209, 0.39);
    border: 1px solid rgba(0,0,0,0.19);
    border-radius: 6px;
    margin-top: 20px;
}

.mortgageLegalWarning p {
    font-family: 'Myriad';
    line-height: 90%;
    color: black;
    font-size: 1em;
}

.mortSimCatInputs {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 30px;
}

.mortSimTopRow h2 { 
    font-family: 'Myriad';
    color: black;
    font-size: 0.9em;
    padding-left: 7px;
}

.mortgageRate .mortSimCatInputs, input#downPaymentInput, p.afterGovFeesPrice, .priceInputs.mortSimCatInputs, .mortSimCatInputs, input#bankFeesInput {
    width: 30%;
    justify-content: center;
    text-align: center;
}

.downPaymentInner {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.mortSimCatSepparator {
    height: 1px;
    width: 100%;
    background-color: #4d4d4d;
    opacity: 0.57;
}

.downPaymentRange input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: #a3c1b5;
  border: none;
  border-radius: 2px;
  outline: none;
}

.downPaymentRange input[type=range]::-webkit-slider-runnable-track {
  background: #a3c1b5;
  height: 4px;
  border-radius: 2px;
}

.downPaymentRange input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1a6345;
  margin-top: -7px; /* (18px - 4px) / 2 */
  cursor: pointer;
}

.downPaymentRange input[type=range]::-moz-range-track {
  background: #a3c1b5;
  height: 4px;
  border-radius: 2px;
  border: none;
}

.downPaymentRange input[type=range]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  background: #1a6345;
  cursor: pointer;
}

.downPaymentRange input[type=range]::-moz-range-progress {
  background: #1a6345;
  height: 4px;
}

.mortSimCat {
    display: flex;
    flex-direction: row;
    width: 90%;
    justify-content: space-between;
    position: relative;
    align-items: center;
    margin: 0 auto;
    padding: 0 5%;
    box-sizing: border-box;
    min-height: 70px;
}



.mortSimTopRow label, html .mortSimTopRow select {
    width: 180px;
}

.location {
    width: 33%;
}


.slider-track { position: relative; height: 4px; border-radius: 2px; background: #a3c1b5; cursor: pointer; }
.slider-fill { position: absolute; left: 0; top: 0; height: 100%; background: #1a6345; border-radius: 2px; pointer-events: none; }
.slider-thumb { position: absolute; top: 50%; width: 18px; height: 18px; background: #1a6345; border-radius: 50%; transform: translate(-50%, -50%); cursor: grab; }
.slider-thumb:active { cursor: grabbing; }
.slider-val { margin-top: 12px; font-size: 14px; color: var(--color-text-secondary); }

.mortSimCat * {
    font-family: 'Myriad';
}

p.afterGovFeesPrice {
    font-weight: 800;
}

input#yearsInput {
    width: 50px;
    border-radius: 4px;
}

.downPaymentRange {
    width: 98%;
}

.mortgageYears.mortSimCat {
    flex-direction: column;
    justify-content: center;
}

.slider-wrap {
    user-select: none;
    padding-top: 10px;
}

.mortSimCat input {
    text-align: center;
    height: 100%;
    font-size: 1em;
    line-height: 130%;
    font-family: 'Myriad';
    border: 1px solid rgba(77, 77, 77, 0.39);
    padding: 1px 2px;
    box-sizing:border-box;
}


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

input[type="number"] {
  -moz-appearance: textfield;
}


input#initialPrice {
    width: 150px;
}

input#downPaymentInput {
    width: 150px;
}

.inputPlus, .inputMinus {
    margin: unset;
    width: 40px;
    height: 100%;
    border: 1px solid rgba(77,77,77,0.39);
    padding: 1px 0px;
    background-color: rgba(163, 205, 209, 0.39);
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #4d4d4d;
    min-width: 40px;
    transition: all 0.2s ease-in-out;
    user-select: none;
}

.inputPlus:hover, .inputMinus:hover{
    background-color: rgba(163, 205, 209, 0.7);
    color:black
}

.inputMinus {
    border-right: unset;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

.inputPlus{
    border-left:unset;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}


.resultText{
    display:flex;
    flex-direction: column;
    justify-content: space-between;
}

.resultDecoration svg {
    width: 100%;
    height: 100%;
}

p.fullResultText {
    margin: auto 0;
}

.resultDecoration {
    width: 37%;
    height: 78%;
    margin: auto;
    margin-right: unset;
    padding-right: 6%;
}

.result {
    display: flex;
    flex-direction: row;
    height: 160px;
    width: 100%;
    justify-content: space-between;
    padding: 10px 5%;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(77,77,77,0.39);
    background-color: rgba(163, 205, 209, 0.15);
    border-radius: 26px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

p.fullResultText {
    margin: auto 0;
    color: #1a6345;
    font-family: 'Myriad';
    font-weight: 700;
    font-size: 3.5em;
    letter-spacing: 1px;
}

p.resultTopText {
    font-family: 'Myriad';
    color: black;
    font-size: 0.9em;
    font-weight: 500;
}

span.perMonthResult {
    font-size: 14px;
    padding-left: 10px;
    color: black;
}

.resultsSummaryItem {
    display: flex;
    justify-content: space-between;
    padding: 10px 5%;
}

.resultsSummary p {
    font-family: 'Myriad';
    color: black;
    margin: 6px 0;
    font-weight: 600;
}

.mortgageSimResults a {
    display: block;
    text-align: center;
    padding: 11px 0;
    border-bottom-left-radius: 23px;
    border-bottom-right-radius: 23px;
    cursor: pointer;
    background-color: rgba(163, 205, 209, 0.39);
    font-family: 'Myriad';
    line-height: 100%;
    font-weight: 700;
    transition: all 0.15s ease-in-out;
}

.resultsSummaryItem.resultsLastSummaryItem {
    margin-top: 40px;
    font-size: 1.2em;
}

.mortgageSimResults a:hover {
    background-color: rgba(163, 205, 209, 0.69);
}

.resultsSummary {
    padding: 12px 0px;
}

@media only screen and (max-width:1600px){
    .mortSimTopRow label, html .mortSimTopRow select {
    width: 120px;
}

.mortgageSimInner {
    width: 55%;
}

input#downPaymentInput, input#initialPrice {
    width: 100px;
}

.mortSimCatText h2 {
    font-size: 1.1em;
}

.mortSimCatText p {
    font-size: 0.8em;
}

.inputPlus, .inputMinus {
    width: 30px;
    min-width: 30px;
}

.mortgageSimIcon {
    width: 74px;
    height: 74px;
    padding-right: 30px;
}

}

@media only screen and (max-width:1000px){
.mortgageSimContainer {
    flex-direction: column;
    align-items: center;
}

.mortgageSimTitle {
    flex-direction: column;
}

.mortgageSimTitleText * {
    text-align: center;
}

.mortgageSimTitleText h2 {
    margin-bottom: 1px;
}

.mortgageSimTitle {
    padding-bottom: 10px;
}

.mortgageSimInner {
    width: 75%;
    margin-bottom: 50px;
}

.mortgageLegalWarning p {
    padding-right: 10%;
}

}

@media only screen and (max-width:800px){

    .mortSimCatText h2 {
    font-size: 0.9em;
}
.mortSimCatText p {
    font-size: 0.75em;
}

.location select#region {
    padding: 9px 10px;
}

    .mortgageSimInner {
    width: 100%;
    margin-bottom: 50px;
}

.mortgageSimResults {
    width: 100%;
}

.resultDecoration {
    width: 34%;
    height: 100%;
    margin: auto;
    margin-right: unset;
    padding-right: 6%;
}

.mortgageLegalWarningIcon {
    width: 20px;
    height: 20px;
    padding-right: 9px;
    min-width: 20px;
    min-height: 20px;
}


.mortgageLegalWarning p {
    font-size: 0.9em;
}

.mortSimTopRow {
    flex-direction: column;
    align-items: center;
}

.location, .condition {
    width: 100%;
}

.locationInner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;
}

.mortSimTopRow h2 {
    text-align: center;
}

.mortSimCat {
    flex-direction: column;
    min-height: 100px;
    justify-content: center;
}

.mortSimCatText * {
    text-align: center;
}

.mortSimCat {
    width: 85%;
}

input#bankFeesInput {
    width: 50px;
}

.mortgageRate.mortSimCat .mortSimCatText h2 {
    padding-bottom: 7px;
}

.downPaymentInner {
    align-items: flex-end;
    width: 90%;
}

.downPaymentRange {
    width: 88%;
}

.mortSimCatText p {
    padding-bottom: 7px;
}

p.afterGovFeesPrice {
    width: auto;
}

}