/*.customer-logo {
    margin-bottom: 0px;
    max-width: 160px;
   max-height: 43px;
}



/* Corrige décalage déploiements */
/*div[data-alpaca-container-item-name="virtual_deployments"] .row:not(:first-child) {
    margin-left: 0px;
}

/*réponses champs radio en ligne*/
NO.alpaca-control[name="virtual_custom_x"].checkbox label input {
    margin-top: 2px;
}

div.alpaca-layout-binding-holder>div>div.form-group[class*="ctl-form-Processing-mode-41-CUSTOM_CUST_TRANSFRONTALIER"].alpaca-field-radio,
div.alpaca-layout-binding-holder>div>div.form-group[class*="ctl-form-Processing-mode-41-CUSTOM_DEPLOYMENT"].alpaca-field-radio{
  margin-bottom: 8px;
}

div[class*="ctl-form-Processing-mode-41-CUSTOM_CUST_TRANSFRONTALIER"].alpaca-field-radio .col-sm-9,
div[class*="ctl-form-Processing-mode-41-CUSTOM_DEPLOYMENT"].alpaca-field-radio .col-sm-9{
    display: flex;
}

div[class*="ctl-form-Processing-mode-41-CUSTOM_CUST_TRANSFRONTALIER"] .radio,
div[class*="ctl-form-Processing-mode-41-CUSTOM_DEPLOYMENT"] .radio{
    cursor: pointer;
    margin-bottom: 0;
    margin-top: 0;
}

div[class*="ctl-form-Processing-mode-41-CUSTOM_CUST_TRANSFRONTALIER"] .radio+.radio,
div[class*="ctl-form-Processing-mode-41-CUSTOM_DEPLOYMENT"] .radio+.radio{
    margin-left: 30px;
}

/*supprimer (choisissez une valeur)*/
.p4-ctl-form-Processing-mode-41-CUSTOM_CUST_TRANSFRONTALIER div div:first-child,
.p4-ctl-form-Entity-mode-81-CUSTOM_CONSOLIDATED div div.alpaca-control:first-child,
.p4-ctl-form-Entity-mode-81-CUSTOM_CUST_NAT div div.alpaca-control:first-child {
    display: none !important;
}




/* Update V5 */

.dashboard.standard .item.data-subjects {
    grid-column: 4 / span 2;
    grid-row: 1 /span 3;
    height: 100%;
    min-height: 200px;
    width: 50%;
    margin-left: 450px;
}

.dashboard.standard .item.data-subjects .chart {
  margin-top: -160px;
}

.dashboard div[class*=p4-dashboard-cell-] > div[class*=selector-container], .dashboard div[class*=p4-dashboard-cell-] button.fa-camera {
    display: revert;
}

.p4-spider-selector,
div[p4-code="DONUT.Processing.CODE.BY_STATUS"] .p4-donut-selector,
div[p4-code="DONUT.Contract.CODE.BY_STATUS"] .p4-donut-selector,
div[p4-code="DONUT.Activity.CODE.BY_STATUS"] .p4-donut-selector,
div[p4-code="DONUT.Activity.CODE.BY_TYPE"] .p4-donut-selector,
div[p4-code="DONUT.Dbn.CODE.BY_STATUS"] .p4-donut-selector,
div[p4-code="STACKCHART.Contract.CODE.STATUS"] .p4-stackchart-selector,
div[p4-code="STACKCHART.Processing.CODE.STATUS"] .p4-stackchart-selector,
div[p4-code="BARCHART.Processing.CODE.COMPLIANCE"] .p4-barchart-selector,
div[p4-code="PIE.Contract.CODE.CATEGORY"] .p4-pie-selector,
div[p4-code="PIE.Contract.CODE.DATACLASS"] .p4-pie-selector,
div[p4-code="PIE.Dbn.CODE.CRITICALITY"] .p4-pie-selector,
div[p4-code="PIE.Dbn.CODE.CRITICALITY_TO_DATA_SUBJECT"] .p4-pie-selector,
div[p4-code="PIE.Dbn.CODE.TIMETOCLOSE"] .p4-pie-selector,
div[p4-code="PIE.Processing.CODE.SUBJECT"] .p4-pie-selector,
div[p4-code="PYRAMID.Contract.CODE.RISK"] .p4-pyramid-selector,
div[p4-code="PYRAMID.Processing.CODE.RISK"] .p4-pyramid-selector,
div[p4-code="BARCHART.Processing.CODE.PROGRESS"] .p4-barchart-selector
{
    min-width: 100px;
}

