/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.scheme_default .select_container:before {
  color: unset !important;
  background-color: unset !important;
}

/* Overrides End */

.page-calculator {
  border-top-right-radius: 0.5em;
  border-top-left-radius: 0.5em;
  padding: 26px 32px 30px 32px !important;
}

.page-header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 77.5rem;
  margin: 0 auto;
  padding: 2em 1.5em 1.5em;
  background-color: #3863a1;
  border-top-left-radius: 0.5em;
  border-top-right-radius: 0.5em;
}

.page-panel__title {
  color: #3863a1 !important;
}
.page-header__title {
  color: #fff !important;
}

.page-header:after {
  content: "";
  position: absolute;
  display: block;
  height: 100%;
  left: 0;
  right: 0;
  bottom: -18.75rem;
  background-color: #3863a1;
  -webkit-transform: skewY(6.25deg);
  transform: skewY(0.25deg);
  -webkit-transform-origin: 100%;
  transform-origin: 100%;
}

.page-panel {
  display: none;
  flex: 1 0 auto;
  padding: 1.5em;
  background-color: #ffffff;
  border-top-right-radius: 0.5em;
  border-bottom-right-radius: 0.5em;
  box-shadow: 0 0.25em 1em rgba(7, 29, 63, 0.125);
  -webkit-animation: fadeUpDelay 600ms;
  animation: fadeUpDelay 600ms;
  z-index: 3;
}

aside {
  display: block;
}

.page-section {
  display: flex;
  flex-wrap: wrap;
  /* justify-content: space-between; */
  padding: 0 20px 0 15px; /*105 to  15 */
  -webkit-animation: fadeUpDelay 600ms;
  animation: fadeUpDelay 600ms;
}

.form-label {
  color: #0d2451 !important;
  font-size: 16px !important;
}

.form-control {
  background-color: #fff !important;
  background-clip: padding-box !important;
  border: 1px solid #ced4da !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  border-radius: 0.25rem !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.card-button-1 {
  display: inline-block !important;
  vertical-align: middle !important;
  width: 100% !important;
  color: #ffffff !important;
  text-align: center !important;
  padding: 0.625rem 1.5rem 0.875rem;
  background-color: #37649f !important;
  border-radius: 0.25rem !important;
  transition: -webkit-transform 600ms cubic-bezier(0.85, -0.4, 0.2, 1.5) !important;
  transition: transform 600ms cubic-bezier(0.85, -0.4, 0.2, 1.5) !important;
  transition: transform 600ms cubic-bezier(0.85, -0.4, 0.2, 1.5),
    -webkit-transform 600ms cubic-bezier(0.85, -0.4, 0.2, 1.5) !important;
}

.card-button-1:focus {
  border-color: #37649f !important;
}

.wetCardShadow {
  box-shadow: 0 0.25em 1em rgb(7 29 63 / 13);
}

/* .wetCard {
  border-bottom: 5px solid #0056a6;
} */

.wetCardPress {
  background: #ededed;
  border: 1px solid #ccc;
  /* padding: 10px 30px; */
  border-radius: 3px;
  cursor: pointer;
}

.wetCardPress:active {
  background: #e5e5e5;
  -webkit-box-shadow: inset 0px 0px 5px #c1c1c1;
  -moz-box-shadow: inset 0px 0px 5px #c1c1c1;
  box-shadow: inset 0px 0px 5px #c1c1c1;
  outline: none;
}

.page-calculator__output {
  position: absolute;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 11.25rem;
  height: 11.25rem;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0.25rem 1rem rgba(7, 29, 63, 0.125);
}

.page-calculator__meter {
  position: absolute;
  overflow: hidden;
  top: 0.75em;
  left: 0.75em;
  width: calc(100% - 1.5em);
  height: calc(100% - 1.5em);
  border-radius: 50%;
}

