/*
@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);
@import url(http://fonts.googleapis.com/css?family=PT+Sans:400,700|Open+Sans:600,400,300|Josefin+Sans);
*/
body {
  background-color: #f5f7f8;
}

.ff-calc-outer-container {
  width: 620px;
  margin: auto;
}

.ff-calc-container {
  font-family: "Open Sans", Helvetica, Arial, sans-serif !important;
  margin: 5px auto;
  padding: 0 10px;
  box-sizing: content-box;
  /*width: 100%;*/
  /*position: absolute;*/
}

.ff-calc-container * {
  box-sizing: content-box;
}

.ff-calc-container table {
  border-collapse: separate;
  border-spacing: 2px;
}

#ff-calc-container {
  font-family: "Open Sans", Helvetica, Arial, sans-serif !important;
  margin-top: 20px;
  /*padding: 10px;*/
  /*width: 100%;*/
  /*position: absolute;*/
}

#ff-calc-container h3 {
  font-weight: 300;
  color: #101820;
  font-size: 28px;
  margin: 0;
  padding: 0;
}

/*
    Column panes layout:

    column1 - one column pane 600px wide
    column2 - 2 panes 295px wide, 10px spacing between

*/
.ff-calc-column-container {
  width: 600px;
  font-size: 12pt;
}

.ff-calc-tab-container {
  padding: 0 !important;
}

.ff-calc-column1 {
  width: 600px;
  clear: both;
  position: relative;
  padding: 0 !important;
}

.ff-calc-column2 {
  width: 295px;
  float: left;
  position: relative;
  margin-right: 10px;
  padding: 0 !important;
}

.ff-calc-column3-1 {
  width: 193px;
  float: left;
  position: relative;
  margin-right: 10px;
  padding: 0 !important;
}

.ff-calc-column3-2 {
  width: 397px;
  float: left;
  position: relative;
  margin-right: 10px;
  padding: 0 !important;
}

.ff-calc-column-last {
  margin-right: 0;
}

.ff-calc-text {
  font-size: 12px;
  font-weight: 400;
}

.ff-calc-bar {
  color: #101820;
  font-weight: 600;
  padding: 0;
  margin: 5px 0 11px;
  font-size: 18px;
}

.ff-calc-panel {
  margin-bottom: 13px;
}
.ff-calc-panel:after {
  content: "";
  display: table;
  clear: both;
}

.ff-calc-input-header {
  text-align: left;
  margin: 0;
  padding: 10px;
  background-color: #ccc;
  font-weight: bold;
}

.ff-calc-input-container {
  text-align: left;
  margin: 0;
  padding: 0;
}

.ff-calc-table {
  margin: 0;
  padding: 2px 0;
}

.ff-calc-label {
  display: block;
  font-size: 12px;
  font-weight: 400;
}

.ff-calc-input {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  padding: 8px 10px;
  background-color: #fff;
  border: 1px solid #ccc;
  color: #101820;
  width: 100%;
  text-align: right;
  /*-webkit-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.75);*/
  /*-moz-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.75);*/
  /*box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.75);*/
}

.ff-calc-input:disabled {
  color: #bbb !important;
}

.ff-calc-button {
  font: inherit;
  color: #fff;
  background-color: #005eb8;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  border: 0;
  padding: 10px 30px;
  cursor: pointer;
}

.ff-calc-slider-input {
  border: 1px solid #ccc;
  color: #101820;
}

.ff-calc-value,
.ff-calc-input {
  font-size: 12px;
  font-weight: 400;
  text-align: right;
}

.ff-calc-value {
  background: #eceff1;
  padding: 8px 10px;
  font-weight: 600;
}

.ff-calc-column1 .ff-calc-input-2column {
  width: 300px;
  position: relative;
  float: left;
}

.ff-calc-column2 .ff-calc-input-2column {
  width: 126px;
  position: relative;
  float: left;
}

.ff-calc-column1 .ff-calc-input-3column {
  width: 200px;
  position: relative;
  float: left;
}

.ff-calc-column1 .ff-calc-input-3column-2 {
  width: 400px;
  position: relative;
  float: left;
}

