.color-palette {
  float: none !important;
  margin: 0px !important;
  padding: 10px !important;
}

.input-dropdown {
  border: 1px solid #111;
  background: white;
  width: 120px;
  padding: 5px;
  font-size: 16px;
  border: 1px solid #ccc;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url('images/dropdownArrow.png') 90% / 15% no-repeat white;
}

.tooltip {
  width: 350px;
  margin-left: -25px;
}
.tooltip::before {
  left: 27px;
}
.tooltip-icon {
  margin-left: 25px;
}

@-moz-document url-prefix() {
  .tooltip:after {
    font-size: 80% !important;
  }
}

.block--currency-calculator .primary-button {
  text-decoration: none;
  color: white;
  outline: none;
}

/** START - SLIDER CSS **/
.range-slider .input-range {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  background: #1B75BB;
  outline: none;
  -moz-outline: none;
  margin: 10px 20px 20px 0px;
}
.range-slider .input-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #C8CACF;
  cursor: pointer;
  -webkit-transition: background .15s ease-in-out;
  transition: background .15s ease-in-out;
  border: 1px solid #3E5564;
}
.range-slider .input-range::-webkit-slider-thumb:hover {
  background: #C8CACF;
}
.range-slider .input-range:active::-webkit-slider-thumb {
  background: #C8CACF;
}
.range-slider .input-range::-moz-range-thumb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #C8CACF;
  cursor: pointer;
  -webkit-transition: background .15s ease-in-out;
  transition: background .15s ease-in-out;
  border: 1px solid #3E5564;
}
.range-slider .input-range::-moz-range-thumb:hover {
  background: #C8CACF;
}
.range-slider .input-range:active::-moz-range-thumb {
  background: #C8CACF;
}
.range-slider .input-range::-moz-focus-outer {
  border: 0;
}
::-moz-range-track {
  background: #1B75BB;
  border: 0;
}
input::-moz-focus-inner {
  border: 0;
}
/** END - SLIDER CSS **/

@media screen and (min-width:0\0) {
  .block--currency-calculator #curr_calc_user_value{
    height: 50px !important;
  }
  .block--currency-calculator #curr_calc_return_value{
    height: 50px !important;
  }

  .range-slider .input-range {
    width: 100%;
    height: inherit;
    background: none;
    outline: inherit;
    margin: 0px;
  }

  .range-slider .input-range::-ms-track {
    width: 100% !important;
    height: 5px !important;
    /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
    background: transparent !important;
    /*leave room for the larger thumb to overflow with a transparent border */
    border-color: transparent !important;
    border-width: 16px 0 !important;
    /*remove default tick marks*/
    color: transparent !important;
  }
  .range-slider .input-range::-ms-fill-lower {
    background: #1B75BB !important;
    border-radius: 10px !important;
  }
  .range-slider .input-range::-ms-fill-upper {
    background: #1B75BB !important;
    border-radius: 10px !important;
  }
  .range-slider .input-range::-ms-thumb {
    border: none !important;
    height: 30px !important;
    width: 30px !important;
    border-radius: 50% !important;
    background: #C8CACF !important;
    border: 1px solid #3E5564 !important;
  }
  .range-slider .input-range:focus::-ms-fill-lower {
    background: #1B75BB !important;
  }
  .range-slider .input-range:focus::-ms-fill-upper {
    background: #1B75BB !important;
  }
}

@supports (-ms-accelerator:true) {
  .block--currency-calculator #curr_calc_user_value{
    height: 50px !important;
  }
  .block--currency-calculator #curr_calc_return_value{
    height: 50px !important;
  }

  .range-slider .input-range {
    width: 100%;
    height: inherit;
    background: none;
    outline: inherit;
    margin: 0px;
  }

  .range-slider .input-range::-ms-track {
    width: 100% !important;
    height: 5px !important;
    /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
    background: transparent !important;
    /*leave room for the larger thumb to overflow with a transparent border */
    border-color: transparent !important;
    border-width: 16px 0 !important;
    /*remove default tick marks*/
    color: transparent !important;
  }
  .range-slider .input-range::-ms-fill-lower {
    background: #1B75BB !important;
    border-radius: 10px !important;
  }
  .range-slider .input-range::-ms-fill-upper {
    background: #1B75BB !important;
    border-radius: 10px !important;
  }
  .range-slider .input-range::-ms-thumb {
    border: none !important;
    height: 30px !important;
    width: 30px !important;
    border-radius: 50% !important;
    background: #C8CACF !important;
    border: 1px solid #3E5564 !important;
  }
  .range-slider .input-range:focus::-ms-fill-lower {
    background: #1B75BB !important;
  }
  .range-slider .input-range:focus::-ms-fill-upper {
    background: #1B75BB !important;
  }
}



