/*
https://www.mortgagerates.co.nz/css/mortgage-rates-table.css
https://www.landlords.co.nz/css/mortgage-rates-table.css
https://www.goodreturns.co.nz/css/mortgage-rates-table.css
*/

div.mortgageRatesTable table {
  border-collapse: collapse;
  width: 100%;
}

div.mortgageRatesTable table tr:nth-child(even) {background: #fff;}
div.mortgageRatesTable table tr:nth-child(odd) {background: #eee;}

div.mortgageRatesTable table .lenderName {
  text-align: left;
  white-space: nowrap;
}

div.mortgageRatesTable table td, div.mortgageRatesTable table th {
  padding: 6px 3px;
  margin: 0;
  text-align: right;
  vertical-align: top;
  width: 42px;
}

div.mortgageRatesTable table th {
  background-color: #eee;
}

div.mortgageRatesTable table th a {
  text-decoration: none;
  color: #666;
  font-size: 1.2em;
}

div.mortgageRatesTable table th.current {
  color: #242470;
}

div.mortgageRatesTable table th a.current {
  color: #242470;
}

div.mortgageRatesTable table td {
  color: #000;
}

div.mortgageRatesTable table .rateUp {
  color: #c00;
  font-weight: bold;
}
div.mortgageRatesTable table .rateDown {
  color: #090;
  font-weight: bold;
}

div.mortgageRatesTable form  {
  border: 1px solid #ccc;
  margin: 0 0 1% 0;
  background-color: #f3f3f3;
  border-radius: 5px;
}

div.mortgageRatesTable form p {
  float: left;
  margin: 0 2% 0 0;
  padding: 1%;
  height: 2em;
}

div.mortgageRatesTable table tr.median {
  border-top: 1px solid #999;
  border-bottom: 1px solid #999;
  font-weight: bold;
}

div.mortgageRatesTableCompact {
  overflow: auto;
  height: 320px;
  position: relative;
  width: 280px;
}

div.mortgageRatesTableCompact form  {
  display: none;
}

div.mortgageRatesTableCompact table td, div.mortgageRatesTableCompact table th {
  font-size: 10px;
  padding: 2px 2px;
}
div.mortgageRatesTableCompact table td.lenderName {
  white-space: normal;
}

div.mortgageRatesTable table td a.tip {
  text-decoration: none;
  color: inherit;
  border-bottom: 1px dotted #000;
}

@media screen and (max-width: 950px) {
  .rate_6month {
    display: none;
  }
}
@media screen and (max-width: 900px) {
  .rate_rc {
    display: none;
  }
}
@media screen and (max-width: 850px) {
  .rate_18month {
    display: none;
  }
}
@media screen and (max-width: 800px) {
  .rate_4year {
    display: none;
  }
}
@media screen and (max-width: 750px) {
  .rate_5year {
    display: none;
  }
}
@media screen and (max-width: 700px) {
  .rate_1year {
    display: none;
  }
}
@media screen and (max-width: 320px) {
  .rate_floating {
    display: none;
  }
}

.lenderLogo {
  max-height: 40px;
}