.container {
  background-color: #eee;
  padding: 20px;
  padding-bottom: 10px;
  margin: 20px 0;
}

.calculator {
  padding: 0;
  margin: 0;
  width: 100%;
  font-size: 16px;
  line-height: 24px;
  clear: both;
}

.currency, .amount, .stake, .time, .totals {
  padding-bottom: 15px
}

.currency>label {
  margin-right: 10px;
}

.form-check {
  position: relative;
  display: inline-block;
  padding-left: 20px;
  margin-right: 10px;
}

input[type=checkbox], input[type=radio] {
  padding: 0;
}

.form-check-input {
  position: absolute;
  margin-top: 5px;
  margin-left: -18px
}

label {
  display: inline-block;
  margin-bottom: 0;
}

.form-check-label {
  margin-bottom: 0;
}

.amount {
  border-top: 1px solid #999;
  padding-top: 15px
}

.form-group {
  margin-bottom: 5px;
  clear: both;
}

.form-control {
  display: inline-block;
  margin-top: -2px;
  float: right;
  text-align: right;
  width: 100px;
  padding: 2px 12px;
  font-size: 20px;
  line-height: 22px;
  color: #b00000;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 4px;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control-plaintext {
    display: inline-block;
    width: 200px;
    float: right;
    text-align: right;
    padding: 3px 0;
    margin-bottom: 0;
    font-size: 22px;
    line-height: 24px;
    color: green;
    background-color: transparent;
    border: none;
}

.totals {
  border-top: 1px solid #999;
  padding-top: 15px
}

.col-12 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

.range {
  font-size: 14px;
  width: 100%;
}

.min-range-val {
  text-align: left;
  color: #999;
  display: inline-block
}

.max-range-val {
  text-align: right;
  color: #999;
  float: right;
  display: inline-block
}

input:focus {
  outline: none;
}

input[type='range'] {
    overflow: hidden;
    width: 100%;
    -webkit-appearance: none;
    background-color: #ffffff;
  }

input[type='range']::-webkit-slider-runnable-track {
    height: 14px;
    -webkit-appearance: none;
    color: #60B0FF;
    margin-top: 1px;
  }

input[type='range']::-webkit-slider-thumb {
    width: 12px;
    -webkit-appearance: none;
    height: 14px;
    cursor: ew-resize;
    background: #60B0FF;
    box-shadow: -550px 0 0 550px #60B0FF;
  }

/** FF*/
input[type="range"]::-moz-range-progress {
  background-color: #60B0FF;
}

input[type="range"]::-moz-range-track {
  background-color: #ffffff;
}

/* IE*/
input[type="range"]::-ms-fill-lower {
  background-color: #60B0FF;
}

input[type="range"]::-ms-fill-upper {
  background-color: #ffffff;
}

@media (max-width: 668px) {
label {
  width: 100%
  }
  
.container {
  padding: 20px 15px;
  padding-bottom: 25px
  }
  
.form-control, .form-control-plaintext{
  float: left;
  text-align: left;
  }
  
.form-control {
  margin-top: 2px
  }  
  
input[type='range']::-webkit-slider-runnable-track {
    height: 22px
  }

input[type='range']::-webkit-slider-thumb {
    height: 22px
  }
}

