/*
* COPIEBEL
*
* Couleurs principales 
*
* orange
* #e6432d
*
* beige
* #FFFAF5
*
* gris
* #F7F7F7
*
* gris foncé
* #3f3f3f
*/

/* SIDEBAR */
  body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    font-family:"Roboto";
  }
  
  html {
    height: -webkit-fill-available;
  }
  h1{
    font-weight:bold;
  }
  h2{
    text-transform: uppercase;
    font-weight:bold!important;
    color:#e6432d!important;
  }
  main {
    display: flex;
    flex-wrap: nowrap;
    height: 100vh;
    height: -webkit-fill-available;
    max-height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
  }
  .no-border
  {
    border:none!important;
  }
  .b-example-divider {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
  }
  
  .bi {
    vertical-align: -.125em;
    pointer-events: none;
    fill: currentColor;
  }
  
  .dropdown-toggle { outline: 0; }
  
  .nav-flush .nav-link {
    border-radius: 0;
  }
  .cursorpointer {
    cursor:pointer!important;
  }
  .cursorpointer:hover {
    text-decoration:underline;
  }
  .btn-toggle {
    display: inline-flex;
    align-items: center;
    padding: .25rem .5rem;
    font-weight: 600;
    color: rgba(0, 0, 0, .65);
    background-color: transparent;
    border: 0;
  }
  .btn-toggle:hover,
  .btn-toggle:focus {
    color: rgba(0, 0, 0, .85);
    background-color: #d2f4ea;
  }
  
  .btn-toggle::before {
    width: 1.25em;
    line-height: 0;
    content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
    transition: transform .35s ease;
    transform-origin: .5em 50%;
  }
  
  .btn-toggle[aria-expanded="true"] {
    color: rgba(0, 0, 0, .85);
  }
  .btn-toggle[aria-expanded="true"]::before {
    transform: rotate(90deg);
  }
  #sidebar {
    overflow: auto;
  }
  .btn-toggle-nav a {
    display: inline-flex;
    padding: .1875rem .5rem;
    margin-top: .125rem;
    margin-left: 1.25rem;
    text-decoration: none;
  }
  .btn-toggle-nav a:hover,
  .btn-toggle-nav a:focus {
    background-color: #d2f4ea;
  }
  
  .scrollarea {
    overflow-y: auto;
  }
  
  .fw-semibold { font-weight: 600; }
  .lh-tight { line-height: 1.25; }

.alert
{
  display: inline-block;
  padding-right: 50px!important;
}
.btn-close {
  position: absolute;
  right: 15px;
  top: 17px;
  width:auto;
}
.fade:not(.show) {
  opacity:1!important;
  display:none!important;
}

