/*========================= REST API BADGES =========================*/
.badgerest {
  color: white;
  font-size: 12px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 2px;
  padding-bottom: 2px;
}

.badgerest_get {
  background-color: #61affe;
}

.badgerest_post {
  background-color: #49cc90;
}

.badgerest_put {
  background-color: #fca130;
}

.badgerest_delete {
  background-color: #f93e3e;
}

.badgerest_patch {
  background-color: #50e3c2;
}

/*======================== TOP SCREEN BUTTONS ==========================================*/
.sticky-top-buttons {
  position: fixed;
  top: 90px;
  z-index: 1;
  width: 82% !important;
}

/*======================== TRANSACTION MODEL RETRIEVE ==========================================*/

.transaction-model-retrieve {
  font-size: small;
}

/*======================== EDIT LINK IN CREATION MESSAGE CONFIRMATION ==========================================*/
.edit-object-message {
  color: #1f7556 !important;
  font-size: 14px !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: bold !important;
  text-decoration: underline !important;
}

/*======================== BODY ==========================================*/
body {
  font-size: 14px;
}

body[data-sidebar='light'] {
  background: #f8f8fb;
}

body[data-sidebar='light'] .vertical-menu {
  background: #fff;
}

body[data-sidebar='dark'] .vertical-menu {
  background: #2a3042;
}

h4 {
  margin-bottom: 0;
}

body[data-sidebar='light'] #page-topbar {
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.navbar-brand-box {
  padding: 0 0.5rem;
  background: #fbfbfb;
}

/*======================== scroll ==========================================*/
/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/*==================== messages ==================*/
.edit-object-message {
  font-weight: 100 !important;
  font-size: 14px !important;
}

/*======================== NAV ==========================================*/

body[data-sidebar='light'] .vertical-menu {
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  background-color: #fff;
}

.night .vertical-menu {
  background: #2a3042;
}

.nav-back {
  text-decoration: underline !important;
  color: #2878bf !important;
}

/*======================== sidebar-menu ==========================================*/

.dropdown-menu {
  -webkit-box-shadow: 0 1rem 11rem rgb(0 0 0 / 18%);
  box-shadow: 0 1rem 11rem rgb(0 0 0 / 18%);
}

/* body[data-sidebar="light"] #sidebar-menu ul li a {
    color: #333;
    font-size: 14px;
}

body[data-sidebar="light"] #sidebar-menu ul li a.mm-active,
body[data-sidebar="light"] #sidebar-menu ul li.mm-active a.active,
body[data-sidebar="light"] #sidebar-menu ul li a.mm-active span,
body[data-sidebar="light"] #sidebar-menu ul li a.mm-active i {
    color: #556EE6 !important;
}

body[data-sidebar="light"] #sidebar-menu ul li a i {
    color: #333 !important;
}

body[data-sidebar="light"] #sidebar-menu ul li a:hover {
    color: #556EE6 !important;
}

body[data-sidebar="light"] #sidebar-menu ul li ul.sub-menu li a {
    font-size: 14px;
}

body[data-sidebar="light"] .vertical-collpsed .vertical-menu #sidebar-menu > ul > li:hover > a,
body[data-sidebar="light"] .vertical-collpsed .vertical-menu #sidebar-menu > ul > li:hover > ul {
    background: #fff;
    color: #333;
} */

.vertical-collpsed .fixed-bottom {
  display: none;
}

/*======================== btn ==========================================*/

.btn {
  border-radius: 5px;
}

body[data-sidebar='light'] .btn-outline-primary {
  color: #2878bf;
  border-color: #2878bf;
}

body[data-sidebar='light'] .btn-outline-primary:hover {
  background-color: #2878bf;
  border-color: #2878bf;
  color: #fff;
}

body[data-sidebar='dark'] .btn-outline-primary {
  color: #bac1dd;
  border-color: #2e3446;
}

body[data-sidebar='dark'] .btn-outline-primary:hover {
  background: #2e3446;
}

body[data-sidebar='light'] .btn-outline-secondary {
  color: #6e7270;
  border-color: #6e7270;
}

body[data-sidebar='light'] .btn-outline-secondary:hover {
  background-color: #6e7270;
  border-color: #6e7270;
  color: #fff;
}

