html {
  scroll-padding-top: 96px;
  scroll-behavior: smooth;
}

body {
  background-color: #EFF2F6;
  line-height: 150%;
}

/* Text element styles start */
h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 130%;
}

h2 {
  font-size: 1.6235rem;
  line-height: 130%;
  font-weight: 400;
}

h3 {
  font-size: 1.25rem;
  line-height: 140%;
  font-weight: 500;
}

h4,
h5,
h6 {
  font-size: 1.125rem;
  line-height: 140%;
  font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 1.5em;
  margin-bottom: 1em;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
  margin-top: 0;
}

p {
  margin-bottom: 1em;
  line-height: 150%;
}

p:first-child {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

p.ingressi {
  font-size: 1.3125rem;
  line-height: 150%;
}

p.toggler {
  cursor: pointer;
}

.bold {
  font-weight: bold;
}

.regular {
  font-weight: 400;
}

.underline {
  text-decoration: underline;
}

.green-text {
  color: var(--green-normal) !important;
}

.orange-text {
  color: var(--orange-dark) !important;
}

.raspberry-text {
  color: var(--raspberry-dark) !important;
}

.purple-text {
  color: var(--purple-dark) !important;
}

.blue-text {
  color: var(--blue-dark) !important;
}

.check {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.check::before {
  content: "";
  color: var(--green-normal);
  display: inline-block;
  width: 1rem;
  height: 0.75rem;
  background: url(/img/homepage/CheckMarkGreen.svg) no-repeat left center;
  position: absolute;
  left: 0;
  top: 1rem;
  transform: translateY(-100%);
}

/* Text element styles end */

/* Other html element styles start */

p a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

textarea,
select,
input[type="text"],
input[type="password"],
input[type="number"] {
  padding: 0.2rem 0.3rem;
  border: 1px solid var(--gray-normal);
}

dl,
ol,
ul {
  margin-bottom: revert;
}

pre {
  white-space: pre-line;
  padding-left: 1rem;
}

/* Other html element end  */

/** Border styles start */

.no-radius {
  border-radius: 0;
}

.no-top-radius {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

.no-bottom-radius {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.border-orange {
  border-color: var(--orange-normal) !important;
}

.border-raspberry {
  border-color: var(--raspberry-normal) !important;
}

.border-purple {
  border-color: var(--purple-normal) !important;
}

.border-blue {
  border-color: var(--blue-normal) !important;
}

.border-gray {
  border-color: var(--gray-medium) !important;
}

/** Border styles end */

/* Bootstrap overrides start */

.accordion {
  margin-bottom: 2rem;
}

.accordion-button {
  padding: 1.25rem;
  line-height: 150%;
  font-weight: 500;
}

.accordion-button:not(.collapsed) {
  background-color: var(--blue-light);
  color: var(--blue-bright)
}

.accordion-item:first-of-type .accordion-button {
  border-radius: 0 !important;
}

/* Bootstrap overrides end */

/** Desktop navigation styles start */

#header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  background-color: #fff;
  height: 6rem !important;
}

.mobile-nav {
  display: none !important;
}

.navbar-nav {
  gap: 1rem;
  position: relative;
}

.navbar-nav li a.active::after {
  content: "";
  background: var(--green-normal);
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  top: 100%;
  height: 0.25rem;
  border-radius: 4px;
}

.navigationbar {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  transition: all .3s ease;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  background-color: #fff;
  height: 6rem !important;
}

.navigationbar-scrolling {
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}

.navigationbar a {
  color: var(--gray-dark);
  gap: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 500;
  position: relative;
}

.nav-item a:hover:after {
  content: "";
  background: var(--green-normal);
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  top: 100%;
  height: 0.25rem;
  border-radius: 4px;
}

.nav-item a.button-primary:hover:after {
  display: none;
}

.nav-item .dropdown-item a:after {
  display: none;
}

.dropdown-menu>li:hover .nav-item .dropdown-item a.active {
  background-color: var(--green-darkest);
  border-radius: 0.25rem;
}

.nav-item .dropdown-item a.active {
  background-color: var(--green-light);
  border-radius: 0.25rem;
}

.navigationbar .button-primary {
  padding: 0.5rem 0.75rem !important;
}

.submenu .dropdown-item {
  padding: .25rem 0.5rem;
}

.submenu .dropdown-item a {
  padding: 0.5rem 0.25rem;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--green-light);
  border-radius: 0.25rem;
  color: var(--green-darkest);
}

.cta-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cta {
  flex-direction: column;
  font-size: 1rem !important;
  height: 48px;
  padding: 0 !important;
}

.cta svg {
  min-height: 1.5rem;
  min-width: 1.5rem;
}

.cta-separator {
  display: inline-block;
  width: 1px;
  min-height: 1em;
  height: 2.5rem;
  background-color: #000;
  opacity: .2;
}

nav .dropdown-toggle::after {
  display: none;
}

.dropdown-menu li {
  position: relative;
}

.nav-item .submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: -7px;
}

.nav-item .submenu-left {
  right: 100%;
  left: auto;
}

.dropdown-menu>li:hover {
  background-color: #f1f1f1;
  border-radius: 0.25rem;
}

.dropdown-menu>li.active:hover {
  background-color: var(--green-light);
}

.dropdown-menu>li:hover>.submenu {
  display: block;
}

/** Desktop navigation styles end */

/** Footer styles start */

#footer {
  width: 100%;
  background-color: #757575;
  background-image: url(/img/homepage/bgFooter.svg);
  background-position: center -6rem;
  background-repeat: no-repeat;
  height: 22rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem;
}

