
:root {
  --home-icon: url(https://webgate.ec.europa.eu/IMSOC/tracesnt-help/Content/css/image/home.png);

  --color-ec-blue: 21, 68, 148;
  --color-ec-blue-dark: 12, 47, 103;
  --color-site-title: 12, 47, 103;
  --color-ec-link-blue: 21, 68, 148;
  --color-ec-blue-lighter: 86, 128, 195;
  --color-ec-blue-lightest: 191, 208, 228;
  --color-light-gray: 128, 128, 128;
  --color-lightest-grey: 241, 241, 241;
  --color-bg-15-blue: 219, 224, 232;

  --font-family-headings: "Poppins", sans-serif;
  --font-family-body: "Open Sans", sans-serif;

  --base-font-color: #333
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: normal;
  margin: 0;
  padding: 0;
}

body {
  --translated: "";
  --site-title: "TRACES NT Documentation";
  font-family: var(--font-family-body);
  font-weight: 500;
  color: #333;
}

.acceptanceTitle {
  --site-title: "ACCEPTANCE TRACES NT Documentation";
  --color-site-title: 143, 196, 0;
}

.translatedTitle {
  --translated: " - Machine Translated";
  --color-site-title: 70, 12, 102;
}

h1,
h2,
h3,
h4,
h5,
h6,
.subtitle {
  letter-spacing: normal;
  text-transform: none;
}

body,
html {
  color: #333;
  min-height: 100vh;
  overflow-x: hidden;
}

p {
  line-height: 1.7;
}

main article:last-child {
  margin-top: 0px;
}

.header-link {
  display: none !important;
}

/* TRACES Bootstrap build */
/* Heading */

.hidden {
  display: none;
}

.head1 {
  margin-top: 3rem !important;
  font-size: 3.8rem;
  font-weight: bold;
  color: rgb(var(--color-ec-blue-dark));
  font-family: var(--font-family-headings);
}

.head2:not(div) {
  margin-top: 3rem;
  font-size: 3.2rem;
  font-weight: normal;
  font-family: var(--font-family-headings);
}

.head3 {
  margin-top: 2rem !important;
  font-size: 3rem;
  font-weight: normal;
  font-family: var(--font-family-headings);
}

.head3bold {
  font-size: 2rem;
  font-weight: bold;
  font-family: var(--font-family-headings);
}

.col-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.col-2>div.titlepage,
.col-2>a {
  display: none;
}

.col-2-full {
  display: grid;
  grid-template-columns: 20% 1fr 1fr 20%;
  width: 100vw;
  position: relative;
  margin-left: -50vw;
  left: 50%;
}

.col-2-full>div.titlepage,
.col-2-full>a {
  display: none;
}

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
}

.previous a {
  border: none !important;
}

/*--------------CAROUSEL-----------------*/

.carousel {
  display: block;
  max-width: 80%;
  aspect-ratio: 16/9;
  overflow: hidden;

  position: relative;
  border: solid 2px rgb(255, 219, 88)
}

.carousel .inlinemediaobject {
  position: absolute;
  top: 0;
  left: 0;

  display: block;
  width: 100%;

  float: left;
  cursor: pointer;
}

.carousel .inFront {
  z-index: 2;
}

.carousel img {
  min-width: 100%;
  display: block;
  height: auto !important;
}

.carousel>.circle {
  position: absolute;

  --size: 6rem;
  width: var(--size);
  height: var(--size);
  border: 2px solid rgb(255, 219, 88);
  border-radius: 50%;

  bottom: 2rem;
  left: 2rem;

  background-color: rgb(255, 219, 88);

  font-size: calc(var(--size) - 2rem);
  line-height: calc(var(--size) - 0.6rem);
  text-align: center;
  color: black;

  z-index: 10;
}

.stepDots {
  position: absolute;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;

  width: 100%;
  bottom: 2rem;
  z-index: 10;
}

.stepDot {
  --size: 2rem;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;

  background-color: rgba(255, 219, 88, 0.5);
  z-index: 10;
}

.activeDot {
  outline: 3px solid rgb(255, 219, 88)
}

/*-----------------------------*/
.steps {
  margin-left: 1rem;
  padding: 0;
  width: fit-content;
}

.steps li {
  padding: 1.5rem 0.5rem;
  margin-bottom: 2rem;
  border-top: 1px solid lightgrey;
  background-color: rgb(var(--color-lightest-grey));
}

.steps li:last-child {
  border-bottom: 3px solid darkgray;
}

.steps li p {
  display: inline;
}

.steps li span {
  font-weight: 500;
  margin: 1rem;
  padding: 0.5rem;
  border-radius: 1rem;
  background-color: #555;
  color: white;
  font-size: 1.7rem;
}

.steps li img {
  margin-top: 1rem;
  padding: 0.5rem 2rem;
}

.steps li::marker {
  content: none;
}

/*--------------------*/

.global-content button {
  padding: 0px !important;
  border-bottom: 0px !important;
}

main {
  grid-column-start: 2;
  margin: 0;
  position: relative;
  padding-bottom: 10rem;
}