.ff-calc-highlight {
  position: relative;
  float: left;
  background-color: #04096f;
  padding: 3px;
}

.ff-calc-highlight-success {
  color: #282;
}

.ff-calc-highlight-notice {
  color: #24b;
}

.ff-calc-highlight-alarm {
  color: #c00;
}

.ff-calc-highlight-warning {
  color: #822;
}

.ff-calc-graph {
  position: relative;
  height: 350px;
  margin-bottom: 5px;
  border-radius: 8px;
}

/* helper styles */
.ff-calc-right {
  text-align: right;
}

.ff-calc-float-right {
  float: right;
}

.ff-calc-float-left {
  float: left;
}

.ff-calc-centered {
  text-align: center;
}

.ff-calc-bold {
  font-weight: bold;
}

.ff-calc-bigger {
  font-size: 14px;
  font-weight: 600;
}

.ff-calc-big {
  font-size: 14px;
  font-weight: 600;
}

.ff-calc-regular {
  font-size: 1.1em;
}

.ff-calc-small {
  font-size: 9px !important;
}

.ff-calc-matrix {
  font-size: 12px !important;
  border-spacing: 0;
}

.ff-calc-withnext {
  padding-bottom: 0;
}

.ff-calc-inline {
  display: inline;
}

.ff-calc-clear {
  clear: both;
}

.ff-calc-hidden {
  display: none;
}

.ff-calc-success {
  color: #480;
}

.ff-calc-warning {
  color: #a20;
}

.ff-calc-matrix tr td.ff-calc-delete-control div,
.ff-calc-matrix tr td.ff-calc-delete-column div {
  width: 16px;
  height: 16px;
  cursor: pointer;
  background-image: url(images/ui-icons_cd0a0a_256x240.png);
  background-position: -32px -192px; /* .ui-icon-circle-close */
  margin: 0 auto;
}

/* .ff-calc-matrix tr:hover td.ff-calc-delete-control div,
.ff-calc-matrix tr:hover td.ff-calc-delete-column div {
  background-image: url(images/ui-icons_cd0a0a_256x240.png);
  background-position: -32px -192px;  .ui-icon-circle-close 
} */

.ff-calc-disclaimer,
.ff-calc-copyright {
  /* margin: 15px 0; */
  padding: 5px 0;
  font-size: 0.75em;
  color: #aaa;
}

.ff-calc-copyright {
  margin: 15px auto;
  padding: 5px 0 !important;
  text-align: center;
}

.ff-calc-copyright a {
  text-decoration: none;
  color: #000;
}

.ff-calc-copyright a:hover {
  text-decoration: underline;
}

.ff-calc-copyright-logo {
  width: 28px;
  height: 28px;
  vertical-align: middle;
  margin-right: 10px;
}

.ff-calc-note {
  font-size: 0.75em;
  color: #444;
  padding: 5px;
}

#ff-calc-save-status {
  padding: 3px;
}

hr {
  height: 1px;
  border: 0;
  background-color: #e6e6e6;
  margin: 14px 0;
  padding: 0;
  clear: both;
}

.ff-calc-disclaimer-link {
  font-size: 12px;
  font-weight: 600;
  color: #000;
}

/* fixes for UI slider and ff copyright logo */
.ui-widget {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

.ui-tooltip {
  font-size: 12px;
  font-weight: 400;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.18);
  max-width: 294px;
  padding: 10px;
  border: 1px solid #ccc;
}

.ui-slider {
  position: relative;
}

.ui-slider-horizontal .ui-slider-handle {
  position: absolute;
  top: -6px;
  margin-left: -10px;
  cursor: pointer;
  outline: none;
  border: 1px solid #ccc;
  height: 21px;
  width: 21px;
  background-color: #fff;
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.18);
}

.ui-slider-horizontal {
  border-radius: 8px;
  height: 11px;
  background: rgb(204, 204, 204);
  background: linear-gradient(
    0deg,
    rgba(204, 204, 204, 1) 0%,
    rgba(236, 239, 241, 1) 50%,
    rgba(204, 204, 204, 1) 100%
  );
  margin: 15px 0 5px;
  box-shadow: inset 0 1px 5px 0px rgba(0, 0, 0, 0.5),
    0 1px 0 0px rgba(250, 250, 250, 0.5);
}

