.calc td{
  color: #303030;
  text-align: left;
}

.has-tooltip {
  position: relative; }

.tooltip-frame {
  background: #fff;
  position: absolute;
  max-width: 200px;
  z-index: 1000;
  font-size: 12px;
  font-family: 'Droid Sans', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  padding: 10px 20px; }
  .tooltip-frame .tip {
    border-style: solid;
    position: absolute;
    margin-left: -10px;
    border-width: 11px; }
  .tooltip-frame.tooltip-bottom {
    margin-top: 10px; }
    .tooltip-frame.tooltip-bottom .tip {
      border-color: transparent transparent #fff transparent;
      border-width: 0 11px 11px 11px;
      top: -10px; }
  .tooltip-frame.tooltip-top {
    margin-top: -10px; }
    .tooltip-frame.tooltip-top .tip {
      border-color: #fff transparent transparent transparent;
      border-width: 11px 11px 0 11px;
      bottom: -10px; }

.center {
  text-align: center !important; }

.calc {
  background: #D7F4FB;
  border-radius: 5px;
  max-width: 600px;
  margin: 0 auto 40px auto !important;
  clear: both; }
  .calc td {
    line-height: 1.4 !important; }
  .calc .bold {
    font-weight: bold; }
  .calc .text {
    width: 60%; }
  .calc .val1, .calc .val2 {
    white-space: nowrap;
    width: 20%;
    border-left: 1px solid #fff !important;
    text-align: right; }
  .calc input {
    width: 70px;
    text-align: right;
    padding: 4px;
    box-sizing: border-box;
    border: 1px solid #c5306e;
    border-radius: 3px;
    cursor: pointer; }
    .calc input.error {
      background: #fdd;
      border-color: #f00; }
  .calc table {
    width: 100%; }
    .calc table td {
      vertical-align: middle; }
    .calc table h2 {
      margin: 0;
      line-height: 2; }
  .calc td {
    border: none;
    padding: 10px;
    border-bottom: 1px solid #FFF; }
    .calc td:first-child {
      padding-left: 20px; }
      .calc td:first-child.indent {
        padding-left: 40px; }
    .calc td:last-child {
      padding-right: 20px; }
  .calc .help {
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: Georgia, serif !important;
    background: rgba(28, 42, 49, 0.5);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 12px;
    font-weight: normal;
    font-style: italic;
    text-align: center;
    line-height: 18px !important;
    float: right;
    margin-left: 5px;
    text-decoration: none !important; }
    .calc .help:hover {
      background: rgba(28, 42, 49, 0.7); }
    .calc .help:before {
      content: "i";
      color: #FFF; }
  .calc #bt-view-detail {
    padding-left: 20px;
    position: relative;
    color: #c5306e !important;
    display: block; }
    .calc #bt-view-detail:before {
      content: "";
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 12px 6px 0 6px;
      border-color: #c5306e transparent transparent transparent;
      position: absolute;
      left: 0;
      top: 50%;
      margin-top: -6px; }
    .calc #bt-view-detail.active:before {
      border-width: 0 6px 12px 6px;
      border-color: transparent transparent #c5306e transparent; }
  .calc .detail-section {
    display: none; }
  @media screen and (max-width: 500px) {
    .calc {
      margin-right: -20px !important;
      margin-left: -20px !important; }
      .calc td {
        padding: 8px !important;
        font-size: 11px; }
      .calc .text {
        width: 40%; }
      .calc .val1, .calc .val2 {
        width: 30%; } }