.site-content {
  --background-gradient: -webkit-linear-gradient(90deg,
      #ffffff 0%,
      rgba(0, 255, 0, 0) 50%);
  --background-url: url(https://webgate.ec.europa.eu/IMSOC/tracesnt-help/Content/en/image/uuid-906bbc85-2fd8-4555-11a0-5fa4e2d6c9e2.png);
  --background-opacity: 1;
}

.site-content::before,
.site-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
}

.site-content::before {
  background: var(--background-url);
  background-size: cover;
  background-position: center;
  z-index: -3;
  opacity: 0.8
    /* var(--background-opacity) */
  ;
}

.site-content::after {
  z-index: -2;
  background: #f7f7f7;
  background: var(--background-gradient);
  opacity: var(--background-opacity);
}

/*----------------Landing Page--------------*/

.start-page>.titlepage,
.start-page>a {
  display: none;
}

.start-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.image-block-1,
.image-block-2 {
  position: relative;
}

.frontpage-text1,
.frontpage-text2 {
  min-height: 35rem;
  display: flex;
  flex-direction: column;
  /* horizontal direction */
  justify-content: center;
  /* center items horizontally */
  padding: 40px 20px;
  opacity: 0;
  animation: fadeIn 800ms forwards;
}

.frontpage-images .titlepage {
  display: none;
}

.frontpage-text1 .titlepage h3.title {
  font-size: 3.2rem;
}

.frontpage-text2 {
  grid-column: span 2;
  width: 100%;
  padding-left: 20px;
  position: relative;
  color: #ffffff;
  z-index: 10;
  margin-bottom: 40px;
}

.frontpage-text2::after,
.frontpage-text2::before {
  content: "";
  position: absolute;
  width: 100vw;
  height: calc(100% - 40px);
  left: calc(-1 * (100vw - 100%) / 2);
  top: 40px;
}

.frontpage-text2::before {
  background: linear-gradient(0deg,
      rgba(1, 55, 118, 0.75) 0%,
      rgba(1, 55, 118, 0.9) 99%);
  z-index: -5;
}

.frontpage-text2::after {
  background-image: url(https://webgate.ec.europa.eu/IMSOC/tracesnt-help/Content/en/image/uuid-2d92d0a1-c259-dcaa-7a3d-647f011902ce.png);
  background-position: -37% 50%;
  background-size: 130%;
  background-repeat: no-repeat;
  z-index: -6;
}

.frontpage-images {
  display: flex;
  flex-direction: column;
  justify-content: center;
  --animation-delay: 0.3s;
}

.frontpage-images .mediaobject {
  margin: 0px;
  position: relative;
  z-index: -1;
  width: 100%;
  --image-width: 130%;
  --image-larger-by: calc(var(--image-width) - 100%);
}

.image-block-1 .mediaobject:nth-child(2),
.image-block-2 .mediaobject:nth-child(2) {
  left: 17%;
  margin-right: 150px;
  opacity: 0;
  animation: slideInLeft 800ms forwards;
  animation-delay: var(--animation-delay);
}

.image-block-1 .mediaobject:nth-child(3),
.image-block-2 .mediaobject:nth-child(3) {
  left: 15%;
  opacity: 0;
  animation: slideInLeft 800ms forwards;
  animation-delay: calc(0.2s + var(--animation-delay));
}

.image-block-1 .mediaobject:nth-child(4),
.image-block-2 .mediaobject:nth-child(4) {
  left: 20%;
  margin-right: 75px;
  opacity: 0;
  animation: slideInLeft 800ms forwards;
  animation-delay: calc(0.4s + var(--animation-delay));
}

.image-block-1 .mediaobject:nth-child(5),
.image-block-2 .mediaobject:nth-child(5) {
  left: 19%;
  margin-right: 125px;
  opacity: 0;
  animation: slideInLeft 800ms forwards;
  animation-delay: calc(0.6s + var(--animation-delay));
}

.image-block-1 .mediaobject img,
.image-block-2 .mediaobject img {
  min-height: 50%;
  max-width: var(--image-width);
  min-width: var(--image-width);
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    margin-left: 0;
  }
}

@keyframes slideInRight {
  to {
    opacity: 1;
    margin-right: 0;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/*both text atributes*/
.frontpage-text1 {
  -webkit-box-shadow: 99px -3px 140px 26px rgba(255, 255, 255, 1);
  -moz-box-shadow: 99px -3px 140px 26px rgba(255, 255, 255, 1);
  box-shadow: 99px -3px 140px 26px rgba(255, 255, 255, 1);
}

/*.frontpage-text2 {
-webkit-box-shadow: -80px -3px 140px 26px rgba(255,255,255,1);
-moz-box-shadow: -80px -3px 140px 26px rgba(255,255,255,1);
box-shadow: -80px -3px 140px 26px rgba(255,255,255,1);
}*/

/*----------------Remove unwanted body content--------------*/

.featured-content-label,
.portal-contents,
.languages {
  display: none;
}

/*----------------Nav bar setting up--------------*/

#google_translate_element {
  text-align: start;

  .goog-te-gadget {
    font-weight: 200;
    font-size: 1.3rem;
    padding-top: 1.2rem;
  }

  .goog-te-combo {
    padding: 0.7rem;
    border-color: lightgray;
    font-size: 1.5rem;
    color: #333;
  }

  span {
    a {
      padding: 0;

      img {
        margin-top: 0.2rem;
        height: 1.8rem;
        width: auto;

      }
    }
  }

}

.site-sidebar {
  position: relative;
  width: 100%;
  float: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  font-size: 1.5rem !important;
  font-weight: 500;
}

.site-sidebar-search {
  grid-column: span 1;
  flex-direction: row-reverse;
}

.site-sidebar-header>a {
  height: 100%;
  min-width: 59%;
  padding: 1rem;
  z-index: 2;
}

/* @media screen and (max-width: 780px) {
  .site-sidebar-header a {
    padding: 0.5rem;
  }
} */

.site-sidebar-header #logotype-pageheader {
  min-width: 190px;
  height: 100%;
  margin: 0px !important;
  padding: 0px;
}

