@charset "utf-8";

/* Setup
********************************************************/
html {
  height:100%;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body{
  margin: 0;
  padding: 0;
  height: 100%;
  background: #f5f7f9;
  text-align: center;
  overflow-y: scroll;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
body.minimal{
  background: #fff;
  text-align: left;
  height: 100%;
  position: relative;
  padding: 20px;
}
.infonote{
  color: #666;
}
.closed {
  font-weight: normal ;
  color: #777 !important;
}
.closed .title {
  font-weight: normal ;
  color: #777 !important;
  text-decoration: line-through;
}
.closed .date {
  font-size: 11px;
  color: #999;
  font-style: italic;
  text-decoration: none;
  display: inline-block;
  letter-spacing: normal;
}
footer + .debug {
  background: #dfdfdf;
  padding: 40px;
  margin-bottom: 0;
  margin-top: 0;
  height: 100%;
}
ul.debug li {
  word-break: break-all;
}
i[class*="exclamation"] {
  color: #fa9e18;
}
button i[class*="eye"],
.edits  i[class*="eye"] {
  color: lightgray;
}
button.tox-tbtn--enabled i[class*="eye"] {
  color: grey;
}
.exam_q i[class*="eye"] {
  color: dimgray;
}

/* Links
******************************************************/
a {
  text-decoration:none;
  color:#4183c4;
}
a.logout {
  text-decoration:none;
  color:#666;
}
/* a.logout:after {
  content: '\f2f5';
  font-family: FontAwesome;
  margin-left: 6px;
} */
a:not(.exit):hover {
  text-decoration:underline;
  color:#153DAA;
}
a.exit:hover {
  text-decoration:none;
}
a.close {
  margin: -20px -10px 0 0 !important;
}
a.add {
  font-size: 25px;
  font-weight: bold;
  margin: 0 0 0 7px;
  color: #777;
}
a.add:hover {
  color: red !important;
  text-decoration: none !important;
  cursor: pointer;
}
div.actions a {
  float: right;
  color: #232323;
  font-size: 12px;
  display: inline-block;
  margin: 0 6px;
}
div.actions a img {
  height: 100%;
}
svg a {
  cursor: pointer;
}
.actions a.clipboard {
  background: none;
  padding: 0;
}
.actions a.clipboard:before {
  margin-right: 4px;
}
.actions a.clipboard:hover {
  color: inherit;
}
.details a.option {
  text-align: center;
  padding: 11px;
  background: #ededed;
  border-radius: 40px;
  color: #464646;
  position: absolute;
  right: 10px;
  top: 10px;
}
.certs {
  position: relative;
  border: 1px dashed #c5c5c5;
  padding: 10px 20px 30px 20px;
  border-radius: 10px;
  margin-top: 27px;
}
.certs h1 {
  margin-bottom: 0;
}
.certs h2 {
  color: #999;
  margin: 0 0 10px 22px;
  font-size: small;
}
.certs h2 + p {
  margin-left: 22px;
  font-size: small;
  font-style: italic;
}
a.cancel:not(.back) {
  background: #4183c4;
  color: white;
  padding: 8px 12px 8px 29px;
  border-radius: 6px;
  position: relative;
}
a.cancel:not(.back):hover {
  background: #4fa2f4;
  color: white !important;
  text-decoration: none !important;
}
a.cancel:before {
  content: '\f057';
  font-family: FontAwesome;
  font-size: small;
  position: absolute;
  top: 4px;
  left: 9px;
}
a.cancel.back {
  color: #4183c4 !important;
}
a.cancel.back:before {
  position: unset;
}
.dobs_count{
  border-radius: 20px;
  display: inline-block;
  width: 18px;
  height: 18px;
  text-align: center;
  background: bisque;
  color: #FF5722;
  font-family: var(--ff-mono);
  letter-spacing: -1px;
}
.doubles {
  display: none;
}
.doubles.active {
  display: inline-grid;
  grid-template-columns: 1fr 1fr 200px;
  gap: 0;
  margin: 20px auto 0 auto;
  padding: 30px 30px 20px 30px;
  background: #4d9db736;
  width: 100%;
  border-radius: 5px;
}
.doubles.active h3 {
  grid-column: span 3;
  color: #343434;
  margin: 0 0 8px 23px;
  font-size: 0.95rem;
}
.doubles.active h3:not(:first-of-type) {
  margin-top: 20px;
}
.doubles a,
.doubles span {
  border-bottom: 1px solid #4082c436;
  padding: 6px 0;
  margin: 0 0 6px 0 !important;
}
.doubles a {
  font-size: 0.85rem !important;
}
.doubles a:has(.fa-user) {
  color: #4083c4 !important;
}
.doubles a:has(.fa-user) i {
  color: #4082c486 !important;
}
.doubles span {
  font-size: 0.65rem !important;
}
.doubles a[data-confirm]{
  background: #4e9db7;
  border-radius: 20px;
  color: white;
  text-align: center;
  padding: 7px 10px 3px 10px;
  border-bottom: none;
}
.doubles a[data-confirm]:hover{
  background: #5eb7d5;
}


/* Type
******************************************************/
/* Body text */
body {
  font-size: .76em;
  font-family: var(--ff-body);
  word-spacing: .3px;
  line-height: 1.5;
  color: var(--txt-color);
  text-rendering: optimizeLegibility;
  font-weight: normal;
}
.text {
  font-size: larger;
}
strong {
  font-weight: bold;
}
code,
pre {
  font-family: var(--ff-mono);
}

/* Headers */
h1 { font-size: 18px; }
h2 { font-size: 16px; }
h3 { font-size: 14px; }
h4 { font-size: 12px; margin-bottom: 4px; }

.running_text > h1 {
  margin: 6px 0 10px 0;
  padding: 3px 0;
  border-bottom: 1px solid #555 !important;
  font-size: x-large !important;
  letter-spacing: -.01em;
  font-weight: initial;
}
.text p:first-of-type {
  margin-top: 0;
}
strong[id="helptext"],
strong[class="helptext"] {
  font-size: larger;
}
p:has(.helptext) {
  margin-top: 0;
}

/* Title */
.banner .title,
.expanded .title,
.diploma.plate .title,
.printable .title {
  font-size: 4em;
  font-family: var(--ff-title);
  color: #666;
  font-weight: lighter;
  letter-spacing: -.03em;
}
.printable .sitemap .running_text .title,
.printable .sitemap .running_q .title {
  font-weight: normal !important;
  font-size: 1.2rem !important;
}
.banner .title {
  line-height: .8em;
  max-height: 2em;
  max-width: 85%;
  overflow: visible;
  clip: rect(-10px, 1000px, 66px, 0);
  margin: 0;
}
.banner .title.long {
  font-size: 2.8em;
  line-height: 0.8em;
  max-width: 700px;
}
.thumbnails li:not(.expanded) {
  color: #95989a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.thumbnails li:not(.expanded) a {
  font-size: 1.1em;
  color: #606162;
  font-weight: 500;
  line-height: initial;
}
.thumbnails li:not(.expanded) a:hover {
  color: #282828;
  cursor: pointer;
  text-decoration: none;
}
.thumbnails .expanded .text ul li {
  color: unset;
  -webkit-font-smoothing: auto;
  font-size: 0.9rem;
}
.activity a .title {
  font-size: 1.2em;
  font-weight: 500;
}



/* Content
**************************************************/
/* Wrapper */
.paper {
  max-width: 1130px;
  width: 100%;
  margin: 10px auto;
  background: #fff;
  border-radius: 2px;
  box-shadow: rgba(0, 0, 0, 0.3) 3px 3px 10px;
  border: 1px solid #e4e4e4;
  padding: 0 0 60px 0;
  position: relative;
  min-height: 560px;
  text-align: left;
}
.paper:after {
  content: "";
  display: table;
  clear: both;
}
body:not(.course_level) .paper {
  max-width: 1280px;
  box-shadow: none;
  margin: 10px auto;
  padding: 0;
}
.paper.accounts .speechbubble_top {
  padding: 12px 16px;
  width: 97% !important;
  line-height: normal;
  margin-bottom: 0;
}
.paper.accounts .plate,
.details.plate {
  margin-top: 0;
}
.details.plate form {
  display: grid;
  grid-template-columns: auto fit-content(35%);
  column-gap: 50px;
  margin-top: 0;
}
.paper.accounts .plate form {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 50px;
  margin-top: 0;
}
.paper.accounts .plate .other_pins_item {
  grid-template-columns: 1fr !important;
}
form .tips .alertbox ul li {
  margin: 0 0 10px 10px !important;
}
@media screen and (max-width: 771px) {
  .paper.accounts .plate form,
  .details.plate form {
    grid-template-columns: 1fr;
    row-gap: 50px;
  }
}


/* Banner */
.banner {
  width: 100%;
  margin: 0 auto;
  position: relative;
  min-height: 130px;
}
body:not(.course_level) .banner,
.splash,
.plate {
  width: 100%;
  max-width: 1280px; 
}
.banner .title {
  position: absolute;
  top: 20%;
}
.banner .logo {
  position: absolute;
  top: 13%;
  right: 5.5%;
  height: -webkit-fill-available;
  max-height: 45px;
  max-width: fit-content;
}
.banner .logo img {
  max-width: 270px;
  height: 100%;
}
.banner .title {
  left: 5.5%;
}
.banner img {
  width: auto;
  height: -webkit-fill-available;
  max-width: fit-content;
  max-height: fit-content;
}
.course_level .logo > img {
  width: 100% !important;
  max-height: inherit;
}
.topbreak {
  border: 0;
  height: 34px;
  padding: 0;
  margin: 0;
}
.modules + .content,
.modules + .chapters + .content {
  margin-top: 10px;
}

/* Shrink banner */
@media screen and (min-width: 771px) {
  .paper.page .slim.banner {
    min-height: 60px;
    overflow: hidden;
    -webkit-transition: all .5s cubic-bezier(0, 1, 0.5, 1);
    transition: all .5s cubic-bezier(0, 1, 0.5, 1);
  }
  .paper.page .slim.banner:hover {
    min-height: 130px;
    cursor: default;
  }
  .paper.page .slim.banner .logo,
  .paper.page .slim.banner .title {
    top: 20px;
  }
}


/* Splash image */
.splash {
  margin: 26px auto 0 auto;
  display: block;
}
.vert-splash {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: var(--brand-color);
}
.login.logo {
  margin: 40px auto 20px auto;
  text-align: right;
  max-width: 800px !important;
}
.login.logo img {
  max-height: 50px;
  max-width: 200px;
}
.paper:has(.vert-splash) {
  display: grid;
  grid-template-columns: 35% 1fr;
  grid-template-areas:
      "decor links"
      "decor form";
  min-height: unset;
  max-width: 800px !important;
}
.paper:has(.vert-splash) .user_links {
  grid-area: links;
  padding: 3% 5%;
}
.paper:has(.vert-splash) .vert-splash {
  grid-area: decor;
}
.paper:has(.vert-splash) .plate {
  grid-area: form;
  margin: 4% 8%;
  max-width: unset;
  width: unset;
}
.paper:has(.vert-splash) .electroID {
  grid-auto-flow: unset !important;
  width: unset !important;
  display: unset !important;
  margin-top: 6px !important;
}
.paper:has(.vert-splash) .bankid a {
  display: block !important;
}
.paper:has(.vert-splash) .bankid a.cancel {
  width: fit-content !important;
}
.paper.accounts:has(.vert-splash) .plate form {
  column-gap: 10px;
  margin-bottom: 6px;
  border: unset;
  border-radius: unset;
  padding: unset;
}
.paper:has(.vert-splash) + footer {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  grid-template-columns: 1fr;
  padding: 3% 5%;
}
.paper:has(.vert-splash) + footer div {
  max-width: unset;
  text-align: center;
}
.paper:has(.vert-splash) .login.plate .electroID a {
  background-color: white;
  display: inline-block !important;
  font-weight: normal;
  margin: 6px 0;
  border-radius: 20px;
  line-height: 1.95rem !important;
}
.paper:has(.vert-splash) .plate .electroID a.sec {
  background: none;
  border: none;
  font-size: 0.85rem;
}
.paper:has(.vert-splash) .plate .electroID a[href*="bankid"].sec {
  color: #235971 !important;
}
.paper:has(.vert-splash) .plate .electroID a[href*="freja"].sec {
  color: #3e3a94 !important;
}

.bankid_buttons {
  padding: 10px;
  margin-left: -10px;
  margin-bottom: 6px;
  border-radius: 10px;
  position: relative;
}
.bankid_buttons.mobile_bankid {
  background: #2359711c;
}
.bankid_buttons.freja_bankid {
   background: #3e3a943b;
}
.bankid_buttons .close {
  position: absolute;
  right: 23px;
  top: 21px;
  background: transparent !important;
  font-size: 1.4em !important;
  font-weight: 300 !important;
  color: #414141;
}
.paper.accounts:has(.vert-splash) .plate .button  {
  border-radius: 20px;
  line-height: 1.95rem !important;
}
.paper:has(.vert-splash) .plate input[type="submit"] {
  font-size: 0.9rem;
  line-height: 3em !important;
  text-shadow: none;
  margin-top: 16px;
  margin-bottom: 16px;
  font-weight: bold;
  background-image: none;
  background-color: var(--brand-color);
  border: none;
  border-radius: 40px;
}
.paper:has(.vert-splash) .plate.login .simple_form.new_user input[type="submit"] {
  width: inherit !important;
}
.paper:has(.vert-splash) .plate.login .simple_form.new_user input[type="submit"]:hover {
  cursor: pointer;
}
.paper:has(.vert-splash) a.cancel:not(.back) {
  background: transparent;
  color: #414141;
  border: 1px solid #414141;
  padding: 5px 12px 5px 29px;
  border-radius: 20px;
}
.paper:has(.vert-splash) a.cancel:before {
  top: 1px;
}
.paper:has(.vert-splash) a.cancel:not(.back):hover {
  color: #414141 !important;
}
.paper:has(.vert-splash) h1 {
  font-size: 1.1rem;
  font-weight: normal;
  padding-right: 30%;
  color: black;
  margin: 20px 0;
}
.paper:has(.vert-splash):has(.bankid),
.paper:has(.vert-splash):has(.freja),
.paper:has(.vert-splash):has(.details) {
  grid-template-columns: 1fr;
  grid-template-areas:
    "links"
    "form"
    "decor";
}
.paper:has(.vert-splash):has(.bankid) .vert-splash,
.paper:has(.vert-splash):has(.freja) .vert-splash,
.paper:has(.vert-splash):has(.details) .vert-splash {
  display: none;
}
.paper:has(.vert-splash) .login.plate:has(.qr_container){
  margin: 5% 7% !important;
}
.paper:has(.vert-splash):has(.bankid) .plate,
.paper:has(.vert-splash):has(.freja) .plate {
  grid-template-columns: 1fr !important;
  grid-template-areas:
    "qr_header"
    "qr_img"
    "qr_extend"
    "cancel_button" !important;
}


@media screen and (max-width: 500px) {
  .paper:has(.vert-splash) {
    grid-template-columns: 1fr;
    grid-template-areas:
        "links"
        "form";
    max-width: unset !important;
  }
  .login.logo {
    margin: 6% 4% 0;
    max-width: unset !important;
  }
  .bankid_buttons {
    grid-area: open;
  }
  .paper:has(.vert-splash) .login.plate .electroID a.open,
  .bankid_toggle.open {
    display: none !important;
  }   
}

/* Plate */
.plate {
  margin: 40px auto 0 auto;
  display: table;
  max-width: 950px;
  width: 96%;
  padding-bottom: 60px;
}
.narrow.plate {
  max-width: 550px;
  width: 100%;
}
.login.plate .electroID {
  grid-area: id;
  margin: 0;
  width: 98%;
  margin: 30px 0 60px 0;
  display: inline-grid;
  grid-auto-flow: column;
}
.login.plate .electroID:has(.button:only-of-type) {
  display: inline-block;
}
.login.plate .electroID a {
  display: inline-block !important;
  margin-bottom: 10px;
  margin-right: 10px;
}
.login.plate,
.reset.plate {
  width: 100%;
  margin: 5% 30%;
  display: grid;
}
.login.plate:has(.new_user),
.reset.plate {
  padding-bottom: 20px;
  grid-template-columns: 1fr;
  max-width: none;
  width: unset;
  grid-template-areas:
    "id"
    "form";
}
.paper:has(.vert-splash) .login.plate:has(.new_user),
.paper:has(.vert-splash) .reset.plate {
  padding-bottom: unset;
}
.login.plate .qr_container,
.login.plate .hint_container {
  grid-area: qr_img;
  text-align: center;
  max-width: 350px;
  margin: 0 auto !important;
}
.login.plate .qr_container img {
  background: #fff;
  border: 2px solid #ddd;
  width: 260px;
}
.login.plate .qr_container .extend {
  grid-area: qr_extend;
  width: 100%;
  display: block;
}
.login.plate .qr_container .extend .countdown {
  width: 100%;
  display: block;
  line-height: 19px;
  margin: 0 0 10px 0;
}
.login.plate .button.extend {
  width: 100% !important;
  display: block !important;
  font-size: 0.9rem;
  line-height: 3em !important;
  text-shadow: none;
  margin-top: 16px;
  margin-bottom: 16px;
  font-weight: bold;
  background-image: none;
  background-color: var(--brand-color);
  border: none !important;
  border-radius: 40px;
  position: relative;
}
.login.plate .button.extend:before {
  background: none;
}
.login.plate .button.extend:hover {
  text-shadow: none;
  background-image: none;
  background-color: var(--brand-color);
  cursor: pointer;
}
.login.plate button.fullscreen {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
}
.login.plate button.fullscreen:hover {
  cursor: pointer;
}
.paper:has(.vert-splash) .login.plate .qr_container {
  margin: 3% 10%;
  border-radius: unset;
}
.paper:has(.vert-splash) .login.plate ol li {
  font-size: 0.85rem;
}
.login.plate .qr_header {
  grid-area: qr_header;
  text-align: center;
}
.login.plate .qr_header h1,
.login.plate .hint_container h1 {
  padding-right: unset;
  font-size: 1.2rem;
}
.login.plate .qr_header p {
  font-size: 1rem;
}
.login.plate .button_to.cancel {
  grid-area: cancel_button;
}
.login.plate .cancel.button {
  background: transparent;
  color: #414141 !important;
  border: 1px solid #414141;
  padding: 5px 12px 5px 29px;
  border-radius: 20px;
  font-size: 0.9rem !important;
  font-weight: bold;
  height: 1.85em !important;
  line-height: 1rem !important;
  text-shadow: none !important;
  position: relative;
}

.login.plate .cancel.button:hover {
  cursor: pointer;
}
.login.plate .cancel.button:before {
  content: '\f057';
  font-family: FontAwesome;
  font-size: small;
  position: absolute;
  top: 4px;
  left: 9px;
}
.login.plate form:has(button.cancel) {
  margin: 0 auto;
}
.login.plate .button_to + ol {
  grid-area: bullets;
}
.login.plate:has(.new_user) a {
  font-weight: bold;
  font-size: 0.9rem;
  line-height: 2.4 !important;
}
.login.plate:has(.new_user) .hint a {
  line-height: unset !important;
  font-size: 0.75rem;
  font-weight: normal;
}
.login.plate:has(.new_user) .forgot a,
.login.plate:has(.new_user) .new_user a {
  line-height: 2 !important;
}
.login.plate a[href$="policy"] {
  line-height: unset !important;
  font-size: 0.75rem;
  font-weight: bold;
  color: #f33939;
  text-align: right;
  margin-top: 60px;
  text-decoration: underline;
}
.simple_form.new_user input[type="text"],
.simple_form.new_user input[type="email"],
.simple_form.new_user input[type="password"] {
  font-size: 1rem;
  height: 2em;
  font-family: var(--ff-body);
}
.sessions .user_links + .pointout {
  padding: 2% 30%;
  margin: 14px 20px;
  background: #eef0f2;
  font-size: 0.85rem;
}
.sessions .user_links + .pointout:after {
  left: unset;
  right: 7%;
  border-bottom-color: #eef0f2;
  border-width: 13px;
  margin-left: -13px;
}
.sessions:has(.pointout) + footer {
  display: none;
}
@media screen and (max-width:869px) {
  .login.plate {
    margin: 0 auto;
    padding: 0 6%;
  }
  .login.plate .new_account {
    margin-bottom: 0;
    border-bottom: 1px solid #ededed;
  }
  footer {
    width: 87% !important;
    font-size: 0.8rem !important;
    line-height: 1.4rem !important;
    color: #555 !important;
    max-width: unset !important;
  }
}
@media screen and (max-width:500px) {
  .login.plate {
    padding: 6%;
  }
  .simple_form.new_user,
  .login.plate .electroID {
    grid-template-columns: 1fr;
    grid-auto-flow: unset;
  }
  .login.plate .electroID:has(.button:only-of-type) {
    display: inline-grid;
  }
}

.plate ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.plate.details .activity {
  margin-bottom: 20px;
}
.plate.details h1,
.plate.recover h1 {
  margin-top: 60px;
}


/* "Meat" */
.content {
  float: right;
  margin-right: 5% !important;
  padding: 0;
}
.modules ~ .content {
  clear: none;
}
.running_text {
  float: left; 
  min-height: 1px; 
  width: 73.6%;
  margin-right: 4.2%;
  position: relative;
  z-index: 1;
}
.sitemap .running_text,
.sitemap .wrapper {
  float: none;
  margin-left: unset !important;
  width: inherit !important;
}
.pages:not(.special).remain {
  margin-left: 7.5% !important;
}
.pages.special {
  width: 90% !important;
  margin-left: 7.5% !important;
}


/* Basic vis */
.content {
  max-width: 720px;
  width: 100%;
}
.content > div:first-of-type {
  position: relative;
}
.content > div:first-of-type img,
.content > div:first-of-type + ul {
  vertical-align: bottom;
}
.content > div:first-of-type img + audio {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 97%;
  opacity: .9;
  height: 3.2em;
  filter: invert(100%);
}

/* Slowzoom animation */
.content:has(.slowzoom) .jpg {
  overflow: hidden;
}
.content:has(.slowzoom) .slowzoom img { 
  -webkit-animation-name: slowzoom; 
          animation-name: slowzoom; 
  -webkit-animation-duration: 10s; 
          animation-duration: 10s; 
  -webkit-animation-fill-mode: both; 
          animation-fill-mode: both;
}
@-webkit-keyframes slowzoom { 
  0% { -webkit-transform: scale(1); } 
  100% { -webkit-transform: scale(1.1); } 
}
@keyframes slowzoom { 
  0% { transform: scale(1); } 
  100% { transform: scale(1.1); }
}

/* Handle embed content */
div.embed,
.content .svg,
.content .json #lottie {
  position: relative;
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}
.content > div:first-of-type svg + img[src*=".png"] {
  width: 56.25%;
}
div.embed > iframe,
.content .svg > svg,
.content > svg,
.content #lottie > svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.content #lottie > svg {
  height: auto !important;
}
div.embed {
  background: black;
}
.content .svg:before {
  content: '';
  background: url("/assets/hand-click-animation_transparent-53908fb4.gif");
  background-size: contain;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  animation: 3s forwards overlay_fade;
}
@keyframes overlay_fade {
  0% {   top: 0; }
  90% {  top: 0; }
  100% { top: 1000px; }
}

