html
{
    font-size: 14px;
}

@media (min-width: 768px)
{
    html
    {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus
{
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html
{
    position: relative;
    min-height: 100%;
}

header
{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0px 0px 30px 0px #000;
    background-color: #fff;
    z-index: 9999;
}

    header nav
    {
        margin-bottom: 0 !important;
    }

        header nav .nav-item
        {
        }

            header nav .nav-item.active
            {
                border-bottom: solid 2px #A07A61;
            }

                header nav .nav-item.active .nav-link
                {
                }

                    header nav .nav-item.active .nav-link:hover
                    {
                        opacity: 1.0;
                        cursor: default;
                    }

            header nav .nav-item .nav-link
            {
                padding-bottom: 0.2rem;
            }

body
{
    margin: 0;
    /*    display: flex;
    flex-direction: column;
    min-height: 100vh;
*/
}

    body > .container
    {
        /*flex: 1;*/
        padding: 20px;
        max-width: 100%;
    }

footer
{
    width: 100%;
    text-align: right;
    font-size: 0.7rem;
    background-color: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

    footer > .container-footer
    {
        max-width: 100%;
        line-height: 35px;
        white-space: nowrap;
        overflow: hidden;
        padding: 0 0.35rem;
    }

:not(#objectifs) a:hover
{
    opacity: 0.6;
}

.grecaptcha-badge
{
    bottom: 40px !important;
}

.filigrane
{
    text-align: center;
    font-style: italic;
    opacity: 0.5;
    font-size: 2rem;
    font-weight: 100;
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100vw);
    line-height: calc(100vh);
    letter-spacing: 0.5rem;
    z-index: 999999;
    cursor: default;
    display: none;
}

.filigrane2
{
    text-align: center;
    font-style: italic;
    opacity: 0.5;
    font-size: 2rem;
    font-weight: 100;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    letter-spacing: 0.5rem;
    z-index: 999999;
    cursor: default;
    padding-top: 20rem;
}


button[type="submit"],
input[type="button"]
{
    display: inline-block;
    text-align: center;
    width: 140px;
    height: 30px;
    line-height: 20px;
    border: solid 1px #ddd;
    padding: 4px 0;
    margin: 0 6px;
    box-sizing: border-box;
    cursor: pointer;
    color: #fff;
    background-color: #A07A61;
}

    button[type="submit"]:hover,
    input[type="button"]:hover
    {
        color: #000;
        background-color: #cfbaab;
    }


.table-config
{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

    .table-config th
    {
        color: #fff;
        font-weight: 400;
        border: solid 1px #ddd;
        padding: 0;
        text-align: center;
        background-color: #a07a61;
    }

    .table-config td
    {
        border: solid 1px #ddd;
        padding: 0 !important;
        text-align: center;
        position: relative;
    }

    .table-config tr:first-child td
    {
        border-top: none;
    }

    .table-config input
    {
        border: none;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        text-align: left;
        padding-left: 4px;
    }

        .table-config input.config-avec-unite
        {
            padding-right: 10px;
        }

    .table-config .config-unite
    {
        position: absolute;
        right: 5px;
        top: 0;
        user-select: none;
    }


/* Tooltips */
.tippy-content
{
    max-height: calc(95vh);
    overflow-y: auto;
}

.tooltip-panel
{
    font-weight: 100;
}

    .tooltip-panel .tooltip-titre
    {
        width: 100%;
        text-align: center;
        white-space: nowrap;
        font-size: 1.15rem;
        font-weight: normal;
    }

    .tooltip-panel .tooltip-id
    {
        position: absolute;
        top: 0;
        left: 0;
        padding: 1px 16px 2px 13px;
        border-bottom: solid 1px #f1a759;
        color: #f1a759;
        border-right: solid 1px #f1a759;
        border-bottom-right-radius: 12px;
        letter-spacing: 1px;
    }

    .tooltip-panel .tooltip-soustitre
    {
        width: 100%;
        text-align: center;
        white-space: nowrap;
        color: #ccc;
    }

        .tooltip-panel .tooltip-soustitre.c1,
        .tooltip-panel .tooltip-soustitre.c2,
        .tooltip-panel .tooltip-soustitre.c3,
        .tooltip-panel .tooltip-soustitre.c4,
        .tooltip-panel .tooltip-soustitre.c5,
        .tooltip-panel .tooltip-soustitre.c6
        {
            color: #000;
            width: 200px;
            margin-top: 3px;
            margin-left: auto;
            margin-right: auto;
            padding-left: 10px;
            padding-right: 10px;
            font-weight: 400;
        }

    .tooltip-panel .tooltip-description
    {
        width: 100%;
        text-align: justify;
        margin-top: 6px;
    }

    .tooltip-panel table
    {
        width: 100%;
        border: solid 1px rgba(255, 255, 255, 0.5);
        border-collapse: collapse;
        text-align: center;
        margin-top: 15px;
    }

        .tooltip-panel table th,
        .tooltip-panel table td
        {
            padding: 3px;
            border: solid 1px rgba(255, 255, 255, 0.5);
        }

        .tooltip-panel table th
        {
            font-weight: 100;
            width: 250px;
        }

        .tooltip-panel table td
        {
            width: 50%;
            vertical-align: top;
            text-align: left;
        }

    .tooltip-panel .tooltip-lienref
    {
        font-size: 0.95rem;
        display: block;
        margin-top: 8px;
        margin-bottom: 5px;
        width: 100%;
        text-align: center;
        white-space: nowrap;
        color: #f1a759;
        text-decoration: none;
    }

    .tooltip-panel code
    {
        font-size: 0.85rem;
        color: #f1a759;
    }

    .tooltip-panel .referentiel-lien
    {
        color: #f1a759;
        text-decoration: none;
    }

    .tooltip-panel ul
    {
        margin: 0;
        padding: 0px 0px 0px 18px;
    }

        .tooltip-panel ul li
        {
        }

            .tooltip-panel ul li .tooltip-info
            {
                opacity: 0.5;
                font-style: italic;
            }

    .tooltip-panel .tooltip-warn
    {
        color: #ff7f7f;
        opacity: 1.0 !important;
    }

    .tooltip-panel a
    {
        color: #fff;
        text-decoration: none;
    }

    .tooltip-panel .tooltip-warn a
    {
        color: #ff7f7f;
    }

.tippy-box
{
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
}
/* Tooltips */


/* Contact */
.contact
{
}

    .contact button[type="submit"]
    {
        height: 50px;
        width: 250px;
    }
/* Contact */


/* Risk Matrix */
.riskmatrix
{
    display: flex;
    flex-direction: row;
    height: calc(100vh - 116px);
}

    .riskmatrix .riskmatrix-matrix
    {
        width: calc(130vh);
        padding-right: 0.5rem;
        /*border-right: solid 1px #ecd5b3;*/
        color: #000;
        user-select: none;
    }

    .riskmatrix .riskmatrix-config
    {
        flex: 1;
        min-width: 400px;
        padding: 1.5rem 0.5rem 0.5rem 0.5rem;
        background-color: #fff;
        padding-top: 25px;
        overflow: auto;
    }

    .riskmatrix .table-config input.cId
    {
        padding-left: 2px;
        text-align: center;
    }

    .riskmatrix .table-config input.cProba,
    .riskmatrix .table-config input.cImpact
    {
        padding-left: 16px;
        text-align: center;
    }

    .riskmatrix .riskmatrix-config .cBtnLoad,
    .riskmatrix .riskmatrix-config .cBtnApply,
    .riskmatrix .riskmatrix-config .cBtnExport
    {
        width: 100px
    }

    .riskmatrix .riskmatrix-config #upload
    {
        display: none;
    }

.matrice-conteneur
{
    width: 100%;
    max-width: 1600px;
    height: 100%;
    box-sizing: border-box;
    padding: 80px 80px 0 0;
    background-color: #fff;
    position: relative;
}

.fleche-v
{
    width: 100%;
    grid-row: 1 / span 4;
    grid-column: 1;
    position: relative;
}

    .fleche-v .ligne
    {
        margin-right: 14px;
        margin-left: auto;
        height: calc(100% - 20px);
        background: #000;
        width: 2px;
    }

    .fleche-v .point
    {
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 20px solid #000;
        margin-right: 5px;
        margin-left: auto;
    }

    .fleche-v .libelle
    {
        text-align: center;
        color: #000;
        margin-top: 13px;
        transform: rotate(270deg);
        cursor: default;
        position: absolute;
        top: calc(50%);
        right: -5px;
        font-size: 34px;
    }


.fleche-h
{
    width: 100%;
    margin-top: 5px;
    grid-row: 6;
    grid-column: 3 / span 4;
}

    .fleche-h .ligne
    {
        margin-top: 8px;
        width: calc(100% - 20px);
        background: #000;
        height: 2px;
        float: left;
    }

    .fleche-h .point
    {
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 20px solid #000;
        float: right;
    }

    .fleche-h .libelle
    {
        text-align: center;
        color: #000;
        margin-top: 13px;
        cursor: default;
        font-size: 34px;
    }

.matrice-cases
{
    text-align: center;
    display: grid;
    grid-template-columns: 110px 30px 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 30px 110px;
    /*grid-template-rows: auto;*/
    margin-left: auto;
    margin-right: auto;
    height: 100%;
    grid-gap: 2px;
}

.mb
{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-color: #ccc;
    display: table;
}

.mb-r
{
    width: 100%;
    height: 100%;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}

.mb-s
{
    display: inline-block;
    cursor: default;
    color: #000;
    background-color: #fff;
    border-radius: 17px;
    padding: 0;
    margin: 2px;
    line-height: 34px;
    box-sizing: border-box;
    width: 34px;
    font-size: 14px;
}


.m_id
{
    background-color: #fff;
    font-size: 36px;
    line-height: 36px;
    cursor: default;
}

.m_id_r .mb-r
{
    text-align: right;
    padding-right: 10px;
}

.m_id_c .mb-r
{
    vertical-align: top;
}

.m_id_r1
{
    grid-row: 4;
    grid-column: 2;
}

.m_id_r2
{
    grid-row: 3;
    grid-column: 2;
}

.m_id_r3
{
    grid-row: 2;
    grid-column: 2;
}

.m_id_r4
{
    grid-row: 1;
    grid-column: 2;
}

.m_id_c1
{
    grid-row: 5;
    grid-column: 3;
}

.m_id_c2
{
    grid-row: 5;
    grid-column: 4;
}

.m_id_c3
{
    grid-row: 5;
    grid-column: 5;
}

.m_id_c4
{
    grid-row: 5;
    grid-column: 6;
}


.m_1-1
{
    grid-row: 4;
    grid-column: 3;
}

.m_2-1
{
    grid-row: 4;
    grid-column: 4;
}

.m_3-1
{
    grid-row: 4;
    grid-column: 5;
}

.m_4-1
{
    grid-row: 4;
    grid-column: 6;
}


.m_1-2
{
    grid-row: 3;
    grid-column: 3;
}

.m_2-2
{
    grid-row: 3;
    grid-column: 4;
}

.m_3-2
{
    grid-row: 3;
    grid-column: 5;
}

.m_4-2
{
    grid-row: 3;
    grid-column: 6;
}


.m_1-3
{
    grid-row: 2;
    grid-column: 3;
}

.m_2-3
{
    grid-row: 2;
    grid-column: 4;
}

.m_3-3
{
    grid-row: 2;
    grid-column: 5;
}

.m_4-3
{
    grid-row: 2;
    grid-column: 6;
}


.m_1-4
{
    grid-row: 1;
    grid-column: 3;
}

.m_2-4
{
    grid-row: 1;
    grid-column: 4;
}

.m_3-4
{
    grid-row: 1;
    grid-column: 5;
}

.m_4-4
{
    grid-row: 1;
    grid-column: 6;
}


.vert
{
    background-color: #00AFAB;
}

.orange
{
    background-color: #FFAA4E;
}

.rouge
{
    background-color: #EB3E51;
}
/* Risk Matrix */



@media screen
{
    html
    {
        color: #fff;
        background-color: #A07A61;
    }

    body
    {
        padding-top: 60px;
        padding-bottom: 40px;
        color: #fff;
        background-color: #A07A61;
    }

        body > .container .text-dark
        {
            color: #ecd5b3 !important;
        }
}


@media print
{
    html
    {
    }

    body
    {
        padding: 0;
    }

    header
    {
        display: none;
    }

    footer
    {
        display: none;
        box-shadow: none;
    }

    .filigrane
    {
        display: block;
    }

    .filigrane2
    {
        display: none;
    }

    .actions
    {
        display: none;
    }


    .riskmatrix
    {
        display: block;
        height: calc(100vh - 10px);
    }

        .riskmatrix .riskmatrix-matrix
        {
            display: block;
            padding-right: 0;
            border-right: none;
            width: 100%;
            height: 100%;
            page-break-after: always;
        }

        .riskmatrix .riskmatrix-config
        {
            display: block;
            width: 100%;
        }
}
