@font-face {
    font-family: inter;
    src: url(../font/Inter-Bold.ttf);
    font-weight: 700;
}

@font-face {
    font-family: inter;
    src: url(../font/Inter-Black.ttf);
    font-weight: Bolder;
}

@font-face {
    font-family: inter;
    src: url(../font/Inter-Light.ttf);
    font-weight: 300;
}

@font-face {
    font-family: inter;
    src: url(../font/Inter-Regular.ttf);
    font-weight: 400;
}

:root {
    --n-blue: #005695;
    --n-blue-dark: #002c4c;
    --n-grey: #F8F8FA;
    --n-grey-link: #000000a6;
    --n-grey-backgound-link: #F8F9FA;
    --n-light-border: #f3f3f3;
    --n-grey-border: #a2a2a2a6;
}


* {
    font-family: "inter";
}

body{
    /*overflow-x: hidden;*/
    background: var(--n-grey);
}

a{
    color: var(--n-blue);
    text-decoration: none;
}

a:hover{
    color: var(--n-blue-dark);
}

.fs-7 {
    font-size: 0.9rem;
}

.gap-6 {
    gap: 4rem !important;
}

.btn-primary, .form-check-input:checked{
    background-color: var(--n-blue);
    border-color: var(--n-blue);
}

.btn-primary:hover{
    background-color: var(--n-blue-dark);
    border-color: var(--n-blue-dark);
}

#index header, #n-header-menu, #authorisations header{
    border-bottom: 1px dotted var(--n-grey-border);
    background: white;
}



.n-card {
    min-width: 230px;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    text-transform: uppercase;
    transition: all 0.1s;
}

.n-card-mini {
    min-width: inherit;
    /* width: 123px; */
    box-shadow: none;
    /* text-transform: uppercase; */
    color: var(--n-blue)!important;
    transition: all 0.1s;
    border: 1px dotted white;
    border-radius: var(--bs-border-radius);
}

.n-card p {
    background-color: var(--n-blue);
    color: white;
    width: 100%;
    margin: 0;
    transition: all 0.1s;
}

.n-card:hover {
    background-color: var(--n-blue);
    transform: scale(1.03);
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

.n-card-mini:hover{
    background: var(--n-grey);
    border: 1px dotted var(--n-grey-border);
}

/* .n-card:hover p {
    background-color: var(--n-blue-dark);
    color: white;
} */

.n-card:active {
    background-color: var(--n-blue-dark);
}

.n-borders-item{
    border-right: 1px dotted var(--n-grey-border);
    border-left: 1px dotted var(--n-grey-border);
    min-height: 69px;
}

/* .n-grouped-items {
    border-right: 1px solid var(--n-grey-border);
    z-index: 5;
} */

.n-grouped-title {
    font-size: 0.7rem;
}

.n-card .n-grouped-items-cards-title {
    /* min-height: 32px; */
    background-color: white;
    color: var(--n-blue);
}

.n-card .n-param-btn{
    background: white;
    color: black;
}

.n-card:hover .n-param-btn{
    color: white;
}

.n-card-max-height{
    max-height: 133px;
}

#n-menu-collapse{
    position: absolute;
    bottom: -51px;
    left: 50%;
    transform: translate(-50%,-50%);
    background: white;
    border-bottom: 2px solid var(--n-light-border);
    z-index: 2;
    cursor: pointer;
    color: var(--n-grey-link);
}

#n-menu-collapse:hover{
    color: black;
}

#n-header-menu img{
    height: 20px;
}

#n-header-menu-slide{
    transition: all 0.4s;
    margin-left: 250px;
    align-items: start;
}

#n-ariane{
    /* border-top: 16px solid var(--n-light-border); */
}

.n-item-active {
    background: var(--n-grey);
    border: 1px dotted var(--n-grey-border);
}

.n-arrow{
    right: 1rem;
}

#parameter-values .n-arrow, #authorisation-values .n-arrow{
    display: none;
}

.n-table-pointer tbody tr, .n-table-pointer .form-check-label{
    cursor: pointer;
}

.parameter-name, .authorisation-name{
    padding: 10.5px 0.25rem 11px 1rem!important;
    color: var(--n-blue)!important;
}
.production-line{
    padding: 10.5px 0.25rem 11px 1rem!important;
    color: var(--n-blue)!important;
}

.false-input-alert{
    border: 2px solid red;
}

#logo-naturnes{
    width: 154px;
    top: 31px;
    z-index: 8;
}

.n-header-menu-index img{
    height: 35px;
}

#index .n-grouped-title{
    display: none;
}

#index .n-card-mini{
    border-color: var(--n-grey-border);
    margin-left: 0;
    margin-right: 1rem;
    transition: all 0.1s;
    width: 180px;
    margin-bottom: 1rem;
    font-size: 1rem;
    min-height: 86px;
    border:none;
}

#index .n-card-mini:hover{
    transform: scale(1.03);
    background: white;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

#index .n-grouped-items-cards-title{
    line-height: 1rem!important;
}

.btn.disabled{
    border:none;
    opacity:0.3;
}

div.dataTables_wrapper div.dataTables_paginate{
    margin-top:1rem;
}

.upgrade-level-skills{
    min-height: 37px;
}

.level-skill{
    display: none;
}

.level-skill.active{
    display: block;
}
.upgrade-sequence-case{
    min-height: 37px;
}

.sequence-case{
    display: none;
    font-size:0.8rem;
}

.sequence-case.active{
    display: block;
}

