#root header nav ul li:hover .megamenu-container {
  display: block !important;
}

#root header nav ul li {
  position: relative;
  margin-bottom: -25px;
  z-index: 2;
}

#root header nav ul li a {
  padding-bottom: 25px;
}

#root header nav ul li.favourites,
#root header nav ul li.account {
  margin-bottom: 0;
}

#root header nav ul li.favourites a,
#root header nav ul li.account a {
  padding-bottom: 0;
  height: 42px;
}

#root header nav ul li.account {
  margin-left: 1rem;
  padding-left: 1rem;
}

#root header nav ul li:hover .submenu {
  display: flex;
}

#root header nav ul li .submenu {
  position: absolute;
  display: none;
  margin-top: 20px;
  left: -190px;
  min-width: 450px;
  justify-content: space-between;
  box-shadow: rgba(0, 0, 0, 0.24) 0 1px 4px;
}

#root header nav ul li .submenu.account {
  left: auto;
  right: -10px;
  top: 30px;
  min-width: 150px;
  padding-bottom: 2rem;
}

#root header nav ul li .submenu.account .column {
  padding: 0 1rem;
}
#root header nav ul li .submenu.account .column > ul li:first-of-type {
  padding-top: 0;
}

#root header nav ul li .submenu.account::before {
  position: absolute;
  left: 0;
  width: 100%;
  top: -15px;
  content: " ";
}

#root header nav ul li .submenu.account::after {
  left: auto;
  right: 15px;
}

#root header nav ul li .submenu::after {
  content: "";
  height: 0;
  width: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 15px solid #fff;
  position: absolute;
  left: 50%;
  top: -15px;
  margin: 0 0 0 -17px;
  z-index: 100;
}

#root header nav ul li .submenu p {
  font-size: 19px;
  font-family: "Outfit";
  color: #333;
}

#root header nav ul li .submenu .column {
  position: relative;
  min-width: 180px;
  padding: 16px;
  color: #333;
}

#root header nav ul li .submenu .column ul,
#root header nav ul li .submenu .column ul li {
  display: block;
  line-height: normal;
  padding: 0;
  margin: 0;
}

#root header nav ul li .submenu .column ul {
  padding-top: 1rem;
}

#root header nav ul li .submenu .column ul li {
  padding: 24px 0 0;
}

#root header nav ul li .submenu .column ul li a {
  display: block;
  text-align: left;
  color: #3b73b4;
  padding: 0;
}

.main > div.noborder {
  border: none;
}

div.breadcrumb {
  max-width: 1200px;
  margin: 1rem auto 0;
  display: block;
  padding-top: 0;
  border-bottom: none;
}

div.breadcrumb a,
span {
  margin-right: 8px;
}

div.breadcrumb a.selected {
  text-decoration: none;
  color: #4c6372;
}

.main > div.nomt {
  margin-top: 0;
}

.main > div.pt-0 {
  padding-top: 0;
}

.main > div.pb-0 {
  padding-bottom: 0;
}

h1.large {
  font-size: 2rem;
}

fieldset .form-group label {
  font-size: 1.1875rem;
  margin-bottom: 0.5rem;
  display: block;
}

fieldset .form-group {
  margin-bottom: 1.5rem;
}

button[type="submit"] {
  color: #e21a6d;
  background: #fff;
  text-decoration: none;
  border: 0.0625rem solid #e21a6d;
  border-radius: 0.375rem;
  box-shadow: 0 0.1875rem 0 #e21a6d;
  padding: 1rem 1.5rem;
  line-height: 3.5rem;
  white-space: nowrap;
}

button[type="submit"] {
  padding: 0 1rem;
  font-size: 1.1875rem;
  margin-top: 1rem;
  cursor: pointer;
}

button[type="submit"]:active {
  color: pink;
}

span.error-message {
  font-weight: bold;
  color: #e21a6d;
  display: block;
}

input.has-error {
  border: solid 2px #e21a6d;
}

.main:not(.home, .discover, .selected-card) {
  margin-top: 48px;
}

.main:not(.home, .discover) h1 {
  max-width: 1200px;
  padding: 0 32px;
  margin: 0 auto;
}

