
div.labelOrgani{
	margin:0 auto;
	max-width:300px;
	display:block;
	position:relative;
	text-align:center;
	padding-bottom:2.1em;
}
div.labelOrgani:before{
	content: "";
    display: block;
    width: 3px;
    height: 2em;
    position: absolute;
    bottom: 0;
    left: 49%;
    background: #e0e0e0;
}
#pageTexte div.labelOrgani h3{
	background:#e57200;
	border-radius:100px;
	min-height: 2em;
    padding:1.2em 1em;
	color:#fff;
	margin:0;
	font:bold 16px "Open Sans",sans-serif;
}
#pageTexte div.labelOrgani h3 a{
	color:#fff;
}
ol.organizational-chart{
	margin-bottom:40px!important;
}
ol.organizational-chart,
ol.organizational-chart ol,
ol.organizational-chart li,
ol.organizational-chart li > div {
    position: relative;
}
ol.organizational-chart li > div{
	padding: 1em;
}
ol.organizational-chart,
ol.organizational-chart ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

ol.organizational-chart {
    text-align: center;
}
ol.organizational-chart ol {
    padding-top: 2em;
}
ol.organizational-chart.custom ol {
    padding-top: 2em;
}

ol.organizational-chart ol:before,
ol.organizational-chart ol:after,
ol.organizational-chart li:before,
ol.organizational-chart li:after,
ol.organizational-chart > li > div:before,
ol.organizational-chart > li > div:after {
    background-color: #e0e0e0;
    content: '';
    position: absolute;
}

ol.organizational-chart ol > li {
    padding: 1em 0 0 1em;
}
ol.organizational-chart.custom ol > li {
    padding: 2em 0 0 1em;
}
ol.organizational-chart.sidebar ol ol > li:first-child {
    padding: 2em 0 0 1em;
}
ol.organizational-chart > li ol:before {
    height: 2em;
    left: 50%;
    top: 0;
    width: 3px;
}
ol.organizational-chart.custom > li ol:before {
    height: 2em;
}
ol.organizational-chart.custom > li ol:after {
   	height: 3px;
    left: 12.5%;
    top: 2em;
    width: 75.3%;
}
ol.organizational-chart > li ol:after {
    height: 3px;
    left: 3px;
    top: 2em;
    width: 50%;
}
ol.organizational-chart > li ol > li:not(:last-of-type):before {
    height: 3px;
    left: 0;
    top: 1.5em;
    width: 1em;
}
ol.organizational-chart.sidebar > li ol > li:not(:last-of-type):before {
    top: 3em;
}
ol.organizational-chart.sidebar ol ol > li:first-child:before{
	top:4em;
}
ol.organizational-chart.comite > li ol > li:not(:last-of-type):before {
    top: 3em;
}
ol.organizational-chart.custom > li ol > li:not(:last-of-type):before {
    top: 2em;
}
ol.organizational-chart > li ol > li:not(:last-of-type):after {
    height: 100%;
    left: 0;
    top: 0;
    width: 3px;
}
ol.organizational-chart > li ol > li:last-of-type:before {
    height: 3px;
    left: 0;
    top: 1.5em;
    width: 1em;
}
ol.organizational-chart.sidebar > li ol > li:last-of-type:before {
    top: 3em;
}
ol.organizational-chart.comite > li ol > li:last-of-type:before {
    top: 3em;
}
ol.organizational-chart.comite > li ol > li:last-of-type:after {
    height: 3em;
}
ol.organizational-chart > li ol > li:last-of-type:after {
    height: 1.5em;
    left: 0;
    top: 0;
    width: 3px;
}
ol.organizational-chart.sidebar > li ol > li:last-of-type:after {
    height: 3em;
}
ol.organizational-chart.custom > li ol > li:last-of-type:before {
    height: 3px;
    top: 2em;
    width: 1em;
}
ol.organizational-chart.custom > li ol > li:last-of-type:after {
    height: 1em;
    left: 0;
    top: 0;
    width: 3px;
}

ol.organizational-chart.custom > li ol > li:not(:last-of-type):before {
    height: 2em;
    left: 50%;
    top: 0;
    width: 3px;
}
ol.organizational-chart.custom > li ol > li:not(:last-of-type):after {
    height: 0%;
    left: 0;
    top: 0;
    width: 0px;
}

ol.organizational-chart.custom > li ol > li:last-of-type:before {
    height: 2em;
    left: 50%;
    top: 0;
    width: 3px;
}

ol.organizational-chart.custom > li ol > li:last-of-type:after {
    height: 0;
    left: 0;
    top: 0;
    width: 3px;
}

ol.organizational-chart.custom li > div, ol.organizational-chart.comite li > div {
    vertical-align:top;
    border-radius: 3px;
    min-height: 2em;
    padding:1em;
	display:inline-block;
	border-radius:200px;
	border:1px solid #d9d9d9;
}
ol.organizational-chart.sidebar li > div, ol.organizational-chart.comite li > div{
	border-radius:200px;
}
ol.organizational-chart.comite li > div {
	display:block;
}
ol.organizational-chart.comite > li > div{
	display:inline-block;
}
#pageTexte ol.organizational-chart li > div h3{
	font:bold 16px 'Open Sans',sans-serif;
	text-transform:none;
	margin:5px 0;
}
#pageTexte ol.organizational-chart li > div p{
	margin:0px;
	line-height:140%;
	font-size:13px;
}
#pageTexte ol.organizational-chart li > div *{
	color:#fff;
}