.site-sidebar-header,
.site-sidebar-search {
  background-color: white;
  display: flex;
  align-items: center;
}

.site-sidebar-search #search {
  width: 250px;

  border: solid 1px lightgrey;
  float: right;
  margin: 0 5%;
}

#search::placeholder {
  color: var(--base-font-color)
}

.search-field {
  color: black;
}

.searchresultsnippet {
  color: var(--base-font-color);
  font-weight: normal;
}

.search-result-breadcrumbs {
  color: #666;
  font-weight: lighter;
}

.nav-site-sidebar {
  box-sizing: border-box;
  background-color: rgba(var(--color-ec-blue));
  display: flex;
  flex-wrap: wrap;
  /*padding: 0 4rem;*/
  margin: 0px;
  grid-column: span 3;
  align-items: center;
}

.nav-site-sidebar>li:first-child {
  margin-left: 6rem;
}

.nav-site-sidebar::before {
  content: var(--site-title) "" var(--translated);
  color: white;
  width: 100%;
  padding: 1rem 6rem;
  font-weight: 500;
  font-size: 2rem;
  font-family: var(--font-family-headings);

  border-top: 0;
  background-color: rgb(var(--color-site-title));
}

.nav-site-sidebar a {
  box-sizing: border-box;
  border-bottom: 2px solid #013776;
  margin: 0px;
  padding: 10px 15px !important;

  border-bottom: #004494 solid 2px;
}

.nav-site-sidebar a.start-page {
  padding: 0px 5px !important;
  margin-top: 3px;
  border-bottom: none !important;
  background-color: rgb(var(--color-ec-blue)) !important;
  transition: scale 0.15s;
}

.nav-site-sidebar a.start-page:hover {
  scale: 1.15;
  border: none;
  background-color: rgb(var(--color-ec-blue));
}

.nav-site-sidebar a.start-page img {
  width: 24px;
}

.nav-site-sidebar li {
  margin: 0px;
  width: auto !important;
  z-index: 2;
}

.nav .glyphicon {
  display: none;
}

.nav-site-sidebar li.active a,
.nav-site-sidebar li a:hover {
  box-sizing: border-box !important;
  background-color: #013776;
  border-bottom: 2px solid white;
  color: white;
}

.nav-site-sidebar li>ul {
  display: none !important;
}

.toolbar {
  min-height: 1.8rem;
  padding: 0.75rem 3rem;
  font-size: 1.6rem;
}

/*----------------Body line up--------------*/

.site-content {
  float: none;
  margin: 0px;
  width: auto;
  display: grid;
  grid-template-columns: 20% 1fr 20%;
  min-height: 50vh;
}

/*@media screen and (max-width: 1920px) {
  .site-content {
    grid-template-columns: 20% 1fr 20% !important;
  }
}

@media screen and (max-width: 780px) {
  .site-content {
    grid-template-columns: 2% 1fr 2% !important;
  }
}*/

.toolbar {
  grid-column: span 3;
}

#content-wrapper {
  min-height: 45vh;
  padding: 0 !important;
  padding-inline: 0rem;
  /* margin-left: 18%; */
  float: none !important;
  width: 99% !important;
}

/*----------------Footer--------------*/

#bottom-pager {
  grid-column-start: 2;
  grid-row-start: 3;
  padding: 1rem 2rem !important;
  width: 100% !important;
  margin: 0 auto !important;
  float: none !important;
}

#bottom-pager>.pager {
  padding: 1rem 25% !important;
  width: 100% !important;
  margin: 0 auto !important;
  float: none !important;
}

#bottom-pager>.pager a {
  border: 1px solid #004494;
  padding: 1.2rem 2.5rem;
  font-size: 1.5rem;
  color: #004494;
}

#bottom-pager>.pager a:hover {
  color: #ffffff;
  background-color: #004494;
}

/*---------------"In this section" not needed-----------*/

.section-toc-after {
  display: none;
}

/*----------------FAQ--------------*/

.qandaset {
  padding: 1rem 2rem;
  background-color: rgba(var(--color-ec-blue-lightest), 0.2);
}

.qandaset>ul {
  display: none;
}

.table-button {
  padding: 1rem 1.6rem;
}

