/* MASQUAGE
--------------------------------------------------------------------------------------*/

#nav, #main-nav, #toolbox {
    display: none;
}

#apercu-config, #apercu-filter, #apercu-print {
    display: none;
}

#debug {
    display: none;
}

.two-cols {
    -moz-column-count: 3;
    -moz-column-gap: 20px;
    -webkit-column-count: 3;
    -webkit-column-gap: 20px;
}


/*
	TYPO
--------------------------------------------------------------------------------------*/
body {
    font-size: 12px;
}

body #size.small {
    font-size: 11px;

}

.swot {
    font-size: 11px;
}

.swot td, .swot tr {
    vertical-align: top;
}

body #size.medium, li {
    font-size: 13px;
}

body #size.big, li {
    font-size: 16px;

}

body, h2, h2, h3, h4, h5, h6 {
    font-family: 'Bw Nista Grot Rg', sans-serif;


}

body {
    -webkit-print-color-adjust: exact;
}


h3 {
    font-size: 175%;
    margin: 0 0 .5em;
    font-weight: bold;
    text-transform: uppercase;
}

h4 {
    font-size: 150%;
    margin: .5em 0 .5em;
    font-weight: bold;
    text-transform: uppercase;
}

h5 {
    font-size: 120%;
    margin: 2em 0 1em;
    font-weight: 100;
    text-transform: uppercase;
}

h5 strong {
    font-weight: bold;
}

.couverture h2 {
    font-weight: 200;
    margin-top: 20vh;
    font-size: 150%;
}

.couverture h1 {
    font-weight: bold;
    margin: 1vh 0;
    font-size: 54px;
    line-height: 1em;
    text-transform: uppercase;
}

.couverture h3 {
    font-weight: 100;
    margin-top: 1vh;
    font-size: 25px;
    font-style: italic;
}

p {
    font-size: 100%;
    line-height: 1.1em;
}

.apercu .page p {
    margin: 2px 0 4px;
    padding: 0;
    font-size: 100%;

}

.apercu h4 {
    font-weight: 500;
    text-transform: uppercase;
    margin: .5em 0 .5em;


}


span.objectif {
    display: block;
    font-size: 100%;
    margin-left: 2em;
    margin-top: -1.5em;
    width: calc(100% - 4em);

}


.objectifs p {
    padding-top: .3em;
    font-size: 100%;
}


.obj {
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    border-radius: 1em;
    background: #333 !important;
    font-size: .8em;
    color: white !important;
    font-weight: 900;
    line-height: 1.2em;
    text-align: center;
    font-family: 'Bw Nista Grot Rg', sans-serif;
    margin-right: 8px;
    font-size: 100%;
}


.obj.small {
    margin-right: 2px;
}

.obj.priority-1 {
    background: #800404 !important;
}

.obj.priority-2 {
    background: #805f03 !important;
}

.obj.priority-3 {
    background: #628002 !important;
}

.obj.priority-4 {
    background: #028057 !important;
}

.obj.priority-5 {
    background: #025080 !important;
}

.obj.priority-6 {
    background: #270280 !important;
}

.obj.priority-7 {
    background: #680280 !important;
}

.obj.priority-8 {
    background: #800247 !important;
}

p.done {
    color: grey;
    text-decoration: line-through;
}

.apercu p.info {
    font-size: 100%;
    font-style: italic;
    padding: 0 0 0 3em;
    margin: 0 0 2em 0;
}

p.indent {
    padding-left: 1.3em;
}


/* PAGES
--------------------------------------------------------------------------------------*/

@page {
    size: A4;


}


@media print {
    html, body {
        margin: 0;
        padding: 0;
        /*
                width: 210mm;
                height: 297mm;
                padding: 2cm 1cm;
                border: 1px dotted red;
        */

    }


    .pageCounter {
        position: relative;
        top: 0;
        right: 0;
        text-align: center;
        display: none;
    }

    .page {
        position: relative;
        page-break-after: always;
        padding: 0.5cm 1cm;
        /*font-size: 11px;*/

    }

    .landscape {
        -webkit-transform: rotate(-90deg);
        -moz-transform: rotate(-90deg);
        transform-origin: bottom right;

    }

    .footer:after {
        counter-increment: page;
        content: counter(page);
    }

    .apercu .liste_moy_com p {
        font-size: 100%
    }

    .apercu .liste_moy_com h5 {
        font-size: 120%
    }

    /* COUVERTURE
    --------------------------------------------------------------------------------------*/
    #couverture {
        background: url(../img/bg-dossier.png) no-repeat !important;
        background-position: right top;
        background-size: 250px !important;
        width: 250px;
        height: 150px;
        background-size: cover;
        position: fixed;
        bottom: 0cm;
        right: 0cm;
    }

    /* TABLEAU STRAT
    --------------------------------------------------------------------------------------*/
    #tableau {

    }

    #tableau-strat {
        border: 0;
        border-collapse: collapse;

    }

    #tableau-strat h5 {
        padding: 0;
        margin: 0;
        font-weight: 100;
        font-size: 100%;
    }


    #tableau-strat th.rotate > div {
        transform: /* Magic Numbers */ translate(25px, 51px) /* 45 is really 360 - 45 */ rotate(315deg);
        width: 40px;
    }

    #tableau-strat th.rotate > div > span {
        border-bottom: 1px solid #ccc;
        padding: 5px 0px 0px 20px;
        margin-left: -30px;
    }


    #tableau-strat td {
        text-align: center;
        border-collapse: collapse;
        border-right: 1px dotted black;
        border-top: 1px dotted black;
    }

    #tableau-strat td.no-borders {
        border-left: 0;
        border-right: 0;
    }

    #tableau-strat th.pub {
        /*   border-top: 1px dotted black; */
        border-right: 1px dotted black;
    }

    #tableau-strat td.busy {
        background: #dddddd !important;;
    }

    table tr.table-header:nth-of-type(even) {
        background: white;
    }


    table tr.table-header td, table tr.table-header th {
        border-bottom: 1px solid black;
        border-collapse: collapse;
    }

    .table-tasks {
        width: 100%;
        border: 0;
    }

    .table-tasks tr {
        padding: 0;
        margin: 0;
        border-top: 1px dotted silver
    }

    .table-tasks td {
        font-size: 11px;
        padding: 0;
        margin: 0;
        border-top: 1px dotted silver
    }

    #tableau-strat th.rotate {
        height: 140px;
        white-space: nowrap;
    }

    #tableau-strat th.rotate, #tableau-strat th.rotate td, #tableau-strat th.rotate th {
        border: 0;
    }


    .echeancier .table-tasks {
        margin: 0;
    }

    .echeancier .table-tasks tr {
        margin-bottom: 2px;
        border-bottom: 1px dotted silver;
    }

    .echeancier .table-tasks td {
        padding: 0 0 2px 0;
        font-size: 10px;
    }

    .echeancier h5 {
        margin-bottom: 0;
        font-size: 14px;
        font-weight: bold;
    }
}

/*
    PERSONNES
************************************************************************************************************************/
.avatar {
    display: inline-block;
    /*   float:right; */
    width: 1.6em;
    height: 1.7em;
    /*   padding: .4em; */
    border-radius: 1.5em;
    background: black !important;
    color: white !important;
    text-align: center;
    line-height: 1.9em;
    font-family: 'Bw Nista Grot Rg', sans-serif;
    font-weight: 900;
    margin: 0 4px 0 0;
    font-size: 9px;
}