body[data-sidebar='light'] body[data-sidebar='light'] .form-floating > label {
  color: #333 !important;
}

/*======================== form inputs ==========================================*/

textarea {
  height: 130px !important;
}

body[data-sidebar='light'] a {
  color: #000000;
  text-decoration: underline;
}

body[data-sidebar='light'] .link-action {
  color: #2878bf !important;
  font-weight: bold;
  font-size: 14px;
}

/*======================== POS ==========================================*/

.pos-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 10px;
  text-align: center;
}

.pos-th,
.pos-td {
  border: 1.75px solid rgb(209 208 208);
  padding: 5px;
  vertical-align: top;
  text-align: center !important;
}

.pos-div-capacite-multi-columns {
  display: inline-block;
  width: auto;
  padding: 3px;
  border: 1px solid rgb(154, 152, 152) !important;
  overflow: hidden;
  border-radius: 3px;
  word-wrap: break-word;
  font-weight: normal;
  font-size: 10px;
  margin-right: 5px;
  color: #000000;
}

.pos-div-capacite-single-columns {
  display: block;
  width: 100%;
  padding: 3px;
  border: 1px solid rgb(154, 152, 152) !important;
  overflow: hidden;
  border-radius: 3px;
  word-wrap: break-word;
  font-weight: normal;
  font-size: 10px;
  margin-bottom: 5px;
  color: #000000;
}

.pos-div-district-multi-columns {
  display: inline-block;
  width: auto;
  padding: 3px;
  border: 1px solid rgb(154, 152, 152) !important;
  overflow: hidden;
  border-radius: 3px;
  word-wrap: break-word;
  font-weight: normal;
  font-size: 10px;
  margin-right: 5px;
}

.pos-div-district-single-columns {
  display: block;
  width: 100%;
  padding: 3px;
  border: 1px solid rgb(154, 152, 152) !important;
  overflow: hidden;
  border-radius: 3px;
  word-wrap: break-word;
  font-weight: normal;
  font-size: 10px;
  margin-bottom: 5px;
}

.pos-element {
  background-color: #fff;
  display: inline-block;
  padding: 3px;
  width: 145px;
  text-align: left;
  border: 1px solid rgb(154, 152, 152) !important;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 3px;
  white-space: nowrap;
  font-weight: normal;
  font-size: 11px;
}

.pos-element-projet {
  background-color: #fff;
  display: inline-block;
  padding: 3px;
  width: 145px;
  text-align: left;
  border: 1px solid rgb(154, 152, 152) !important;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 3px;
  font-weight: normal;
  font-size: 11px;
}

.pos-zone-titre {
  font-size: 16px;
  font-weight: bold;
}

.pos-quartier-titre {
  font-size: 12px;
  font-weight: bold;
}

.pos-indicator-category {
  height: 18px;
  width: 18px;
  z-index: 100;
  display: block;
  text-align: center;
}

.pos-indicator {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  z-index: 101;
  display: inline-flex;
  vertical-align: middle;
}

.pos-icon {
  color: #5e93c1;
  padding-left: 2px;
}

/*======================== VUE ORGANISATIONNELLE ==========================================*/

.vueorg-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 10px;
  text-align: left;
}

.vueorg-span {
  color: black;
}

.vueorg-th,
.vueorg-td {
  border: 1.75px solid rgb(209 208 208);
  padding: 5px;
  vertical-align: top;
  text-align: left !important;
  text-decoration: solid;
}

.vueorg-element {
  background-color: #fff;
  display: inline-block;
  padding: 3px;
  width: 145px;
  text-align: left;
  border: 1px solid rgb(154, 152, 152) !important;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 3px;
  white-space: nowrap;
  font-weight: normal;
  font-size: 11px;
}

.vueorg-icon {
  color: #5e93c1;
  padding-left: 2px;
}

/*========ARCHSTUDIO DIAGRAMS======================*/
.div-diagram {
  vertical-align: top;
  width: 100%;
  height: 100%;
  display: inline-block !important;
}

.object-diagram {
  display: block;
  letter-spacing: normal;
  word-spacing: normal;
  width: 100%;
  height: 100%;
}

