/* Калькуляторы */

.calc-wrapper,
.calc-wrapper-encoding,
.calc-wrapper-rehabilitation,
.calc-wrapper-rehabilitation_new,
.calc-wrapper-centers {
  font-family: "Open Sans", sans-serif;
  padding: 30px 60px 30px 60px;
  margin: 30px 0;
  border: 3px solid #007327;
  position: relative;
  font-weight: 600;
  color: #000;
}

.calc-wrapper span.heading,
.calc-wrapper-encoding span.heading,
.calc-wrapper-rehabilitation span.heading {
  display: block;
  margin-bottom: 8px;
}

.calc-wrapper .an-rehabilitation,
.calc-wrapper .an2-rehabilitation,
.calc-wrapper .an3-rehabilitation,
.calc-wrapper .bf-encoding,
.calc-wrapper .gender,
.calc-wrapper .gender-encoding,
.calc-wrapper .gender-rehabilitation,
.calc-wrapper .zt-rehabilitation,
.calc-wrapper-encoding .an-rehabilitation,
.calc-wrapper-encoding .an2-rehabilitation,
.calc-wrapper-encoding .an3-rehabilitation,
.calc-wrapper-encoding .bf-encoding,
.calc-wrapper-encoding .gender,
.calc-wrapper-encoding .gender-encoding,
.calc-wrapper-encoding .gender-rehabilitation,
.calc-wrapper-encoding .zt-rehabilitation,
.calc-wrapper-rehabilitation .an-rehabilitation,
.calc-wrapper-rehabilitation .an2-rehabilitation,
.calc-wrapper-rehabilitation .an3-rehabilitation,
.calc-wrapper-rehabilitation .bf-encoding,
.calc-wrapper-rehabilitation .gender,
.calc-wrapper-rehabilitation .gender-encoding,
.calc-wrapper-rehabilitation .gender-rehabilitation,
.calc-wrapper-rehabilitation .zt-rehabilitation,
.calc-wrapper-rehabilitation_new .an-rehabilitation,
.calc-wrapper-rehabilitation_new .an2-rehabilitation,
.calc-wrapper-rehabilitation_new .an3-rehabilitation,
.calc-wrapper-rehabilitation_new .bf-encoding,
.calc-wrapper-rehabilitation_new .gender,
.calc-wrapper-rehabilitation_new .gender-encoding,
.calc-wrapper-rehabilitation_new .gender-rehabilitation,
.calc-wrapper-rehabilitation_new .zt-rehabilitation,
.calc-wrapper-centers .an-rehabilitation,
.calc-wrapper-centers .an2-rehabilitation,
.calc-wrapper-centers .an3-rehabilitation,
.calc-wrapper-centers .bf-encoding,
.calc-wrapper-centers .gender,
.calc-wrapper-centers .gender-encoding,
.calc-wrapper-centers .gender-rehabilitation,
.calc-wrapper-centers .zt-rehabilitation {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.calc-wrapper .an-rehabilitation label:last-child,
.calc-wrapper .an2-rehabilitation label:last-child,
.calc-wrapper .an3-rehabilitation label:last-child,
.calc-wrapper .bf-encoding label:last-child,
.calc-wrapper .gender label:last-child,
.calc-wrapper .gender-encoding label:last-child,
.calc-wrapper .gender-rehabilitation label:last-child,
.calc-wrapper .zt-rehabilitation label:last-child,
.calc-wrapper-encoding .an-rehabilitation label:last-child,
.calc-wrapper-encoding .an2-rehabilitation label:last-child,
.calc-wrapper-encoding .an3-rehabilitation label:last-child,
.calc-wrapper-encoding .bf-encoding label:last-child,
.calc-wrapper-encoding .gender label:last-child,
.calc-wrapper-encoding .gender-encoding label:last-child,
.calc-wrapper-encoding .gender-rehabilitation label:last-child,
.calc-wrapper-encoding .zt-rehabilitation label:last-child,
.calc-wrapper-rehabilitation .an-rehabilitation label:last-child,
.calc-wrapper-rehabilitation .an2-rehabilitation label:last-child,
.calc-wrapper-rehabilitation .an3-rehabilitation label:last-child,
.calc-wrapper-rehabilitation .bf-encoding label:last-child,
.calc-wrapper-rehabilitation .gender label:last-child,
.calc-wrapper-rehabilitation .gender-encoding label:last-child,
.calc-wrapper-rehabilitation .gender-rehabilitation label:last-child,
.calc-wrapper-rehabilitation .zt-rehabilitation label:last-child {
  margin-left: 30px;
}

.calc-wrapper .an-rehabilitation.gr2 label:nth-child(2),
.calc-wrapper .an2-rehabilitation.gr2 label:nth-child(2),
.calc-wrapper .an3-rehabilitation.gr2 label:nth-child(2),
.calc-wrapper .bf-encoding.gr2 label:nth-child(2),
.calc-wrapper .gender-encoding.gr2 label:nth-child(2),
.calc-wrapper .gender-rehabilitation.gr2 label:nth-child(2),
.calc-wrapper .gender.gr2 label:nth-child(2),
.calc-wrapper .zt-rehabilitation.gr2 label:nth-child(2),
.calc-wrapper-encoding .an-rehabilitation.gr2 label:nth-child(2),
.calc-wrapper-encoding .an2-rehabilitation.gr2 label:nth-child(2),
.calc-wrapper-encoding .an3-rehabilitation.gr2 label:nth-child(2),
.calc-wrapper-encoding .bf-encoding.gr2 label:nth-child(2),
.calc-wrapper-encoding .gender-encoding.gr2 label:nth-child(2),
.calc-wrapper-encoding .gender-rehabilitation.gr2 label:nth-child(2),
.calc-wrapper-encoding .gender.gr2 label:nth-child(2),
.calc-wrapper-encoding .zt-rehabilitation.gr2 label:nth-child(2),
.calc-wrapper-rehabilitation .an-rehabilitation.gr2 label:nth-child(2),
.calc-wrapper-rehabilitation .an2-rehabilitation.gr2 label:nth-child(2),
.calc-wrapper-rehabilitation .an3-rehabilitation.gr2 label:nth-child(2),
.calc-wrapper-rehabilitation .bf-encoding.gr2 label:nth-child(2),
.calc-wrapper-rehabilitation .gender-encoding.gr2 label:nth-child(2),
.calc-wrapper-rehabilitation .gender-rehabilitation.gr2 label:nth-child(2),
.calc-wrapper-rehabilitation .gender.gr2 label:nth-child(2),
.calc-wrapper-rehabilitation .zt-rehabilitation.gr2 label:nth-child(2) {
  margin-left: 30px;
}

.calc-wrapper .duration-diseases,
.calc-wrapper .seniority-age,
.calc-wrapper .seniority-age-encoding,
.calc-wrapper .seniority-age-rehabilitation,
.calc-wrapper .seniority-z-rehabilitation,
.calc-wrapper-encoding .duration-diseases,
.calc-wrapper-encoding .seniority-age,
.calc-wrapper-encoding .seniority-age-encoding,
.calc-wrapper-encoding .seniority-age-rehabilitation,
.calc-wrapper-encoding .seniority-z-rehabilitation,
.calc-wrapper-rehabilitation .duration-diseases,
.calc-wrapper-rehabilitation .seniority-age,
.calc-wrapper-rehabilitation .seniority-age-encoding,
.calc-wrapper-rehabilitation .seniority-age-rehabilitation,
.calc-wrapper-rehabilitation .seniority-z-rehabilitation {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.calc-wrapper .duration-diseases > div:last-child,
.calc-wrapper .seniority-age-encoding > div:last-child,
.calc-wrapper .seniority-age-rehabilitation > div:last-child,
.calc-wrapper .seniority-age > div:last-child,
.calc-wrapper .seniority-z-rehabilitation > div:last-child,
.calc-wrapper-encoding .duration-diseases > div:last-child,
.calc-wrapper-encoding .seniority-age-encoding > div:last-child,
.calc-wrapper-encoding .seniority-age-rehabilitation > div:last-child,
.calc-wrapper-encoding .seniority-age > div:last-child,
.calc-wrapper-encoding .seniority-z-rehabilitation > div:last-child,
.calc-wrapper-rehabilitation .duration-diseases > div:last-child,
.calc-wrapper-rehabilitation .seniority-age-encoding > div:last-child,
.calc-wrapper-rehabilitation .seniority-age-rehabilitation > div:last-child,
.calc-wrapper-rehabilitation .seniority-age > div:last-child,
.calc-wrapper-rehabilitation .seniority-z-rehabilitation > div:last-child {
  margin-left: 30px;
}

.calc-wrapper .duration-diseases span,
.calc-wrapper .seniority-age span,
.calc-wrapper .seniority-age-encoding span,
.calc-wrapper .seniority-age-rehabilitation span,
.calc-wrapper .seniority-z-rehabilitation span,
.calc-wrapper-encoding .duration-diseases span,
.calc-wrapper-encoding .seniority-age span,
.calc-wrapper-encoding .seniority-age-encoding span,
.calc-wrapper-encoding .seniority-age-rehabilitation span,
.calc-wrapper-encoding .seniority-z-rehabilitation span,
.calc-wrapper-rehabilitation .duration-diseases span,
.calc-wrapper-rehabilitation .seniority-age span,
.calc-wrapper-rehabilitation .seniority-age-encoding span,
.calc-wrapper-rehabilitation .seniority-age-rehabilitation span,
.calc-wrapper-rehabilitation .seniority-z-rehabilitation span {
  display: block;
  margin-bottom: 8px;
}

.calc-wrapper .duration-diseases.um > div:last-child,
.calc-wrapper .seniority-age-encoding.um > div:last-child,
.calc-wrapper .seniority-age-rehabilitation.um > div:last-child,
.calc-wrapper .seniority-age.um > div:last-child,
.calc-wrapper .seniority-z-rehabilitation.um > div:last-child,
.calc-wrapper-encoding .duration-diseases.um > div:last-child,
.calc-wrapper-encoding .seniority-age-encoding.um > div:last-child,
.calc-wrapper-encoding .seniority-age-rehabilitation.um > div:last-child,
.calc-wrapper-encoding .seniority-age.um > div:last-child,
.calc-wrapper-encoding .seniority-z-rehabilitation.um > div:last-child,
.calc-wrapper-rehabilitation .duration-diseases.um > div:last-child,
.calc-wrapper-rehabilitation .seniority-age-encoding.um > div:last-child,
.calc-wrapper-rehabilitation .seniority-age-rehabilitation.um > div:last-child,
.calc-wrapper-rehabilitation .seniority-age.um > div:last-child,
.calc-wrapper-rehabilitation .seniority-z-rehabilitation.um > div:last-child {
  margin-left: 0;
}

.calc-wrapper .seniority-z-rehabilitation > div:last-child,
.calc-wrapper-encoding .seniority-z-rehabilitation > div:last-child,
.calc-wrapper-rehabilitation .seniority-z-rehabilitation > div:last-child {
  margin-left: 0;
}

.calc-wrapper select,
.calc-wrapper-encoding select,
.calc-wrapper-rehabilitation select {
  border: 1px solid #4c788c;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 30px;
  padding-left: 15px;
  height: 40px;
  width: 270px;
  background: url(images/arrow_down.png) no-repeat 95%;
  background-size: 13px 7px;
}

.calc-wrapper label.radio,
.calc-wrapper-encoding label.radio,
.calc-wrapper-rehabilitation label.radio {
  display: block;
  font-weight: 600;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.calc-wrapper label.radio.check,
.calc-wrapper-encoding label.radio.check,
.calc-wrapper-rehabilitation label.radio.check {
  color: #dadada;
}

.calc-wrapper label.radio input[type="radio"],
.calc-wrapper-encoding label.radio input[type="radio"],
.calc-wrapper-rehabilitation label.radio input[type="radio"] {
  display: none;
}

.calc-wrapper label.radio input[type="radio"] + i,
.calc-wrapper-encoding label.radio input[type="radio"] + i,
.calc-wrapper-rehabilitation label.radio input[type="radio"] + i {
  border-radius: 50%;
}

.calc-wrapper label.radio i,
.calc-wrapper-encoding label.radio i,
.calc-wrapper-rehabilitation label.radio i {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #4c788c;
  position: relative;
}

.calc-wrapper label.radio i:before,
.calc-wrapper-encoding label.radio i:before,
.calc-wrapper-rehabilitation label.radio i:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2aa469;
  border-radius: 50%;
  transform: scale(0);
  transition: 0.2s;
}

.calc-wrapper label.radio input:checked + i,
.calc-wrapper-encoding label.radio input:checked + i,
.calc-wrapper-rehabilitation label.radio input:checked + i {
  border-color: #2aa469;
}

.calc-wrapper label.radio input:checked + i:before,
.calc-wrapper-encoding label.radio input:checked + i:before,
.calc-wrapper-rehabilitation label.radio input:checked + i:before {
  transform: scale(1);
}

.calc-wrapper label.radio span,
.calc-wrapper-encoding label.radio span,
.calc-wrapper-rehabilitation label.radio span {
  display: inline-block;
  margin-left: 12px;
}

.calc-wrapper input.error,
.calc-wrapper select.error,
.calc-wrapper-encoding input.error,
.calc-wrapper-encoding select.error,
.calc-wrapper-rehabilitation input.error,
.calc-wrapper-rehabilitation select.error {
  border: 1px solid red !important;
}

.calc-wrapper button.calc-result,
.calc-wrapper button.calc-result-encoding,
.calc-wrapper button.calc-result-rehabilitation,
.calc-wrapper-encoding button.calc-result,
.calc-wrapper-encoding button.calc-result-encoding,
.calc-wrapper-encoding button.calc-result-rehabilitation,
.calc-wrapper-rehabilitation button.calc-result,
.calc-wrapper-rehabilitation button.calc-result-encoding,
.calc-wrapper-rehabilitation button.calc-result-rehabilitation,
.calc-wrapper-rehabilitation_new button.calc-result,
.calc-wrapper-rehabilitation_new button.calc-result-encoding,
.calc-wrapper-rehabilitation_new button.calc-result-rehabilitation {
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  padding: 13px 25px;
  background: #2aa469;
  border-radius: 4px;
  display: inline-block;
  position: absolute;
  z-index: 3;
  right: 55px;
  bottom: -20px;
  border: none;
  font-weight: 400;
  cursor: pointer;
}

.calc-wrapper p.result,
.calc-wrapper p.result-encoding,
.calc-wrapper p.result-rehabilitation,
.calc-wrapper-encoding p.result,
.calc-wrapper-encoding p.result-encoding,
.calc-wrapper-encoding p.result-rehabilitation,
.calc-wrapper-rehabilitation p.result,
.calc-wrapper-rehabilitation p.result-encoding,
.calc-wrapper-rehabilitation p.result-rehabilitation,
.calc-wrapper-rehabilitation_new p.result,
.calc-wrapper-rehabilitation_new p.result-encoding,
.calc-wrapper-centers p.result,
.calc-wrapper-centers p.result-encoding {
  font-weight: 400;
  font-size: 16px;
  min-height: 25px;
  text-align: left;
}

.calc-wrapper p.result img,
.calc-wrapper p.result-encoding img,
.calc-wrapper p.result-rehabilitation img,
.calc-wrapper-encoding p.result img,
.calc-wrapper-encoding p.result-encoding img,
.calc-wrapper-encoding p.result-rehabilitation img,
.calc-wrapper-rehabilitation p.result img,
.calc-wrapper-rehabilitation p.result-encoding img,
.calc-wrapper-rehabilitation p.result-rehabilitation img {
  max-width: 18px;
}

.calc-wrapper-rehabilitation_new p.result img,
.calc-wrapper-rehabilitation_new p.result-encoding img,
.calc-wrapper-rehabilitation_new p.result-rehabilitation img,
.calc p.result-rehabilitation img {
  max-width: 18px;
}

.calc-wrapper p.result b,
.calc-wrapper p.result-encoding b,
.calc-wrapper p.result-rehabilitation b,
.calc-wrapper-encoding p.result b,
.calc-wrapper-encoding p.result-encoding b,
.calc-wrapper-encoding p.result-rehabilitation b,
.calc-wrapper-rehabilitation p.result b,
.calc-wrapper-rehabilitation p.result-encoding b,
.calc-wrapper-rehabilitation p.result-rehabilitation b,
.calc-wrapper-rehabilitation p.result b,
.calc-wrapper-rehabilitation p.result-encoding b,
.calc-wrapper-rehabilitation p.result-rehabilitation b {
  font-size: 18px;
}

.approx-price,
.approx-price-encoding,
.approx-price-rehabilitation {
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  text-align: right;
  margin-top: 0;
  margin-bottom: 20px;
  min-height: 28px;
}

.approx-price img,
.approx-price-encoding img,
.approx-price-rehabilitation img {
  max-width: 18px;
}

.approx-price b,
.approx-price-encoding b,
.approx-price-rehabilitation b {
  font-size: 18px;
}

@media (max-width: 1199px) {
  .calc-wrapper,
  .calc-wrapper-encoding,
  .calc-wrapper-rehabilitation,
  .calc-wrapper-rehabilitation_new {
    padding: 30px 20px;
  }
}

@media (max-width: 991px) {
  .calc-wrapper .duration-diseases,
  .calc-wrapper .seniority-age,
  .calc-wrapper-encoding .seniority-age-encoding,
  .calc-wrapper-rehabilitation .seniority-age-rehabilitation,
  .calc-wrapper-rehabilitation_new .seniority-age-rehabilitation {
    flex-direction: column;
  }
  .calc-wrapper .duration-diseases > div:last-child,
  .calc-wrapper .seniority-age > div:last-child,
  .calc-wrapper-encoding .seniority-age-encoding > div:last-child,
  .calc-wrapper-rehabilitation .seniority-age-rehabilitation > div:last-child,
  .calc-wrapper-rehabilitation_new
    .seniority-age-rehabilitation
    > div:last-child {
    margin-left: 0;
    margin-top: 15px;
  }
  .calc-wrapper .duration-diseases > div,
  .calc-wrapper .seniority-age > div,
  .calc-wrapper select,
  .calc-wrapper-encoding .seniority-age-encoding select,
  .calc-wrapper-encoding .seniority-age-encoding > div,
  .calc-wrapper-rehabilitation .seniority-age-rehabilitation select,
  .calc-wrapper-rehabilitation .seniority-age-rehabilitation > div,
  .calc-wrapper-rehabilitation .seniority-z-rehabilitation select,
  .calc-wrapper-rehabilitation .seniority-z-rehabilitation > div,
  .calc-wrapper-rehabilitation_new .seniority-age-rehabilitation select,
  .calc-wrapper-rehabilitation_new .seniority-age-rehabilitation > div,
  .calc-wrapper-rehabilitation_new .seniority-z-rehabilitation select,
  .calc-wrapper-rehabilitation_new .seniority-z-rehabilitation > div {
    width: 100%;
  }
.result-encoding,
    .result-rehabilitation,
    .approx-price-encoding,
    .approx-price-rehabilitation,
    .approx-price,
    .calc-wrapper p.result {
        font-size: 14px!important;
    }
    .result-encoding b,
    .result-rehabilitation b,
    .approx-price-encoding b,
    .approx-price-rehabilitation b,
    .approx-price b,
    .calc-wrapper p.result b {
        font-size: 15px!important;
        white-space: nowrap
    }
    div.consultation:after {opacity: .5}
}

@media (max-width: 767px) {
  .calc-wrapper-rehabilitation .an-rehabilitation,
  .calc-wrapper-rehabilitation .an2-rehabilitation,
  .calc-wrapper-rehabilitation
    .an3-rehabilitation
    .calc-wrapper-rehabilitation
    .an-rehabilitation,
  .calc-wrapper-rehabilitation .an2-rehabilitation,
  .calc-wrapper-rehabilitation .an3-rehabilitation {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .calc-wrapper-rehabilitation .an-rehabilitation label,
  .calc-wrapper-rehabilitation .an2-rehabilitation label,
  .calc-wrapper-rehabilitation .an3-rehabilitation label {
    margin: 8px 0 0 0 !important;
  }
}
.calc-wrapper-rehabilitation_new,
.calc-wrapper-centers {
  padding: 20px 40px;
  margin-bottom: 60px;
  background: #f0f3f1;
}

.calc-wrapper-rehabilitation_new .heading,
.calc .heading {
  font-size: 1.65vh;
  color: #4f4f4f;
}

.calc-wrapper-rehabilitation_new .calc-result-rehabilitation:before {
  font-family: "FontAwesome";
  content: "\f079";
  font-size: 145%;
  padding: 0 5px 0 0;
  font-weight: normal;
  position: relative;
  top: 2px;
}
.calc button.calc-result-rehabilitation {
  display: none;
}

.calc-wrapper-rehabilitation_new button.calc-result-rehabilitation:hover {
  background: #3eb77b;
  color: #fff;
  border: 3px solid #3ba771;
}


/*Ползунки*/
.range-wrap {
    background: #ededed;
    margin: 20px 0;
    border: 8px solid #BFE2FF;    
    box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 16px 20px rgba(0,0,0,0.2);    
}
.range-slider * {
    margin: 0;
    padding: 0;
    border: 0;
}    
.range-slider, 
.range-ticks,
.label-range{
    display: flex;
}
.range-slider {
    flex-flow: column nowrap;
    margin: 0 auto;
    max-width: 18em;
    /*padding: 0 1.5em 1.5em 1.5em;*/
    font-size: calc(20px + (20)*(100vw)/(2000));
    box-sizing: border-box;   
}
.range-slider input[type=range], 
.range {
    border-radius: 0.75em;
    overflow: hidden;
    position: relative;
    height: 1.5em;   
    margin-bottom: 25px;  
    cursor: pointer;
}
.range-slider input[type=range] {
    background-color: transparent;
    font: 1em/1.5 'Open Sans',sans-serif;
    box-shadow: 0.3em 0.3em 0.4em #c1c2c5 inset, -0.3em -0.3em 0.4em #fff inset;
    display: block;
    padding: 0 0.1em;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.range-slider input[type=range]:focus {
    outline: transparent;
}
.range-ticks {
    font: 1em/1.5 'Open Sans',sans-serif;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    position: absolute;
    top: 0.04em;
    left: 0.75em;
    width: calc(100% - 1.5em);
    height: 100%;
}
.range-tick, 
.range-tick-text {
    display: inline-block;
}
.range-tick {
    color: #454954;
    font-size: 0.5em;
    text-align: center;
    width: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
.range-tick-text {
    transform: translateX(-50%);
}
.label-range {
    font: 0.8em/1.5 'Open Sans',sans-serif;
    margin-top: 1em;
    margin-bottom: 0.5em;
}
.data-range {
    display: flex;
    height: 3em;    
    width: 3em;
    justify-content: center;
    align-items: center;    
    text-align: center;
    font: bold 0.5em/1.5 'Open Sans',sans-serif;
    color: #FFF;
    position: absolute;
    top: 0;
    z-index: 2;
    pointer-events: none;
    background-color: #007327;
    border: 0;
    border-radius: 50%;
   box-shadow: -0.3em -0.3em 0.5em #2D9C65 inset, 0 -0.2em 0.2em 0 rgba(0,0,0,0.1), 0.3em 0.5em 0.8em  rgba(0,0,0,0.2);
       /*transition: all cubic-bezier(0.8, 0.34, 0.28, 1.15) 0.35s;*/
}

/*Стилизация кнопок калькулятора*/

.r-all {
/*    background: #F6F7F7;
    border: solid 2px rgba(62,183,23,0.1) ;*/
    background-color: transparent;
     box-shadow: 0.3em 0.3em 0.4em #c1c2c5 inset, -0.3em -0.3em 0.4em #fff inset;
    border-radius: 10px;
    position: relative;
    display: flex;
    margin: 7px 0 10px 0;
}
.r-all .r-group {
    margin: 10px;
    width: calc(100% - 20px);
    display: flex;
    background: #FFF;
    border: 1px solid #DDD;
    border-radius: 5px;
    transition: background .2s ease;
    background: #E6E7E6;
    color: #66716A;
}
.r-all .r-group input {
    opacity: 0;
    position: absolute;
}
.r-all .r-group input + label {
    border-radius: 10px;
    flex: 1 1 100%;
    font-size: 1.2rem;
    font-weight: normal;
    margin: 0;
    padding: .9vh 0;
    position: relative;
    text-align: center;
    z-index: 1;
    transition: color .4s ease;
    cursor: pointer;
}
@media (max-width:767px) {
.r-all .r-group input + label {
      font-size: .8rem;  
}
}
@media (max-width:630px) {
.r-all .r-group input + label {
      font-size: .6rem;  
}
}
.r-all::before {
    background: #007327;
    border-radius: 5px;
    /*box-shadow: 0 2px 5px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.1);*/
       box-shadow: -0.3em -0.3em 0.5em #2D9C65 inset, 0 -0.2em 0.2em 0 rgba(0,0,0,0.1), 0.3em 0.5em 0.8em  rgba(0,0,0,0.2);
    color: #FFF;
    content: "";
    display: block;
    height: calc(100% - 20px);
    position: absolute;
    top: 10px;
    left: 10px;
    transform: translateX(calc((100% + (10px * 2)) * (var(--options-active) - 1)));
    transition: transform cubic-bezier(0.8, 0.34, 0.28, 1.15) 0.35s;
    width: calc((100% - ((var(--options)*10px)*2)) / var(--options));
}
.r-all .r-group input:checked + label {
    color: #FFF;
}
.r-all .r-group:hover  {
    background: #BED6CA;
    color: #414F46;

}

.calc{
    padding-bottom: 50px;
}
.calc h1{
   color: #2aa469;
   text-transform: uppercase;
   text-align: center;
   font-size: 1.7rem;
   margin: .5rem 0 0rem 0;
   text-shadow: 2px 2px 2px rgba(255,255,255,.8);
}
.calc-wrapper-centers h1 {
    font-size: 1.3rem;
}

@media (max-width:767px) {
.calc-wrapper-centers h1 {
    font-size: .8rem;
} 
}


#age_slider .range {
    margin-bottom: 5px;
}


.calc .calc-debug {
    background: #fff;
    min-width: 142px;
    border: 2px dashed #ddd;
    padding: 15px;
    position: absolute;
    left: -130px;
    top: 220px;
    border-radius: 4px;
    transition: all .3s;
}
.calc .calc-debug p{
    font-size: 15px;
    font-weight: normal; 
    padding: 0;
    margin: 0;
}


.calc .result-ekran {
    /*position: absolute;*/
    width: 90%;
    background: #E2E7E5;
    border: 3px solid #007327;
    /*color: #3eb77b;*/
    font-size: 120%;
    transition: all .55s;
    /*right: 25px;*/
    bottom: -40px;
    margin: 0 auto;
    padding: 10px;
    min-height: 80px;
    text-align: center;
    }

.calc .result-progress{
    position: absolute;
    top: 15px;
    margin: 0 auto;
    width: 45px;
    transition: all .1s;
}

.calc .result-ekran p {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    font-weight: normal;
    font-size: 1rem;
    text-shadow: 2px 2px 2px rgba(255,255,255,.8);
}

.calc-wrapper-centers .result-ekran {
     min-height: 50px;
    bottom: -25px;     
}

.calc-wrapper-centers .result-progress {
    width: 30px;
    top: 7px;
}

@media (max-width: 767px) {
  .calc-wrapper-rehabilitation_new, .calc-wrapper-centers {padding: 5px 5px 60px 5px;}
  .calc .result-ekran{left: 0; width: 100%; bottom: -30px; }
  .calc .result-ekran p {font-size: 70%;}
}

.button-container {
    margin-bottom: 30px;
}

.button-consult {
  width: 100%;
  height: 50px;
  background: #007327;
  border-radius: 10px;
  color: white;
  border: none;
  padding: 15px;
  text-align: center;
}

.button-consult:hover {
    color: white;
}