/*fonts*/

#calc_block .calculator-sub-title {
  font-size: 30px;
  display: flex;
  align-items: center;
}

#calc_block p {
  font-size: 16px;
}
#calc_block * {
  color: #363636;
}

#calc_block .calculator-result {
  font-size: 16px;
}

#calc_block .calculator-year-stages-title {
  font-size: 20px;
  font-weight: normal;
}
#calc_block .calculator-main-block {
  max-width: 1080px;
}
#calc_block .calculator-sub {
  max-width: calc(60% - 12px);
}
#calc_block .calculator-inputs-range-max {
  min-width: max-content;
}
#calc_block
  .calculator-result
  .calculator-end
  + .calculator-output-block
  output {
  font-size: 25px;
}

#calc_block .calculator-year-stages a.calculator-year-state {
  text-decoration: none !important;
}

#calc_block input[type="range"] {
  -webkit-appearance: none;
  width: 80%;

  color: inherit;
  background: inherit;
  background-image: inherit;
  border: none !important;
  border-radius: inherit;
  display: inherit;
  padding: 0;
}

#calc_block input[type="range"]:focus {
  outline: none !important;
}

/* Sliders */
#calc_block input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  /*border: 1px solid #000000;*/
  height: 24px;
  width: 24px;
  border-radius: 5px;
  background: #2a8bea; /*whitesmoke*/
  cursor: pointer;
  margin-top: -7px;
  /*box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;*/
}

#calc_block input[type="range"]::-moz-range-thumb {
  /*box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;*/
  /*border: 1px solid #000000;*/
  height: 24px;
  width: 24px;
  border-radius: 5px;
  background: #2a8bea;
  cursor: pointer;
}

#calc_block input[type="range"]::-ms-thumb {
  /*box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;*/
  /*border: 1px solid #000000;*/
  height: 24px;
  width: 24px;
  border-radius: 5px;
  background: #2a8bea;
  cursor: pointer;
}

#calc_block input[type="range"]::-webkit-slider-runnable-track {
  /*box-shadow: 1px 1px 0px #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;*/
  height: 12px;
  cursor: pointer;
  background: #48caed; /*skyblue*/
  border-radius: 10px;
  border: 0.2px solid #48caed; /*black*/
}

#calc_block input[type="range"]:focus::-webkit-slider-runnable-track {
  background: #48caed; /*skyblue*/
}

#calc_block input[type="range"]::-moz-range-track {
  height: 12px;
  cursor: pointer;
  background: #48caed;
  border-radius: 10px;
  border: 0.2px solid #48caed;
}

#calc_block input[type="range"]::-ms-track {
  height: 12px;
  cursor: pointer;
  background: transparent;
  border-color: #48caed;
  border-width: 16px 0;
  color: transparent;
}

#calc_block input[type="range"]::-ms-fill-lower {
  background: #48caed;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
}

#calc_block input[type="range"]:focus::-ms-fill-lower {
  background: #48caed;
}

#calc_block input[type="range"]::-ms-fill-upper {
  background: #48caed;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
}

#calc_block input[type="range"]:focus::-ms-fill-upper {
  background: #48caed;
}
#calc_block .calculator-inputs {
  margin: 6px 0;
  padding: 16px 20px;
  background: #f0f3f8;
  border-radius: 5px;
}
#calc_block .calculator-inputs p {
  font-size: 16px;
}
#calc_block .calculator-one {
  padding-top: 12px;
}
#calc_block .calculator-sub-tabs {
  overflow: hidden;
}
#calc_block .calculator-sub-base {
  margin-top: 40px;
}
#calc_block .calculator-sub-base input[type="number"] {
  height: 32px;
  width: 32px;
  text-align: center;
  border: 2px solid #2a8bea;
  display: inline-block;
  font-size: 16px;

  color: inherit;
  background: inherit;
  background-image: inherit;
  /*border: none;
    border-radius: inherit;*/
  padding: 0 5px;
  border-radius: 5px;
  font-family: "Open Sans", sans-serif;
}

#calc_block .calculator-sub p {
  margin: 0;
}
#calc_block .calculator-sub-base .calculator-process {
  position: relative;
  float: left;
  width: 70%;
  margin: 0px;
}

#calc_block .calculator-sub-base #results {
  position: relative;
  float: left;
  text-align: center;
}

#calc_block .calculator-sub-base input[type="radio"] {
  margin: 0 10px;
  appearance: none;
  display: none;
}

#calc_block .calculator-result {
  /* background: #f1f2f3; */
  padding: 12px;
  border-radius: 5px;
  /* border: 1px solid #2a8bea; */
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 250px;
  flex-direction: column;
}

#calc_block .calculator-result span {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  font-weight: bold;
  width: 160px;
}

#calc_block .calculator-result .calculator-output-element {
  color: #fff;
  text-align: center;
  font-size: 20px;
}

