@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Source+Sans+Pro:wght@300;400;600;700&family=Roboto+Mono:wght@400;500;700&display=swap');


/* Root Variables
***************************************/
:root {
  --brand-color: #555;
  --secondary-color: #fff;
  --txt-color: #101010;
  --ff-title: "Source Sans Pro", "Helvetica", "Arial", sans-serif;
  --ff-body: "Roboto", "Helvetica", sans-serif;
  --ff-mono: "Roboto Mono", "Consolas", "Menlo", "Lucida Console", "Bitstream Vera Sans Mono", monospace, sans-serif;
}

/* Basic Layout
***************************************/
.left{
  float:left;
}
.right{
  float:right;
}
.clear{
  clear:both;
  line-height:1px;
}
.center{
  text-align:center;
}
.dim {
  opacity: 0.3;
  filter: opacity(30);
}
.greyscale {
  filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale"); /* Firefox 10+, Firefox on Android */
  filter: gray; /* IE6-9 */
  -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}
.divider,
hr {
  border: 0;
  line-height: 1px;
  height: 1px;
  border-top: 1px dotted #adadad;
  margin: 20px 0;
}
.text hr {
  border: 0 !important;
  line-height: 0;
  height: 0;
  border-top: 1px dashed #999 !important;
  width: 90%;
  margin: 20px 0;
}
.text ul,
.text ol,
.printable.page ul,
.printable.page ol {
  margin: 0 0 0 -20px !important;
}
.text ul,
.information ul,
.printable.page ul {
  list-style-type: initial !important;
}
.text ul ul {
  list-style-type: circle !important;
}
.text ul ul ul {
  list-style-type: square !important;
}
.text ul ol {
  list-style-type: decimal !important;
}
.none,
.only_on_print{
  display:none;
}
.lowcase{
  text-transform:lowercase;
}
#item_blank{
  position:absolute;
  left:-1000px;
}
.download,
.activity a {
  position: relative;
}
.download a {
  padding-left: 20px;
}
.download a:before {
  content: "\f019";
  font-family: FontAwesome;
  position: absolute;
  top: 1px;
  left: 3px;
  text-align: center;
  color: #c6c6c6;
}
.activity .tip {
  color: rgba(65, 131, 196, 0.45);
  width: 24px;
  height: 20px;
  top: 6px;
  text-align: center;
  font-size: larger;
}
.activity .tip i {
  vertical-align: top;
}
.oddrow {
  background: #f1f1f1;
}
.home .running_text a {
  color: inherit;
  font-weight: bold;
}


/* Inplace edit
***************************************/
.inplace{
  cursor: default;
  padding: 4px;
  display: inline-block;
}
.inplace:hover {
  cursor: pointer;
  border: 1px dashed #ccc;
  background: url("/assets/icon_pen-24ed466c.png") top right no-repeat;
  background-size: 13px auto;
  background-position: right 4px;
  padding: 3px 22px 3px 4px;
}
.inplace .inplace_edit textarea{
  font-family: inherit;
  width: 488px !important;
  height: 30px !important;
  display: block;
}



/* Documents
***************************************/
.doc {
  font-style: italic;
  color: #939393;
  margin: 0;
  padding: 7px 0;
}
.doc a {
  position: relative;
  color: #393939 !important;
  line-height: normal !important;
  margin-left: 16px;
  padding-left: 14px;
  font-size: smaller !important;
  text-transform: uppercase;
  text-decoration: underline !important;
  font-style: normal !important;
}
.doc a:hover{
  color: #2d2d2d !important;
}
.doc a:before {
  position: absolute;
  content: '\f0f6';
  font-family: FontAwesome;
  margin: 2px -16px;
  font-size: larger;
}
.doc .pdf:before {
  content: '\f1c1';
  color: #e0432f;
}
.doc .doc:before,
.doc .docx:before {
  content: '\f1c2';
  color: #3e5aa9;
}
.doc .xls:before,
.doc .xlsx:before {
  content: '\f1c3';
  color: #09a055;
}
/* Page Tips */
.tips li.document {
  padding: 6px 14px;
}
.tips li.document a {
  hyphens: auto;
}
li.document a {
  position: relative;
  padding-left: 20px;
}
li.document a:before {
  position: absolute;
  content: '\f0f6';
  color: #8a8b90;
  font-family: FontAwesome;
  left: 0;
}
li.document .pdf:before {
  content: '\f1c1';
  color: #e0432f;
}
li.document .doc:before,
li.document .docx:before {
  content: '\f1c2';
  color: #3e5aa9;
}
li.document .xls:before,
li.document .xlsx:before {
  content: '\f1c3';
  color: #09a055;
}
.tips li a[href*="http"]:after {
  content: '\f08e';
  font-family: FontAwesome;
  margin-left: 4px;
}
ul.documents h2 {
  margin: 20px 0 0 0;
}
ul.documents,
ul.documents ul {
  margin: 0 !important;
  padding: 0;
  list-style: none;
}
ul.documents ul li {
  margin: 6px 0;
  list-style: none;
}
.pageref {
  color: darkgrey;
}



