@import url('/assets/fonts/webfonts.css');

: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: 'Gordita', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --lightest: #fff;
  --light: rgb(245, 245, 247);
  --medium: #C4C4C4;
  --dark: #88888A;
  --darkest: #1D1D1F;
  --body-background: var(--lightest);
  --body-color: var(--light);
  --headings-font-weight: 700;
  --logo-height: 2.5rem;

  --primary: #1D1D1F;
  --primary-hover: #253AC6;
  --primary-contrast: #253AC6;
  --primary-inverse: var(--lightest);

  --secondary: #88888A;
  --secondary-hover: #253AC6;
  --secondary-contrast: #253AC6;
  --secondary-inverse: var(--lightest);

  --info: #253AC6;
  --info-hover: #507ad1;
  --info-contrast: #507ad1;
  --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: rgb(2, 173, 180);
  --danger: rgb(230, 33, 94);
  --warning: #ffc107;
  --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;
}

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 {
  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-restricted,
app-journey-fare-option-summary.fare-type-restricted .btn-select {
  background-color: #ED6A5E !important;
}

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

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


/* Customer Customization/Overrides */

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

app-site-header .text-white,
app-site-header li::after,
app-site-header .iasi::after,
#language-picker {
  color: var(--primary) !important;
}

/* Remove Rounded Corners */
body .card,
body .rounded,
body .rounded-pill,
body .btn,
body .card-header:first-child,
body .nav-pills .nav-link,
body .form-control,
body .stv-radio-buttons-wrapper label:first-of-type,
body .modal-footer,
body .modal-header,
body .dropdown-menu,
body app-passengers-count-picker .navbar-toggler,
body .custom-select {
  border-radius: 4px !important;
}

body .btn-group label.btn:not(:first-of-type):not(:last-of-type),
body .input-group input:not(:first-of-type):not(:last-of-type) {
  border-radius: 0px !important;
}


body .btn-group label.btn:first-of-type,
body .input-group input:first-of-type,
body .input-group app-typeahead input:first-of-type {
  border-top-left-radius: 4px !important;
  border-bottom-left-radius: 4px !important;
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}

body .btn-group label.btn:last-of-type,
body .input-group input:last-of-type {
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
  border-top-right-radius: 4px !important;
  border-bottom-right-radius: 4px !important;
}

body .rounded.rounded-end-0,
body .rounded-pill.rounded-end-0 {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

body .rounded.rounded-start-0,
body .rounded-pill.rounded-start-0 {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

ul.typeahead-list li.list-group-item-action.hovering,
ul.typeahead-list li.list-group-item-action.hovering.active {
  background-color: var(--primary-hover)!important;
  color: var(--lightest);
}

ul.typeahead-list li.list-group-item-action.active {
  background-color: var(--secondary)!important;
  color: var(--lightest);
}

/* End of button style */