/* Wide viz */
.content.wide {
  max-width: 1010px;
  width: 96%;
  font-size: 1.2em;
}
.content.wide .linear,
.content.wide .json {
  width: 100%;
  max-width: inherit;
}
.content.wide .running_text,
.content.wide .running_text.draft + .tools,
.content.wide .running_text + ul.sections  {
  margin-left: 8.5%;
  width: 102% !important;
}
.content.wide:has(.tips li) .running_text,
.content.wide:has(.tips li) .running_text.draft + .tools,
.content.wide:has(.tips li) .running_text + ul.sections {
  width: 90% !important;
}
.content.wide .tips {
  margin-top: 17%;
  margin-left: 8.5%;
}
.paper.printable .content.wide:not(.home) > .running_text {
  width: 82% !important;
  margin-left: 8.5% !important;
}
.paper.printable .content.wide:not(.home) > .running_text .running_text {
  margin: 10px 0 20px 0 !important;
  width: 100% !important;
}

.question .grid {
  max-width: 1010px !important;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
}
.question  .grid .running_text label {
  float: unset;
  text-transform: none;
  font-size: medium;
  margin-left: 0;
  padding: 0 6px 0 0;
}
.question .grid img {
  width: 100%;
  margin-top: 13px;
}
.question .grid h1 {
  font-weight: 400;
  border-bottom: 1px solid #999;
  font-size: x-large;
}


