/*----------------------------------------------------------------------------*/
/* .\_Api\css\01_main.css */
/*----------------------------------------------------------------------------*/
/* Cadres */

body,
body > header,
body > #pageMiddle,
body > #pageMiddle > #mainMenu,
body > #pageMiddle > #pageContent,
body > footer {
    margin: 0;
    padding: 0;
    padding-bottom: 24px; /* pour bouton enregistrer (pas en dessous du footer) */
    height: initial;
    width: initial;
    min-height: initial;
    min-width: initial;
    max-height: initial;
    max-width: initial;
}

body {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-width: 1200px;
    padding-top: 100px;
    padding-bottom: 30px;
}

body > header {
    flex: 0 0 100px;
    display: block;
    position: fixed;
    width: 100%;
    height: 100px;
    padding: 10px 15px 20px 20px;
    top: 0px;
}

body > #pageMiddle {
    flex: 1 1 100px;
    display: flex;
    flex-direction: row;
}

body > #pageMiddle > #mainMenu {
    flex: 0 0 210px;
    display: block;
    position: relative;
    overflow: hidden;
    z-index: 10 !important;
}

body > #pageMiddle > #pageContent {
    flex: 1 1 100px;
    display: block;
    position: relative;
}

body > footer {
    flex: 0 0 30px;
    display: block;
    position: fixed;
    padding: 2px -5px 10px 20px;
    overflow: hidden;
    width: 100%;
    height: 30px;
    bottom: 0px;
}

.dropdown-menu {
    position: absolute;
    z-index: 1000;
}

/* Style */

#manageUser {
    margin-right: 25px;
}

body > header {
    background: #2b579a;
    z-index: 100 !important;
}

body > header *
{
    color: White;
}

body > header .breadcrumb-item::before
{
    color: White !important;
}

body > header > .breadcrumb 
{
    position: absolute;
    bottom: 0px;
    background: none;
    border: 0px;
    margin: 0px;
}

body > header > #shortcut 
{
    position: absolute;
    bottom: 10px;
    right: 10px;
}

body > header > #shortcut > *
{
    margin-left: 5px;
}

    body > header > #shortcut > #menuSites.hidden {
        visibility: hidden;
    }

body > header > #shortcut .dropdown {
    margin-right: 15px;
}

body > header > #shortcut .dropdown-toggle::after 
{
    color: hsl(0, 100%, 70%);
    color: Red;
    vertical-align: -5px;
    margin-left: -6px;
}

body > header > #shortcut .dropdown .badge 
{
    position: absolute;
    top: -10px;
    margin-left: -18px;
    font-size: 70%;
    padding: 4px 7px 5px 6px;
}

body > header > #login 
{
    position: absolute;
    top: 10px;
    right: 10px;
}

body > header > #login .fa 
{
    font-size: small;
}

body > header a:hover,
body > header > #login:hover,
body > header > #login:hover .fa,
body > header .fa:hover,
a:hover
{
    color: Lavender;
    cursor: pointer;
}

body > nav
{
    z-index: 1;
    background: #D4E4F7;
}

body > nav a
{
    color: #007bff !important;
}

body > nav a:hover 
{
    color: #236AB9 !important;
}


#menu ul {
    height: inherit !important;
}

#menu ul {
    height: inherit !important;
}

#menu li {
    padding: 0 !important;
    border: none !important;
    border-bottom: 1px solid #ccc !important;
    z-index: 200 !important;
}

#menu li a {
    color: #222;
}

#menu li ul {
    position: absolute;
    visibility: hidden;
    left: 100%;
    top: -1px;
    background-color: #fff !important;
    opacity: 1;
    /*transition: opacity 0.1s linear;*/
    /*border-top: 1px solid rgba(69, 74, 84, 0.7);*/
    /*margin-left: -5px;*/
    border-top: none !important;
    box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.5) !important;
    /*box-sizing: border-box !important;*/
    /*border-left: 2px solid #eee !important;*/
    border-left: 0 !important;
    z-index: 100 !important;
}

#menu li ul li {
    position: relative;
    z-index: 200 !important;
    background-color: inherit;
    border-left: 3px solid #fff !important;
    background-color: #fff !important;
    border-left: 3px solid #fff !important;
}