/* -----------------------------------------------------------------------*/



/** START CSS FOR SIMPLIFIED MORTGAGE CALC **/
.criteria-division {
  border-bottom: 1px solid lightgray;
  margin-top:15px;
}

.criteria-describer {
  margin-top:10px !important;
  margin-bottom: 10px !important;
  float: left;
  color:#3e5564;
  font-weight: 200;
}

#simplified-mortgage-calculator .criteria-value .input-field {
  color: #1b75bb;
  font-weight:bold;
}

#simplified-mortgage-calculator .input-dropdown {
  color: #1b75bb;
  font-weight:bold;
}

.criteria-value {
  float:right;
}

.criteria-value .input-field {
  font-size:150%;
  text-align:left;
  line-height:35px;
}

.sm-apply-button {
  background: url('images/mike-pero-calc.jpg');
  background-size: 100% 100%;
  width : 100%;
}

.sm-apply-button:hover {
  background: url('images/mike-pero-calc-hover.jpg');
  background-size: 100% 100%;
  width : 100%;
}
/** END CSS FOR SIMPLIFIED MORTGAGE CALC **/


/** START CSS FOR CURRENCY CALCULATOR **/
.block--currency-calculator #data {
  display : none;
}
/** END CSS FOR CURRENCY CALCULATOR **/


/** START CSS FOR HOME LOAN CALCULATOR **/

#home-loan-calculator .criteria-describer {
  color:#3e5564;
  font-weight: 900;
  float: none;
  font-size:120%;
  margin-top:10px;
  margin-bottom: 5px;
}

#home-loan-calculator .criteria-value {
  float: none;
}

#home-loan-calculator .criteria-value .hl-loan-amount {
  font-size:150%;
  text-align:left;
  line-height:35px;
}

#home-loan-calculator .hl-total-interest {
  font-size : 150%;
  font-weight: bold;
}

#home-loan-calculator .hl-total-interest,
#home-loan-calculator .hl-repayment {
  font-size : 170%;
  font-weight: bold;
  color : #3e5564;
  margin : 5px 0px;
}

#home-loan-calculator .hl-savings,
#home-loan-calculator .hl-savings-text {
  color: #1b75bb;
  font-weight:600;
  font-size : 170%;
}

#home-loan-calculator .hl-savings {
  margin : 5px 0px;
  font-size : 210%;
}

.hl-apply-button {
  background: url('images/mike-pero-calc.jpg');
  background-size: 100% 100%;
  width : 100%;
}

.hl-apply-button:hover {
  background: url('images/mike-pero-calc-hover.jpg');
  background-size: 100% 100%;
  width : 100%;
}
/** END CSS FOR HOME LOAN CALCULATOR **/


/** START CSS FOR CREDIT CARD CALCULATOR **/
#credit-card-calculator {
  font-size: 100%;
  margin: 0px auto !important;
}
#credit-card-calculator .criteria-division {
  margin-top: 0px;
}
#credit-card-calculator .variation-2 {
  font-size: 150%;
}
#credit-card-calculator .variation-3 {
  font-size: 130%;
}
#credit-card-calculator .variation-4 {
  font-size: 110%;
}
#credit-card-calculator .input-dropdown {
  width: 100%;
  background-size: 15px;
  background-position-x: 99%;
  font-size: 130%;
}
#credit-card-calculator .input-field {
  float: right;
  font-size: 130%;
  margin-top: 5px;
}
#credit-card-calculator .range-slider {
  margin-top: 5px;
}
/** END CSS FOR CREDIT CARD CALCULATOR **/


/** START CSS FOR BREAK FEE CALCULATOR **/
#break-fee-calculcator {
  font-size: 100%;
  margin: 0 auto !important;
}

#break-fee-calculcator .special-division {
  border-bottom: 1px solid #1B75BB;
}

#break-fee-calculcator .criteria-division {
  margin-top: 10px;
}

#break-fee-calculcator .criteria-describer {
  margin-top: -5px !important;
}

#break-fee-calculcator .no-margin-top {
  margin-top: 10px !important;
}

#ui-datepicker-div {
  display:none;
}

#break-fee-calculcator .variation-2 {
  font-size: 200%;
}

#break-fee-calculcator .variation-3 {
  font-size: 130%;
}

#break-fee-calculcator .input-dropdown {
  width: 100%;
  font-size: 130%;
}

#break-fee-calculcator .input-field {
  font-size: 130%;
  text-align: center !important;
}

#break-fee-calculcator .field_date {
  width: 150px;
}