.main > div.image-left {
  img {
    margin-right: 32px;
  }

  h2:not(:first-of-type) {
    margin-top: 50px;
  }
}

.more-info {
  display: none;
}

.reviews .history {
  justify-content: flex-start;
  margin: 1rem 0 24px;
}
.reviews .history .pill {
  display: flex;
  margin-right: 1rem;
  gap: 0;
  align-self: flex-start;
}

.reviews .history .pill .key {
  background: #005eb8;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  padding: 0 0.5rem;
  text-transform: uppercase;
}

.reviews .history .pill .value {
  background: rgba(0, 94, 184, 0.1);
  padding: 0 0.5rem;
  color: #005eb8;
}

.review header .favourite.on {
  background-image: url(https://media.umbraco.io/red-star/zh4fy1kk/noun-heart-303502.png);
}

#root > header nav ul li a.selected {
  text-decoration: underline;
}

.checkbox-group label {
  margin-bottom: 0;
}

.checkbox-group label:first-of-type {
  margin-top: 0.5rem;
}

section.compare {
  flex: 1;
}

table.comparison-table {
  width: 100%;
  text-align: left;
}

table.comparison-table tr th {
  font-size: 21px;
  font-weight: 400;
}

table.comparison-table tr th a {
  font-size: 19px;
}

table.comparison-table tr th,
table.comparison-table tr td {
  padding: 1rem;
  font-weight: normal;
  border-bottom: solid 1px #afb7be;
}

table.comparison-table tbody tr:last-of-type th,
table.comparison-table tbody tr:last-of-type td {
  border-bottom: none;
}

table.comparison-table tr td {
  font-weight: 300;
}

table.comparison-table .rating {
  display: flex;
  margin-bottom: 0.5rem;
  gap: 0.2rem;
}
table.comparison-table .rating span {
  text-indent: 250%;
  white-space: nowrap;
  overflow: hidden;
  display: block;
  background-image: url("https://media.umbraco.io/red-star/u1dl1zgf/path.webp");
  background-repeat: no-repeat;
  background-position: left center;
  width: 1.6rem;
  height: 2rem;
}

aside {
  position: relative;
  z-index: 1;
}

aside .hide {
  position: absolute;
  font-weight: 700;
  right: 8px;
  top: 8px;
  color: #333;
}

aside.hidden {
  flex: 0;
  padding: 1rem;
}

aside.hidden .hide {
  position: relative;
  top: auto;
  right: auto;
}

.form-leadin {
  display: flex;
}

.form-leadin:first-child {
  max-width: 90%;
}

.form-leadin .image {
  margin-left: 5rem;
}

@media (max-width: 1201px) {
  div.breadcrumb {
    max-width: calc(100% - 4rem);
  }
}

@media (max-width: 768px) {
  .form-leadin .image {
    margin-left: 0rem;
  }
}

@media (max-width: 750px) {
  .form-leadin .image {
    display: none;
  }
}

.results-table {
  margin-top: 2rem;
}

.results-table .scoring-column {
  text-align: center;
}

.results-table td {
  padding: 1rem;
  border-bottom: solid 1px #afb7be;
}

.results-table .actions a {
  padding-right: 1.5rem;
}

.pager-container {
  padding: 1rem 0;
  display: flex;
  gap: 24px;
  justify-items: center;
  align-items: center;
}

.pager-container a {
  cursor: pointer;
}

.pager-container a.page {
  text-align: center;
  color: rgba(226, 27, 110, 1);
  font-size: 19px;
  text-decoration: underline;
}

.pager-container a.page.selected {
  text-align: center;
  text-decoration: none;
  color: rgba(50, 63, 75, 1);
}

.pager-container .previous,
.pager-container .next {
  padding: 0.25rem 1rem;
  font-size: 19px;
}

.pager-container .disabled {
  cursor: default;
  opacity: 0.3;
}

.form-results-filters {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin-bottom: 2rem;
}

.form-results-filters div {
  min-width: 280px;
}

.loader {
  width: 100%;
  display: flex;
  justify-content: center;
  min-height: 250px;
}

