/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on December 11, 2017 */
@font-face {
  font-family: cabinbold;
  src: url(../fonts/cabin-bold-webfont.woff2) format('woff2'), url(../fonts/cabin-bold-webfont.woff) format('woff');
  font-weight: 400;
  font-style: normal
}

@font-face {
  font-family: cabinmedium;
  src: url(../fonts/cabin-medium-webfont.woff2) format('woff2'), url(../fonts/cabin-medium-webfont.woff) format('woff');
  font-weight: 400;
  font-style: normal
}

@font-face {
  font-family: cabinregular;
  src: url(../fonts/cabin-regular-webfont.woff2) format('woff2'), url(../fonts/cabin-regular-webfont.woff) format('woff');
  font-weight: 400;
  font-style: normal
}

@font-face {
  font-family: cabinsemibold;
  src: url(../fonts/cabin-semibold-webfont.woff2) format('woff2'), url(../fonts/cabin-semibold-webfont.woff) format('woff');
  font-weight: 400;
  font-style: normal
}

@font-face {
  font-family: roboto_slabbold;
  src: url(../fonts/robotoslab-bold-webfont.woff2) format('woff2'), url(../fonts/robotoslab-bold-webfont.woff) format('woff');
  font-weight: 400;
  font-style: normal
}

@font-face {
  font-family: roboto_slabregular;
  src: url(../fonts/robotoslab-regular-webfont.woff2) format('woff2'), url(../fonts/robotoslab-regular-webfont.woff) format('woff');
  font-weight: 400;
  font-style: normal
}

@font-face {
  font-family: roboto_slabthin;
  src: url(../fonts/robotoslab-thin-webfont.woff2) format('woff2'), url(../fonts/robotoslab-thin-webfont.woff) format('woff');
  font-weight: 400;
  font-style: normal
}

@font-face {
  font-family: open_sansregular;
  src: url(../fonts/opensans-regular-webfont.woff2) format('woff2'), url(../fonts/opensans-regular-webfont.woff) format('woff');
  font-weight: 400;
  font-style: normal
}

@font-face {
  font-family: open_sansbold;
  src: url(../fonts/opensans-bold-webfont.woff2) format('woff2'), url(../fonts/opensans-bold-webfont.woff) format('woff');
  font-weight: 400;
  font-style: normal
}

body{margin: 0;}

.calc-block {
  width: 100%;
  display: table;
  background-color: #1a4054;
  padding: 20px 40px;
  box-sizing: border-box;
}

.calc-block p, .calc-block span {
  color: #fff;
  line-height: 1.5;
}

.calc-block .title1 {
  font-family: roboto_slabbold;
  font-size: 18px;
  margin: 20px 0
}

.calc-block .title2 {
  font-family: open_sansregular;
  font-size: 16px;
  margin: 16px 0
}

.calc-block .calc {
  display: table-cell;
  border-right: 2px solid #2e9afe;
  padding-right: 40px
}

.calc-block .calc .input-value {
  width: 250px;
  background-color: #fff;
  border-radius: 50px;
  margin: 0 auto
}

.calc-block .calc .input-value span {
  display: inline-block;
  padding: 5px 20px;
  font-family: open_sansbold;
  font-size: 24px;
  color: #1a4054
}

.calc-block .calc .input-value input {
  width: 70%;
  border: none;
  font-family: open_sansregular;
  font-size: 22px;
  color: #1a4054;
  padding: 0;
  text-align: center
}

.calc-block .calc .slider {
  display: inline-block;
  vertical-align: top
}

.calc-block .calc .slider .range-values {
  position: relative;
  width: 160px
}

.calc-block .calc .slider .range-values span {
  font-family: open_sansbold;
  font-size: 18px
}

.calc-block .calc .slider .range-values span:nth-child(2) {
  position: absolute;
  right: 0
}

.calc-block .calc .slider-value {
  display: inline-block;
  width: 68px;
  text-align: center;
  background-color: #fff;
  padding: 5px 0;
  margin-left: 18px;
  border-radius: 5px
}

.calc-block .calc .slider-value span {
  font-family: open_sansregular;
  font-size: 22px;
  color: #1a4054
}

.calc-block .calc .calc-btn {
  text-align: center;
  width: 70%;
  font-family: open_sansbold;
  font-size: 16px;
  background-color: transparent;
  color: #2e9afe;
  border: 3px solid #2e9afe;
  border-radius: 5px;
  padding: 10px;
  margin: 25px auto;
  cursor: pointer;
  -webkit-transition: all ease .3s;
  -moz-transition: all ease .3s;
  -ms-transition: all ease .3s;
  -o-transition: all ease .3s;
  transition: all ease .3s
}

.calc-block .calc .calc-btn:hover {
  background-color: #2e9afe;
  color: #1a4054
}

.calc-block .result {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  padding-left: 40px
}

.calc-block .result .title-result span {
  font-family: open_sansregular;
  font-size: 30px;
  letter-spacing: -1px;
}

.calc-block .result .title-result span:nth-child(1) {
  font-family: open_sansbold;
  margin-right: 10px
}

.calc-block input:focus[type=text] {
  border: 0;
  outline: 0;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none
}

.calc-block input[type=range] {
  margin: auto;
  outline: 0;
  padding: 0;
  height: 4px;
  width: 160px;
  background-color: #fff;
  background-image: -webkit-gradient(linear, 50% 0, 50% 100%, color-stop(0, #fff), color-stop(100%, #fff));
  background-size: 10% 100%;
  background-repeat: no-repeat;
  border-radius: 10px;
  cursor: pointer;
  -webkit-appearance: none
}

.calc-block input[type=range]::-webkit-slider-runnable-track {
  box-shadow: none;
  border: none;
  background: 0 0;
  -webkit-appearance: none
}

.calc-block input[type=range]::-webkit-slider-thumb {
  height: 12px;
  width: 12px;
  border: 0;
  background: #2e9afe;
  border-radius: 50px;
  box-shadow: 0 0 1px 0 rgba(0, 0, 0, .1);
  -webkit-appearance: none
}

@media (max-width:692px) {
  .calc-block {
    display: block;
    padding: 30px
  }

  .calc-block .calc, .calc-block .result {
    display: blocK;
    padding: 0
  }

  .calc-block .calc {
    border: none;
    border-bottom: 2px solid #2e9afe
  }

  .calc-block .calc .input-value {
    width: 100%
  }

  .calc-block .calc .slider {
    width: 60%
  }

  .calc-block .calc .slider .range-values, .calc-block .calc .slider input[type=range] {
    width: 100%
  }

  .calc-block .calc .slider-value {
    margin-left: 8px;
    width: 30%;
    float: right
  }

  .calc-block .calc .calc-btn {
    width: 75%
  }
}

.btt:hover {
  background-color: #2e9afe;
  color: #1a4054
}
.btt {
  text-align: center;
  width: 60%;
  font-family: open_sansbold;
  font-size: 16px;
  background-color: transparent;
  color: #2e9afe;
  border: 3px solid #2e9afe;
  border-radius: 5px;
  padding: 10px;
  margin: 25px auto;
  cursor: pointer;
  -webkit-transition: all ease .3s;
  -moz-transition: all ease .3s;
  -ms-transition: all ease .3s;
  -o-transition: all ease .3s;
  transition: all ease .3s
}


.calc-block .result-text {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  padding-left: 40px
}

.calc-block .result-text .title-result-text span {
  font-family: open_sansregular;
  font-size: 30px;
  letter-spacing: -1px;
}

.calc-block .result-text .title-result-text span:nth-child(1) {
  font-family: open_sansbold;
  margin-right: 10px
}
