﻿/* 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. */

.primary-color {
    background-color: #2A5A65 !important;
}

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
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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 {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

.sidebar-fixed {
    height: 100vh;
    width: 270px;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);
    z-index: 1050;
    background-color: #fff;
    padding: 0 1.5rem 1.5rem
}

    .sidebar-fixed .list-group .active {
        -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);
        box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);
        -webkit-border-radius: 5px;
        border-radius: 5px
    }

    .sidebar-fixed .logo-wrapper {
        padding: 2.5rem
    }

        .sidebar-fixed .logo-wrapper img {
            max-height: 9em
        }

@media (min-width:1200px) {
    .navbar, .footer, main {
        padding-left: 270px
    }
}

@media (max-width:1199.98px) {
    .sidebar-fixed {
        display: none
    }
}

/*.dropdown-menu {
    max-height: 200px;
    overflow-y: scroll;
}*/

ul.timeline {
    list-style-type: none;
    position: relative;
}

ul.timeline:before {
    content: ' ';
    background: #d4d9df;
    display: inline-block;
    position: absolute;
    left: 29px;
    width: 2px;
    height: 100%;
    z-index: 400;
}

ul.timeline > li {
    margin: 20px 0;
    padding-left: 20px;
}

    ul.timeline > li:hover {
        background-color: #F7F7F7;
    }

ul.timeline > li:before {
    content: ' ';
    background: white;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid #2A5A65;
    left: 20px;
    width: 20px;
    height: 20px;
    z-index: 400;
}

.list-group-item.active {
    background-color: #2A5A65;
    border-color: #2A5A65;
}

.bootstrap-autocomplete.dropdown-menu {
    max-height: 200px;
    overflow-y: scroll;
}

.needle-gradient {
    background: linear-gradient(to bottom right, #89043D, 20%, #2A5A65);
}


.card-header.needle-gradient {
    background: linear-gradient(to bottom right, #89043D, 20%, #2A5A65);
}

 /* Hack CSS pour bootstrap-treeview compatible BS v3 */
.list-group-item > .badge {
    float: right;
    background-color: #2bbbad !important;
}

.list-group-item > .badge + .badge {
    margin-right: 5px;
}