/* ============================================================
   10. COMPONENTS
   ============================================================ */

/*------------------------------------------------------------*/
/*-             @Loading						  	 		 -*/
/*------------------------------------------------------------*/
.ui-input-loading-xs {background: transparent url("../img/loading-xs.gif") center center no-repeat}
.ui-loading-xs {width: 14px;height: 20px;display: block;background: transparent url("../img/loading-xs.gif") center center no-repeat;}
.ui-loading-sm {width: 40px;height: 40px;display: block;margin: auto;background: transparent url("../img/loading-sm.gif") center center no-repeat;}
.ui-loading-l,.ui-loading-lg {background: url("../img/loading-large.gif") center center no-repeat;min-height: 46px;}
.nicoka-logo-loading {background: url("../img/nicoka-logo-spinner.gif") center center no-repeat;min-height:200px;}
.matching-calcul-loading {  width: 90px;  height: 14px;  box-shadow: 0 3px 0#fff;  position: relative;  clip-path: inset(-40px 0 -5px)}
.matching-calcul-loading:before {  content: "";  position: absolute;  inset: auto calc(50% - 17px) 0;  height: 50px;  --g:no-repeat linear-gradient(var(--main-bg-color) 0 0);  background: var(--g),var(--g),var(--g),var(--g);  background-size: 16px 14px;  animation:    l7-1 2s infinite linear,    l7-2 2s infinite linear;}@keyframes l7-1 {  0%,  100%  {background-position: 0 -50px,100% -50px}  17.5% {background-position: 0 100%,100% -50px,0 -50px,100% -50px}  35%   {background-position: 0 100%,100% 100% ,0 -50px,100% -50px}  52.5% {background-position: 0 100%,100% 100% ,0 calc(100% - 16px),100% -50px}  70%,  98%  {background-position: 0 100%,100% 100% ,0 calc(100% - 16px),100% calc(100% - 16px)}}@keyframes l7-2 {  0%,70% {transform:translate(0)}  100%  {transform:translate(200%)}}

/*------------------------------------------------------------*/
/*-             @Pace							  	 		 -*/
/*------------------------------------------------------------*/
.pace .pace-progress {background: #29d;position: fixed;z-index: 2000;top: 0;left: 0;height: 2px;-webkit-transition: width 1s;-moz-transition: width 1s;-o-transition: width 1s;transition: width 1s;}
.pace-inactive {display: none}

/*------------------------------------------------------------*/
/*-             @TimeLine Experience						 -*/
/*------------------------------------------------------------*/
.timeline.xp {margin-left: 15%;width:85%}
.timeline.xp:before {left: 0;}
.timeline.xp .timeline-desk {width: 1%;}
.timeline-title {padding-bottom: 5px;border-bottom: 1px solid var(--bs-border-color)}
/* Charter entry — same reading order as the LinkedIn CV PDF (Hive\Recruitment\Candidate\Ui\CvPdf):
   job title / organization / muted meta line. */
.timeline-desk h1.xp-entry-title {font-size: 15px;font-weight: 600;line-height: 1.3;color: var(--xp-entry-ink,#1b2733);margin: 0 0 2px;}
.timeline-desk .xp-entry-org {font-size: 13px;font-weight: 500;line-height: 1.3;color: var(--xp-entry-org-color,#004682);margin: 0 0 2px;}
.timeline-desk .xp-entry-meta {font-size: 12px;line-height: 1.4;color: var(--xp-entry-muted,#6b7684);margin: 0;}
.timeline-desk .xp-entry-sep {display: inline-block;padding: 0 5px;}
.timeline-desk .xp-entry-content {font-size: 12px;margin-top: 8px;}
.timeline-desk .xp-entry-content p {margin-bottom: 0;}
.timeline-desk .xp-entry-desc {color: var(--xp-entry-body,#3a4552);line-height: 1.5;}
.timeline-desk .xp-entry-block {margin-top: 8px;}
.timeline-desk .xp-entry-label {display: block;font-size: 10px;font-weight: 600;letter-spacing: .06em;text-transform: uppercase;color: var(--xp-entry-muted,#6b7684);margin-bottom: 2px;}
.timeline-desk .xp-entry-skills {margin-top: 8px;}
.timeline-desk .xp-entry-skill {display: inline-block;font-size: 11px;line-height: 1.7;padding: 0 8px;margin: 0 4px 4px 0;border-radius: 10px;background: var(--xp-entry-chip-bg,#eef2f6);color: var(--xp-entry-chip-color,#3a4552);}
/* Charter rail: a fixed gutter instead of 15% — the dates hug the left edge and the
   cards take the space back. A whole number of pixels also keeps the dot centred on
   the line, which a percentage margin cannot (it lands on a subpixel). */
.timeline.xp.xp-charter {margin-left: 156px;width: calc(100% - 156px);}
.timeline.xp.xp-charter .timeline-date {left: -181px;width: 140px;top: 17px;}
/* Dot and first date line centred on the title line (card padding 15px + half of its
   19.5px line box), not on the card height — a tall entry would drop the dot far below
   the title it marks */
.timeline.xp.xp-charter .timeline-icon {top: 19px;}
/* Borderless entries: the card only shows up on hover, in the theme background */
.timeline.xp.xp-charter .timeline-desk .card {border: 0;background: transparent;box-shadow: none;border-radius: 6px;transition: background-color .15s ease;}
.timeline.xp.xp-charter .timeline-desk .card:hover {background-color: var(--xp-entry-hover-bg,rgba(0,70,130,.05));}
/* Period rail: the CV period, with how long it lasted underneath */
.timeline .timeline-date.xp-entry-period {font-size: 12px;font-weight: 500;line-height: 1.35;color: var(--xp-entry-ink,#1b2733);}
.timeline .timeline-date.xp-entry-period .xp-entry-duration {display: block;font-size: 11px;font-weight: 400;color: var(--xp-entry-muted,#6b7684);}

/*------------------------------------------------------------*/
/*-             @Panel									  	 -*/
/*------------------------------------------------------------*/
/* A thin frame on a soft ground: the tone of a warning or a danger is in the ground, no longer in a thick left bar */
.bs-callout{padding:12px 16px;margin:16px 0;border:1px solid var(--nk-rule,#e5e5e5);border-radius:var(--nk-radius-lg,10px);background:var(--nk-bg-soft,#faf8f4)}.bs-callout h4{margin-top:0;margin-bottom:5px}.bs-callout p:last-child{margin-bottom:0}.bs-callout code{border-radius:3px}.bs-callout+.bs-callout{margin-top:-5px}.bs-callout-danger{border-color:color-mix(in oklch,var(--nk-danger,#ce4844) 30%,transparent);background:var(--nk-danger-soft,#fbeeed)}.bs-callout-danger h4{color:var(--nk-danger-ink,#ce4844)}.bs-callout-warning{border-color:color-mix(in oklch,var(--nk-warning,#aa6708) 30%,transparent);background:var(--nk-warning-soft,#fbf3e2)}.bs-callout-warning h4{color:var(--nk-warning-ink,#aa6708)}.bs-callout-info h4{color:var(--nk-info-ink,#1b809e)}
.f-message .bs-callout {background-color:white}
/* ... where a warning and a danger keep their ground, the only thing that tells them from a plain message */
.f-message .bs-callout-warning {background-color:var(--nk-warning-soft,#fbf3e2)}
.f-message .bs-callout-danger {background-color:var(--nk-danger-soft,#fbeeed)}
.bs-callout ul li {margin-left:10px}
.bs-callout ul  {padding-bottom:10px}
.bs-panel {margin-top:10px;background-color: var(--nk-panel-bg);border-radius: 4px;padding-bottom: 5px;}
.bs-panel .caption {border-color:var(--bs-border-color);font-size: 16px;font-weight:400;padding: 10px 15px;border-bottom: 1px solid var(--bs-border-color);border-top-right-radius: 3px;border-top-left-radius: 3px;}
.widget-frame .bs-panel {margin-top:0}
.block-outer .bs-callout {margin:0;margin-bottom: 8px;}
.customizing-icon {font-size:45px;padding: 0;text-align:center}
.public .card img {max-width:100%}
.card-header.small {font-size:12px}
.card-header a.collapsed .fa-chevron-down:before {content:"\f077"}

/*------------------------------------------------------------*/
/*-             @Screen Builder							  	 -*/
/*------------------------------------------------------------*/
.ox-screen-builder {position: fixed;top: 0;right: 0;bottom: 0;left: 0;background-color: rgba(51,51,51,0.95);z-index: 1039;color: #fff;overflow-y: auto;overflow-x: hidden;}
.ox-screen-builder .ox-table {display: table;width: 100%;height: 100%;border-spacing: 30px}
.ox-screen-builder .ox-table .ox-column {display: table-cell;vertical-align: top;height: 100%;border: 2px dashed #666;padding: 5px 15px;border-radius: 6px}

/*------------------------------------------------------------*/
/*-             @Wizard									  	 -*/
/*------------------------------------------------------------*/
.wizard,.tabcontrol{display: block;width: 100%;overflow: hidden;}
.wizard.form-horizontal .block {border:0}
.wizard a,.tabcontrol a {outline: 0;}
.wizard ul,.tabcontrol ul {list-style: none !important;padding: 0;margin: 0;}
.wizard ul > li,.tabcontrol ul > li {display: block;padding: 0;}
.wizard > .content > .title,.tabcontrol > .content > .title {position: absolute;left: -999em;}
.wizard > .steps {position: relative;display: block;width: 100%;}
.wizard.vertical > .steps {display: inline}
.wizard > .steps .number {margin-right: 5px}
.wizard > .steps > ul > li {width: 25%;}
.wizard > .steps > ul > li,.wizard > .actions > ul > li {float: left;}
.wizard.vertical > .steps > ul > li {float: none;width: 100%;}
.wizard > .steps a,.wizard > .steps a:hover,.wizard > .steps a:active {display: block;width: auto;margin: 0 0.5em 0.5em;padding: 1em 1em;text-decoration: none;border-radius: 5px;}
.wizard > .steps .disabled a,.wizard > .steps .disabled a:hover,.wizard > .steps .disabled a:active {background: #eee;color: #aaa;cursor: default;}
.wizard > .steps .current a,.wizard > .steps .current a:hover,.wizard > .steps .current a:active {background: #A9D86E;color: #fff;cursor: default;}
.wizard > .steps .done a,.wizard > .steps .done a:hover,.wizard > .steps .done a:active {background: #ccc;color: #fff;}
.wizard > .steps .error a,.wizard > .steps .error a:hover,.wizard > .steps .error a:active {background: #ff6c60;color: #fff;}
.wizard > .content {border: 1px solid #eee;display: block;margin: 0.5em;min-height: 350px;overflow: hidden;position: relative;width: auto;padding: 20px;border-radius: 5px;}
.wizard.vertical > .content {display: inline;margin: 0 2.5% 0.5em 2.5%;}
.wizard > .content > .body{float: left;position: absolute;width: 95%;height: 95%;}
.wizard > .content > .body ul{list-style: disc !important;}
.wizard > .content > .body ul > li {display: list-item;}
.wizard > .content > .body > iframe {border: 0 none;width: 100%;height: 100%;}
.wizard > .content > .body input {display: block;border: 1px solid #ccc;}
.wizard > .content > .body input[type="checkbox"] {display: inline-block;}
.wizard > .content > .body input.error {background: rgb(251, 227, 228);border: 1px solid #fbc2c4;color: #ff6c60;font-weight: normal;}
.wizard > .content > .body label {display: inline-block;margin-bottom: 0px;padding-top: 7px;font-weight: normal;}
.wizard > .content > .body label.error{color: #ff6c60;display: inline-block;font-weight: normal;}
.wizard > .actions{position: relative;display: block;text-align: right;width: 100%;}
.wizard.vertical > .actions{display: inline;margin: 0 2.5%;}
.wizard > .actions > ul{display: inline-block;text-align: right;}
.wizard > .actions > ul > li{margin: 0 0.5em;}
.wizard.vertical > .actions > ul > li{margin: 0 0 0 1em;}
.wizard > .actions a,.wizard > .actions a:hover,.wizard > .actions a:active{background: var(--main-color-candidate);color: #fff;display: block;padding: 0.5em 1em;text-decoration: none;border-radius: 5px;}
.wizard > .actions .disabled a,.wizard > .actions .disabled a:hover,.wizard > .actions .disabled a:active{background: #eee;color: #aaa;}

/* SmartWizard Theme: Dots */
/* SmartWizard Theme: Arrows */
/* Responsive CSS */

/*
    Tabcontrol
*/

/*------------------------------------------------------------*/
/*-             @Popup									  	 -*/
/*------------------------------------------------------------*/
.popup {position: relative;margin: auto;margin-top:5px;max-width: min(1280px, 95vw);min-width:min(380px, 98vw)} .ui-shlp .bs-panel {padding-bottom:0}
.popup-container {padding: 0px;max-height: 480px;overflow-y: auto;position:relative}

.popup .close, .modal-header .close,.nk-side-panel .close {
    font-weight: 100;
    font-family: 'Font Awesome 5 Pro';
    font-size: 1.5rem;
    color: #fff;
    opacity: 1;
    width: 2rem;
    height: 2rem;
    border-radius: 100px;
    padding: 0.3rem;
    margin-left: auto;
    transition: background-color 0.3s;
}
.popup .close:hover, .modal-header .close:hover,.nk-side-panel .close:hover {
    background-color: rgba(255, 255, 255, 0.15);
}
.popup .ui-title, .modal-header .modal-title {
    line-height: 1.5rem;
    font-size: 1.1rem;
}
.popup form .form-foot{
    padding-top: 1rem;
    margin-bottom: 0.5rem;
    border-top: 1px solid var(--panel-border-color);
}

.popup-container:not(:has(.form-foot))>div, .popup-container:not(:has(.form-foot))>p{
    padding: 10px 10px 10px 10px;
}

.popup  {background-color: var(--nk-panel-bg);border: 1px solid #999;border: 1px solid rgba(0,0,0,.2);border-radius: 6px;-webkit-box-shadow: 0 3px 9px rgba(0,0,0,.5);box-shadow: 0 3px 9px rgba(0,0,0,.5);background-clip: padding-box;outline: 0;}
/* Resize grip (visible only when ->resizable(true) is enabled on the popup) */
/* Reuses the dashboard widget grip style (dashboard.css .grid-stack-item>.ui-resizable-handle.ui-resizable-se) */
.popup .ui-resizable-se {
    width: 12px;
    height: 12px;
    right: 12px;
    bottom: 12px;
    cursor: nwse-resize;
    background: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="grey" fill-opacity="0.7" viewBox="265.5 29.5 529.5 530.5" xml:space="preserve"><path d="M795,87.5c0-28.995-23.505-52.5-52.5-52.5C713.506,35,690,58.505,690,87.5s23.506,52.5,52.5,52.5 C771.495,140,795,116.495,795,87.5z M655,227.5c0-28.995-23.505-52.5-52.5-52.5c-28.994,0-52.5,23.505-52.5,52.5 s23.506,52.5,52.5,52.5C631.495,280,655,256.495,655,227.5z M602.5,420c28.995,0,52.5-23.506,52.5-52.5 c0-28.995-23.505-52.5-52.5-52.5c-28.994,0-52.5,23.505-52.5,52.5C550,396.494,573.506,420,602.5,420z M655,507.5 c0-28.995-23.505-52.5-52.5-52.5c-28.994,0-52.5,23.505-52.5,52.5c0,28.994,23.506,52.5,52.5,52.5 C631.495,560,655,536.494,655,507.5L655,507.5z M795,507.5c0-28.995-23.505-52.5-52.5-52.5c-28.994,0-52.5,23.505-52.5,52.5 c0,28.994,23.506,52.5,52.5,52.5C771.495,560,795,536.494,795,507.5L795,507.5z M462.5,420c28.995,0,52.5-23.506,52.5-52.5 c0-28.995-23.505-52.5-52.5-52.5c-28.994,0-52.5,23.505-52.5,52.5C410,396.494,433.506,420,462.5,420z M515,507.5 c0-28.995-23.505-52.5-52.5-52.5c-28.994,0-52.5,23.505-52.5,52.5c0,28.994,23.506,52.5,52.5,52.5 C491.495,560,515,536.494,515,507.5L515,507.5z M322.5,560c28.995,0,52.5-23.506,52.5-52.5c0-28.995-23.505-52.5-52.5-52.5 S270,478.505,270,507.5C270,536.494,293.505,560,322.5,560z M795,367.5c0-28.995-23.505-52.5-52.5-52.5 c-28.994,0-52.5,23.505-52.5,52.5c0,28.994,23.506,52.5,52.5,52.5C771.495,420,795,396.494,795,367.5z M742.5,280 c28.995,0,52.5-23.505,52.5-52.5S771.495,175,742.5,175c-28.994,0-52.5,23.505-52.5,52.5S713.506,280,742.5,280z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    transform: none;
    padding: 0;
    z-index: 1;
    opacity: 0.6;
}
.popup .ui-resizable-se::before {
    content: none;
}
.popup:hover .ui-resizable-se,
.popup .ui-resizable-se:hover {
    opacity: 1;
}

.nk-theme .popup .form-horizontal .block {border:0;margin-bottom:0}
.nk-theme .popup .form-horizontal input[type=checkbox] {display: inline-block;}
.nk-theme .popup .footer {min-height:0}
.no-scroll .popup-container  {overflow-y:visible;max-height:100%}

.popup-container img {max-width:100%}

.private-checkbox__label{cursor:pointer;display:block;max-width:100%;font-weight: inherit}
.private-checkbox__label:hover .private-checkbox__indicator:not(.private-radio__indicator){background-color:#eaf0f6}
.private-checkbox__inner{align-items:flex-start;display:flex}
.private-checkbox__indicator{flex-shrink:0;border-radius:3px;transition:all .15s ease-out;background-color:#fff;border:2px solid #cbd6e2;color:#cbd6e2;height:1.25em;left:.0625em;position:relative;width:1.25em}
.private-checkbox__icon{align-items:center;display:flex;justify-content:center;bottom:0;left:0;opacity:0;position:absolute;right:0;top:0}
.private-checkbox__icon>svg{fill:currentColor;width:94%}.private-checkbox__icon .private-checkbox__icon__inner{fill:currentColor;width:1em}
.private-checkbox__input:checked+.private-checkbox__indicator{color:#00a4bd}
.private-checkbox__input:checked+.private-checkbox__indicator .private-checkbox__check{fill:#00a4bd;opacity:1}
.private-checkbox__input:checked+.private-checkbox__indicator .private-checkbox__dash{opacity:0}
.private-checkbox__input.indeterminate:not(:checked)+.private-checkbox__indicator .private-checkbox__check{opacity:0}
.private-checkbox__input.indeterminate:not(:checked)+.private-checkbox__indicator .private-checkbox__dash{fill:#00a4bd;opacity:1}
.private-checkbox__input.indeterminate:not(:checked)+.private-checkbox__indicator .private-checkbox__dash>svg{width:100%}
.private-checkbox__input.indeterminate+.private-checkbox__indicator,.private-checkbox__input:checked+.private-checkbox__indicator{border-color:currentColor;color:#46d6db}
.private-checkbox__input:focus:not(:checked)+.private-checkbox__indicator{border-color:#cbd6e2}
.nicoka-enable-focus-styles .private-checkbox__input:focus:not([readonly])+.private-checkbox__indicator{border-color:rgba(0,208,228,.5);box-shadow:0 0 4px 1px rgba(0,208,228,.3),0 0 0 1px #00d0e4;outline:0;background-color:#eaf0f6;border-color:currentColor}
.nicoka-enable-focus-styles .private-checkbox__input:focus[readonly]+.private-checkbox__indicator{outline:auto}
.private-checkbox__text{font-size:16px;line-height:normal;max-width:100%;padding-left:.75em;position:relative;top:.0625em}

/*------------------------------------------------------------*/
/*-             @Trees	  	 						     	 -*/
/*------------------------------------------------------------*/
.elbow,.elbow.plus,.elbow.minus {cursor: pointer;}
.elbow:before  {content: "";width:12px;height:15px;display:inline-block;margin-left:6px;border-bottom:1px dotted  #666;border-left:1px dotted  #666;}
.elbow.end:before {content: "";width:12px;height:15px;display:inline-block;margin-left:6px;border-bottom:1px dotted  #666;border-left:1px dotted  #666;}
.elbow.minus:before,.elbow-nl.minus:before {margin-left: 0;border:0;height: 16px;width: 16px;line-height: 16px;vertical-align: middle;display: inline-block;background: url("../img/tree-icons.png") no-repeat;background-position: 0 -23px;content: "";}
.elbow.plus:before,.elbow-nl.plus:before {margin-left: 0;border:0;height: 16px;width: 16px;line-height: 16px;vertical-align: middle;display: inline-block;background: url("../img/tree-icons.png") no-repeat;background-position: 0 0px;content: "";}
.tree-cell {margin-left: 5px;}

.xv-tree-icon {height: 16px;width: 16px;display: inline-block;cursor:pointer}
.xv-tree-coche .xv-grid-input{height: 20px;line-height: 20px;margin:0;vertical-align: bottom;text-align: center;padding-left:1px;padding-right:2px;}

.tree {padding-left: 14px;overflow:auto;position:relative;}
.tree-solid-line {padding-left: 12px;display: block;}
.tree:before{width: 1px;z-index:1;display:block;content:"";position:absolute;top:-21px;bottom:16px;left:0;border-left:1px dotted #666;}
.tree.tree-solid-line:before {border-left:1px solid #999;}
.tree .tree-folder{width:auto;min-height:20px;cursor:pointer;}

.tree .tree-folder.disabled {text-decoration: line-through;background-color:#fff!important;font-style: italic;}
.tree .tree-folder.disabled .tree-folder-content {display:none}

.tree-folder.active > .tree-folder-content {display:block!important}

.tree .tree-folder .tree-folder-header{position:relative;min-height:20px;line-height:20px;min-width: 100px;display:block}
.tree .tree-folder.ui-sortable-handle,tr.ui-sortable-handle {cursor:move;}
tr.ui-sortable-handle.ui-sortable-helper {background:white;display: table;}
.ui-sortable-helper.table-row::before, .ui-sortable-helper.table-row{display:flex!important;}

.tree .tree-folder .tree-folder-header .folder-open {display:none}
.tree .tree-folder .tree-folder-header.active .folder-open {display:inline}
.tree .tree-folder .tree-folder-header.active .folder {display:none}

.tree .tree-folder .tree-folder-header:hover,.tree .tree-folder.disable .tree-folder-header{background-color:#F1F2F7;border-radius: 4px;}
.tree .tree-folder .tree-folder-header .tree-folder-name,
.tree .tree-item .tree-item-name {display:inline;z-index:2;}
.tree .tree-folder img {margin-left: 4px;}
.tree .tree-folder .tree-folder-header .tree-folder-name{margin-left:2px;}
.tree .tree-folder .tree-folder-content{margin-left:23px;position:relative}
.tree .tree-folder .tree-folder-content:before{display:inline-block;content:"";position:absolute;width: 1px;z-index:1;top:-9px;bottom:16px;left:-12px;border-left:1px dotted #666;}
.tree.tree-solid-line .tree-folder .tree-folder-content:before {border-left:1px solid #999;}
.tree .tree-folder,.tree .tree-item {position:relative;}
.tree .tree-folder:before,.tree .tree-item:before {display:inline-block;content:"";position:absolute;top:14px;left:-13px;width:18px;height:0;border-top:1px dotted #666;z-index:1;}
.tree.tree-solid-line .tree-folder:before,
.tree.tree-solid-line .tree-item:before {border-top:1px solid #999;}
.tree .tree-item,.tree .tree-folder{border:1px solid #FFF}
.tree .tree-item,.tree .tree-folder .tree-folder-header{margin:0;padding:4px 5px 6px 5px;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;}
.tree .tree-item .tree-item-name > i,.tree .tree-folder .tree-folder-header > i {color: #666;}
.tree .tree-actions {display: none;position: absolute;margin-top: 1px;right: 4px;}
.tree .tree-actions .switch { margin-top:0;padding-top:0;line-height: inherit;}
.tree .tree-item:hover .tree-actions,
.tree .tree-folder-header:hover .tree-actions {display: inline-block;}
.tree .tree-actions > i {padding: 1px 3px;text-align: center;font-size: 14px;color: #999;margin-right: 6px;margin-top: 0px;display: inline-block;}
.tree .tree-actions > i:hover {color: #666;}

.ui-grid-dropzone {min-height: 200px;}
.ui-dropzone .ui-drop-help {display:none;text-align: center;padding: 150px;font-size: 20px;font-weight: bold;}
.ui-dropzone.hover {background:#f1f2f7;border:2px dashed #ccc;}
.ui-dropzone.hover .ui-folders-breadcrumb,.ui-dropzone.hover .ui-help-blank,.ui-dropzone.hover .ui-files {display:none}
.ui-dropzone.hover .ui-drop-help {display:block}
.ui-dropzone.fade,.ui-inline-dropzone.fade {-webkit-transition: all 0.3s ease-out;-moz-transition: all 0.3s ease-out;-ms-transition: all 0.3s ease-out;-o-transition: all 0.3s ease-out;transition: all 0.3s ease-out;opacity: 1;}
.ui-inline-dropzone {display:inline-flex;align-items:center;max-width:100%;min-height:42px;padding:6px 8px;border:1px dashed var(--nk-accent);border-radius:var(--nk-radius-md);background:var(--nk-accent-soft);transition:box-shadow .15s,background .15s}
.ui-inline-dropzone.hover {box-shadow:0 0 0 4px var(--nk-accent-soft)}
.ui-inline-dropzone .ui-file-tokens {display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:0}
.ui-inline-dropzone .ui-file-tokens .ui-file-token {margin:0}
.ui-inline-dropzone .js-drop-message {font-size:var(--nk-fs-body-sm);color:var(--nk-mute)}
.scrollVertical tbody>tr>td {max-width:500px;text-overflow: ellipsis;overflow: hidden}
table.table-sticky-header {max-width:100% !important;overflow:auto}
table.table-sticky-header th {top:0;background:var(--nk-panel-bg);z-index:2;position: -webkit-sticky !important;position: sticky !important}
table.table-sticky-header thead{position: sticky;top: 0;z-index:15}
table tbody.scroll {overflow-y: auto;overflow-y: overlay;}
table.table-sticky-header tbody.scroll,table.table-sticky-header tbody {display:table-row-group;overflow:initial}
td.table-sticky-left-colum,th.table-sticky-left-colum {position: -webkit-sticky !important;position: sticky !important;z-index: 10!important;left:0}
table th.table-sticky-left-colum,table td.table-sticky-left-colum {background:var(--nk-panel-bg)}
.table-striped>tbody> tr:nth-of-type(odd) > td.table-sticky-left-colum {
    background-color: #f9f9f9;
}

/*------------------------------------------------------------*/
/*-             @Switch								  		 -*/
/*------------------------------------------------------------*/
.has-switch {overflow: hidden;border-radius: 30px;padding-top:2px;display: inline-block;cursor: pointer;line-height: 1.231;position: relative;text-align: left;width: 80px;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;-o-user-select: none;user-select: none;}
.has-switch.deactivate {opacity: 0.5;filter: alpha(opacity=50);cursor: default !important;}
.has-switch.deactivate label,
.has-switch.deactivate span {cursor: default !important;}
.has-switch > div {width: 162%;position: relative;top: 0;}
.has-switch > div.switch-animate {-webkit-transition: left 0.25s ease-out;-moz-transition: left 0.25s ease-out;-o-transition: left 0.25s ease-out;transition: left 0.25s ease-out;}
.has-switch > div.switch-off {left: -63%;}
.has-switch > div.switch-off label {background-color: #7f8c9a;border-color: #bdc3c7;box-shadow: -1px 0 0 rgba(255, 255, 255, 0.5);}
.has-switch div.switch-off .switch-handle-on {background-color: transparent;}
.has-switch div.switch-on .switch-handle-off {background-color: transparent;}
.has-switch > div.switch-on {left: 0%;}
.has-switch > div.switch-on label {background-color: #41cac0;}
.has-switch input[type=checkbox] {display: none;}
.has-switch span {cursor: pointer;font-size: 14.994px;font-weight: 700;float: left;height: 25px;line-height: 19px;margin: 0;padding-top: 3px;position: relative;text-align: center;width: 50%;z-index: 1;box-sizing: border-box;-webkit-transition: 0.25s ease-out;-moz-transition: 0.25s ease-out;-o-transition: 0.25s ease-out;transition: 0.25s ease-out;backface-visibility: hidden;}
.has-switch span.switch-handle-on {border-radius: 30px 0 0 30px;background-color: #2A3542;color: #41cac0;border-left: 1px solid transparent;}
.has-switch span.switch-handle-off {border-radius: 0 30px 30px 0;background-color: #bdc3c7;color: #ffffff;text-indent: 7px;}
.has-switch span.switch-handle-off  [class*="fui-"] {text-indent: 0;}
.has-switch label {border: 4px solid #2A3542;border-radius: 50%;float: left;height: 25px;margin: 0 -21px 0 -14px;padding: 0;position: relative;vertical-align: middle;width: 29px;z-index:2;-webkit-transition: 0.25s ease-out;-moz-transition: 0.25s ease-out;-o-transition: 0.25s ease-out;transition: 0.25s ease-out;backface-visibility: hidden;}
.switch-square > div.switch-off label {border-color: #7f8c9a;border-radius: 4px 0 0 4px;}
.switch-square span.switch-handle-on {border-radius: 4px 0 0 4px;}
.switch-square span.switch-handle-on [class*="fui-"] {text-indent: -10px;}
.switch-square span.switch-handle-off {border-radius: 0 6px 6px 0;}
.switch-square span.switch-handle-off [class*="fui-"] {text-indent: 5px;}
.switch-square label {border-radius: 0 6px 6px 0;border-color: #41cac0;}

/*------------------------------------------------------------*/
/*-             @Slider									  	 -*/
/*------------------------------------------------------------*/
.ui-slider {position: relative;text-align: left}
.ui-slider .ui-slider-range {position: absolute;z-index: 1;font-size: .7em;display: block;border: 0;background-position: 0 0;}
.ui-slider-horizontal .ui-slider-range {top: 0;height: 100%;}
.ui-slider-horizontal {height: 8px !important;}
.ui-slider-horizontal .ui-slider-handle {margin-left: -.6em;}
.slider-info {text-align:center}
.slider-range {
    --slider-active-track-color: var(--main-bg-color, #007bff);
    --slider-inactive-track-color: var(--nk-input-readonly-bg-color, #e9ecef);
    --slider-thumb-color: var(--slider-active-track-color);
    --thumb-color: #22bacf;
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 15px;
  background: #f0f2f7;
  outline: none;
  opacity: 0.7;
  text-align:left;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  border: 3px solid var(--thumb-color);
  background: #fff;
  cursor: pointer;
}

.slider-range::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 3px solid var(--thumb-color);
  background: #04AA6D;
  cursor: pointer;
}

.ui-gradient-slider .ui-slider {background-color: #1ABC9C !important;background-image: -webkit-linear-gradient(left, #E74C3C 0%, #F1C40F 50%,#1ABC9C 100%) !important;background-image: linear-gradient(to right,#E74C3C 0%, #F1C40F 50%,#1ABC9C  100%) !important;}
.ui-gradient-slider .ui-slider .slider-range-inverse {background: #CCC;position: absolute;right: 0;height: 16px;border-radius: 50px;}
.ui-gradient-slider .ui-slider-horizontal {height: 16px !important;}
.ui-gradient-slider .ui-slider * {outline: none;}
.ui-gradient-slider .ui-slider .ui-slider-range {background: transparent;}
.ui-gradient-slider .ui-slider .ui-slider-handle {width: 28px;height: 28px;cursor: pointer;box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);background: #FFF;top: -6px !important;border-radius: 50%;border-width: 0!important;}
.ui-gradient .ui-slider .ui-slider-handle:active {box-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);}
.ui-gradient-slider .ui-slider .ui-slider-handle .dot {width: 18px;height: 18px;border-radius: 50%;position: absolute;top: 5px;left: 5px;background: transparent;overflow: hidden;}
.ui-gradient-slider .ui-slider .ui-slider-handle .dot .handle-track {display: block;height: 18px;background-color: #1ABC9C;background-image: -webkit-linear-gradient(left, #E74C3C 0%, #F1C40F 50%,#1ABC9C 100%);background-image: linear-gradient(to right,#E74C3C 0%, #F1C40F 50%,#1ABC9C 100%);position: absolute;padding-right: 18px;}

/*------------------------------------------------------------*/
/*-             @Custom Ui	  	 				     		 -*/
/*------------------------------------------------------------*/
h2.page-header {border:0}

/*------------------------------------------------------------*/
/*- 					@QWL								 -*/
/*------------------------------------------------------------*/
.btn-bounce {transition: all 500ms ease; }
@keyframes bounce {
	0%, 20%, 60%, 100% {-webkit-transform: translateY(0);transform: translateY(0);}
	40% {-webkit-transform: translateY(-20px);transform: translateY(-20px);}
	80% {-webkit-transform: translateY(-10px);transform: translateY(-10px);}
}
.btn-bounce:hover {animation: bounce 1s}
.btn-secondary:hover {background-color:#ddd}

/*------------------------------------------------------------*/
/*- 			@HoverCard								  	 -*/
/*------------------------------------------------------------*/

.nk-hovercard-main-details {
    border-bottom: 1px solid var(--panel-border-color);
    display: flex;
    align-items: center;
    padding: 0.5rem 4px 1rem  4px;
}
.nk-hovercard .nk-hovercard-pic {
    font-weight: 600;
    font-size: 1.25rem;
    color: white;
    overflow: hidden;
    float: left;
    line-height: .9em;
    margin-right: 10px;
    text-align: center;
    margin-top: 0;
    border-radius: 50%;
    width: 3em;
    height: 3em;
    background-color: var(--main-bg-color);
    align-items: center;
    display: flex;
    justify-content: center;
}
.nk-hovercard .nk-hovercard-pic img {display: block;height: 3em;
    width: 3em;}
.nk-avatar {position: relative;width: 48px;height: 48px;line-height: 48px;}
.nk-hovercard .nk-avatar--inital {
    border: none;
    color: white;
}
.nk-hovercard-title {margin: 0 20px 0 0;font-weight: 700;width: 90%;line-height: 14px;}
.nk-hovercard--details {border-bottom: none;padding: 1rem 4px 0.5rem  4px;}
.nk-hovercard p {margin: 0}
.nk-hovercard i{
    margin-right: 10px;
    width: 2.35em;
    font-size: 1em;
    text-align: center;
}
.nk-hovercard .nk-hovercard--details div{
    display: flex;
    align-items: center;
}

/*------------------------------------------------------------*/
/*-                            @HSE                          -*/
/*------------------------------------------------------------*/

.hse-search-input-wrapper #hse-autocomplete {
    width: 100%;
}

/*------------------------------------------------------------*/
/*-                       @Orx stepper                       -*/
/*------------------------------------------------------------*/

.orx-stepper-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 16px 20px;
    margin: 0;
    list-style: none;
}

.orx-stepper-step {
    flex: 1 1 0;
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
    min-width: 0;
}
.popup .orx-stepper-step {
    max-width: none;
}

/* Connector lines: two half-lines drawn behind the dot (mirrors the portal stepper) */
.orx-stepper-step::before,
.orx-stepper-step::after {
    content: "";
    position: absolute;
    top: 17px;
    height: 2px;
    width: 50%;
    background: #d6dae0;
    z-index: 0;
}
.orx-stepper-step::before { left: 0; }
.orx-stepper-step::after  { right: 0; }
.orx-stepper-step:first-child::before,
.orx-stepper-step:last-child::after { display: none; }

.orx-badge {
    line-height: 2em;
    width: 2em;
    height: 2em;
    display: inline-block;
    border-radius: 20%;
    text-align: center;
    font-size: 0.9em;
    margin-bottom: 8px;
    font-weight: bold;
    background: #fff;
    color: #919395;
}
.orx-stepper-step-title {
    margin: 8px 0 0;
    line-height: 1.3;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    color: #5a626b;
}

/* Step dot: circular, sits above the connector lines */
.orx-stepper-step-number {
    position: relative;
    z-index: 1;
    width: 34px;
    height: 34px;
    line-height: 30px;
    border-radius: 50%;
    border: 2px solid #d6dae0;
    background: #fff;
    color: #9aa3ad;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin: 0;
    transition: all 0.2s ease;
}

  /* Active and completed steps */
.orx-stepper-step.active .orx-stepper-step-number,.orx-stepper-step.completed .orx-stepper-step-number {
    background: var(--main-bg-color);
    border-color: var(--main-bg-color);
    color: #fff;
}

.orx-stepper-step.active .orx-stepper-step-number {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--main-bg-color) 18%, transparent);
}

.orx-stepper-step.active .orx-stepper-step-title,.orx-stepper-step.completed .orx-stepper-step-title {
    color: var(--main-bg-color);
}

/* Colour the connector up to (and through) the active step */
.orx-stepper-step.completed::before,
.orx-stepper-step.completed::after,
.orx-stepper-step.active::before {
    background: var(--main-bg-color);
}

.orx-stepper-step.pointer:not(.active) {cursor: pointer;}
.orx-stepper-step.pointer:not(.active):hover .orx-stepper-step-number {border-color: var(--main-bg-color); color: var(--main-bg-color);}

  /* Stepper content */
.orx-stepper-wrapper-items {
    padding: 2em; /* Padding around the content */
}

.orx-stepper-item {
    display: none; /* Hide all steps by default */
}

.orx-stepper-item.active {
    display: block; /* Only display the active step */
}

.block .fieldset .legend {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.block .fieldset .legend .action-block .btn {
    margin-bottom: 0px;
    height: 20px;
    width: 20px;
    line-height: 20px;
    padding: 0px;
}
.block .fieldset .legend .action-block {
    align-self: flex-end;
    margin-left: auto;
}

@media all and (min-width: 769px) {
	.orx-stepper-wrapper-items {
		margin: 0 min(10vw, 200px);
		padding: 0.5em;
	}
    .popup .orx-stepper-wrapper-items {
		margin:0px;
        padding:0;
	}
}

@media all and (max-width: 768px) {
	.orx-stepper-wrapper-items {
		margin: 0px;
	}
    .popup .orx-stepper-wrapper-items {
		margin: 0px;
	}
}

/* ============================================================================
   Variant Tabs Component - Vanilla JS + jQuery UI Sortable
   ============================================================================ */
.variant-tabs-panel  .bs-panel {margin-top:0}
.variant-tabs-panel .ui-title-count {
    display: none;
}

/* Container */
.variant-tabs-panel {
    position: relative;
    z-index: 0;
}

.variant-tabs-panel .fxgdp {
    position: relative;
    z-index: 0;
}

.variant-tabs-container {
    position: relative;
    z-index: 10;
    overflow: visible;
}

.variant-tabs-container .dropdown-menu {
    z-index: 10000;
}

/* Force dropdown above scroll/stacking contexts */
.variant-tabs-container .dropdown-menu.show {
    position: fixed !important;
}

.variant-tabs-list::-webkit-scrollbar {
    display: none;
}

/* Tab actions visibility */
.variant-tab-actions {
    opacity: 0;
    transition: opacity 0.15s ease;
}

.nav-item:hover .variant-tab-actions,
.variant-tab-actions.show {
    opacity: 1 !important;
}

/* Count badge — auto flex alignment for any tab containing a count */
.nav-link:has(.ui-tab-count) {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ui-tab-count.d-none {
    display: none !important;
}

.nav-link.active .ui-tab-count {
    display: inline !important;
}

.ui-tab-count {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    color: #fff;
    background-color: var(--main-bg-color);
    font-weight: 600;
}

/* Add button */
.variant-tabs-add-btn {
    border-style: dashed !important;
}

/* Context menu */
.variant-tab-context-menu {
    position: fixed;
    z-index: 1050;
    min-width: 160px;
}

.variant-tab-option {
    display: none;
}

/* Show only on active tab */
.variant-tab-option {
    display: none;
}

.nav-link.active .variant-tab-option {
    display: inline-block;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.nav-link.active:hover .variant-tab-option {
    opacity: 1;
}

/* ============================================================================
   TAB STYLES
   ============================================================================ */
.variant-tabs-list {margin-bottom: -1px}

.variant-tabs-list .nav-item {
    cursor: grab;
    user-select: none;
    z-index:1;
}
.variant-tabs-list .nav-item .nav-link {
    cursor: pointer;
}
.variant-tabs-list .nav-item .nav-link.active {
    cursor: grab;
}

.variant-tabs-list .nav-item:active,
.variant-tabs-list .nav-item:active .nav-link {
    cursor: grabbing;
}

.variant-tabs-list .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
    margin-bottom: -1px;
    transition: all 0.15s ease;
}

.variant-tabs-list .nav-link:hover {
    border-color: var(--bs-border-color) var(--bs-border-color) transparent;
    isolation: isolate;
    background-color: rgba(0, 0, 0, 0.02);
}

.variant-tabs-list .nav-link.active {
    border-color: var(--bs-border-color) var(--bs-border-color) #fff;
    background-color: #fff;
}

.variant-tab-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
}

.variant-tab-remove:hover {
    color: var(--bs-danger) !important;
    transform: scale(1.1);
    transition: all 0.15s ease;
}

.variant-tab-menu-btn:hover {
    color: var(--bs-body-color) !important;
}
.variant-tabs-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch; /* smooth scroll iOS */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    position: relative;
    z-index: 2;
}

/* Cacher la scrollbar mais garder le scroll */
.variant-tabs-list::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Chaque tab ne doit pas rétrécir */
.variant-tabs-list .nav-item {
    flex-shrink: 0;
}
.variant-tabs-container {
    position: relative;
}

/* Fade à droite quand il y a du contenu caché */
.variant-tabs-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(to right, transparent, white);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

/* Afficher le fade seulement si scroll possible */

/* Fade à gauche aussi si scrollé */
.variant-tabs-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(to left, transparent, white);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 1;
}

/* ============================================================================
   JQUERY UI SORTABLE
   ============================================================================ */

/* Placeholder */
.variant-tab-placeholder {
    display: inline-flex !important;
    align-items: center;
    border: 2px dashed #dee2e6 !important;
    border-radius: 0.375rem !important;
    background: rgba(0, 0, 0, 0.03) !important;
    margin: 0 2px;
    box-sizing: border-box;
}

/* Helper (dragged element) */
.ui-sortable-helper {
    z-index: 10000 !important;
    cursor: grabbing !important;
}

.ui-sortable-helper .nav-link {
    border: 1px solid var(--bs-border-color) !important;
    background: #fff !important;
}

.ui-sortable-helper .variant-tab-actions {
    display: none !important;
}
/* ============================================================================
   VARIANT TABS - RESPONSIVE
   ============================================================================ */
@media (max-width: 767.98px) {
    /* Padding pour laisser de l'espace au fade */
    .variant-tabs-list {
        padding-right: 20px;
    }

    /* Tabs plus compacts sur mobile */
    .variant-tabs-list .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    /* Cacher le compteur sur très petit écran */
    .variant-tabs-list .ui-tab-count {
        display: none;
    }
}

@media (max-width: 575.98px) {
    /* Encore plus compact */
    .variant-tabs-list .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.8125rem;
    }

    /* Cacher les actions sur mobile (seulement sur hover/touch) */
    .variant-tabs-list .variant-tab-actions {
        display: none;
    }
}

/* =============================================
   VARIANT TABS - Scroll Arrows
   ============================================= */

/* Wrapper pour les tabs avec overflow */
.variant-tabs-wrapper {
    position: relative;
    flex: 0 1 auto;
    min-width: 0; /* Important pour que flex shrink fonctionne */
    max-width: 100%;
    overflow: hidden;
}

/* Liste des tabs : scroll horizontal caché */
.variant-tabs-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.variant-tabs-list::-webkit-scrollbar {
    display: none;
}

.variant-tabs-list .nav-item {
    flex-shrink: 0;
}

/* =============================================
   SCROLL ARROWS
   ============================================= */

.variant-tabs-scroll-btn {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 32px;
    border: none;
    color: #6b7280;
    cursor: pointer;
    z-index: 20;
    display: none; /* Caché par défaut */
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

.variant-tabs-scroll-btn:hover {
    color: #0d6efd;
}

.variant-tabs-scroll-btn--left {
    left: var(--variant-tabs-pinned-width, 0);
    background: linear-gradient(to left, transparent, white 40%);
    padding-right: 8px;
}

/* Pinned tab: stays stuck to the left edge, ignored by horizontal scroll */
.variant-tabs-list .nav-item.variant-tab-pinned {
    position: sticky;
    left: 0;
    z-index: 3;
    background: #fff;
    cursor: pointer;
}

.variant-tabs-scroll-btn--right {
    right: 0;
    background: linear-gradient(to right, transparent, white 40%);
    padding-left: 8px;
}

/* Afficher les boutons uniquement quand on peut scroller */
.variant-tabs-wrapper.can-scroll-left .variant-tabs-scroll-btn--left,
.variant-tabs-wrapper.can-scroll-right .variant-tabs-scroll-btn--right {
    display: flex;
}

/* =============================================
   ADD BUTTON (reste toujours visible à droite)
   ============================================= */
.variant-tabs-add {
    flex-shrink: 0;
    margin-left: 0.5rem;
    margin-bottom: 2px;
}