.survey-completed-banner {
  display: block;
  border-bottom: none;
  background: #e21a6d;
  padding: 1.5rem 2rem !important;
  max-width: calc(1200px - 4rem) !important;
  color: #fff;
  margin-bottom: 2rem !important;
  justify-content: center !important;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly !important;
  width: 100%;
  gap: 2rem;
  max-width: 1200px !important;
}

.flexible {
  flex-grow: 1;
}

.card {
  width: 370px;
  min-width: 370px;
  max-width: 370px;
  flex: 1;
  flex-direction: column;
  height: 500px;
  cursor: pointer;
  border-radius: 4px;
  border: solid 1px #d8dde0;
  display: flex;
  justify-content: space-between;
}

.card img {
  width: 100%;
}

.scrolling-cards-control-container {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 377px;
  align-content: stretch;
  flex-grow: 1;
}

.scrolling-cards-container {
  position: relative;
  max-width: calc(1200px - 4rem);
  max-width: 100% !important;
  overflow: hidden;
  display: block;
}

.scrolling-cards-arrow {
  min-width: 32px;
  width: 8px;
  height: 100%;
  background-color: #e21a6d;
  display: flex;
  align-items: center;
  text-align: center;
}

.scrolling-cards-arrow button {
  background: none;
  width: 100%;
  height: 100%;
  border: none;
  margin: 0 auto;
  padding: 0;
  cursor: pointer;
}

.scrolling-cards-arrow img {
  flex: 100%;
  color: white;
  font-weight: 700;
  max-width: 16px;
  margin: 0 auto;
}

.scrolling-cards-arrow img.left {
  transform: rotate(180deg);
}

.scrolling-card {
  margin-right: 1rem;
}

.scrolling-card .card {
  height: 375px;
}

.scrolling-card p.description {
  display: none;
}

.card p,
.card span {
  padding-left: 1rem;
  padding-right: 1rem;
}

.card p.title {
  margin-top: 24px;
  color: #3b73b4;
  font-weight: 300;
  margin: 12px 0 0;
}

.card p {
  margin-top: 12px;
  padding: 0 1rem;
  line-height: 36px;
  color: #323f4b;
}

.card.statistics {
  background-color: #eb5292;
}

.card.statistics p {
  color: white;
  padding: 0 24px;
  font-size: 24px;
  line-height: 40px;
}

.card p.statistic {
  padding: 50px 24px 0;
  margin: 0;
  font-weight: 900;
  font-size: 89px;
  color: white;
  line-height: 75px;
}

.card .statistic-name {
  padding: 0 24px 0;
  font-weight: 600;
  font-size: 28px;
  color: white;
}

.card img {
  max-width: 100%;
}

.card.selected {
  opacity: 0.5;
  cursor: default;
}

.card a.card-button {
  position: relative;
  background-color: #3b73b4;
  text-align: left;
  padding: 0 24px;
  font-size: 19px;
  line-height: 60px;
  text-decoration: none;
  color: #fff;
  border: none;
}

.card a.card-button::before {
  background: url("/assets/images/card-arrow.svg");
  content: " ";
  height: 24px;
  position: absolute;
  right: 24px;
  top: 18px;
  width: 32px;
}

.card.quote {
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.16);
  border: solid 1px #3b74b3;
}

.card.quote a.card-button {
  background: #fff;
  border: solid 1px #3b74b3;
  box-shadow: 0px 4px 0px #3b74b3;
  width: auto;
  max-width: 80%;
  display: inline-block;
  line-height: 56px;
  margin-left: 24px;
  margin-top: 32px;
  border-radius: 6px;
  color: #3b74b3;
}

.card.quote blockquote {
  font-size: 24px;
  padding-top: 20px;
  font-style: italic;
  font-weight: 400;
  line-height: 42px;
  margin-left: 24px;
  color: #3b74b3;
}

.card.quote p.author {
  font-size: 21px;
  color: #3b74b3;
  font-weight: 500;
  margin-left: 25px;
  margin-bottom: 0;
}

.card.quote p.author-age {
  margin: 0;
  padding: 0;
  margin-left: 60px;
  color: #eb5292;
}

.card.quote p.author sup {
  font-size: 30px;
  margin-right: 2px;
}

.card.quote a.card-button::before {
  display: none;
}

.card.quote a.card-button {
  margin-bottom: 2rem;
}