.table-button:hover {
  color: white;
}

.material-placeholder {
  max-width: 90%;
  /* border-top: solid 3px rgb(var(--color-ec-blue-dark), 0.5); border top for images*/

  /*display: flex;
  justify-content: center;
  align-items: center;*/
}

.qandaset .question> :first-child,
.qandaset .answer> :first-child {
  display: none;
}

.question {
  border: 1px solid rgba(var(--color-ec-blue), 0.2);
  background-color: white;
  display: block;
  margin-block: 1rem;
  cursor: pointer;
  position: relative;

  &::after {
    content: "";
    border: solid rgba(var(--color-ec-blue), 0.7);
    border-width: 0 4px 4px 0;
    padding: 4px;

    position: absolute;
    right: 2rem;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%) rotate(45deg);
    -webkit-transform: translateY(-50%) rotate(45deg);
  }

  &:hover {
    background-color: rgb(var(--color-ec-blue), 0.9);

    &::after {
      border: solid white;

    }
  }

  &.active {
    background-color: rgb(var(--color-ec-blue), 0.9);
    margin-bottom: 0;

    &::after {
      border: solid white;

    }

    p {
      margin-left: 0.5rem;
      color: #fff;
    }
  }
}

.question>td {
  width: 100%;
  cursor: pointer;
  display: flex;
  align-content: center;
  justify-content: space-between;
  padding: 2rem;
  padding-right: 5rem;

  &:hover {
    p {
      margin-left: 0.5rem;
      color: #fff;
    }
  }
}

.question p {
  margin: 0;
  color: rgba(var(--color-ec-blue-dark));
  font-size: 1.8rem;
  transition: margin 0.1s;

  /* &::before {
    content: "Q:";
    display: inline-block;
    font-family: var(--font-family-headings);
    color: rgba(var(--color-ec-blue), 0.3);
  } */
}

.qandaset .question td p span {
  font-weight: inherit;
}

.qandaset .question td p span strong {
  font-weight: inherit;
}

.qandaset .answer td {
  background-color: white;
  border: 1px solid rgba(var(--color-ec-blue-dark), 0.2);
  padding: 2rem;
  width: 100%;
}

/* Arrow for question  */

/* .qandaset .question::after {
  content: "";
  border: solid #fff;
  border-width: 0 4px 4px 0;
  padding: 4px;

  position: absolute;
  right: 2rem;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%) rotate(45deg);
  -webkit-transform: translateY(-50%) rotate(45deg);
} */

/*----------------Utilities--------------*/

/*Images*/
/*.image-viewport {
  min-width: 100%;
}*/

.image-viewport img {
  min-width: 40%;
  /*margin: 0 auto !important;*/
}

img,
img.materialboxed {
  max-height: 600px;
  max-width: 740px;
}

.ec-back {
  width: fit-content;
  padding: 0.75rem 1.5rem !important;
  margin: 2rem 1rem -3.9rem 90% !important;
  border: 2px solid rgba(var(--color-ec-blue-dark), 0.8);
  border-radius: 0.5rem;
  position: relative;
  z-index: 10;

  overflow: hidden;

  background-color: white;

  color: rgba(var(--color-ec-blue-dark), 0.8);

  font-size: 1.5rem;
  font-weight: bold;

  transition: 0.25s;

  cursor: pointer;
}

.ec-back:hover,
.ec-back:focus {
  box-shadow: inset 10rem 0 0 0 rgba(var(--color-ec-blue-dark), 0.8);
  color: white;
}

.ec-back-gen {
  width: 100%;
  height: 0px;
  position: relative;
  border-top: 2px solid rgba(var(--color-ec-blue-dark), 0.8);
  margin-bottom: 4rem;
  color: rgba(0, 0, 0, 0);
}

.ec-back-gen::after {
  content: "Back";
  display: block;
  border: 2px solid rgba(var(--color-ec-blue-dark), 0.8);
  border-radius: 0.5rem;
  background-color: white;
  color: rgba(var(--color-ec-blue-dark), 0.8);
  font-size: 1.5rem;
  font-weight: bold;

  position: absolute;
  z-index: 10;
  top: 0;
  right: 7.5%;
  width: fit-content;
  padding: 0.75rem 1.5rem !important;

  transform: translateY(-50%);

  transition: box-shadow 0.25s;

  cursor: pointer;
}

.ec-back-gen:hover::after,
.ec-back-gen:focus::after {
  box-shadow: inset 10rem 0 0 0 rgba(var(--color-ec-blue-dark), 0.8);
  color: white;
}

.section-nav-container {
  width: 18% !important;
  /* padding: 20px !important; */
  display: flex;
  justify-content: center;

  
}

@media (max-width:1200px){
    #content-wrapper{
      width: 100%!important;
    }
  
    img,
    img.materialboxed {
      max-height: 600px;
      width: 90%;
      max-width: 100%;
    }

  }

/*sidenav for box elements*/
#box-nav {
  left: 0px;
  -ms-overflow-style: none;
  /* for Internet Explorer, Edge */
  scrollbar-width: none;
  /* for Firefox */
  overflow-y: scroll;
}

