/* FONTS --- */
@font-face {
    font-family: Nova;
    src: url(../fonts/nova/ARIALNOVA.TTF);
}

@font-face {
    font-family: Nova-light;
    src: url(../fonts/nova/ARIALNOVA-LIGHT.TTF);
}

@font-face {
    font-family: Nova-bold;
    src: url(../fonts/nova/ARIALNOVA-BOLD.TTF);
    font-weight: bold;
}

@font-face {
    font-family: NovaCond;
    src: url(../fonts/nova/ARIALNOVACOND.TTF);
}

@font-face {
    font-family: NovaCond-light;
    src: url(../fonts/nova/ARIALNOVACOND-LIGHT.TTF);
}

@font-face {
    font-family: NovaCond-bold;
    src: url(../fonts/nova/ARIALNOVACOND-BOLD.TTF);
    font-weight: bold;
}
/* --- FONTS */

/* VARIBLES */
:root {
    /* FONT */
    --font-regular: "Nova", sans-serif;
    --font-regularLight: "Nova-light", sans-serif;
    --font-regularBold: "Nova-bold", sans-serif;

    --font-cond: "NovaCond", sans-serif;
    --font-condLight: "NovaCond-light", sans-serif;
    --font-condBold: "NovaCond-bold", sans-serif;

    --font-14: 14px;
    --font-16: 16px;
    --font-18: 18px;
    --font-24: 24px;

    /* COLOR */
    --colorPrimaire: #00205c;
    --colorSecondaire: #b9a37f;
    --colorTertiaire: #809fba;
    --colorNeutral: #f3f3f3;
    --colorAlertDanger: #cc2936;
    --colorAlertInfo: #08415c;
    --colorAlertSuccess: #273c2c;
}

.Debug {
    border: 1px solid rgba(255, 0, 0, 0.342);
}

/* -------- */
/* TYPO --- */
/* -------- */
.fontRegular-14 {
    font: var(--font-14) var(--font-regular);
}

.fontRegular-16 {
    font: var(--font-16) var(--font-regular);
}

.fontRegular-18 {
    font: var(--font-18) var(--font-regular);
}

.fontRegular-24 {
    font: var(--font-24) var(--font-regular);
}

.fontLight-14 {
    font: var(--font-14) var(--font-regularLight);
}

.fontLight-16 {
    font: var(--font-16) var(--font-regularLight);
}

.fontBold-14 {
    font: var(--font-14) var(--font-regularBold);
}

.fontBold-16 {
    font: var(--font-16) var(--font-regularBold);
}

.fontBold-18 {
    font: var(--font-18) var(--font-regularBold);
}

.fontBold-24 {
    font: var(--font-24) var(--font-regularBold);
}

/* Gros titre de fond dans le Header */
.titleGiantFont {
    font-weight: 800;
    font-size: 165px;
    line-height: 212px;
    text-align: center;
    color: rgba(255, 255, 255, 0.08);
    font-family: "Inter", sans-serif;
}
/* -------- */
/* --- TYPO */
/* -------- */

.colorPri {
    color: var(--colorPrimaire);
}

.backOr {
    background: var(--colorSecondaire);
}

/* ------- */
/* GENERAL */
/* ------- */
body {
    font: var(--font-16) var(--font-regular);
}

/* -------- */
/* LOGIN PAGE --- */
/* -------- */
.loginPage {
    background: var(--colorPrimaire);
    background: linear-gradient(196deg, rgba(0, 32, 92, 1) 39%, rgba(0, 18, 51, 1) 71%);
    width: 100vw;
    height: 100vh;
    padding: 0 35px;
}

.logo img {
    filter: invert(100%) brightness(200%);
    width: 300px;
    height: auto;
}

.loginPage input {
    border: 1px solid var(--colorTertiaire);
    border-radius: 15px;
}

.loginPage label {
    color: #fff;
}
/* -------- */
/* --- LOGIN PAGE */
/* -------- */

/* --------------- */
/* RESET BOOTSTRAP */
/* --------------- */

.row {
    --bs-gutter-x: 0;
}
/* BOUTON */
.btn-primary {
    background: var(--colorTertiaire);
    border: 0;
    font-size: 1rem;
    border-radius: 15px;
}

/* A HREF BOUTON */
.btnLink {
    border-radius: 20px;
    height: 45px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--colorTertiaire);
    transition: background 0.3s ease;
    z-index: 1;
}

.btnLink50 {
    width: 49%;
}

.btnLinkLine {
    height: 25px;
}

.btnLink a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    height: 100%;
    width: 100%;
}

.btnLink:hover {
    background: var(--colorPrimaire);
}

.btnLink a.actif {
    border-radius: inherit;
    background: var(--colorPrimaire);
}
/* ------ */
/* HEADER */
/* ------ */
header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background: var(--colorPrimaire);
    width: 100%;
    height: 90px;
    box-shadow: 0 1px 10px 1px rgba(0, 0, 0, 0.25);
    z-index: 5;
}