/* DESIGN GENERAL */
#content-wrapper {
  overflow: auto;
}
#dropdownCli {
    position: absolute;
    bottom: 20px;
    width: 245px;
}
.flex-center-full
{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.bg-login {
  background:url("/images/bg-login.jpg");
}

.txt-bg-login
{
  text-align: center;
  color: #dddddd;
  font-family: "Roboto", Sans-serif;
  font-size: 22px;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1.3em;
  letter-spacing: 1.8px;
}

h1 {
  font-size: 1.63rem!important;
  border-style: solid;
  border-width: 0px 0px 0px 5px;
  border-color: #e6432d;
  padding-left: 10px;
}
h2 {
  font-size: 1.43rem!important;
  color:#e6432d;
}
a.link {
  color:#e6432d!important;
  text-decoration: underline;
}
a.link:hover {
  text-decoration: none;
}
a.link.gray {
  color:gray!important;
}
a.link.gray:hover {
  color:gray!important;
}
.btn.btn-svg.btn-actif{
  background:#E6432D!important;
  border-color:#E6432D!important;
}
.btn.btn-svg.btn-actif:hover{
  color:white!important;
  background:#c93622!important;
}
.btn.btn-info{
  background:#e6432d;
  border-color:#e6432d;
}
.btn.btn-primary{
  background: rgb(0,68,148);
  border:1px solid rgb(0,68,148);
}
.btn.btn-svg.btn-danger{
  background:#f51010!important;
  border-color:#f51010!important;
}
.btn.btn-svg.btn-danger:hover{
  background:inherit!important;
  border-color:#f51010!important;
  color:#f51010!important;
}
.btn.btn-danger:hover svg{
  fill:#f51010!important;
}
.btn.btn-primary:hover,
.btn.btn-primary:active,
.btn.btn-primary:focus{
  background:inherit!important;
  color:#d13723!important;
  border-color:#d13723!important;
}

.btn.btn-white {
  background:white!important;
  border-color:white!important;
  color:#e6432d!important;
}
.btn.btn-white:hover {
  background:transparent!important;
  border-color:white!important;
  color:white!important;
}

.dropdown-item.active, 
.dropdown-item:active,
.nav-pills .nav-link.active, .nav-pills .show > .nav-link
{
  background:#d13723!important;
  border-color:#d13723!important;
}
.dropdown-item{
  color:white!important;
}
.form-control
{
  font-size: 1rem!important;
  border-radius: 0.5rem!important;
  
  border: 1px solid #d1d3e2;
  height: calc(1.5em + 1.1rem + 2px)!important;

  appearance:auto!important;
  background-position: right 0.75rem center!important;
}
.btn {
  border-radius: 0.6rem!important;
  padding: 10px 20px!important;
  font-size: 1.1rem!important;
  width: max-content!important;
  border-width: 2px!important;
}
.btn.btn-big{
  font-size: 1.2rem!important;
  padding: 12px 24px!important;
}

.btn.btn-svg,
.btn.btn-svg-secondary{
  padding: 5px 15px!important;
  border-radius: 10px!important;
}
.btn.btn-svg {
  background: #0161F2;
  border:1px solid #0161F2!important;
  color:white;
}
.btn.btn-svg-secondary {
  background: #575757;
  border:1px solid #575757!important;
  color:white;
}
.btn.btn-small{
  font-size: 1rem!important;
  padding: 6px 14px!important;
  padding: 5px 10px!important;
}
.btn.btn-svg.btn-danger:hover {
  color:#e6432d;
}
.btn.btn-svg.btn-svg-hover-white:hover,
.btn.btn-svg-secondary.btn-svg-hover-white:hover 
{
  border:1px solid white!important;
  color:white!important;
}
.btn.btn-svg.btn-svg-hover-white:hover svg,
.btn.btn-svg-secondary.btn-svg-hover-white:hover svg 
{
  fill:white!important;
}
.btn.btn-svg:hover {
  background: inherit;
  border:1px solid #0161F2;
  color:#0161F2!important;
}
.btn.btn-svg:hover svg {
  fill: #0161F2;
}
.btn.btn-svg-secondary:hover {
  background: inherit;
  border:1px solid #575757;
  color:#575757!important;
}
.btn.btn-svg-secondary:hover svg {
  fill: #575757;
}
.btn.btn-primary.btn-svg:hover svg {
  fill: #e6432d;
}

.btn.btn-svg.btn-svg-hover-white:hover {
  background: inherit;
  border:1px solid #0161F2;
  color:#0161F2;
}

.btn.btn-svg svg,
.btn.btn-svg-secondary svg 
{
  width: 15px;
  height: 15px;
  margin-right: 5px;
  margin-top: -4px;

}
.btn.btn-svg.btn-small svg {
  margin-right:0px;
}
.border-radius-no-right{
  border-top-right-radius:0rem!important;
  border-bottom-right-radius:0rem!important;
}

.btn-outline-secondary {
  background:#e6432d;
  border:none;
  color:white;
  padding:10px 15px!important;
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}
.logo{
    width: 210px;
    height: 48px;
    position: fixed;
    bottom:20px;
    right:20px;
}

#bandeau-admin
{
  position: absolute;
  left: 0px;
  right: 0px;
  height: 217px;
  background-color: #212529;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1600 800'%3E%3Cg %3E%3Cpath fill='%23212529' d='M486 705.8c-109.3-21.8-223.4-32.2-335.3-19.4C99.5 692.1 49 703 0 719.8V800h843.8c-115.9-33.2-230.8-68.1-347.6-92.2C492.8 707.1 489.4 706.5 486 705.8z'/%3E%3Cpath fill='%23212529' d='M1600 0H0v719.8c49-16.8 99.5-27.8 150.7-33.5c111.9-12.7 226-2.4 335.3 19.4c3.4 0.7 6.8 1.4 10.2 2c116.8 24 231.7 59 347.6 92.2H1600V0z'/%3E%3Cpath fill='%23212529' d='M478.4 581c3.2 0.8 6.4 1.7 9.5 2.5c196.2 52.5 388.7 133.5 593.5 176.6c174.2 36.6 349.5 29.2 518.6-10.2V0H0v574.9c52.3-17.6 106.5-27.7 161.1-30.9C268.4 537.4 375.7 554.2 478.4 581z'/%3E%3Cpath fill='%23212529' d='M0 0v429.4c55.6-18.4 113.5-27.3 171.4-27.7c102.8-0.8 203.2 22.7 299.3 54.5c3 1 5.9 2 8.9 3c183.6 62 365.7 146.1 562.4 192.1c186.7 43.7 376.3 34.4 557.9-12.6V0H0z'/%3E%3Cpath fill='%23212529' d='M181.8 259.4c98.2 6 191.9 35.2 281.3 72.1c2.8 1.1 5.5 2.3 8.3 3.4c171 71.6 342.7 158.5 531.3 207.7c198.8 51.8 403.4 40.8 597.3-14.8V0H0v283.2C59 263.6 120.6 255.7 181.8 259.4z'/%3E%3Cpath fill='%236b2d2a' d='M1600 0H0v136.3c62.3-20.9 127.7-27.5 192.2-19.2c93.6 12.1 180.5 47.7 263.3 89.6c2.6 1.3 5.1 2.6 7.7 3.9c158.4 81.1 319.7 170.9 500.3 223.2c210.5 61 430.8 49 636.6-16.6V0z'/%3E%3Cpath fill='%2394332b' d='M454.9 86.3C600.7 177 751.6 269.3 924.1 325c208.6 67.4 431.3 60.8 637.9-5.3c12.8-4.1 25.4-8.4 38.1-12.9V0H288.1c56 21.3 108.7 50.6 159.7 82C450.2 83.4 452.5 84.9 454.9 86.3z'/%3E%3Cpath fill='%23b3392b' d='M1600 0H498c118.1 85.8 243.5 164.5 386.8 216.2c191.8 69.2 400 74.7 595 21.1c40.8-11.2 81.1-25.2 120.3-41.7V0z'/%3E%3Cpath fill='%23ce3e2c' d='M1397.5 154.8c47.2-10.6 93.6-25.3 138.6-43.8c21.7-8.9 43-18.8 63.9-29.5V0H643.4c62.9 41.7 129.7 78.2 202.1 107.4C1020.4 178.1 1214.2 196.1 1397.5 154.8z'/%3E%3Cpath fill='%23E6432D' d='M1315.3 72.4c75.3-12.6 148.9-37.1 216.8-72.4h-723C966.8 71 1144.7 101 1315.3 72.4z'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  background-size: cover;
  z-index: -2;
}

.alert.alert-success,
.alert.alert-danger {
  position: fixed;
  bottom: 1%;
  left: 50%;
  transform: translate(-50%, 0%);
  box-shadow: 0 0.15rem 1.75rem 0 rgb(33 40 50 / 24%);
}


/* AGRANDIR BOOTSTRAP */
@media (min-width: 1500px)
{
  .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
      max-width: 1440px!important;
  }
}
.card
{
  box-shadow: 0 0.15rem 1.75rem 0 rgba(33, 40, 50, 0.15);
  padding: 1rem !important;
  border: none!important;
}
.card.card-top {
  box-shadow: 0 1.15rem 1.75rem 0 rgba(33, 40, 50, 0.07)!important;
  border-radius: 0 0 5px 5px;
}
.card.card-big
{
  padding: 2.5rem !important;
  font-size: 1.1rem;
}
.card .card-header{
  padding: 13px 18px!important;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid #e1e1e1;
}
.card.card-h {
  padding:0px!important;
}
.text-danger {
  font-weight:bold;
}
.text-gray {
  color:gray;
}