.object-diagram-hierarchique {
  display: block;
  letter-spacing: normal;
  word-spacing: normal;
  /* width: 100%;
    height: 100%; */
}

.object-diagram-bpmn {
  margin-top: 20px;
  vertical-align: top;
  width: 100%;
  height: 100%;
  display: inline-block !important;
}

/*======================== CYCLE DE VIE ==========================================*/

.cyclevie-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 10px;
  text-align: center;
}

.cyclevie-td {
  /* width: 150px; */
  padding: 3px;
  background-color: #f6f5f5;
  border: 1px solid rgb(154, 152, 152) !important;
  border-top-right-radius: 45px;
  border-bottom-right-radius: 45px;
  word-wrap: break-word;
  font-weight: bold;
  font-size: 12px;
  margin-right: 5px;
}

.cyclevie-last-td {
  /* width: 150px; */
  padding: 3px;
  background-color: #c4f8cc;
  border: 1px solid rgb(154, 152, 152) !important;
  border-top-right-radius: 45px;
  border-bottom-right-radius: 45px;
  word-wrap: break-word;
  font-weight: bold;
  font-size: 12px;
  margin-right: 5px;
}

/*======================== CARTOGRAPHIE VISION ==========================================*/

.cartovision-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 10px;
}

.cartovision-titre-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 5px;
}

.cartovision-titre-tr {
  border: 1px solid #495057 !important;
  font-weight: bold !important;
  font-size: 14px !important;
  background: #dee2e6 !important;
  text-align: center;
  height: 40px;
}

.cartovision-objectif-td {
  width: 20%;
  padding: 3px;
  border: 1px solid rgb(154, 152, 152) !important;
  border-radius: 3px;
  word-wrap: break-word;
  font-weight: normal;
  font-size: 14px;
  margin-right: 5px;
  vertical-align: top;
}

.cartovision-ecart-td {
  padding: 3px;
  border: 1px solid rgb(154, 152, 152) !important;
  overflow: hidden;
  border-radius: 3px;
  word-wrap: break-word;
  font-weight: normal;
  font-size: 14px;
  margin-right: 5px;
  vertical-align: top;
}

/*****************APERCU POS************************/

.modal .pos-th,
.modal .pos-td {
  padding: initial;
}

/*****************CARDS************************/

.reset.card {
  background-color: unset;
  border: unset;
}

.card {
  background-color: rgb(255, 255, 255);
  /* border: 1px solid #bbb7b7;
  color: #495057; */

  margin-bottom: 0;
}

.card-body {
  padding: 15px !important;
}

.card-header {
  font-size: 14px;
  background-color: #f5f3f4;
  height: 30px;
  display: flex !important;
  padding: 5px;
  border-bottom: 0.2px solid;
}

.card-header-icone {
  height: 135%;
}

.card-header-texte {
  width: 100%;
  text-align: center;
  vertical-align: bottom;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-header-menu {
  width: 20px;
}

.card-text {
  font-size: 14px;
  font-weight: 500;
}

.card-widget {
  font-size: 13px !important;
  font-weight: 400 !important;
}

.col-md-2 {
  margin-top: 20px;
  margin-left: 0px;
}

.col-lg-2 {
  margin-top: 20px;
  margin-left: 0px;
}

.col-xs-2 {
  margin-top: 20px;
  margin-left: 0px;
}

/*********************DROPDOWN MENU CARDS*****************************/
.deletetask {
  font-size: 14px !important;
}

.edittask-details {
  font-size: 14px !important;
}

/*********************FILTRES*****************************/
body[data-sidebar='light'] .offcanvas {
  background-color: rgb(254, 254, 254) !important;
}

/*********************TABS*****************************/

body[data-sidebar='light'] .card-tabs {
  background-color: rgb(255, 255, 255);
}

/*********************SELECT2*****************************/

/* .select2-selection__rendered {
  margin-top: 12px !important;
  margin-left: -12px !important;
  margin-bottom: -5px !important;
  font-size: 13px !important;
}

.select2-results__option {
  font-size: 13px !important;
}

.select2-selection__choice {
  font-size: 13px !important;
}

.select2-selection--multiple {
  overflow: hidden !important;
  height: auto !important;
}

.select2-selection--single {
  overflow: hidden !important;
  height: auto !important;
}

.select2-label {
  z-index: 1 !important;
}

.select2-search__field {
  box-shadow: none !important;
} */

/*******************NAV TABS********************/
body[data-sidebar='light'] .nav-pills .nav-link.active,
body[data-sidebar='light'] .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #2878bf;
}

