﻿/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/*!this is created to override already existing classes*, workplace.css already works*/

/*we import var(--) color and all variables from zdcoskin.css */
@import './zdcoskin.css';

/* ============================================ */
/* OVERRIDES - Only changed properties below   */
/* ============================================ */
/* How this works ? :  we uses already existing classes (from workplace.css or bootstrap) and we override the properties we want to change here.
 or we create new classes and we use them as is*/

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-rgpd), sans-serif !important;
}
.menu-left-wrapper {
    a {
        text-decoration: none;
    }

    a:hover {
        text-decoration: none;
    }
}

p, span {
    font-size: var(--default-font-size);
}

.footer a {
    font-weight: normal !important;
}
a:link, a:visited {
    font-weight: normal !important;
}
/*********LOGIN PAGE*************/
/*existing classes*/
.login-lading-page, .login-two-columns, .login-full-page {
    background-image: var(--main-gradient);
}

/* Changed from multiple padding declarations to unset */
.login-full-page .container-fluid {
    padding: unset !important;
}

.login-full-page {
    background-image: var(--main-gradient);
}

/* This is for the styling of the form zero => styling is make from a div id created on the form, in html tag */
/* personnalized classes*/
.form_zero_dco_style {
    min-height: 500px;

    h2 {
        color: var(--primary-color);
        margin-bottom: 100px;
    }

    h2 span {
        color: var(--secondary);
        padding-left: 15px;
        margin-bottom: var(--margin-gap);
    }

    .cell-left, .cell-right {
        padding-bottom: var(--margin-gap);
    }

}

#form_zero_doc_style_choices {
    tbody {
        height: 40px;
    }

    label {
        font-size: var(--accent-font-size);
        font-weight: 400;
        letter-spacing: unset;
        padding-left: 4px;
    }

}

/*already existing classes*/
.row {
    margin: 0 !important;
}

/* perzonalization of the homepage title, personalized classes */
.home-page-title-display, .row.page-title-display {
    display: flex;
    align-items: center;
    padding-left: var(--margin-gap);
    height: 50px;
    background-image: var(--main-gradient);
    border-radius: var(--border-radius);
    letter-spacing: 1.1px;
    font-size: var(--title-font-size);
    font-weight: 700;
    color: var(--light);
}

.home-page-title-display {
    height: 80px;
    width: 100%;
}

/*alreasy existing classes*/
.container-fluid {
    margin: 0;
    padding-bottom: 10px;
}

.row.page-title-display {
    height: 60px;
    width: auto;
    margin: 10px 0 !important;
}

/* service tile on the homepage, this on is a personnsalized style */
.tuiles-services-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
    align-items: center;
    width: 100%;
    justify-content: center;
    flex-direction: column;
    margin-top: var(--margin-gap);

    /*already existing classes modified within the parent personnalized class*/

    .single-tile, a {
        display: block;
        position: relative;
        padding: unset;
    }

    .single-tile, a, a.tile.application.tile-with-counter {
        height: 120px;
        width: 220px;
    }

    a {
        width: 90%;
        height: 90%;
    }

    span, a, .tile-title {
        font-size: var(--font-size);
        color: var(--default-font-color)
    }

    .tile-title {
        position: absolute;
        display: inline-block;
        text-align: center;
        top: 40%;
        margin: auto;
        font-size: 12px;
        width: 100%;
        margin-right: 10px;
    }

    a.tile.application.tile-with-counter {
        display: block;
        margin: unset;
        padding: unset;
    }

    .icon_easysite {
        display: flex;
        height: 40px;
        width: 40px;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 5px;
        left: 42%;
        color: var(--light);
        background-color: var(--blue);
    }

    i {
        font-size: 12px;
        height: 12px;
    }

    .notif-counter {
        position: absolute;
        top: 80px;
        left: 45%;
        color: var(--blue) !important;
        background-color: transparent;
    }

    /*eprsonnalized classes*/

    .div-tuiles {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        align-items: center;
        padding-left: -10rem;
        gap: 2rem;
        margin-bottom: 2rem;
        justify-content: space-evenly;

        @media (max-width: 1480px) {
            .single-tile, a.tile.application {
                width: 250px;
            }
        }
        @media (min-width: 1480px) {
            .single-tile, a, a.tile.application.tile-with-counter {
                min-width: 250px;
            }
        }
    }
}

/*already existing classes*/
.vui-screen-document.compact .document-label-reference {
    font-size: 12px;
    color: var(--default-font-color);

    span {
        font-size: unset;
        color: var(--default-font-color)
    }
}

/*already existing classes*/
.vui-screen-document h1 {
    background-image: var(--main-gradient);
    color: var(--light);

    span {
        color: var(--light);
    }
}