.btn svg {
  width: 18px;
    height: 18px;
    fill:white;
}
.list-group-item
{
  background: transparent!important;
  padding: 0px!important;
}
.border-left
{
  border-style: solid;
  border-width: 0px 0px 0px 5px;
  border-color: #e6432d;
  padding-left: 10px;
}
ul.list-group-flush .list-group-item
{
  list-style-type:circle!important;
}
ul.liste
{
  list-style-type:circle
}
ul.liste a:hover {
  text-decoration:underline;
}

/* HOME */
.bg-home {
  background:#e6432d;
}


.width-100-md
{
  width:100%!important;
}
.invisible-until-md
{
  display:none!important;
}
#content-wrapper .p-5
{
  margin-top:50px;
}
.z-9999{
  z-index:99999!important;
}
.liste .activeMenu{
  list-style-type: initial;
}
.liste .activeMenu a{
  text-decoration:underline!important;
}
.liste a:hover{

}
.dropdown-menu {
  background: black!important;
}
.dropdown-menu li a{
  color: white!important;
}

.dropdown-item:focus, .dropdown-item:hover {
  color: white!important;
  background-color:#212529!important;
}
.editeur-contacts-block .card,
.editeur-cession-block .card
{
  padding:15px;
  border-left:2px solid #e6432d!important;
  background:#f3f3f3;
  border-radius:1rem;
}
#contact-base .delete-contact,
#cession-base .delete-cession
{
  display:none;
}
textarea {
  min-height:120px!important;
}
.titre-repet 
{
  font-weight: bold;
  font-size: 1.1rem;
  border-bottom:1px solid #000;
  text-transform:uppercase;
  margin-bottom:20px;
}
.ico-svg {
  width:25px;
  height:25px;
}
.ico-svg.ico-svg-danger{
  fill:#E6432D;
}
.btn-popover{
  border: none;
  height: 35px;
  width: 35px;
  background: inherit;
  fill: white;
}
.btn-popover.btn-popover-gray{
  fill: #575757!important;
}
.mr-2{
  margin-right:20px!important;
}
.table tr th {
  background-color: whitesmoke!important;
  font-size: 1rem;
}
.table tr th:first-of-type{
  border-radius: 5px 0 0 0;
}
.table tr th:last-of-type{
  border-radius: 0 5px 0 0;
}
.table-striped > tbody > tr:nth-of-type(odd) > *{
  background:white;
  --bs-table-accent-bg:white!important;
}
.table-striped > tbody > tr:nth-of-type(even) > *{
  background:#eee;
  --bs-table-accent-bg: #fbfbfb!important;
}
.card .card-header button{
  background:transparent!important;
}
.input-group.euro input {
  border-radius: 5px 0px 0px 5px!important;
}