.footer-container {
  max-width: 70rem;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-container-links {
  display: flex;
  gap: 3rem;
}

.footer-container-links a {
  color: #fff !important;
  font-size: 1.125rem;
  font-weight: 500;
}

.footer-container-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-container-row p {
  text-transform: uppercase;
  color: #fff;
}

/** Footer styles end */

/** Button styles start */

.button__large {
  padding: 0.75rem 2rem !important;
  font-size: 1.25rem !important;
  display: flex;
  justify-content: center;
  align-content: center;
  font-weight: 500;
}

.button-primary {
  background: var(--green-normal) !important;
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  display: block;
  text-align: center;
  text-transform: capitalize;
}

.button-blue {
  display: block;
  background: var(--blue-normal) !important;
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  text-transform: capitalize;
  text-align: center;
}

.button-outline {
  background-color: none !important;
  border: 1px solid #FFFFFF;
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  text-transform: capitalize;
  display: block;
  text-align: center;
}

.button-outline--blue {
  background-color: none !important;
  outline: 1px solid var(--blue-bright);
  color: var(--blue-bright) !important;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  text-transform: capitalize;
  text-align: center;
  display: block;
}

.button-primary,
.button-blue,
.button-outline,
.button-outline--blue {
  max-width: max-content;
}

#back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
}

#back-top a {
  position: relative;
  z-index: 10;
  gap: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 3rem;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 500;
  transition: 1s;
  color: #fff;
  background-color: var(--blue-normal);
  text-transform: capitalize;
  height: 3rem;
  width: 3rem;
}

/** Button styles end */

/** Content styles start */

#content {
  width: 100%;
  text-align: left;
  min-height: calc(100vh - 28rem) !important;
}

/** Content styles end */

/** Hero styles start **/

.hero {
  color: #fff;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  margin-top: 6rem;
  padding-block: 6rem;
  padding-inline: 2rem;
  background-image: url(/img/homepage/Hero.svg);
  background-repeat: no-repeat;
  background-color: var(--blue-normal);
  background-position: center -6rem;
  position: relative;
}

.hero h2 {
  font-weight: normal;
  text-align: center;
  margin-bottom: 0;
}

.hero h1 {
  font-size: 3rem;
  max-width: 60rem;
  text-align: center;
  margin-bottom: 0;
}

/** Hero styles end **/

/** Content area styles start */

.content-area {
  max-width: 70rem;
  margin: 0 auto;
  padding-block: 4rem;
}

.content-area__text-container {
  display: flex;
  flex-direction: column;
}

.content-area__nopadding {
  padding: 0;
}

.content-area #videocanvas {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.content-area__row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  justify-content: center;
}

.content-area__text-container--info {
  border: 1px solid var(--gray-normal);
  padding: 1rem;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
}

.content-area__scrollable {
  height: 500px;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.content-area__scrollable ol {
  list-style-type: none;
  text-align: left;
  padding-left: 0.5rem;
}

.content-area__box {
  background-color: #fff;
  padding: 2rem;
  border-radius: 0.25rem;
  border-top: 0.375rem solid var(--green-normal);
  flex: 1;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.04), 0px 0px 16px rgba(0, 0, 0, 0.08);
}