#menu li ul li:hover {
    background-color: inherit;
    border-left: 3px solid #2B579A !important;
}

body > #pageContent
{
    /*background-color: Fuchsia;*/
}

body > footer 
{
    z-index: 100;
    background-color: black;
    /*text-align: right;*/
}

body > nav li[data-isactive="true"]
{
    background-color: rgba(0,0,0,0.05);
}

#log 
{
    display: block;
    position: fixed;
    bottom: 29px;
    width: 100%;
    z-index: 100;
    opacity: 0.85;
}
#log > div 
{
    position: relative;
    border: 1px solid black;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    box-shadow: 0 0 8px rgba(0,0,0,0.7);
    background-color: #236AB9;
}
#log > div > header 
{
}
#log > div > div
{
    max-height: 500px;
    background-color: white;
    overflow-y: scroll;
    overflow-x: hidden;
}

.btn-sm
{
    margin: 2px 0px;
}

/*.md-transition-in{
    min-width:1000px;
    min-height:500px;
}
*/
.dialog-small md-dialog {
    width: 300px !important;
    height: 200px !important;
    max-width: none !important;
    max-height: none !important;
}

.dialog-medium md-dialog {
    width: 600px !important;
    height: 400px !important;
    max-width: none !important;
    max-height: none !important;
}

.dialog-large md-dialog {
    width: 900px !important;
    height: 600px !important;
    max-width: none !important;
    max-height: none !important;
}

