.calculator-wrapper .calc-caption {
  line-height: 1.5em;
  color: #aaa;
}
.calculator-wrapper .calc-button {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1;
  display: inline-block;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
  padding: 0.9em 1em;
  cursor: pointer;
  transition: all 0.2s;
  vertical-align: middle;
  text-decoration: none;
  color: currentColor;
  border: 1px solid #ccc;
  border-radius: 2px;
  background: transparent;
}
@media all and (orientation: landscape) and (max-width: 670px), only screen and (max-width: 425px) {
  .calculator-wrapper .calc-button {
      font-size: 1.15em;
      padding: 0.8em 0.9em;
  }
}
.calculator-wrapper .link,
.calculator-wrapper .link__text {
  text-decoration: none;
}
.calculator-wrapper .link__text {
  cursor: pointer;
}
.calculator-wrapper .input {
  font-family: "Poppins", Sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0.5em 0.7em;
  color: #444;
  border: 1px solid #ccc;
  outline: none;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.calculator-wrapper .input:focus {
  border-color: #ffd103;
}
.calculator-wrapper .form__control {
  margin-bottom: 1.8rem;
}
.calculator-wrapper .form__control:last-child {
  margin-bottom: 0;
}
.calculator-wrapper .title {
  line-height: 1.45;
}
.calculator-wrapper .layout {
  position: relative;
}

.calculator-wrapper .grid {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
@media only screen and (max-width: 768px) {
  .calculator-wrapper .grid {
      -ms-flex-pack: center;
      justify-content: center;
  }
}
.calculator-wrapper .grid__col {
  min-width: 8.33333%;
  max-width: 8.33333%;
  -ms-flex-preferred-size: 8.33333%;
  flex-basis: 8.33333%;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.calculator-wrapper .grid_align_bottom {
  -ms-flex-align: end;
  align-items: flex-end;
}
.calculator-wrapper .grid__col_size_4 {
  max-width: 33.33333%;
  min-width: 33.33333%;
  -ms-flex-preferred-size: 33.33333%;
  flex-basis: 33.33333%;
  -ms-flex-positive: 4;
  flex-grow: 4;
}
.calculator-wrapper .grid__col_size_6 {
  min-width: 50%;
  max-width: 50%;
  -ms-flex-preferred-size: 50%;
  flex-basis: 50%;
  -ms-flex-positive: 6;
  flex-grow: 6;
}
.calculator-wrapper .grid__col_size_7 {
  min-width: 58.33333%;
  max-width: 58.33333%;
  -ms-flex-preferred-size: 58.33333%;
  flex-basis: 58.33333%;
  -ms-flex-positive: 7;
  flex-grow: 7;
}
@media only screen and (max-width: 425px) {
  .calculator-wrapper .grid__col_size_6 {
      min-width: 100%;
      max-width: 100%;
      -ms-flex-preferred-size: 100%;
      flex-basis: 100%;
  }
}
.calculator-wrapper .layout_type_maya {
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}
@media (min-width: 1230px) {
  .calculator-wrapper .layout_type_maya {
      width: auto;
      max-width: 1440px;
  }
}
@media only screen and (max-width: 768px) {
  .calculator-wrapper .layout_type_maya {
      padding-right: 20px;
      padding-left: 20px;
  }
}
.calculator-wrapper .title_size_18 {
  font-size: 18px;
}
.calculator-wrapper .title_size_28 {
  font-size: calc(1.05rem + 0.45 * (100vw - 20rem) / 36);
}
.calculator-wrapper .title_size_28,
.calculator-wrapper .title_size_30 {
  font-weight: 300;
  line-height: calc(1.2em + 0.2 * (100vw - 60rem) / -36);
}
.calculator-wrapper .title_size_30 {
  font-size: calc(1.1rem + 0.5 * (100vw - 20rem) / 36);
}
.calculator-wrapper .title_size_38 {
  font-size: calc(1.2rem + 0.6 * (100vw - 3.8rem) / 50.2);
  line-height: calc(1.2em + 0.2 * (100vw - 60rem) / -36);
}
.calculator-wrapper .title_size_40 {
  font-size: calc(1.3rem + 0.65 * (100vw - 4rem) / 50);
  font-weight: 600;
}
.calculator-wrapper .title_size_42 {
  font-size: calc(1.1rem + 1 * (100vw - 4.8rem) / 49.2);
  font-weight: 300;
}
.calculator-wrapper .form__label {
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
}
.calculator-wrapper .form__control_highlight {
  padding: 10px;
  background: #eff7ff;
}
.calculator-wrapper .input_size_m {
  font-size: 1rem;
  line-height: 1rem;
}
.calculator-wrapper .link_theme_normal,
.calculator-wrapper .link_theme_normal .link__text {
  color: #1150ae;
  font-weight: bold;
}
.calculator-wrapper .link_theme_normal .link__text:hover {
  color: #1171d2;
}
.calculator-wrapper .link__text {
  transition: opacity, color 0.09s;
}
.calculator-wrapper .button_theme_secondary {
  color: #fff;
  border-color: #018bfa;
  background: #018bfa;
  /* box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25); */
}
.calculator-wrapper .button_theme_secondary:hover {
  background: #017fec;
}
.calculator-wrapper .button_theme_secondary:active {
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.4);
  background: #0178e4;
}
.calculator-wrapper .button_size_s {
  font-size: 0.9rem;
  padding: 0.8em;
}
.calculator-wrapper .caption_upper {
  letter-spacing: 1px;
  text-transform: uppercase;
}
.calculator-wrapper .page {
  font: 16px "Poppins", Sans-serif;
  position: relative;
  width: 100%;
  min-height: 100%;
  margin: auto;
  padding: 0;
  color: #2b2b2b;
  background: #fff;
  max-width: 1500px;
  /* box-shadow: 0 1px 4px 2px rgba(0, 0, 0, 0.08); */
}
@media only screen and (max-width: 768px) {
  .calculator-wrapper .page {
      overflow-x: hidden;
  }
}
.calculator-wrapper .page__content {
  -ms-flex-positive: 1;
  flex-grow: 1;
}


































.calculator-wrapper .page {
  font: 16px "Poppins", Sans-serif;
  position: relative;
  width: 100%;
  min-height: 100%;
  margin: auto;
  padding: 0;
  color: #2b2b2b;
  background: #fff;
  max-width: 1500px;
  /* box-shadow: 0 1px 4px 2px rgba(0, 0, 0, 0.08); */
}
@media only screen and (max-width: 768px) {
  .calculator-wrapper .page {
      overflow-x: hidden;
  }
}
.calculator-wrapper .page__header {

  display: inline-block;
  width: 100%;
}
.calculator-wrapper .page__header h2{
  margin: 20px;
}
.calculator-wrapper .page__content {
  -ms-flex-positive: 1;
  flex-grow: 1;
}
.calculator-wrapper .form__control {
  margin-bottom: 1.8rem;
}
.calculator-wrapper .form__control:last-child {
  margin-bottom: 0;
}
.calculator-wrapper .control {
  display: block;
}

.calculator-wrapper .calc-main-top{
  display: flex;
  justify-content: space-between;
}
.calculator-wrapper .calculator__form,
.calculator-wrapper .calculator__chart{
  width: 50%;
}
.calculator {
  -ms-flex-align: start;
  align-items: flex-start;
}
.calculator .form__label {
  font-size: 0.89em;
  white-space: nowrap;
  text-align: left;
}
.calculator__pie {
  margin-top: 20px;
  margin-right: 8%;
  margin-left: 10%;
  line-height: 0;
  transition: opacity 1s;
  /* opacity: 0.2; */
}
.calculator .calculator__table .table__cell {
  border: none !important;
  background: transparent !important;
}
@media only screen and (pointer: coarse) {
  .calculator {
      margin-top: 10px !important;
  }
  .calculator__chart,
  .calculator__form {
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  }
}
@media only screen and (max-width: 425px) {
  .calculator .calculator__pie {
      width: 100%;
      /* max-width: 300px; */
      margin: 20px auto;
  }
  .calculator .calculator__pie-sum {
      font-size: 34px;
      font-weight: 500;
  }
  .calculator .calculator__legend {
      display: -ms-flexbox;
      display: flex;
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
      width: 30%;
      padding-bottom: 30px;
      border-bottom: 1px solid #dedede;
  }
  .calculator .calculator__legend-item {
      width: 50%;
      margin-bottom: 15px;
      text-align: center;
  }
  .calculator .calculator__legend-item .title {
      font-size: 26px;
      font-weight: 400;
      line-height: 1.2;
      margin: 0;
      
  }
  .calculator .calculator__main {
      width: 100%;
      margin: 0;
  }
  .calculator .calculator__main .grid {
      -ms-flex-pack: justify;
      justify-content: space-between;
  }
  .calculator .calculator__terms {
      margin-top: 22px;
      padding: 14px;
  }
  .calculator .form__control {
      margin-bottom: 15px;
  }
  .calculator__extra {
      width: 100%;
      margin-top: 30px;
  }
  .calculator .calculator__result {
      padding: 0;
      border: 0;
  }
  .calculator .calculator__result .grid__col {
      max-width: 100%;
  }
  .calculator .calculator__table .table__cell:first-child {
      width: 65%;
  }
  .calculator .calculator__approx {
      font-size: 30px;
      font-weight: 500;
      margin: 4px 0 6px;
  }
  .calculator .calculator__table_reserves .table__cell:nth-child(4) {
      width: auto;
  }
  .calculator .calculator__table_reserves .table__cell:nth-child(2),
  .calculator .calculator__table_reserves .table__cell:nth-child(3) {
      display: none;
  }
  .calculator .calculator__table .table__cell {
      padding: 2px 2px 3px 8px;
  }
  .calculator .calculator__summary {
      margin-top: 40px;
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
      -ms-flex-pack: start;
      justify-content: flex-start;
  }
  .calculator .calculator__summary-item {
      max-width: 100%;
      -ms-flex-preferred-size: 100%;
      flex-basis: 100%;
      text-align: center;
  }
  .calculator .equal,
  .calculator .minus,
  .calculator .plus {
      margin: 6px auto !important;
  }
  .calculator .calculator__summary-item .title {
      font-size: 25px;
  }
  .calculator .calculator__summary-item .calc-caption {
      margin: auto;
      max-width: 100%;
  }
  .calculator .calculator__extra,
  .calculator .calculator__main {
      width: 100% !important;
  }
}
@media screen and (max-width: 770px) and (pointer: coarse), screen and (orientation: landscape) and (pointer: coarse) {
  .form__control {
      margin-bottom: 15px;
  }
  .calculator .calculator__main {
      width: 100%;
      margin: 0;
  }
  .calculator .calculator__main .grid {
      -ms-flex-pack: justify;
      justify-content: space-between;
  }
  .calculator .calculator__terms {
      margin: 20px -10px 15px;
  }
  .calculator .calculator__pie {
      width: 100%;
      margin-bottom: 20px;
  }
  .calculator .calculator__extra {
      width: 90%;
  }
  .calculator .calculator__legend {
      display: -ms-flexbox;
      display: flex;
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
      width: 30%;
      -ms-flex-pack: justify;
      justify-content: space-between;
      margin: auto;
  }
  .calculator .calculator__legend-item {
      margin: 0 0 15px;
      text-align: center;
  }
  .calculator .calculator__legend:after {
      content: "";
  }
  .calculator .calculator__legend-item,
  .calculator .calculator__legend:after {
      width: 30%;
  }
  .calculator .calculator__legend .calc-caption {
      font-size: 14px;
  }
  .calculator .calculator__submit {
      margin-top: 15px !important;
      margin-bottom: 0 !important;
  }
}
@media screen and (max-width: 770px) and (pointer: coarse) {
  .calculator .calculator__legend-item,
  .calculator .calculator__legend:after {
      width: 50%;
  }
  .calculator .calculator__legend .calc-caption {
      font-size: 16px;
  }
}
@media screen and (orientation: landscape) and (pointer: coarse) {
  .calculator .calculator__result .grid__col {
      min-width: 50%;
      -ms-flex-positive: 1;
      flex-grow: 1;
      -ms-flex-preferred-size: 50%;
      flex-basis: 50%;
  }
  .calculator .calculator__submit {
      margin-right: auto !important;
  }
}
.calculator__legend-item {
  margin-bottom: 14px;
}
.calculator__legend-item:last-child {
  margin-bottom: 0;
}
.calculator__legend-item .title {
  margin-bottom: 2px;
  text-align: left;
}
.calculator__legend-item .calc-caption {
  font-size: 0.9em;
  text-align: left;
  display: inline-block;
  width: 100%;
}
.calculator__legend-item_principal {
  color: #00339B;
  stroke: #00339B;

  
}
/* .a{
  color: #059BFF;
  color:#22CECE;
  color:#FF9124;
  color:#FF3D67;
  color:#FFC233;
  color:#059BFF;
  color:#d7b781;
  color:#3fb95b;
  color:#a5c537;
  color:#d06ee0;
} */
.calculator__legend-item_tax {
  color: #006699;
  stroke: #006699;
}
.calculator__legend-item_hi {
  color: #FF6665;
  stroke: #FF6665;
}
.calculator__legend-item_fees {
  color: #088970;
  stroke: #088970;
}
.calculator__legend-item_mi {
  color: #9B00FF;
  stroke: #9B00FF;
}
.calculator__legend {
  /* visibility: hidden; */
  transition: opacity 0.3s;
  /* opacity: 0; */
}
.calculator__main {
  width: 60%;
  margin-right: 8%;
}
.calculator__extra{
  width: 40%;
}
@media (max-width: 1024px) {
  .calculator__main .control[data-name="interest"] .form__label {
      overflow: hidden;
      height: 1.3em;
  }
}
.calculator__chart {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
}
.chart-container {
  position: relative;
  margin: auto;
  width: 100%;
  height: 100%;
  /* width: 50vw; */
  /* height: 10vh; */
  /* height:100%; 
  width:100%; */
  margin-bottom: 40px;
}
.calculator__pie-canvas{
  width: 100%;
  height: 100%;
}
.calculator__pie {
  /* position: relative; */
  width: 70%;
  margin: 20px 5% 0 5%;
  /* overflow: hidden; */
  /* border-radius: 50%; */
}
.calculator .calculator__legend {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 30%;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin: auto;
}
.calculator-wrapper .calculator__pie-info {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  /* width: 88%;
  height: 88%; */
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  text-align: center;
  /* border-radius: 50%;
  background: #fff; */
}
.calculator-wrapper .calculator__pie canvas {
  width: 100%;
  position: relative;
  font-size: 0;
}
.calculator-wrapper .calculator__terms {
  position: relative;
  margin-top: 35px;
}
.calculator-wrapper .calculator__terms > .title {
  font-size: 12px;
  margin-bottom: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #998faf;
  text-align: left;
}
.calculator-wrapper .calculator__terms {
  margin: 38px -14px 0;
  padding: 15px 14px 22px;
  border-radius: 2px;
  perspective: 100px;
}
.calculator-wrapper .calculator__extra .form__label {
  font-weight: 400;
}
.calculator__extra .form__control {
  margin-bottom: 0.88rem;
}
.calculator-wrapper .control_inline {
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-align: center;
  align-items: center;
}
.calculator-wrapper .control_inline .form__label {
  margin: 0 8px;
}
.calculator-wrapper .control_inline_right .form__label {
  -ms-flex-order: 1;
  order: 1;
}
.control_with_slider {
  position: relative;
}
.calculator-wrapper .control_with_slider .control__handler {
  position: absolute;
  top: 100%;
  left: 0;
  display: block;
  width: 100%;
  margin-top: -1px;
}
.calculator-wrapper .control_with_slider .control__handler:active + .input {
  border-color: #ffd103;
}
.calculator-wrapper .calculator__form {
  display: -ms-flexbox;
  display: flex;
}
.calculator-wrapper .form__label {
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
}
.calculator-wrapper .form__control_highlight {
  padding: 10px;
  background: #eff7ff;
}
.calculator-wrapper .table {
  position: relative;
  border-collapse: collapse;
}
.calculator-wrapper .table__cell {
  padding: 0.8em 0.6em 1em;
  vertical-align: top;
}
.calculator__result {
  margin: 30px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid #e8e8e8;
  display: inline-block;
  width: 100%;
  height: auto;
}
.calculator__result-caption {
  color: #2b2b2b;
  width: 100%;
  text-align: left;
  display: inline-flex;
}

.calculator__approx {
  font-weight: 300;
  line-height: 1.2;
  color: #2b2b2b;
  width: 100%;
  display: flex;
  justify-content: flex-start;
}
.calculator__approx + .calc-caption {
  margin: 5px 0 18px;
}
.calculator__table {
  width: 100%;
  margin-top: 40px;
}
.calculator__table > .title {
  font-size: 14px;
  display: inline-block;
  width: auto;
  margin-bottom: 15px;
  transition: color 0.1s;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #aaa;
  width: 100%;
  text-align: left;
}
.calculator__table .input {
  border-color: #ddd;
}
.calculator__table .table__cell:first-child {
  width: 82%;
}
.calculator__table .table__cell {
  font-size: 16px;
  padding: 1px 1px 1px 1em;
  vertical-align: middle;
  border-top: 0 !important;
}
.calculator__table_reserves .table__cell:first-child {
  width: 20%;
}
.calculator__table_reserves .table__cell:last-child {
  width: 18%;
}
.calculator__table_reserves .table__cell:nth-child(3) {
  width: 20%;
  text-align: right;
}
.calculator__table_reserves .table__cell:nth-child(3) .input {
  width: 100%;
}
.calculator__table_reserves .table__cell:nth-child(2) .input {
  width: 100%;
}
.calculator__table_reserves .form__label {
  color: #98a4af;
}
.calculator__table_fees > .title {
  animation-delay: 0.8s;
}
.calculator .table__row_total {
  font-weight: 700;
}
.calculator .table__row_total .calculator__value {
  padding: 0.4em 0.7em 0.45em;
}
.calculator__summary {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  margin-top: 60px;
  padding-bottom: 30px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.calculator__summary .title {
  width: 100%;
}
.calculator__summary > .title {
  font-weight: 300;
  margin-bottom: 20px;
  padding-bottom: 15px;
  color: #CE4744;
  border-bottom: 1px solid #eee;
}
.calculator__summary .equal,
.calculator__summary .minus,
.calculator__summary .plus {
  position: relative;
  width: 38px;
  height: 38px;
  margin-top: 20px;
}
.calculator__summary .equal:after,
.calculator__summary .equal:before,
.calculator__summary .minus:before,
.calculator__summary .plus:after,
.calculator__summary .plus:before {
  position: absolute;
  display: block;
  content: "";
  background: #CE4744;
}
.calculator__summary .equal:after,
.calculator__summary .equal:before {
  background: #CE4744;
}
.calculator__summary .minus:before,
.calculator__summary .plus:after,
.calculator__summary .plus:before {
  left: 50%;
  width: 2px;
  height: 100%;
  margin-left: -1px;
}
.calculator__summary .minus:before,
.calculator__summary .plus:after {
  transform: rotate(90deg);
}
.calculator__summary .equal:after,
.calculator__summary .equal:before {
  top: 50%;
  width: 100%;
  height: 2px;
}
.calculator__summary .equal:before {
  transform: translateY(-8px);
}
.calculator__summary .equal:after {
  transform: translateY(8px);
}
@media (max-width: 1024px) {
  .calculator__summary .equal,
  .calculator__summary .minus,
  .calculator__summary .plus {
      width: 26px;
      height: 26px;
      margin-top: 15px;
  }
  .calculator__summary .equal:before {
      transform: translateY(-6px);
  }
}
.calculator__summary-item {
  max-width: 18%;
  margin: 0 -5px;
  padding: 8px 5px 10px;
  text-align: center;
}
.calculator__summary-item .title {
  display: inline-block;
  width: auto;
  margin-bottom: 6px;
  font-weight: bold;
}
.calculator__summary-item .calc-caption {
  font-size: 0.9em;
  line-height: 1.55em;
  max-width: 160px;
  transition: color 0.1s;
  color: #9da4b5;
}
.calculator__summary-item.link {
  transition: background 0.3s;
  border-radius: 5px;
}
.calculator__summary-item.link:hover {
  background: #eff7ff;
}
.calculator__summary-item.link:hover .calc-caption {
  color: #555;
}
@media (max-width: 1024px) {
  .calculator__summary-item {
      max-width: 16%;
  }
}
.table_zebra .table__cell {
  border-top-color: #eff7ff;
}
.table_zebra .table__row:nth-child(odd) {
  background-color: #eff7ff;
}
.table_zebra .table__row:nth-child(odd) .input {
  border-color: rgba(199, 212, 226, 0.6);
}
.table_wide {
  width: 100%;
}
.table__row .table__cell {
  border-top: 1px solid #eee;
  min-width: 100px;
}
.calc-caption {
  line-height: 1.5em;
  color: #aaa;
}
.calculator-wrapper .title {
  line-height: 1.45;
}
.calculator-wrapper .input {
  font-family: "Poppins", Sans-serif;;
  font-size: 15px;
  line-height: 1.6;
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 5px 8px;
  color: #444;
  border: 1px solid #ccc;
  outline: none;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.input:focus {
  border-color: #ffd103;
}
.calc-bottom-description{
  display: none;
}
.calc-button {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1;
  display: inline-block;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
  padding: 0.9em 1em;
  cursor: pointer;
  transition: all 0.2s;
  vertical-align: middle;
  text-decoration: none;
  color: currentColor;
  border: 1px solid #ccc;
  border-radius: 2px;
  background: transparent;
}
@media all and (orientation: landscape) and (max-width: 670px), only screen and (max-width: 425px) {
  .calc-button {
      font-size: 1.15em;
      padding: 0.8em 0.9em;
  }
}
.button_theme_secondary {
  color: #fff;
  border-color: #018bfa;
  background: #018bfa;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}
.button_theme_secondary:hover {
  background: #017fec;
}
.button_theme_secondary:active {
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.4);
  background: #0178e4;
}
.button_size_s {
  font-size: 0.9rem;
  padding: 0.8em;
}
.input_size_m {
  font-size: 1rem;
  line-height: 1rem;
}
.title_size_18 {
  font-size: 18px;
}
.title_size_28 {
  font-size: calc(1.05rem + 0.45 * (100vw - 20rem) / 36);
}
.title_size_28,
.title_size_30 {
  font-weight: 300;
  line-height: calc(1.2em + 0.2 * (100vw - 60rem) / -36);
}
.title_size_30 {
  font-size: calc(1.1rem + 0.5 * (100vw - 20rem) / 36);
}
.title_size_38 {
  font-size: calc(1.2rem + 0.6 * (100vw - 3.8rem) / 50.2);
  line-height: calc(1.2em + 0.2 * (100vw - 60rem) / -36);
}
.title_size_40 {
  font-size: calc(1.3rem + 0.65 * (100vw - 4rem) / 50);
  font-weight: 600;
}
.title_size_42 {
  font-size: calc(1.1rem + 1 * (100vw - 4.8rem) / 49.2);
  font-weight: 300;
}
.caption_upper {
  letter-spacing: 1px;
  text-transform: uppercase;
}
.caption_size_14 {
  font-size: 14px;
}
.col-print{
  width: 100%;
}
@media print{
  .chart-container {
    /* width: 15vw !important; */
  }
  /* @page {
    margin: 20mm;
  } */
  /* .layout_type_maya {
    margin: 0 auto;
    padding-right: 0% !important;
    padding-left: 0% !important;
  }
  canvas#pie-canvas {
      min-height: 100%;
      max-width: 100%;
      max-height: 100%;
      height: auto!important;
      width: auto!important;
  } */
  
}
.print-header{
  display: none;
}
.print-state .col-print{
  display: flex;
  justify-content: space-between;
}
.print-state .col-print .calculator__table{
  width: 48%;
}
.print-state .print-hidden{
  /* display: none; */
}


.print-state .print-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}
.print-state .print-header img{
  height: 70px;
  max-width: 100%;
}
.print-state .print-header a{
  color: blue;
}
.print-state  .calculator__form{
  width: 45%;
}
.print-state  .calculator__chart{
  width: 55%;
}
.print-state .calculator .form__label{
  font-size: 12px;
}
.print-state .input{
  border: none;
  border-radius: 0;
  font-weight: bold;
  height: 30px;
  background: transparent;
}
.print-state  .calculator__form .input{
  border-bottom: 1px solid gray !important;
  padding: 0 !important;
}
.calculator__table input{
  font-weight: bold !important;
  max-width: 100px;
  min-width: 80px;
  font-size: 15px;
}
.print-state .form__label{
  margin: 0;
}
/* .print-state .calculator__form{
  width: 40%;
} */
.print-state .input-container{
  position: relative;
}
.print-state .input-container::after{
  position: absolute;
  bottom: 0;
  right: 0;
  height: 100%;
  width: 100%;
  /* content: attr('data-value'); */
  content: attr(data-value);
  display: inline-flex;
  align-items: flex-end;
  background-color: #fff;
  border-bottom: 1px solid gray;
}
.print-state .calculator__terms .input-container::after{
  background-color: rgb(241, 234, 255);
}
.print-state .calculator__table table tr:nth-child(odd) .input-container::after{
  background-color: #eff7ff;
}
.print-state  .calculator__table > .title{
  font-size: 12px;
}

.print-state .calculator__summary{
  margin-top: 0 !important;
}
.print-state  .calculator__summary .equal, 
.print-state  .calculator__summary .minus, 
.print-state  .calculator__summary .plus {
  position: relative;
  width: 25px;
  height: 25px;
  margin-top: 30px;
}
.print-state  .calculator__summary-item .title {
  font-size: 20px;
}
.print-state   .calculator__summary-item .calc-caption {
  font-size: 15px;
  line-height: 1;
}
.print-state .calc-bottom-description {
  display: block;
}

/* loader styles */
.lds-default {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-default div {
  position: absolute;
  width: 6px;
  height: 6px;
  background: red;
  border-radius: 50%;
  animation: lds-default 1.2s linear infinite;
}
.lds-default div:nth-child(1) {
  animation-delay: 0s;
  top: 37px;
  left: 66px;
}
.lds-default div:nth-child(2) {
  animation-delay: -0.1s;
  top: 22px;
  left: 62px;
}
.lds-default div:nth-child(3) {
  animation-delay: -0.2s;
  top: 11px;
  left: 52px;
}
.lds-default div:nth-child(4) {
  animation-delay: -0.3s;
  top: 7px;
  left: 37px;
}
.lds-default div:nth-child(5) {
  animation-delay: -0.4s;
  top: 11px;
  left: 22px;
}
.lds-default div:nth-child(6) {
  animation-delay: -0.5s;
  top: 22px;
  left: 11px;
}
.lds-default div:nth-child(7) {
  animation-delay: -0.6s;
  top: 37px;
  left: 7px;
}
.lds-default div:nth-child(8) {
  animation-delay: -0.7s;
  top: 52px;
  left: 11px;
}
.lds-default div:nth-child(9) {
  animation-delay: -0.8s;
  top: 62px;
  left: 22px;
}
.lds-default div:nth-child(10) {
  animation-delay: -0.9s;
  top: 66px;
  left: 37px;
}
.lds-default div:nth-child(11) {
  animation-delay: -1s;
  top: 62px;
  left: 52px;
}
.lds-default div:nth-child(12) {
  animation-delay: -1.1s;
  top: 52px;
  left: 62px;
}
@keyframes lds-default {
  0%, 20%, 80%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
}
.loader-container{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255);
    z-index: 10;
    /* padding: 20% 0%; */
    
    display: none;
}













@media screen and (max-width: 800px){
  .calculator-wrapper .calc-main-top{
    flex-direction: column;
  }
  .calculator-wrapper .calculator__form, 
  .calculator-wrapper .calculator__chart {
    width: 100%;
  }
  .calculator__legend-item{
    width: 100%;
  }
  .generate-btn-sec{
    width: 0;
    height: 0;
    overflow: hidden;
  }
}

@media screen and (max-width: 768px){
  .calculator__form{
    flex-direction: column;
  }
  .calculator__main,
  .calculator__extra{
    width: 100%;
    margin: 10px 0;
  }
  .calculator__chart{
    flex-direction: column;
    width: 100%;
  }
  .calculator__summary{
    flex-direction: column;
  }
  .calculator__pie,
  .calculator__legend{
    width: 100% !important;
    flex-direction: column;
  }
  .calculator__legend-item{
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
  }
  .calculator .calculator__legend-item, 
  .calculator .calculator__legend:after{
    width: 100%;
  }
  .calculator-wrapper .input{
    font-size: 13px;
  }
  .calculator__table > .title{
    font-size: 13px;
  }
 
  .calculator .calculator__legend-item .title{
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .calculator__summary-item{
    max-width: 100%;
  }
  .calculator__summary-item .calc-caption{
    width: 100%;
    max-width: 100%;
  }
  .calculator__summary .equal, 
  .calculator__summary .minus, 
  .calculator__summary .plus{
   margin: 10px auto;
  }

  .calculator__table .table__cell{
    font-size: 13px;
  }
}