.nav-tabs {
  border-bottom: 0;
}

body[data-sidebar='light'] .nav-tabs .nav-link {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border: 1px solid #c0c0c0;
}

body[data-sidebar='light'] .nav-tabs .nav-link {
  background: #f5f5f5;
}

body[data-sidebar='light'] .nav-tabs .nav-item.show .nav-link,
body[data-sidebar='light'] .nav-tabs .nav-link.active {
  background: #2878bf;
  color: #fff;
  border: 1px solid #c0c0c0;
}

body[data-sidebar='light'] .nav-tabs .nav-link:focus,
body[data-sidebar='light'] .nav-tabs .nav-link:hover {
  background: #2878bf;
  color: #fff;
  border: 1px solid #2878bf;
}

body[data-sidebar='dark'] .nav-tabs .nav-link {
  border: 1px solid #2a3042;
}

body[data-sidebar='dark'] .nav-tabs .nav-item.show .nav-link,
body[data-sidebar='dark'] .nav-tabs .nav-link.active {
  background: #2a3042;
  color: #fff;
  border: 1px solid #a6b0cf;
}

body[data-sidebar='dark'] .nav-tabs .nav-link {
  background: #2a3042;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border: 1px solid #222736;
}

/*======================== table ==========================================*/

body[data-sidebar='light'] .table {
  --bs-table-bg: transparent;
  --bs-table-accent-bg: transparent;
  --bs-table-striped-color: #495057;
  --bs-table-striped-bg: #f8f9fa;
  --bs-table-active-color: #495057;
  --bs-table-active-bg: #f8f9fa;
  --bs-table-hover-color: #495057;
  --bs-table-hover-bg: #f8f9fa;
  width: 100%;
  margin-bottom: 1rem;
  color: #495057;
  vertical-align: top;
  border-color: #eff2f7;
}

body[data-sidebar='light'] .table-light {
  --bs-table-bg: #eff2f7;
  --bs-table-striped-bg: #e3e6eb;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #d7dade;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #dde0e4;
  --bs-table-hover-color: #000;
  color: #000;
  border-color: #d7dade;
}

body[data-sidebar='light'] .table > :not(caption) > * > * {
  padding: 0.75rem 0.75rem;
  background-color: var(--bs-table-bg);
  border-bottom-width: 1px;
  -webkit-box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
  box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

.project-list-table {
  border-collapse: separate;
  border-spacing: 0 12px;
}

body[data-sidebar='light'] .project-list-table tr {
  background-color: #f5f5f5;
}

/*======================== table ==========================================*/

.offcanvas-backdrop.show,
.offcanvas {
  position: absolute;
}

/*========================  rating cmp ==========================================*/
.rating-symbol-background,
.rating-symbol-foreground {
  font-size: 24px;
}

.symbol {
  border-color: #fff;
}

body[data-sidebar='light'] .symbol-empty {
  background-color: #ccc;
}

.symbol {
  display: inline-block;
  border-radius: 50%;
  border: 5px double white;
  width: 30px;
  height: 30px;
}

/*========================  paging cmp ==========================================*/

.page-item.active .page-link {
  z-index: 3;
  color: #000;
  background-color: #eff2f7;
  border: 1px solid #d1d1d1;
}

.modal .pos-th,
.modal .pos-td {
  padding: initial;
}

/**
 * Remove focus styles for non-keyboard focus.
 */
:focus:not(:focus-visible) {
  outline: 0;
  box-shadow: none;
}

/**
 * Cross-browser styles for explicit focus via
 * keyboard-based (eg Tab) navigation or the
 * .focus-visible utility class.
 */
:focus,
.focus-visible:focus:not(:focus-visible) {
  outline: 0;
  box-shadow: 0 0 0 0.2rem #fff, 0 0 0 0.35rem #069;
}

body[data-sidebar='dark'] a {
  color: #a6b0cf;
}

/*******************************/
.tree span {
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0.4px;
  color: #000;
}

.tree .fa {
  color: orange;
}

.tree .fa-folder-open {
  font-weight: bold;
}

.tree .fa-html5 {
  color: #f21f10;
}

.tree ul {
  padding-left: 5px;
  list-style: none;
}

.tree ul li {
  position: relative;
  padding-top: 5px;
  padding-left: 15px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  cursor: pointer;
  display: block;
}

.tree ul li:before {
  position: absolute;
  top: 15px;
  left: 0;
  width: 10px;
  height: 1px;
  margin: auto;
  content: '';
  background-color: #666;
}

.tree ul li:after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 100%;
  content: '';
  background-color: #666;
}