#box-nav::-webkit-scrollbar {
  display: none;
}

#box-nav-ul {
  border-left: none;
  border-right: 1px solid #e6e6e6;
}

#box-nav-ul>li:first-child a {
  font-weight: 500;
}

#box-nav-ul>li.active a {
  font-weight: bold !important;
}

#box-nav-ul>li.active>a:before {
  right: -3px;
  left: auto;
}

/*remove from page elements that should not be there with js. check js file for the elelemnts that are removed*/

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

/*add bottom margin to the table so it diesnt stick to the text below.*/

table.menu-table {
  padding-top: 0rem;
  padding-bottom: 0rem;
  border-collapse: separate;
  border-spacing: 0.3rem !important;
  overflow: visible;
  margin-bottom: 2rem;
}

table.menu-table .td {
  margin-left: 10px;
  border: 1px solid rgba(var(--color-ec-blue), 0.8);
  /* background: rgba(var(--color-bg-15-blue), 0.75); */
  background-color: white;
  /*background-color: rgba(1, 55, 118, 0.22);
  border-left: rgba(1, 55, 118, 0.9) !important;*/
  text-align: center;
  padding: 0;
}

.menu-table a {
  display: block;
  text-decoration: none;
  text-align: center;
  padding: 1rem;
  color: white;
}

.menu-table .button {
  display: block;
  text-decoration: none;
  text-align: center;
  padding: 1.5rem;
  color: white;
}

.menu-table .td,
.menu-table .td a {
  font-size: 1.6rem;
  font-weight: 600;
  color: rgb(var(--color-ec-blue-dark));
}

.menu-table .td:hover {
  background-color: rgba(var(--color-ec-blue), 0.9);
}

.menu-table .td.active {
  background-color: rgba(var(--color-ec-blue), 0.9);

  a {
    color: #fff;
  }
}

.menu-table .td:hover a {
  color: #fff;
}

.section-nav-container {
  opacity: 1;
}

/*Documents/certificate page styling*/

.dropDown {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0px;
}

.dropDown>.titlepage,
.dropDown>a {
  display: none !important;
}

.dropDown .ec-box {
  display: flex;
  flex-grow: 1;
  gap: 5px;
  flex-wrap: wrap;
  align-content: flex-start;
}

.dropDown .ec-box .titlepage {
  width: 100%;
  box-shadow: inset 0px -15px 6px -15px rgba(0, 0, 0, 0.1);
}

.dropDown .ec-box h4.title {
  margin-bottom: 5px;
}

.dropDown .ec-box p {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  aspect-ratio: 1;
  background-size: cover;
  text-align: center;
  font-size: large;
  margin: 0;
  padding: 8px;
  color: #ffffff;
  position: relative;
  cursor: pointer;
  transition: 0.2s;
}

.dropDown .ec-box p::before,
.dropDown .ec-box p::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: 0.2s;
}

.dropDown .ec-box p::before {
  background: rgba(1, 1, 1, 0.4);
}

.dropDown .ec-box p::after {
  cursor: pointer;
  transition: 0.5s;
  background: rgba(1, 55, 118, 0.5);
  background: linear-gradient(90deg,
      rgba(1, 55, 118, 1) 20%,
      rgba(0, 255, 0, 0) 100%);
  background: -webkit-linear-gradient(90deg,
      rgba(1, 55, 118, 1) 20%,
      rgba(0, 255, 0, 0) 100%);
  background: -moz-linear-gradient(90deg,
      rgba(1, 55, 118, 1) 20%,
      rgba(0, 255, 0, 0) 100%);

  opacity: 0;
}

.dropDown .ec-box p:hover::after {
  opacity: 1;
}

.dropDown .ec-box p>* {
  z-index: 100;
}