.dashboard.standard .spider {
    width: 100%;
    height: 90%;
    min-height: 300px;
}

.dashboard.standard .spider2 {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.dashboard .item.processing {
    border-color: var(--text-processing);
}

.dashboard .block.processing .status.created .symbol:after,
.dashboard .block.processing2 .status.created .symbol:after {
    border-bottom: 12px dotted var(--text-processing);
}
.dashboard .block.processing .status.confirmed .symbol:after,
.dashboard .block.processing2 .status.confirmed .symbol:after {
    border-bottom: 12px dashed var(--text-processing);
}
.dashboard .block.processing2 .status.validated .symbol:after {
    border-bottom: 12px solid var(--text-processing);
}
.dashboard .block.processing2 .status.finished .symbol:after {
    border-bottom: 24px double var(--text-processing);
}

.dashboard .block.processing2 {
    border-color: var(--text-processing);
}

.dashboard.standard .p4-dashboard-cell-pyramid {
    width: 100%;
    height: 100%;
    min-height: 260px;
}

.dashboard.standard .p4-pyramid-chart,
.dashboard.standard .block.processing .p4-pie-chart {
    width: 90% !important;
    height: 90% !important;
}
.dashboard.standard .p4-spider-chart {
    width: 100% !important;
    height: 90% !important;
}
.dashboard.standard .block.processing .p4-pie-chart {
  min-height:300px;
}

.dashboard.standard  .chart[p4-code="DONUT.Activity.CODE.BY_STATUS"] .p4-donut-chart {
    width: 70% !important;
    height: 70% !important;
    min-height: 200px;
}

.dashboard.standard .block.activity .total {
    margin-top: -10px;
    margin-left: -100px;
}

  

.dashboard.standard .block.processing .p4-dashboard-cell-pie {
  height: 80% !important;
  min-height: 360px;
}

.dashboard.standard .block.processing {
    grid-template-rows: unset;
}

.jqx-toolbar-minimized-popup button[p4-role="deployment"][p4-index="0"] {
    margin-left: calc(100% - 130px) !important;
    border-radius: 10px 0 0 10px;
}

.jqx-toolbar-minimized-popup button[p4-role="deployment"][p4-index="2"] {
    border-radius: 0 10px 10px 0;
    top: 2px;
    position: relative;
}

.jqx-toolbar-minimized-popup button[p4-role=deployment] {
    display: inline !important;
    cursor: pointer;
}


.dashboard .status div {
    text-align: center;
}

.mega.light.block.cols-5 {
    grid-template-columns: repeat(5,1fr);
}

.mega.light .status.created .symbol:after {
    border-bottom: 12px dotted var(--text-processing);
}

.mega.light .status.confirmed .symbol:after {
    border-bottom: 12px dashed var(--text-processing);
}

/* Add .c0031 to template .dashboard.plus */
.dashboard.plus.c0031 .p4-barchart-chart,
.dashboard.plus.c0031 .p4-donut-chart,
.dashboard.plus.c0031 .p4-pie-chart,
.dashboard.plus.c0031 .p4-pyramid-chart,
.dashboard.plus.c0031 .p4-spider-chart {
    height: calc(100% - 36px);
}

.dashboard.plus.c0031 div[class*=p4-dashboard-cell-] > .p4-donut-selector-container + button.p4-chart-screenshot,
.dashboard.plus.c0031 div[class*=p4-dashboard-cell-] > .p4-donut-selector-container + button.p7y-chart-enlarge {
    top: calc(100% - 40px);
}

.dashboard.plus.c0031 .block .item .chart {
    min-height: 320px;
}

.dashboard.plus.c0031 .item.risk {
    grid-row-gap: 20px;
}

.dashboard.plus.c0031  div[p4-code="BARCHART.Processing.CODE.COMPLIANCE"] button.p7y-chart-enlarge,
.dashboard.plus.c0031  div[p4-code="PYRAMID.Processing.CODE.RISK"] button.p7y-chart-enlarge {
    top: calc(100% - 20px) !important;
}

.dashboard.plus.c0031  div[p4-code*="PIE.Dbn.CODE."] button.p7y-chart-enlarge {
    top: calc(100% - 36px) !important;
}

.dashboard.plus.c0031  div[p4-code*="DONUT.Activity.CODE.BY_TYPE"] button.p7y-chart-enlarge {
    top: calc(100% + 20px) !important;
}

/* StackChart Processing */
div.chart[p4-code="STACKCHART.Processing.CODE.STATUS"] path[stroke*="#F2A500"] {
    stroke: black;
}

div.chart[p4-code="STACKCHART.Processing.CODE.STATUS"] rect[stroke*="#F2A500"] {
    stroke: black;
    fill: black;
}

div.chart[p4-code="STACKCHART.Processing.CODE.STATUS"] path[stroke*="#FF6D07"] {
    stroke: #338937;
}

div.chart[p4-code="STACKCHART.Processing.CODE.STATUS"] rect[stroke*="#FF6D07"] {
    stroke: #338937;
    fill: #338937;
}

div.chart[p4-code="STACKCHART.Processing.CODE.STATUS"] path[stroke*="#87B300"] {
    stroke: #9AA31B;
}

div.chart[p4-code="STACKCHART.Processing.CODE.STATUS"] rect[stroke*="#87B300"] {
    stroke: #9AA31B;
    fill: #9AA31B;
}

div.chart[p4-code="STACKCHART.Processing.CODE.STATUS"] path[stroke*="#2B9641"] {
    stroke: #E36700;
}

div.chart[p4-code="STACKCHART.Processing.CODE.STATUS"] rect[stroke*="#2B9641"] {
    stroke: #E36700;
    fill: #E36700;
}


div.chart[p4-code="STACKCHART.Processing.CODE.STATUS"] path[stroke*="#1F99D3"] {
    stroke: #F83223;
}

div.chart[p4-code="STACKCHART.Processing.CODE.STATUS"] rect[stroke*="#1F99D3"] {
    stroke: #F83223;
    fill: #F83223;
}

/* icônes mesures */

	/* catégories de la librairie */
.p7y-pillselect-library-group.src-ISO27002 > span.src:before {
    content: "\f0ac";
}

.p7y-pillselect-library-group.src-CNIL > span.src:before {
    content: "\e4d5";
}

.p7y-pillselect-library-group.src-EIFFAGE > span.src:before {
    content: "\e4d8";
}


	/* mesures (librairie et appliquée) */
.measure[class*=src-ISO27002] .source .ISO27002,
.measure[class*=src-CNIL] .source .CNIL,
.measure[class*=src-EIFFAGE] .source .EIFFAGE
 {
    display: revert;
}

 /* Doc shortcut */
 .p4-menu .p4-grid-container .p4-grid-class-button.p4-grid-class-Page {
      background-color: #455859;
      border-color: #455859
 }


/*self reg champ langue horizontale*/

.form-group[data-alpaca-field-name="main_language_id"] .col-sm-9 .alpaca-control.radio,
.form-group[data-alpaca-field-name="virtual_assn_languageassecondary"] .col-sm-9 .alpaca-control.checkbox {
    display: inline-block !important;
    margin-bottom: 0;
    margin-top: 0;
    cursor: pointer;    
}

.form-group[data-alpaca-field-name="main_language_id"] .col-sm-9 .radio:not(:first-child),
.form-group[data-alpaca-field-name="virtual_assn_languageassecondary"] .col-sm-9 .checkbox:not(:first-child) {
    margin-left: 30px;
}

.form-group[data-alpaca-field-name="virtual_assn_languageassecondary"] .col-sm-9 .checkbox:first-child {
    margin-left: 10px;
}

.form-group[data-alpaca-field-name="main_language_id"] .col-sm-9 .alpaca-control.radio label input,
.form-group[data-alpaca-field-name="virtual_assn_languageassecondary"] .col-sm-9 .alpaca-control.checkbox label input {
    margin-top: 2px;
}

/* remove reco */

.measures-summary td.p7y-reco {
    display: none;
}

.measures-summary thead td:nth-child(2),
.measures-summary thead td:nth-child(3) {
    width: 100px !important;
    min-width: 100px !important;
}

.measure.p7y-w-toggle .tools button:nth-child(1) {
    display: none;
}

/*couleur mesure*/

/*couleurs mesures*/

:root {
    --measure-PEOPLE: #ed5b61;
}
.p7y-pillselect-library-group.type-PEOPLE {
    background-color:var(--measure-PEOPLE);
    border-color:var(--measure-PEOPLE);
}
.measure[class*=type-PEOPLE] .type {
    border-color: var(--measure-PEOPLE);
}
.css-grid .summary[class*=type-PEOPLE], .measure[class*=type-PEOPLE] .type {
    background-color: var(--measure-PEOPLE);
}
.measures-summary tr[class*=type-PEOPLE] .summary {
    border-top-color: var(--measure-PEOPLE);
}

/* Add specific colors */

.measures-summary tr[class*="type-PEOPLE"] i.fal.fa-thumbs-up,
.measure[class*="type-PEOPLE"] .tools button.jqx-fill-state-pressed {
    color: var(--measure-PEOPLE);
}

/* Fix 5.1.2 */
.p7y-pillselect-library-group > span.src {
    white-space: nowrap;
}


/* affichage sources dans les mesures*/
.p7y-pillselect-library-group > span.src {
    visibility: revert;
}
.p7y-pillselect-library-group > span.src:before {
    margin-right: 2px;
}

/* Export register id 73: hide data subject selector */
.p4-register-container[p4-template-id="73"] .alpaca-container-item[data-alpaca-container-item-name=subject] {
  display: none;
}

/* AI */

form[p4-class="AIAct"][data-tab="13"] .alpaca-layout-binding-holder[class*=CUSTOM_AI_DIAG] {
    display: none;
}

/*afficher les champs face à face*/


/*.p4-holder-form-AIAct-mode-281-CUSTOM_LVL_RESPONSIBILITY, 
.p4-holder-form-AIAct-mode-281-CUSTOM_LVL_TRANSPARENCY, 
.p4-holder-form-AIAct-mode-281-CUSTOM_LVL_EXPLAINABLE,
.p4-holder-form-AIAct-mode-281-CUSTOM_LVL_INTERPRETABLE,
.p4-holder-form-AIAct-mode-281-CUSTOM_LVL_EQUITABLE,
.p4-holder-form-AIAct-mode-281-CUSTOM_LVL_IMPARTIALITY,
.p4-holder-form-AIAct-mode-281-CUSTOM_LVL_PRIVACY,
.p4-holder-form-AIAct-mode-281-CUSTOM_LVL_SECURE,
.p4-holder-form-AIAct-mode-281-CUSTOM_LVL_VALID,
.p4-holder-form-AIAct-mode-281-CUSTOM_LVL_SECURITY {
  width: 50%;
  margin-left: unset;
}

.alpaca-layout-binding-holder.p4-holder-form-AIAct-mode-281-CUSTOM_LVL_RESPONSIBILITY, 
.alpaca-layout-binding-holder.p4-holder-form-AIAct-mode-281-CUSTOM_LVL_TRANSPARENCY, 
.alpaca-layout-binding-holder.p4-holder-form-AIAct-mode-281-CUSTOM_LVL_EXPLAINABLE, 
.alpaca-layout-binding-holder.p4-holder-form-AIAct-mode-281-CUSTOM_LVL_INTERPRETABLE, 
.alpaca-layout-binding-holder.p4-holder-form-AIAct-mode-281-CUSTOM_LVL_EQUITABLE
{
  float: left;
}


.alpaca-layout-binding-holder.p4-holder-form-AIAct-mode-281-CUSTOM_LVL_IMPARTIALITY, 
.alpaca-layout-binding-holder.p4-holder-form-AIAct-mode-281-CUSTOM_LVL_PRIVACY, 
.alpaca-layout-binding-holder.p4-holder-form-AIAct-mode-281-CUSTOM_LVL_SECURE, 
.alpaca-layout-binding-holder.p4-holder-form-AIAct-mode-281-CUSTOM_LVL_VALID, 
.alpaca-layout-binding-holder.p4-holder-form-AIAct-mode-281-CUSTOM_LVL_SECURITY {
  float: right;
}

.alpaca-layout-binding-holder[class*=CUSTOM_LVL] + div {
  clear: right;
}*/

form.p4-a_i_act .p4-form-content > .tab-content > div.tab-pane.active:nth-child(15) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  row-gap: 1rem;
}

