/*! SassyLists - v2.2.0 - 2014-07-03 */
/*! SassyStrings - v1.0.1 - 2014-09-17 */
/* 
 * Return last index of $needle in $string
 * ---
 * @param {string} $string - string to search in
 * @param {string} $needle - substring to search for
 * ---
 * @return {number | null | false}
 */
/* 
 * Capitalize first letter from $string
 * ---
 * @param {string} $string - string for capitalization
 * ---
 * @return {string | false}
 */
/*
 * Count number of words in $string
 * ---
 * @param {string} $string - string to check
 * ---
 * @return {string|false}
 */
header.header-fluid {
  border-bottom: 3px solid #2e51a1;
  background: #fff;
}
header.header-fluid .wrapper {
  max-width: 978px;
  margin-left: auto;
  margin-right: auto;
}
header.header-fluid .rds-clearfix {
  max-width: 978px;
  margin: 0 auto;
}

.blue-header {
  background: #2e51a1;
  margin: 1px auto 0;
  padding: 0 !important;
  position: relative;
}
.blue-header:before, .blue-header:after {
  display: none;
}
.blue-header h2 {
  margin: 0;
}
.blue-header .rds-section-inner {
  padding: 11px;
  max-width: 978px;
  margin: 0 auto;
}

/*.lt-ie9 .rds-tabs {
    display: none;
}*/
.slider input {
  width: 10%;
  display: inline-block;
  height: 34px;
}
.slider .slider-wpr {
  width: 100%;
  vertical-align: top;
  display: inline-block;
}
.slider .slider-wpr span {
  color: #585858;
  margin-top: 10px;
}

.rds-state {
  height: 95%;
}
.rds-toggle {
  /*height: 95%;*/
  vertical-align: middle;
}
.rds-toggle-header {
  font-size: 13px;
}

.spacing{
  padding-top: 10px;
}

.extend {
  padding-top: 30px;
}

