/* ==========================================
   BILINGUAL MAIN NAVIGATION
   ========================================== */


/* Navigation row */
#t_TreeNav .a-TreeView-content {
    position: relative;

    height: auto !important;
    min-height: 58px !important;

    padding-top: 8px !important;
    padding-bottom: 8px !important;

    box-sizing: border-box;

    display: flex !important;
    align-items: center !important;

    border-bottom: none;

    transition: background-color 0.2s ease;
}


/* Label container */
#t_TreeNav .a-TreeView-label {
    height: auto !important;
    white-space: normal !important;
    overflow: visible !important;
    line-height: normal;
}


/* English + Arabic */
#t_TreeNav .nav-en,
#t_TreeNav .nav-ar {
    display: block;
    white-space: normal;
}


/* English title */
#t_TreeNav .nav-en {
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
}


/* Arabic title */
#t_TreeNav .nav-ar {
    font-size: 13px;
    line-height: 18px;

    margin-top: 3px;

    direction: rtl;
    text-align: left;
}


/* ==========================================
   SEPARATOR
   ========================================== */

#t_TreeNav .a-TreeView-content::after {
    content: "";

    position: absolute;

    bottom: 0;
    left: 48px;
    right: 12px;

    height: 1px;

    background: #dddddd;
}


/* ==========================================
   HOVER
   ========================================== */

#t_TreeNav .a-TreeView-content:hover {
    background-color: #cfcfcf;
}


/* ==========================================
   CURRENT / SELECTED MENU ITEM
   ========================================== */

/* Make the APEX background row match the bilingual item height */
#t_TreeNav .a-TreeView-row {
    height: 58px !important;
}

/* Selected item background */
#t_TreeNav .a-TreeView-row.is-selected {
    background-color: #cfcfcf !important;
}

/* Current page indicator */
#t_TreeNav .a-TreeView-row.is-current--top {
    border-left: 4px solid #7A001F;
}

/* ==========================================
   ICON ALIGNMENT
   ========================================== */

#t_TreeNav .a-TreeView-node {
    align-self: center;
}