.rangeslider {

}
.rangeslider--horizontal {
  height: 30px;
  width: 100%;
}
.rangeslider__fill {
  position: absolute;
}
.rangeslider--horizontal .rangeslider__fill {
  top: 0;
  height: 100%;
}


.rangeslider__handle {
  cursor: pointer;
  display: inline-block;
  width: 24px;
  height: 24px;
  position: absolute;
  background-size: 100%;
  background: url(../img/sg_slider.png);
  margin-top: 10px;
  -webkit-animation: pulse 1s;
          animation: pulse 1s;
}
.rangeslider__handle:hover {
  opacity: 0.9;

}

@-webkit-keyframes pulse {
  0% {
    opacity: 0;
    margin-left:100px;
  }
  40% {
    opacity: 0;
    margin-left:100px;
  }
  100% {
    opacity: 1;s
   margin-left:0px;
  }
}
@keyframes pulse {
  0% {
    opacity: 0;
    margin-left:100px;
  }
  40% {
    opacity: 0;
    margin-left:100px;
  }
  100% {
    opacity: 1;
   margin-left:0px;
  }
}

.rangeslider__handle:after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: 100%;
}
.rangeslider__handle:active {
    background-size: 100%;
}
.rangeslider--horizontal .rangeslider__handle {
  top: -10px;
  touch-action: pan-y;
  -ms-touch-action: pan-y;
}
.rangeslider--vertical .rangeslider__handle {
  left: -10px;
  touch-action: pan-x;
  -ms-touch-action: pan-x;
}

#sg_calculator {
  display: none !important;
	width: 300px;
	height: 400px;
	background: url(../img/sg_calc_back.jpg) no-repeat;
    webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    border-radius: 4px;
    border: 2px solid #c2c2c2;
    margin-bottom: 10px;
    }


.sg_button {
	position: absolute;
	margin-left: 20px;
	margin-top: 250px;
	z-index: 1;
	cursor: pointer;
	background: url(../img/sg_button.png) no-repeat;
	width: 260px;
	height: 66px;
	border: 0;
}
.sg_button:hover, .sg_slide1:hover, .sg_slide2:hover { opacity: 0.9; }

.rangeslider {
	position: absolute;
	z-index: 10;
	width: 264px;
	margin-left: 1px;
	margin-top: 147px;
	background: none;
  margin-left: 18px;
}
.sg_spacer{
	display: block;
	height: 67px;
}

#amount-output {
    -webkit-animation: pulse_text 1s;
            animation: pulse_text 1s;
    color: #EC1B3B;
    font-family: 'Arial Black', Verdana, Gadget, sans-serif;
    font-weight: 800;
    font-size: 30px;
    text-align: right;
    width: 200px;
    position: absolute;
    top: 108px;
    left: 60px;
    z-index: 101;

}

#period-output {
    -webkit-animation: pulse_text 1s;
            animation: pulse_text 1s;
    color: #EC1B3B;
    font-family: 'Arial Black', Verdana, Gadget, sans-serif;
    font-weight: 800;
    font-size: 33px;
    text-align: right;
    width: 200px;
    position: absolute;
    top: 174px;
    left: 65px;

}


@-webkit-keyframes pulse_text {
  0%   { opacity: 0; }
  70%  { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes pulse_text {
  0%   { opacity: 0; }
  70%  { opacity: 0; }
  100% { opacity: 1; }
}

input[type="range"]:focus + .rangeslider .rangeslider__handle {}