/* Footer */
footer {
  width: 96%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2% 0 4%;
  color: #3d3d3d;
  font-size: small;
  line-height: 1.7;
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: left;
}
footer div {
  width: 100%;
  max-width: 500px;
}
footer a {
  letter-spacing: 0.02em;
}
.plate:not(.start) + footer {
  margin-top: 5%;
  border-top: 1px dashed #dfdfdf;
  padding: 3% 0 3% 5%;
}



/* Linear navigation */
.linear {
  position: relative;
  height: 22px;
}
.linear nav {
  max-width: 190px;
  height: 36px;
  text-align: right;
  z-index: 2;
  display: inline-block;
  right: 14px;
  top: -10px;
  position: absolute;
}
.linear nav a {
  -webkit-font-smoothing: antialiased;
     -moz-osx-font-smoothing: grayscale;
  font-size: 3em;
  text-transform: lowercase;
  position: relative;
  display: inline-block;
  min-width: 22px;
  text-align: left;
  margin-left: 4px;
  top: -10px;
  width: 35px;
}
.linear nav a:before {
  content: '';
  position: absolute;
  width: 35px;
  height: 35px;
  line-height: .82em;
}
.linear nav a[id="next"]:before {
  line-height: 37px;
  padding-left: 2px;
  font-size: 1.6rem;
}
.linear + .progressbar {
  margin: 17px 0 0 0;
  border-radius: 2px;
  height: 12px;
  word-spacing: -5px;
  line-height: 1;
  padding: 0;
  white-space: nowrap;
}
.linear + .progressbar a { 
  display: inline-block;
  background: #dedede61;
  margin: 0 !important;
  position: relative;
  height: 12px;
}
.linear + .progressbar a:not(:first-of-type) { 
  border-left: 3px solid white;
}
.linear + .progressbar a:hover {
  background: var(--brand-color) !important;
}
.linear + .progressbar a.curr:before {
  content: '\f041';
  color: var(--brand-color);
  font-family: FontAwesome;
  font-size: 1.4rem;
  position: absolute;
  top: -11px;
  left: -9px;
  z-index: 300;
}
.linear + .progressbar a.fill {
  background: color-mix(in srgb, var(--brand-color) 20%, transparent);
}
.question .linear {
  top: 50px;
}
.question .linear nav {
  text-align: left;
  right: inherit;
  left: 0;
  top: -50px;
  max-width: 720px;
  width: 100%;
}
.question .linear nav a {
  width: inherit !important;
  position: inherit;
}
.question .linear nav a.back {
  top: 22px;
  left: 84%;
}
.question .linear nav a.back:before {
  content: '\f057';
  font-size: 1.08em;
  color: #737373;
  top: -9px;
  left: 22px;
}
.question .linear nav a.back:after {
  content: '';
  width: unset;
  height: unset;
  border-radius: unset;
  border: 0;
}
@media screen and (min-width: 1200px) {
  .question .grid {
    width: 140% !important;
    margin-left: -20%;
  }
}
@media screen and (max-width: 500px) {
  .question .linear {
    top: 40px;
  }
  .question .linear nav a {
    left: unset;
  }
  .question .linear nav {
    display: grid;
    grid-auto-flow: column;
  }
  .question .grid {
    width: unset !important;
    margin-left: unset;
    grid-template-columns: 1fr;
}
}
.question a.sound {
  left: 94%;
}
.question a.rate {
  left: 98%;
}
.question .back > a.sound,
.question .back > a.rate {
  top: -45px !important;
}
.linear nav a.start:only-of-type:before {
  animation: point 1s 6 both;
  -webkit-animation: point 1s 6 both;
}
@-webkit-keyframes point { 
  0% { -webkit-transform: translate(5px,0); }
  50% { -webkit-transform: translate(0,0); }
  100% { -webkit-transform: translate(5px,0); }
}
@keyframes point { 
  0% { transform: translate(5px,0); }
  50% { transform: translate(0,0); }
  100% { transform: translate(5px,0); }
}
.linear nav a.start[id="fasttrack"]:before {
  animation: bounce .4s 12 alternate;
  -webkit-animation: bounce .4s 12 alternate;
}
@-webkit-keyframes bounce {
  from { transform: translateY(0px); }
  to { transform: translateY(-15px); }
}
@keyframes bounce {
  from { transform: translateY(0px); }
  to { transform: translateY(-15px); }
}

a.sound {
  top: -12px;
  width: 35px;
}
a.sound[id="on"] {
  width: 41px;
}
.linear nav a.back,
.linear nav a#restart{
  top: 0;
  width: 27px;
}
.wide .linear nav a.back {
  padding-top: 2px;
}
a.rate {
  top: 10px !important;
  left: -15px;
  margin-right: -20px;
  width: 22px !important;
  font-size: .8em !important;
  font-weight: bold;
}
.linear nav a:before {
  content: '\f105'; /* forward */
  font-family: FontAwesome;
  border-radius: 50px;
  color: #fff;
  background-color: #737373;
  text-align: center;
}
.linear nav a.start:before {
  top: -20px;
  right: 10px;
  width: 57px;
  height: 57px;
  font-size: inherit;
  line-height: normal;
}
.linear nav a.back:before,
.linear nav a#restart:before,
a.rate:before {
  padding-left: 5px;
  background-color: transparent;
  color: #444;
  box-shadow: none;
  text-align: left;
}
.linear nav a.back:before {
  content: '\f104';
  font-family: FontAwesome;
  font-size: 0.4em;
  top: 5px;
  font-weight: bold;
}
.linear nav a.back:after {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 26px;
  border: 2px solid #464646;
  position: absolute;
}
.linear nav a#restart:before {
  content: '\27f3';
  padding-top: 1px;
  margin: -9px 0 0 -6px;
  font-size: 1em;
}
.wide.content .linear nav a#restart:before {
  margin-top: -13px;
}
.linear nav a#fasttrack:before {
  content: '';
  background: #ff9501 url("/assets/icon_skip_to-d467d733.svg") no-repeat !important;
  background-size: contain;
  width: 35px;
  height: 35px;
  left: 3px;
}
.linear nav a.start + a#fasttrack {
  margin-right: 30px;
}
.linear nav a.start + a#fasttrack:before {
  top: -20px;
  width: 57px;
  height: 57px;
}
a.rate:before {
  border-radius: 20px;
  width: 18px !important;
  height: 18px !important;
  line-height: 16px !important;
  padding-left: 0;
  z-index: 2;
  font-family: var(--ff-mono) !important;
}
a.rate[id="x1"]:before {
  content: 'x1';
  background: #fff;
  border: 1px solid rgba(115, 115, 115, 0.65);
  color: #20121a;
}
a.rate[id="x2"]:before {
  content: 'x2';
  color: #fff;
  background: #20121a;
  line-height: 18px !important;
}
a.sound:before {
  width: 35px;
  height: 35px;
}
a.sound[id="off"]:before {
  content: '';
  background-image: url("/assets/icon_audio_playing-fa2bfe2a.gif");
  background-position: 47% 42%;
  background-repeat: no-repeat;
  background-size: 50%;
}
a.sound[id="replay"]:before {
  content: '';
  background-image: url("/assets/icon_audio_play-d88153a7.svg");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 35%;
  text-align: center;
  line-height: 1.5em;
  font-size: .64em;
  padding-left: 3px;
}
a.sound[id="on"]:before {
  content: '';
  background-image: url("/assets/icon_audio_muted-8e17e5f0.svg");
  background-color: #de4c4d;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 45%;
  box-sizing: content-box;
}
.linear nav a:hover {
  text-decoration: none;
}

/* New sound toggle */
a.sound[id="play"],
a.sound[id="pause"] {
  margin-right: 3px;
}
a.sound[id="play"]:before,
a.sound[id="pause"]:before {
  font-family: FontAwesome;
  padding-top: 2px;
  line-height: 1.98rem;
}
a.sound[id="play"]:before {
  content: '\f028';
  font-size: 1.2rem !important;
}
a.sound[id="pause"]:before {
  content: '\f28b';
  background: unset;
  color: #737373;
  font-size: 2.2rem !important;
}


