/**
 * The MIT License (MIT)
 *
 * Copyright (c) 2021-2024 Camptocamp SA
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy of
 * this software and associated documentation files (the "Software"), to deal in
 * the Software without restriction, including without limitation the rights to
 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
 * the Software, and to permit persons to whom the Software is furnished to do so,
 * subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
 * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
 * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */

$fa-font-path: '~@fortawesome/fontawesome-free/webfonts' !default;

$brand-primary: #94ac9a !default;
$brand-secondary: #d3e5d7 !default;
$font-size-small: 0.9em !default;
$app-margin: 0.62rem !default;
$half-app-margin: 0.32rem !default;
$micro-app-margin: 0.12rem !default;
$standard-variation: 15% !default;
$nav-bg: white !default;
$color: #555 !default;
$color-light: lighten($color, $standard-variation) !default;
$color-04: rgba($color, 0.4) !default;
$nav-header-bg: darken($nav-bg, 50%) !default;
$link-color: hsl(hue($brand-primary), 25%, 50%) !default;
$map-tools-size: 2rem !default;
$map-tools-bg-color: white !default;
$map-tools-color: black !default;
$onhover-color: darken($nav-bg, $standard-variation) !default;
$onhover-color-darken: darken($onhover-color, $standard-variation) !default;
$main-bg-color: #e2e3df !default; // gray light
$main-bg-color-lighten: lighten($main-bg-color, calc($standard-variation / 2)) !default;
$main-bg-color-09: rgba($main-bg-color, 0.9) !default;
$main-bg-color-08: rgba($main-bg-color, 0.8) !default;
$search-width: calc(6 * $map-tools-size) !default;
$border-radius-base: 0 !default;
$nav-width: 20rem !default;
$input-border-focus: darken($brand-primary, $standard-variation) !default;
$input-border-focus-darken: darken($input-border-focus, $standard-variation) !default;
$light-box-shadow: 0 0.37rem 0.75rem !default;
$light-box-shadow-color: rgba(0, 0, 0, 0.1) !default;
$eavy-box-shadow: 0 0.37rem 0.75rem !default;
$eavy-box-shadow-color: rgba(0, 0, 0, 0.3) !default;
$icon-font-size: 1.25rem !default;
$grid-gutter-width: 1.88rem !default;
$border-color: darken($brand-primary, $standard-variation) !default;
$border: 0.06rem solid !default;
$hover-background-color: lighten($brand-primary, $standard-variation) !default;
$brand-secondary-dark: darken($brand-secondary, $standard-variation) !default;

$displayquerywindow-desktop-height: 15rem !default;
$displayquerygrid-height: 15.62rem !default;

// Z-indexes
$below-content-index: 1;
$content-index: 2;
$above-content-index: 3;
$above-menus-index: 4;
$search-index: 5;
$above-search-index: 6;
$zindex-navbar-fixed: 7;
$above-all: 9998;
// Above above-all
$loading: 9999;

// Bootstrap 3 compatibility layer
$gray-base: #000 !default;
$gray-dark: lighten($gray-base, 20%) !default; // #333
$padding-small-vertical: 0.36rem !default;
$padding-small-horizontal: 0.72rem !default;
$input-height-base: 1.88rem !default;
$btn-default-border: #ccc !default;
$text-color: $gray-dark !default;

// Bootstrap 4 customization
$border-radius: $border-radius-base !default;
$border-radius-lg: $border-radius-base !default;
$border-radius-sm: $border-radius-base !default;
$font-size-base: 0.8rem !default;
$input-btn-padding-y: 0.25rem !default;
$input-btn-padding-x: 0.5rem !default;
$primary: $brand-primary !default;
$secondary: $brand-secondary !default;