#break-fee-calculcator .result_note {
  font-size: 80%;
}

#break-fee-calculcator .info_message {
  border: 2px solid #1b75bb;
  border-radius: 5px;
  padding: 5px;
  color: maroon;
  background: whitesmoke;
  font-weight: bold;
  clear:both;
}

#break-fee-calculcator .close_message_btn {
  float: right;
  color: white;
  /* border: 1px solid maroon; */
  background: maroon;
  border-radius: 50%;
  padding: 1px 5px;
  cursor: pointer;
}
/** END CSS FOR BREAK FEE CALCULATOR **/

/** START CSS FOR KIWISAVER CALCULATOR BLOCK **/
#kiwisaver-calculator-block {
  clear: both;
  float: none !important;
  font-size: 100%;
  margin-bottom: 20px;
}

#kiwisaver-calculator-block .color-palette {
  margin:0 auto !important;
}

#kiwisaver-calculator-block .criteria-value * {
  float: right;
}

#kiwisaver-calculator-block .input-field {
  width: 50%;
  text-align: center;
}

#kiwisaver-calculator-block .criteria-value span {
  font-size: 150%;
  padding-right: 5px;
  margin-top: 5px;
}

#kiwisaver-calculator-block .result_value {
  color: #1b75bb;
  margin-top: 10px;
  width: auto;
  float: right;
}

#kiwisaver-calculator-block .info_message {
  border: 2px solid #1b75bb;
  border-radius: 5px;
  padding: 5px;
  color: maroon;
  background: whitesmoke;
  font-weight: bold;
  clear:both;
}

#kiwisaver-calculator-block .close_message_btn {
  float: right;
  color: white;
  /* border: 1px solid maroon; */
  background: maroon;
  border-radius: 50%;
  padding: 1px 5px;
  cursor: pointer;
}
/** END CSS FOR KIWISAVER CALCULATOR BLOCK **/

/** START CSS FOR EFFECTIVE INTEREST RATE CALCULATOR**/
.effective-int-rate-calc-block .input-field {
  width: 80%;
  text-align: center;
}

.effective-int-rate-calc-block .criteria-describer {
  width: 50%;
}

.effective-int-rate-calc-block .criteria-value {
  width: 50%;
  margin-top: 5px;
}

.effective-int-rate-calc-block .criteria-value * {
  float: right;
}

.effective-int-rate-calc-block .criteria-value span {
  font-size: 150%;
  padding-right: 5px;
  margin-top: 5px;
}

.effective-int-rate-calc-block #result {
  color: #1b75bb;
  font-weight: bold;
  font-size: 170%;
}

.effective-int-rate-calc-block .info_message {
  border: 2px solid #1b75bb;
  border-radius: 5px;
  padding: 5px;
  color: maroon;
  background: whitesmoke;
  font-weight: bold;
  clear:both;
}

.effective-int-rate-calc-block .close_message_btn {
  float: right;
  color: white;
  /* border: 1px solid maroon; */
  background: maroon;
  border-radius: 50%;
  padding: 1px 5px;
  cursor: pointer;
}
/** END CSS FOR EFFECTIVE INTEREST RATE CALCULATOR**/

/** START CSS FOR FIX OR FLOAT CALCULATOR **/
.fix-float-calc .input-field {
  width: 80%;
  text-align: center;
}

.fix-float-calc .criteria-describer {
  width: 50%;
}

.fix-float-calc .criteria-value {
  width: 50%;
  margin-top: 5px;
}

.fix-float-calc .criteria-value * {
  float: right;
}

.fix-float-calc .criteria-value span {
  font-size: 150%;
  margin-top: 5px;
  padding-right: 5px;
}

.fix-float-calc #result {
  color: #1b75bb;
  font-weight: bold;
  font-size: 170%;
}

.fix-float-calc .info_message {
  border: 2px solid #1b75bb;
  border-radius: 5px;
  padding: 5px;
  color: maroon;
  background: whitesmoke;
  font-weight: bold;
  clear:both;
}

.fix-float-calc .close_message_btn {
  float: right;
  color: white;
  /* border: 1px solid maroon; */
  background: maroon;
  border-radius: 50%;
  padding: 1px 5px;
  cursor: pointer;
}

/** END CSS FOR FIX OR FLOAT CALCULATOR **/

/** START CSS FOR RETIREMENT CALCULATOR **/
.retirement-calc-block {
  position: relative;
}

.retirement-calc-block .criteria-describer {
  width: 50%;
}

.retirement-calc-block .criteria-value {
  width: 50%;
}

.retirement-calc-block .criteria-value * {
  float: right;
}

.retirement-calc-block .criteria-value .input-field {
  width: 80%;
  text-align: center;
}