/* Sound Player v2 + Image Text */
.content {
  display: grid;
  grid-template-columns: 75% 25%;
  grid-template-areas: 
  "vis vis"
  "audio nav"
  "text tips"
  "chapter tips";
}
.content .imgtxt {
  grid-area: imgtxt;
  padding: 0;
  font-weight: lighter;
  font-size: 0.8rem;
  font-style: italic;
  color: #fff;
  background: #2d2d2de3;
}
.content .imgtxt > span:not(:empty) {
  margin: 10px;
  display: inline-block;
}
.content:has(.imgtxt) {
  grid-template-areas: 
  "vis vis"
  "imgtxt imgtxt"
  "audio nav"
  "text tips"
  "chapter tips";
}
.content:has(.tools) {
  grid-template-areas: 
  "vis vis"
  "audio nav"
  "text tips"
  "tools tips"
  "chapter tips";
}
.content.sitemap {
  grid-template-columns: 1fr;
  padding: 0 3%;
}
.content .linear nav {
  white-space: nowrap;
}
.content .progressbar {
  grid-area: audio;
}
.content .sound_player {
  margin-bottom: 10px;
  background: #fff;
}
.content .sections:not(.ch) {
  padding-top: 6px;
  padding-left: 2px;
  padding-bottom: 10px;
}
.question:has(.sound_player) {
  display: grid;
  grid-template-areas: 
  "vis vis"
  "nav nav"
  "num title"
  "num options";
  gap: 0;
  grid-template-columns: 80px 1fr;
}
.content:has(.sound_player):has(.imgtxt) {
  display: grid;
  grid-template-areas: 
  "vis vis"
  "imgtxt imgtxt"
  "audio nav"
  "text tips"
  "tools tips"
  "chapter tips";
  gap: 0;
}
.question:has(.sound_player) .linear {
  grid-area: nav;
  top: unset;
  margin-top: 20px;
}
.question:has(.sound_player[style$="none;"]) .linear {
  margin-bottom: -60px;
}

.question:has(.sound_player) .number {
  grid-area: num;
  margin-top: 10px;
}
.question:has(.sound_player) h3 {
  grid-area: title;
  margin-bottom: 0;
  margin-right: 30px;
}
.question:has(.sound_player) form {
  grid-area: options;
}
.question:has(.sound_player) .jpg,
.question:has(.sound_player) .embed,
.question:has(.sound_player) .svg,
.question:has(.sound_player) .gif {
  grid-area: vis;
}
.question:has(.sound_player) .linear nav {
  display: inline-grid;
  grid-template-columns: 1fr 40px;
  grid-template-areas: "player links";
  top: unset;
  gap: 10px;
  top: -13px;
}
.question:has(.sound_player) .linear nav .sound_player {
  grid-area: player;
  margin-left: 70px;
}
.question:has(.sound_player) .linear nav a {
  grid-area: links;
  left: unset;
  top: 3px;
}
.question:has(.sound_player) .linear nav a.back {
  margin-top: 10px;
  margin-left: 20px;
}
:has(.sound_player) a.sound:hover {
  cursor: pointer;
}

@media screen and (max-width: 770px) {
  .content .sound_player {
    margin: 10px 20px !important;
  }
  .content {
    grid-template-areas: 
    "vis vis"
    "audio nav"
    "text text"
    "chapter chapter"
    "tips tips";
  }
  .content:has(.imgtxt) {
    grid-template-areas: 
    "vis vis"
    "imgtxt imgtxt"
    "audio nav"
    "text text"
    "chapter chapter"
    "tips tips";
  }
  .content .linear + .sections {
    padding: 10px 20px 0 20px !important;
    line-height: 10px;
  }
  .content .linear + .sections li {
    margin: 1px !important;
  }
  .content .progressbar {
   margin-left: 20px;
  }
}
@media screen and (max-width: 630px) {
  .content {
    grid-template-columns: auto 35% !important;
  }
  .content.content.sitemap {
    grid-template-columns: 1fr !important;
  }
}
@media screen and (max-width: 500px) {
  .question:has(.sound_player) {
    grid-template-columns: 1fr;
    grid-template-areas: 
    "num"
    "nav"
    "vis"
    "title"
    "options";
    gap: 0;
  }
  .question:has(.sound_player):has(.imgtxt) {
    grid-template-columns: 1fr;
    grid-template-areas: 
    "num"
    "nav"
    "vis"
    "imgtxt"
    "title"
    "options";
    gap: 0;
  }
  .question:has(.sound_player) .linear nav {
    width: 86%;
  }
  .question:has(.sound_player) .number {
    text-align: center;
    margin-top: -20px;
    margin-bottom: 20px;
  }
  .question:has(.sound_player) .linear {
    top: -20px;
  }
}
.content .jpg,
.content .embed,
.content .svg,
.content .json,
.content .gif,
.content .pdf,
.content.wide img,
.content img[src*="visualisation_not_found"] {
  grid-area: vis;
}
.content:not(.sitemap) .pdf {
  border: 1px solid #eee;
}
.content:not(.sitemap) .tips .pdf {
  border: 0;
}
.content .linear {
  grid-area: nav;
}
.content .linear nav {
  top: unset;
}
.content .sound_player,
.question:has(.sound_player) .sound_player,
.content .sections {
  grid-area: audio;
  position: unset !important;
  margin-top: 0 !important;
}
.content .sound_player,
.content .sections {
  line-height: 10px;
}
.content .sections.ch {
  grid-area: chapter;
  float: none;
  width: unset;
  margin-top: -3px !important;
}
.content .running_text {
  grid-area: text;
  float: none;
  width: unset;
  margin-top: -3px !important;
}
.content .tips {
  grid-area: tips;
  float: none;
  width: unset;
}
.content .sound_player,
.question:has(.sound_player) .sound_player {
  margin-top: 6px;
  z-index: 3;
}
.content .sound_player audio,
.question:has(.sound_player) .sound_player audio {
  width: 100%;
  height: 36px;
  margin-top: 5px;
}
/*  TARGET SAFARI AUDIO PLAYER */
@supports (-webkit-backdrop-filter: blur(1px)) {
  .content .sound_player audio,
  .question:has(.sound_player) .sound_player audio {
    filter: invert(100%) brightness(1.99) grayscale(1);
    margin-top: 9px;
  }
  .content > div:first-of-type img + audio {
    filter: unset !important;
  }
}


/* Mini */
body:not(.index) .linear ul.sections{
  position: absolute;
  left: 0;
  margin: 6px 0 0 0;
  padding: 0;
  list-style: none;
  max-width: 73%;
}
body:not(.index) .linear ul.sections li {
  background:none !important;
  display:inline-block;
  border:0;
  width: 10px;
  height: 10px;
  margin: 0 !important;
  padding:0 !important;
  line-height:8px;
  overflow:hidden;
  border-radius: 1px;
}
body:not(.index) .linear ul.sections li a:before,
body:not(.index) .linear ul.sections li a p {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: #7cbb2e;
}
body:not(.index) .linear ul.sections li.unvisited a:before,
body:not(.index) .linear ul.sections li.unvisited a p {
  background: #bdbdbd;
}
body:not(.index) .linear ul.sections li.active a:before,
body:not(.index) .linear ul.sections li.active a p {
  background: #93f11f;
}


/* Pages listing. Sitemap, search results, manuscript */
.pages {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.content.wide.search input[type='search']{
  width: 86%;
}
.pages > dt {
  position: relative;
  display: block;
  clear: both;
}
.wrapper:not(.special) .pages > dt {
  border-bottom: 1px solid #eaeaea;
}
.wrapper.special .pages > dt {
  margin-top: 40px;
}
.wrapper.special .pages > dt.doc {
  margin-top: 4px;
}
.wrapper.special .pages > dt.tip .slug {
  font-style: italic;
}
.wrapper.special .pages > dt.tip .slug:before,
.wrapper.special .pages > dt.tip .slug:after {
  font-style: normal;
}
.pages dt:not(.chapter) > h1 {
  margin-top: 20px;
}
.pages dt.chapter > h1 {
  margin-top: 10px;
  margin-bottom: -10px;
}
.printable .pages dt.chapter > h1 {
  margin-top: unset;
  margin-bottom: unset;
}
.wrapper.special {
  padding-right: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}
.special .pages > dt > .running_text,
.special .pages > dt > .comments,
.special .pages > dt > .questions {
  max-width: 720px;
  margin: 10px auto 20px auto !important;
  float: none;
}
.special .pages > dt > .comments {
  max-width: calc(720px + 80px) !important;
  width: 100%;
}
.pages > dt > .running_text > h1:not(:only-of-type):first-of-type {
  font-size: 0.9em !important;
  padding: 0 6px 0 10px;
  font-weight: 400;
  border-bottom: 0 !important;
  float: right;
  border-left: 1px solid #555;
}
.pages > dt > .running_text > h1:not(:only-of-type) + h1,
.pages > dt > .running_text > h1:only-of-type {
  font-size: 1.25em !important;
  margin-top: 0;
  padding-top: 0;
}
.pages > dt > .comments li {
  max-width: 680px;
}
.pages dt:last-of-type,
form + .pages dt {
  border-bottom: none !important;
}
.pages dt a {
  font-size: .9285714286rem;
  font-weight: normal;
  line-height: 36px;
  color: #2d2d2d;
  display: inline;
  text-decoration: none;
}
.pages dt a[data-method] {
  font-size: inherit;
  font-style: normal;
  line-height: inherit;
  color: #4183c4;
}
.pages dt i {
  margin-left: 6px;
  opacity: .7;
}
.wrapper:not(.special) .pages .tip a {
  font-style: italic;
  color: #939393;
  font-size: 1em;
}
.pages .chapter {
  position: relative;
  border-bottom: 0 !important;
  background-image: none !important;
  margin: 20px 0 10px -10px;
}
.pages .course {
  margin-left: -18px;
}
.pages .tab {
  font-weight: bold;
  text-transform: uppercase;
}
.pages .ch,
.pages .slug {
  color: #888;
}
.pages a:before,
.pages a:after {
  content: '';
  font-family: FontAwesome;
  color: #888;
}
.pages .course:after, 
.pages .ch:before,
.pages .slug:before {
  content: '\f105'; /* chevron */
  margin: 0 4px;
}
.pages .course:before {
  content: '\f0e8';
  color: #2d2d2d;
  margin: 0 4px;
}
.pages .module {
  font-weight: lighter;
  color: #999;
  font-size: 12px;
  font-family: var(--ff-title);
  text-transform: uppercase;
  line-height: 1.5em;
  display: inline-block;
  position: absolute;
  top: 46px;
}
.excerpt b {
  background: #ffff00;
  padding: 1px;
}
.excerpt br {
  content: '';
  display: block;
  margin-bottom: 10px;
}
.attach {
  width: 60px;
  border-top: 6px dotted grey;
}
.pages + h1,
form[action*='search'] + h1 {
  border-bottom: none;
  margin: 60px 0 0 0;
  font-size: 1.1em !important;
  text-transform: uppercase;
  background: #464646;
  color: #fff;
  display: inline-block;
  padding: 2px 10px;
  position: relative;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}
.pages .questions {
  padding-bottom: 10px;
}

/* Visual indication of page_hits */
.pages > dt:not(.chapter):not(.tip):before {
  content: '';
  position: absolute;
  top: 12px;
  left: -20px;
}

/* Sitemap indicators extra spicy */
.pages.remain > dt:before {
  top: 9px !important;
  left: -24px !important;
  width: 16px;
  height: 16px;
  background-size: contain;
}
.pages.remain > dt:not(.chapter):not(.tip):before {
  content: '\2713';
  color: #adadad;
  width: 18px;
  height: 18px;
  border-radius: 18px;
  text-align: center;
  line-height: 18px;
  font-size: 18px;
  background: none;
}
.pages.remain > dt:not(.chapter):not(.tip).unvisited:before {
  content: '\f024';
  font-family: FontAwesome;
  color: #dd4141;
  font-size: 15px;
}
.pages:not(.remain) > dt {
  margin-left: unset !important;
}


/* Page types */
.pages dt {
  position: relative;
}
.pages dt:after ,
.pages dt .type:after {
  content: '';
  display: inline-block;
  overflow: visible;
  position: absolute;
  font-family: FontAwesome;
}
.pages dt:after {
  top: 9px;
  right: -24px;
  opacity: .3;
}
.pages dt .type:after {
  top: 8px;
  right: 0;
  opacity: .6;
}
.pages .still .type:after {
  content: '\f03e';
  opacity: 0.45;
}
.pages .novisual .type:after {
  content: '\f00d';
  color: #F44336;
  margin-right: 3px;
}
.pages .sound:after {
  content: '\f025';
}
.pages .hotspot .type:after {
  content: '\f0a6';
}
.pages .slideshow .type:after {
  content: '\f03e';
}
.pages .slideshow .type:before {
  content: '\f105';
  font-family: FontAwesome;
  right: -9px;
  top: 11px;
  font-size: 0.5rem;
  position: absolute;
}
.pages .embed .type:after {
  content: '\f121';
}
.pages .movie .type:after {
  content: '\f008';
}
.pages .interview .type:after {
  content: '\f130';
}
.pages .animation .type:after {
  content: '\f26c';
}


@media screen and (max-width: 500px) {
  .pages {
    margin-left: 14px !important;
  }
  .pages dt:not(.chapter) {
    padding: 10px !important;
  }
  .pages dt:not(.chapter) a {
    line-height: 1em;
  }
}


/* Printable manuscript
**********************************************************/
.printable.paper .banner, 
.printable.paper .modules,
.printable.paper .chapters,
.printable.paper + form,
.printable.paper ~ .comments {
  display: none;
}
.printable.paper .content {
  border-top: transparent;
  width: 100%;
  max-width: inherit;
  margin: 5% auto !important;
}
.printable.paper .title {
  border-bottom: 0 !important;
}
.printable.paper {
  padding: 0 2cm 2cm 1.5cm;
}
.printable.paper .wrapper {
  padding-left: 20px;
}
.printable.paper .wrapper .running_text,
.printable.paper .wrapper .questions,
.printable.paper .wrapper .comments {
  max-width: 96% !important;
}
.printable.paper .pages > li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  font-weight: lighter;
}
.printable.paper .pages > li[class=""] p,
.printable.paper .pages > li[class=""] ul,
.printable.paper .pages > li[class=""] ol {
   margin-left: 3% !important;
}
.printable.paper .pages > li:not(:empty) {
  list-style: none;
}
.printable.paper .pages > li.chapter {
  margin-top: 80px;
}


