// ------------------------------------
// LMS support for legacy Sass partials
//
// The intention is that this makes it
// easier to reuse existing partials
// that were not built with Bootstrap
// in mind.
// ------------------------------------

@import 'vendor/bi-app/bi-app-ltr'; // set the layout for left to right languages

@mixin font-size($sizeValue: 16) {
  font-size: ($sizeValue/10) + rem;
}

// Support .sr as a synonym for .sr-only
.sr {
  @extend .sr-only;
}

// ----------------------------
// #LEGACY VARIABLES
// ----------------------------

// ----------------------------
// #GRID
// ----------------------------

$lms-max-width: 1180px !default;

$grid-breakpoints-sm: 576px !default;
$grid-breakpoints-md: 768px !default;
$grid-breakpoints-lg: 992px !default;

// ----------------------------
// #FONTS
// ----------------------------

$body-font-size: $font-size-base !default;
$font-light: 300 !default;
$font-regular: 400 !default;
$font-semibold: 600 !default;
$font-bold: 700 !default;

// ----------------------------
// #COLORS
// ----------------------------

$lms-gray: theme-color("secondary") !default;
$lms-background-color: $gray-100 !default;
$lms-container-background-color: theme-color("inverse") !default;
$lms-border-color: $gray-300 !default;
$lms-label-color: theme-color("secondary") !default;
$lms-active-color: theme-color("primary") !default;
$lms-preview-menu-color: $gray-400 !default;
$lms-inactive-color: theme-color("disabled") !default;
$success-color: theme-color("success") !default;
$success-color-hover: theme-color("success") !default;
$lms-hero-color: #005e90 !default;
$lms-purchase-color: theme-color("success") !default;

// Blacks
$black:     rgb(0, 0, 0) !default;
$black-t0:  rgba($black, 0.125) !default;
$black-t1:  rgba($black, 0.25) !default;
$black-t2:  rgba($black, 0.5) !default;
$black-t3:  rgba($black, 0.75) !default;

// Shadows
$shadow: rgba(0, 0, 0, 0.2) !default;
$shadow-l1: rgba(0, 0, 0, 0.1) !default;
$shadow-l2: rgba(0, 0, 0, 0.05) !default;
$shadow-d1: rgba(0, 0, 0, 0.4) !default;
$shadow-d2: rgba($black, 0.6) !default;
