/* --- --- --- Useful --- --- --- */

.useful {
  padding: 80px 0;
  /* position: relative; */
  background: linear-gradient(
    90deg,
    rgba(253, 253, 253, 1) 0%,
    rgba(242, 249, 254, 1) 100%
  );
}
.useful__container {
}
.useful img {
  position: absolute;
  top: 0;
  right: 300px;
  height: 110%;
}
.container {
}

.useful__title {
}

.title {
}

.useful__subtitle {
}

.subtitle {
}

/* --- --- --- Calculator Podohodnogo Naloga --- --- --- */

.calc-podohod {
  margin-top: 100px;
  margin-bottom: 80px;
}

.calc-podohod__container {
}

.calc-podohod__row {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.calc-podohod__row img {
  position: absolute;
  top: 0px;
  right: 0;
  height: 80%;
  z-index: 0;
}

.calc-podohod__body {
  width: 740px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.09);
  padding: 80px 180px;
  border-radius: 3px;
}

.calc-podohod__title {
  font-family: "Roboto";
  font-weight: 500;
  color: #3d3d46;
  font-size: 24px;
  line-height: 110%;
  text-align: center;
  margin-bottom: 40px;
}

.calc-podohod__column {
  display: flex;
  flex-direction: column;
}

.calc-podohod__label {
  font-family: "Roboto";
  font-weight: 400;
  color: #3d3d46;
  font-size: 18px;
  line-height: 140%;
  text-align: left;
  margin-bottom: 5px;
}

.calc-podohod__input {
  border: 2px solid #3972c9;
  width: 170px;
  height: 30px;
  border-radius: 3px;
  font-family: "Roboto";
  font-weight: 400;
  color: #3d3d46;
  font-size: 18px;
  line-height: 140%;
  text-align: left;
  margin-bottom: 5px;
  padding-left: 10px;
}

.calc-podohod__input:focus {
  border: 3px solid#3972C9;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.09);
}

.calc-podohod__input::placeholder {
  font-size: 14px;
}

.calc-podohod__input::-webkit-inner-spin-button {
  display: none;
}

#calcPodohod-summaDohoda,
.custom-checkbox {
  margin-bottom: 40px;
}

.calc-podohod__btn {
  width: 144px;
  height: 40px;
  margin: 0 auto;
  color: white;
  background: #3972c9;
  display: block;
  font-family: "Roboto";
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  text-align: center;
  border-radius: 3px;
}

.calc-podohod__btn:hover {
  box-shadow: -2px -8px 16px rgba(0, 0, 0, 0.05),
    2px 8px 16px rgba(0, 0, 0, 0.15);
}

#calcPodohod-summaChildren {
  margin-bottom: 40px;
}

.calc-podohod__body-result {
  display: none;
  width: 550px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.09);
  padding: 0px 100px;
  background: #3972c9;
}

.calc-podohod__title-result {
  font-family: "Roboto";
  font-weight: 500;
  font-size: 24px;
  line-height: 140%;
  text-align: left;
  margin-bottom: 40px;
  color: white;
  margin-top: 75px;
}

.calc-podohod-result__column {
  display: flex;
  flex-direction: column;
}

.calc-podohod-result__item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.calc-podohod-result__item img {
  margin-right: 40px;
  width: 45px;
}

.calc-podohod-result__item-row {
}

.calc-podohod-result__item-value {
  font-family: "Roboto";
  font-weight: 500;
  font-size: 24px;
  line-height: 140%;
  text-align: left;
  color: white;
}

.calc-podohod-result__item-name {
  font-family: "Roboto";
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  text-align: left;
  color: white;
  position: relative;
}

.tooltip-podohod {
  position: absolute;
  width: 200px;
  top: -30px;
  right: -230px;
  color: white;
  background: rgb(226, 53, 53);
  text-align: center;
  line-height: 100%;
  padding: 10px;
  font-size: 14px;
  border-radius: 3px;
  font-weight: 300;
  display: none;
}

.calc-podohod-result__remark {
  font-family: "Roboto";
  font-weight: 300;
  font-size: 14px;
  line-height: 140%;
  text-align: left;
  color: white;
  margin-top: 20px;
}

/* Calc nubmer 2 */

.calc-naloga__container {
  max-width: 1290px;
  margin: 0 auto;
}

