*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	/*background: green;*/
}
.box__align{
	margin: 0 auto;
	text-align: center;
}
.calc{
	max-width: 880px;
	width: 100%;
	margin: 0 auto;
	padding: 50px;
	/*position: relative;*/
}
.calc__p{
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 20px;
}
.calc__cost{
	width: 200px;
	font-size: 32px;
	margin-bottom: 50px;
	font-weight: bold;
	padding: 5px 15px;
	background: #dadada;
	border-radius: 10px;
}
.calc__range{
	width: 100%;
}
.calc__p-minmax{
	position: absolute;
	top: -10px;
	font-size: 20px;
	font-weight: bold;
}
.calc__p-min{
	left: -38px;
}
.calc__p-max{
	right: -50px;
}






.calc input[type=range] {
  -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
  width: 100%; /* Specific width is required for Firefox. */
  background: transparent; /* Otherwise white in Chrome */
}

.calc input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
}

.calc input[type=range]:focus {
  outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}

.calc input[type=range]::-ms-track {
  width: 100%;
  cursor: pointer;

  /* Hides the slider so custom styles can be added */
  background: transparent; 
  border-color: transparent;
  color: transparent;
}


/* Special styling for WebKit/Blink */
.calc input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  /*border: 1px solid #000000;*/
  height: 50px;
  width: 50px;
  border-radius: 50px;
  background: #fff;
  cursor: pointer;
  margin-top: -22px; /* -14px You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d; /* Add cool effects to your sliders! */
}

/* All the same stuff for Firefox */
.calc input[type=range]::-moz-range-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  height: 50px;
  width: 50px;
  border-radius: 50px;
  background: #fff;
  cursor: pointer;
}

/* All the same stuff for IE */
.calc input[type=range]::-ms-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 50px;
  width: 50px;
  border-radius: 50px;
  background: #ffffff;
  cursor: pointer;
}

.calc input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  background: #9ccb3b;/*тут*/
  border-radius: 1.3px;
  border: 0.2px solid #010101;
}

.calc input[type=range]:focus::-webkit-slider-runnable-track {
  background: #00B663;
}

.calc input[type=range]::-moz-range-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  background: #9ccb3b;/*тут*/
  border-radius: 1.3px;
  border: 0.2px solid #010101;
}

.calc input[type=range]:focus::-moz-range-track {
	background: #00B663;
}

.calc input[type=range]::-ms-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  border-width: 16px 0;
  color: transparent;
}
.calc input[type=range]::-ms-fill-lower {
  background: #2a6495;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
.calc input[type=range]:focus::-ms-fill-lower {
  background: #9ccb3b;/*тут*/
}
.calc input[type=range]::-ms-fill-upper {
  background: #9ccb3b;/*тут*/
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
.calc input[type=range]:focus::-ms-fill-upper {
  background: #00B663;
}



.calc input[type=range] {
	display: inline-block;
	margin: 0 auto;
	-webkit-appearance: none;
	/*max-width: 80%;*/
	background: transparent;
}
.box__range{
	position: relative;
	display: flex;
	margin-bottom: 50px;
}
#outputRange{
	position: absolute;
	pointer-events: none;
	width: 35px;
	height: 35px;
}

.calc__span {
  display: block;
  position: absolute;
  left: 25px;
  top: 0;
  right: 25px;
  bottom: 0;
  pointer-events: none;
}

.calc__output {
  position: absolute;
  font-size: 14px;
  font-weight: bold;
  top: 0;
  bottom: -14px;
  margin: auto 0;
  transform: translateX(-50%);
  text-align: center;
  /*color: white;*/
}
.calc__inline{
	display: inline-block;
	text-align: right;
}
@media screen and (max-width: 620px){
	.calc{
		padding: 20px 50px;
	}
	.calc__p{
		font-size: 18px;
	}
	.calc__cost{
		font-size: 24px;
		width: 150px;
		margin-bottom: 35px;
	}
  .calc__p-minmax{
    top: -6px;
    font-size: 15px;
  }
  .calc__p-min {
    left: -35px;
  }
  .calc__p-max {
    right: -45px
  }
}