.card.quote p {
  color: #3b74b3;
}

.card-content-section {
  display: flex;
  align-items: flex-start;
  padding-top: 40px;
  gap: 60px;
  width: 100%;
}

.card-content-section nav ul {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  margin: 0;
  padding: 0;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 0 !important;
}

.card-content-section .content {
  max-width: 600px;
}

.card-content-section nav ul li {
  line-height: 36px;
  margin: 0;
  padding: 0;
}

.card-content-section nav li.selected a {
  text-decoration: none;
  color: #4c6372;
}

.card-content-section div.img {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
  max-width: 300px;
}

.card-content-section div.img img {
  max-width: 100%;
}

.card-content-section .content h3:first-of-type {
  padding-top: 8px;
}

.card-content-section div.content > div > p {
  margin-top: 2px;
}

.learn-more-section {
  display: block !important;
  position: relative;
  max-width: 1200px;
}

@media (min-width: 1200px) {
  .main.selected-card > div {
    width: 1200px;
  }
}

@media (max-width: 1200px) {
  .scrolling-cards-container {
    max-width: calc(100% - 4rem) !important;
  }
}

@media (max-width: 768px) {
  .card-content-section {
    flex-direction: column;
  }

  .scrolling-cards-control-container {
    max-width: 100%;
  }

  .cards {
    max-width: calc(100% - 2rem) !important;
    gap: 1rem !important;
    margin: 1rem !important;
    justify-content: space-evenly !important;
  }


  .card-content-section .content,
  .card-content-section div.img {
    justify-content: flex-start;
  }

  .main.selected-card > div,
  div.breadcrumb {
    margin-left: 2rem;
    width: auto;
    margin-right: 2rem;
  }

  .cards .card {
    max-width: 320px;
    min-width: 320px;
    width: 320px;
  }

  .learn-more-section {
    width: 100% !important;
  }
}

@media (max-width: 767px) {
  .card.statistics .statistic {
    font-size: 4rem;
  }

  div.breadcrumb {
    margin-left: 2rem;
  }

  .learn-more-section {
    max-width: 100% !important;
    margin: 0 !important;
  }

  .learn-more-section h2 {
    margin-left: 2rem;
  }
}

@media (max-width: 320px) {
  .scrolling-card,
  .card {
    max-width: 100%;
    min-width: 100%;
    width: 100%;
  }
}

.nuka-page-indicator {
  background-color: #e21a6d !important;
  opacity: 0.3 !important;
  width: 1rem !important;
  height: 1rem !important;
  margin-top: 1rem !important;
  margin-right: 1rem !important;
}

.nuka-page-indicator.nuka-page-indicator-active {
  background-color: #e21a6d !important;
  opacity: 1 !important;
}

.megamenu-placeholder {
  position: absolute;
  width: 100%;
  justify-content: space-around;
  right: -425px;
  top: 50px;
}

.megamenu-container {
  display: none;
  width: 100%;
}

.megamenu-container.inline {
  position: relative;
  display: block;
}



.megamenu-container.inline .megamenu-placeholder {
  position: relative;
  right: auto;
  top: auto;
}

.megamenu-container .menu-image {
  position: absolute;
  top: 10px;
  right: 0;
  width: 1200px;
}

.megamenu-container .menu-image.pointer {
  top: 0;
}

.megamenu-container a.menu-link {
  position: absolute;
  width: 100px;
  height: 30px;
  display: block;
  z-index: 10000;
  color: #305e94 !important;
  text-align: center;
  font-size: 1.5rem !important;
  text-decoration: underline !important;
}

.megamenu-container span.section-title {
  color: #305e94 !important;
  width: 200px;
  display: block;
  height: 30px;
  position: absolute;
  text-align: left;
  z-index: 10000;
  font-size: 1.8rem !important;
  right: 970px;
  top: 50px;
}

.megamenu-container span.section-title.treatments {
  top: 60px;
}

.megamenu-container span.section-title.dialysis-options {
  top: 200px;
  width: 200px;
  right: 970px;
}

.megamenu-container span.section-title.access {
  top: 338px;
}

.megamenu-container a.menu-link.kidney {
  right: 630px;
  top: 60px;
  width: 250px;
}