/* Test/Candidate
**********************************************************/
.selftestnav {
  margin: 6px 20px;
  padding: 0;
  list-style: none;
}
.selftestnav li {
  margin: 0;
  padding: 0;
  display: inline;
  font-size: 14px;
}
.selftestnav li:last-of-type {
  float: right;
}
.question,
.survey {
  max-width: 720px;
  width: 100%;
  margin: 30px auto;
}
.question .thetest {
  margin: 0 0 0 10px;
}

/* Visualisation */
.question .visual {
  max-height: 405px;
  margin:0 0 50px 0;
  overflow: hidden;
}
.question .visual img {
  width: 100%;
  height: auto;
  max-width: 720px;
}
.content [data-tab]:before {
  content: attr(data-tab);
  position: absolute;
  left: 0;
  bottom:24px;
  margin: 10px;
  max-width: 75%;
  z-index: 200;
  padding: 6px 10px;
  font-weight: lighter;
  font-size: 0.8rem;
  font-style: italic;
  color: #fff;
  background: #2d2d2d96;
}
.content [data-year]:before {
  font-size: 1.1rem;
  top: 14px;
  right: -6px;
  font-weight: normal;
  line-height: normal;
  padding: 4px 10px;
  z-index: 200;
}

/* Question */
.question .number {
  font-size: 22px;
  font-weight: bold;
  padding: 6px 10px 6px 0;
  color: #ccc;
}
.question .number > span {
  font-size: small;
}
.question h3 {
  font-family: Arial, sans-serif;
  font-weight: lighter;
  letter-spacing: -0.3px;
  font-size: 22px;
  line-height: 26px;
}
.question p {
  font-size: 14px;
}

/* Progressbar */
progress {
  border-radius: 10px;
  width: 50px;
}
progress[value]::-webkit-progress-inner-element {
  border: 1px solid #2a2a2a;
  border-radius: 10px;
}
progress[value]::-webkit-progress-value {
  background: #53a846;
  border-radius: 10px;
}
progress[value]::-webkit-progress-bar {
  background: #c62929;
  border-radius: 10px;
  padding: 0;
}
.progress{
  width: 100%;
  position: absolute;
  bottom: -1px;
}
.progress .bar{
  width: 100%;
  height: 10px;
  background: #A5A5A5;
  text-align: left;
}
.progress .bar img{
  background: #FC3;
  vertical-align: top;
}

/* Diploma */
.diploma.plate .card {
  display: grid;
  grid-template-areas: 
    "qr_img details"
    "empty link";
  width: fit-content;
  gap: 30px;
  row-gap: 0;
  margin: 0 auto;
  border: 1px solid #eee;
  box-shadow: 3px 3px 10px rgba(0,0,0,0.2);
  padding: 40px 60px 40px 40px;
  font-size: 0.85rem;
  border-radius: 20px;
}
.diploma.plate .card .link { 
  grid-area: link;
  text-align: left;
  padding-top: 20px;
}
.diploma.plate .card .link a { 
  color: white;
  background-color: var(--brand-color);
  padding: 10px 30px;
  border-radius: 20px;
  margin-left: -30px;
  font-size: 0.9rem;
}
.diploma.plate .card .qrcode {
  grid-area: qr_img;
  padding: 10px 10px 5px 10px;
  border-radius: 14px;
  background: #eee;
  height: 187px;
  width: 187px;
}
.diploma.plate .card .usr {
  grid-area: details;
  text-align: left;
  align-self: self-start;
}
.diploma.plate .card .usr h1 {
  margin: 0;
}
.diploma.plate .card .usr p {
  margin: 0 0 10px 0;
}
.diploma.plate:has(.more){
  display: grid;
  width: fit-content;
  grid-template-areas:
    "card"
    "more"
    "activity";
}
.diploma.plate .more {
  grid-area: more;
  padding: 6px 10px;
  background: #4183c4;
  color: white;
  border-radius: 0 0 20px 20px;
  width: 90%;
  margin: 0 auto;
}
.diploma.plate .more a {
  color: white;
  font-size: 0.8rem;
}
.diploma.plate .more a:before {
  content: '';
}
.diploma.plate .more a:hover {
  text-decoration: underline;
}
.diploma.plate .more a:before,
.diploma.plate .more i {
  font-size: smaller;
}
.list a[href="#close"] {
  position: absolute;
  right: 16px;
  top: 10px;
  color: #555;
  font-size: large;
}
.diploma.plate .list {
  grid-area: activity;
  text-align: left;
  font-size: inherit;
  padding: 40px;
  border: 1px solid #eee;
  border-top: 0;
  border-radius: 0 0 20px 20px;
  width: 90%;
  margin: 0 auto;
  position: relative;
}
.diploma.plate .list .activity a .title {
  font-size: 1.2em !important;
  font-weight: 500 !important;
  color: #4183c4 !important;
  font-family: var(--ff-body);
}


@media screen and (max-width:500px) {
  .diploma.plate .card {
    grid-template-areas: 
      "qr_img"
      "details"
      "link";
    width: 96%;
    padding: 40px;
  }
  .diploma.plate .card .qrcode {
    margin: 0 auto;
  }
  .diploma.plate .card .usr {
    margin-top: 20px;
    text-align: center !important;
  }
  .diploma.plate .card .usr h1 {
    padding: 0;
  }
  .diploma.plate .card .link {
    margin-left: unset;
    text-align: center;
  }
}


/* Start
**********************************************************/
/* Splash text */
.splash-text {
  width: 104.7%;
  background: #fff;
  text-align: center;
  padding: 3% 18%;
  margin: -.5% 0 1% -2.6%;
  font-weight: 300;
  line-height: 1.4;
  font-size: clamp(12px, calc(11px + .5vw), 17px);
}
.splash-text > p:first-child strong {
  font-size: calc(14px + .5vw);
}
.splash-text > p strong {
  font-weight: 500;
}
.splash-text > p em.show-black,
.splash-text > p em.show-green {
  padding: 3px 6px;
  text-transform: uppercase;
  color: #fff;
  font-style: normal;
  font-size: small;
  font-weight: normal;
}
.splash-text > p em.show-green {
  background: #58ca46 !important;
}
.splash-text > p em.show-black {
  background: #2d2d2d;
}
.splash-text > p em.show-check {
  font-style: normal;
}
.splash-text > p em.show-check:after {
  content: '\f00c';
  font-family: FontAwesome;
  background: #58ca46 !important;
  color: #fff;
  font-style: normal;
  font-size: small;
  font-weight: normal;
  margin-left: 6px;
  border-radius: 10px;
  padding: 3px;
}


/* User "tools" */
.calendar {
  text-align: center;
  font-size: smaller;
  width: 35px;
  line-height: initial;
}
.calendar:hover,
.length > span.tooltip:hover {
  cursor: help;
}
.calendar .top {
  color: #fff;
  font-weight: bold;
  background-color: #2f2f2f;
  border: 1px solid #000;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  font-size: smaller;
}
.calendar .bottom {
  background: #fff;
  color: #2f2f2f;
  border-left: 1px solid #2f2f2f;
  border-right: 1px solid #2f2f2f;
  border-bottom: 1px solid #2f2f2f;
  border-radius: 0 0 5px 5px;
  text-transform: uppercase;
  font-size: 8px;
}
.calendar strong {
  font-size: small;
  font-weight: bold;
  color: #2f2f2f;
  display: block;
  margin-bottom: -3px;
}
.calendar.colorize .top {
  background-color: #e62b1e;
  border-color: #790f17;
}
.course.text + .text p > a:only-of-type {
  display: inline-block;
  background: #f2f2f2;
  border-radius: 4px;
  padding: 1.2% 4% 1.2% 2%;
  color: #676767;
  font-weight: lighter;
  font-size: initial;
}
.course.text + .text p > a:only-of-type:after {
  content: '\f105';
  font-family: FontAwesome;
  position: absolute;
  margin-left: 9px;
}
.sheild {
  background: url("/assets/sheild-a7eb1d38.svg") no-repeat center center;
  background-size: contain;
  height: 37px;
  width: 37px;
  padding-top: 8px;
  margin-left: -4px;
  margin-top: 6px;
  line-height: 11px;
  display: inline-block;
  text-align: center;
  color: #2f2f2f;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: -1px;
}
.sheild small {
  display: block;
  font-size: 8px;
  text-transform: uppercase;
  font-weight: normal;
  letter-spacing: normal;
  background: url("/assets/ribbon-9bf44797.svg") no-repeat center center;
  background-size: contain;
  width: 100%;
  color: #fff;
}
.sheild:before {
  font-weight: normal;
  letter-spacing: normal;
}
.sheild:hover {
  cursor: help;
}