header .titleGiant {
    position: absolute;
    left: -10%;
    right: -10%;
    top: -59%;
    bottom: -73%;
    height: 148px;
    z-index: -2;
    overflow: hidden;
}

header .titleSmall {
    color: white;
    display: flex;
    flex-direction: column;
    height: inherit;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font: var(--font-14) var(--font-regular);
    margin-top: 2px;
}

/* NAV BACK */
.navBack {
    background-color: rgba(217, 217, 217, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: absolute;
    top: 25px;
    left: 25px;
    color: #fff;
    transition: all 0.3s ease;
    z-index: 5;
}

a.navBack {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

a.navBack:hover {
    background: #fff;
    color: #000;
}

/* MENU USER */
.menuUser {
    background-color: rgba(217, 217, 217, 0.5);
    width: 40px;
    height: 40px;
    position: absolute;
    top: 25px;
    right: 20px;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.menuUser::after {
    content: attr(data-user);
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.menuUser:hover {
    background: white;
    color: black;
}

/* HACK HEADER & FOOTER */
.midHeader {
    padding: calc(90px + 25px) 25px calc(80px + 25px);
}

/* HACK HEADER & FOOTER --- POUR LES PAGES CLIENTS*/
.midHeaderClient {
    padding: calc(90px + 25px) 25px calc(80px + 25px + 60px);
}

/* ------ */
/* FOOTER */
/* ------ */
footer .navbar {
    background: var(--colorPrimaire);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    border-radius: 25px 25px 0 0;
    z-index: 10;
}

footer ul {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
}

footer li {
    height: 100%;
    width: 100%;
    list-style-type: none;
    position: relative;
}

footer li a {
    height: 100%;
    width: 100%;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
}

footer li a:hover {
    color: #000;
}

/* Animation bulle arrier plan des liens */
footer li a::after {
    content: "";
    width: 0px;
    height: 0px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    z-index: -1;
    transition: all 0.4s ease;
}

footer li a:hover::after {
    content: "";
    width: 78px;
    height: 78px;
}

footer .navbar i {
    font-size: 1.5rem;
}

/* ----------------- */
/* BBOX GENERIC --- */
/* ----------------- */
.bBoxTitle {
    background: var(--colorPrimaire);
    color: #ffffff;
    padding: 10px 20px;
    text-transform: uppercase;
    border-radius: 15px 15px 15px 0;
}

.bBoxTitleOnly {
    background: var(--colorPrimaire);
    color: #ffffff;
    padding: 10px 20px;
    text-transform: uppercase;
    border-radius: 15px;
}

.bBoxBorder {
    border-left: 6px solid var(--colorPrimaire);
    padding-left: 15px;
    margin-top: -8px;
    position: relative;
}

/* Bout arrondi en bas de la ligne */
.bBoxBorder::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: -6px;
    width: 6px;
    height: 6px;
    background: var(--colorPrimaire);
    border-radius: 50%;
    z-index: -1;
}

.bBoxContainer {
    padding-top: 15px;
}

.bBoxFooter {
    background: var(--colorPrimaire);
    margin: -11px 0 -15px -21px;
    padding: 10px 0 0 0;
    color: var(--colorNeutral);
    border-radius: 0 15px 15px;
}

.bBoxSeprator {
    display: block;
    height: 1px;
    width: 100%;
    background: var(--colorPrimaire);
    margin: 10px -20px;
}

/* Rendre invisible le dernier separateur */
.bBoxSeprator:last-child {
    display: none;
}

/* ----------------- */
/* --- BBOX GENERIC */
/* ----------------- */

/* ************* */
/* Objectif plan */
/* ************* */
.chartObj div {
    position: relative;
}
.chartObj .chart {
    position: relative;
    display: block;
    height: 180px;
}
.chartObj canvas {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.chartObj span {
    display: block;
    color: var(--colorPrimaire);
    text-align: center;
    font-style: italic;
    font-size: 40px;
    font-weight: 700;
    position: absolute;
    left: 25px;
    top: 55px;
}

.chartObj .chart p {
    position: absolute;
    bottom: 30px;
    left: 33px;
    font-weight: 700;
    color: var(--colorPrimaire);
    font-size: 20px;
}

/* Détails objectif */
.objectifRow {
    background: #d0d0d0;
    border-radius: 50px;
    padding: 5px;
    position: relative;
    height: 40px;
    width: 130px;
}

.objectifRow p {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    color: var(--colorPrimaire);
}

/* Bulle */
.objectifRowUp::after {
    content: "";
    width: 30px;
    height: 30px;
    background: var(--colorPrimaire);
    position: absolute;
    border-radius: 50%;
}

.objectifRowDown::after {
    content: "";
    width: 30px;
    height: 30px;
    background: var(--colorTertiaire);
    position: absolute;
    border-radius: 50%;
}

/* *********** */
/* Card Client */
/* *********** */
.card {
    border: 0;
}
.cardContainer {
    background: #f3f3f3;
    border-radius: 15px 15px 0 0;
    width: 100%;
    padding: 10px;
    position: relative;
}

.cardClientActif {
    position: absolute;
    left: 0px;
    top: 0px;
    height: 10px;
    width: 10px;
    border-radius: 50px;
}

.cardClientActif.actif {
    background: #4ac75e;
}

.cardClientActif.inactif {
    background: #ca3a3a;
}

.cardClientStatus {
    position: absolute;
    right: 0;
    top: 0;
}

.card .cardDetails {
    line-height: 0.4rem;
    text-transform: uppercase;
}

.cardDetails .cardDetailsAddress p {
    margin: 0;
}

.card .cardFooter {
    display: flex;
    height: 40px;
    position: relative;
}

.cardFooter .cardFooterLeft {
    background: var(--colorTertiaire);
    border-bottom-left-radius: 15px;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.cardFooter .cardFooterRight {
    background: var(--colorPrimaire);
    border-bottom-right-radius: 15px;
    width: 50%;
}

.cardFooter .cardFooterOne {
    background: var(--colorPrimaire);
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    width: 100%;
}

.cardFooter a {
    color: #fff;
    text-decoration: none;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* FUTUR MISE A JOUR pour affichage précis des clients via JS */
/* .cardOther {
    display: none;
} */

/* ****************** */
/* Card Communication */
/* ****************** */
.cardBro {
    border-radius: 15px;
    padding: 15px;
    position: relative;
    color: var(--colorPrimaire);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--colorNeutral);
}

.cardBroNow {
    background: var(--colorAlertInfo);
    color: #fff;
}

.cardBroHead {
    display: flex;
    flex-direction: column;
}

.cardBroHead > p {
}

.cardBroHeadDetails {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.cardBroHeadDetails p:nth-child(3) {
    display: block;
    flex: 3 1 100%;
}

.cardBroFooter {
    margin: 10px -15px -15px;
    padding: 10px 15px;
    border-radius: 0 0 15px 15px;
    display: flex;
    justify-content: center;
    background: var(--colorTertiaire);
}

.cardBroFooter a {
    text-decoration: none;
    color: #fff;
    display: flex;
    justify-content: center;
    width: 100%;
}

.cardBroFooter a {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
}
/* .cardBroFooter a:nth-child(1) {
    background: var(--colorTertiaire);
    margin: 0 0 -15px -15px;
    border-bottom-left-radius: 15px;
}

.cardBroFooter a:nth-child(2) {
    background: var(--colorPrimaire);
    margin: 0 -15px -15px 0;
    border-bottom-right-radius: 15px;
} */

/* ************** */
/* Détails Client */
/* ************** */
.badgeSeg {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 90px;
}
.badgeActif {
    position: absolute;
    top: 10px;
    left: -15px;
    height: 10px;
    width: 10px;
    border-radius: 50px;
}

.badgeActif.actif {
    background: #4ac75e;
}

.badgeActif.inactif {
    background: #ca3a3a;
}

/* Navbar pour les pages clients */
.navbarClient {
    position: fixed;
    bottom: 0px;
    height: 150px;
    width: 100%;
    display: flex;
}

.navbarClientItems {
    background: var(--colorTertiaire);
    width: 33.33%;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    margin: 0;
}

.navbarClientItems.actif {
    background: var(--colorSecondaire);
}

.navbarClientItems:hover {
    background: var(--colorPrimaire);
}

.navbarClientItems a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

/* ********** */
/* Tableau UL */
/* ********** */

.TblDetails h4 {
    background: var(--colorPrimaire);
    color: #fff;
    padding: 10px 20px;
    border-radius: 15px 15px 15px 0;
}

.TblDetails li {
    border-left: 6px solid var(--colorPrimaire);
    padding: 10px 20px;
}

.TblDetails li:not(:last-child) {
    border-bottom: 1px solid var(--colorPrimaire);
}

/* Couche pour le script JS de recherche */
#detail-filter li:hover{
    background: var(--colorPrimaire);
    color: #fff;
}

#detail-filter li:hover .backgroundText{
    background: var(--colorPrimaire);
}

#detail-filter li.hide{ 
    display: none !important; 
}


/* ********** */
/* DETAILS STOCK */
/* ********** */
.MarqueColor{
    width: 12px;
    height: 100%;
    top: 0;
    left: -5px;
    z-index: -1;
}

.MarqueFer{
    width: 90px;
    height: 100%;
    top: 0;
    left: 50%;
    z-index: -2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.MarqueFer img{
    height: 80%;
    width: auto;
    opacity: 0.2555;
}

.backgroundText{
    background: rgba(255, 255, 255, 0.800);
    padding: 3px 3px 3px 0;
    border-top-right-radius: 5px;
    border-top-right-radius: 5px;
}

/* ********** */
/* MISC */
/* ********** */
.bulle-info{
    background: var(--colorAlertInfo);
    color: #fff;
    padding: 4px 6px;
    border-radius: 13px;
}

.bulle-info.green{
    background-color: var(--colorAlertSuccess);
}