﻿@charset "UTF-8";
/* =========================================================
   _tokens.scss
   Statskontoret Design System
   - SCSS primitives
   - CSS custom properties
   - light theme
   - dark theme
   - SCSS aliases för smidigare användning i komponenter

   Princip:
   - rå färg definieras i SCSS-primitives
   - semantiska tokens exponeras som CSS variables
   - komponenter använder var(--ds-...)
   ========================================================= */
/* =========================================================
   1. SCSS PRIMITIVES
   Rå färger. Används för att bygga tokens.
   Undvik att använda dessa direkt i komponenter.
   ========================================================= */
/* Widths */
/* Fonts */
/* Font sizes */
/* Blue / primary brand */
/* Green */
/* Red / pink / burgundy */
/* Yellow */
/* Purple / focus */
/* File type / accent */
/* Neutral */
:root {
  /* Fonts */
  --ds-font-family-primary: Open Sans, Arial, Helvetica, sans-serif;
  --ds-font-family-secondary: Merriweather, Times New Roman, Times, serif;
  --ds-font-family-heading: Merriweather, serif;
  --ds-font-weight-heading: 600;
  --ds-font-family-ui: Arial, Helvetica, sans-serif;
  --ds-font-family-mono: SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
  --ds-font-body-1: 16px;
  --ds-font-body-2: 15px;
  --ds-font-body-3: 14px;
  --ds-font-body-4: 13px;
  --ds-font-body-5: 12px;
  --ds-font-heading-1: 35px;
  --ds-font-heading-2: 20px;
  --ds-font-heading-3: 18px;
  --ds-font-heading-4: 16px;
  --ds-font-heading-5: 14px;
  --ds-max-width-lg: 128rem;
  --ds-max-width-manadsutfall: 66.7rem;
}

/* =========================================================
   2. THEME TOKENS – LIGHT
   ========================================================= */