.dropDown .ec-box p a {
  width: 100%;
  height: 100%;
  color: inherit;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropDown .ec-box .mediaobject {
  height: 0px;
  width: 0px;
}

/* Styling for the Getting Started page */
.ec-box-border {
  float: left;
  border: 2px solid rgba(var(--color-ec-blue-dark), 0.15);
  background: rgba(var(--color-bg-15-blue), 0.6);
  margin: 1rem;
  border-radius: 1rem;
  width: 50rem;

  color: rgba(var(--color-ec-blue-dark), 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ec-box-border .title {
  margin: 0;
  padding: 0;
}

.ec-box-border:hover {
  background-color: rgba(var(--color-ec-blue-dark), 0.9);
  border: 2px solid rgba(var(--color-ec-blue-dark), 0);
}

.ec-box-border a {
  text-align: center;
  display: block;

  color: inherit;
  text-decoration: none;
  font-size: 2rem;
  padding: 4rem;
  width: 100%;
}

.ec-box-border:hover a {
  color: #fff;
}

/* Clear both when objects float */

.ec-clear {
  clear: both;
}

.gs-page-title {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
}

.gs-description {
  position: relative;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  background: white;
  padding: 3rem 0 0 0;
  border-radius: 1rem;
  margin-bottom: 5rem;
  overflow: hidden;
}

.gs-description::before {
  content: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNOS45ODMgM3Y3LjM5MWMwIDUuNzA0LTMuNzMxIDkuNTctOC45ODMgMTAuNjA5bC0uOTk1LTIuMTUxYzIuNDMyLS45MTcgMy45OTUtMy42MzggMy45OTUtNS44NDloLTR2LTEwaDkuOTgzem0xNC4wMTcgMHY3LjM5MWMwIDUuNzA0LTMuNzQ4IDkuNTcxLTkgMTAuNjA5bC0uOTk2LTIuMTUxYzIuNDMzLS45MTcgMy45OTYtMy42MzggMy45OTYtNS44NDloLTMuOTgzdi0xMGg5Ljk4M3oiLz48L3N2Zz4=");
  position: absolute;
  top: 2rem;
  left: 2.5rem;
  opacity: 0.07;
  scale: 2;
}

.gs-description>p {
  padding: 1rem 4rem 0 4rem;
}

.gs-description .titlepage .title {
  margin-bottom: 2rem;
}

.gs-description .titlepage:has(.hidden) {
  display: none;
}

.gs-description .titlepage::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin: -1.5rem 0 1.5rem 0;
  background-color: rgb(var(--color-lightest-grey));
}

.gs-phrase {
  color: rgba(var(--color-ec-blue-dark));
  font-size: 1.9rem;
}

.gs-option-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 3rem;
  border-top: 3px solid rgb(var(--color-ec-blue-dark), 0.8);
  background-color: rgb(var(--color-ec-blue-dark), 0.05);
}

.gs-option-list .titlepage {
  display: none;
}

.gs-description>p {
  margin: 0 0 1rem 0;
}

.gs-option {
  border: 2px solid rgba(var(--color-ec-blue-dark), 0.2);
  margin: 0;
  border-radius: 1rem;
  background-color: white;

  color: rgba(var(--color-ec-blue-dark), 0.8);
  font-size: 1.6rem;

  text-align: start;
  text-decoration: none;

  transition: 0.12s;
}

.gs-option:hover {
  color: #fff;
  background-color: rgba(var(--color-ec-blue-dark), 0.8);
  border: 2px solid rgba(var(--color-ec-blue-dark), 0.8);
}

.gs-option a {
  display: block;
  padding: 1.2rem 2rem;
  color: inherit;
  text-decoration: none;
}

.gs-validation {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 3rem;
  background-color: rgba(var(--color-ec-blue), 0.95);
  color: white;
}

.gs-guided {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 3rem;
  background-color: rgba(var(--color-ec-blue), 0.1);
}

.gs-guided .title {
  color: rgb(var(--color-ec-blue));
}

.gs-start-button {
  margin: 0 auto;
}

.gs-start-button a {
  display: block;
  padding: 2rem 3rem;
  font-size: 2rem;
  background-color: rgb(var(--color-ec-blue));
  color: white;
  border: 2px solid rgba(var(--color-ec-blue));
}

.gs-start-button:hover a {
  color: rgb(var(--color-ec-blue));
  background-color: white;
}

.gs-validation-button {
  margin: 0 auto;
}

.gs-validation-button a {
  display: block;
  font-size: 1.6rem;
  color: rgb(var(--color-ec-blue));
  padding: 2rem 3rem;
  background-color: white;
  border: 2px solid white;
}

.gs-validation-button:hover a {
  background-color: rgb(var(--color-ec-blue));
}

.gs-validation-button:hover a {
  color: white;
}

.gs-validation-button,
.gs-start-button {
  margin-bottom: 3rem;
}

.mediaobject:has(.video-container) {
  aspect-ratio: 16 / 9;
  max-width: max(80%, 800px);
}

.videoobject {
  margin: 0;
}

.video-section {
  h2.head2 {
    margin-bottom: 0;
    font-size: 3.5rem;
  }

  p:nth-child(2) .emphasis em {
    color: #444;
    font-size: 1.5rem;
  }

  .video-container {
    border: #aaa 1px solid;
  }

  p:nth-child(n + 3) {
    margin-bottom: 0.2rem;
    margin-top: 2.5rem;
    color: #444;

    em {
      font-style: normal;
    }

    em::before {
      font-family: "FontAwesome";
      content: "\f144";
      color: rgb(var(--color-ec-blue-lighter));
      font-size: 2.2rem;
      display: inline-block;
      margin-inline: 1rem;
      vertical-align: text-bottom;

    }
  }
}

/*
 ████  ███  █   █ █████ ████   ███  █     █     █████ █████ █████ 
█     █   █ ██  █   █   █   █ █   █ █     █       █   █       █   
█     █   █ █ █ █   █   ████  █   █ █     █       █   █████   █   
█     █   █ █  ██   █   █   █ █   █ █     █       █       █   █   
 ████  ███  █   █   █   █   █  ███  █████ █████ █████ █████   █   
*/


.control-list-holder {
  position: relative;
  --margin-top: 4rem;
  margin-top: var(--margin-top);
  box-shadow: 0px 0px 15px -3px rgba(var(--color-ec-blue), 0.3);
  clear: both;
  background: linear-gradient(270deg, rgba(var(--color-bg-15-blue), 0.08) 0%, rgba(255, 255, 255, 1) 30%);
  min-height: calc(18rem - var(--margin-top));
  border-radius: 3px;
  margin-bottom: 1rem;
}

div.control-list-title {
  margin: 0;
}

.control-list-title:not(div) {
  font-size: 3rem;
  padding: 2rem;
  padding-inline: 3rem;
  margin: 0rem;
  /* color: rgba(var(--color-ec-blue), 0.1); */
  color: rgb(var(--color-ec-blue-dark));
  font-family: var(--font-family-headings);
  font-weight: 600;

}

.control-list-list:not(div) {
  list-style-type: none !important;
  padding-inline: 0rem;
  margin: 0;

  li {
    margin: 0rem;
    padding-inline: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 4rem;

    &:nth-child(odd) {
      background-color: rgba(var(--color-ec-blue), 0.06);
    }


    &>p {
      margin: 0;
      margin-right: 2rem;
      color: rgb(var(--color-ec-blue-dark));
      font-size: 1.8rem;

      &:first-child {
        flex-grow: 3;
      }

      &:last-child {
        min-width: 16rem;
      }

    }

    &.listhead {
      /* border-top: 1px solid rgba(var(--color-ec-blue), 0.06); */
      background-color: rgba(var(--color-ec-blue), 0.7);

      p {
        color: white;
        font-weight: 600;
        font-size: 1.7rem;

        &:first-child {
          margin-left: 1rem;
        }
      }
    }

    a {
      display: inline-flex;
      align-items: center;
      color: rgb(var(--color-ec-blue-dark));
      padding-block: 1rem;
      width: 100%;
      transition: margin 0.1s;

      &::before {
        content: ' ';
        display: inline-block;
        width: 4rem;
        height: 4rem;
        margin-inline: 1rem;
        background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20shape-rendering%3D%22geometricPrecision%22%20text-rendering%3D%22geometricPrecision%22%20image-rendering%3D%22optimizeQuality%22%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20viewBox%3D%220%200%20424%20511.54%22%3E%3Cpath%20fill%3D%22%230C2F67%22%20fill-rule%3D%22nonzero%22%20d%3D%22M86.37%20413.44c-11.76%200-11.76-17.89%200-17.89H189.1c-.2%202.95-.31%205.93-.31%208.94s.11%205.99.31%208.95H86.37zm35.31-167.09H104.5v19.96H78.08v-82.59h41.62c18.94%200%2028.41%2010.17%2028.41%2030.52%200%2011.19-2.47%2019.47-7.4%2024.84-1.85%202.03-4.41%203.75-7.66%205.16-3.26%201.41-7.05%202.11-11.37%202.11zm-17.18-41.49v20.35h6.08c3.17%200%205.49-.33%206.94-.99%201.45-.66%202.18-2.18%202.18-4.56v-9.25c0-2.38-.73-3.9-2.18-4.56-1.45-.66-3.77-.99-6.94-.99h-6.08zm53.52%2061.45v-82.59h37c14.89%200%2025.11%203.17%2030.66%209.51%205.55%206.34%208.32%2016.94%208.32%2031.78%200%2014.85-2.77%2025.44-8.32%2031.78-5.55%206.34-15.77%209.52-30.66%209.52h-37zm37.4-61.45h-10.97v40.3h10.97c3.61%200%206.23-.41%207.86-1.25%201.63-.84%202.44-2.75%202.44-5.75v-26.3c0-2.99-.81-4.91-2.44-5.74-1.63-.84-4.25-1.26-7.86-1.26zm98.71%2030.79h-22.47v30.66h-26.43v-82.59h54.18l-3.3%2021.14h-24.45v11.1h22.47v19.69zM265.81%2024.26v29.1c0%2065.66%2015.31%2069.47%2069.08%2069.47h22.03l-91.11-98.57zm94.33%20115.92h-21.48c-61.02%200-90.2-4.09-90.2-86.28V17.35H56.82c-21.7%200-39.47%2017.78-39.47%2039.47v264.79H219.2c-4.64%205.47-8.83%2011.34-12.51%2017.54H17.35v89.83c0%2021.62%2017.85%2039.47%2039.47%2039.47h149.04c3.53%206.12%207.56%2011.92%2012.02%2017.34H56.82C25.63%20485.79%200%20460.17%200%20428.98V56.82C0%2025.55%2025.55%200%2056.82%200h206.33a8.68%208.68%200%20016.93%203.45l105.07%20113.68c2.19%202.37%202.34%204.66%202.34%207.52v166.86c-5.55-2.98-11.35-5.56-17.35-7.71V140.18z%22/%3E%3Cpath%20fill%3D%22red%22%20d%3D%22M316.95%20297.45c59.12%200%20107.05%2047.93%20107.05%20107.05%200%2059.11-47.93%20107.04-107.05%20107.04S209.9%20463.61%20209.9%20404.5c0-59.12%2047.93-107.05%20107.05-107.05z%22/%3E%3Cpath%20fill%3D%22%23fff%22%20fill-rule%3D%22nonzero%22%20d%3D%22M337.9%20356.54l-3.77%2047.75%2017.35-6.07c11.47-4.4%2023.27%203.72%2014.38%2013.82-10.82%2012.45-27.26%2029.55-39.22%2040.94-7.43%207.42-11.73%207.49-19.18.06-13.24-13-26.24-27.44-39.18-40.87-9.25-10.06%202.3-18.55%2014.28-13.95l17.16%206.01c-1.25-16.28-2.82-31.84-3.77-48.1%200-2.99%202.5-5.39%205.42-5.61%2010.31%200%2020.84-.24%2031.12%200%202.92.22%205.42%202.62%205.42%205.61l-.01.41z%22/%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
      }

      &:hover {
        text-decoration: underline;
        margin-left: 0.4rem;
      }

    }
  }
}


/*Release Notes Page*/
#release-notes-section {
  display: grid;
  grid-template-columns: auto 1fr;
  /* border: 1px solid rgba(var(--color-ec-blue), 1); */
  background-color: white;
  height: 85vh;
  padding: 2rem;
}