.icon-button {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.1rem;
    margin: 0 0.5rem;
    transition: transform 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.icon-button:hover {
    transform: scale(1.2);
    color: #FFD700;
}

.icon-button:focus {
    outline: 2px solid #fff;
}

.home-link {
    color: white;
    font-size: 1.3rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.home-link:hover {
    color: #03A9F4; /* bleu clair moderne */
    transform: scale(1.2); /* léger zoom */
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.home-link i {
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease;
}

.home-link:hover i {
    transform: scale(1.2);
    color: #03A9F4;
}


/*----------------------------------------------------------------------------*/
/* .\_Api\css\02_gf.css */
/*----------------------------------------------------------------------------*/
/* Style GestFit */

.gf-label 
{
    color: Gray;
    font-weight: bold;
}

.gf-value
{
}

.gf-form-label 
{
    color: Gray;
    font-weight: bold;
    min-width: 115px;
}

.gf-form-value 
{
    min-width: 115px;
}

a:hover
{
    color: #007bff;
}

.table > tbody > tr.selected 
{
    background-color: #D4E4F7;
}

/*----------------------------------------------------------------------------*/
/* .\_Api\css\03_hack.css */
/*----------------------------------------------------------------------------*/
a, label, h1, h2, h3, span:not([user-selectable]),
th, td,
body > header, body > header *,
#mainMenu, #mainMenu *,
body > footer, body > footer *,
button {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

table {
    table-layout: fixed;
}

    table td {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    table tr.active th,
    table tr.active td {
        background-color: rgba(0,0,0,0.05);
    }

button {
    /*white-space: nowrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
}

span.dropdown-item {
    overflow: hidden;
    text-overflow: ellipsis;
}

div.dropdown-menu {
    height: auto;
    max-height: 400px;
    overflow-x: hidden;
}

.btn-ssm {
    padding: 0px 6px;
}

/* Pour casser les mots trops longs */
.card-text {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-all;
    word-break: break-word;
    hyphens: auto;
}

.dropdown-item.disabled, .dropdown-item:disabled {
    color: #6c757d6e;
}

/* Problème avec les modals */
.modal-dialog-scrollable {
    display: block !important; /* I added this to see the modal, you don't need this */
    overflow-y: initial !important;
    height: 90%;
}

    .modal-dialog-scrollable .modal-content {
        max-height: 100%;
    }

    .modal-dialog-scrollable .modal-body {
        overflow-y: auto;
    }

.modal-xl {
    max-width: 90%;
}

.col-0 {
    margin-right: -10px;
    margin-left: -10px;
}

input[type=date].form-control-sm,
input[type=text].form-control-sm,
select.form-control-sm {
    padding-left: 0px;
    padding-right: 0px;
}

input[type=text].form-control-sm {
    padding-left: 3px;
    padding-right: 3px;
}

.presence {
    margin: 5px;
    width: 225px;
}

    .presence h1, .presence h2, .presence h3, .presence h4, .presence h5, .presence h6 {
        margin: 0px;
        padding-bottom: 1px;
        width: 130px;
    }

    .presence h6 {
        height: 20px;
    }

    .presence .image {
        /*margin-top: -50px;*/
        height: 96px;
        width: 80px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        position: absolute;
        right: 2px;
        top: 2px;
        border-radius: 5px;
    }


#presences i {
    font-size: 11px;
    /*color: #555;*/
}

#absences i {
    font-size: 11px;
    /*color: #555;*/
}

.presence .card-body {
    padding: 5px;
    padding-left: 8px;
    height: 100px;
}

.presence .close {
    z-index: 1;
    position: relative;
    border: 1px;
    top: -5px;
    right: 0px;
}

.presence .close:hover {
    z-index: 1;
    position: relative;
    border: 1px;
    top: -5px;
    right: 0px;
    background-color: transparent;
}

.absence {
    margin: 5px;
    width: 225px;
}

    .absence h1, .absence h2, .absence h3, .absence h4, .absence h5, .absence h6 {
        margin: 0px;
        padding-bottom: 1px;
        width: 130px;
    }

    .absence h6 {
        height: 20px;
    }

    .absence .image {
        /*margin-top: -50px;*/
        height: 96px;
        width: 80px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        position: absolute;
        right: 2px;
        top: 2px;
        border-radius: 5px;
    }


#presences i {
    font-size: 11px;
    /*color: #555;*/
}

#absences i {
    font-size: 11px;
    /*color: #555;*/
}

.absence .card-body {
    height: auto;
    min-height: 125px;
    overflow: hidden;
}

.absence .close {
    z-index: 1;
    position: relative;
    border: 1px;
    top: -5px;
    right: 0px;
}

    .absence .close:hover {
        z-index: 1;
        position: relative;
        border: 1px;
        top: -5px;
        right: 0px;
        background-color: transparent;
    }

.presence-info {
    font-family: Arial;
    padding-left: 0px;
    padding-right: 10px;
    padding-top: 2px;
    padding-bottom: 0px;
}

    .presence-info i.card-info {
        font-size: 12px !important;
        font-style: normal;
        font-weight: 700;
        color: #444;
        text-transform: uppercase;
        letter-spacing: -0.3px;
    }

    .presence-info i.fa {
        margin-right: 5px;
    }

.presenceInfoRed {
    color: red;
    font-size: 3em;
}

/*.absence-info {
    font-family: Arial;
    padding-left: 0px;
    padding-right: 10px;
    padding-top: 2px;
    padding-bottom: 0px;
}*/
.absence-info {
    font-family: Arial;
    padding-left: 0px;
    padding-right: 10px;
    padding-top: 2px;
    padding-bottom: 0px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

    /*.absence-info i.card-info {
        font-size: 12px !important;
        font-style: normal;
        font-weight: 700;
        color: #444;
        text-transform: uppercase;
        letter-spacing: -0.3px;
    }*/
    .absence-info i.card-info {
        font-size: 12px !important;
        font-style: normal;
        font-weight: 700;
        color: #444;
        text-transform: uppercase;
        letter-spacing: -0.3px;
        display: inline-block;
        white-space: normal !important;
        overflow: visible;
        text-overflow: unset;
        word-break:break-all;
        max-width: 100%;
    }

    .absence-info i.card-info.refus-raison {
        font-size: 10px !important;
    }

    .absence-info i.fa {
        margin-right: 5px;
    }

.absenceInfoRed {
    color: red;
    font-size: 3em;
}

#presences .card {
    border-radius: 5px;
    shadow: 5px 5px 15px #236AB9;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    display: inline-block;
}

    #presences .card:hover {
        background: #236AB9;
        color: #fff;
        border-radius: 5px;
        box-shadow: 5px 5px 10px #9E9E9E;
    }

.refus-raison {
    font-size: 10.5px !important;
    white-space: normal !important;
    overflow: visible;
    text-overflow: unset;
    word-break: break-all;
    line-height: 1.3;
    display: inline-block;
    max-width: 100%;
}

#absences .card {
    margin-right: 5px;
    border-radius: 5px;
    shadow: 5px 5px 15px #236AB9;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    display: inline-block;
}

    #absences .card:hover {
        background: rgba(185, 35, 35, 0.7);
        color: #fff;
        border-radius: 5px;
        box-shadow: 5px 5px 10px #9E9E9E;
    }

