@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&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: "Josefin Sans", sans-serif;
  --lightest: #fff;
  --light: #f2f3fa;
  --medium: #C4C4C4;
  --dark: #333;
  --darkest: #000;
  --body-background: var(--lightest);
  --body-color: var(--light);
  --headings-font-weight: 600;
  --logo-height: 3.3rem;

  --primary: #1f252e;
  --primary-hover: #571336;
  --primary-contrast: #1f252e;
  --primary-inverse: var(--lightest);

  --secondary: #F74040;
  --secondary-hover: #1f252e;
  --secondary-contrast: #F74040;
  --secondary-inverse: var(--lightest);

  --info: #02C5E9;
  --info-hover: #10E9A6;
  --info-contrast: #02C5E9;
  --info-inverse: var(--lightest);

  --highlight: #02C5E9;
  --highlight-hover: #10E9A6;
  --highlight-contrast: #02C5E9;
  --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;
}

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

.fare-type-platinum .card-header {
  background-color: #cab959 !important;
}

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

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

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

app-journey-fare-option-header.fare-type-platinum,
app-journey-fare-option-summary.fare-type-platinum .btn-select {
  background-color: var(--primary-hover) !important;
}

app-journey-fare-option-header div.h6>span {
  text-align: center !important;
  width: 100% !important;
  display: inline-block !important;
}

.seat-container .seat-design.emergency-exit-seat {
  stroke: var(--warning) !important;
}

/* Customer Customization/Overrides */

/* CARD PAYMENTS */
.payment--method.tingg {
  background: url(./assets/images/tingg-payment.png) center no-repeat !important;
  background-size: 4rem !important;
  width: 4rem !important;
}

.payment--method.tingg-cc {
  background: url(./assets/images/tingg-cc.png) center no-repeat !important;
  background-size: 9rem !important;
  width: 9rem !important;
  text-indent: -9999em;
}
.payment--method.tingg-mp {
  background: url(./assets/images/tingg-mp.png) center no-repeat;
  background-size: 100% !important;
  width: 10rem !important;
  text-indent: -9999em;
}

.payment--method.waafipay-mobile {
  background: url(/assets/images/waafipay-mobile.png) center no-repeat;
  background-size: 100% !important;
  width: 13rem !important;
  height: calc(80px + 0.9vw);
  color: transparent;
}

.payment--method.waafipay-bank {
  background: url(/assets/images/waafipay-bank.jpg) center no-repeat;
  background-size: 100% !important;
  width: 2.5rem !important;
  height: calc(80px + 0.9vw);
  text-indent: -9999em;
}

app-payment-method-picker .payment-methods {
  display: flex;
  flex-direction: column;
}
app-payment-method-picker app-payment-methods-group:nth-child(2) {
  order: 1;
}
/* END CARD PAYMENTS */