@charset "UTF-8";
/******
SIDEBAR
https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_sidebar_responsive
https://bootstrapious.com/p/bootstrap-sidebar
*****/
#sidebar {
  min-width: 200px;
  max-width: 200px;
  min-height: 100vh;
  background-color: #f1f1f1;
  z-index: 99;
}

#sidebar p {
  display: block;
  color: #21bf6b;
  font-weight: bold;
  padding: 10px 0px 0px 4px;
  text-decoration: none;
}

#sidebar a {
  display: block;
  color: #003526;
  padding: 15px;
  text-decoration: none;
}

#sidebar a.head-menu {
  color: #21bf6b;
  font-weight: bold;
  padding: 16px 0px 14px 4px;
}

#sidebar a.active {
  background-color: #21bf6b;
  color: white;
}

#sidebar a:hover:not(.active) {
  background-color: #003526;
  color: white;
}

#sidebar.active {
  margin-left: -200px;
}

.wrapper {
  display: flex;
  width: 100%;
  align-items: stretch;
}

.content {
  width: 100%;
  min-height: 100vh;
  transition: all 0.3s;
}

#rightbar {
  margin: 0;
  padding: 10px 0 0 10px;
  min-width: 250px;
  max-width: 250px;
  background-color: #f1f1f1;
  position: fixed !important;
  right: 0px;
  height: 100%;
  overflow: auto;
}

#rightbar.active {
  margin-right: -250px;
}

@media screen and (max-width: 768px) {
  #sidebar {
    margin-left: -200px;
  }

  #sidebar.active {
    margin-left: 0;
  }
}
/* mise en forme basée sur sidebar bootstrap */
/* -----------------> can start accordion style copy from here ------------------------*/
/* Exemple ci-dessous
<div class="accordion-bral">
<div>
  <!-- accordion item 1 -- start -->
  <input class="ac-input" id="ac-1" name="accordion-1" type="checkbox" checked/>
  <label class="ac-label" for="ac-1">Solde total<i></i></label>
  <div class="article ac-content">
    {% include '_graph_main.html' %}
  </div>
</div>
  <!-- accordion item 1 -- end -->

<div>
  <!-- accordion item 2 -- start -->
  <input class="ac-input" id="ac-2" name="accordion-1" type="checkbox" checked/>
  <label class="ac-label" for="ac-2">Critères<i></i></label>
  <div class="article ac-content">
    {% include '_graph_form.html' %}
  </div>
</div>
  <!-- accordion item 2 -- end -->
</div>
*/
/* https://codepen.io/edcotty/pen/RPWEmN */
.accordion-bral {
  min-height: 0;
  min-width: 220px;
  width: 100%;
  height: 100%;
  background-color: #FFF;
  margin: 0px !important;
}

.accordion-bral .ac-label {
  font-family: Arial, sans-serif;
  padding: 5px 20px;
  position: relative;
  display: block;
  height: auto;
  cursor: pointer;
  color: #777;
  line-height: 33px;
  font-size: 19px;
  background: #EFEFEF;
  border: 1px solid #CCC;
}

.accordion-bral .ac-label:hover {
  background: #BBB;
}