form.p4-a_i_act .p4-form-content > .tab-content > div.tab-pane.active:nth-child(15) > div:first-child,
form.p4-a_i_act .p4-form-content > .tab-content > div.tab-pane.active:nth-child(15) > div:last-child {
  grid-column: 1 / -1;
}

/* Sélecteur pour les 3ᵉ colonnes */
form.p4-a_i_act .p4-form-content > .tab-content > div.tab-pane.active:nth-child(15) > :nth-child(3n + 3)  label.col-sm-3,
form.p4-a_i_act .p4-form-content > .tab-content > div.tab-pane.active:nth-child(15) > :nth-child(3n + 1)  label.col-sm-3 {
  display: none;
}

form.p4-a_i_act .p4-form-content > .tab-content > div.tab-pane.active:nth-child(15) > :nth-child(3n + 3)  .col-sm-9,
form.p4-a_i_act .p4-form-content > .tab-content > div.tab-pane.active:nth-child(15) > :nth-child(3n + 1)  .col-sm-9 {
  width: 100%;
}

form.p4-a_i_act .p4-form-content > .tab-content > div.tab-pane.active:nth-child(15) > :nth-child(6n+5),
form.p4-a_i_act .p4-form-content > .tab-content > div.tab-pane.active:nth-child(15) > :nth-child(6n+6),
form.p4-a_i_act .p4-form-content > .tab-content > div.tab-pane.active:nth-child(15) > :nth-child(6n+7) {
  background: #f7f7fb; /* couleur pour lignes impaires */
  padding-top: 15px
}