.page-calculator__masks,
.page-calculator__icons {
  position: absolute;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.page-calculator__icons {
  position: absolute;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.page-calculator__output-text {
  position: relative;
  margin-bottom: 0.5rem;
}

.page-calculator__meter-graph[data-value="285"] {
  width: 9.75em;
  left: 0;
  -webkit-transform-origin: center center;
  transform-origin: center center;
}

.page-calculator__meter-graph[data-value="285"] .page-calculator__meter-slice {
  left: 0;
}

.page-calculator__meter-graph[data-value="285"] .page-calculator__meter-slice {
  border-top-color: #30cfb3;
  border-right-color: #30cfb3;
}

.page-calculator__meter-graph {
  position: absolute;
  overflow: hidden;
  width: 4.875em;
  height: 9.75em;
  left: 4.875em;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  -webkit-transform-origin: left center;
  transform-origin: left center;
}

.page-calculator__meter-inner {
  position: absolute;
  top: 0.75em;
  left: 0.75em;
  width: 8.25em;
  height: 8.25em;
  background-color: #ffffff;
  border-radius: 50%;
}

.page-calculator__meter-graph[data-value="285"]
  .page-calculator__meter-slice-1 {
  display: block;
  -webkit-transform: rotate(60deg);
  transform: rotate(60deg);
}

.page-calculator__meter-slice {
  position: absolute;
  display: none;
  left: -4.875em;
  width: 4.875em;
  height: 4.875em;
  border-style: solid;
  border-width: 2.4375em;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-top-left-radius: 4.875em;
  -webkit-transform-origin: right bottom;
  transform-origin: right bottom;
  transition: -webkit-transform 300ms ease-in-out;
  transition: transform 300ms ease-in-out;
  transition: transform 300ms ease-in-out, -webkit-transform 300ms ease-in-out;
}

.page-calculator__output-value {
  font-size: 2.125rem;
  color: #0d2451;
}

.page-calculator__output-value {
  width: 100%;
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  color: #0d2451;
}

.page-calculator__output-label {
  color: #4a5b7d;
  font-size: 1rem;
}

.page-header__description {
  color: #fff;
  margin-top: 0.5em;
  font-size: 14px;
}

.page-panel .page-panel_description {
  color: #6c757d !important;
}

.page-header__image {
  display: flex;
  flex: 1 0 auto;
  align-self: flex-end;
  justify-self: flex-end;
  width: 100%;
  -webkit-animation: fadeInDelay 600ms;
  animation: fadeInDelay 600ms;
  z-index: 2;
}

figure {
  margin: 0;
  padding: 0;
}

.calc-table th {
  background-color: #3863a1 !important;
}

.calc-current-link {
  line-height: 2;
  padding: 0.2em;
  text-decoration: none;
  color: #000;
  font-weight: 600;
  border: none;
}

@media only screen and (min-width: 75.0625em) {
  .page-converter,
  .page-calculator {
    width: calc(100% - 25em); /*Controls Side Bar and calculator size*/
    max-width: 46.5em;
    min-height: 27.3125em;
    margin-left: -5em;
    padding: 1.625em 2em;
  }

  .page-block__select--weight {
    flex: 0 0 8.5rem;
    width: 12.5rem;
    max-width: 12.5rem;
    margin-left: 2em;
  }

  .page-header {
    height: 18.75rem; /*was 18.75rem*/
    padding: 0 5em;
  }

  .page-panel {
    width: 336px;
    max-width: 525px;
    height: 373px;
    margin-right: -2em;
    padding: 2em;
  }

  .page-header__image {
    width: 33.75em;
    margin-left: 2em;
    margin-right: -2em;
  }
}

.page-calculator__title {
  color: #fff !important;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.page-calculator {
  position: relative;
  max-width: 100%;
  margin-top: -1.5em;
  padding: 1.25em 1.5em 1.5em;
  background-color: #fff;
  border-radius: 0.5em;
  box-shadow: 0 0.25em 1em rgba(7, 29, 63, 0.125);
  -webkit-animation: fadeUpDelay 400ms;
  animation: fadeUpDelay 400ms;
  z-index: 4;
}

.page-calculator__header {
  /* margin-bottom: 2rem; */
}

@media only screen and (min-width: 40.0625em) {
  .page-calculator {
    padding-bottom: 0;
  }

  .page-calculator__header {
    /* margin-bottom: 3rem; */
  }
  .page-block__select {
    border-top: 1px solid #e0e2e6 !important;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
  }

  .page-block__input--credits {
    flex: 0 0 6.75rem;
    width: 6.75rem;
    max-width: 6.75rem;
    border-right: 1px solid #e0e2e6;
  }

  .page-panel {
    display: block;
    width: 336px;
    max-width: 525px;
    height: 420px;
  }

  .card-button-1 {
    padding: 0.875rem 2.5rem 1rem;
  }

  .page-header__text {
    width: 50%;
    padding-bottom: 10em;
  }

  .page-header__description {
    font-size: 14px;
    margin-top: 0.75em;
    padding-right: 1rem;
  }

  .page-header__image {
    justify-content: flex-end;
    width: 50%;
    margin-left: 1.5em;
    margin-right: -1.5em;
    margin-bottom: 2em;
  }
}

.page-block__input {
  flex: 0 1 auto;
  height: 2.5rem;
  margin: 0;
  padding: 0 0 0 0.75rem;
  outline: none;
  color: #0d2451;
  background-color: transparent !important;
  border-top: 1px solid #e0e2e6;
  border-top-left-radius: 0.25rem !important;
  border-top-right-radius: 0.25rem !important;
  border-bottom-right-radius: 0.25rem !important;
  border-bottom-left-radius: 0.25rem !important;
  font-size: 1rem;
  font-weight: 400;
}

.page-block__input--credits {
  flex: 0 0 calc(30% - 1rem);
  width: calc(30% - 1rem);
  max-width: calc(30% - 1rem);
}

.page-block input[type="number"] {
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Progress Result Meter */
.progress-result {
  position: relative;
  margin: 4px;
  float: left;
  text-align: center;
}
.barOverflow-result {
  /* Wraps the rotating .bar */
  position: relative;
  overflow: hidden; /* Comment this line to understand the trick */
  width: 220px;
  height: 110px; /* Half circle (overflow) */
  margin-bottom: -14px; /* bring the numbers up */
}
.bar-result {
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  height: 220px; /* full circle! */
  border-radius: 50%;
  box-sizing: border-box;
  border: 8px solid #eee; /* half gray, */
  border-bottom-color: #0bf; /* half azure */
  border-right-color: #0bf;
}

/*.page-calculator__icons {
  position: absolute;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}*/
.savings-meter {
  margin-left: 0px;
}
.savings-meter:before {
  content: "$0.0";
  margin-left: 5px;
  font-size: 15px;
  margin-right: 4.25px;
}

.savings-meter:after {
  content: "$1000.0";
  margin-left: 1.75em;
  font-size: 15px;
}