/* Tooltips
***************************************/
.tooltip {
  position: relative;
}
.tooltip:after {
  content: ' ';
  position: absolute;
  top: -7px;
  left: 14px;
  border: solid transparent;
  height: 0;
  width: 0;
  pointer-events: none;
  border-color: rgba(0, 0, 0, 0);
  border-top-color: #000;
  border-width: 7px;
  margin-left: -7px;
  display: none;
}
.tooltip:before {
  content: attr(data-tip);
  position: absolute;
  z-index: 999;
  white-space: nowrap;
  bottom: 115%;
  left: 0;
  font-family: Arial, sans-serif;
  text-transform: none;
  font-size: 12px;
  line-height: 16px;
  background: #000;
  color: #e0e0e0;
  padding: 2px 8px;
  border-radius: 4px;
  box-shadow: 1px 1px 3px rgba(0,0,0,0.4);
  opacity: 0;
}
.tooltip.side:after {
  top: 33%;
  left: 110%;
  border-top-color: transparent;
  border-right-color: #000;
  border-width: 4px;
  margin-left: -4px;
}
.tooltip.side:before {
  bottom: 14%;
  left: 120%;
}
.tooltip.fit:before {
  left: inherit;
  right: 0;
}
.tooltip:hover:after,
.tooltip:hover:before {
  display: block;
  opacity: 1;
  content: attr(data-tip);
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  overflow: hidden;
}

/* Speechbubble
***************************************/
.speechbubble_top{
  position: relative;
  width:90%;
  background: #F8F8F8;
  padding:20px;
  margin:10px 0 20px 0;
  border-radius:6px;
}
.speechbubble_top:after{
  bottom: 100%;
  left: 6%;
  border: solid transparent;
  content: " ";
  position: absolute;
  border-color: rgba(255, 255, 255, 0);
  border-bottom-color: #F8F8F8;
  border-width: 14px;
  margin-left: -14px;
}



/* Alertbox
***************************************/
.alertbox,
.alertbox_grey {
  margin: 10px 0;
  min-height: 24px;
  padding: 15px 24px 10px 24px;
  background: #fbefcc;
  border-radius: 6px; 
  position: relative;
  display: block;
}
.alertbox_grey {
  background:#f0f0f0
}
.alertbox:before,
.alertbox_grey:before {
  background: url("/assets/alert_basic_icon-aa1fd59a.png");
  background-repeat:no-repeat;
  content: " ";
  display: block;
  position: absolute;
  left: -19px;
  top: 8px;
  width: 34px;
  height: 31px;
}
.alertbox.inform {
  background: #cee2ea;
  display: inline-block;
}
.alertbox.inform:before {
  background: url("/assets/alert_inform_icon-05d86b50.png");
}
.alertbox.add {
  background: #e7f2d9;
}
.alertbox.add:before {
  background: url("/assets/alert_add_icon-b9c43c56.png");
}
.alertbox.config {
  background: #f5f5f5;
}
.alertbox.config:before {
  background: url("/assets/alert_config_icon-1e2631c0.png");
}
.alertbox.edit {
  background: #f9f9f9;
  border: 1px solid #eaeaea;
}
.alertbox.edit:before {
  background: url("/assets/alert_edit_icon-54988a42.png");
}
.alertbox.edit hr {
  border-top: 1px dotted #dbdbdb;
}
.alertbox.pointout {
  background: #f4f4f4;
  margin: 14px 0 14px 20px;
}
.alertbox.pointout:before {
  background: none;
}
.alertbox.pointout:after {
  bottom: 100%;
  left: 30px;
  border: solid transparent;
  content: " ";
  position: absolute;
  border-color: rgba(255, 255, 255, 0);
  border-bottom-color: #f4f4f4;
  border-width: 10px;
  margin-left: -10px;
}
.alertbox.note {
  display: inline-block;
  margin: 0 0 10px 15px;
}
.alertbox ul,
.alertbox_grey ul{
  list-style: disc !important;
}
.alertbox ul li,
.alertbox_grey ul li {
  margin-left: 14px;
}



/* Pin
********************************************************/
.pincode {
  font: 12px Lucinda Typewriter, Andale Mono, Arial, Courier, monospace;
  color: #414141;
}
.expired .pincode {
  color: #b5b5b5;
}


