.heartrisk-form{
  min-height: 720px;
}

.tool.heartrisk {
  position: relative;
  max-width: 720px;
  margin: auto;
  transition: all 200ms;
}

.tool.heartrisk .screen {
  position: absolute !important;
  left: 1000px;
  opacity: 0;
  transition: all 400ms;
  pointer-events: none;
  width: max-content;
  max-width: 720px;
}

.tool.heartrisk .screen.active {
  opacity: 1;
  left: 0px;
  pointer-events: auto;
}

.tool.heartrisk .screen.passive {
  opacity: 0;
  left: -1000px;
  pointer-events: none;
}
.tool.heartrisk .s1.screen:not(.screen.active, .screen.passive){
  left: 0;
}

.tool.heartrisk .screen.input {
  padding: 16px 0;
}

.tool.heartrisk .screen.results {
  padding: 16px 0;
}

.tool.heartrisk h1 {
  margin: 0 0 12px;
  font-size: 24px;
}

.tool.heartrisk h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.tool.heartrisk .form>div {
  margin-bottom: 10px;
}

.tool.heartrisk label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.tool.heartrisk .input {
  position: relative;
}

/* .tool.heartrisk input[type=text], .tool.heartrisk select {
  width: 100%;
  max-width: 320px;
  padding: 8px 10px;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 6px;
} */
/* 
.tool.heartrisk input[type=button], .tool.heartrisk input[type=reset] {
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
} */

.tool.heartrisk .form-type-checkbox>div:not(div.error),
.tool.heartrisk .form-type-radio>div:not(div.error) {
  display: flex;
  gap: 16px;
}

.tool.heartrisk .input .unit {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 1rem;
}

.tool.heartrisk .note {
  opacity: .85;
  font-size: 13px;
}

.tool.heartrisk .error {
  display: none;
  margin-top: 8px;
}

.tool.heartrisk .error p {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(220, 53, 69, .12);
  color: #b02a37;
}

.tool.heartrisk .calculating {
  display: none;
  padding: 16px 0;
}

.tool.heartrisk .tabs>ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: flex;
  gap: 10px;
  border-bottom: 2px solid rgba(0, 0, 0, .12);
}

.tool.heartrisk .tabs>ul li {
  margin: 0;
}

.tool.heartrisk .tabs>ul li a {
  display: inline-block;
  padding: 10px 24px;
  text-decoration: none;
  border-radius: 8px 8px 0 0;
  background: rgba(0, 0, 0, .04);
  border: 2px solid rgba(0, 0, 0, .04);
  border-bottom-color: rgba(0, 0, 0, .04);
}

.tool.heartrisk .tabs>ul li a.on {
  background: #fff;
  border: 2px solid rgba(0, 0, 0, .12);
  border-bottom-color: #fff;
}

.tool.heartrisk .msg {
  display: none;
}

.tool.heartrisk .risk p {
  margin: 0 0 8px;
}

.tool.heartrisk .percent {
  font-size: 45px;
  display: block;
  color: #23275e;
}

.tool.heartrisk .percent sup {
  padding-left: 8px;
  top: -0.5em;
}