/* Groupe 2 (indices 5,6,7), puis 11,12,13, ... => 6n + 5..7 */
form.p4-a_i_act .p4-form-content > .tab-content > div.tab-pane.active:nth-child(15) > :nth-child(6n+2),
form.p4-a_i_act .p4-form-content > .tab-content > div.tab-pane.active:nth-child(15) > :nth-child(6n+3),
form.p4-a_i_act .p4-form-content > .tab-content > div.tab-pane.active:nth-child(15) > :nth-child(6n+4) {
  background: #ffffff; /* couleur pour lignes paires */
}

/* Light : hide AIAct new button */
body.p5-role-self-reg[data-p5-home="74"] .card[data-class="AIAct"] .bottom a {
    display: none;
}

body.p5-role-aiact-scope-editor[data-p5-home="74"] .card[data-class="Processing"] {
    display: none;
}

.p7y-ps-library-group.type-PEOPLE {
    background-color: var(--measure-PEOPLE);
    border-color: var(--measure-PEOPLE);
}

/* Self Reg : AI Act */

body.default.p5-role-self-reg form[p4-class="AIAct"] .p7y-form-tabs.nav.nav-tabs > li:nth-child(5),
body.default.p5-role-self-reg form[p4-class="AIAct"] .p7y-form-tabs.nav.nav-tabs > li:nth-child(6),
body.default.p5-role-self-reg form[p4-class="AIAct"] .p7y-form-tabs.nav.nav-tabs > li:nth-child(7),
body.default.p5-role-self-reg form[p4-class="AIAct"] .p7y-form-tabs.nav.nav-tabs > li:nth-child(8),
body.default.p5-role-self-reg form[p4-class="AIAct"] .p7y-form-tabs.nav.nav-tabs > li:nth-child(9),
body.default.p5-role-self-reg form[p4-class="AIAct"] .p7y-form-tabs.nav.nav-tabs > li:nth-child(10),
body.default.p5-role-self-reg form[p4-class="AIAct"] .p7y-form-tabs.nav.nav-tabs > li:nth-child(11),
body.default.p5-role-self-reg form[p4-class="AIAct"] .p7y-form-tabs.nav.nav-tabs > li:nth-child(12),
body.default.p5-role-self-reg form[p4-class="AIAct"] .p7y-form-tabs.nav.nav-tabs > li:nth-child(13),
body.default.p5-role-self-reg form[p4-class="AIAct"] .p7y-form-tabs.nav.nav-tabs > li:nth-child(14),
body.default.p5-role-self-reg form[p4-class="AIAct"] .p7y-form-tabs.nav.nav-tabs > li:nth-child(15),
body.default.p5-role-self-reg form[p4-class="AIAct"] .p7y-form-tabs.nav.nav-tabs > li:nth-child(17) {
    display: none;
}