.megamenu-container a.menu-link.dialysis {
  right: 455px;
  top: 60px;
  width: 125px;
}

.megamenu-container a.menu-link.conservative-care {
  right: 155px;
  top: 60px;
  width: 235px;
}

.megamenu-container a.menu-link.peritoneal {
  right: 650px;
  height: 50px;
  top: 325px;
  width: 235px;
}

.megamenu-container a.menu-link.fistula {
  right: 395px;
  height: 50px;
  top: 325px;
  width: 160px;
}

.megamenu-container a.menu-link.graft {
  right: 200px;
  height: 50px;
  top: 325px;
  width: 160px;
}

.megamenu-container a.menu-link.cvc {
  right: 40px;
  height: 50px;
  top: 325px;
  width: 100px;
}

@media (max-width: 1200px) {
  .megamenu-container .menu-image {
    width: 800px;
    right: 165px;
  }

  .megamenu-container a.menu-link {
    font-size: 1rem !important;
  }

  .megamenu-container a.menu-link.kidney {
    right: 595px;
    top: 40px;
    width: 150px;
    height: 10px;
  }

  .megamenu-container a.menu-link.dialysis {
    right: 475px;
    top: 40px;
    width: 70px;
    height: 10px;
  }

  .megamenu-container a.menu-link.conservative-care {
    right: 270px;
    top: 40px;
    width: 150px;
    height: 10px;
  }

  .megamenu-container a.menu-link.peritoneal {
    right: 600px;
    height: 50px;
    top: 220px;
    line-height: normal;
    width: 150px;
  }

  .megamenu-container a.menu-link.fistula {
    right: 430px;
    height: 50px;
    top: 220px;
    line-height: normal;
    width: 100px;
  }

  .megamenu-container a.menu-link.graft {
    right: 295px;
    height: 50px;
    top: 220px;
    line-height: normal;
    width: 115px;
  }

  .megamenu-container a.menu-link.cvc {
    right: 190px;
    height: 50px;
    width: 75px;
    top: 220px;
    line-height: normal;
  }

  .megamenu-container span.section-title {
    width: 200px;
    font-size: 1rem !important;
    right: 730px;
  }

  .megamenu-container span.section-title.treatments {
    top: 45px;
  }

  .megamenu-container span.section-title.dialysis-options {
    top: 133px;
    right: 730px;
  }

  .megamenu-container span.section-title.access {
    top: 212px;
  }
}

/* For inline use */

.treatmentoptions {
  min-width: 800px !important;
}

.content.treatment {
  display:block !important;
}

.megamenu-container.inline {
  width: 800px;
}


.megamenu-container.inline .menu-image {
  width: 800px;
  right: 0 !important;
}

.megamenu-container.inline a.menu-link {
  font-size: 1rem !important;
  line-height: normal;

}

.megamenu-container.inline a.menu-link.kidney {
  right: calc(595px - 165px);
  top: 40px;
  width: 150px;
  height: 10px;
}

.megamenu-container.inline a.menu-link.dialysis {
  right: calc(475px - 165px);
  top: 40px;
  width: 70px;
  height: 10px;
}

.megamenu-container.inline a.menu-link.conservative-care {
  right: calc(270px - 165px);
  top: 40px;
  width: 150px;
  height: 10px;
}

.megamenu-container.inline a.menu-link.peritoneal {
  right: calc(600px - 165px);
  height: 50px;
  top: 220px;
  width: 150px;
}

.megamenu-container.inline a.menu-link.fistula {
  right: calc(430px - 165px);
  height: 50px;
  top: 220px;
  width: 100px;
}

.megamenu-container.inline a.menu-link.graft {
  right: calc(295px - 165px);
  height: 50px;
  top: 220px;
  width: 115px;
}

.megamenu-container.inline a.menu-link.cvc {
  right: calc(190px - 165px);
  height: 50px;
  top: 220px;
  width: 75px;
}

.megamenu-container.inline span.section-title {
  width: calc(200px - 165px);
  font-size: 1rem !important;
  right: 730px;
}

.megamenu-container.inline span.section-title.treatments {
  top: 45px;
}

.megamenu-container.inline .menu-image {
  position: relative;
}