#release-notes-item-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0rem 2rem 0rem 0rem;
}

.release-notes-item {
  padding: 1.5rem;
  cursor: pointer;
  border: none;
  text-align: start;
  border: 1px solid #5073AF;
  /* box-shadow: 0px 0px 30px 2px #5073AF; */
  background: #f3f4f6;
  position: relative;
  z-index: 1;
  min-width: 25rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: rgb(var(--color-ec-blue));

  &::after {
    content: '';
    height: 1rem;
    width: 1rem;
    position: absolute;
    right: -0.525rem;
    top: calc(50% - 0.5rem);
    transform: rotate(-45deg);
    border: 1px solid #5073AF;
    background-color: white;
    display: block;
    z-index: -1 !important;
  }

  &:hover {
    background: #5073AF;
    border-color: #5073AF;
  }
}

.release-notes-item.active-item::after {
  background-color: #5073AF;
  z-index: -1;
}

#release-notes-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;

  iframe {
    width: 100%;
    height: 100%;
    border: 1px solid rgba(var(--color-ec-blue), 0.5);

    html {
      border-style: solid;
    }
  }
}

.release-notes-archive {
  padding-block: 1rem;
}

.box-shadow {
  box-shadow: 0px 0px 30px 2px rgba(0, 0, 0, 0.1);
}