/*** PRIMARY ***/
ol.organizational-chart > li > div {
    background-color: #e57200;
    margin-right: 1em;
}

ol.organizational-chart > li > div:before {
    bottom: 2em;
    height: 3px;
    right: -1em;
    width: 1em;
}

ol.organizational-chart > li > div:first-of-type:after {
    bottom: 0;
    height: 2em;
    right: -1em;
    width: 3px;
}

ol.organizational-chart > li > div + div {
    margin-top: 1em;
}

ol.organizational-chart > li > div + div:after {
    height: calc(100% + 1em);
    right: -1em;
    top: -1em;
    width: 3px;
}
#pageTexte ol.organizational-chart.comite > li > div{
	background-color:#f89800;
}

/*** SECONDARY ***/
ol.organizational-chart > li > ol:before {
    left: inherit;
    right: 0;
}

ol.organizational-chart > li > ol:after {
    left: 0;
    width: 100%;
}

ol.organizational-chart > li > ol > li > div {
    background-color: #f89800;
}
#pageTexte ol.organizational-chart.comite > li > ol > li > div{
	background-color:#1a8d8a;
}

/*** TERTIARY ***/
ol.organizational-chart > li > ol > li > ol > li > div {
    background-color: #2bc2bd;
}
ol.organizational-chart > li > ol > li > ol > li > div.alternate {
    background-color: #1a8d8a;
}
ol.organizational-chart.sidebar > li > ol > li > ol > li > div {
    background-color: #1a8d8a;
}
ol.organizational-chart ol.niv3 > li > div{
	width:100%;
}
#pageTexte ol.organizational-chart.comite > li > ol > li > ol > li > div{
	background-color:#2bc2bd;
}

/*** QUATERNARY ***/
ol.organizational-chart > li > ol > li > ol > li > ol > li > div {
    background-color: #2bc2bd;
}
#pageTexte ol.organizational-chart.comite > li > ol > li > ol > li > ol > li div{
	background-color:#eeeeee;
}
#pageTexte ol.organizational-chart.comite > li > ol > li > ol > li > ol > li div p strong a{
	color:#55565a;
}
/*** QUINARY ***/
ol.organizational-chart > li > ol > li > ol > li > ol > li > ol > li > div {
    background-color: #eee;
}


/*- Comité -*/
#pageTexte ol.organizational-chart.comite li.noLine:before, #pageTexte ol.organizational-chart.comite li.noBefore:before{
	display:none;
}
#pageTexte ol.organizational-chart.comite li.noLine:after{
	display:none;
}
#pageTexte ol.organizational-chart.comite > li ol > li.cut:after {
    height: 55%;
}