:root,
[data-theme=light] {
  /* Logotype */
  --ds-brand-logo: url("../../../layout/img/logo_statskontoret.svg");
  /* Hero Background */
  --ds-hero-bg: #0A4555;
  --ds-hero-text: #FFFFFF;
  --ds-hero-text-shadow: .2rem .2rem 0 #023b59, .2rem -.2rem 0 #023b59, -.2rem .2rem 0 #023b59, -.2rem -.2rem 0 #023b59, .2rem 0px 0 #023b59, 0px .2rem 0 #023b59, -.2rem 0px 0 #023b59, 0px -.2rem 0 #023b59;
  --ds-hero-btn-bg: #C6F0BB;
  --ds-hero-btn-hover: #98C6DD;
  --ds-hero-btn-text: #0A4555;
  /* Brand */
  --ds-brand-primary: #0A4555;
  --ds-brand-primary-hover: #396875;
  --ds-brand-secondary: #16342B;
  --ds-brand-secondary-hover: #435B53;
  --ds-brand-tertiary: #2F040F;
  --ds-brand-tertiary-hover: #4B1923;
  /* Text */
  --ds-text-primary: #222222;
  --ds-text-secondary: #3A3A3A;
  --ds-text-tertiary: #6A6A6A;
  --ds-text-muted: #CCCCCC;
  --ds-text-placeholder: #9A9A9A;
  --ds-text-disabled: #BDBDBD;
  --ds-text-inverse: #FFFFFF;
  --ds-text-inverse-2: #000000;
  --ds-text-black: #000000;
  /* Gradients */
  --ds-text-gradient: linear-gradient(0deg, #386774, #0B4656);
  /* Links */
  --ds-link-color: #005991;
  --ds-link-hover: #222222;
  --ds-link-active: #005070;
  --ds-link-visited: #005070;
  --ds-link-focus: #005070;
  /* Backgrounds */
  --ds-bg-default: #FFFFFF;
  --ds-bg-subtle: #F8F9FB;
  --ds-bg-muted: #F5F5F5;
  --ds-bg-soft: #EEEEEE;
  --ds-bg-megamenu: #F5F5F5;
  --ds-bg-black: #000000;
  --ds-bg-accordion: #FFFFFF;
  --ds-bg-info: #E6E6E6;
  /* Content Puff */
  --ds-bg-content-puff: #FFFFFF;
  /* Surfaces */
  --ds-surface-fact: #F5F5F5;
  --ds-surface-fact-border: #9B9B9B;
  --ds-surface-box-info: #DDEBF6;
  --ds-surface-box-info-border: #1B4E6B;
  --ds-surface-box-danger: #F0E0E3;
  --ds-surface-box-danger-border: #9B3248;
  --ds-surface-box-success: #DBE9E2;
  --ds-surface-box-success-border: #25730D;
  --ds-surface-calendar: #C6F0BB;
  --ds-surface-calendar-hover: #B6E3A9;
  --ds-surface-newsstamp: #98C6DD;
  --ds-surface-newsstamp-hover: #B4D7E9;
  --ds-surface-banner-info: #FFE600;
  --ds-surface-select: #F3D1D8;
  --ds-surface-footer-top: #97AFB5;
  --ds-surface-footer-bottom: #003948;
  /* Borders */
  --ds-border-subtle: #D3D3D3;
  --ds-border-default: #A3A3A3;
  --ds-border-strong: #9B9B9B;
  --ds-border-box: #4D4D4D;
  --ds-border-inverse: #000000;
  /* Actions */
  --ds-action-primary: #0A4555;
  --ds-action-primary-hover: #185F73;
  --ds-action-primary-text: #FFFFFF;
  --ds-action-secondary: #16342B;
  --ds-action-secondary-hover: #435B53;
  --ds-action-secondary-text: #FFFFFF;
  --ds-action-tertiary: #2F040F;
  --ds-action-tertiary-hover: #4B1923;
  --ds-action-tertiary-text: #FFFFFF;
  --ds-action-neutral: #EDEDED;
  --ds-action-neutral-hover: #C0C0C0;
  --ds-action-neutral-text: #222222;
  --ds-action-consent: #86D170;
  --ds-action-consent-text: #222222;
  /* Status */
  --ds-status-error: #C62828;
  --ds-status-success: #2E7D32;
  --ds-status-warning: #FFB300;
  --ds-status-info: #688B95;
  /* Tables */
  --ds-table-header-bg: #F5F5F5;
  --ds-table-cell-bg: #F5F5F5;
  --ds-table-bg: #F5F5F5;
  --ds-table-row-odd-bg: #F5F5F5;
  --ds-table-row-even-bg: #FFFFFF;
  --ds-table-row-hover-bg: #EEEEEE;
  /* Forms */
  --ds-form-label-color: #3A3A3A;
  --ds-form-helper-color: #6A6A6A;
  --ds-form-placeholder-color: #9A9A9A;
  --ds-form-disabled-text: #BDBDBD;
  /* Focus */
  --ds-focus-color: #B800B8;
  --ds-focus-border: #B800B8;
  --ds-focus-visible: 0 0 0 0.15rem rgba(159, 45, 76, 0.5);
  /* Effects */
  --ds-link-shadow-text: 0 -0.1rem 0 rgba(0, 0, 0, 0.9) inset;
  --ds-link-shadow-link: 0 -0.1rem 0 rgba(0, 89, 145, 0.3) inset;
  --ds-link-shadow-muted: 0 -0.3rem 0 rgba(245, 245, 245, 1) inset;
  --ds-link-shadow-footer: 0 -0.1rem 0 rgba(255, 255, 255, 0.7) inset;
  /* Icons */
  --ds-icon-excel-color: #217346;
  --ds-icon-word-color: #2B579A;
  --ds-icon-pdf-color: #CA0000;
  --ds-icon-ppt-color: #D04423;
  --ds-icon-html-color: #0000FF;
  /* Tabs */
  --ds-tab-default: #000000;
  --ds-tab-active: #000000;
  /* Special */
  --ds-fact-accent-border: 0.3rem solid #4D4D4D;
  --ds-fact-soft-bg: #F0F3F5;
  --ds-fact-muted-blue-bg: #C6D2D5;
}

/* =========================================================
   3. THEME TOKENS – DARK
   Första stabila dark theme-bas.
   ========================================================= */
[data-theme=dark] {
  /* Logotype */
  --ds-brand-logo: url("../../../layout/img/logo_statskontoret--black.svg");
  /* Hero Background */
  --ds-hero-bg: #4B4B4B;
  --ds-hero-text: #FFFFFF;
  --ds-hero-text-shadow: .2rem .2rem 0 #222, .2rem -.2rem 0 #222, -.2rem .2rem 0 #023b59, -.2rem -.2rem 0 #222, .2rem 0px 0 #222, 0px .2rem 0 #222, -.2rem 0px 0 #222, 0px -.2rem 0 #222;
  --ds-hero-btn-bg: #C6F0BB;
  --ds-hero-btn-hover: #98C6DD;
  --ds-hero-btn-text: #000000;
  /* Brand */
  --ds-brand-primary: #97AFB5;
  --ds-brand-primary-hover: #98C6DD;
  --ds-brand-secondary: #86D170;
  --ds-brand-secondary-hover: #C6F0BB;
  --ds-brand-tertiary: #F3D1D8;
  --ds-brand-tertiary-hover: #F0E0E3;
  /* Text */
  --ds-text-primary: #F5F7FA;
  --ds-text-secondary: #D7DCE2;
  --ds-text-tertiary: #B8C0C8;
  --ds-text-muted: #98A2AD;
  --ds-text-placeholder: #8A949F;
  --ds-text-disabled: #66717D;
  --ds-text-inverse: #000000;
  --ds-text-inverse-2: #FFFFFF;
  --ds-text-black: #000000;
  /* Gradients */
  --ds-text-gradient: linear-gradient(0deg, #DCF6FD, #97AFB5);
  /* Links */
  --ds-link-color: #7FC4E8;
  --ds-link-hover: #B4E0F5;
  --ds-link-active: #98D6F2;
  --ds-link-visited: #98D6F2;
  --ds-link-focus: #B4E0F5;
  /* Backgrounds */
  --ds-bg-default: #111315;
  --ds-bg-subtle: #171A1D;
  --ds-bg-muted: #1E2328;
  --ds-bg-soft: #262C32;
  --ds-bg-megamenu: #1E2328;
  --ds-bg-black: #000000;
  --ds-bg-accordion: #1e2328;
  --ds-bg-info: #171A1D;
  /* Content Puff */
  --ds-bg-content-puff: #1e2328;
  /* Surfaces */
  --ds-surface-fact: #1E2328;
  --ds-surface-fact-border: #4B5560;
  --ds-surface-box-info: #1e2328;
  --ds-surface-box-info-border: #7FC4E8;
  --ds-surface-box-danger: #341C24;
  --ds-surface-box-danger-border: #E08AA1;
  --ds-surface-box-success: #171A1D;
  --ds-surface-box-success-border: #7CCB8A;
  --ds-surface-calendar: #26402D;
  --ds-surface-calendar-hover: #32553A;
  --ds-surface-newsstamp: #224152;
  --ds-surface-newsstamp-hover: #2B556B;
  --ds-surface-banner-info: #6F6300;
  --ds-surface-select: #4A2A33;
  --ds-surface-footer-top: #22343A;
  --ds-surface-footer-bottom: #0D1C22;
  /* Borders */
  --ds-border-subtle: #313840;
  --ds-border-default: #4A525C;
  --ds-border-strong: #66707A;
  --ds-border-box: #7A8691;
  --ds-border-inverse: #FFFFFF;
  /* Actions */
  --ds-action-primary: #97AFB5;
  --ds-action-primary-hover: #98C6DD;
  --ds-action-primary-text: #111315;
  --ds-action-secondary: #A6E3B5;
  --ds-action-secondary-hover: #C8EFD1;
  --ds-action-secondary-text: #111315;
  --ds-action-tertiary: #E7A5B6;
  --ds-action-tertiary-hover: #F0C4CF;
  --ds-action-tertiary-text: #111315;
  --ds-action-neutral: #2C333A;
  --ds-action-neutral-hover: #3A424A;
  --ds-action-neutral-text: #F5F7FA;
  --ds-action-consent: #9BE184;
  --ds-action-consent-text: #111315;
  /* Status */
  --ds-status-error: #FF8A8A;
  --ds-status-success: #8FD694;
  --ds-status-warning: #FFD666;
  --ds-status-info: #8DC7D8;
  /* Tables */
  --ds-table-header-bg: #1E2328;
  --ds-table-cell-bg: #171A1D;
  --ds-table-bg: #171A1D;
  --ds-table-row-odd-bg: #171A1D;
  --ds-table-row-even-bg: #1E2328;
  --ds-table-row-hover-bg: #262C32;
  /* Forms */
  --ds-form-label-color: #D7DCE2;
  --ds-form-helper-color: #B8C0C8;
  --ds-form-placeholder-color: #8A949F;
  --ds-form-disabled-text: #66717D;
  /* Focus */
  --ds-focus-color: #F28AF2;
  --ds-focus-border: #F28AF2;
  --ds-focus-visible: 0 0 0 0.15rem rgba(242, 138, 242, 0.35);
  /* Effects */
  --ds-link-shadow-text: 0 -0.1rem 0 rgba(0, 0, 0, 0.7) inset;
  --ds-link-shadow-link: 0 -0.1rem 0 rgba(151, 175, 181, 0.5) inset;
  --ds-link-shadow-muted: 0 -0.3rem 0 rgba(38, 44, 50, 1) inset;
  --ds-link-shadow-footer: 0 -0.1rem 0 rgba(0, 0, 0, 0.7) inset;
  /* Icons */
  --ds-icon-excel-color: #6BCB8B;
  --ds-icon-word-color: #84AEEF;
  --ds-icon-pdf-color: #FF7A7A;
  --ds-icon-ppt-color: #FF9C7D;
  --ds-icon-html-color: #7AA2FF;
  /* Tabs */
  --ds-tab-default: #FFFFFF;
  --ds-tab-active: #FFFFFF;
  /* Special */
  --ds-fact-accent-border: 0.3rem solid #7A8691;
  --ds-fact-soft-bg: #1e2328;
  --ds-fact-muted-blue-bg: #31414A;
}

/* =========================================================
   4. SCSS ALIASES
   Praktiskt lager för SCSS-användning.
   Dessa pekar på CSS variables.
   ========================================================= */
/* Logotype */
/* Hero Background */
/* Brand */
/* Text */
/* Gradients */
/* Fonts */
/* Links */
/* Backgrounds */
/* Content Puff */
/* Surfaces */
/* Borders */
/* Actions */
/* Status */
/* Tables */
/* Forms */
/* Focus */
/* Effects */
/* Icons */
/* Tabs */
/* Special */
/* Widths */
/* =========================================================
   5. COMPONENT TOKENS
   Behändiga alias på komponentnivå.
   ========================================================= */
/* Buttons */
/* Boxes */
/* Footer */
.utbildninglistblock {
  font-size: 1.4rem !important;
}

.utbildning-cards {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2.4rem;
}
.utbildning-cards .card-text {
  padding-bottom: 0;
}

.card {
  width: 29.3rem;
  padding: 0;
}
.card:hover {
  border: 0.1rem solid var(--ds-border-strong);
}
.card .card-container {
  overflow: hidden;
}
.card .card-body {
  padding: 1.5rem 1.5rem;
  flex: 0 1 auto;
  font-size: 1.4rem !important;
}
.card .card-body:first-child p {
  margin-bottom: 0;
}
.card .card-body .h4 {
  margin-top: 0 !important;
  padding-top: 0;
  color: #005991;
}
.card .card-body a,
.card .card-body a:link,
.card .card-body a:visited {
  color: #005991;
  text-decoration: underline !important;
}
.card .card-body a:hover .h4 {
  color: var(--ds-text-primary);
}
.card .card-body-top {
  height: 100%;
}
.card .card-body-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.card .occasions,
.card .no-occasions {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.card .occasions .fa-solid::before,
.card .no-occasions .fa-solid::before {
  color: #BA0F87;
}
.card .occasions .occasion-type,
.card .no-occasions .occasion-type {
  justify-content: end;
}
.card .occasion-container {
  display: flex;
  flex: 1;
  align-items: center;
}
.card .date {
  display: block;
  white-space: nowrap;
}
.card .card-text {
  font-size: 1.5rem;
}
.card .arrow-icon {
  font-size: 1.5rem;
  margin-left: 0.5rem;
}
.card hr {
  margin: 0 1rem;
}
.card .btn-tag {
  padding: 0 1.2rem;
  border-radius: 2.5rem;
  max-height: 2.5rem;
}
.card .price-info {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.card .price {
  font-family: "basic sans";
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.8rem;
  display: block;
}
.card .price-vat {
  font-size: 1.2rem;
}

.col-md-4 .card {
  width: 100%;
}

.tab-content .card {
  max-width: 100%;
}

.fa-solid {
  margin-right: 0.3rem;
}

.order-2 .card .card-body .btn {
  width: 100%;
}
.order-2 .card .card-body:first-child p {
  margin-bottom: 1rem;
}

.occasions-2 {
  position: relative;
  width: fit-content;
  float: left;
  top: 0.1rem;
}
.occasions-2 .dotty::before {
  content: "";
  position: absolute;
  background: orange;
  border: none;
  width: 100%;
  z-index: 1;
  top: 34%;
}
.occasions-2 .dot {
  height: 1.8rem;
  width: 1.8rem;
  border-radius: 50%;
  display: inline-block;
  border: 0.5rem solid orange;
  z-index: 10;
  position: relative;
}