#skills-matrix button{
    min-width: 37px;
    transition: all 0.03s;
    font-weight: bold;
    color: var(--n-blue);
}

#sequences-matrix button{
    transition: all 0.03s;
    font-weight: bold;
    color: var(--n-blue);
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}

.upgrade-level-skills{
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}

.upgrade-level-skills:hover, #sequences-matrix button:hover{
    box-shadow: rgba(50, 50, 93, 1) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.table-bordered>:not(caption)>*>* {
    border-width: 1 var(--bs-border-width);
}

.inputValue{
    font-weight: bold;
    color: var(--n-blue);
}

.form-check-authorisation{
    cursor:pointer;
}

.error_cycle{
    border: 4px solid red!important;
}

.timeline {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    padding: 20px;
    width:800px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-name {
    font-weight: bold;
    margin-top: 5px;
}

.step.active .step-icon {
    background-color: #28a745; /* Couleur pour l'étape en cours */
}

.step .step-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #007bff;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.arrow {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

/* tony scroll matrice */
.dgo-for-scroll-x{
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    padding: 0.5rem 0.5rem;
    /*background: white;*/
    /*background:#f5f5f5;*/
    visibility:hidden;
    height:100%;
    z-index:98;
}

#sequences-matrix.table-bordered>:not(caption)>*>*{
    border-width: 0 var(--bs-border-width)!important;
}

#sequences-matrix thead td{
    /*background:#ededed;*/
}

/* tony rotation */
.upgrade-teams-color {
    min-height: 30px;
    border-radius: 0;
}

.upgrade-teams-color div{
    display: none;
}

.upgrade-teams-color div.active{
    display: block;
}

/* tony rotation */

.upgrade-teams-color {
    min-height: 30px;
    border-radius: 0;
}

.upgrade-teams-color div {
    display: none;
}

.upgrade-teams-color div.active {
    display: block;
}

/* tony rotationplan */
.tdRotationWeek{
    cursor:pointer;
}
.displayRotationWeekDiv{
    display: flex;
    padding: 10px;
    border-bottom: 1px solid #e8e8e8;
    border-top: 1px solid #e8e8e8;
    gap: 20px;
    align-items: center;
}

.displayRotationWeekDiv p{
    margin-bottom: 0;
}

.weekDisplay{
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e2e2;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
}

.weekDisplay:hover{
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.displayRotationWeek {
    top: 0;
    left: 0;
    width: 100px;
    height: 100%;
    cursor: pointer;
}

.rotationRow {
    width: 100%;
    height: 7px;
    display: flex;
    justify-content: center;
    border-top: 1px solid white;
}

.rotationDiv {
    height: 100%;
    width: 14%;
    border-left: 1px solid white;
    font-size: 6px;
    line-height: 7px;
    text-align: center;
}

.displayRowWeekInChoice{
    border: 2px solid #be0a9a;
}

.displayRotationAbsoluteDiv{
    display: none;
    flex-direction: column;
    position: absolute;
    background: white;
    z-index: 8;
    bottom: 105%;
    left: -20%;
    border-bottom: none;
    padding: 10px;
    min-width: 107px;
    background: #f3f3f3;
}

.displayFlex{
    display: flex;
}

.displayRotationAbsoluteDivChoice{
    cursor: pointer;
}

.displayRotationAbsoluteDivChoice:hover{
    color: #be0a9a;
}

td .displayRotationWeek{
    width: 100%;
}

.tdRotationWeek{
    padding: 1px!important;
}

#sequences-matrix .show-cases .form-select{
    min-width: 55px;
    padding-left: 5px;
}

.upgrade-sequence-case{
    font-weight: bold;
}

.day-bordered{
    background-color: #b9bdc0;
    width: 1px;
    height: 15px;
}


.day-selection-status{
    font-size: 0.7rem;
    height: 33px;
    text-align: center;
    padding:0;
    background-image:none;
    white-space: normal;
    line-height: 12px;
}
.print-only {
    display: none;
}

@media print {
    .print-only {
        display: inline;
    }
    .noprint{
        display:none!important;
    }
    .select2{
        display:none!important;
    }
    thead {
        position: static !important;
    }
    #production_plan_table{
        font-size:1rem!important;
    }
    #production_plan_table input{
        font-size:1rem!important;
    }
}

.table-hover tbody tr:hover td,
.table-hover tbody tr:hover th,
.table-hover thead th.hover {
    background-color: #f5f5f5; /* Griser la ligne horizontale et l'en-tête */
}

.highlight-vertical {
    background-color: #b5b5b5!important; /* Griser la colonne verticale */
}

#button-wrapper {
    position: fixed;
    right: 0;
    bottom: 10px;
    width: 80px;
    z-index: 99;
}

#buttons-container {
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
}

#button-wrapper:hover #buttons-container {
    transform: translateX(0);
}

#buttons-container button {
    width: 65px;
    font-size: 0.7rem;
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.select2-container{
    width:100%!important;
}
.select2-container--default{
    padding:0px!important;
    margin:0px!important;
    font-size:0.8rem!important;
}

body {
    transition: none !important;
    animation: none !important;
}
div {
    transition: none !important;
    animation: none !important;
}
.container-fluid {
    transition: none !important;
    animation: none !important;
}
@-webkit-keyframes condemed_blink_effect {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes condemed_blink_effect {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.blink {
    -webkit-animation: condemed_blink_effect 0.8s linear infinite;
    animation: condemed_blink_effect 0.8s linear infinite;
}