.content-area__box--frontpage {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.content-area__box--withmargin {
  margin-bottom: 1rem;
}

.content-area__box h1 {
  font-size: 2rem;
}

.content-area__box h2 {
  font-weight: 400;
}

.content-area__button {
  margin-block: 2rem;
}

/** Content area styles end */

/** Documentary styles start */

.documentary {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background-image: url(/img/homepage/documentaryBg.svg);
  background-position: top;
  background-repeat: no-repeat;
  padding-inline: 2rem;
}

.documentary-hero {
  color: #fff;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 6rem;
  padding-block: 4rem;
  position: relative;
  color: var(--blue-dark);
}

.documentary-hero h2 {
  font-size: 3rem;
  text-transform: capitalize;
  margin-bottom: 0;
  font-weight: 700;
}

.documentary__mobile-links {
  display: none;
}

.documentary__content-area {
  /*max-width: 60rem;*/
  padding-block: 3.5rem;
  padding-left: 4rem;
  border-left: 1px solid #DCE2EA;
  padding-right: 4rem;
}

.documentary__content-area img {
  width: 100%;
}

.documentary__content-area div h1 {
  margin-bottom: 1rem;
}

.xml .documentary__content-area div h1 {
  margin-bottom: 0;
}

.documentary__content-area h2 {
  line-height: 130%;
}

.documentary__content-area h1 {
  font-size: 2rem;
}

.documentary__content-area h2.small,
.documentary__content-area h3.small {
  font-weight: normal;
}

.documentary__box {
  display: flex;
  background-color: #fff;
  border-top: 0.5rem solid var(--green-normal);
  margin-inline: 2.5rem;
  margin-bottom: 4rem !important;
  border-radius: 0.25rem;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.04), 0px 0px 16px rgba(0, 0, 0, 0.08);
  min-height: calc(100vh - 43rem) !important;
  max-width: 1360px;
  margin: 0 auto;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
  width: 100%;
  height: 100%;
}

.xml .documentary__box {
  min-height: calc(100vh - 44rem) !important;
}

.documentary__box dl {
  text-align: left;
  padding: 1rem;
  background: #fefefe;
  border: 1px solid #ddd;
}

.documentary__box dl dt,
.documentary__box dl dd {
  padding: 3px 0;
}

.documentary__box dl dt {
  width: 180px;
  float: left;
  font-weight: 600;
  text-align: right;
}

.documentary__box dl dd {
  margin-left: 190px;
  margin-right: 20px;
}

.documentary__sidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  min-width: fit-content;
  max-width:20rem;
}

.documentary__sidebar ul li label {
  display:flex;
  flex-direction: row;
  padding:0.75rem 1rem; 
  border-bottom:1px solid #DCE2EA;
  background:var(--blue-light); 
  font-weight:bold; 
}

.documentary__sidebar ul li a {
  display: flex;
  flex-direction: row;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #DCE2EA;
  transition: 0.2s ease;
  color: var(--blue-bright);
  line-height: 150%;
  white-space: nowrap;
}

.documentary__sidebar ul li a:hover {
  background-color: var(--blue-light);
}

/** Documentary end */