/* header, personnalized classes */
.header {
    height: 70px;
    margin-bottom: 0;
    color: var(--default-font-color);
}

/* override bootstrap style*/
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-left: 0 !important;
    padding-right: 0 !important;;
}

@media (min-width: 1200px) {
    .col-lg-3 {
        width: 24% !important;;
        left: 20px;
    }
}

/* Customization des messages d'erreurs */
.error {
    display: flex;
    width: fit-content;
    position: fixed;
    top: 0;
    border-radius: 5px;
    padding: 10px;
    left: 0;
    z-index: 99999;
}

/* resize DCO logo */
.img-data-mrgpd {
    max-width: 80px;
}

.how_secure_data_table {
    width : 100%;
    display: table;
    thead {
        height: 40px;
        background-color: var(--accent)

    }
    tr:nth-child(even) {
        background: var(--bg-blue);
    }
    tr {
        display: table-row;
        width: 100%;
    }

    small {
        border: 1px solid var(--border-color);
        color: var(--blue);
        width: fit-content;
        padding: 3px 8px;
        border-radius: 30px;
        list-style-type: none;
    }

}

.rgpdCustomMeasuresList {
    display: flex;
    flex-direction: row;
    gap: 5px;
    justify-content: space-evenly;
}
.rgpdMeasureItem {
    border: 1px solid var(--blue);
    background-color: var(--border-color);
    color: var(--blue);
    width: fit-content;
    padding: 3px 8px;
    border-radius: 30px;
    list-style-type: none;
}


.vui-screen-document .fixed-buttons .document-top-buttons {
    background-color: #fff;
    padding: 2px 16px;
    margin-bottom: 50px;
    border-radius: 15px;
    position: fixed;
    z-index: +41;
    margin: 0;
    top: 58px;
    left: unset;
    width: calc(100% - 128px);
    border-radius: 0 0 15px 15px;
}

.vui-screen-document.compact h1 {
    padding: 7px;
    font-size: 14px;
    line-height: 1;
    margin-bottom: 16px;
    position: sticky;
    top: 0;
    z-index: +41;
}

.vui-screen-document h1 {
    padding: 7px;
    font-size: 14px;
    line-height: 1;
    margin-bottom: 16px;
    position: sticky;
    top: 0;
    z-index: +41;
}

/* Couleur de la corbeille */
button.button2.action-delete {
    color: #ff4d4f;
}

/* couleur du bouton export */
.popup-menu-handler.handler-export.popup-menu-handler-split a.postaction {
    color: white;
    background-color: var(--primary-color);
}

/* CSS pour les documents state et statuts */
.documentstate {
    border-radius: 5px;
    margin-top: 10px;
    padding: 2px;
    text-align: right;
    font-size: 12px;
    white-space: nowrap;
}

.statut-setting {
    border: 1px solid #6F5FDC;
    font-weight: bold;
    background: #816EFF66 0% 0% no-repeat padding-box;
    color: #6F5FDC;
}


.statut-deroulement {
    border: 1px solid #ffd400;
    font-weight: bold;
    background: #ffffe0 0% 0% no-repeat padding-box;
    color: #ffd400;
}

.statut-actions {
    border: 1px solid #EC733C;
    font-weight: bold;
    background: #FFB94659 0% 0% no-repeat padding-box;
    color: #EC733C;
}

.statut-closed {
    border: 1px solid #00B58D;
    font-weight: bold;
    background: #00D2A366 0% 0% no-repeat padding-box;
    color: #00B58D;
}

.statut-cancel {
    border: 1px solid #868688;
    font-weight: bold;
    background: #DCDCDC 0% 0% no-repeat padding-box;
    color: #868688;
}

.statut-archive {
    border: 1px solid #868688;
    font-weight: bold;
    background: #DCDCDC 0% 0% no-repeat padding-box;
    color: #868688;
}

.statut-assessement {
    border: 1px solid #0089CC;
    font-weight: bold;
    background: #0089CC59 0% 0% no-repeat padding-box;
    color: #0089CC;
}

.statut-treatment {
    border: 1px solid #EC733C;
    font-weight: bold;
    background: #FFB94659 0% 0% no-repeat padding-box;
    color: #EC733C;
}

.statut-check {
    border: 1px solid #ffd400;
    font-weight: bold;
    background: #ffffe0 0% 0% no-repeat padding-box;
    color: #ffd400;
}

.statut-activite {
    border: 1px solid #00B58D;
    font-weight: bold;
    background: #00D2A366 0% 0% no-repeat padding-box;
    color: #00B58D;
}

