/* 统一导航位置样式 */
/* 确保所有页面的导航位置一致，避免切换页面时导航忽高忽低 */

/* 导航容器样式 */
.nav-common-container {
    width: 1100px;
    height: 18px; /* 包含padding的总高度 */
    margin: 0 auto;
    padding: 3px 0;
    box-sizing: content-box;
    position: relative;
    z-index: 10;
}

/* 导航表格样式 */
.nav-common-table {
    display: table;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border-collapse: collapse;
}

/* 导航表格行样式 */
.nav-common-table-row {
    display: table-row;
}

/* 导航表格单元格样式 */
.nav-common-table-cell {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    height: 100%;
}

/* 为所有页面中的导航容器添加统一样式 */
.rec-main-container .rec-table-row .rec-table-cell[style*="height: 12px;"] {
    height: 210px !important;
    min-height: 210px !important;
    padding: 0 !important;
    box-sizing: content-box !important;
}

/* 为div布局中的导航容器添加统一样式 */
.div-top-nav .div-table-cell {
    height: 210px !important;
    min-height: 210px !important;
    padding: 0 !important;
    box-sizing: content-box !important;
}

/* 确保导航Grid容器高度一致 */
.div-grid-top-nav {
    height: 210px !important;
    min-height: 210px !important;
    margin: 0 auto !important;
}

/* 确保导航和当前位置之间的间距一致 */
.div-middle-layout,
.rec-middle-layout {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    padding-top: 10px !important;
    padding-bottom: 0 !important;
}

/* 确保div布局中的导航容器高度一致 */
.div-top-nav {
    height: 210px !important;
    min-height: 210px !important;
}

/* 确保div布局中的导航表格单元格高度一致 */
.div-top-nav .div-table {
    height: 100% !important;
}

/* 确保div布局中的导航表格行高度一致 */
.div-top-nav .div-table-row {
    height: 100% !important;
}

/* 确保div布局中的导航表格单元格高度一致 */
.div-top-nav .div-table-cell {
    height: 100% !important;
    min-height: 210px !important;
    vertical-align: top !important;
    text-align: center !important;
    padding: 0 !important;
}

/* 确保当前位置区域的样式一致 */
.rec-title-bar,
.div-title-bar {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 确保导航内容垂直居中 */
.nav-common-container * {
    vertical-align: middle;
}