.card:hover .presence-info i.card-info {
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    color: #fff !important;
}

.presence-name {
    height: 19px;
}

.card:hover .absence-info i.card-info {
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    color: #fff !important;
}

.absence-name {
    height: 19px;
}

.subTitleDiv:hover {
    cursor: pointer;
}

.subTitleDiv > div {
    display: inline-block;
}

    .subTitleDiv > div > h2 {
        margin-right: 20px;
    }

    .subTitleDiv > div > button {
        margin-bottom: 15px;
    }

.modal.show > .ng-scope {
    width: 100%;
    height: 100%;
}

#releveClient > div > div {
    width: 800px;
    height: 500px;
}

.caisse_article {
    height: 100px;
    /*display: inline-block;*/
    padding: 2px;
}

    .caisse_article div {
        font-weight: bold;
        border-radius: 5px;
        height: 100%;
        width: 100%;
        text-align: center;
        background: #D4E6FA;
        display: flex;
        justify-content: center;
        align-items: center;
        shadow: 5px 5px 15px #236AB9;
        transition: all 0.3s ease-in-out;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
    }

        .caisse_article div:hover {
            font-weight: bold;
            background: #236AB9;
            color: #fff;
            border-radius: 5px;
            box-shadow: 5px 5px 10px #9E9E9E;
        }

.caissePaiement {
    margin: 0px;
    padding: 0px;
}

    .caissePaiement div {
        margin: 0px;
        padding: 0px;
        display: inline-block;
    }

        .caissePaiement div button {
            display: inline-block;
            padding: 1px;
            margin-bottom: 5px;
        }


/** SIDEBAR */

.sidebar-menu {
    position: fixed;
    float: left;
    width: 210px;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: #eef6ff;
    color: #aaabae;
    font-family: "Segoe UI";
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.sidebar-menu a {
    font-weight: bold !important;
    color: #2b579a !important
}

a, a:hover, a:active {
    text-decoration: none;
    font-weight: bold;
}

.sidebar-menu a span {
    font-size: 16px !important;
}

.sidebar-menu a span:before {
    font-size: 12px;
    vertical-align: top;
}

#menu {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: 20px;
}

    #menu li {
        position: relative;
        margin: 0;
        font-size: 12px;
        border-bottom: 1px solid rgba(69, 74, 84, 0.3);
        padding: 0;
    }

    #menu ul {
        opacity: 0;
        height: 0px;
    }

    #menu li a {
        font-style: normal;
        font-weight: 400;
        position: relative;
        display: block;
        padding: 10px 20px;
        /*color: #aaabae;*/
        white-space: nowrap;
        z-index: 2;
    }

        #menu li a:hover {
            /* color: white;*/
            background-color: white;
            transition: color 250ms ease-in-out, background-color 250ms ease-in-out;
        }

    #menu li.active > a {
        background-color: white !important;
        color: white;
    }

    #menu ul li {
        background-color: #D4E4F7;
    }

    #menu ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

    #menu li ul {
        position: absolute;
        visibility: hidden;
        left: 100%;
        top: -1px;
        background-color: #2b303a;
        box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
        opacity: 0;
        transition: opacity 0.1s linear;
        border-top: 1px solid rgba(69, 74, 84, 0.7);
    }

    #menu li:hover > ul {
        visibility: visible;
        opacity: 1;
    }

    #menu li li ul {
        left: 100%;
        visibility: hidden;
        top: -1px;
        opacity: 0;
        transition: opacity 0.1s linear;
    }

    #menu li li:hover ul {
        visibility: visible;
        opacity: 1;
    }

    #menu .fa {
        margin-right: 5px;
    }