/** Extra styles for Documentatary / Introduction start */
.documentary.introduction {padding:0; gap:2rem; background-image:unset;}
.documentary.introduction .documentary-hero {background-image: url(/img/homepage/Hero.svg); background-color:var(--blue-normal); background-position:center -6rem; color:#fff;}
.documentary.introduction .documentary__box {width: calc(100% - 2rem); max-width:70rem; margin:0 auto;}
.documentary.introduction .documentary__sidebar {min-width:12rem; max-width:13rem;}
/** Extra styles for Documentatary / Introduction end */


@media (max-width: 1196px) {
  .hero {
    padding: 3rem 1rem;
    background-size: 160%;
    margin-top: 5rem;
    background-position: center top;
  }

  .hero h1,
  .hero h2 {
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1rem;
  }

  .hero p {
    text-align: center;
  }

  .hero img {
    width: 100%;
    height: 100%;
  }

  .content-area {
    padding: 2rem 1rem;
  }

  /** Navigation styles start */

  .mobile-nav {
    display: flex !important;
    align-items: center;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    min-height: 5rem;
    background-color: #fff;
    width: 100%;
    transition: all 0.3s ease;
    padding-left: 1rem;
  }

  #header div.system-notification {
    margin-top: 5rem;
  }

  .mobile-nav img {
    height: 3rem;
  }

  .mobile-nav a {
    padding: 0;
  }

  .mobile-nav .accordion {
    margin: 0;
  }

  .mobile-nav .accordion-item {
    border: none;
    border-radius: 0;
    border-top: 1px solid var(--gray-normal);
  }

  .mobile-nav .accordion-item:first-of-type {
    border: none;
  }

  .mobile-nav .accordion-body {
    padding: 0;
  }

  .mobile-nav .accordion-body.last {
    border-bottom: 1px solid var(--gray-normal);
  }

  .mobile-nav .accordion-header a {
    font-weight: bold;
  }

  .mobile-nav .accordion-item:first-of-type .accordion-button {
    border-radius: 0 !important;
  }

  .mobile-nav .accordion-button:not(.collapsed) {
    background-color: initial;
    color: initial;
    box-shadow: none;
  }

  .mobile-nav__links {
    display: none;
  }

  .mobile-nav__links--list.bold a {
    font-weight: bold;
  }

  .mobile-nav__links--list a {
    width: 50%;
  }

  .mobile-nav__links--list {
    padding-block: 0.5rem;
  }

  .mobile-nav__links {
    height: calc(100vh - 80px);
    overflow: scroll;
    padding: 1rem;
    width: 100%;
    padding-left: 0;
  }

  .mobile-nav__dropdown {
    padding-bottom: 1.5rem;
  }

  .mobile-nav__links a {
    color: var(--gray-dark);
    gap: 0.5rem;
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 400;
  }

  .mobile-nav__cta {
    border-bottom: 1px solid var(--gray-normal);
    padding-bottom: 1rem;
  }

  .cta-start-free {
    font-size: 1.5rem !important;
    margin-bottom: 1rem;
  }

  .mobile-nav__cta a {
    font-weight: bold;
  }

  .mobile-nav__cta a.active,
  .mobile-nav__links--list a.active {
    background: var(--green-light);
    color: var(--green-darkest);
  }

  .mobile-navbar-toggler {
    background-color: #fff !important;
    height: 5rem;
    width: 5rem;
    min-width: 5rem;
    min-height: 5rem;
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .mobile-navbar-toggler.active {
    background-color: var(--green-normal) !important;
  }

  .mobile-nav-open {
    display: block;
    width: 2rem;
    height: 2rem;
    background-image: url(/img/homepage/iconMenu.svg);
    background-size: 2rem;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .mobile-nav-close {
    display: block;
    width: 2rem;
    height: 2rem;
    background-image: url(/img/homepage/iconMenuClose.svg);
    background-size: 2rem;
    background-position: center center;
    background-repeat: no-repeat;
  }


  .mobile-nav__links--toggler {
    background-color: #fff;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem;
    cursor: pointer;
    border-top: 1px solid var(--gray-normal);
    font-weight: bold;
  }

  .mobile-nav__links--toggler:hover {
    background-color: #fff;
  }

  .desktop-nav {
    display: none !important;
  }

  /** Navigation styles end */

  /** Documentary styles start */

  .documentary {
    padding: 1rem;
  }

  .documentary__sidebar {
    max-width: 100% !important;
  }

  .documentary__content-area {
    padding: 2rem;
    padding-top: 1rem;
    max-width:fit-content
  }

  .documentary__box {
    flex-direction: column;
  }

  .documentary__sidebar ul li:last-of-type a {
    border: none;
  }

  .documentary__sidebar .dropdown-menu {
    width: calc(100% - 4rem);
  }



  .documentary__box dl dt {
    text-align: left;
    width: auto;
    float: none;
  }

  .documentary__box dl dd {
    margin: 0;
  }

  .documentary-hero {
    padding: 3rem 2rem;
    background-size: 160%;
    margin-top: 5rem;
  }

  .documentary-hero p {
    text-align: center;
  }

  .documentary-hero img {
    width: 100%;
    height: 100%;
  }

  .documentary-hero {
    padding: 3rem 2rem;
    background-size: 160%;
    margin-top: 5rem;
  }

  .documentary-hero h1,
  .documentary-hero h2 {
    text-align: center;
    font-size: 1.75rem;
  }

  .documentary-hero p {
    text-align: center;
  }

  .documentary-hero img {
    width: 100%;
    height: 100%;
  }

  .documentary__desktop-links {
    display: none;
  }

  .documentary__mobile-links {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 1rem;
  }

  .documentary__mobile-links .dropdown-toggle::after {
    display: none;
  }

  .documentary__mobile-links .dropdown-toggle {
    display: flex;
    padding: 1rem;
    border: 1px solid var(--gray-medium);
    border-radius: 0.25rem;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-weight: bold;
  }

  /** Documentary styles end */
}

@media (max-width: 991px) {
  h1 {
    font-size: 2rem;
    line-height: 150%;
  }

  h2 {
    font-size: 1.625rem;
    line-height: 150%;
  }

  h4 {
    font-size: 1.125rem;
    line-height: 150%;
  }

  #footer {
    height: 100%;
    background-image: url(/img/homepage/footerbgmob.png);
    background-position: right;
    background-repeat: no-repeat;
    background-color: var(--gray-darker);
  }

  .footer-container {
    gap: 2rem;
  }

  .footer-container-links {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .footer-container-row {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-container-row p {
    text-align: center;
  }

  .button-primary,
  .button-blue,
  .button-outline,
  .button-outline--blue {
    max-width: initial !important;
  }
}

@media (max-width: 768px) {
  .content-area__row {
    flex-direction: column;
  }
}