/*activity curseur*/

form[p4-class=Activity] div[alpaca-layout-binding-field-name="progress_id"],
form[p4-class=Activity] div[alpaca-layout-binding-field-name="priority_id"],
form[p4-class=Activity] div[alpaca-layout-binding-field-name="criticality_id"] {
  display: inline-flex;
  width: calc(33.3% - 20px); /* 3 */
  _width: calc(50% - 20px); /* 2 */
  margin: 10px;
  justify-content: space-between;
}
form[p4-class=Activity] div[alpaca-layout-binding-field-name="progress_id"] > div,
form[p4-class=Activity] div[alpaca-layout-binding-field-name="priority_id"] > div,
form[p4-class=Activity] div[alpaca-layout-binding-field-name="criticality_id"] > div {
  width: 100%
}
form[p4-class=Activity] div[alpaca-layout-binding-field-name="details"] .col-sm-3 {
  width: 8.3%; /* 3 */
  _width: 12.5%; /* 2 */
}
form[p4-class=Activity] div[alpaca-layout-binding-field-name="details"] .col-sm-9 {
  width: 91.7%; /* 3 */
  _width: 87.5%; /* 2 */
}

/* CSS A enlever après mise à jour version supérieure à 5.6.2 */
.p7y-light[data-length="1"] .card {
    min-width: 600px;
}