.slider-wpr .noUi-target {
  height: 14px;
  border-radius: 4px;
  border: 1px solid #626262;
  border-top: 1px solid #6e6e6e;
  border-bottom: 1px solid #626262;
  position: relative;
  background: #e3e3e3 center repeat-x;
  background-image: url("../images/slider-line.png"), -webkit-gradient(linear, left top, left bottom, from(#c2c2c2), color-stop(9%, #cccccc), color-stop(27%, #d6d6d6), color-stop(55%, #e1e1e1), color-stop(82%, #e4e4e4), to(#e1e1e1));
  background-image: url("../images/slider-line.png"), -webkit-linear-gradient(top, #c2c2c2 0%, #cccccc 9%, #d6d6d6 27%, #e1e1e1 55%, #e4e4e4 82%, #e1e1e1 100%);
  background-image: url("../images/slider-line.png"), -moz-linear-gradient(top, #c2c2c2 0%, #cccccc 9%, #d6d6d6 27%, #e1e1e1 55%, #e4e4e4 82%, #e1e1e1 100%);
  background-image: url("../images/slider-line.png"), linear-gradient(to bottom, #c2c2c2 0%, #cccccc 9%, #d6d6d6 27%, #e1e1e1 55%, #e4e4e4 82%, #e1e1e1 100%);
}
.slider-wpr .noUi-target .noUi-handle {
  height: 22px;
  border: 1px solid #2e51a1;
  position: absolute;
  top: -4px;
  left: -17px;
  border-radius: 0;
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
          box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  background: #4d73ca;
  background: -webkit-gradient(linear, left top, left bottom, from(#4d73ca), to(#3053a3));
  background: -webkit-linear-gradient(top, #4d73ca 0%, #3053a3 100%);
  background: -moz-linear-gradient(top, #4d73ca 0%, #3053a3 100%);
  background: linear-gradient(to bottom, #4d73ca 0%, #3053a3 100%);
}
.slider-wpr .noUi-target .noUi-handle:before, .slider-wpr .noUi-target .noUi-handle:after {
  content: none;
}

.dynamic-group, .dynamic-group2 {
  display: none;
}

.show-group {
  display: block;
}

main.fluid {
  padding-top: 24px;
}

/*** slider fix ******/
.noUi-horizontal.noUi-extended {
  padding: 0 15px;
}

/***** form ******/
.rds-field-error label {
  color: #c0392b;
  padding-left: 19px;
  margin-left: 0;
}
.rds-field-error label:after {
  content: " ";
  position: absolute;
  left: 0;
  top: 2px;
  background: #c0392b url(/rds/v2/_assets/images/icons/icn-sm-exclamation-red.svg) no-repeat;
  -webkit-background-size: 16px 16px;
  background-size: 16px 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}
.rds-field-error label:before {
  display: none;
}

.print-icon svg {
  vertical-align: middle;
}

/* hidden text for labels */
.off-screen {
   left: -2000px;
   position: absolute;
}

.add-border {
  border: 2px solid yellow;
}

/***** results ****/
.result-sh {
  display: none;
}
.show-results .result-sh {
  display: block;
}

#table-tab {
  max-height: 320px;
  overflow-y: scroll;
}
#table-tab th {
  padding: 12px 18px;
}
#table-tab .jspScrollable {
  min-height: 320px;
}

.contribution-amount {
  font-size: 54px;
  color: #2e51a1;
  display: block;
  width: 100%;
  margin: 24px 0 40px;
  font-family: 'MetaBo';
}
.contribution-amount span {
  font-size: 36px;
}
.contribution-amount sup {
  top: 8px;
  font-size: 36px;
}

section#rds-tabs-main {
  margin-left: 0;
  margin-right: 0;
}

.header-with-icon span {
  margin-top: 5px;
}

.left-side {
  position: relative;
  padding-bottom: 40px;
}

/*** tooltip issue ***/
.rds-tooltip {
  word-break: normal !important;
}

.small-input {
  width: 100px !important;
}
@media (max-width: 768px) {
  .small-input {
    width: 100% !important;
  }
}

.francais-link-footer {
  position: absolute;
  right: 14px;
  top: 24px;
}
@media (max-width: 768px) {
  .francais-link-footer {
    top: 0;
    font-size: 13px;
  }
}

.loading-wpr {
  display: none;
  position: absolute;
  top: 50%;
  right: 50%;
  margin: -64px 32px 0;
  z-index: 9999;
}

.no-rgba .loading-wpr {
  background: #000;
  opacity: 1;
}

.loader {
  width: 76px;
  height: 76px;
  /*background-image:url("../images/preloader.png");*/
  background-repeat: no-repeat;
  -webkit-background-size: 100% 100%;
          background-size: 100%;
  /*background:#f5f5f5;*/
  border-radius: 10px;
  padding: 6px;
}

.loader {
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.highcharts-tooltip + text {
  display: none !important;
}

.rds-print-only {
  display: none !important;
}

.lt-ie9 .rds-field-error label:after {
  background: url("/rds/v2/_assets/images/icons/icn-sm-exclamation-red.png") no-repeat;
}

.lt-ie9 .main-page-tabs .rds-tabs {
  display: none;
}

.lt-ie9 .header-with-icon span {
  width: 300px;
}

.calculator-section .rds-section-inner {
  background: url("../images/resultsbg2.png") bottom right no-repeat;
}
.show-results .calculator-section .rds-section-inner {
  background: none;
}

.lt-ie9 .right-side {
  position: relative !important;
}

/*** blue callout accordian ****/
@media (max-width: 768px) {
  .rds-accordion .rds-collapsible-content .rds-collapsible-content-inner {
    background-color: transparent;
    border: 0;
  }
  .rds-accordion .rds-collapsible-content .rds-collapsible-content-inner::before, .rds-accordion .rds-collapsible-content .rds-collapsible-content-inner:after {
    display: none;
    border-color: transparent;
  }
  .rds-accordion .rds-collapse-toggle {
    border: 0 !important;
  }

  .rds-mob-hidden {
    display: none;
  }
}
@media (min-width: 768px) {
  .main-page-tabs .rds-tabs {
    display: none;
  }

  .btn-align-b {
    position: absolute;
    bottom: 0;
    right: 15px;
  }

  .btn-right-pre {
    margin-top: -30px;
  }
}
@media only screen and (min-width: 768px) {
  .double-pad {
    margin-bottom: 22px;
  }
  .lt-ie9 .double-pad {
    margin-bottom: 0;
  }
}
@media only screen and (max-width: 768px) {
  .rds-mob-mar-t0 {
    margin-top: 0 !important;
  }

  .calculator-section .rds-section-inner {
    background: none;
  }
  .show-results .calculator-section .rds-section-inner {
    background: none;
  }
}
/******** print ******/
@media print {
  .rds-gc-half {
    width: 50%;
    float: left;
  }

  .rds-print-only {
    display: block;
  }

  .show-results .rds-print-only.result-sh {
    display: block !important;
  }
}
