﻿/* arbre general */
.arbre-container > .arbre-list {
    white-space: nowrap;
    margin-top: 24px;
    font-size: 0;
}

.arbre-container .arbre-list .arbre-item {
    display: inline-block;
    width: 15%;
    vertical-align: top;
    padding: 0;
    border-top: 2px solid #666666;
}

    .arbre-container .arbre-list .arbre-item.demande {
        padding: 0px 5px;
    }

.arbre-container .arbre-list .arbre-sub-item {
    margin: 12px 0;
}

@media (max-width:1300px) {
	.arbre-container .arbre-list .arbre-item {
		width: 20%;
	}
}

@media (max-width:1199px) {
    .arbre-container .arbre-list .arbre-item {
        width: 25%;
    }
}

@media (max-width:991px) {
    .arbre-container .arbre-list .arbre-item {
        width: 33%;
    }
}
@media (min-width:769px) {
    .arbre-container.menu-wrapper {
        margin-bottom: 50px !important;
    }
}

@media (max-width:768px) {
    .arbre-container.menu-wrapper {
        padding-bottom:80px !important;
    }
    .arbre-container .arbre-list {
        white-space: normal;
    }

        .arbre-container .arbre-list .arbre-item {
            width: 100%;
            border-top: none;
            margin: 12px 0px;
        }

            .arbre-container .arbre-list .arbre-item .arbre-header {
                display: none;
            }
}


.arbre-container .arbre-list .arbre-item .arbre-header {
    height: 50px;
    width: 50%;
    border-right: 2px solid #666666;
}

.arbre-container a,
.arbre-container a:hover,
.arbre-container a:focus,
.arbre-container a:active {
    text-decoration: none;
    text-align: center;
    font-size: 0.938rem;
}
.arbre-container .arbre-n-1:hover,
.arbre-container .arbre-n-1:focus,
.arbre-container .arbre-n-2:hover,
.arbre-container .arbre-n-2:focus {
    box-shadow: 1px 1px 4px #969696;
    -webkit-transition: box-shadow 300ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
    transition: box-shadow 300ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

/* niveau 1 */
.arbre-container .arbre-list .arbre-item .arbre-n-1 {
    margin: 0px 12px;
    border: 1px solid #FE3741;
    border-radius: 10px;
    color: #FE3741;
    font-weight: 800;
    font-size: 1rem;
    white-space: normal;
}

    .arbre-container .arbre-list .arbre-item .arbre-n-1.demande {
        width: 96%;
        margin-left: auto;
        margin-right: auto;
        border: none;
        background-color: #ECEEF0;
        display: block;
        border: none;
        color: dimgray;
    }

    .arbre-container .arbre-list .arbre-item .arbre-n-1 a
    {
        display: block;
        padding: 15px 5px;
    }

    .arbre-container .arbre-list .arbre-item .arbre-n-1 span {
        font-size: 0.75rem;
        font-weight: 700;
        color: #424242;
        position: absolute;
        margin-top: -11px;
        padding-left: 18px;
    }

    .arbre-container .arbre-list .arbre-item .arbre-n-1 .arbre-n-1-footer {
        position: relative;
        top: 15px;
    }

	.arbre-container .arbre-list .arbre-item .arbre-n-1.demande a,
	.arbre-container .arbre-list .arbre-item .arbre-n-1.demande span {
		padding: 20px 5px;
	}


/* niveau 2 */
.arbre-container .arbre-list .arbre-sub-item .arbre-n-2 {
    margin: 0px 24px;
    position: relative;
    border: 1px solid #00B450;
    border-radius: 6px;
    text-align: center;
    white-space: normal;
}

	.arbre-container .arbre-list .arbre-sub-item .arbre-n-2.demande {
		border-color: #475C6C;
	}

.arbre-container .arbre-list .arbre-sub-item .arbre-n-2 a {
    display: block;
    padding: 15px 3px;
}

    .arbre-container .arbre-list .arbre-sub-item .arbre-n-2 span {
        font-size: 0.75rem;
        font-weight: 700;
        color: #424242;
        position: absolute;
        margin-top: -11px;
        padding-left: 18px;
    }

    .arbre-container .arbre-list .arbre-sub-item .arbre-n-2 .arbre-n-2-footer {
        position: relative;
        top: 15px;
    }


	.arbre-container .arbre-list .arbre-sub-item .arbre-n-2.demande a {
		border: none;
		background-color: #475C6C;
		color: #FFF;
	}

/* niveau 3 */
.arbre-container .arbre-list .arbre-sub-item .arbre-n-3 {
    position: relative;
    margin: 11px 0px;
}

    .arbre-container .arbre-list .arbre-sub-item .arbre-n-3 a {
        display: block;
        border-radius: 6px;
        text-align: center;
        padding: 15px 10px;
        white-space: normal;
    }

	.arbre-container .arbre-list .arbre-sub-item .arbre-n-3.demande a {
		border: solid 1px #475C6C;
		color: #475C6C;
	}
