﻿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;*/
}

.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;
}

.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;
    }

#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;
    }

.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;
}

.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;
}