ol.niv3 > li{
	vertical-align:top!important;
}
ol.niv3 > li.demiNiveau {
    padding-top: 7em!important;
    vertical-align: top!important;
}
ol.niv3 > li.demiNiveau:before{
	height:7em!important;
}
/*** MEDIA QUERIES ***/
@media only screen and ( min-width: 600px) {

    ol.organizational-chart {
        margin-left: -1em;
        margin-right: -1em;
    }

    /* PRIMARY */
    ol.organizational-chart > li > div {
        display: inline-block;
        float: none;
        margin: 0 1em 1em 1em;
        vertical-align: bottom;
    }

    ol.organizational-chart > li > div:only-of-type {
        margin-bottom: 0;
        width: calc((100% / 1) - 2em - 4px);
		max-width:300px;
    }
	ol.organizational-chart.sidebar > li > div:only-of-type {
		max-width: 100%;
	}

    ol.organizational-chart > li > div:first-of-type:nth-last-of-type(2),
    ol.organizational-chart > li > div:first-of-type:nth-last-of-type(2) ~ div {
        width: calc((100% / 2) - 2em - 4px);
    }

    ol.organizational-chart > li > div:first-of-type:nth-last-of-type(3),
    ol.organizational-chart > li > div:first-of-type:nth-last-of-type(3) ~ div {
        width: calc((100% / 3) - 2em - 4px);
    }

    ol.organizational-chart > li > div:first-of-type:nth-last-of-type(4),
    ol.organizational-chart > li > div:first-of-type:nth-last-of-type(4) ~ div {
        width: calc((100% / 4) - 2em - 4px);
    }

    ol.organizational-chart > li > div:first-of-type:nth-last-of-type(5),
    ol.organizational-chart > li > div:first-of-type:nth-last-of-type(5) ~ div {
        width: calc((100% / 5) - 2em - 4px);
    }
	
	/* niveau 2 */
	
	ol.niv2 > li > div:only-of-type {
        margin-bottom: 0;
        width: calc((100% / 1) - 2em - 4px);
		max-width:250px;
		display:inline-block;
    }

    ol.niv2 > li > div:first-of-type:nth-last-of-type(2),
    ol.niv2 > li > div:first-of-type:nth-last-of-type(2) ~ div {
        width: calc((100% / 2) - 2em - 4px);
    }

    ol.niv2 > li > div:first-of-type:nth-last-of-type(3),
    ol.niv2 > li > div:first-of-type:nth-last-of-type(3) ~ div {
        width: calc((100% / 3) - 2em - 4px);
    }

    ol.niv2 > li > div:first-of-type:nth-last-of-type(4),
    ol.niv2 > li > div:first-of-type:nth-last-of-type(4) ~ div {
        width: calc((100% / 4) - 2em - 4px);
    }

    ol.niv2 > li > div:first-of-type:nth-last-of-type(5),
    ol.niv2 > li > div:first-of-type:nth-last-of-type(5) ~ div {
        width: calc((100% / 5) - 2em - 4px);
    }
	
	/* niveau 3 */
	ol.niv3 > li{
		display:inline-block;
	}
	ol.niv3 > li:only-of-type {
        margin-bottom: 0;
        width: calc((100% / 1) - 4px);
		max-width:250px;
		
    }

    ol.niv3 > li:first-of-type:nth-last-of-type(2),
    ol.niv3 > li:first-of-type:nth-last-of-type(2) ~ li {
        width: calc((100% / 2) - 4px);
    }

    ol.niv3 > li:first-of-type:nth-last-of-type(3),
    ol.niv3 > li:first-of-type:nth-last-of-type(3) ~ li {
        width: calc((100% / 3) - 4px);
    }

    ol.niv3 > li:first-of-type:nth-last-of-type(4),
    ol.niv3 > li:first-of-type:nth-last-of-type(4) ~ li {
        width: calc((100% / 4) - 4px);
    }

    ol.niv3 > li >:first-of-type:nth-last-of-type(5),
    ol.niv3 > li >:first-of-type:nth-last-of-type(5) ~ li {
        width: calc((100% / 5) - 4px);
    }
	
	

	
		
    ol.organizational-chart > li > div:before,
    ol.organizational-chart > li > div:after {
        bottom: -1em!important;
        top: inherit!important;
    }

    ol.organizational-chart > li > div:before {
        height: 1em!important;
        left: 50%!important;
        width: 3px!important;
    }

    ol.organizational-chart > li > div:only-of-type:after {
        display: none;
    }

    ol.organizational-chart > li > div:first-of-type:not(:only-of-type):after,
    ol.organizational-chart > li > div:last-of-type:not(:only-of-type):after {
        bottom: -1em;
        height: 3px;
        width: calc(50% + 1em + 3px);
    }

    ol.organizational-chart > li > div:first-of-type:not(:only-of-type):after {
        left: calc(50% + 3px);
    }

    ol.organizational-chart > li > div:last-of-type:not(:only-of-type):after {
        left: calc(-1em - 3px);
    }

    ol.organizational-chart > li > div + div:not(:last-of-type):after {
        height: 3px;
        left: -2em;
        width: calc(100% + 4em);
    }

    /* SECONDARY */
    ol.organizational-chart > li > ol {
        display: flex;
        flex-wrap: nowrap;
    }
	ol.organizational-chart > li > ol:before,
    ol.organizational-chart > li > ol > li:before {
        height: 2em!important;
        left: 50%!important;
        top: 0!important;
        width: 3px!important;
    }
    ol.organizational-chart.custom > li > ol:before,
    ol.organizational-chart.custom > li > ol > li:before,
	ol.organizational-chart.comite > li > ol:before,
    ol.organizational-chart.comite > li > ol > li:before{
        height: 2em!important;
    }

    ol.organizational-chart > li > ol:after {
        display: none;
    }

    ol.organizational-chart > li > ol > li {
        flex-grow: 1;
        padding-left: 1em;
        padding-right: 1em;
        padding-top: 2em;
    }
	#pageTexte ol.organizational-chart.comite > li > ol{
		display:block;
		overflow:hidden;
	}
	#pageTexte ol.organizational-chart.comite > li > ol > li {
		float: left;
		width: 33%;
	}

    ol.organizational-chart > li > ol > li:only-of-type {
        padding-top: 0;
    }

    ol.organizational-chart > li > ol > li:only-of-type:before,
    ol.organizational-chart > li > ol > li:only-of-type:after {
        display: none;
    }

    ol.organizational-chart > li > ol > li:first-of-type:not(:only-of-type):after,
    ol.organizational-chart > li > ol > li:last-of-type:not(:only-of-type):after {
        height: 3px;
        top: 0;
        width: 50%;
    }

    ol.organizational-chart > li > ol > li:first-of-type:not(:only-of-type):after {
        left: 50%;
    }

    ol.organizational-chart > li > ol > li:last-of-type:not(:only-of-type):after {
        left: 0;
    }

    ol.organizational-chart > li > ol > li + li:not(:last-of-type):after {
        height: 3px;
        left: 0;
        top: 0;
        width: 100%;
    }

}