/* Current Course / Expanded */
.thumbnails .expanded {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 2.5%;
  padding: 3.3%;
}
.thumbnails .expanded .close:first-of-type{
  position: absolute;
  right: 9px;
  top: 3px;
  font-size: large;
  color: #9f9d9d;
  font-weight: lighter;
  margin: 0 !important;
}
.thumbnails .expanded .title {
  margin-bottom: 14px;
  margin-top: 0;
  min-height: initial;
  display: inline-block;
  line-height: 1;
  font-size: clamp(40px, calc(30px + .5vw), 65px)
}
.thumbnails .expanded .information {
  padding-right: 40px;
}
.thumbnails .expanded .information .text:not(.title) {
  font-size: 1rem;
}
.thumbnails .expanded .information .markers:has(li) {
  background: #f6f6f6;
  padding: 20px 0 20px 40px;
  margin: 0 0 0 -20px !important;
  border-radius: 10px;
  font-size: medium;
}
@media screen and (max-width:500px) {
  .thumbnails li:not(.expanded) a > strong,
  .thumbnails .expanded .title {
    -webkit-hyphens: auto;
       -moz-hyphens: auto;
        -ms-hyphens: auto;
            hyphens: auto;
    padding-right: 2%;
  }
}
.thumbnails .expanded .details img {
  grid-area: img;
}
.thumbnails .expanded .details .calendar {
  grid-area: cal;
}
.thumbnails .expanded .details .length {
  grid-area: lth;
}
.thumbnails .expanded .details .langs {
  grid-area: flags;
}
.thumbnails .expanded .details {
  display: inline-grid;
  gap: 6px 12px;
  align-content: start;
  grid-template-columns: minmax(min-content, 35px) 1fr 1fr;
  grid-template-areas:
   "img img img" 
   "cal lth flags";
}
.thumbnails .expanded .langs {
  text-align: right;
}
.thumbnails .expanded .langs li {
  display: inline-block;
  max-width: 20px;
  max-height: 20px;
}
@media (max-width: 770px){
  .thumbnails .expanded {
    grid-template-columns: 1fr;
    padding: 8%;
  }
}
.thumbnails .expanded .text ul,
.thumbnails .expanded .text ol {
  margin: 0 0 0 15px !important;
}
.thumbnails .expanded div.text:last-of-type {
  margin-bottom: 0;
}
.thumbnails .expanded p:has(.button) {
  margin-top: 0;
}
.subtle_help {
  display: inline-block;
  max-width: 412px;
  margin-left: 15px;
  color: #8a8a8a;
  border: 1px dotted #8a8a8a;
  border-radius: 5px;
  vertical-align: top;
  padding: 6px 20px 10px;
  padding: 2px 20px 12px;
  line-height: 1.4;
  font-weight: lighter;
}
.subtle_help:before {
  content: '\f05a';
  font-family: FontAwesome;
  margin-left: -30px;
  margin-right: 5px;
  background: #fff;
  font-size: 1.8em;
  position: relative;
  top: 3px;
}


/* Bundled courses */
.start.plate {
  width: 100%;
  max-width: none;
  padding: .5% 2% 0 2.5%;
  margin: 0 auto;
  background: #ebebeb;
  background-image: url("/assets/bg-texture-e6f3d189.png");
  background-size: 164%;
  background-position: left;
}
.start.plate.internal {
  background-image: none;
  background-size: unset;
}
.start.plate h1.title.exam {
  font-size: 1.07em;
  font-weight: unset;
  text-transform: uppercase;
  background: #2d2d2d;
  color: #fff;
  display: inline-block;
  padding: 2px 10px;
  margin: 0;
  z-index: 1;
  position: relative;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}
.start.plate .exam.any h1.title.exam,
.start.plate .exam.any h1.title.exam:hover {
 border-right: 4px dotted white !important;
}
.start.plate .favorite {
  margin-left: -20px;
  margin-right: 2px;
}
.start.plate .favorite:hover {
  text-decoration: none;
}
.start.plate .favorite i {
  color: #2d2d2d;
  font-size: larger;
}
.start.plate .favorite .fa-regular {
  color: #888;
}
.start.plate .favorite i:hover {
  color: #000;
}
.start.plate h1.title.bundle {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  left: 0;
  top: 2px;
  width: 100%;
  padding: 0 10px;
  z-index: 1;
  position: absolute;
  color: #000;
}
.start.plate li.extra_text:has(h1.title.bundle) > p {
  padding-top: 10px !important;
}


