
/* SEARCH BOX */
html body .rsbPopup.rsbPopup_Bootstrap {
    height: 600px !important;
}

html body .RadSearchBox_Bootstrap .rsbButton {
    padding: 6px;
    background: transparent;
    cursor: pointer;
}

/* ORGCHART ARROWS (EXPAND / COLLAPSE) */
.RadOrgChart .rocExpandGroupArrow:before,
.RadOrgChart .rocCollapseGroupArrow:before {
    margin-left: -3px;
    margin-top: -3px;
}

html body .RadOrgChart .rocExpandArrow,
html body .RadOrgChart .rocCollapseArrow {
    margin-left: -8px;
    text-decoration: none;
}

    .RadOrgChart .rocCollapseArrow:before,
    .RadOrgChart .rocExpandArrow:before {
        font-size: 10px;
        text-decoration: none;
        margin-left: 0px;
        margin-top: -2px;
    }

/* TOOLBAR */
html body .rocToolbar .rocToolbarButton {
    width: 20px;
    font-size: 16px;
    font-family: 'WebComponentsIcons';
    display: block;
    padding: 0px;
    color: inherit;
    border-width: 1px;
    border-style: solid;
    text-align: center;
    text-decoration: none;
}

/* ROOT NODE POSITIONING */
html body ul.rocNodeList.rocRootNodeList {
    margin-top: -50px;
    margin-left: -10px;
}

/* GROUP CONTAINER */
html body .RadOrgChart.RadOrgChart_Bootstrap .rocGroup {
    display: inline-block !important;
    position: relative !important;
    padding: 0 10px 10px !important;
    vertical-align: top !important;
    text-align: left !important;
    background-color: #f2f7f0 !important;
    border-radius: 10px !important;
}

html body .RadOrgChart.RadOrgChart_Bootstrap .rocItem,
html body .RadOrgChart.RadOrgChart_Bootstrap .rocItemTemplate {
    width: auto !important;
    height: auto !important;
    border-width: 1px !important;
    border-style: solid !important;
    box-sizing: border-box !important;
    text-align: left !important;
    position: relative !important;
    white-space: normal !important;
}

html body .RadOrgChart .rocItem {
    padding: 0em;
}

/* REMOVE DEFAULT ICONS (IMAGE REPLACEMENTS) */
ul.rocItemList li .rocItem.rocImageReplacement::before {
    content: none !important;
    background: none !important;
    display: none !important;
}

/* ORGCHART SCROLL CONTAINER */
.orgchart-scroll {
    overflow: auto;
    max-width: 100%;
    height: 80vh;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e5e9f2;
    background: #fff;
    padding: 6px;
}

/* DEMO CONTAINER */
.demo-container {
    position: relative;
}

    .demo-container .search {
        width: 300px;
        position: relative;
        border-radius: 4px 0 4px 4px;
        background-color: #d5d4d3;
        background-image: linear-gradient(#fff, #f2f2f2 30%, #d5d4d3 100%);
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.45), 0 0 20px #fff inset;
        zoom: 1;
        z-index: 1;
    }

        .demo-container .search:after {
            content: "";
            display: block;
            clear: both;
        }

        .demo-container .search .RadSearchBox,
        .demo-container .rocBreadCrumb {
            padding: 5px;
            width: 100%;
            max-width: 300px;
            text-align: center;
        }

/* BREADCRUMB */
    .demo-container ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

    .demo-container .rocBCItem {
        margin-bottom: 15px;
        position: relative;
        cursor: pointer;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .demo-container .rocBCItem:before {
            content: "";
            display: block;
            height: 15px;
            border-left: 1px dotted #000;
            position: absolute;
            top: -15px;
            left: 50%;
        }

    .demo-container .rocBCLevel0:before {
        border: 0;
    }

    .demo-container .rocBCLevel0,
    .demo-container .rocBCLevel1 {
        border-radius: 15px;
    }

/* ORGCHART POSITION FIX */
    .demo-container .RadOrgChart {
        top: -100px;
    }

        .demo-container .RadOrgChart .rocImage {
            width: 60px;
            height: 70px;
        }

/* CARD DESIGN */
.oc-card {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.oc-card-final {
    width: 30px;
    height: 30px;
    background-color: dimgrey;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.oc-card-circle {
    width: 80px;
    height: 80px;
    background-color: #007bff;
    border-radius: 50%;
}

/* TEXT AND ICON STYLING */
.oc-text {
    font-weight: 400;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 8px;
    padding-right: 8px;
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
}

.oc-icon {
    width: 20px;
    height: 20px;
    margin-right: 3px;
}

/* COLOR VARIANTS (LEFT BORDER) */
.oc-loc {
    border-left: 5px solid #4CABE6;
}

.oc-org {
    border-left: 5px solid #108255;
}

.oc-user {
    border-left: 5px solid #F9C80E;
}

.oc-org-adm-user {
    border-left: 5px solid #BB211A;
}