.calc-naloga__body {
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.09);
  border-radius: 3px;
  padding: 40px;
  background: white;
  font-family: "Roboto";
  margin-bottom: 80px;
}

.calc__title {
  margin-top: 40px;
  font-weight: 500;
  font-size: 24px;
  line-height: 110%;
  text-align: center;
  margin-bottom: 40px;
}

.calc-nalog {
  display: flex;
}

.calculator-input-body {
  flex: 0 0 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  padding: 20px;
}

.calculator__label-field {
  margin-bottom: 20px;
}

.calculator-input-body label {
  display: block;
  margin-bottom: 5px;
}

.calculator-input-body input,
.calculator-input-body select {
  border: 2px solid #3972c9;
  width: 200px;
  height: 38px;
  border-radius: 3px;
  font-size: 18px;
  line-height: 140%;
  text-align: left;
  margin-bottom: 5px;
  padding-left: 10px;
}

.calculator-input-body input::placeholder {
  font-size: 12px;
  font-weight: 300;
  color: #c2c2c2;
}

.calculator__label-field label {
  max-width: 200px;
  line-height: 140%;
  position: relative;
}

.input-class:focus {
  border: 3px solid#3972C9;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.09);
}

.input-class::-webkit-inner-spin-button {
  display: none;
}

#calc-btn {
  display: block;
  background: #3972c9;
  height: 40px;
  width: 200px;
  border-radius: 3px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.09);
  color: white;
  font-size: 14px;
  line-height: 140%;
  text-align: center;
  border-radius: 3px;
}

#calc-btn:hover {
  box-shadow: -2px -8px 16px rgba(0, 0, 0, 0.05),
    2px 8px 16px rgba(0, 0, 0, 0.15);
}

/* Calc-rezult__info */

.calculator-rezult__info-body {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.calculator-rezult__info {
  font-size: 18px;
  text-align: center;
  border: 2px solid #3972c9;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.09);
  color: #3d3d46;
  line-height: 140%;
  height: 20%;
}

/* #region rezult */

.calculator-rezult-body {
  flex: 0 0 70%;
  flex: 0 0 60%;
  padding: 20px;
  display: none;
}

.calc-p {
  font-weight: 500;
  color: white;
}

.calc-title-row {
  background: #3972c9;
  display: flex;
  margin-bottom: 25px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.09);
  border: 1px solid#f6f6f6;
  height: 40px;
  align-items: center;
  border-radius: 3px;
  padding: 20px 40px;
  justify-content: space-between;
}

.calc-rez-body__row {
  display: flex;
  margin-bottom: 25px;
  background: white;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.09);
  border: 1px solid#f6f6f6;
  height: 40px;
  align-items: center;
  border-radius: 3px;
  padding: 20px 40px;
  justify-content: space-between;
}

.calc-rez-body__row:hover {
  background: #3972c9;
  color: white;
}

.calc-rez-body-row__label {
  max-width: 190px;
}

.calc-rez-body-row__fields-row {
  display: flex;
  flex: 0 0 50%;
  justify-content: space-between;
}

.calc-rez-body-row__fields-row p {
  text-align: center;
  width: 100px;
}

.rezult__message-body {
  text-align: center;
}

.rezult__message {
  font-size: 16px;
  padding: 12px 24px;
  display: inline-block;
  color: #3D3D46;
  border: 2px solid #3972c9;
  background: white;
  text-align: center;
  border-radius: 6px;
}

/* Предупреждение при отсутствии данных */

.span-label-calc-dohod {
  font-size: 15px;
  display: block;
  color: red;
  display: none;
}

/* Checkbox */

.calc-podohod__checkbox__row {
  display: flex;
  margin-bottom: 40px;
}

.calc-podohod__checkbox-label {
  width: 100px;
  display: flex;
  align-items: center;
}

.checkbox-old {
  position: absolute;
  opacity: 0;
}

.checkbox__custom {
  display: inline-block;
  border: 2px solid #3972c9;
  width: 30px;
  height: 30px;
  position: relative;
  border-radius: 3px;
}

.checkbox__custom:before {
  content: "✓";
  color: white;
  position: absolute;
  font-size: 20px;
  line-height: 30px;
  text-align: center;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: 0.3s;
}

.checkbox-old:checked + .checkbox__custom:before {
  opacity: 1;
  background: #3972c9;
}