.megamenu-container.inline span.section-title.dialysis-options {
  top: 133px;
  width: 200px;
  right: calc(730px - 165px);
}

.megamenu-container.inline span.section-title.access {
  top: 212px;
}


  .treatment-text {
    min-width: 400px !important;
  }

/* End for inline use */

@media (max-width: 1024px) {
  .megamenu-placeholder {
    right: auto;
  }

  #root header nav ul li .submenu {
    position: relative;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0;
    display: block;
  }

  #root header nav ul li .submenu .column ul {
    padding-top: 0.5rem !important;
  }

  #root header nav ul li .submenu::after {
    display: none !important;
  }

  #root header nav ul li .submenu li {
    padding: 0 0 8px !important;
  }

  #root header nav ul li .submenu a {
    color: white !important;
  }
}

.tree,
.tree ul,
.tree li {
  list-style: none;
  margin: 0 !important;
  padding: 0;
  position: relative;
  gap: 0 !important;
}
.tree {
  position: relative;
  margin: 0 auto 1em;
  text-align: center;
  background: #3b73b4;
  padding: 1em;
}

.main .tree {
  background: white;
}

.main .tree a,
.main .tree span {
  color: #3b73b4;
  cursor: default;
}

.main .tree a:link {
  cursor: pointer;
}

.main .tree li:before {
  border-top-color: #3b73b4;
}

.main .tree ul:before,
.main .tree a:before,
.main .tree span:before {
  border-left-color: #3b73b4;
}

.tree,
.tree ul {
  display: table !important;
}

.tree ul {
  width: 100%;
}
.tree li {
  display: table-cell;
  padding: 0.5em 0;
  vertical-align: top;
}

/* Cell */
.tree a,
.tree span {
  position: relative;
  display: inline-block;
  margin: 0.25rem 0.2em 0.6em;
  padding: 0.5em 0.5em;
  color: #fff;
  font-size: 19px;
  font-weight: 300;
}
.tree a:hover {
  text-decoration: underline;
  cursor: pointer;
}

/* Horizontal Connectors */
.tree li:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  border-top: solid 1px #fff;
}

.tree li:first-child:before {
  left: 50%;
}

.tree li:last-child:before {
  right: 50%;
}

/* Vertical connectors */
.tree ul:before,
.tree span:before,
.tree a:before {
  content: "";
  position: absolute;
  left: 50%;
  border-left: solid 1px #fff;
  height: 0.75em;
}

.tree ul:before {
  top: -0.75em;
}

.tree a:before,
.tree span:before {
  top: -0.6em;
}

/* Remove leading vertical connector */
.tree > li > a:before,
.tree > li > span:before {
  border: none;
}

ul.insertion-pins li {
  position: relative;
  background: none;
  line-height: 49px;
  margin-left: 0;
  padding-left: 50px;
  display: flex;
}

img.pin,
div.pin {
  width: 39px;
  height: 49px;
  display: block;
  cursor: pointer;
  left: 0;
  position: absolute;
  line-height: 30px;
  z-index: 50;
}

img.pin-placeholder {
  width: 39px;
  height: 49px;
  display: block;
  cursor: pointer;
  left: 0;
  position: absolute;
  z-index: 50;
  opacity: 0.3;
  z-index: 1;
}

img.virtual-arm-drop {
  max-width: 100%;
  height: auto;
  border: solid 2px #333;
}

div.pin.existing {
  z-index: 40;
}

.droppable-area {
  position: relative;
}

.virtual-arm .tooltip {
  position: absolute;
  display: none;
  border-radius: 4px;
  border: 1px solid rgba(216, 221, 224, 1);
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.33);
  opacity: 1;
  background-color: rgba(255, 255, 255, 1);
  text-align: center;
  padding: 1rem;
  top: -109px;
  left: -59px;
  height: 60px;
  width: 120px;
  z-index: 999;
}

.virtual-arm .pin:hover .tooltip {
  display: block;
}

.virtual-arm .tooltip p {
  color: rgba(33, 43, 51, 1);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 28px;
  padding: 0;
  margin: 0;
}

.virtual-arm .tooltip span {
  color: rgba(118, 134, 146);
  font-size: 19px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
  text-align: left;
  line-height: 28px;
}