.ui-slider-range {
  background: #005eb8 !important;
  height: 100%;
  border-radius: 8px 0 0 8px;
}

.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
  font-size: 0.8em;
  padding: 5px;
}

/* a#ff-calc-logo-link { */
/* float: right;
  display: block;
  width: 106px;
  height: 35px;
  background-image: url("../img/ff_logo_unbiased_double_sm.png");
  background-size: 100%;
  background-position: 0 35px !important; */
/*background-repeat: no-repeat;*/
/* margin: 1px 0 5px 5px; */
/*margin: 25px auto;*/
/* text-decoration: none; */
/* } */

a#ff-calc-logo-link:hover {
  background-position: 0 0 !important;
  background-color: transparent;
}

.ff-calc-tooltip {
  position: relative;
  display: inline-block;
  overflow: hidden;
  /*height: 20px;*/
  /*width: 20px;*/
  /*background: url(../img/help-off-blue.png) center no-repeat;*/

  height: 16px;
  width: 16px;
  background: url(images/icon-tooltip.png);
  background-size: 100%;
  background-repeat: no-repeat;
}

.ff-calc-tooltip-inline {
  float: none !important;
  display: inline-block;
}

.ff-calc-with-tooltip {
  display: inline-block;
}

/** see http://nicolasgallagher.com/micro-clearfix-hack/ **/
.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

@media screen and (max-width: 650px) {
  #expenseSlidersContainer {
    height: 1850px;
  }

  .step3PaycheckBreakdownRowValue {
    clear: both;
    font-size: 1.2em;
  }

  .ff-calc-tabs-container-ff-calc-graph {
    position: relative;
    width: 297px;
    height: 325px;
  }

  .ff-calc-outer-container {
    width: 330px;
    margin: auto;
  }

  #ff-calc-container {
    padding: 3px 0;
  }

  .ff-calc-container {
    padding: 0;
  }

  .ff-calc-fields {
    width: 330px;
  }

  .ff-calc-column1 {
    width: 330px;
  }

  .ff-calc-column2 {
    width: 330px;
    margin-right: 0;
  }

  .ff-calc-column-container {
    width: 330px;
  }

  .ff-calc-input-3column,
  .ff-calc-column1 .ff-calc-input-3column-2 {
    width: 330px !important;
  }

  .ff-calc-column1 .ff-calc-input-2column {
    width: 330px;
  }

  /* Responsive table refloat method. This requires <!DOCTYPE html> -- doesn't work in the quirks mode... */
  /* Force table to not be like tables anymore */
  table.ff-responsive-table,
  .ff-responsive-table thead,
  .ff-responsive-table tbody,
  .ff-responsive-table th,
  .ff-responsive-table td,
  .ff-responsive-table tr {
    display: block;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  .ff-responsive-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .ff-responsive-table tr {
    border-bottom: 1px solid #e6e6e6;
    margin-bottom: 5px;
  }

  .ff-responsive-table tr:last-child {
    border-bottom: 0;
  }

  .ff-responsive-table td {
    /* Behave  like a "row" */
    border: none;
    position: relative;
    padding: 5px 0 5px 190px;
    width: 140px;
  }

  .ff-responsive-table td:before {
    /* Now like a table header */
    position: absolute;
    display: block;
    /* Top/left values mimic padding */
    top: 6px;
    left: 0;
    width: 130px;
    white-space: nowrap;
    content: attr(data-label);
    font-size: 12px;
    text-align: left;
  }

  .ff-responsive-table td.ff-calc-delete-control:before {
    content: "";
  }

  .ff-calc-matrix tr td.ff-calc-delete-control div {
    background-image: url(images/ui-icons_cd0a0a_256x240.png);
    background-position: -32px -192px; /* .ui-icon-circle-close */
  }

  .ff-calc-copyright-logo {
    display: block;
    margin: 14px auto 10px;
  }

  .ff-calc-copyright {
    border-top: 1px solid #e6e6e6;
  }
}