/*Background images in documents and ccertificates*/

/*Sante*/

/*
███████  ██████ ██          ███████  ██████   ██████  ████████ ███████ ██████  
██      ██      ██          ██      ██    ██ ██    ██    ██    ██      ██   ██ 
█████   ██      ██          █████   ██    ██ ██    ██    ██    █████   ██████  
██      ██      ██          ██      ██    ██ ██    ██    ██    ██      ██   ██ 
███████  ██████ ███████     ██       ██████   ██████     ██    ███████ ██   ██
*/

/* These are the official ECL Footer class names */

.ecl-site-footer {
  background-color: rgb(var(--color-ec-blue));
  color: #ffffff;
  display: flex;
  /*margin: 2rem 0 0 0;*/
  padding: 0 0 0 0 !important;
  position: relative;
  z-index: 10;
}

.ecl-container {
  box-sizing: border-box;
  margin-inline-end: auto;
  margin-inline-start: auto;
  position: relative;
  padding: 16px 50px 16px 50px;
  max-width: 100%;
  margin: auto;
}

.ecl-site-footer__row {
  border-bottom: 2px solid rgb(var(--color-ec-blue-lighter));
  display: grid;
  grid-gap: 0 2rem;
  column-gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 0 2rem 0;
}

.ecl-site-footer__row:last-child {
  border: none;
}

.ecl-site-footer__section {
  padding-top: 2rem;
}

ul.ecl-site-footer__list {
  list-style: none;
  padding: 1em 0 0 0;
}

ul.ecl-site-footer__list li {
  font-size: 0.9em;
  margin-bottom: 1em;
}

h2.ecl-site-footer__title {
  color: #ffffff;
  margin: 0;
  font-size: 1em;
  font-weight: bold;
  border-bottom: rgb(var(--color-ec-blue-lighter)) solid 2px;
  padding-bottom: 1em;
}

.ecl-site-footer a {
  color: #ffffff;
}

.ecl-site-footer a:hover,
.ecl-site-footer a:focus,
.ecl-site-footer a:active {
  color: #ffffff;
  text-decoration: underline;
}

.ecl-site-footer a.contact-us-link:hover,
.ecl-site-footer a.contact-us-link:focus,
.ecl-site-footer a.contact-us-link:active {
  text-decoration: none;
}

.ecl-site-footer__description {
  color: rgb(var(--color-ec-blue-lightest));
  font-size: 0.9em;
  padding-top: 1em;
}

img.ecl-site-footer__logo-image-desktop {
  margin-top: 1em;
}

.contactButton {
  background-color: rgb(var(--color-ec-blue-dark));
  border: 0;
  margin: 0;
  padding: 0.5rem 1rem;

  font-size: 1.5rem;
  color: white;

  transition: 0.2s;
}

.contactButton:hover {
  background-color: white;
  color: rgb(var(--color-ec-blue-dark));
}