.virtual-arm .tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 1) transparent transparent transparent;
}

.virtual-arm .tooltip::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 15px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.11) transparent transparent transparent;
}

aside.style2 {
  background: white;
}

aside.style2 h2 {
  margin-bottom: 0.5rem;
  padding-bottom: 0;
}

aside.style2 p {
  margin: 0 0 1rem;
  padding: 0;
}

aside.style2 legend {
  font-weight: 700;
}

aside.style2 .inputs-flex {
  display: flex;
}

main .planning {
  display: flex;
  margin: 16px auto;
  max-width: 1200px;
  flex-direction: row-reverse;
}

aside.style2 button {
  width: 150px;
}

@media (max-width: 1200px) {
  main .planning .main h1 {
    padding-left: 32px;
  }
}

.buttons-insertion {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  margin-top: 1rem;
}

@media (max-width: 767px) {
  main .planning {
    flex-direction: column;
  }

  .buttons-insertion {
    flex-direction: column;
    gap: 2rem;
  }
}

.ReactModalPortal {
  position: relative;
  z-index: 1000;
}

textarea {
  max-width: 600px;
  width: 100%;
}

.clinical-forms > div {
  width: 100%;
  max-width: 1500px;
}

.clinical-forms .form-container {
  width: 100%;
  flex: 150%;
}

@media (max-width: 1024px) {
  .clinical-forms .form-container {
    width: 100%;
    flex: 200%;
  }
}

@media (max-width: 800px) {
  .clinical-forms .forms-image {
    display: none;
  }
}

.analytics select {
  margin-bottom: 1rem;
}

.analytics .graphs-grid {
  display: flex;
  gap: 1rem;
  flex-direction: row;
  flex-wrap: wrap;
}

.analytics .graphs-grid div {
  max-width: calc(50% - 1rem);
  min-width: 300px;
  width: 100%;
  margin-bottom: 1rem;
}

.analytics .graphs-grid .title {
  min-width: 100%;
  flex: 1;
  min-height: 75px;
}

.analytics .graphs-grid .graph {
  height: 217px;
  width: 100%;
  min-width: 100%;
}

/* Adaptions for small laptops / tablets */
@media (max-width: 1020px) {
  #root > header > div:first-child {
    display: block;
  }

  #root > header nav {
    margin: 1.5rem 0 0 0;
  }

  #root > header nav ul li {
    margin-left: 0;
    margin-right: 0.5rem;
    white-space: nowrap;
  }

  #root header nav ul li .submenu.account {
    right: 18px;
  }

  #root header nav ul li.tools {
    flex: 1;
  }

  #root header nav ul li.account {
    margin-left: 0;
  }
}

@media (max-width: 1024px) {
  #root > footer > div {
    flex-direction: column-reverse;
    display: flex;
  }

  #root > footer div.left {
    margin-top: 2rem;
    border-top: solid 1px #afb7be;
    padding-top: 1.5rem;
  }

  #root > footer > div > ul > li h2 {
    text-align: left;
  }

  #root header nav ul li .submenu.account {
    right: 0px;
  }
}

/* Mobiles */
@media (max-width: 1024px) {
  #root > header > div:first-child {
    display: block;
  }

  #root > header nav {
    margin: 1.5rem 0 0 0;
  }

  #root > header nav ul {
    display: block;
    margin-bottom: 0;
  }

  #root header nav ul li {
    margin-bottom: 0;
  }

  #root header nav ul li .submenu.account {
    right: -10px;
  }

  #root > header nav ul li.favourites,
  #root > header nav ul li.account {
    position: absolute;
  }

  #root header nav ul li.favourites {
    margin-left: auto;
  }

  #root header nav ul li.favourites .tree,
  .tree ul,
  .tree ul li {
    display: block !important;
    height: auto;
  }

  .tree ul li::before,
  .tree ul li a::before,
  .tree ul::before,
  .tree span::before {
    display: none;
  }

  .tree ul li,
  .tree ul li a,
  .tree ul,
  .tree a,
  .tree span {
    padding: 0 !important;
    text-align: left;
    margin: 0;
  }

  .tree span {
    display: none;
  }

  .tree ul li a {
    padding-left: 1rem !important;
  }

  .megamenu-container {
    position: relative;
    display: none;
    top: auto;
    left: auto;
  }

  .megamenu-placeholder {
    position: relative;
    display: block;
    top: auto;
  }

  nav li a:hover {
    color: red;
  }

  nav li:hover .megamenu-container {
    display: block;
    position: relative;
    top: auto;
    left: auto;
    padding: 0;
  }

  #root > footer > div > ul > li {
    display: block;
  }

  #root > footer > div > ul > li h2 {
    width: auto;
  }

  #root > footer > div > ul > li > div > ul {
    display: block;
  }

  #root > footer > div > ul > li div ul li:after {
    display: none;
  }
}

