* {
  -webkit-box-sizing: border-box !important;
  -moz-box-sizing: border-box !important;
  box-sizing: border-box !important;
}

html,body{
  width:100%;
  font-family: Arial, Helvetica,"STHeiti Medium", "Heiti TC Medium", "LiHei Pro", "Microsoft JhengHei Medium", "Microsoft Yahei", '微軟正黑體', '微软雅黑', 'Open Sans', sans-serif;
  font-size:18px;
  color:#333;
}

.calculator{padding:16px;}

input[type=text]{
  display:block;
  padding:6px;
  font-size:18px;
  width:100%;
  outline: none;
  border-style: none;
}

.input_border{    border:2px solid #333;
  border-radius: 5px;}



input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  margin: 11.5px 0;

}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 12px;
  cursor: pointer;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
  background: #333333;
  border-radius: 6px;
  border: 0px solid rgba(0, 0, 0, 0);
}
input[type=range]::-webkit-slider-thumb {
  box-shadow: -2px 2px 3px rgba(0, 0, 0, 0.3);
  border: 0px solid rgba(0, 0, 0, 0);
  height: 35px;
  width: 35px;
  border-radius: 20px;
  background: #ff5252;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -11.5px;

}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #363636;
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 12px;
  cursor: pointer;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
  background: #333333;
  border-radius: 6px;
  border: 0px solid rgba(0, 0, 0, 0);
}
input[type=range]::-moz-range-thumb {
  box-shadow: -2px 2px 3px rgba(0, 0, 0, 0.3), 0px 0px 1.5px rgba(13, 13, 13, 0.3);
  border: 0px solid rgba(0, 0, 0, 0);
  height: 35px;
  width: 35px;
  border-radius: 20px;
  background: #ff5252;
  cursor: pointer;
}
input[type=range]::-ms-track {
  width: 100%;
  height: 12px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: #333333;
  border: 0px solid rgba(0, 0, 0, 0);
  border-radius: 12px;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
}
input[type=range]::-ms-fill-upper {
  background: #dddddd;
  border: 0px solid rgba(0, 0, 0, 0);
  border-radius: 12px;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
}
input[type=range]::-ms-thumb {
  box-shadow: -2px 2px 3px rgba(0, 0, 0, 0.3), 0px 0px 1.5px rgba(13, 13, 13, 0.3);
  border: 0px solid rgba(0, 0, 0, 0);
  height: 35px;
  width: 35px;
  border-radius: 20px;
  background: #ff5252;
  cursor: pointer;
  height: 12px;
}
input[type=range]:focus::-ms-fill-lower {
  background: #333333;
}
input[type=range]:focus::-ms-fill-upper {
  background: #DDDDDD;
}

#result_circle {
  position: relative;
  display: inline-block;
  position: relative;
  text-align: center;
  vertical-align: top;
}
#result_circle #result_circle_content{
  position: absolute;
  display: block;
  width:100%;
  height:100%;
  top: 0;
  left: 0;
  padding: 27% 15%;
  text-align: left;
}
#result_circle_content table td {vertical-align: middle;line-height:1;padding: 8px 4px;}
#result_circle_content table td:first-child{width: 1px;
  white-space: nowrap;}

#result_principal,
#result_interest{}

.square {display:inline-block;width:20px; height:20px;vertical-align: middle;margin-right:6px;border-radius: 3px;}