/* Pagination
********************************************************/
.pagination {
  text-align: center;
  border-top: 1px solid #d6d6d6;
  padding: 20px 0;
  position: relative;
  margin: 0 auto;
  width: 100%;
}
.pagination a,
.pagination em,
.pagination span {
  display: inline-block;
  font-size: 1.4em;
  text-decoration: none;
  font-style: normal;
  color: #999;
  line-height: 2;
  width: 34px;
  height: 34px;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  -webkit-transition: 250ms all linear;
          transition: 250ms all linear;
}
.pagination .current {
  border: 2px solid #cdcdcd;
  border-radius: 5px;
  color: #333;
  position: relative;
  top: -2px;
}
.pagination .disabled {
  opacity: 0.3;
  filter: opacity(30);
}
.previous_page,
.next_page {
  position: absolute;
  font-size: 2.6em !important;
  line-height: 32px !important;
}
.previous_page {
  left: 0;
}
.next_page { 
  right: 0;
}
.previous_page:before,
.next_page:before {
  padding: 0 12px;
}
.previous_page:before {
  content: '\2039';
}
.next_page:before {
  content: '\203A';
}
.pagination a:hover {
  color: #000 !important;
  text-decoration: none !important;
  background: #dedede;
  border-radius: 5px;
  cursor: pointer;
}
@media (max-width: 500px) {
  .pagination {
    margin: 10px 7px !important;
  }
  .pagination .current {
    margin-left: -34px;
  }
  .pagination .current ~ a:not(.next_page) {
    display: inline-block;
    pointer-events: none;
    overflow: visible;
    top: 20px;
    position: absolute;
  }
  .pagination .current ~ a:not(.next_page):before {
    content: 'av';
    margin: 0 7px;
  }
  .pagination a:not(.previous_page):not(.next_page),
  .pagination .gap {
    display: none;
  }
  .pagination .current ~ a:nth-last-of-type(2) {
    display: inline-block !important;
  }
}


/* Devtools
******************************************************/
.devtools {
  margin: 0;
  margin-left: 1%;
  padding: 4px 14px;
  list-style: none;
  position: fixed;
  bottom: 0;
  right: 6px;
  z-index: 800;
  color: #f1f1f1;
  background: #c50808;
  border-radius: 6px 6px 0 0;
  filter: alpha(opacity=80);
  opacity: 0.8;
}
.devtools.development {
  color: #000;
  background: #268121;
}
.devtools li {
  display: inline;
  margin: 0;
  list-style: none;
}
.devtools li a {
  color: #fff;
  margin-left: 4px;
  display: inline-block;
  font-size: larger;
}
.devtools li a:hover {
  color: #d4e171;
}

/* Start Link
******************************************************/
.backend > a[href*="start"] {
  position: absolute;
  display: inline-block;
  width: 22px;
  height: 22px;
  left: 9px;
  top: 46px;
  z-index: 1;
}
.backend > a[href*="start"]:before,
.modules li > a[href*="start"]:before {
  display: inline-block;
  vertical-align: middle;
  color: #fff;
  font-size: 1.4em;
}
.modules li > a[href*="start"]:before {
  position: unset;
  color: #737373;
}