.tree ul li:last-child:after {
  height: 15px;
}

.tree ul a {
  cursor: pointer;
}

.tree ul a:hover {
  text-decoration: none;
}

.select-img {
  cursor: pointer;
}

.explorer {
  overflow-y: auto;
  overflow-x: hidden;
  min-width: 520px;
}

/***************/
.bd-callout-info {
  border-left-color: #5bc0de;
}

.bd-callout {
  padding: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid #e9ecef;
  border-left-width: 0.25rem;
  border-radius: 0.25rem;
}

/*******Loader ******/

.lds-grid {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-grid div {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #2878bf;
  animation: lds-grid 1.2s linear infinite;
}

.lds-grid div:nth-child(1) {
  top: 8px;
  left: 8px;
  animation-delay: 0s;
}

.lds-grid div:nth-child(2) {
  top: 8px;
  left: 32px;
  animation-delay: -0.4s;
}

.lds-grid div:nth-child(3) {
  top: 8px;
  left: 56px;
  animation-delay: -0.8s;
}

.lds-grid div:nth-child(4) {
  top: 32px;
  left: 8px;
  animation-delay: -0.4s;
}

.lds-grid div:nth-child(5) {
  top: 32px;
  left: 32px;
  animation-delay: -0.8s;
}

.lds-grid div:nth-child(6) {
  top: 32px;
  left: 56px;
  animation-delay: -1.2s;
}

.lds-grid div:nth-child(7) {
  top: 56px;
  left: 8px;
  animation-delay: -0.8s;
}

.lds-grid div:nth-child(8) {
  top: 56px;
  left: 32px;
  animation-delay: -1.2s;
}

.lds-grid div:nth-child(9) {
  top: 56px;
  left: 56px;
  animation-delay: -1.6s;
}

@keyframes lds-grid {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/************/

.modal .card {
  border: 1px solid #e4e4fd;
}

/********* LISTES ICONES ********/
.list-icone {
  width: 50px;
}

/*=========================Static icon=====================================*/
.static-icon {
  color: #5e93c1;
}

/*=====================DASHBOARD=========================*/
div.dashboard_main_container {
  margin: auto;
  width: 100%;
  border: none !important;
}

div.dashboard_main_right {
  float: right;
  word-wrap: break-word;
  border: none !important;
  overflow: auto;
  /* max-height: 80vh; */
  max-width: 35vh;
}

/*========================SEARCH RESULTS ====================*/
.li-search {
  margin: 4px;
  list-style: square;
}

/*========================= SEARCH TREEVIEW =====================/*
/* Remove default bullets */
ul,
.ul_treeview {
  list-style-type: none;
}

/* Remove margins and padding from the parent ul */
.il_treeview {
  margin: 0;
  padding: 0;
}

/* Style the caret/arrow */
.caret {
  cursor: pointer;
  user-select: none; /* Prevent text selection */
}

/* Create the caret/arrow with a unicode, and style it */
.caret::before {
  content: '\25B6';
  color: black;
  display: inline-block;
  margin-right: 6px;
}

/* Rotate the caret/arrow icon when clicked on (using JavaScript) */
.caret-down::before {
  transform: rotate(90deg);
}

/* Hide the nested list */
.nested {
  display: none;
}

/* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
.active {
  display: block;
}