.logo {
    width: 100%;
    padding: 21px;
    box-sizing: border-box;
}

.sidebar-icon {
    position: relative;
    float: right;
    margin-top: 32px;
    border: 1px solid #454a54;
    text-align: center;
    line-height: 1;
    font-size: 18px;
    padding: 6px 8px;
    border-radius: 3px;
    color: #888;
    background-clip: padding-box;
    text-shadow: 4px 4px 6px rgba(0,0,0,0.4);
}
/*#logo
{
    width: 150px;
    height: 64px;
    vertical-align: middle;
    -webkit-filter: drop-shadow(0px 0px 10px rgba(0,0,0,0.5));
}*/
.fa-codepen {
    color: #fff;
    margin-left: 50px;
}

.md-red-theme span {
    color: crimson;
    font-weight: bold;
}

.md-green-theme span {
    color: chartreuse;
    font-weight: bold;
}

/* Style pour le canvas */
canvas#photo {
    display: none; /* cache le canvas par défaut */
}

.webcam {
    display: flex;
}

.webcam div {
    flex-direction: row;
    flex-flow: row-reverse;
    margin: 10px;
    padding: 10px;
}

.webcam canvas {
    border : solid 1px grey;
}

.webcam video {
    height: 600px;
    width: 800px;
}

.md-dialog-container.dialog-small md-dialog {
    width: 300px !important;
    height: 200px !important;
    max-width: none !important;
    max-height: none !important;
}

.md-dialog-container.dialog-medium md-dialog {
    width: 600px !important;
    height: 400px !important;
    max-width: none !important;
    max-height: none !important;
}

.md-dialog-container.dialog-large md-dialog {
    width: 900px !important;
    height: 600px !important;
    max-width: none !important;
    max-height: none !important;
}

/*----------------------------------------------------------------------------*/
/* .\_Api\css\04_pageLargeTable.css */
/*----------------------------------------------------------------------------*/
body.pageLargeTable > #pageMiddle > #pageContent {
    max-width: 100%;
/*    width: auto;*/
/*    background-color: rgba(255,0,255,0.1);*/
}

body.pageLargeTable > #pageMiddle > #pageContent > div > div {
    display: flex;
    flex-direction: row;
}

body.pageLargeTable > #pageMiddle > #pageContent > div > div > div {
    flex: 1 1 100px;
    overflow: auto;
    /*    background-color: rgba(0,255,255,0.1);*/
}

body.pageLargeTable > #pageMiddle > #pageContent > div > div > div + div {
    flex: 0 0 350px;
    /*    background-color: rgba(255,255,0,0.1);*/
}

/*----------------------------------------------------------------------------*/
/* .\01_General\css\tableau-bord.css */
/*----------------------------------------------------------------------------*/
/* Style GestFit */

.tableauBord-html .form-group {
    width: 450px;
    /*background-color:darkseagreen;*/
}

.tableauBord-html .gf-form-value {
    text-align: right;
    width: 115px;
}
    
.tableauBord-html .gf-form-label {
    color: Gray;
    font-weight: bold;
    width: 200px;
}
/*----------------------------------------------------------------------------*/
/* .\02_Parametres\css\tableau-parametres.css */
/*----------------------------------------------------------------------------*/
/* Style GestFit */

.tableauParametres4c-html .tableauParametres2c-html .form-group {
    width: 450px;
    /*background-color:darkseagreen;*/
}

.tableauParametres4c-html .gf-form-value .form-control {
    text-align: right;
    width: 140px;
}

.tableauParametres4c-html .gf-form-label {
    color: Gray;
    font-weight: bold;
    width: 230px;
}

.tableauParametres2c-html .form-group {
    width: 800px;
    /*background-color:darkseagreen;*/
}

.tableauParametres2c-html .gf-form-value .form-control {
    text-align: right;
    width: 100px;
}

.tableauParametres2c-html .gf-form-label {
    color: Gray;
    font-weight: bold;
    width: 500px;
}
