﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  background-color: #eeeeee;
  min-height: 100vh;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

#root {
    display: flex;
}

#content {
    flex-grow: 1;
    position: relative;
}

.scroller {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1em;
    overflow: auto;
}

#document {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Validation form styles
-------------------------------------------------- */
.field-validation-error {
    text-align: left;
}

.field-validation-valid {
    display: none;
}

.validation-summary-valid {
    display: none;
}

/* General styles
-------------------------------------------------- */
.legend-hide {
    filter: brightness(0.9);
}

.font-italic {
    font-style: italic!important;
}

.required::after {
    content: " *";
    color: red;
}

.optional::after {
    content: " (optionnel)";
    --bs-text-opacity: 1;
    color: #6c757d !important;
    font-size: .875em;
}

.pre-line {
    white-space: pre-line;
}

.flex {
    display: flex;
}

.cursor-hover:hover {
    cursor: pointer;
}

/* Table styles
-------------------------------------------------- */
.dataTables_info {
    padding-top: 0!important;
    margin: 2px 0;
}


.table-ticket > tbody > tr > td:nth-of-type(odd) {
    --bs-table-accent-bg: var(--bs-table-striped-bg);
    font-weight: bold;
}

.row-head {
    --bs-table-accent-bg: var(--bs-table-striped-bg);
    color: var(--bs-table-striped-color);
    vertical-align: middle;
}




/* Multiselect styles
-------------------------------------------------- */
.multiselect-dropdown {
    border-radius: 0.375rem!important;
}

form .multiselect-dropdown {
    width: 100%;
    max-width: none!important;
}

.input-group .multiselect-dropdown {
    border-top-left-radius: 0!important;
    border-bottom-left-radius: 0!important;
}
