* {
  text-wrap: nowrap;
}

input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active {
  -webkit-text-fill-color: #000;
  box-shadow: 0 0 0px 1000px #fff inset;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}

input:autofill,
input:autofill:hover,
input:autofill:focus,
input:autofill:active {
  -webkit-text-fill-color: #000;
  box-shadow: 0 0 0px 1000px #fff inset;
  transition: background-color 5000s ease-in-out 0s;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-text-fill-color: #000;
  box-shadow: 0 0 0px 1000px #fff inset;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}

input::-ms-clear,
input::-ms-reveal {
  width: 0;
  height: 0;
  display: none;
}

input::-webkit-search-decoration,
input::-webkit-search-cancel-button,
input::-webkit-search-results-button,
input::-webkit-search-results-decoration {
  display: none;
}

.hidden {
  display: none !important;
}

header aside .snb-block-main ul.snb-ul-block li.calculator {
  background-color: #4759ca;
}
header aside .snb-block-main ul.snb-ul-block li.calculator p {
  color: #fff;
}

.wrap.calculator {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  flex-direction: column;
  gap: 4rem;
  padding-top: 5rem;
  padding-bottom: 8rem;
  height: calc(100vh - 18rem);
}
.wrap.calculator .calculator-title-block {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1.2rem;
  flex-direction: column;
}
.wrap.calculator .calculator-title-block .title-desc {
  color: #4759ca;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: -0.018rem;
}
.wrap.calculator .calculator-title-block .calculator-title {
  color: #1e2229;
  font-size: 4rem;
  font-weight: 600;
  line-height: normal;
  text-align: center;
}
.wrap.calculator .calculator-desc-block {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-direction: column;
  gap: 2rem;
  max-width: 40rem;
  width: 100%;
}
.wrap.calculator .calculator-desc-block .calculator-img {
  width: 18rem;
  height: 18rem;
  margin-bottom: 2rem;
}
.wrap.calculator .calculator-desc-block .detail-block {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-direction: column;
  gap: 1rem;
}
.wrap.calculator .calculator-desc-block .detail-block .detail {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  border: 1px solid #e1e1e1;
  border-radius: 2rem;
  background: #f9fafd;
  padding: 2rem 3rem;
  max-width: 38rem;
  width: 100%;
  gap: 3rem;
}
.wrap.calculator .calculator-desc-block .detail-block .detail .detail-img {
  width: 4.5rem;
  height: 4.5rem;
}
.wrap.calculator .calculator-desc-block .detail-block .detail .detail-desc {
  color: #1e2229;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.016rem;
}
.wrap.calculator .calculator-desc-block .detail-block .detail .detail-desc .blue {
  color: #4759ca;
}
.wrap.calculator .calculator-desc-block .start-calculator {
  border: none;
  border-radius: 6rem;
  background: linear-gradient(85deg, #b187f4 -20.54%, #5c92d2 95.73%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 100%;
  width: 100%;
  padding: 0 1.8rem;
  height: 6rem;
  transition: 0.2s ease-in-out;
}
.wrap.calculator .calculator-desc-block .start-calculator:hover {
  transform: scale(1.02);
}

@media (max-width: 1023px) {
  header nav {
    display: none !important;
  }
}
@media (max-width: 500px) {
  .main {
    padding-bottom: 14rem;
  }
  .wrap.calculator {
    padding: 0 2rem;
    height: 100%;
    gap: 2rem;
  }
  .wrap.calculator .calculator-title-block {
    text-wrap: wrap;
    word-break: keep-all;
  }
  .wrap.calculator .calculator-title-block .calculator-title {
    font-size: 2rem;
  }
  .wrap.calculator .calculator-title-block .title-desc {
    font-size: 1.4rem;
  }
  .wrap.calculator .calculator-big-img {
    width: 10rem;
    height: 10rem;
  }
  .wrap.calculator .calculator-desc-block .detail-block .detail {
    padding: 2rem;
  }
  .wrap.calculator .calculator-desc-block .detail-block .detail .detail-desc {
    text-wrap: wrap;
    word-break: break-all;
  }
  .wrap.calculator .calculator-desc-block .detail-block {
    width: 100%;
  }
  .wrap.calculator .calculator-desc-block .detail-block .detail {
    padding: 1.4rem;
    width: 100%;
  }
}