.checkbox-custom__name {
  margin-left: 10px;
  font-family: "Roboto";
  font-weight: 400;
  color: #3d3d46;
  font-size: 18px;
  line-height: 140%;
  text-align: left;
}

/* --- --- --- Memo --- --- --- */

.memo {
  margin-bottom: 80px;
}

.memo__body {
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.09);
  padding: 80px 110px;
  border-radius: 3px;
}

.memo__body-second {
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.09);
  padding: 80px 110px;
  border-radius: 3px;
}

.memo__title {
  font-family: "Roboto";
  font-weight: 500;
  color: #3d3d46;
  font-size: 24px;
  line-height: 140%;
  text-align: center;
  margin-bottom: 60px;
}

.memo__content {
  font-family: "Roboto";
  font-weight: 400;
  color: #3d3d46;
  font-size: 18px;
  line-height: 160%;
  text-align: left;
}

.memo__subtitle {
  font-family: "Roboto";
  font-weight: 500;
  color: #3d3d46;
  font-size: 24px;
  line-height: 140%;
  text-align: left;
  margin-top: 50px;
  margin-bottom: 10px;
}

.memo__text p {
  margin-bottom: 20px;
}

.memo__text p:last-child {
  margin-bottom: 0;
}

/* Payment */

.payment {
  font-family: "Roboto";
  font-weight: 400;
  color: #3d3d46;
  font-size: 16px;
}

.payment__row {
  display: flex;
  flex-direction: row;
  margin-bottom: 20px;
  background: white;
  padding: 10px 0;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.09);
  align-items: center;
  justify-content: space-around;
  border-radius: 5px;
}

.payment__name {
  font-size: 18px;
  width: 25%;
  padding: 0 20px 0 20px;
}
.payment__second span,
.payment__third span {
  display: none;
}

.payment__name span {
  font-weight: 500;
}

.payment__second {
  width: 30%;
  padding: 0 10px;
}

.payment__third {
  width: 30%;
  padding: 0 10px;
}

/* Payment Main Row */

.payment-main__row {
  display: flex;
  flex-direction: row;
  margin-bottom: 20px;
  background: #3972c9;
  padding: 10px 0;
  align-items: center;
  justify-content: space-around;
  border-radius: 5px;
  color: white;
  font-weight: 500;
}

.payment-main__name {
  font-size: 18px;
  width: 25%;
  padding: 0 20px 0 20px;
}

.payment-main__second {
  width: 30%;
  padding: 0 10px;
}

.payment-main__third {
  width: 30%;
  padding: 0 10px;
}

.mpltem a {
  color: #3972c9;
}

.mpltem a:hover {
  text-decoration: underline;
}

/* --- --- --- Media --- --- --- */

@media (max-width: 1099px) {
  #img-calculator {
    display: none;
  }
  .calc-podohod__body {
    padding: 40px 90px;
  }
  .calc-podohod__body-result {
    padding: 40px 20px;
  }
  .calc-podohod__row {
    flex-wrap: wrap;
  }
  .calc-podohod__title-result {
    margin-top: 10px;
  }
  .calculator-naloga {
    display: none;
  }
}

@media (max-width: 992px) {
  .memo__body-second {
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.09);
    padding: 40px 10px;
  }
}

@media (max-width: 810px) {
  .payment__name {
    font-size: 16px;
  }
}

@media (max-width: 620px) {
  .payment__row {
    flex-direction: column;
  }
  .payment__name {
    width: 100%;
    text-align: center;
  }
  .payment__second,
  .payment__third {
    width: 100%;
    padding: 10px 20px;
  }
  .payment__second span,
  .payment__third span {
    display: inline-block;
  }
  .payment-main__row {
    display: none;
  }

  .memo__body {
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.09);
    padding: 40px 10px;
  }
  .memo {
    margin-bottom: 60px;
  }
  .memo__title {
    font-size: 20px;
    line-height: 140%;
    text-align: center;
    margin-bottom: 60px;
  }
  .memo__subtitle {
    font-size: 20px;
    line-height: 140%;
    text-align: left;
    margin-top: 50px;
    margin-bottom: 10px;
  }
  .memo__content {
    font-size: 15px;
    line-height: 160%;
    text-align: left;
  }
  .calc-podohod__body {
    padding: 20px 45px;
  }
}

@media (max-width: 480px) {
}
