﻿.ecranhorsnormes {
    height: 100%;
}

    .ecranhorsnormes > body {
        margin: 0px;
        height: 100%;
        font-family: 'Roboto', sans-serif;
    }


.ecranhorsnormes input[type='number'] {
    -moz-appearance: textfield;
}

.ecranhorsnormes input[type='checkbox'] {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-left: 3px;
}

.ecranhorsnormes input::-webkit-outer-spin-button,
.ecranhorsnormes input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.hn_bouton {
    border: none;
    height: 30px;
    border-radius: 2px;
    background-color: #00a4ae;
    padding-left: 20px;
    padding-right: 20px;
    cursor: pointer;
    color: white;
    text-transform: uppercase;
    opacity: 1;
    transition: opacity 0.2s ease;
    margin: 0px 4px;
    font-size: 14px;
    backface-visibility: hidden; /* pour un bug weird d'affichage avec chrome... le texte des autres boutons sur la même row changeait pendant la transition...  */
}

    .hn_bouton.annuler {
        background-color: #607d8b;
    }

    .hn_bouton:focus {
        outline: 1px dotted white;
        outline-offset: -2px;
    }

    .hn_bouton:hover {
        opacity: 0.8;
    }

.hn_combo {
    border: 1px solid lightgray;
    border-radius: 2px;
    height: 26px;
    color: rgb(72, 72, 72);
    font-size: 14px;
    margin: 2px;
}

    .hn_combo[disabled] {
        border: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    .hn_combo[disabled]::-ms-expand {
        display: none;
    }

.hn_label {
    color: rgb(72, 72, 72);
    font-size: 14px;
    line-height: 14px;
    margin: 0px 4px;
}

.hn_lien {
    text-decoration: none;
    font-size: 14px;
    color: #00A4AE;
    margin: 0px 4px;
}

    .hn_lien:hover {
        text-decoration: underline;
    }

    .hn_lien:visited {
        color: #00A4AE;
    }

/* ------------------------------------------------------------------------------------------------
    Popup
   ------------------------------------------------------------------------------------------------ */
.popup {
    background-color: rgba(0,0,0,0.05);
    position: fixed;
    display: flex;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    opacity: 0;
    outline: none;
}

.popup__content {
    background-color: white;
    border-radius: 2px;
    box-shadow: 0px 12px 20px 4px rgba(0,0,0,0.1);
    padding: 15px;
    max-height: 90vh;
    max-width: calc(100vw - 100px);
    min-width: 340px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0;
    transform: scale(0);
    color: #444;
    will-change: scroll-position;
}

.popup__transitionkeepinclientarea {
    transition: left 0.2s ease, top 0.2s ease;
}

.popup__content * {
    user-select: none;
}

.popup__usercontent {
    font-size: 14px;
    color: #444;
    padding-top: 10px;
    max-height: 450px;
    overflow: auto;
}

    .popup__usercontent input {
        height: 26px;
        font-size: 14px;
        border-radius: 2px;
        border: 1px solid #cccccc;
        padding: 5px;
        box-sizing: border-box;
        margin: 2px 0px;
        color: #444;
    }

        .popup__usercontent input:focus {
            border: 1px solid #00a4ae;
            outline: none;
        }

.popup__ctntitre {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: -15px -15px 0px -15px;
    padding: 10px 10px 0px 10px;
    cursor: move;
}

.popup__lien {
    color: #00a4ae;
    text-decoration: none;
    cursor: pointer;
}

    .popup__lien:hover {
        text-decoration: underline;
    }

.popup__titre {
    font-size: 18px;
    user-select: none;
}

.popup__label {
    display: inline-block;
    height: 26px;
    line-height: 26px;
    margin-right: 10px;
    vertical-align: middle;
}

.popup__button {
    border: none;
    height: 30px;
    border-radius: 2px;
    background-color: #00a4ae;
    padding-left: 20px;
    padding-right: 20px;
    cursor: pointer;
    color: white;
    text-transform: uppercase;
    opacity: 1;
    transition: opacity 0.2s ease;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 14px;
    backface-visibility: hidden; /* pour un bug weird d'affichage avec chrome... le texte des autres boutons sur la même row changeait pendant la transition...  */
}

    .popup__button[data-disabled] {
        cursor: not-allowed;
        color: rgb(196,196,196);
        opacity: 0.7;
        pointer-events: none;
    }

    .popup__button:focus {
        outline: 1px dotted white;
        outline-offset: -2px;
    }

    .popup__button:hover {
        opacity: 0.8;
    }

.popup__ctrlbtn {
    cursor: pointer;
    display: inline-block;
    height: 18px;
    width: 18px;
    padding: 0px;
    margin: 0px;
    border: none;
    background-color: transparent;
    transition-duration: 0.4s;    
}

    .popup__ctrlbtn:focus {
        outline: 1px dotted white;
        outline-offset: -2px;
    }

    .popup__ctrlbtn > i {        
        font-size: 18px;
        color: #999999;
        transition: color 0.2s ease;
    }

        .popup__ctrlbtn > i:hover {
            color: #cccccc;
        }


.popup__closebtn > i {
    transform: rotateZ(45deg);
}

.ripple {
    background-color: rgba(0,0,0,0);
    border-radius: 50%;
    transform: scale(1);
    transform-origin: center;
    transition: background 0.8s;
}

    /*.ripple:hover {
        background: #47a7f5 radial-gradient(circle, transparent 1%, #47a7f5 1%) center/15000%;
    }*/

    .ripple:active {
        background-color: rgba(0,0,0,0.1);
        border-radius: 50%;
        transform: scale(1.5);
        transform-origin: center;
        transition: background 0s;
    }


.popup__fermer {
    float: right;
    height: 30px;
    transition: opacity 0.2s ease;
}

    .popup__fermer:hover {
        opacity: 0.8;
    }

/* ------------------------------------------------------------------------------------------------
    Spinner
   ------------------------------------------------------------------------------------------------ */
.spinner {
    display: inline-flex;
    align-items: center;
    margin-left: 5px;
}

    .spinner:before {
        content: "";
        border: 4px solid #00a4ae;
        border-top: 4px solid #ededed;
        display: inline-block;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        transform: rotate(0deg);
        animation: spinner 0.75s linear infinite;
    }

    .spinner:after {
        content: attr(data-message);
        margin-left: 5px;
    }

@keyframes spinner {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.popmenu__container {
    position: fixed;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
}

.popmenu__items {
    background-color: white;
    list-style: none;
    margin: 0px;
    padding: 0px;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.4);
    display: inline-block;
    min-width: 200px;
    transition: transform 0.15s ease, opacity 0.15s ease;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    position: absolute;
    top: 30px;
    z-index: 1;
    border-radius: 2px;
    overflow: hidden;
    color: #555;
    font-size: 14px;
}

.popmenu__item {
    line-height: 30px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    background-color: rgb(255,255,255);
    display: flex;
    align-content: center;
    align-items: center;
}

    .popmenu__item:hover {
        background-color: #eeeeee;
        color: #00A4AE;
    }

.popmenu__item[data-disabled] {
    cursor: not-allowed;
    color: rgb(196,196,196);
    pointer-events: none;
}

.popmenu__item__entete {
    line-height: 35px;
    pointer-events: none;
    cursor: not-allowed;    
    background-color: #F2F2F2;
    display: block;
    text-align: left;
    text-transform: uppercase;
}

.popmenu__separator {
    border: none;
    border-top: 1px solid #dddddd;
    padding: 0px;
    margin: 0px;
    color: #555;
}

.popmenu__image {
    padding-left: 5px;
}

.popmenu__label {
    padding: 2px 30px 2px 0px;
    transform: translateY(1px);
}

.popmenu__hotkey {
    margin-left: auto;
    margin-right: 9px;
}




.grille__resizer {
    top: 0px;
    right: 0px;
    width: 5px;
    position: absolute;
    cursor: col-resize;
    user-select: none;
    bottom: 0px;
    border-right: 0px solid #aaa;
}

    .grille__resizer:after {
        content: "";
        width: 2px;
        height: 100%;
        background: #aaa;
        display: block;
        margin-left: 5px;
        pointer-events: none;
        user-select: none;
    }

    .grille__resizer:hover:after {
        background-color: #555;
    }

/**************************************************
 Plaquette
**************************************************/

.plaquette {
    border-radius: 2px;
    /*flex-grow: 1;*/
    flex-shrink: 1;
    margin: 5px;
    padding: 0px;
    background-color: #fff;
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.24);
    max-width: calc(100% - 10px);
    border-radius: 5px 5px 2px 2px;
}

    .plaquette * {
        user-select: text;
    }

    .plaquette > .titre {
        min-height: 36px;
        background: #ccc;
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
        padding: 0px 10px;
        color: #fff;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .plaquette.avec-reduire > .titre {
        cursor: pointer;
    }

    .plaquette > .ouverte {
        transform: rotate(0deg);
        transition: transform 0.4s;
    }

    .plaquette > .fermee {
        transform: rotate(180deg);
        transition: transform 0.4s;
    }

    .plaquette.minimize {
        align-self: flex-start;
    }

        .plaquette.minimize .titre {
            border-radius: 2px;
        }

    .plaquette > .titre.v6 {
        background: var(--couleur-fond-v6);
    }

    .plaquette > .titre h4 {
        text-transform: uppercase;
        font-size: 16px;
        margin: 0px;
        white-space: normal;
        font-weight: normal;
    }

    .plaquette > .titre i {
        cursor: pointer;
        transform: rotate(0deg);
        transition: transform 0.2s ease;
    }

        .plaquette > .titre i[data-flipimg] {
            transform: rotate(180deg);
        }

    .plaquette > .contenu {
        margin: 0px;
        padding: 4px;
    }

    .plaquette > .scrollable {
        margin: 0px;
        padding: 10px;
        height: 100px;
        min-height: 100px;
        max-height: 100px;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .plaquette > .contenu > * {
        flex-basis: 100%;
    }


/**********************************************************
    Contenants génériques
**********************************************************/
.contenant-sans-style {
    background-color: inherit;
    margin: 0px;
    padding: 0px;
    flex-shrink: 1;
    max-width: 100%;
}

[data-action] {
    outline: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

[data-nowrap] > .rangee {
    flex-wrap: nowrap;
}

.contenant {
    border-radius: 2px;
    background-color: #fff;
    border: 1px solid #dfdfdf;
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.24);
    flex-basis: 100%;
    margin: 5px;
    padding: 4px;
    flex-shrink: 1;
    box-sizing: border-box;
    max-width: calc(100% - 10px);
}

    .contenant.avec-titre > h3,
    .contenant.avec-titre > h4 {
        color: #333;
        text-transform: uppercase;
        margin: 5px;
        font-weight: normal;
    }

    .contenant.avec-titre > hr {
        border: none;
        border-bottom: 1px solid #666;
        margin: 5px;
    }


.rangee {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: flex-start;
    flex-shrink: 1;
}

    .rangee .droite {
        justify-content: flex-end;
    }

.col-1 {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 7%;
}

.col-2 {
    flex-grow: 2;
    flex-shrink: 2;
    flex-basis: 15%;
}

.col-3 {
    flex-grow: 3;
    flex-shrink: 3;
    flex-basis: 23%;
}

.col-4 {
    flex-grow: 4;
    flex-shrink: 4;
    flex-basis: 32%;
}

.col-5 {
    flex-grow: 5;
    flex-shrink: 5;
    flex-basis: 40%;
}

.col-6 {
    flex-grow: 6;
    flex-shrink: 6;
    flex-basis: 48%;
}

.col-7 {
    flex-grow: 7;
    flex-shrink: 7;
    flex-basis: 57%;
}

.col-8 {
    flex-grow: 8;
    flex-shrink: 8;
    flex-basis: 65%;
}

.col-9 {
    flex-grow: 9;
    flex-shrink: 9;
    flex-basis: 73%;
}

.col-10 {
    flex-grow: 10;
    flex-shrink: 10;
    flex-basis: 82%;
}

.col-11 {
    flex-grow: 11;
    flex-shrink: 11;
    flex-basis: 90%;
}

.col-12 {
    flex-grow: 12;
    flex-shrink: 12;
    flex-basis: 98%;
    max-width: 100%;
}



.sortable {
    border-spacing: 0
}

    .sortable tbody tr:nth-child(odd) {
        background: #e4e4e4
    }

    .sortable td, .sortable th {
        padding: 5px 10px;
        border-bottom: 1px solid #dfdfdf;
        border-right: 1px solid #dfdfdf;
        overflow: hidden;
        box-sizing: border-box;
        height: 26px;
        vertical-align: middle;
    }

        .sortable td:first-child, .sortable th:first-child {
            border-top-left-radius: 4px
        }

        .sortable td:last-child, .sortable th:last-child {
            border-top-right-radius: 4px
        }

    .sortable th {
        background: white;
        color: black;
        cursor: pointer;
        font-weight: 600;
        text-align: left;
        /*vertical-align: baseline;*/
        white-space: nowrap;
        user-select: none;
        height: 40px !important;
    }

        .sortable th:hover {
            color: #000
        }

        .sortable th:not([data-iconesys]):hover::after {
            color: inherit;
            content: ' \025B8'
        }

        .sortable th:not([data-iconesys])::after {
            color: transparent;
            content: ' \025B8'
        }

        .sortable th.dir-d {
            color: #000
        }

            .sortable th.dir-d:not([data-iconesys])::after {
                color: inherit;
                content: ' \025BE'
            }

        .sortable th.dir-u {
            color: #000
        }

            .sortable th.dir-u:not([data-iconesys])::after {
                color: inherit;
                content: ' \025B4'
            }
