﻿body {
}

.Cut-Long {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.Title {
    font-size: 16px;
    line-height: 16px;
    font-weight: 700;
}

/*md-card {
    background-color: #e6e6e6;
}*/
.input-description {
    min-height: 10rem !important;
    background-color: lightgray;
    border: 1px solid black;
    border-radius: 5px;
}

.min-w60 {
    min-width: 60%;
}

#drop-zone {
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    cursor: pointer;
}

#file-input {
    display: none;
}

.m0-mh0-mw0 {
    min-height: 0px;
    margin: 0px;
    min-width: 0px;
}

.fileOverwiew {
    border: 1px black solid;
    border-radius: 5px;
    padding-left: 0.5em;
    width: fit-content;
    background-color: darkgrey;
}

.divider {
    width: 1px;
    background-color: darkblue;
    margin: 1em;
}

.min-w0 {
    min-width: 0;
}

.flex1 {
    flex: 1;
}

.flex2 {
    flex: 2;
}


.bottom-right {
    position: absolute;
    right: 0;
    bottom: 0;
}

.message {
    gap: 1rem;
}

    .message > div {
        -webkit-align-items: flex-start;
        align-items: flex-start;
    }

    .message.myself {
        flex-direction: row-reverse;
    }

        .message.myself > div {
            -webkit-align-items: flex-end;
            align-items: flex-end;
        }

    .message .avatar {
        height: 2rem;
        width: 2rem;
        -moz-border-radius: 50%;
        -webkit-border-radius: 50%;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }


        .message .avatar > img {
            -moz-border-radius: 50%;
            -webkit-border-radius: 50%;
            border-radius: 50%;
            width: 100%;
            aspect-ratio: 1/1;
            -o-object-fit: cover;
            object-fit: cover;
        }

.bulle {
    padding: 5px;
    background-color: #83bde5;
    -moz-border-radius: 5px 5px 5px 0;
    -webkit-border-radius: 5px 5px 5px 0;
    border-radius: 5px 5px 5px 0;
    color: #000000de;
}

    .bulle .texte {
        white-space: break-spaces;
        -ms-word-break: break-word;
        word-break: break-word;
    }

.myself .bulle {
    background-color: #83e58b;
    -moz-border-radius: 5px 5px 0 5px;
    -webkit-border-radius: 5px 5px 0 5px;
    border-radius: 5px 5px 0 5px;
}

.histo .bulle {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background-color: #eee;
}

.chat-image {
    position: relative;
    width: 7rem;
    aspect-ratio: 1/1;
}

    .chat-image > img {
        height: auto;
        width: auto;
        max-width: 100%;
        max-height: 100%;
        -o-object-fit: contain;
        object-fit: contain;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        border-radius: 5px;
    }

.bulle .edit-button {
    min-height: 0;
    min-width: 0;
    height: 1rem;
    width: 1rem;
}

.hover {
    display: none;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    background-color: #0008;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    color: white;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

*:hover > .hover {
    display: flex;
    cursor: pointer;
}

.hover md-icon {
    fill: white;
}

md-chip .hover {
    border-radius: 16px;
}

.vignette {
    position: relative;
}

.vignette-priorite {
    padding: 3px;
    border-radius: 7px;
    font-size: .8em;
}

.notification {
    height: 1rem;
    aspect-ratio: 1/1;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background-color: #eb4747;
    position: absolute;
    top: -.25rem;
    right: -.25rem;
    /*border: .2rem solid white;*/
}

.md-dark-theme md-menu-content {
    background-color: #303030;
    color: white;
}

    .md-dark-theme md-menu-content md-menu-item {
        color: white;
    }

.small-icon {
    height: 16px;
    width: 16px;
    min-height: 16px;
    min-width: 16px;
}

.pre {
    white-space: pre;
}

.counter {
    font-size: 12px;
    line-height: 14px;
    overflow: hidden;
    transition: all .3s cubic-bezier(.55,0,.55,.2);
    opacity: 1;
    margin-top: 0;
    padding-top: 5px;
    align-self: end;
}

    .counter.ng-invalid {
        color: rgb(221,44,0);
    }



.ticket-line {
    min-height: 2.7em;
    border-bottom: #00000020 1px solid;
}

    .ticket-line:nth-child(odd) {
        background: #00000008;
    }

    .ticket-line:nth-child(even) {
        background: #00000010;
    }

    .ticket-line:hover {
        background: #00000020;
        cursor: pointer;
    }

.ticket-wait {
    box-shadow: inset 0px 0px 8px 3px #9c27b0c0, 0 3px 5px -1px rgba(0, 0, 0, .2), 0 5px 8px 0 rgba(0, 0, 0, .14), 0 1px 14px 0 rgba(0, 0, 0, .12);
}

.dialog-wait {
    --opacity: .75;
    box-shadow: 0 7px 8px -4px rgba(156, 39, 176, var(--opacity)), 0 13px 19px 2px rgb(156, 39, 176, calc(var(--opacity) * .7)), 0 5px 24px 4px rgb(156, 39, 176, calc(var(--opacity) * .6));
}

md-tooltip.lines-2 {
    height: 4.5em;
    text-align: center;
}

/* Green */
.Low,
.Open,
.vignette-priorite.Green {
    background-color: #9fcf9f;
    color: #004d00;
}

/* Yellow */
.Medium,
.InProgress,
.vignette-priorite.Yellow {
    background-color: #ffdd9f;
    color: #664200;
}

/* Red */
.High,
.Denied,
.vignette-priorite.Red {
    background-color: #f69f9f;
    color: #4d0000;
}

/* Black */
.Urgent,
.vignette-priorite.Black {
    background-color: #cfcfcf;
    color: #262626;
}

/* Blue */
.Close,
.vignette-priorite.Blue {
    background-color: #9fb3cf;
    color: #00204d;
}

.TicketPieceJointes md-chips-wrap.md-chips > md-chip {
    height: auto;
}

    .TicketPieceJointes md-chips-wrap.md-chips > md-chip img {
        width: auto;
        height: 80px;
        border-radius: 5px;
        margin-top: 12px;
        /*margin-right: 4px*/
    }

    .TicketPieceJointes md-chips-wrap.md-chips > md-chip md-progress-circular {
        margin: 12px;
    }

@media (min-width : 1280px) {
    .layout-gt-sm-row > .flex-gt-md-33 {
        max-width: 33.33%;
        max-height: 100%;
    }
}
