@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
  /* Changes to Major version include renaming or deletion of variables. 
   Changes to Minor version include addition of new variables.
   Changes to Revision version include variable value changes. */
  --Version-Number: 2.1;

  /* global styles variables */
  --font-family: "Inter", sans-serif;
  --lightest: #fff;
  --light: #F1F1F1;
  --light-inverse: #313131;
  --white-inverse: #313131;
  --medium: #C4C4C4;
  --dark: #54595F;
  --darkest: #313131;
  --body-background: var(--lightest);
  --body-color: var(--light);
  --headings-font-weight: 700;
  --logo-height: 3rem;

  --primary: #9B0909;
  --primary-hover: #F23739;
  --primary-contrast: #F23739;
  --primary-inverse: var(--lightest);

  --secondary: #54595F;
  --secondary-hover: #616161;
  --secondary-contrast: #616161;
  --secondary-inverse: var(--lightest);

  --info: #fab31e;
  --info-hover: #fbc24a;
  --info-contrast: #fbc24a;
  --info-inverse: var(--lightest);

  --highlight: hsla(207, 79%, 95%, 1);
  --highlight-hover: hsla(207, 79%, 75%, 1);
  --highlight-contrast: hsla(207, 79%, 25%, 1);
  --highlight-inverse: var(--darkest);

  --success: #008e5a;
  --danger: var(--primary);
  --warning: #fab31e;
  --dark: #313131;
  --white: #fff;
}

/* ------- PER CLIENT CUSTOMIZATION ------- */

/* Assign Font to document */
html,
body {
  font-family: var(--font-family) !important;
}

/* Mapping needed when google font does not correspond */
h1,
.h1 {
  font-weight: var(--headings-font-weight) !important;
  color: var(--primary) !important;
}

h2,
.h2 {
  font-weight: var(--headings-font-weight) !important;
  color: var(--primary) !important;
}

h3,
.h3 {
  font-weight: var(--headings-font-weight) !important;
}

h4,
.h4 {
  font-weight: var(--headings-font-weight) !important;
}

h5,
.h5 {
  font-weight: var(--headings-font-weight) !important;
}

h6,
.h6 {
  font-weight: var(--headings-font-weight) !important;
}

/* Logo sizing specific to brand */
a.navbar-brand img {
  height: var(--logo-height);
}

/* AmeliaRes Logo Style */
.page-footer img.amelia-logo {
  width: 4.75rem;
}

/* SVG Icon Substitution */
.leg--footer .logo {
  background-image: url(./img/airline-icon.svg);
  width: 20px;
  height: 20px;
}


/*--------------------Fare Type Styling----------------- */
/* The fare type identifier is configured in client specific MongoDB Collections. 
Fare type CSS class name is constrcuted using the following rules: 1. Prefix 'fare-type-', 
2. Replace spaces within fare type identifier by '-'. 3. Transform fare type identifier into lowercase. */
/* Example CSS class for fare type identifier Bronze:*/

app-journey-fare-option-header.fare-type-classic_non-resident,
app-journey-fare-option-summary.fare-type-classic_non-resident .btn-select {
  background-color: #F23739 !important;
}

app-journey-fare-option-header.fare-type-super_flex,
app-journey-fare-option-summary.fare-type-super_flex .btn-select {
  background-color: #af3a3a !important;
}

app-journey-fare-option-header.fare-type-promo,
app-journey-fare-option-summary.fare-type-promo .btn-select {
  background-color: #a52121 !important;
}

app-journey-fare-option-header.fare-type-flex_non-resident,
app-journey-fare-option-summary.fare-type-flex_non-resident .btn-select {
  background-color: #9b0909 !important;
}

app-journey-fare-option-header.fare-type-god,
app-journey-fare-option-summary.fare-type-god .btn-select {
  background-color: #8b0808 !important;
}

app-journey-fare-option-header.fare-type-bedre,
app-journey-fare-option-summary.fare-type-bedre .btn-select {
  background-color: #7c0707 !important;
}

app-journey-fare-option-header.fare-type-residente_r,
app-journey-fare-option-summary.fare-type-residente_r .btn-select {
  background-color: #6c0606 !important;
}

app-journey-fare-option-header.fare-type-smart_non-resident,
app-journey-fare-option-summary.fare-type-smart_non-resident .btn-select {
  background-color: #5d0505 !important;
}

/* Customer Customization/Overrides */

