
.ui-datatable-borderless,
.ui-datatable-borderless thead th,
.ui-datatable-borderless tbody,
.ui-datatable-borderless tbody tr,
.ui-datatable-borderless tbody td {
  border-style: none !important;
}

.table-border-less,
.table-border-less tbody,
.table-border-less tr,
.table-border-less td
{
  border: none !important;
}

.tooltip > .tooltip-inner {
  z-index:100000000 !important;
}

.tooltip {
  z-index: 100000000;
}

@-moz-document url-prefix()
{

  .input_question_date_no_icon_firefox
  {
    padding-right:20px !important;
  }

  .icon_question_date_no_icon_firefox
  {
    display:none;
  }

}

.background-color-gray-100
{
  background-color:#F8F9FB;
}

.hand-cursor
{
  cursor: pointer !important;
}


.js-accordion__opened
{
  background-color:#F8F9FB;
  border: .1rem solid var(--border-color,var(--gray-400,#dee0ea));
  border-radius: var(--border-radius);
  display: block;
  padding-left: 1.7rem;
  padding-right: 1.7rem;
  padding-top: 1.7rem;
  padding-bottom: 0rem;
  position: relative;
  text-align: left;
  width: 100%;
}


.js-accordion__header_opened
{

  color: var(--primary,#1d71b8);
  display: block;
  font-size: 2rem;
  font-weight: 500;
  position: relative;
  text-align: left;
  width: 100%;
}

/* custom spinner */

.custom-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 4px solid #ccc;
  border-top-color: #333;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* end custom spinner */

main {
  padding-top: 1em !important;
}

.text-gradation-select-display-na
{
  color: #697097 !important;
}
.custom-radio-box .bg-gradation-select-display-na.custom-control-input:checked+label,
.custom-radio-box .bg-gradation-select-display-na.custom-control-input:hover+label
{
  color: black !important;
  background-color: #cccaca !important;
}
.custom-radio-box .bg-gradation-select-display-na.custom-control-input:checked+label span,
.custom-radio-box .bg-gradation-select-display-na.custom-control-input:hover+label span
{
  color: black !important;
}
.text-gradation-select-display-level-l0
{
  color: #D20024 !important;
}
.custom-radio-box .bg-gradation-select-display-level-l0.custom-control-input:checked+label,
.custom-radio-box .bg-gradation-select-display-level-l0.custom-control-input:hover+label
{
  color: black !important;
  background-color: #fa7878 !important;
}
.custom-radio-box .bg-gradation-select-display-level-l0.custom-control-input:checked+label span,
.custom-radio-box .bg-gradation-select-display-level-l0.custom-control-input:hover+label span
{
  color: black !important;
}
.text-gradation-select-display-level-l1
{
  color: #E69215 !important;
}
.custom-radio-box .bg-gradation-select-display-level-l1.custom-control-input:checked+label,
.custom-radio-box .bg-gradation-select-display-level-l1.custom-control-input:hover+label
{
  color: black !important;
  background-color: #fdb88a !important;
}
.custom-radio-box .bg-gradation-select-display-level-l1.custom-control-input:checked+label span,
.custom-radio-box .bg-gradation-select-display-level-l1.custom-control-input:hover+label span
{
  color: black !important;
}
.text-gradation-select-display-level-l2
{
  color: #B3B320 !important;
}
.custom-radio-box .bg-gradation-select-display-level-l2.custom-control-input:checked+label,
.custom-radio-box .bg-gradation-select-display-level-l2.custom-control-input:hover+label
{
  color: black !important;
  background-color: #fcfc7a !important;
}
.custom-radio-box .bg-gradation-select-display-level-l2.custom-control-input:checked+label span,
.custom-radio-box .bg-gradation-select-display-level-l2.custom-control-input:hover+label span
{
  color: black !important;
}
.text-gradation-select-display-level-l3
{
  color: #316E58 !important;
}
.custom-radio-box .bg-gradation-select-display-level-l3.custom-control-input:checked+label,
.custom-radio-box .bg-gradation-select-display-level-l3.custom-control-input:hover+label
{
  color: black !important;
  background-color: #9ed19e !important;
}
.custom-radio-box .bg-gradation-select-display-level-l3.custom-control-input:checked+label span,
.custom-radio-box .bg-gradation-select-display-level-l3.custom-control-input:hover+label span
{
  color: black !important;
}

.table-borderless
{
  border: none !important;
}

.line {
  height: 0.1em;
  background-color: #1D71B8;
  margin: 1em;
}

.btn--danger {
  border-color: #D20050 !important;
  outline-color: #D20050 !important;
  background-color: #D20050 !important;
}

/* inline when in button */
.row button .svg-icon {
  display: -ms-inline-flexbox !important;
  display: inline-flex !important;
}

.card-header h5 {
  /* apply mb-0 */
  margin-bottom: 0 !important;
}


/* https://webaim.org/blog/wcag-2-0-and-link-colors/ */
[data-contrast=high-c] button,
[data-contrast=high-c] a {
  background-color: var(--white) !important;
  color: #3344dd !important;
  text-decoration: underline;
}

[data-contrast=high-c] .text-primary {
  background-color: var(--white) !important;
  color: #3344dd !important;
}

[data-contrast=high-c] .border-primary {
  border-color: #3344dd !important;
}

[data-contrast=high-c] .breadcrumb-item.active {
  background-color: var(--white) !important;
  color: #804180 !important;
}

[data-contrast=high-c] [data-toggle=tooltip] svg {
  fill: #3344dd !important;
}

[data-contrast=high-c] *,
[data-contrast=high-c] .border,
[data-contrast=high-c] .table,
[data-contrast=high-c] .table td,
[data-contrast=high-c] .table th,
[data-contrast=high-c] .h1,
[data-contrast=high-c] .h2,
[data-contrast=high-c] .h3,
[data-contrast=high-c] .h4,
[data-contrast=high-c] .h5,
[data-contrast=high-c] .h6 {
  background-color: var(--white) !important;
  color: #000000 !important;
  --input-border-color: #000000 !important;
}

/*Helper for user*/


.m-orienteur__link, .m-orienteur__link:focus {
  width: 34rem;
}

.m-orienteur__link {
  position: fixed;
  bottom: 3.5rem;
  right: 3.5rem;
  z-index: 1;
  display: block;
  padding: 1rem;
  text-decoration: none;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 4.2rem;
  box-shadow: 0 0 10px 0 rgba(48, 54, 70, .4);
  transition: width .25s ease, border-radius .25s ease, -webkit-transform .25s ease;
  transition: width .25s ease, border-radius .25s ease, transform .25s ease;
  transition: width .25s ease, border-radius .25s ease, transform .25s ease, -webkit-transform .25s ease;
}

.m-orienteur__content {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 2.5rem;
  right: 8rem;
  font-size: 1.6rem;
  line-height: 1.125;
}

.m-orienteur__icon {
  margin-left: auto;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  -ms-flex: 0 0 6rem;
  flex: 0 0 6rem;
  max-width: 6rem;
  padding-left: .6rem;
  background-color: var(--white);
  border-radius: 100%;
}

.icon-info{
  position: fixed;
  bottom: 3.5rem;
  right: 3.5rem;
  z-index: 1;
  display: block;
  box-shadow: 0 0 10px 0 rgba(48, 54, 70, .4);
}

cursor: pointer {
  border-width: 3px !important;
}

/*Helper for user*/

.inline-icon {
  display: inline !important;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
  height: 1em;
  vertical-align: middle;
}

.inline-flex-icon {
  display: -ms-inline-flexbox !important;
  display: inline-flex !important;
}

.tcaret::before {
  margin: 0px !important;
  /* content: "" !important; */
  height: 1em !important;
  color: #1d71b8;
  content: "\2022";
}

.ticon {
  height: 1em !important;
}

div.tree-offset-children {
  margin-left: 2em;
}


.header-principal__inner {
  box-shadow: 0 1.5rem 4rem rgba(52, 56, 82, 0.1);
}

.no-svg-toggle-effect {
  fill: currentColor !important;
  font-size: inherit !important;
}

.flashing {
  animation-duration: .4s;
  animation-name: flash;
  animation-iteration-count: infinite;
  transition: none;
}

svg.link-center {
  display: block !important;
  margin: auto !important;
}

@keyframes flash {
  0% {
    opacity: 1;
  }

  40% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.double-search-group {
  border: 0.1rem solid var(--input-border-color);
  border-radius: 2.5rem;
}

.double-search-group>.form-control,
.double-search-group>.form-control:not(:first-child) {
  border: none;
  border-radius: 1.4rem;
}

.double-search-group .btn {
  margin-left: -0.1rem;
  border-top-left-radius: 2.5rem;
  border-top-right-radius: 0;
}

.double-search-group .btn~.btn {
  margin-left: 0;
  margin-right: -0.1rem;
  border-top-left-radius: 0;
  border-top-right-radius: 2.5rem;
}


.admin-selector {
  background-color: white !important;
}

/* protect from the effect of [data-toggle=tooltip] */
.double-search-group [data-toggle=tooltip].btn {
  display: inline-block;
  margin: 0;
}

.btn-group[data-toggle=tooltip] {
  -ms-flex-pack: center !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -ms-flex-wrap: wrap !important;
  flex-wrap: wrap !important;
  justify-content: center !important
}

.btn-group>[data-toggle=tooltip] {
  margin-bottom: 0 !important;
  margin-top: 1rem !important
}

.btn-group>:not(:last-child)[data-toggle=tooltip] {
  margin-right: 2rem !important
}

.btn-group.no-mt>* {
  margin-top: 0!important;
}

/*Toggle*/

/* Siva passed the page in white, but it is not supposed to ... (commit f2d6c73)
html,
body,
.main {
  background-color: white !important;
}
*/

/* tr is used to trump the setting set in data-tables.css.. */
/* .dataTables_wrapper tr th.sorting {
  padding-right: 1.8rem !important;
} */

/* Filter button*/

.btn-blue {
  filter: brightness(0) saturate(100%) invert(37%) sepia(97%) saturate(450%) hue-rotate(166deg) brightness(89%) contrast(99%);
}
.btn-orange {
  filter: invert(59%) sepia(67%) saturate(567%) hue-rotate(356deg) brightness(92%) contrast(97%);
}
.btn-red {
  filter: invert(15%) sepia(99%) saturate(6088%) hue-rotate(329deg) brightness(80%) contrast(110%);
}


/* Border nabar */

.nav-round {
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) var(--border-radius-sm) !important;
  left: 0 !important;
}

/* alignement form */

.form-link-vertical-alignement
{
  line-height: 1.5;
  padding: 1.1rem 2rem;
}

/* CSS btn question*/
.btn-ques {
  display: inline-flex !important;
  margin: -0.4rem 0.5rem 0 !important;
  vertical-align: middle !important;
}

/* captcha */

.captcha-img
{
  background-clip: padding-box;
  background-color: #fff;
  border: 0.1rem solid var(--input-border-color);
  border-radius: 1.4rem;
  color: var(--body-color,#697097);
  display: block;
  font-size: 1.8rem;
  font-weight: 400;
  height: calc(1.5em + 2.4rem);
  line-height: 1.5;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}


a.disabled {
  color: currentColor;
  cursor: not-allowed;
  opacity: 0.5;
  text-decoration: none;
}

.clear_data_tooltip_svg
{
  fill: var(--body-color) !important;

}

.table td.fit,
.table th.fit {
  white-space: nowrap;
  width: 1%;
}

.wysiwyg-page ul>li:before
{
  display: none !important;
}

.wysiwyg tbody, tr, td {
  border: inherit;
  border-right-width: initial;
  border-left-width: initial;
  border-bottom-width: initial;
  border-top-width: initial;
}

.wysiwyg table tr:last-child td:first-child {
  border-bottom-left-radius: var(--border-radius);
}
.wysiwyg table tr:last-child td:last-child {
  border-bottom-right-radius: var(--border-radius);
}

.border-warning {
  border-color: #E69215 !important;
}

.text-warning {
  color: #E69215 !important;
}


a.mailto-link-delete-mail:after
{
  background-image: none !important;
}

/* Discussion zone */

.discusion-area
{
  max-height: 100vh !important;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Thread zone */

.thread-area{
  max-height: 60vh !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.project-color{
  color: #1d71b8;
}

#ans-loader {
  /* background-color: rgb(255 255 255 / 50%); */
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255,255,255,0.7); /* Black background with opacity */
  z-index: 99999; /* Specify a stack order in case you're using a different order for other elements */
}

#ans-loader>img {
  width: 100px;
  height: 100px;
  left: calc(50% - 50px);
  top: 50%;
  position:absolute;
  animation-name: spin;
  animation-duration: 2500ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes spin {
  from {
    transform:rotate(0deg);
  }
  to {
    transform:rotate(360deg);
  }
}

/* Tree */

.tree-color{
  color: #343852
}

a.external-link.no-external-link-icon:after {
  display: none;
}

/* added for timeline */

.fz-12 {
  font-size: 1.2rem
}

.fz-15 {
  font-size: 1.5rem
}

.btn--ghost.btn--brand-2:hover {
  background-color: var(--brand-2);
}

.btn--ghost.btn--success {
  background-color: transparent;
  border-color: var(--success);
  color: var(--success);
  outline-color: var(--success)
}

.btn--ghost.btn--success:hover {
  background-color: var(--success);
  border-color: var(--success);
  color: var(--white)
}


.timeline .item {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 2rem;
}

.timeline .item:last-child {
  height: 8rem !important;
}

.timeline .item:before {
  content: '';
  display: block;
  height: 1.5rem;
  width: 1.5rem;
  background-color: var(--white);
  border: 0.3rem solid var(--gray-400);
  border-radius: 1.5rem;
  position: absolute;
  left: 0;
  top: 0.45rem;
}

.timeline .item:first-child:before {
  border-color: var(--primary);
}

.timeline .item:after {
  content: '';
  display: block;
  height: calc(100% - 0.75rem);
  border-right: 0.3rem solid var(--gray-400);
  position: absolute;
  left: 0.6rem;
  top: 2.5rem;
}

.timeline .item:last-child:after {
  border-right-style: dashed;
}

/*span archived file*/
.text-black{
  color:#343852;
}
.border-black{
  border-color:#343852 !important;
}

/* make cell in datatable as clickable link, without impacting the text */
table.table-hover.table-row-clickable tbody tr{
  position: relative;
}
table.table-hover.table-row-clickable tbody td a:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
table.table-hover.table-row-clickable tbody tr:hover>*:not(.dataTables_empty){
  color: var(--primary,#1d71b8);
  text-decoration: underline;
  cursor: pointer !important;
}

table.table-hover.table-row-clickable tbody tr:hover td a .tag{
  text-decoration: underline !important; /* to have color of tag instead of blue */
}
/* variant allowing modals */
table.table-hover.table-row-clickable-with-modals tbody td:not(.dataTables_empty){
  padding: 0; /* we use padding on link a level to fill the whole cell ! */
}
table.table-hover.table-row-clickable-with-modals tbody td a:not(.not-all-cell){
  display: block;
  text-decoration: auto;
  width: 100%;
  height: 100%;
  padding: 0.6rem; /* we use padding on link a level to fill the whole cell ! */
  margin: 1.2rem; /* we use padding on link a level to fill the whole cell ! */
}
table.table-hover.table-row-clickable-with-modals tbody td a.not-all-cell{
  display: block;
  text-decoration: auto;
  width: 100%;
  height: 100%;
  margin: 1.8rem; /* we use padding on link a level to fill the whole cell ! */
}
table.table-hover.table-row-clickable-with-modals tbody tr:hover td a{
  color: var(--primary,#1d71b8);
}
table.table-hover.table-row-clickable-with-modals tbody tr:hover>*:not(.dataTables_empty) a{
  color: var(--primary,#1d71b8);
  text-decoration: underline;
  cursor: pointer !important;
}

table.table-hover.table-row-clickable-with-modals tbody tr:hover td a .tag{
  text-decoration: underline !important; /* to have color of tag instead of blue */
}

div#eligibility-stepper{
  /* to have tooltip (z-index 30) over the stepper */
  z-index: 25!important;
}

.iti {
  width: 100%;
}

/* footer should be white, but area just over it should be grey/gray :
replace padding by margin */

@media (min-width:62em){
  .footer-principal{
    --footer-padding-top: 0!important;
    --footer-margin-top: 6.4rem!important;
  }
}
.footer-principal{
  --footer-padding-top: 5rem!important;
  padding-top: 0!important;
  margin-top: var(--footer-padding-top)!important;
}

/* Input url DMN */
.input-completed{
  background-color: #f8f9fb !important;
}

.archived-button{
  width: 4em;
  color: var(--primary);
}

.icon-size{
  height: 32px;
  width: 32px;
}

/* border  toggle */

.toggle-border {
  border-width: 6px !important; /* Adjust border size as needed */
  box-shadow: 0px 4px 8px rgb(179, 179, 179); /* Add shadow */
}

/* Custom table td with selct in row*/

.table .select-in-row {
  vertical-align: middle;
}