.checkboxes.horizontal {
  display: flex;
  gap: 3rem;
}

.checkboxes.horizontal label {
  display: block;
}

.checkboxes.horizontal div {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  gap: 0.5rem;
}

h1 {
  display: flex;
  gap: 0.5rem;
}

h1 p {
  margin: 0;
  padding: 0;
}

a.favourite {
  text-indent: 250%;
  white-space: nowrap;
  overflow: hidden;
  background: none;
  border: none;
  box-shadow: none;
  display: block;
  background-image: url("https://media.umbraco.io/red-star/mrappyj5/heart.svg");
  background-repeat: no-repeat;
  background-position: center center;
  width: 41px;
  height: 36px;
  filter: brightness(0) saturate(100%) invert(44%) sepia(28%) saturate(1190%)
    hue-rotate(272deg) brightness(89%) contrast(89%);
}

.favourite.on {
  background-image: url(https://media.umbraco.io/red-star/zh4fy1kk/noun-heart-303502.png);
}

main .selected-card h2 {
  display: flex;
  gap: 1rem;
}

ul.favourites-list:has(li),
ul.favourites-list {
  width: 100%;
  display: block !important;
  margin-top: 1rem;
}

ul.favourites-list li {
  padding: 2rem 0;
  font-size: 24px;
  background: none;
  margin: 0;
  justify-content: space-between;
  align-items: center;
  display: flex !important;
  border-bottom: solid 1px #afb7be;
}

ul.favourites-list li a {
  display: block;
  font-size: 19px;
}

.favourites-section-container {
  width: 100%;
  max-width: 800px;
  margin-bottom: 5rem;
}

.warning-container {
  clear: both;
  padding: 1rem 0.5rem;
  display: block !important;
}

.warning {
  background: #d32f2f;
  color: #ffffff;
  display: flex;
  padding: 1rem;
}

.warning-container .warning p {
  margin: 0;
  padding: 0;
}

.health-scale {
  position: relative;
  width: 100px;
}

.health-scale a {
  color: black;
  display: block;
}

.health-scale div {
  position: absolute;
  right: 10px;
  top: 12px;
}

.health-scale div:nth-of-type(2) {
  top: 183px;
  right: 0;
}

.health-scale div:nth-of-type(3) {
  top: 355px;
  right: -8px;
}

.health-scale-pin {
  position: absolute;
  transform: rotate(-90deg);
}


.password-gate {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
}

.password-gate-container {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.password-gate-container h1 {
  margin: 0 0 0.5rem 0;
  color: #333;
  font-size: 2rem;
}

.password-gate-container p {
  margin: 0 0 2rem 0;
  color: #666;
  font-size: 0.95rem;
}

.password-gate form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.password-input {
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: border-color 0.2s;
  outline: none;
}

.password-input:focus {
  border-color: #667eea;
}

.submit-button {
  color: #e21a6d;
  background: #fff;
  text-decoration: none;
  border: 0.0625rem solid #e21a6d;
  border-radius: 0.375rem;
  box-shadow: 0 0.1875rem 0 #e21a6d;
  padding: 0 1rem;
  font-size: 1.1875rem;
  cursor: pointer;
  line-height: 3.5rem;
  white-space: nowrap;
}

.submit-button:hover {
  opacity: 0.9;
}

.submit-button:active {
  color: pink;
}

.error-message {
  color: #e74c3c;
  font-size: 0.875rem;
  margin-top: -0.5rem;
  animation: shake 0.3s;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
