.toc-layout-main {
    min-height: 20px;
    margin-bottom: 20px;
    font-family: 'AlmaraiRegular'!important;

}

.toc-layout-main ul:not(.list-unstyled) {
    padding-right: 22px;
}

.toc-layout-main ul:not(.list-unstyled)>li {
    list-style-type: none;
    margin: 0;
    padding: 8px 5px 0 5px;
    position: relative;
}

.toc-layout-main ul:not(.list-unstyled)>li::before,
.toc-layout-main ul:not(.list-unstyled)>li::after {
    content: '';
    right: -8px;
    position: absolute;
    left: auto;
}

.toc-layout-main ul:not(.list-unstyled)>li::before {
    border-right: 2px dashed #1E6E48;
    height: 100%;
    top: -6px;
    width: 1px;
    z-index: 1;
}

.toc-layout-main ul:not(.list-unstyled)>li::after {
    border-top: 2px solid #1E6E48;
    height: 20px;
    top: 23px;
    width: 25px;
}

.toc-layout-main ul:not(.list-unstyled)>li div {
    border: 1px solid #ccc;
    display: inline-block;
    text-decoration: none;
    background: #ccc;
    z-index: 4;
    position: relative;
    font-size: 16px;
    min-width: 300px;
    text-align: center;
    padding: 0;
}
.toc-layout-main ul>li div{
    position: relative;
    overflow: hidden;
}
.toc-layout-main ul>li div svg {
    fill: #fff;
    z-index: -1;
    position: absolute;
    opacity: 0.5;
    height: 90%;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    left: .8rem;
    width: 35px;
    transition: all 600ms ease-in-out;
    -webkit-transition: all 600ms ease-in-out;
    -moz-transition: all 600ms ease-in-out;
    -ms-transition: all 600ms ease-in-out;
    -o-transition: all 600ms ease-in-out;
}
.toc-layout-main ul>li div:hover svg {
    width: 100%;
    transition: all 600ms ease-in-out;
    -webkit-transition: all 500ms ease-in-out;
    -moz-transition: all 500ms ease-in-out;
    -ms-transition: all 500ms ease-in-out;
    -o-transition: all 500ms ease-in-out;
    height: 246%;
    opacity: 0.1;
}
.toc-layout-main ul:not(.list-unstyled)>li div.expanded{
    background: #000;
}
.toc-layout-main div {
    cursor: default;
    color: #000;
}

.toc-layout-main ul>li>div:not(.orgchart-list) {
    padding-right: 1.5em;
}

.toc-layout-main ul>li.parent_li>div:not(.orgchart-list) {
    cursor: pointer;
}

.toc-layout-main>ul:not(.list-unstyled)>li::before,
.toc-layout-main>ul:not(.list-unstyled)>li::after {
    border: 0;
}

.toc-layout-main ul:not(.list-unstyled)>li:last-child::before {
    height: 30px;
}
.toc-layout-main>ul>li.parent_li>ul>li>div{
    background: #1E6E48!important;
    border: 1px solid #1E6E48!important;
    color: #fff;
}
.toc-layout-main .level-section a{
    color: #fff!important;
    text-decoration: none;
    display: block;
    padding:15px;

}



.toc-layout-main>ul:first-of-type {
    padding-right: 0;
}

.toc-layout-main ul.list-unstyled li {
    padding-right: 1.5em;
    text-indent: -1.5em;
}

.toc-layout-main div.collapsed+ul>li {
    display: none;
}

.toc-layout-main div.expanded+ul>li {
    display: list-item;
}
.toc-layout-main>ul>li.parent_li>ul>li.parent_li>ul>li>div{
    background-color: #5d8a59 !important;
    border-color: #5d8a59 !important;
}
.toc-layout-main>ul>li.parent_li>ul>li.parent_li>ul>li>div:hover{
    background-color: #92AD6C !important;
    border-color: #92AD6C !important;
}
/* .toc-layout-main .level-section.level-item-pos a{
    color: #191919!important;
} */
.toc-layout-main li.parent_li>div:not(.orgchart-list):before {
    content: "\f068";
    font-family: "FontAwesome";
    font-size: 0.6em;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    background: #fff;
    width: 30px;
    height: 30px;
    line-height: 30px;
    color: #1E6E48;
    border-radius: 4px;
}
.toc-layout-main ul:not(.list-unstyled) ul > li > ul > li > ul > li div a{
    color: #191919!important;
}
.hideThis:before {
    display: none;
}
.toc-layout-main li.parent_li>div.collapsed:before {
    content: "\f067";
}

.plusIcon{
    font-family: "FontAwesome";
}



.orgchart-list>ul>li {
    padding-top: 4px;
    padding-bottom: 4px;
}

.orgchart-list>ul>li:not(:last-of-type) {
    border-bottom: 1px solid #ccc;
}

.toc-layout-main span {
    display: block;
    font-size: 0.85em;
    color: #666;
}
.toc-layout-main ul>li>div.main_parent{
    background: #1E6E48!important;
    color: #fff!important;
    border: 1px solid #1E6E48!important;
}
.toc-layout-main ul>li>div:hover+ul > li> ul > li > div,
.toc-layout-main ul>li>div:not(.orgchart-list):hover,
.toc-layout-main ul>li>div:hover+ul>li div {
    background: #5d8a59!important;
    border: 1px solid #5d8a59!important;
}
.toc-layout-main ul > li.parent_li>div:hover+ul > li.parent_li > ul > li > div a{
    color: #fff!important;
}



@media only screen and (max-width:576px) {
    .toc-layout-main ul:not(.list-unstyled)>li div {
        min-width: 230px;
    }
}