#calc_block .calculator-result .calculator-max-wanted-output {
  min-width: 40px;
  background: #2a8bea;
  border-radius: 40px;
  padding: 8px 16px;
  color: #fff;
  display: inline-block;
  text-align: center;
  font-size: 16px;
}

#calc_block .calculator-result .calculator-output-block {
  background: #48caed;
  padding: 12px;
  min-width: 40px;
  color: #fff;
  border-radius: 5px;
  text-align: center;
}

#calc_block .calculator-process input[type="number"] {
  font-size: 16px;
  min-width: 60px;
}

#calc_block .calculator-process input[type="number"]:focus {
  outline: none !important;
}

#calc_block .calculator-inputs-range-max {
  font-size: 16px;
  margin-left: 3px;
  vertical-align: middle;
}

#calc_block .calculator-year-state {
  margin-right: 12px;
  padding: 8px 12px;
  background-color: white;
  color: #18a085;
  border: 1px solid #2a8bea;
  border-radius: 4px;
  margin-bottom: 8px;
  display: inline-flex;
}

#calc_block .calculator-year-state:hover {
  background: #2a8bea;
  color: #fff !important;
}

#calc_block .calculator-year-selected {
  background: #2a8bea;
  color: #fff !important;
}

#calc_block input[name^="calculator_tab"] {
  display: none;
}

#calc_block .calculator-sub-title {
  margin-bottom: 16px;
  font-size: 30px !important;
}

#calc_block .calculator-sub-subtitle {
  font-size: 20px;
  font-style: italic;
  margin-bottom: 21px;
}

#calc_block .calculator-max-wanted {
  font-weight: 600 !important;
}

#calc_block .calculator-end {
  font-size: 18px;
}

#calc_block .calculator-result .calculator-max-wanted-output-large {
  font-size: 25px;
}

#calc_block .calculator-year-stages-title {
  font-style: italic;
  margin: 0 0 15px 0;
}

#calc_block .calculator-one {
  display: flex;
  align-items: center;
}

#calc_block .calculator-sub-outer {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

#calc_block .calculator-year-stages {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding-bottom: 20px;
}

#calc_block .calculator-year-stages > div:first-child {
  flex: 4;
}

#calc_block .calculator-year-stages a {
  text-align: center;
}

#calc_block .calculator-sub-outer .calculator-process {
  width: 100% !important;
}

#calc_block .calculator-sub-outer .calculator-sub {
  width: 100% !important;
}

#calc_block .calulator-title {
  display: flex;
  justify-content: space-between;
}

#calc_block .calulator-title h2:first-child {
  flex: 4;
}

#calc_block .calulator-title h2:last-child {
  flex: 2;
  position: relative;
  margin-left: 25px;
}

#calc_block .staar-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#calc_block .calculator-inputs-wrapper {
  flex: 4;
}

#calc_block .change-color.red {
  background: rgb(221, 85, 102) !important;
}

#calc_block .change-color.yellow {
  background: rgb(240, 191, 108) !important;
}

#calc_block .change-color.green {
  background: rgb(136, 211, 113) !important;
}

#calc_block .change-color.blue {
  background: rgb(45, 173, 255) !important;
}

#calc_block .change-color.purple {
  background: rgb(152, 91, 205) !important;
}

h1::before,
h2::before,
#calc_block h3::before {
  display: none !important;
}

#calc_block .max-width {
  max-width: 215px;
}

#calc_block .round-link {
  display: flex;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin-left: 16px;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

#calc_block .round-link img {
  width: 100%;
  max-width: 100%;
}

/*new style */

#calc_block .calculator-sub-outer {
  display: flex;
  justify-content: space-between;
}

#calc_block .calculator-results {
  background: #f0f3f8;
  border-radius: 5px;
}

#calc_block .calculator-results {
  align-self: center;
  width: calc(40% - 12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0;
}

#calc_block body {
  font-family: "Arial", sans-serif;
  background: #e6f3ff;
  padding: 20px;
  color: #1a1a1a;
}
#calc_block .container {
  max-width: 600px;
  margin: auto;
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
#calc_block h1 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
}
#calc_block .section {
  margin-bottom: 20px;
}
#calc_block label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}
#calc_block input[type="range"] {
  width: 100%;
}
#calc_block .score {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
#calc_block .results {
  margin-top: 30px;
  background: #f2f9ff;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
}
#calc_block .score-year {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}
#calc_block .score-year button {
  padding: 6px 16px;
  border: none;
  border-radius: 10px;
  background: #d9d9d9;
  cursor: pointer;
}
#calc_block .score-year button.active {
  background: #007acc;
  color: white;
}
#calc_block .curve-sel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
#calc_block .curve-sel div {
  margin-right: 12px;
}
@media (max-width: 768px) {
  #calc_block .calculator-sub-outer {
    flex-direction: column;
  }
  #calc_block .calculator-sub {
    max-width: 100%;
    margin-bottom: 40px;
  }
  #calc_block .calculator-results {
    max-width: 100%;
    width: 100%;
  }
  #calc_block .calculator-result {
    width: 100%;
  }
}
