/* This line can be removed it was just for display on CodePen: */
.container {
  margin-top: 125px;
}

.slider-labels {
  margin-top: 10px;
}

/* Functional styling;
 * These styles are required for noUiSlider to function.
 * You don't need to change these rules to apply your design.
 */
.noUi-target,.noUi-target * {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -ms-touch-action: none;
  touch-action: none;
  -ms-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.noUi-target {
  position: relative;
  direction: ltr;
}

.noUi-base {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
/* Fix 401 */
}

.noUi-origin {
  position: absolute;
  right: 0;
  top: 0;
  left: 0;
  bottom: 0;
}

.noUi-handle {
  position: relative;
  z-index: 1;
}

.noUi-stacking .noUi-handle {
/* This class is applied to the lower origin when
   its values is > 50%. */
  z-index: 10;
}

.noUi-state-tap .noUi-origin {
  -webkit-transition: left 0.3s,top .3s;
  transition: left 0.3s,top .3s;
}

.noUi-state-drag * {
  cursor: inherit !important;
}

/* Painting and performance;
 * Browsers can paint handles in their own layer.
 */
.noUi-base,.noUi-handle {
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

/* Slider size and handle placement;
 */
.noUi-horizontal {
  height: 4px;
}

.noUi-horizontal .noUi-handle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  left: -7px;
  top: -7px;
  background-color: #09467a;
}

/* Styling;
 */
.noUi-background {
  background: #D6D7D9;
}

.noUi-connect {
  background: #09467a;
  -webkit-transition: background 450ms;
  transition: background 450ms;
}

.noUi-origin {
  border-radius: 2px;
}

.noUi-target {
  border-radius: 2px;
}

.noUi-target.noUi-connect {
}

/* Handles and cursors;
 */
.noUi-draggable {
  cursor: w-resize;
}

.noUi-vertical .noUi-draggable {
  cursor: n-resize;
}

.noUi-handle {
  cursor: default;
  -webkit-box-sizing: content-box !important;
  -moz-box-sizing: content-box !important;
  box-sizing: content-box !important;
}

.noUi-handle:active {
  border: 8px solid #09467a;
  border: 8px solid rgba(53,93,187,0.38);
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  left: -14px;
  top: -14px;
}

/* Disabled state;
 */
[disabled].noUi-connect,[disabled] .noUi-connect {
  background: #B8B8B8;
}

[disabled].noUi-origin,[disabled] .noUi-handle {
  cursor: not-allowed;
}
#input-number-max,
#input-number-min {
  background: rgba(9,70,122,.7);
  border-radius: 8px;
  border: 0;
  padding: 6px 10px;
  box-sizing: border-box;
  font-family: "Muli";
  font-size: 15px;
  line-height: 25px;
  color: #fff;
  width: 92%;
  outline: none;
}
.budget {
    padding-bottom: 33px;
}
#budgettitle {
    padding-bottom: 20px;
}
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  height: 34px;
}
.switch.dc {
    left: 64px;
}
.switch.proposal {
    left: 117px;
}
/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
    width: 22px;
    height: 21px;
    position: relative;
    right: -31px;
    top: -7px;
    z-index: 6; 
}
.switch input#dc {
    right: -24px;
}
.switch input#proposal {
    right: -24px;
}
/* The slider */
.slider {
  position: absolute;
    cursor: pointer;
    top: -3px;
    left: 126px;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border: 1px solid black;
    width: 36px;
    height: 18px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 17px;
    left: 19px;
      bottom: 0.3px;
    background-color: #cb0000;
    -webkit-transition: .4s;
    transition: .4s;
}

.switch input:checked + .slider {
  background-color: white;
}

.switch input:checked + .slider::before {
  background-color: white;
    background-color: #00cb00;
}

.switch input:focus + .slider {
  box-shadow: 0 0 1px white;
}

.switch input:checked + .slider:before {
  -webkit-transform: translateX(-18px);
  -ms-transform: translateX(-18px);
  transform: translateX(-18px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 18px !important;
}

.slider.round:before {
  border-radius: 50%;
}
.switch span.text {
    width: 200px;
    position: relative;
    top: -13px;
}

@media (max-width: 700px) {
  #input-number-max,
  #input-number-min {
      margin-right: 0;
      width: 100%;
  }
  .slider {display: inline-block;}
}