.custom-table-2 th, .custom-table-2 td {
  width: calc(100% / 2); /* Divise équitablement la largeur sur les 3 colonnes */
}
.custom-table-3 th, .custom-table-3 td {
  width: calc(100% / 3); /* Divise équitablement la largeur sur les 3 colonnes */
}
.custom-table-5 th, .custom-table-5 td {
  width: calc(100% / 5); 
}
.custom-table-6 th, .custom-table-6 td {
  width: calc(100% / 6); 
}
.custom-table-7 th, .custom-table-7 td {
  width: calc(100% / 7); 
}
.custom-table-9 th, .custom-table-9 td {
  width: calc(100% / 9); 
}
.custom-table-11 th, .custom-table-11 td {
  width: calc(100% / 11); 
}
.custom-table-17 th, .custom-table-17 td {
  width: calc(100% / 17); 
}

.custom-table-1-16 th:first-of-type, 
.custom-table-1-16 td:first-of-type 
{
  width: 35%;
}
.custom-table-1-16 th, 
.custom-table-1-16 td 
{
  width: calc(55% / 16);
}

.custom-table-1-5 th:first-of-type, 
.custom-table-1-5 td:first-of-type {
  width: 30%;
}
.custom-table-1-5 th, 
.custom-table-1-5 td 
{
  width: calc(60% / 5);
}

.custom-table-1-9 th:first-of-type, 
.custom-table-1-9 td:first-of-type {
  width: 35%;
}
.custom-table-1-9 th, 
.custom-table-1-9 td 
{
  width: calc(55% / 8);
}

