/*******************************/
/*         SHORTCODE           */
/*******************************/

/** définitions css communes */
.orgChart .chart {
    margin-bottom: 3em;
}
.orgChart hr {
    margin-left: 3em;
    margin-right: 3em;
}
.orgChart .title {
    display: block;
}
.orgChart .description {
    margin: 3em;
    text-align: justify;
}
.orgChart .listlink {
    text-align: center;
}

/* Organigramme par niveau */
.orgChart .chart .level {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
}
.orgChart .chart .level {
    justify-content: space-around;
}
.orgChart .chart .item .firstname,
.orgChart .chart .item .name {
    display: block;
}
.orgChart .level1 .item .firstname,
.orgChart .level1 .item .name {
    display: inline;
}

/* Chaque membre */
.orgChart .item {
    position: relative;
    display: inline-block;
    
    font-size: 1em;
    color: black;
    font-weight: bold;
    width: 9em;
    text-align: center;
    padding: 0.3em;
}

.orgChart .item .tooltiptext {
    visibility: hidden;
    width: auto;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 100%;
}

.orgChart .item:hover .tooltiptext {
  visibility: visible;
}

.orgChart .chart .level1 .item {
    display: flex;
}
.orgChart .chart .level > div {
    margin: 1em;
}
.orgChart .level1 .item {
    font-size: 1.2em;
}
.orgChart .chart .titles {
    font-size: 0.75em;
    font-style: italic;
    margin: 1.5em 0;
    white-space: nowrap;
}

/* Légende des membres */
.orgChart .level1 .detail .firstname,
.orgChart .level1 .detail .name {
    display: inline-block;
}

.orgChart .photo {
    margin: 0.2em;
    height: 8em;
    width: 8em;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    flex: 1;
}
.orgChart .level .detail {
    flex: 1.5;
}
.level1 .item {
    flex-direction: row;
    width: 18em;
    align-items: center;
}

/* Détail de l'organigramme sous forme de liste */

.orgChart .list .row {
    margin: 0;
    border: 0.1em solid black;
    border-top: none;
    text-align: center;
}
.orgChart .list .row.header {
    border-top: 0.1em solid black;
    background-color: #f0f4e5;
    color: #669900;
    font-weight: bold;
}
.orgChart .list .row > div {
    border-right: 0.1em solid black;
    padding: 1em 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.orgChart .list .row > div:last-child {
    border-right: none;
}
.orgChart .list .left {
    text-align: left;
}
.orgChart .list .detail .firstname,
.orgChart .list .detail .name {
    font-weight: bold;
}

.orgChart .listlink a {
    text-align: center;
    text-decoration: underline;
    padding-left: 12px;
}

.content .table th, .content .table td {
    vertical-align: middle;
    text-align: center;
}

.content .table .actualFunctions {
    text-align: center;
    white-space: pre-line;
}

.content .table .oldFunctions {
    text-align: left;
    white-space: pre-line;
}