/* 固定菜单容器样式 */
.outer-menu {
    width: 100%;
    /* 宽度随浏览器宽度 */
    height: 70px;
    background-color: #1161D2;
    /* 导航栏背景 */
    border-bottom: 5px solid  hsla(34, 90%, 52%, 1);
    /* 导航栏底部边框 */
}

.inner-menu {
    width: 1440px;
    margin: 0 auto;
    /* 水平居中 */
    color: white;
    /* 所有文字为白色 */
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    /* 字体为微软雅黑 */
    display: flex;
    /* 使用flex布局实现垂直居中 */
    align-items: center;
    /* 垂直居中对齐 */
    height: 100%;
    position: relative;
    z-index: 10021;
}

/* 首页样式 */
.shouye a {
    display: inline-block;
    height: 70px;
    width: 150px;
    font-size: 20px;
    color: hsl(0, 0%, 100%);
    text-decoration: none;
   
    padding-right: 40px;
    display: flex;
    align-items: center;
    text-align: center;
}

/* 首页鼠标经过样式 */
.shouye a:hover {
    font-size: 20px;
    color: hsl(0, 0%, 100%);
    font-weight: bold;
    background-color: hsla(210, 98%, 25%, 0.3);
}

/* 导航样式 */
.wp_nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

/* 导航栏目 */
.wp_nav > .nav-item {
    height: 70px;
    width: 170px;
    position: relative;
}

/* 导航链接默认样式 */
.wp_nav > .nav-item > a {
    display: block;
    font-size: 18px;
    color: hsl(0, 0%, 100%);
    text-decoration: none;
    padding-left: 15px;
    height: 100%;
    display: flex;
    align-items: center;
}

/* 导航链接鼠标经过样式 */
.wp_nav > .nav-item > a:hover,
.wp_nav > .nav-item > a:visited,
.wp_nav > .nav-item > a:focus{
    font-size: 20px;
    color: hsl(0, 0%, 100%);
    font-weight: bold;
    background-color: hsla(210, 98%, 25%, 0.3);
}

/* 导航链接active样式 */
.wp_nav > .nav-item > a.active {
    background-color: hsla(210, 74%, 48%, 0.795);
}

/* 一级菜单 */
.wp_nav > .nav-item > .sub-nav {
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: hsl(210, 95%, 45%);
    width: 260px !important;
    height: auto !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10022;
}

/* 一级菜单栏目 */
.wp_nav > .nav-item > .sub-nav > .nav-item {
    height: 60px;
    width: 260px !important;
    position: relative;
    display: block !important;
}

/* 一级菜单链接默认样式 */
.wp_nav > .nav-item > .sub-nav > .nav-item > a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start;
    font-size: 16px;
    color: hsl(0, 0%, 100%);
    text-decoration: none;
    padding-left: 20px;
    height: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
    background-color: hsl(210, 95%, 45%);
    transition: all 0.2s ease;
}

/* 一级菜单链接鼠标经过样式 */
.wp_nav > .nav-item > .sub-nav > .nav-item > a:hover {
    font-size: 16px;
    color: hsl(0, 0%, 100%);
    font-weight: normal;
    background-color: hsla(210, 95%, 60%, 0.7);  
}

/* 一级菜单链接active样式 */
.wp_nav > .nav-item > .sub-nav > .nav-item > a.active {
    color: hsl(0, 0%, 100%);
    font-size: 18px;
}

/* 二级菜单 */
.wp_nav > .nav-item > .sub-nav > .nav-item > .sub-nav {
    position: absolute;
    top: 0;
    left: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: hsl(210, 95%, 45%);
    width: 240px !important;
    height: auto !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10023;
}

/* 二级菜单栏目 */
.wp_nav > .nav-item > .sub-nav > .nav-item > .sub-nav > .nav-item {
    height: 50px;
    width: 240px !important;
    background-color: hsl(210, 95%, 45%);
    display: block !important;
}

/* 二级菜单链接默认样式 */
.wp_nav > .nav-item > .sub-nav > .nav-item > .sub-nav > .nav-item > a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start;
    font-size: 16px;
    color: hsl(0, 0%, 100%);
    text-decoration: none;
    padding-left: 20px;
    height: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
    background-color: hsl(210, 95%, 45%);
    transition: all 0.2s ease;
}

/* 二级菜单链接鼠标经过样式 */
.wp_nav > .nav-item > .sub-nav > .nav-item > .sub-nav > .nav-item > a:hover {
    font-size: 16px;
    color: hsl(0, 0%, 100%);
    font-weight: normal;
    background-color: hsla(210, 95%, 60%, 0.7)
}

/* 二级菜单链接active样式 */
.wp_nav > .nav-item > .sub-nav > .nav-item > .sub-nav > .nav-item > a.active {
    color: hsl(0, 0%, 100%);
    font-size: 18px;
}

/* 菜单显示 */
.wp_nav > .nav-item:hover > .sub-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.wp_nav > .nav-item > .sub-nav > .nav-item:hover > .sub-nav {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

/* 标记样式 */
.mark {
    display: none;
}