.custom-table-1-7 th:first-of-type, 
.custom-table-1-7 td:first-of-type {
  width: 35%;
}
.custom-table-1-7 th, 
.custom-table-1-7 td 
{
  width: calc(55% / 6);
}

.custom-table-3-1 th:last-of-type, 
.custom-table-3-1 td:last-of-type {
  width: 50%;
}
.custom-table-3-1 th, 
.custom-table-3-1 td 
{
  width: calc(50% / 3);
}


.table .th-1 {
  background-color:#e7e7e7!important;
}
.table .th-2 {
  background-color:#d5d5d5!important;
}
.table .th-3 {
  background-color: #b7b7b7!important;
}
.table .th-4 {
  background-color: #aaaaaa!important;
}
.table tr .recap-td {
  background:whitesmoke!important;
}
.page-link.active, .active > .page-link
{
  background-color: #575757!important;
  border-color: #575757!important;
  color:white!important;
}
.page-link
{
  color:#575757!important;
}
.blue 
{
  fill: #0161F2;
}
.spanInput
{
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
  background-color: #f8fafc;
  padding: 0.575rem 0.75rem;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 5px 0px 0px 5px!important;
  background-color: #e9ecef;
  opacity: 1;
  line-height: 1.6;
  font-weight: 400;
  height: calc(1.5em + 1.1rem + 2px)!important;
  appearance: auto!important;
  background-position: right 0.75rem center!important;
  font-size: 1rem;
}
#ui-id-1{
  z-index:99999;
}

.form-control-inline
{
  display: inline!important;
  width: auto!important;
  margin: 10px 10px;
}

.ico-erreur-tabs
{
  fill: white;
  margin-left: 5px;
  margin-top: -3px;
  width: 19px;
  height: 17px;
}
.ico-erreur-block
{
  fill: red;
  width: 19px;
  height: 17px;
}
.erreur
{
  background-color: #CE3E2C;
  padding: 5px 10px;
  color: white;
  border-radius: 5px;
}


tr[data-level="1"] td {
  background:#F5F5F5!important;
}
tr[data-level="2"] td {
  background:#E8E8E8!important;
}
tr[data-level="3"] td {
  background:#DCDCDC!important;
}
tr[data-level="4"] td {
  background:#D3D3D3!important;
}
tr[data-level="5"] td {
  background:#C8C8C8!important;
}
tr[data-level="6"] td {
  background:#BEBEBE!important;
}
tr[data-level="7"] td {
  background:#B0B0B0!important;
}
tr[data-level="8"] td {
  background:#A8A8A8!important;
}
tr[data-level="9"] td {
  background:#989898!important;
}
.btn.openBtn {
  background: inherit;
  border: 1px solid #0161F2;
  color: #0161F2!important;
}
.btn.openBtn svg {
  fill: #0161F2!important;
}

.svg-icon.clicked {
  display: none;
}

/* Lorsque le bouton est cliqué, affichez SVG cliqué et cachez SVG initial */
.openBtn .svg-icon.initial {
  display: none;
}

.openBtn  .svg-icon.clicked {
  display: block;
}
.d-block-100
{
  display: block;
    width: 100%;
}

.nav-pills .nav-link{
  background:white!important;
  color:black;
}



/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { 
  #prevTabs, #nextTabs
  {
    display:block;
  }
  #content-wrapper .p-5
  {
    margin-top:95px!important;
    padding:0px!important;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 
  .invisible-until-md
  {
    display:block!important;
  }
  #content-wrapper .p-5
  {
    margin-top:0px!important;
    padding: 3rem !important;
    padding-top:1.9rem!important;
  }

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 
  .width-100-md
  {
    width:auto!important;
  }
  #prevTabs, #nextTabs
  {
    display:none;
  }


}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 

}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) { 

}

.nav .nav-link
{
  background:#E6432D!important;
  color:white!important;
  margin-right:3px;
  border-radius: 5px 5px 0 0!important;
}
.nav .nav-link:hover
{
  background:white!important;
  color:black!important;
}
.nav .nav-link.active
{
  background:white!important;
  color:black!important;
}

.modal.show {
  display:block!important;
}