/* BankID
******************************************************/
.login.plate .simple_form.new_user {
  grid-area: form;
}
.login.plate .simple_form.new_user[id="password_form"] {
  display: inline-grid;
  grid-template-columns: 1fr 0.1fr 0.7fr 1.3fr;
  align-items: anchor-center;
  column-gap: 10px;
}
.login.plate .simple_form.new_user[id="password_form"] p,
.login.plate .simple_form.new_user[id="password_form"] .hint {
  grid-column: 1 / -1;
}
.login.plate .simple_form.new_user[id="password_form"] a.cancel {
  height: 1.85em;
  line-height: 1rem !important;
}
.login.plate .simple_form.new_user[id="password_form"] a.cancel:before {
  top: 5px;
}
.simple_form.new_user input[type="submit"],
.button_to button[type="submit"]{
  text-transform: unset;
  line-height: 2.3em !important;
  font-size: 1.125rem;
  margin-top: 2px;
}
.plate.login .simple_form.new_user input[type="submit"] {
  width: 97% !important;
}
.plate:not(.start) .button {
  text-transform: none !important;
}
.login.plate .button[href*="id"],
.accounts .plate .button[href*="id"],
.login.plate .button[href*="freja"],
.accounts .plate .button[href*="freja"],
.openbankid a {
  margin-top: 13px;
  line-height: 2.1em;
  position: relative;
  padding-left: 41px;
  font-size: 0.85rem;
}
.login.plate .button[href*="freja"],
.accounts .plate .button[href*="freja"],
.openbankid a[href*="freja"] {
  background: none;
  color: #3e3a94 !important;
  border-color: #3e3a94;
  text-shadow: none;
  box-shadow: none; 
}
.login.plate .button[href*="freja"]:hover,
.accounts .plate .button[href*="freja"]:hover,
.openbankid a[href*="freja"]:hover {
  background: none;
  color: #3e3a94 !important;
  border-color: grey;
  text-shadow: none;
  box-shadow: none; 
}
.login.plate .button[href*="bankid"],
.accounts .plate .button[href*="bankid"],
.openbankid a[href*="bankid"] {
  background: none;
  color: #235971 !important;
  border-color: #235971;
  text-shadow: none;
  box-shadow: none; 
}
.login.plate .button[href*="bankid"]:hover,
.accounts .plate .button[href*="bankid"]:hover,
.openbankid a[href*="bankid"]:hover {
  background: none;
  color: #357b9b !important;
  border-color: grey;
  text-shadow: none;
  box-shadow: none;
}
.login.plate .button[href*="netsid"],
.accounts .plate .button[href*="netsid"] {
  background: none;
  color: #0052b4 !important;
  border-color: #0052b4;
  text-shadow: none;
  box-shadow: none; 
}
.login.plate .button[href*="netsid"]:hover,
.accounts .plate .button[href*="netsid"]:hover {
  background: none;
  color: #0052b4 !important;
  border-color: grey;
  text-shadow: none;
  box-shadow: none;
}
.login.plate .button:not(.cancel):before,
.accounts .plate .button:before,
.openbankid a:before {
  content: '';
  width: 24px;
  height: 24px;
  background: url("/assets/bankid-e5b64549.svg") top left no-repeat;
  position: absolute;
  top: 4px;
  left: 10px;
}
.login.plate .button[href*="netsid"]:before,
.accounts .plate .button[href*="netsid"]:before {
  background: url("/assets/flags/fi-056627d3.svg") top left no-repeat;
  top: 6px;
  width: 21px;
}
.login.plate .button[href*="freja"]:before,
.accounts .plate .button[href*="freja"]:before,
.openbankid a[href*="freja"]:before {
  background: url("/assets/FrejaSmallRoundedIndigo-01935de0.png") top left no-repeat;
  background-size: contain;
  position: absolute;
  top: 7px;
  left: 14px;
  width: 18px;
  height: 18px;
}
.accounts .plate .tabs {
  margin: 0;
  padding: 0;
  list-style-image: none;
  width: 92%;
  position: relative;
  bottom: -1px;
}
.accounts .plate .tabs li {
  display: inline-block;
  position: relative;
}
.accounts .plate .tabs li a {
  display: inline-block;
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
  background: #2984c9;
  border-radius: 10px 10px 0 0;
}
.accounts .plate .tabs li a.current {
  background: #fff;
  border: 1px solid #ccc;
  border-bottom: 1px solid #fff;
  color: #2d2d2d;
}
.accounts section.bankid,
.accounts .plate form:not(.edit_user) {
  border: 1px solid #ccc;
  border-radius: 0 6px 6px 6px;
  padding: 10px 0 20px 20px;
}
.accounts .plate form p:first-of-type {
  margin-top: -3px;
}

.qr_container img {
  width: 100%;
}
.login.plate ol {
  counter-reset: my-awesome-counter;
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}
.login.plate ol li {
  counter-increment: my-awesome-counter;
  padding: 30px 0 0 50px;
  position: relative;
  min-height: 18px;
}
.login.plate ol > li:before {
  content: counter(my-awesome-counter);
  padding-left: 0px;
  color: #4b4a4a;
  text-align: center;
  display: inline-block;
  width: 42px;
  font-size: 28px;
  position: absolute;
  left: 0;
  top: 30%;
  background: #dedede;
  border-radius: 20px;
}



/* Policy
******************************************************/
.plate.policy h1 {
  margin-top: 30px;
  margin-bottom: 6px;
}
.plate.policy ul li {
  list-style: disc;
  margin-left: 30px;
}
.plate.policy p,
.plate.policy ul li {
  font-weight: lighter;
  font-size: 1.2em;
}
.plate.policy h1 + p {
  margin-top: 0;
}


/* Default branding
******************************************************/
footer a { color: var(--brand-color) !important; }
ul.modules { border-bottom-color: var(--brand-color) !important; }
ul.modules li.active { background: var(--brand-color) !important; color: #fff; }

.thumbnails li.text { background: var(--secondary-color) !important; color: #000 !important; }
.thumbnails li.text.extra_text { background: #dfdfe0 !important; border-bottom: 4px solid var(--brand-color); }

.start.plate .button[href*="home"],
.start.plate .button[href*="test"],
.start.plate .expanded a[href^="/index.html"],
.start.plate .expanded a[target="_blank"],
.linear nav a.start:before,
.linear nav a[id="next"]:before { background: var(--brand-color) !important; color: #fff !important; }