@import url(https://fonts.googleapis.com/css?family=Inter:regular,600,700&display=swap);
/*FUNCTIONS*/ /*VARIABLES*/
[class*=__container] {
  margin: 0 auto;
  max-width: 78rem;
  box-sizing: content-box;
}

/*NULL*/
* {
  padding: 0px;
  margin: 0px;
  border: 0px;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  min-width: 320px;
}

body {
  color: #0B0D0E;
  line-height: 1.5;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

input,
button,
textarea {
  font-family: "Inter", sans-serif;
  font-size: inherit;
}

button {
  cursor: pointer;
  color: inherit;
  background-color: inherit;
}

a {
  color: inherit;
}

a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
}

/*TYPOGRAPHY*/
h1,
.h1 {
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 3.5rem;
}
@media (max-width: 47.99875em) {
  h1,
.h1 {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

h2,
.h2 {
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 2.5rem;
}
@media (max-width: 47.99875em) {
  h2,
.h2 {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

h3,
.h3 {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 2rem;
}
@media (max-width: 47.99875em) {
  h3,
.h3 {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

.text-18 {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-16 {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-14 {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-12 {
  font-size: 0.75rem;
  line-height: 1rem;
}

.form__fieldset {
  align-items: center;
  gap: 2rem;
}
.form__line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.form__line_col {
  flex-direction: column;
  align-items: flex-start;
}
.form__label {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}
.form__input {
  display: block;
}
.form__input:disabled {
  color: #1d2024;
  background-color: #f2f6fb;
}

input[type=text],
input[type=email],
input[type=tel],
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.input {
  width: 100%;
  display: block;
  padding: 0.75rem 1rem;
  border: 1px solid #B8BFC6;
  border-radius: 4px;
  color: #7F8B99;
}

.select {
  position: relative;
  width: 100%;
  text-align: left;
  outline: none;
  background-color: #ffffff;
}
.select__selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #B8BFC6;
  border-radius: 4px;
  color: #393F47;
  padding: 0.25rem 0.25rem 0.25rem 1rem;
  line-height: 2.375rem;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.select__selected::after {
  content: "";
  width: 1.5rem;
  height: 1.5rem;
  transition: transform 0.3s ease 0s;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.8805 9.29L12.0005 13.17L8.12047 9.29C7.73047 8.9 7.10047 8.9 6.71047 9.29C6.32047 9.68 6.32047 10.31 6.71047 10.7L11.3005 15.29C11.6905 15.68 12.3205 15.68 12.7105 15.29L17.3005 10.7C17.6905 10.31 17.6905 9.68 17.3005 9.29C16.9105 8.91 16.2705 8.9 15.8805 9.29Z' fill='%237F8B99'/%3E%3C/svg%3E%0A");
}
.select__selected.open {
  border: 1px solid #0959AB;
}
.select__selected.open::after {
  content: "";
  transform: rotate(-180deg);
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.8805 9.29L12.0005 13.17L8.12047 9.29C7.73047 8.9 7.10047 8.9 6.71047 9.29C6.32047 9.68 6.32047 10.31 6.71047 10.7L11.3005 15.29C11.6905 15.68 12.3205 15.68 12.7105 15.29L17.3005 10.7C17.6905 10.31 17.6905 9.68 17.3005 9.29C16.9105 8.91 16.2705 8.9 15.8805 9.29Z' fill='%230959AB'/%3E%3C/svg%3E%0A");
}
.select__list {
  z-index: 1;
  left: 0;
  right: 0;
  margin-top: 0.5rem;
  border-radius: 0px 0px 6px 6px;
  overflow: hidden;
  position: absolute;
  background: #fff;
  box-shadow: 0px 0px 2px rgba(5, 20, 41, 0.06), 0px 0px 24px rgba(5, 20, 41, 0.24);
  border-radius: 8px;
  color: #393F47;
}
.select__list-item {
  display: block;
  padding: calc(0.75rem - 0.5px) 1rem;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.select__list-item:not(:last-child) {
  border-bottom: 1px solid rgba(208, 214, 221, 0.3);
}
.select__list-item:hover {
  background-color: rgba(208, 214, 221, 0.3);
}

.selectHide {
  display: none;
}

body {
  max-width: 43.75rem;
  margin: 0 auto;
}

.to_bottom {
  align-items: flex-end;
}
.to_bottom > * {
  align-items: flex-end;
}

.calculator-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}

.calculator {
  background: #eff2f6;
  border-radius: 1rem;
  padding: 0.625rem 0.625rem 0 0.625rem;
}
.calculator:not(:last-child) {
  margin-bottom: 1rem;
}
.calculator__grid {
  display: grid;
  grid-template-columns: 6fr 6fr;
  grid-template-rows: auto;
  grid-column-gap: 2.9411764706%;
}
.calculator__grid.seven_five {
  grid-template-columns: 7fr 5fr;
}
.calculator__grid.one_third {
  grid-template-columns: 4fr 4fr 4fr;
}
.calculator__block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calculator__block label {
  width: 100%;
}
.calculator__title {
  font-size: 1.5rem;
}
.calculator__margin {
  margin-bottom: 0.625rem;
}
.calculator__marginx2 {
  margin-bottom: 1rem;
}
.calculator__margin_top {
  margin-top: 0.625rem;
}

.full-width {
  grid-column: 1/-1;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
