html, body {
  overflow-x: hidden; 
}

.clearfix {
  *zoom: 1; }
.calculator {
  max-width: 720px;
  min-width: 280px;
  margin: 20px 0 0 0px;
}
@media screen and (max-width: 914px){
	.calculator{
		margin: 0px 0 0 0;
	}
}
.clearfix:before {
  content: '';
  display: table; }

.clearfix:after {
  content: '';
  display: table;
  clear: both; }

.calculator p.range {
  position: relative;
  width: 100%;
  height: 13.5px;
  margin-left: 0%;
  z-index:2;
  opacity: 1;
  margin-right: 0;
  margin-top: 80px; }

.range input {
  width: 99%;
  position: absolute;
  z-index: 1;
  top: -50px;
  top: -56px;
  height: 96px;
  background: none;
  -webkit-appearance: none;
  cursor: pointer; }

@supports (-moz-transform: translate(0, 0)) {
    .range input {
      width: 100%;
      left: -9px; 
    } 
  }

.range input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 25px;
  height: 25px;
  margin: -13px 0px 0px -15px;
  border-radius: 100px;
  background-color: #0078a7;
  cursor: pointer; }

.range input::-moz-range-thumb {
  width: 25px;
  height: 25px;
  margin: -13px 0 0 -15px;
  border-radius: 100px;
  background-color: #0078a7;
  cursor: pointer; }

.range input::-ms-thumb {
  width: 25px;
  height: 25px;
  margin: -13px 0px 0px -15px;
  border-radius: 100px;
  background-color: #0078a7;
  cursor: pointer; }