.retirement-calc-block .criteria-value span {
  font-size: 150%;
  margin-top: 5px;
  padding-right: 5px;
}

.retirement-calc-block .field_input_disabled {
  background-color: #c8cacf;
  color: #1b75bb;
  border: 1px solid #333;
}

.retirement-calc-block .special-division {
  border-bottom: 1px solid #1B75BB !important;
}

.retirement-calc-block .input-dropdown {
  background: url(images/dropdownArrow.png) 90% / 15px no-repeat white;
}

.retirement-calc-block .result_value {
  color: #1B75BB;
  font-weight: bold;
}

.retirement-calc-block .info_message {
  border: 2px solid #1b75bb;
  border-radius: 5px;
  padding: 5px;
  color: maroon;
  background: whitesmoke;
  font-weight: bold;
  clear:both;
}

.retirement-calc-block .close_message_btn {
  float: right;
  color: white;
  /* border: 1px solid maroon; */
  background: maroon;
  border-radius: 50%;
  padding: 1px 5px;
  cursor: pointer;
}
.retirement-calc-block .show_calculation_details_button_div {
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  margin: 5px 0px 0px 0px;
  text-align: center;
  text-decoration: none;
}

#black-overlay {
  display: none;
  position: fixed;
  background-color: black;
  opacity: 0.6;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
}
#calculation_details_display {
  display: none;
  position: fixed;
  left: 25%;
  top: 15%;
  width: 50%;
  height: 70%;
  z-index: 1000;
  background-color: white;
  border-radius: 15px;
  padding: 15px;
}
.calculation_details_header {
  margin: 0px;
  color: #1B75BB;
  font-weight: bold;
}
#close_calculation_details_display_btn {
  position: fixed;
}
#close_calculation_details_display_btn {
  position: fixed;
  left: 74%;
  top: 14%;
  background-color: black;
  color: white;
  font-size: 135%;
  font-weight: bold;
  text-align: center;
  line-height: 26px;
  border: 2px solid whitesmoke;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
}
#calculation_details {
  height: 92%;
  overflow-y: scroll;
  margin-top: 15px;
}
/** END CSS FOR RETIREMENT CALCULATOR **/


/** START CSS FOR DEPOSIT CALCULATOR **/
.deposit-calculator {
  position: relative;
}
.deposit-calculator .criteria-describer {
  width: 50%;
}
.deposit-calculator .criteria-value {
  width: 50%;
}
.deposit-calculator .criteria-value * {
  float: right;
}
.deposit-calculator .criteria-value .input-field {
  width: 80%;
  text-align: center;
}
.deposit-calculator .input-dropdown {
  width: 80% !important;
  background: url(images/dropdownArrow.png) 90% / 15px no-repeat white;
}
.deposit-calculator .criteria-value span {
  font-size: 150%;
  margin-top: 5px;
  padding-right: 5px;
}
.deposit-calculator .result_value {
  color: #1B75BB;
  font-weight: bold;
}
.deposit-calculator .info_message {
  border: 2px solid #1b75bb;
  border-radius: 5px;
  padding: 5px;
  color: maroon;
  background: whitesmoke;
  font-weight: bold;
  clear:both;
}
.deposit-calculator .close_message_btn {
  float: right;
  color: white;
  /* border: 1px solid maroon; */
  background: maroon;
  border-radius: 50%;
  padding: 1px 5px;
  cursor: pointer;
}
.deposit-calculator #installment_div,
.deposit-calculator #installment_frequency_div {
  display: none;
}
.deposit-calculator .input_row_filler {
  display: none;
  width: 100%;
  height: 48px;
  margin-top: 15px;
}

.deposit-calculator #show_transactions {
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  margin-bottom: 10px;
}

.deposit-calculator .transaction_display_div{
  display: none;
  width: 90%;
  height: 90%;
  position: absolute;
  z-index: 1;
  top: 5%;
  left: 5%;
  background-color: whitesmoke;
  border: 3px solid black;
  border-radius: 10px;
  padding: 5px;
}

.deposit-calculator .display_transaction_header{
  float: left;
  padding: 10px;
}

.deposit-calculator .close_transactions_display{
  float: right;
  width: 26px;
  height: 26px;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  background-color: #555;
  color: #fff;
  font-weight: bold;
  line-height: 26px;
}

.deposit-calculator .result_table {
  position: relative;
/*  font-size: 150%;*/
  width: 100%;
  height: 90%;
  padding: 0px 5px 5px 5px;
  overflow-y: scroll;
}
.deposit-calculator .result_table table {
  width: 100%;
}
/** END CSS FOR DEPOSIT CALCULATOR **/
