/* 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;
    width: 400px;
}

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 .rocItemWrap {
    margin: 10px 10px 0 0;
    width: 100%;
    display: inline-block;
    vertical-align: top
}
html body .RadOrgChart .rocItem {
    padding: 0em;
}

html body .RadOrgChart .rocItemText {
    max-width: 100%;
    max-height: 100%;
    overflow: visible;
    text-overflow: ellipsis;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none
}
/* 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;
}

/* ORGCHART CONTAINER */
.oc-container {
    position: relative;
    }

    .oc-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;
    }

        .oc-container .search:after {
            content: "";
            display: block;
            clear: both;
        }

        .oc-container .search .RadSearchBox,
        .oc-container .rocBreadCrumb {
            padding: 5px;
            width: 100%;
            max-width: 300px;
            text-align: center;
        }

/* BREADCRUMB */
    .oc-container ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

    .oc-container .rocBCItem {
        margin-bottom: 15px;
        position: relative;
        cursor: pointer;
        padding: 0;
  
        justify-content: center;
        align-items: center;
    }

        .oc-container .rocBCItem:before {
            content: "";
            display: block;
            height: 15px;
            border-left: 1px dotted #000;
            position: absolute;
            top: -15px;
            left: 50%;
        }

    .oc-container .rocBCLevel0:before {
        border: 0;
    }

    .oc-container .rocBCLevel0,
    .oc-container .rocBCLevel1 {
        border-radius: 15px;
    }

/* ORGCHART POSITION FIX */
    .oc-container .RadOrgChart {
        top: -100px;
    }

        .oc-container .RadOrgChart .rocImage {
            width: 60px;
            height: 70px;
        }

/* CARD DESIGN */
.oc-card {
    display: flex;
    flex-direction: column;
    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: #696969;
    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%;
}

.oc-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
}
/* TEXT AND ICON STYLING */
.oc-text {
    font-weight: 400;
    flex-direction: column;
    justify-content: center;
    margin-left: 10px;
}

.oc-icon {
    width: 20px;
    height: 20px;
}

/* COLOR VARIANTS (LEFT BORDER) */
.oc-loc {
    border-left: 6px solid #4CABE6;
    position: relative;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    min-width: 220px;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.1);
}

.oc-org {
    border-left: 6px solid #108255;
    position: relative;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    min-width: 220px;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.1);
}

.oc-user {
    border-left: 6px solid #F9C80E;
    position: relative;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    min-width: 220px;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.1);
}

.oc-org-adm-user {
    border-left: 6px solid #BB211A;
    position: relative;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    min-width: 220px;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.1);
}

.oc-status-red {
    border-left: 6px solid #BB211A;
}
.oc-status-yellow {
    border-left: 6px solid #F9C80E;
}
.oc-status-green {
    border-left: 6px solid #108255;
}
.oc-status-blue {
    border-left: 6px solid #4CABE6;
}


.oc-border-red.focus {
    box-shadow: 0 0 8px rgba(231,76,60,0.18);
}

.oc-border-yellow.focus {
    box-shadow: 0 0 8px rgba(241,196,15,0.18);
}

.oc-border-green.focus {
    box-shadow: 0 0 8px rgba(46,204,113,0.18);
}


.oc-link {
    cursor : pointer;
   
}

    .oc-link:hover {
        font-weight: bold;
        color: #4743c4;
    }

.oc-org-adm-user,
.oc-card {
    overflow: visible !important;
    position: relative;
}


.menu-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    font-size: 20px;
    padding: 2px;
    border-radius: 4px;
}

    .menu-btn:hover {
        background: rgba(0,0,0,0.05);
    }

/* action menu */
.menu-options {
    display: none;
    position: absolute;
    top: 35px;
    right: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    list-style: none;
    padding: 5px 0;
    width: 200px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
    z-index: 999999 !important;
}

.menu-options li {
    padding: 8px 15px;
    cursor: pointer;
}

.menu-options li:hover {
    background: #f2f2f2;
}