/* Thumbnail */
.thumbnails {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-top: 2% !important;
  padding-bottom: 5% !important;
}
.thumbnails li.expanded {
  grid-column: 1/-1;
  box-shadow: none;
  margin: 10px 0;
}
h1 + .thumbnails {
  margin: -4px 0 0 1% !important;
  padding-bottom: 3% !important;
}
.thumbnails > li {
  border: 1px solid #dfdfe0;
  background: #fff;
  box-shadow: 3px 3px 6px rgba(0,0,0,.2);
  position: relative;
  vertical-align: top;
  min-height: 170px;
}
.thumbnails > li.optional:not(.extra_text) {
  border: 1px dotted #fff;
  border-bottom: 4px solid var(--brand-color);
  background: #dfdfe0;
  box-shadow: none;
}
.thumbnails > li img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #dfdfe0;
  margin-bottom: 1%;
  opacity: 1 !important;
  transition: opacity .25s ease-in-out;
}
.thumbnails > li [data-client] {
  position: relative;
}
.thumbnails > li [data-client]:after {
  content: attr(data-client);
  position: absolute;
  color: #fff;
  bottom: 10px;
  right: -3px;
  font-weight: bold;
  background: var(--brand-color);
  text-transform: uppercase;
  padding: 2px 6px;
  line-height: 14px;
  text-align: center;
  font-size: 0.7rem;
  z-index: 2;
}
.thumbnails > li:hover {
  box-shadow: 0 0 3px rgba(255, 204, 102, 0.1);
}
.thumbnails > li:hover img,
.thumbnails > li.current img {
  opacity: .8;
}
.thumbnails li:not(.expanded) a {
  margin: 0 0 10% 0;
  min-height: 3em;
  display: block;
  position: initial;
}
.thumbnails li:not(.expanded) a > strong {
  margin: 2% 5%;
  display: inline-block;
  font-weight: unset;
}
.thumbnails li:not(.expanded).check a > strong ,
.thumbnails li:not(.expanded).refresh a > strong,
.thumbnails li:not(.expanded).outdated a > strong {
  margin-right: 40px;
  min-height: inherit;
}
.thumbnails li.expanded .langs a {
  min-height: unset;
  max-width: 100%;
  margin: unset;
  display: inline-block;
  position: unset;
  color: none;
  padding: unset;
}
.thumbnails li.expanded .langs a img {
  box-shadow: none;
}
.thumbnails .refresh a:before,
.thumbnails .check a:before,
.thumbnails .outdated a:before {
  width: 27px;
  height: 27px;
  border-radius: 27px;
  display: inline-block;
  position: absolute;
  left: 83%;
  bottom: 26%;
  z-index: 1000;
  text-align: center;
  font-family: FontAwesome;
  color: #fff;
}
.thumbnails .refresh a:before {
  content: '\f021';
  color: #eda63d;
  font-size: 1.5em;
  line-height: 1.6em;
}
.thumbnails .check a:before {
  content: '\f00c';
  background: #58ca46;
  font-size: 1.4em;
  line-height: 1.6em;
}
.thumbnails .outdated a:before {
  content: '\f1da';
  color: #d0d0d0;
  font-size: 1.9em;
  line-height: 1.2em;
}
[data-year]:before {
  content: attr(data-year);
  position: absolute;
  color: white;
  background: var(--brand-color);
  padding: 2px 6px;
  line-height: 14px;
  text-align: center;
  font-weight: bold;
  top: 8px;
  right: -3px;
  z-index: 1;
  font-size: 0.7rem;
}
.details[data-year]:before {
  right: 2.7%;
  top: 46px;
}
.thumbnails li:not(.expanded) .length {
  position: absolute;
  bottom: 5%;
  right: 5%;
}
.thumbnails li:not(.expanded) .translated {
  position: absolute;
  bottom: 5%;
  left: 5%;
  width: 14px;
  height: 14px;
  border: none !important;
  background: url("/assets/icon_earth-grid-26c4397c.png") no-repeat;
  background-position: center;
  background-size: contain;
}
.thumbnails li:not(.expanded) .translated > .multi:after {
  content: '+';
  color: #606162;
  position: absolute;
  right: -7px;
  top: -6px;
  font-size: smaller;
}
.thumbnails li.current {
  box-shadow: none;
  border: none;
  opacity: 0.7;
}
.thumbnails li.current img{
  filter: blur(1px);
}
.thumbnails li.locked img {
  filter: brightness(50%) saturate(140%);
}
.thumbnails li.current.locked img {
  filter: brightness(50%) saturate(140%) blur(1px);
}
.thumbnails li.locked a:after {
  content: '\f023';
  font-family: FontAwesome;
  font-size: 2.5rem;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  line-height: 2.1em;
  width: 100%;
  opacity: 0.8;
  z-index: 80;
  color: #fff;
}
.thumbnails li.locked a {
  color: #6061627a;
}
.thumbnails li.current.locked + .expanded .button:before {
  content: '\f023';
  font-family: FontAwesome;
  color: #fff;
  margin-right: 6px;
}
.thumbnails li.current:after {
  content: '';
  position: absolute;
  left: 45%;
  bottom: -15px;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid white;
}
.thumbnails li.draft:before {
  content: '';
  position: absolute;
  width: 25%;
  height: 25%;
  top: 5%;
  background: url("/assets/icon_dev-aff6515f.png") no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .9;
  z-index: 70;
}
.thumbnails li.text,
.thumbnails li.extra_text {
  border: 0;
  box-shadow: none;
  text-align: center;
}
.thumbnails li.text p,
.thumbnails li.extra_text p {
  font-weight: normal;
  line-height: 1.25;
  font-size: clamp(0.82rem, 0.88vw, 0.88rem);
  word-break: break-word;
}
@media screen and (min-width:600px) and (max-width:723px) {
  .thumbnails li.text p,
  .thumbnails li.extra_text p {
    font-size: 1.8vw;
  }
}
.thumbnails li.text > p,
.thumbnails li.extra_text > p {
  margin: 0;
  position: absolute;
  width: 86%;
  top: 51%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.thumbnails + .alertbox,
.user_links + .alertbox {
  color: #fff;
  font-size: 1.1em;
  line-height: 1.5;
  background: rgba(255, 0, 0, 0.8);
  margin: 0;
  border-radius: 0;
  padding: 5% 20%;
  margin: 3% -2% 0 -2%;
}
.alertbox.pointout:after {
  border-bottom-color: rgba(255, 0, 0, 0.8);
  left: 50%;
  border-width: 20px;
  margin-left: -20px;
}
.thumbnails li.extra_text:after {
  content: '\f061';
  font-family: FontAwesome;
  transform: rotate(45deg);
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 30px;
  height: 30px;
  color: var(--brand-color);
}



/* Diploma lists
**********************************************************/
.activity {
  margin-left: 20px;
}
.activity > li .refresh {
  color: #eda63d;
  font-size: larger;
}
.activity li > .check {
  background: #48bf37;
  color: white;
  border-radius: 20px;
}
.activity > li .good {
  margin: 0 5px 0 0;
}
.activity > li .refresh {
  margin: 0 4px 0 0;
}
.activity > li .foreign {
  display: inline-block;
  margin: 0 14px 0 0;
  color: lightgray;
}
.activity > li > a {
  margin-left: 4px;
}
.activity .client {
  margin-top: 0;
  color: #000;
  display: inline-block;
}
.activity .client a {
  padding: 2px;
}
td * .activity .client:first-of-type,
div .activity .activity .client,
div .activity + .activity .client {
  margin-top: 6px;
}
.activity .client h4 {
  padding: 0 !important;
  margin: 0;
  font-size: larger;
  font-weight: normal;
}
.activity .bundle,
.activity .old {
  margin-left: 20px;
  margin-top: 6px;
}
.activity .old {
  margin-bottom: 6px;
}
.activity .more {
  background: transparent;
  padding: 0;
  margin-left: -25px;
}
.activity .right .logo img {
  max-height: 14px;
  max-width: 70px;
  top: 6px;
  right: 10px;
  position: absolute;
}
.more a:before {
  content: '\f067';
  font-family: FontAwesome;
  font-size: 1.3em;
}
.more a:hover {
  text-decoration: none;
  cursor: pointer;
}
.more a.collapse:before {
  content: '\f068';
}
.accounts .activity li {
  display: inline-grid;
  grid-template-columns: 20px 80px auto 90px;
  width: -webkit-fill-available;
}
.accounts .activity a {
  line-height: 1.2rem;
  margin: 4px 0;
}

/* Competences on start */
h1.exam.target {
  position: relative;
  padding: 2px 16px 2px 10px;
}
h1.exam.target:after {
  content: '\f005';
  font-family: FontAwesome;
  color: #ffeb3b;
  font-size: large;
  position: absolute;
  top: -9px;
  right: -8px;
  text-shadow: -1px 0 #ffc30c00, 0 1px #0000006e, 1px 0 #150f001f, 0 -1px #00000038;
}
h1.exam.good {
  background: #58ca46 !important;
}
h1.exam.good:before {
  content: '\f00c';
  font-family: FontAwesome;
  margin-right: 3px;
}

/* Competence Matrix */
.exams {
  margin: 6px 0 0 -40px !important;
  white-space: normal;
  padding-left: 38px !important;
}
.exams > li:not(.more) {
  margin-bottom: 6px;
}
.exams > li {
  background: #58ca46;
  color: #fff;
  padding: 1px 10px 1px 8px;
  margin: 0 6px 6px 0;
  position: relative;
  border-radius: 1px;
  display: inline-block;
  overflow: unset !important;
}
.exams > li:before {
  font-size: 1.2em;
  padding: 0 2px;
}
.exams > li:not(.more).toggle {
  background: transparent !important;
  color: #38862c;
  border: 1px dotted #58ca46;
}
.exams > li:not(.more).toggle.refresh {
  color: #eda63d !important;
  border-color: #eda63d !important;
}
.exams > li:not(.more):not(.refresh).toggle:before {
  background: #48bf37;
  color: #fff;
}
.activity a:before{
  top: 4px;
}

/* Bricks */
.activity > li:not([class]) a:hover{
  text-decoration: none;
}
.activity > li:not([class]):hover {
  background: aliceblue;
}
.activity > li:not([class]) {
  border-bottom: 1px solid #ededed;
  line-height: 2.2em;
  position: relative;
}
.activity:last-of-type > li:last-of-type {
  border-bottom: none;
}
.exams {
  text-transform: uppercase;
}
.plate.pinview {
  display: block;
}


/* Package style
**********************************************************/
.activity li > .check {
  color: #58ca46;
  background: none;
}
.activity li > .refresh {
  font-size: larger;
}
.activity .exams > li {
  padding: 0 10px;
  background: #2d2d2d !important;
  color: white !important;
  border: 0;
  line-height: 2em;
}
.activity .exams > li {
  padding: 0 10px 0 0;
}
.activity .exams > li .logo {
  position: absolute;
  top: 0;
  left: 100%;
  height: -webkit-fill-available;
  max-height: 23px;
  max-width: fit-content;
  min-width: 23px;
  background: #2d2d2d;
}
.activity .exams > li .logo svg {
  vertical-align: middle;
  padding: 2px 4px 2px 0;
}
.activity .exams > li:not(.more):before {
  content: '';
  margin: 0;
  padding: 0;
  font-size: inherit;
}
.activity .exams > li:not(.more):before {
  font-family: FontAwesome;
  color: #fff !important;
  display: inline-block;
  text-align: center;
}
.activity .exams > li:not(.more):before {
  content: '\f00c';
  background: #58ca46;
}
.activity .exams > li.refresh:before {
  content: '\f021';
  background: #eda63d !important;
}
.activity .exams > li:not(.more):before,
.activity .exams > li.refresh:before {
  margin-right: 6px;
  margin-left: -1px;
  width: 26px;
}
.start.plate > h1.stray {
  padding: 0 14px;
  background: transparent !important;
  color: #2d2d2d !important;
  line-height: 3em;
  box-shadow: none;
  text-transform: none;
  font-size: large;
}



/* Diploma
**********************************************************/
.diploma.plate .button {
  margin: 0;
}



/* Layout for test only based courses
***********************************************/
.testonly .content {
  border-top: 0 !important;
  height: 0;
}
.testonly .content .linear,
.testonly .content .jpg,
.testonly .content .running_text {
  display: none;
}

@media screen and (max-width: 4000px) {
  .testonly ul.chapters {
    width: auto !important;
    max-width: inherit !important;
    float: none !important;
    margin-left: inherit !important;
    margin: 5% !important;
    position: relative !important;
  }
  .testonly ul.chapters li a {
    line-height: 2.6em;
  }
}

/* Pins
***********************************************/
.tagline {
  color: #999;
  font-size: small;
  margin: 0;
}
.tagline.exam,
.tagline.course {
  display: table;
  padding: 2px 6px;
  position: relative;
  font-size: 11px;
  line-height: normal;
}
.search_results .tagline {
  margin-left: -6px;
  margin-bottom: 2px;
  max-width: 300px;
}
.tagline.course {
  border: 1px solid #ddd;
  padding-right: 6px;
  color: unset;
}
.tagline.exam {
  background: #2d2d2d;
  color: #fff;
}
.tagline.exam.tooltip {
  padding-right: 20px;
}
.tagline.exam i {
  opacity: 0.7;
  margin-left: 4px;
  position: absolute;
  right: 5px;
  top: 3px;
}
.search_results td:first-of-type:has(p) > a:first-of-type {
  font-weight: 500;
}
.search_results td:first-of-type p:first-of-type {
  margin: -1px 0 0 -1px;
  letter-spacing: 0.01rem;
  text-transform: uppercase;
  font-size: 0.7rem;
}
.pinunit {
  display: block;
  color: black;
  font-size: 0.8rem;
  margin: -3px 0 0 -1px;
}
.other_pins_item {
  padding: 5px;
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 12px;
}
.plate.details .other_pins_item {
  grid-template-columns: repeat(2, minmax(240px, 1fr));
}
.user_links li .final,
.user_links li .prepare,
.user_links li .tagline {
  display: inline-block;
  position: relative;
  padding-top: 5px;
}
.user_links li .tagline {
  margin-top: 2px;
}
.user_links li .final,
.user_links li .prepare {
  margin-right: 10px;
  font-size: 0.76rem;
  font-weight: bold;
  letter-spacing: 0.04rem;
  color: rgb(65, 65, 65);
}

@media screen and (max-width:870px) {
  .other_pins_item {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
  .other_pins_item li.break {
    grid-column-end: span 2 !important;
  }
  .plate.details .other_pins_item {
    grid-template-columns: repeat(1, minmax(100px, 1fr));
  }  
}
@media screen and (max-width:570px) {
  .other_pins_item {
    grid-template-columns: 1fr;
  }
  .other_pins_item li.break {
    grid-column-end: span 1 !important;
  }
}

.wide .other_pins_item li,
.other_pins_item li.break {
  grid-column-end: span 3;
  margin: 0;
  margin-bottom: 10px;
}
.other_pins_item li {
  background: white;
  padding: 2% 4% 3% 4%;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  align-items: start;
  align-content: start;
}
.accounts .other_pins_item li:not(.expired),
.plate.details .other_pins_item li:not(.expired),
.codes_menu .other_pins_item li:not(.expired) {
  border: 1px solid #eee;
}
.other_pins_item li:not(.break):not(.toggle):hover {
  transform: scale(1.02);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.other_pins_item li:not(.break):not(.toggle):hover .closed {
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.other_pins_item li a {
  font-size: 0.85rem;
  width: 75%;
}
.other_pins_item li .details a {
  font-size: 0.7rem;
}
.other_pins_item .break,
.other_pins_item .toggle {
  background: transparent;
  padding: 0;
  box-shadow: none;
  align-self: end;
  display: inline-block;
}
.other_pins_item .toggle a {
  color: #444;
  display: inline-block;
  background: #dedede;
  border-radius: 50px;
  padding: 8px;
  line-height: 20px;
  margin-bottom: 0;
  width: unset;
}
.other_pins_item .toggle a:hover {
  color: #fff;
  background: #444;
}
.other_pins_item li .code {
  font-size: 0.7rem;
  font-family: var(--ff-mono);
  margin-left: -6px;
  padding: 2px 4px 2px 6px;
}
.other_pins_item li .closed {
  background: #fff !important;
  font-size: 0.65rem;
  text-align: center;
  padding: 2px 6px;
  position: absolute;
  bottom: -6px;
  right: 0;
  border-radius: 6px 0 6px 6px;
}
.paper.pin .other_pins_item li .closed {
  background: #efefef !important;
}
.other_container h2 {
  font-size: larger;
  text-align: left;
}
.other_pins_item li.active {
  border-left: 8px solid #2683c9;
}
.other_pins_item li.active:after {
  content: '\f060';
  font-family: FontAwesome;
  font-size: x-large;
  color: #444;
  position: absolute;
  top: 5px;
  right: 10px;
}
.other_pins_item li.expired {
  background: #e0e0e0ad;
}
.other_pins_item li.expired a {
  color: #7d7c7c;
}
.other_pins_item li.expired .details,
.other_pins_item li.expired img {
  opacity: 0.7;
}
.other_pins_item li.expired .code {
  border: 1px solid #bbb;
}
.other_pins_item li.logo > img {
  width: auto;
  height: 35px;
  margin-top: 10px;
}
.other_pins_item li:not(.break) > img {
  max-height: 24px;
  max-width: 80px;
  top: 10px;
  right: 10px;
  position: absolute;
}


/* Order - Pins
***********************************************/
.order .search_results tr {
  display: grid;
  grid-template-areas: 
    "header header header header"
    "details limits contact actions";
  gap: 0;
}
.order .search_results tr td {
  display: inline-block;
  border: 0;
}
.order .search_results tr .header {
  grid-area: header;
  margin: 0;
  border: 0;
  padding: 0;
}
.order .search_results tr .header h2 {
  text-align: left;
  font-size: 0.75rem;
  font-weight: bold;
  display: inline-block;
  margin: 30px 0 0 0;
  padding: 7px 20px 4px 14px;
  line-height: 1.2rem;
  background: #cecece40;
  color: #000;
  border-radius: 20px 20px 20px 0;
}
.order .search_results tr .header h2 span {
  font-size: 0.9rem;
  font-weight: normal;
}
.order .search_results .c1 + .c1 .header,
.order .search_results .c2 + .c2 .header  {
  display: none;
}
.order .search_results tr:first-of-type .header h2 {
  margin-top: 0;
}
.order .search_results tr:first-of-type .header h2 {
  margin-top: 0;
}
.order .search_results .c1 + .c1,
.order .search_results .c2 + .c2  {
  border-top: 1px dotted lightgrey;
}
.order .search_results tr .details {
  grid-area: details;
  max-width: unset;
  width: 300px;
  padding: 0;
}
.order .search_results tr[class^="c"] .details {
  border-left: 4px solid #cecece40;
  padding-left: 10px;
}
.order .search_results tr[class^="c"] .details h3 {
  margin: 0;
  display: inline-block;
}
.order .search_results tr .details h3 {
  font-size: 0.76rem;
  font-weight: bold;
  letter-spacing: 0.04rem;
  margin: 0 !important;
  color: #414141;
}
.order .search_results tr.expired .details h3 {
  color: inherit;
}
.order .search_results tr .details h4 {
  font-size: 0.8rem;
  margin: 0 0 4px 0;
}      
.order .search_results tr .limits {
  grid-area: limits;
  width: 250px;
  padding: 0 0 0 6px;
}
.order .search_results tr .contact {
  grid-area: contact;
  padding: 0;
  width: 250px;
}
.order .search_results tr .actions {
  grid-area: actions;
  width: 220px;
  padding: 0;
}
.order .search_results tr[class^="c"] .details,
.order .search_results tr[class^="c"] .limits ,
.order .search_results tr[class^="c"] .contact,
.order .search_results tr[class^="c"] .actions {
  padding-top: 10px;
  padding-bottom: 10px;
}
.order .search_results tr[class=""],
.order .search_results tr[class*="expired"]{
  border-top: 1px solid lightgrey;
  padding: 10px 0;
}
.order .search_results tr[class=""] .details,
.order .search_results tr[class*="expired"] .details {
  padding-left: 10px;
}
.order .search_results tr[class*="expired"]{
  background: #f9f9f9;
}
.order .search_results tr[class=""] .header h2,
.order .search_results tr[class*="expired"] .header h2 {
  margin: 0 0 0 -4px;
  background: none;
  font-size: 0.85rem;
}
.order .search_results tr[class*="expired"] .header h2 {
  color: #adadad;
}
.order .search_results tr:not(.c1):not(.c2){
  margin-top: 20px;
}
.order .search_results tr:not(.c1):not(.c2) ~ tr {
  margin-top: 0;
}
.order .search_results tr[class=""] .details h3 {
  margin-bottom: 4px !important;
}

@media screen and (max-width:1100px) {
  .order .search_results tr {
    grid-template-areas: 
      "header header header"
      "details limits actions"
      "contact limits actions";
  }
  .order .search_results tr .contact {
    max-width: 250px;
    padding: 0 0 0 14px;
  }
  .order .search_results tr[class^="c"] .contact {
    border-left: 4px solid #f3f3f3;
    padding-top: 0;
  }
}
@media screen and (max-width:800px) {
  .order .search_results tr {
    grid-template-areas: 
      "header header"
      "details actions"
      "limits actions"
      "contact actions";
  }
  .order .search_results tr .contact,
  .order .search_results tr .limits {
    max-width: 250px;
    padding: 0 0 0 14px;
  }
  .order .search_results tr[class^="c"] .contact,
  .order .search_results tr[class^="c"] .limits {
    border-left: 4px solid #f3f3f3;
    padding-top: 0;
  }
}
@media screen and (max-width:500px) {
  .order .search_results tr {
    grid-template-areas: 
      "header"
      "details"
      "limits"
      "contact"
      "actions";
  }
  .order .search_results tr td {
    background: transparent;
    text-align: left;
  }
  .order .search_results tr .contact,
  .order .search_results tr .limits,
  .order .search_results tr .actions {
    max-width: 250px;
    padding: 0 0 0 14px;
  }
  .order .search_results tr[class^="c"] .contact,
  .order .search_results tr[class^="c"] .limits,
  .order .search_results tr[class^="c"] .actions {
    border-left: 4px solid #f3f3f3;
    padding-top: 0;
  }
}


/* Right to left directional texts
**********************************************************/
.content[dir="rtl"] .running_text .helptext {
  display: block !important;
}
.content[dir="rtl"] .running_text h1,
.content[dir="rtl"] .running_text p,
.content[dir="rtl"] .running_text span,
.content[dir="rtl"] .running_text .helptext {
  text-align: right !important;
}
.content[dir="rtl"] ul.sections li {
  text-align: right !important;
  padding: 4px 18px 0 0;
}
.content[dir="rtl"] .running_text ~ ul.sections li:before {
  margin: -1px 10px 0 14px;
}
.content[dir="rtl"] ul.sections li.ext {
  padding: 0 34px 4px 0;
}


/* Basic responsives
**********************************************************/
@media screen and (max-width:1300px) {
  body:not(.course_level) .paper {
    margin-bottom: 0;
  }
}
@media screen and (max-width:1200px) {
  .banner .logo {
    right: 2.5%;
  }
  body.course_level .banner .title {
    right: 22.8%;
  }
  .question {
    width: 80%;
  }
  .course_level .paper {
    max-width: 960px;
  }
  .plate.details {
    width: 91%;
  }
  .content{
    width: 75%;
    max-width: none;
    margin-right: 2% !important;
  }
  .modules ~ .content {
    clear: both;
  }
  ul.modules.large li {
    max-width: 121px !important;
  }
  .bigviz .running_text{
    margin-left: 210px;
  }
  select.language_menu {
    margin: 10px 10px 0 0;
  }
  .thumbnails {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media screen and (max-width:870px) {
  .banner .title {
    max-width: 60%;
  }
  .thumbnails {
    grid-template-columns: repeat(3, 1fr);
  }
  .start.plate .exam {
    margin-left: 2%;
    margin-right: 2%;
  }
  .splash-text{
    padding: 3% 5%;
  }
}
@media (max-width: 700px){
  .splash-text p br {
    display: none;
  }
  .start.plate .favorite {
    margin-left: -15px;
    margin-right: -1px;
}
} 
@media screen and (max-width:770px) {
  body {
    background: #fff !important;
    position: relative;
  }
  .jquery-notify-bar {
    width: auto !important;
    font-size: .8em;
    line-height: 1.4em;
    padding: 8% 12% !important;
  }
  .paper,
  footer {
    display: block;
    background: inherit;
    box-shadow: none;
    border: 0 !important;
    margin: 0 auto !important;
  }
  .splash {
    width: 100%;
    margin: 0 auto;
  }
  ul.modules.large li {
    max-width: unset !important;
    border: 0 !important;
    vertical-align: middle !important;
    padding: 6px 8px !important;
    margin: 0 !important;
    line-height: 27px;
  }
  .course_level .banner,
  .toolbar,
  .devtools {
    display: none !important;
  }
  .running_text,
  .content .tips,
  .content .sections,
  .content.sitemap .wrapper {
    float: none !important;
    width: 90% !important;
    margin: 0 auto !important;
  }
  .content.wide .running_text {
    width: unset !important;
    margin-left: 5% !important;
    margin-right: 5% !important;
  }
  .content.wide .sound_player {
    width: auto !important;
  }
  .content .linear + .sections,
  .content .centered-btns_tabs {
    max-width: unset !important;
    width: 100% !important;
    text-align: left;
  }
  .content .tips {
    margin: 20px auto 0 auto !important;
  }
  .content .tips li a,
  .content .sections li a {
    font-size: 16px !important;
    font-family: var(--ff-body) !important;
    line-height: 1.29;
    font-weight: normal;
  }
  .content .tips li {
    padding: 20px 4px !important;
    margin: 0 0 20px 0 !important;
  }
  .running_text h1,
  .running_text h1 p,
  .running_text h1 div {
    letter-spacing: -.03em;
    word-spacing: .3px;
    font-size: clamp(2em, calc(2.3em + .5vw), 3em) !important;
    line-height: initial;
    color: #000;
    font-family: var(--ff-title) !important;
    margin: 10px auto 10px auto;
    border: 0;
  }
  .running_text > h1 {
    border-bottom: none !important;
    margin-top: 3%;
  }
  .running_text p,
  .expanded > p,
  .expanded ul:not(.buttons) {
    font-family: var(--ff-body);
    font-size: 16px;
    line-height: 1.5;
    word-spacing: .3px;
    text-rendering: optimizeLegibility;
  }
  .plate,
  footer {
    margin: 8% auto;
    max-width: 650px;
  }
  .plate {
    padding-bottom: 0;
  }
  .banner + .question > .back {
    top: -11% !important;
    left: -3% !important;
  }
  .content,
  .content .linear,
  .content .jpg,
  .content .pdf {
    max-width: 770px;
  }
}
@media screen and (max-width:600px) {
  .thumbnails {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width:500px) {
  .plate,
  footer {
    margin: 3% auto;
    max-width: 340px;
    display: revert;
  }
  .diploma.plate {
    width: 80%;
    margin: 5% auto 0 auto;
  }
  .diploma.plate .title {
    font-size: 2em;
  }
  .narrow.plate {
    margin-left: 23px;
  }
  .question {
    width: auto;
    margin: 8% 4%;
  }
  .question .number {
    display: inline-block;
    width: 100%;
    float: none;
    padding: 0;
    margin: 0;
    font-size: medium;
  }
  .question h3 {
    margin: 9% 4% 2% 9%;
    width: 80%;
    line-height: normal;
  }
  .question .thetest {
    margin: 0 0 0 9%;
  }
  .question .thetest button { 
    font-size: medium !important;
    line-height: 1.6em !important;
    padding: 4% !important;
  }
  .start.plate h1 {
    margin: 12% 0 2% 0;
  }
  .start.plate h1 + .thumbnails {
    margin: 0;
  }
  .start.plate h1:last-of-type + .thumbnails {
    padding-bottom: 20%;
  }
}