/*!
 * jQuery Custom Select Plugin - Master Source
 * 2014-09-03
 *
 * http://www.blissmedia.com.au/
 *
 * Copyright 2014 Bliss Media
 * Released under the MIT license:
 *   http://www.opensource.org/licenses/mit-license.php
 */

/* Standard
----------------------------------*/
span{
font-family: "Sainsburys Mary Ann Medium", Helvetica, sans-serif;

}
.custom-select {
   border-radius: 5px;


  position: relative;
  width: 360px;
  height: 27px;
  border: 1px solid #707070;
  background: #fff;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
      background-image: url("#/~/media/images/rebrand/dropdown.png?h=24&amp;w=24&amp;la=en");
    background-repeat: no-repeat;
    background-position: 330px;
    font-family: "Sainsburys Mary Ann Medium", Helvetica, sans-serif;
    font-size:0.9em;
    margin-top: 5px;
}
.custom-select a {
   color: #333;
    /*color: #000*/

  display: inline-block;
  width: 340px;
  height: 20px;
      padding: 5px 10px;

  text-decoration: none;
  cursor: pointer;
  outline-width: 0;
      font-size: 1.1em;
}
.custom-select a span {
  display: inline-block;
  width: 220px;
  white-space: nowrap;
  overflow: hidden;
      text-overflow: ellipsis;
}
.custom-select select {
  display: none !important;
}
.custom-select > div {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin: 1px 0 0 -1px;
  width: 258px;
  border: 1px solid #3366ff;
  border-top: 0;
  background: #FFFFFF;
  z-index: 10;
  overflow: hidden;
}
.custom-select input {
  width:337px;
  border: 1px solid #888;
  margin: 5px 5px 0;
  padding: 5px;
  font-size: 14px;
}
.custom-select > div > div {
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
  margin: 5px;
  max-height: 240px;
}
.custom-select div ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.custom-select div ul li {
  display: none;
  padding: 4px 5px;
  padding-left:30px;
  margin-bottom:5px;
}
.custom-select div ul li.active {
  display: block;
  cursor: pointer;
}
.custom-select div ul li:hover {
    background: #f6f6f6;
 color:#000;
}

.custom-select div ul li.option-hover {
  background: #f6f6f6 none repeat scroll 0% 0%;
  color: #000;
}

.custom-select div ul li.option-disabled {
  color: #999;
}
.custom-select div ul li.option-disabled:hover {
  background: #ff9999;
  color: purple;
}
.custom-select div ul li.option-hover.option-disabled {
  background: #ff6666;
   color: red;
}
.custom-select div ul li.no-results {
  display: none;
  background: #f2f2f2;
  color: #000;
}

/* Custom Select - Open
----------------------------------*/
.custom-select-open {
   border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;


  border-bottom: 1px solid #eee;
  border-top: 1px solid #3366ff;
  border-left: 1px solid #3366ff;
  border-right: 1px solid #3366ff;
        background-image: url(#/~/media/images/rebrand/dropdown_up.png?h=24&amp;w=24&amp;la=en);
    background-repeat: no-repeat;
    background-position: 330px;
}
.custom-select-open div {
   border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;


  display: block;
}

/* Hide Input Box
----------------------------------*/
.custom-select input.custom-select-hidden-input {
  position: absolute !important;
  top: 0 !important;
  left: -1000px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  z-index: -1 !important;
}

/* Mobile Override
----------------------------------*/
.custom-select-mobile select {
  display: inline !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.calculator.loanAprcalcsmall a.cta {
    width: 260px;
    margin: 0px;
   padding: 13px 47px;
}
.calculator.loanAprcalcsmall form label {
    font-weight: normal;
}
.calculator.loanAprcalcsmall form input.text {
    border-color: #707070;
    border-radius: 5px;
    color: #333;
}
.calculator.loanAprcalcsmall .notes {
    color: #333;
}
.calculator.loanAprcalcsmall form .label-suffix {
    font-size: 1em;
}
.calculator.loanAprcalcsmall form input#loans-calc-small-borrowing {
    border-color: #707070;
    border-radius: 5px;
    color: #333;
}
@media only screen and (max-width: 40em) {
.calculator.loanAprcalcsmall a.cta {
    width: 100%;
}
}
.calculator.loanAprcalcsmall .pounds {
width:60px;
}

.calculator.loanAprcalcsmall form .fieldWrapper {
    padding-right: 19px;
    padding-left: 19px;

  }
table { border-collapse: separate; }
td { border: solid 1px #000; }
tr:first-child th:first-child { border-top-left-radius: 5px;    border: 1px solid #eeebdb; }
tr:first-child th:last-child { border-top-right-radius: 5px; }
tr:last-child th:first-child { border-bottom-left-radius: 5px; }
tr:last-child td:last-child { border-bottom-right-radius: 5px; }