.accordion-bral input + .ac-label {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.accordion-bral input:checked + .ac-label,
.accordion-bral input:checked + .ac-label:active {
  background-color: rgba(79, 79, 79, 0.5) !important;
  color: #FFF;
  box-shadow: 0px 0px 0px 1px rgba(155, 155, 155, 0.3), 0px 2px 2px rgba(0, 0, 0, 0.1);
}

.accordion-bral input.ac-input {
  display: none;
}

.accordion-bral .article {
  background: #f0f0f0;
  overflow: hidden;
  height: 0px;
  max-height: auto;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.accordion-bral .article p {
  color: #777;
  line-height: 23px;
  font-size: 14px;
  padding: 20px;
}

.accordion-bral input:checked ~ .article i {
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.accordion-bral input:checked ~ .article.ac-content {
  height: auto;
}

.accordion-bral i {
  position: absolute;
  transform: translate(-30px, 0);
  margin-top: 16px;
  right: 0;
}

.accordion-bral input:checked ~ .ac-label i:before {
  transform: translate(2px, 0) rotate(-45deg);
}

.accordion-bral input:checked ~ .ac-label i:after {
  transform: translate(-2px, 0) rotate(45deg);
}

.accordion-bral i:before, .accordion-bral i:after {
  content: "";
  position: absolute;
  background-color: #808080;
  width: 3px;
  height: 9px;
}

.accordion-bral i:before {
  transform: translate(-2px, 0) rotate(-45deg);
}

.accordion-bral i:after {
  transform: translate(2px, 0) rotate(45deg);
}

ul.ac-list {
  padding-left: 40px;
  list-style-type: disc;
}

table.ac-table {
  margin: 20px 0 20px 20px;
}

table.ac-table th {
  text-align: left;
}

@media (max-width: 550px) {
  .accordion-bral .ac-label {
    font-family: Arial, sans-serif;
    padding: 5px 20px;
    position: relative;
    display: block;
    height: auto;
    padding-right: 40px;
    cursor: pointer;
    color: #777;
    line-height: 33px;
    font-size: 19px;
    background: #EFEFEF;
    border: 1px solid #CCC;
  }

  .accordion-bral i {
    position: absolute;
    transform: translate(-30px, 0);
    margin-top: 2%;
    right: 0;
  }
}
/* ---------- accordion style end --------------------------------------- */
body {
  margin: 0;
  font: 100% Montserrat, sans-serif;
  color: #003526;
}

p {
  margin: 0;
  padding: 0.25rem 0rem;
  border: 0;
  font-size: 100%;
  font: inherit;
  color: #003526;
  vertical-align: baseline;
}

a {
  color: #4834d4;
}
a hover {
  color: #6666ff;
}

h1, h2, h3, h4, h5, h6 {
  color: #21bf6b;
}

.navbar {
  padding: 0px;
  background-color: #f1f1f1;
}

footer {
  padding: 25px 0;
  font-family: "Montserrat";
  font-size: 12px;
  text-align: center;
  color: #000;
  background-color: #F1F1F1;
}

footer ul {
  margin-bottom: 0;
}

.scroll-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  text-align: center;
  color: #fff;
  background: #21bf6b;
  line-height: 46px;
}

.scroll-to-top:focus,
.scroll-to-top:hover {
  color: #fff;
}

.scroll-to-top:hover {
  background: #003526;
}

.scroll-to-top i {
  font-weight: 800;
}

.toppagebox {
  display: flex;
  align-items: flex-start;
  align-content: center;
  vertical-align: middle;
}

.page-text {
  color: #21bf6b;
  background-color: white;
  padding: 0.5rem 0rem;
}

.page-counter {
  color: #21bf6b;
  background-color: white;
  border-color: #21bf6b;
  border-width: thin;
  border-style: solid;
  border-radius: 0.25rem;
  padding: 0.5rem 0.75rem;
  margin: 0rem 0.3rem;
}

.page-link {
  color: #21bf6b;
  background-color: white;
}

.page-item.active .page-link {
  color: white;
  background-color: #21bf6b;
}

.nav-link {
  color: #21bf6b;
}

.btn-main2 {
  color: white;
  background-color: #21bf6b;
  border-color: #21bf6b;
  padding: 6px 14px;
  border-radius: 0.25rem;
}

.btn-main2lighter {
  color: white;
  background-color: #4ce092;
  border-color: #4ce092;
  padding: 6px 14px;
  border-radius: 0.25rem;
}

.btn-danger2 {
  color: white;
  background-color: #f46036;
  border-color: #f46036;
  padding: 6px 14px;
  border-radius: 0.25rem;
}

.btn-warning2 {
  color: white;
  background-color: #f9ca24;
  border-color: #f9ca24;
  padding: 6px 14px;
  border-radius: 0.25rem;
}

.btn-info2 {
  color: white;
  background-color: #4834d4;
  border-color: #4834d4;
  padding: 6px 14px;
  border-radius: 0.25rem;
}

.btn-info2lighter {
  color: white;
  background-color: #bab2ef;
  border-color: #bab2ef;
  padding: 6px 14px;
  border-radius: 0.25rem;
}

.btn-neutral2 {
  color: white;
  background-color: #003526;
  border-color: #003526;
  padding: 6px 14px;
  border-radius: 0.25rem;
}

.alert-info2 {
  color: white;
  background-color: #9488e6;
  border-color: #291c86;
}

.alert-warning2 {
  color: white;
  background-color: #fce287;
  border-color: #b28c05;
}

.alert-main2 {
  color: white;
  background-color: ligthen(#21bf6b, 20%);
  border-color: #12683a;
}

.alert-danger2 {
  color: white;
  background-color: #f9ad97;
  border-color: #ba310a;
}

/*th {
  background-color: $color-main;
  color: white;
  font-weight: bold;
} // managed by thead-ligth*/
.bg-danger2 {
  background-color: #f46036 !important;
}

.bg-main2 {
  background-color: #21bf6b;
}

.bg-light-grey {
  background-color: #f8f8ff;
}

.bg-light-red15 {
  background-color: #f8997f;
}

.bg-light-red {
  background-color: #f9ad97;
}

.bg-light-red30 {
  background-color: #fcd3c7;
}

.light-red {
  color: #ff9999;
}

.bg-light-green {
  background-color: #9fdf9f;
}

.bg-light-green10 {
  background-color: #c5ecc5;
}

.bg-light-orange {
  background-color: #ffd280;
}

.bg-light-yellow {
  background-color: #ffff99;
}

.duedatebox {
  height: 1.5rem;
  border-radius: 5px;
  border: 1px solid black;
  text-align: center;
  padding: 0.1rem 0.5rem;
  font-weight: bold;
}

.requiredfield::after {
  content: "*";
  color: red;
}

.tab-content {
  margin-top: 1rem;
}

.display-detail {
  margin-left: 1rem;
  margin-right: 1rem;
}

.etiquette {
  font-weight: bold;
  padding-left: 0px;
  text-align: right;
}

.encart {
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  padding: 0.375rem 0.75rem;
  background-color: #e9ecef;
}

.encart:empty {
  padding: 1rem;
}

.graph-form-RD {
  padding: 1rem;
  background: #f8f8ff;
}

.graph-form-R {
  padding: 1rem;
  background: #21bf6b;
}

.graph-form-D {
  padding: 1rem;
  background: #f46036;
}