.statut-validate {
    border: 1px solid #EC733C;
    font-weight: bold;
    background: #FFB94659 0% 0% no-repeat padding-box;
    color: #EC733C;
}

/* CSS pour les risques */
.risk-low {
    font-weight: bold;
    color: #70bf00;
}

.risk-moderate {
    font-weight: bold;
    color: #007ed9;
}

.risk-high {
    font-weight: bold;
    color: #ff7b00;
}

.risk-critical {
    font-weight: bold;
    color: #eb003b;
}


.risk-5 {
    font-weight: bold;
    color: #70bf00;
}

.risk-4 {
    font-weight: bold;
    color: #27c027;
}

.risk-3 {
    font-weight: bold;
    color: #007ed9;
}

.risk-2 {
    font-weight: bold;
    color: #ff7b00;
}

.risk-1 {
    font-weight: bold;
    color: #eb003b;
}

/* Selecteur qui permet de mettre toutes les données de sélecteur moovapps readonly avec de jolies étiquette*/
ul[data-vdp-sysname].readonly-field.autocomplete-multiple-list-readonly > li {
    padding: 0.313em 0.5em;
    box-shadow: 0px 3px 3px 0px #d1d1d1;
    border-radius: 20px;
    background-color: #d9ecf9;
    color: #0128C0;
    float: left;
    margin-right: 10px;
    list-style-type: none;
}

.rgpdMeasureItem {
    padding: 0.313em 0.5em;
    box-shadow: 0px 3px 3px 0px #d1d1d1;
    border-radius: 20px;
    background-color: rgba(0, 126, 217, 0.15);
    color: #0128C0;
    float: left;
    margin-right: 10px;
    list-style-type: none;
    margin-top: 10px;
}


.rgpdCustomMeasuresList {
    display: block;
}

div[data-vdp-sysname].readonly-field.autocomplete-multiple-list-readonly > ul > li {
    padding: 0.313em 0.5em;
    box-shadow: 0px 3px 3px 0px #d1d1d1;
    border-radius: 20px;
    background-color: #d9ecf9;
    color: #0128C0;
    float: left;
    margin-right: 10px;
    list-style-type: none;
}

/* Ressource Juridiques */
.folders>ul {
    margin-left: 10px;
}

.folders>ul>li {
    list-style-position: inside;
    list-style-type: disc;
}

.folders>ul ul {
    padding-left: 10px;
}

.folders>ul ul li {
    list-style-position: inside;
    list-style-type: disc;
}

.folders li {
    position: relative;
    padding: 5px 0 5px 10px;
    overflow: hidden;
}

.folders li.link-active {
    color: var(--blue);
}

.folders li.link-active:after {
    content: '';
    position: absolute;
    display: block;
    top: 5px;
    right: 30px;
    width: 6px;
    height: 10px;
    margin: 5px 0 0 0;
    background-image: url('../img/arrow-right.svg');
    transition: right 0.3s;
}

.folders li[collapsed="1"] {
    list-style-type: disclosure-closed;
}

.folders li[collapsed="1"]>ul {
    display: none;
}

.folders li[collapsed="0"] {
    list-style-type: disclosure-open;
}

.folders li[collapsed="0"]>ul {
    display: block;
}


.folders span {
    cursor: pointer;
}

.folders span:hover {
    opacity: 0.7;
}

/* Réservoirs de données  */
img.img-data-mrgpd {
    height: 30px;
}

.list-view .detail .title H4 IMG {
    display: inline-block !important;
    vertical-align: middle;
    margin-top: -3px;
    position: absolute;
    right: 50px;
}

/* Delete button in red*/
.view-actions .action-delete::before, .view-actions .button2.action-delete::before {
    color: #FB6145;
}

/* List référentiel DCO*/
.sidebar-panel.current-panel {
    padding: 10px;
    font-size: large;
}

.sidebar-panel.current-panel.dco-ref {
    display: grid;
    font-size: unset;
}

/* Audit IA buttons */
.iaImage {
    position: absolute;
    float: right;
    width: 32px;
    margin-left: 162px;
    margin-top: 2px;
}

.pastille-beta {
    /* Legacy img to delete */
    position: relative;
    left: 4px;
    height: 40px;
    opacity: 0.5;
    display: none;
}

.button1.beta {
    position: relative; /* suffit à lui seul */
}

.button1.beta::after {
    content: "";
    position: absolute;
    background: url("/moovapps/easysite-resources/skins/workplace/img/betaIcon.png") no-repeat center / contain;
    width: 40px;
    height: 40px;
    top: -1px;
    pointer-events: none;
    opacity: 0.9;
    left: -1px;
}