@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;500&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: 'Roboto', sans-serif;
  --lightest: #fff;
  --light: #eee;
  --medium: #C4C4C4;
  --dark: #444;
  --darkest: #111e40;
  --body-background: var(--lightest);
  --body-color: var(--light);
  --body-font-weight: 300;
  --headings-font-weight: 500;

  --primary: #FF0000;
  --primary-hover: #ce0505;
  --primary-contrast: #ff5e5e;
  --primary-inverse: var(--lightest);

  --secondary: #21409a;
  --secondary-hover: #1b3277;
  --secondary-contrast: #2a51c7;
  --secondary-inverse: var(--lightest);

  --info: #b61801;
  --info-hover: #991804;
  --info-contrast: #e02205;
  --info-inverse: var(--lightest);

  --highlight: #ffffff;
  --highlight-hover: #ececec;
  --highlight-contrast: #ececec;
  --highlight-inverse: var(--darkest);

  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --dark: #343a40;
  --white: #fff;
}

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

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

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

h2,
.h2 {
  font-weight: var(--headings-font-weight) !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 {
  width: 10.5rem;
}

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

/* Client Customizations */

app-root .bg-light {
  background-color: var(--lightest) !important;
}

app-trip-type-picker label.btn-outline-primary,
app-person-title-picker label.btn-outline-primary {
  background-color: var(--lightest);
  border-color: #ced4da !important;
}

.navbar-dark .navbar-text a {
  color: var(--darkest) !important;
}

#cartVisibilityController {
  border-color: var(--darkest) !important;
}

app-site-header.bg-primary {
  background-color: var(--lightest) !important;
  color: var(--darkest) !important;
}

app-journey-fares-item .fare--selection-column button {
  border-color: var(--secondary) !important;
  background-color: var(--secondary) !important;
}

app-journey-fares-item .fare--selection-column button.btn-outline-medium {
  color: var(--lightest) !important;
}


app-seats-selection .passenger--row .bg-info.btn,
app-seats-selection .leg-action button.btn.btn-info {
  color: var(--lightest) !important;
  background-color: var(--secondary) !important;
  border-color: var(--secondary) !important;
}

app-seats-selection .row-seat .seat.selected .data-set {
  color: var(--lightest) !important;
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

app-seats-selection .row-seat .seat:not(.inexistent) .data-set,
app-seats-selection .row-seat .seat:not(.inexistent) .cell:before {
  border-color: var(--primary) !important;
}

app-agency app-site-header .breadcrumb-item>a,
app-agency app-site-header .breadcrumb>li::after {
  color: unset !important;
}

.agent-login-header.bg-primary {
  background-color: var(--lightest)!important;
}

.agent-left-sidebar.bg-light {
  background-color: var(--light)!important;
}

/*--------------------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. */