.range input::-webkit-slider-runnable-track {
  width: 100%;
  height: 1px;
  cursor: pointer;
  background: #0078a7; }

.range input::-moz-range-track {
  width: 100%;
  height: 1px;
  cursor: pointer;
  background: #0078a7; }

.range input::-ms-track {
  width: 100%;
  height: 1px;
  cursor: pointer;
  background: #0078a7; }

.range input:focus {
  background: none;
  outline: none; }

.range input::-ms-track {
  width: 100%;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent; }

.range-labels {
  position: relative;
  padding: 0;
  list-style: none;
  -moz-user-select: none;
   -ms-user-select: none;
       user-select: none;
  -webkit-user-select: none; }

.range-labels__step {
  position: relative;
  bottom: -3px;
  float: left;
  text-align: center;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  width: 6px;
  height: 6px;
  background: #a2d5ff;
  border-radius: 50%; }

.calculator__type-deadline > div.range-labels {
  width: 100%;
  margin-left: 0%;
  padding: 0;
  display: block;
  position: relative;
  bottom: 20px;
  height: 0; }

.calculator__type-deadline > div.range-labels .selected {
  background: #0078a7; }


.range-labels .active.selected::before {
  display: none; }

/* CUSTOM INPUT RANGE end
===============================
*/
form {
  width: 100%; }

.edu-calc {
  max-width: 720px; }

.button__on-colors {
  background: #a2d5ff !important;
  color: #004b79;
  /*box-shadow: inset 2.1px 2.1px 3px rgba(0, 0, 0, 0.09);*/ }
.discount__block{
  position: absolute;
    right: -109px;
    top: 0;
    color: #fff;
    text-align: center;
    width: 110px;
    height: 69px;
    background: #ff5158;
    font-family: 'Open Sans Semibold';
    -webkit-border-top-right-radius: 100px;
    -webkit-border-bottom-right-radius: 100px;
    -moz-border-radius-topright: 100px;
    -moz-border-radius-bottomright: 100px;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
    padding-top: 5px;
}
.ecs__title .first__order{
  background: #fff;
  width: 152px;
  height: 54px;
  text-align: right;
  line-height: 1.0;
  width: 108px;
  padding: 10px 15px 10px 30px;
  -webkit-border-top-left-radius: 100px;
-webkit-border-bottom-left-radius: 100px;
-moz-border-radius-topleft: 100px;
-moz-border-radius-bottomleft: 100px;
border-top-left-radius: 100px;
border-bottom-left-radius: 100px;
position: relative;
}
.first__order span:first-child{
  font-size: 18px;
  color: #ff5158;
  text-transform: uppercase;
  font-family: 'Open Sans Bold';
}
.first__order span:last-child{
  font-size: 14px;
  color: #86838b;
}
.ecs__title--hidden-dsc::after{
  content: ''; 
    position: absolute; /* Абсолютное позиционирование */
    left: 100px; bottom: -20px; /* Положение треугольника */
    border: 10px solid transparent; /* Прозрачные границы */
    border-top: 10px solid #ff5158; /* Добавляем треугольник */
}
.ecs__title--hidden-dsc{
  background: #ff5158;
  font-size: 18px;
  text-align: center;
  line-height: 47px;
  font-family: "Open Sans Regular";
  color: #fff;
  text-transform: uppercase;
  position: relative;
  max-width: 350px;
  height: 70px;
  border-radius: 50px;
}
.edu-calc__title--hidden-dsc{
  margin: 30px auto;
  line-height: 70px !important;
}

.calculator p {
  opacity: 0.9;
	font-size: 14px;
	line-height: 1.21;
	color: #a2d5ff;
  margin-left: 5%; }

.calculator__level p {
  margin-top: 10px; }

.calculator__deadline p {
  margin-top: 10px; }

.calculator__pages {
  float: left;
  width: 100%; }

.calculator__pages p {
  margin-top: 30px;
  margin-left: 17%;
  margin-bottom: 10px; }

.calculator__cost p {
	font-family: "Open Sans Semibold";
	font-size: 24px;
  text-transform: uppercase;
	font-weight: 600;
	line-height: 0.88;
	letter-spacing: 1.3px;
	text-align: center;
	color: #ffffff; }
.calculator__cost p:first-of-type::after{
  content: ':';
  
}
.calculator__type-select {
  background: #fff;
  margin-left: 5%;
  margin-top: 24px;
  border: none;
  width: 90%;
  height: 41px;
  border-radius: 5px;
  padding: 0 15px 0 15px;
  font-size: 16px;
  -webkit-appearance: none;
  background-image: url("https://99papers-1392.kxcdn.com/select-arrow.png");
  background-position: 97% 50%;
  background-repeat: no-repeat;
  box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.75);
  /*line-height: 1em;*/
  /* for FF */
  -moz-appearance: none;
  text-indent: 0.01px;
  text-overflow: '';
  /* for IE */
  -ms-appearance: none;
  appearance: none !important; }

.calculator__type-select {
  display: inline-block; }

.calculator__type-button, .calculator__level-button {
  display: table;
  float: left;
  margin-left: 5%;
  margin-right: 5%;
  margin-top: 7px;
  border: none;
  width: 90%;
  height: 60px;
  border-radius: 70px;
  font-size: 14px;
  color: #fff;
  letter-spacing: 1px;
  position: relative;
  z-index: 19;
  box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.46); }

.calculator__type-deadline {
  width: 90%;
  height: 20px;
  margin-left: 5%;
  margin-right: 5%; }

.calculator__type-button > div, .calculator__level-button > div, .calculator__type-deadline > div {
  display: table-cell;
  vertical-align: middle;
  width: 20%;
  text-align: center;
  padding: 2px 7px 0 7px;
  cursor: pointer;
  background: #003a68;
      border-left: 1px solid #a2d5ff;
    border-bottom: 1px solid #a2d5ff;
    border-top: 1px solid #a2d5ff;}
.calculator__type-button div:hover{
  background: #a2d5ff;
  color: #004b79;
}
.calculator__level-button div:hover{
  background: #a2d5ff;
  color: #004b79;
}
.calculator__type-deadline > div {
  width: 10%; }

.calculator__type-button > div:first-child {
  border-radius: 70px 0 0 70px;
  border-left: 1px solid #a2d5ff; }

.calculator__type-button > div:last-child {
  border: 1px solid #a2d5ff;
  border-radius: 0 70px 70px 0; }

.calculator__type-deadline > div:last-child {
  border: none;
  border-radius: 0 5px 5px 0; }

.calculator__level-button > div:first-child {
  border-radius: 70px 0 0 70px;
  border-left: 1px solid #a2d5ff;
  line-height: 15px; }

.calculator__level-button div {
  line-height: 15px; }

.calculator__level-button > div:last-child {
  border-radius: 0 70px 70px 0;
  border: 1px solid #a2d5ff; }

.range-before, .range-after {
  position: absolute;
  top: 15px;
  color: #a2d5ff;
  font-size: 13px; }

.range-popup {
  position: absolute;
  color: #004b79;
  letter-spacing: 1px;
  font-size: 14px;
  bottom: 35px;
  height: 44px;
  line-height: 44px;
  width: 186px;
  text-align: center;
  background-color: #a2d5ff;
	box-shadow: inset 0 1px 2px 0 rgba(64, 62, 62, 0.15);
  border-radius: 100px;
  margin-bottom: 10px;
  padding-top: 3px; }

.range-popup__triangle-left, .range-popup__triangle-center, .range-popup__triangle-right {
  position: absolute;
  width: 0;
  height: 0;
  bottom: -4px;
  border: 12px solid transparent;
  border-left: 12px solid #a2d5ff; }

.range-popup__triangle-left {
  left: 0; }

.range-popup__triangle-center {
  left: 87px;
  border: 6px solid transparent;
  border-top: 10px solid #a2d5ff;
  bottom: -16px; }

.range-popup__triangle-right {
  right: 0;
  border: 12px solid transparent;
  border-right: 12px solid #a2d5ff; }

.range-before {
  left: 0; }

.range-after {
  right: 0; }

.calculator__number {
  padding-top: 1px;
  padding-bottom: 1px;
  margin-left: 5%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 55px;
  width: 260px;
  background-color: #a2d5ff;
  border-radius: 100px; }

.calculator__number-target {
  background-color: initial;
  line-height: 40px;
  text-align: center;
  color: #004b79;
  outline: none;
  height: 54px;
  width: 182px;
  border: none;
  border-radius: 0;
  margin-right: auto;
  font-size: 40px;
  letter-spacing: 1.5px;
  cursor: text;
  -moz-appearance: textfield;;
  -webkit-user-select: none; }

.calculator__number-target::-webkit-outer-spin-button, .calculator__number-target::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0; }

.calculator__number-minus,
.calculator__number-plus {
  font-size: 32px;
  margin-top: 0px;
  text-align: center;
  width: 64px;
    height: 55px;
  line-height: 54px;
  border-radius: 50%;
  cursor: pointer;
  -ms-user-select: none;
      user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
  font-weight: 100; }
.calculator__number-plus:hover{
  background: #0078a7;
  color: #a2d5ff;
}
.calculator__number-minus:hover{
  background: #0078a7;
  color: #fff;
}
.calculator__number-plus:hover{
  color: #fff;
}
.calculator__number-plus:active{
  background: #0078a7;
  color: #a2d5ff;
}
.calculator__number-minus:active{
  color: #a2d5ff;
}
.calculator__number-minus {
  background-color: #a2d5ff;
  color: #004b79;
  width: 64px;
    height: 55px;
    line-height: 50px;
  margin-top: -1px;}
.calculator__number-plus {
  margin-top: -1px;
  color: #004b79; }

.calculator__number-words {
  float: left;
  line-height: 36px;
  color: #006d26;
  font-size: 13px;
  margin-left: 14px; }

.calculator__cost-usd {
  display: none;
  text-decoration: line-through;
  color: #a2d5ff;
  text-transform: uppercase;
  font-size: 18px;
  margin-top: 20px;
  margin-left: 9.5%;
  margin-bottom: 2px;
  padding-right: 5px;
}
#discount-price{
  color: #a2d5ff;
}
#discount-price:before{
  content: "$ ";
  color: #a2d5ff;
  /*font-size: 0.7em;*/
}
#discount-price::after{
  content: url(../../../uploads/group-5-copy.svg);
  color: #a2d5ff;
  text-decoration: none !important;
  position: absolute;
  right: 46%;


  /*font-size: 0.7em;*/
}

.calculator p.first-order {
  font-size: 14px;
  float: left;
  line-height: 14px;
  margin-top: 35px;
  display: none;
  width: 40%; }

.calculator p.first-order__discount {
  font-size: 18px;
  color: #ffbf3a;
  float: left;
  line-height: 18px;
  margin-top: 0px;
  display: none;
  width: 40%; }

.discount__border {
  border-bottom: 1px solid #ffbf3a; }

.calculator__cost {
  position: relative;
  float: right;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column;
          flex-flow: column;
  margin-left: 5%;
  margin-top: 20px;
  border-radius: 5px;
  width: 100%;
  margin-right: 20px;
}

.calculator__cost-usd, .calculator__cost-full {
  float: right;
  font-size: 30px;
	letter-spacing: 1.7px;

  display: none; }

.calculator__cost-full {
  display: block;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: space-around;
          margin-right: -50px;
margin-bottom: 15px;
}

.white-text {
  display: block;
  color: #fff;
  font-size: 27px;
  /*display: flex;*/
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: right; }

#s_f_count_page {
  color: #fff;
  font-size: 46px;
  margin-left: 5px;}

.calculator__cost-full-before {
  position: absolute;
  display: none;
  top: 40%;
  left: -10%;
  height: 1px;
  background-color: #ff4c4c;
  width: 124%; }

.calculator__order-button, .calculator__inquiry-button {
  float: left;
  border: none;
  background-color: #fff;
  cursor: pointer;
  border-radius: 5px;
  margin-bottom: 20px; }

.calculator__order-button {
  width: 45%;
  height: 71px;
  border-radius: 100px;
  float: right;
  background-color: #ff5158;
	box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.5);
  outline: none;
  padding-top: 5px;
  color: #fff;
  font-size: 24px;
  text-transform: uppercase;
  text-align: center;
  /*margin-left: 5%*/ }

.calculator__order-button:hover {
  background-color: #cd3200;
   }
.calculator__order-button:active {
  background-color: #a32600;
   }

.calculator__order-button:active {
  background-image: none;
  background-color: #0093e6; }

.calculator__inquiry-button {
  width: 45%;
  height: 71px;
  border-radius: 100px;
  background-color: inherit;
 box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.5);
	border: solid 3px #ffffff;
  padding-top: 5px;
  font-size: 24px;
  font-family: 'Open Sans Semibold';
  text-transform: uppercase;
  color: #fff;
  outline: none;
  margin-right: 2%;
  margin-left: 5%; }

.calculator__inquiry-button:hover {
  background-color: #fff;
  color: #0075c2; }

.calculator__inquiry-button:active {
  background-color: #0075c2;
  color: #fff; }

.calculator__level__select, .calculator__deadline__select, .calculator__type__select {
  margin-left: 5%;
  margin-top: 25px;
  border: none;
  width: 90%;
  height: 30px;
  border-radius: 5px;
  padding: 0 15px 10px 15px;
  font-size: 15px;
  font-weight: 400;
  float: left;
  color: #319060;
  border-bottom: 1px solid #81d4fa; }

.calculator__type__select {
  height: 34px;
  margin-top: 31px; }

.title-calculator, .calculator__number-words {
  display: none; }


body {
  margin: 0;
  padding: 0; }

body p {
  margin: 0; }

.calculator__wrapper-services-list {
  width: 90%;
  margin-left: 5%;
  background: white;
  margin-top: 7px;
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: .5s;
          transition-duration: .5s;
  -webkit-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
          transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
  max-height: 0px;
  overflow-y: hidden;
  top: -30px;
  z-index: 10;
  position: relative; }

.calculator__sort-list {
  width: 90%;
  margin-left: 5%;
  font-size: 17px;
  font-weight: normal;
  font-style: italic;
  font-stretch: normal;
  line-height: 1.0;
  letter-spacing: 0.8px;
  color: #003a68;
  border: none;
  margin-top: 55px;
  outline: none;
  padding-bottom: 9px;
  border-bottom: solid 1px #003a68;
  padding-left: 12px; }

.calculator__type-select {
  font-size: 20px;
  padding: 0 0 0 0;
  height: 230px;
  overflow: auto;
  background-image: none;
  box-shadow: none;
  margin-bottom: 20px;
  margin-top: 8px; }

.calculator__select-option[data-value='---------------'] {
  display: none; }

.calculator__type-select::-webkit-scrollbar {
  width: 10px; }

.calculator__type-select::-webkit-scrollbar-track {
  background-color: #003a68;
  box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.46);
  border-radius: 100px; }

.calculator__type-select::-webkit-scrollbar-thumb {
  width: 8px;
  border-radius: 100px;
  background-color: #fff;
  border: solid 2px #003a68; }

.calculator p.calculator__select-option {
  color: #003a68;
  font-size: 16px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.4;
  letter-spacing: 0.2px;
  margin: 0;
  padding-left: 10px;
  margin-right: 10px;
  padding-top: 6px;
  padding-bottom: 6px;
  cursor: pointer; }

.calculator p.calculator__select-option:hover {
  border-radius: 100px;
  background-color: #003a68;
  color: #fff; }

.calculator__custom-service {
  width: 90%;
  margin-left: 5%;
  margin-top: 15px;
  border-radius: 100px;
  background: #fff;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), inset 0 1px 0 0 rgba(255, 255, 255, 0.44);
  border: solid 1px #fff;

  display: none; }

.calculator p.calculator__custom-service-name {
  padding-left: 20px;
  float: left;
  width: 75%;
  font-size: 16px;
  color: #003a68;
  margin: 0;
  line-height: 60px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; }

.calculator p.calculator__custom-service-cross {
  height: 56px;
  width: 56px;
  float: right;
  margin-top: 2px;
  border-radius: 100px;
  background-color: #fff;
  border: solid 2px #003a68;
  text-align: center;
  line-height: 56px;
  cursor: pointer;
  font-family: none;
  color: #000; }

@media only screen and (max-width: 1023px) {
  .calculator__order-button, .calculator__inquiry-button {
    width: 43%; }
  /*.edu-calc {*/
  /*width: auto;*/
  /*margin-left: 0;*/
  /*}*/ }

@media only screen and (max-width: 767px) {
  .calculator__wrapper-services-list, .calculator__custom-service {
    width: 100%;
    margin: 0; }
  .calculator__custom-service {
    margin-top: 15px;
    height: 50px !important; }
  .calculator p.calculator__custom-service-name {
    width: 65%;
     }
  .calculator p.calculator__custom-service-cross {
    height: 46px;
    width: 46px;
    line-height: 46px; }
  .edu-calc {
    width: 96%;
    margin-left: 0;
    margin-top: 0px; }
  .calculator__type-button,
  .calculator__level-button {
    margin: 0;
    font-size: 12px;
    width: 100%; }
  .range-popup {
    font-size: 12px; }
  .calculator__number {
    padding-top: 1px;
    padding-bottom: 1px;
    overflow: hidden;
    height: 54px;
    width: 170px;
    border-radius: 100px; }
  .calculator__number-target {
    display: inline-block;
    line-height: 31px;
    width: 67px;
    font-size: 34px; }
  .calculator__number-target::-webkit-outer-spin-button, .calculator__number-target::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0; }
  .calculator__number-minus,
  .calculator__number-plus {
        display: inline-block;
    font-size: 37px;

    width: 54px !important;
    height: 54px !important;
    line-height: 54px; }
  .calculator__number-minus { }
  .calculator__number-plus {
}
  .calculator__number-words {
    line-height: 36px;
    font-size: 13px;
    margin-left: 14px; }
  .calculator__cost {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex; }
  .calculator__cost p {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 183px; }
  .calculator__type-button, .calculator__level-button {
    height: 50px; }
  .calculator__order-button, .calculator__inquiry-button {
    width: 40%;
    height: 60px;
    font-size: 17px;
    padding-top: 9px;
    /*margin-left: 10px;*/
    margin-top: 20px; }
  .calculator__cost p {
    font-size: 15px;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end; }
  .calculator__cost {
    margin-top: 10px;
    height: 50px;
    width: 100%; }
  #s_f_count_page {
    font-size: 30px; }
  .calculator__cost-usd {
    margin-top: 2px;
  }
}
