:root {
    --banner-color: rgba(225, 225, 225, .8);
}

/* ______________________nav导航栏start______________________ */
.home-page {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 2560px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 99;
    font-weight: 700;
    transition: 0.5s;
    max-height: 60px;
}

/* 移动端 */
.header-container-yd{
    display: none;
}
/* pc nva - header */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    width: 1280px;
}

/* logo */
.logo {
    display: block;
    width: 168px;

}

.logo h1 {
    width: 168px;
    background: url(../../assets/logo.png) no-repeat center center / auto 100%;
    text-indent: -9999px;
    overflow: hidden;
}


/* nav */
.navbar-container {
    display: flex;
    justify-content: space-between;
    flex: 1;
    align-items: center;
    margin-left: 10%;
}

.navbar-nav {
    display: flex;
}

.navbar-nav .menu a,
.diurnal-pattern i,
.dark-mode i{
    display: block;
    padding: 16px;
    font-size: 16px;
}
.diurnal-pattern i,
.dark-mode i{
    font-size: 20px;
    cursor: pointer;
}

.diurnal-pattern i:hover,
.dark-mode i:hover{
    color: #0e8efb;
}

.navbar-nav .menu {
    position: relative;
    margin: 0 12.8px;
}

/* nav动画  */
.navbar-nav .menu::before {
    content: '';
    width: 0px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    opacity: .1;
    background: var(--color-0188);
    position: absolute;
    left: 50%;
    bottom: 4px;
    -webkit-transition: all .2s;
    /*浏览器私有前缀*/
    -moz-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}

.navbar-nav li:hover::before {
    width: 32px;
    margin-left: -16px;
    opacity: 1;
}

.navbar-nav li:hover>a {
    color: var(--color-0188);
    opacity: 0.9;
}

.technology-warp,
.more-warp,
.user-info-warp {
    display: none;
    position: absolute;
    top: 98%;
    left: 50%;
    transform: translate(-50%);
    background: var(--head-dialog-bg);
    transition: .4s;
    z-index: 2;
    border-radius: var(--radius);
}

.technology-warp li,
.more-warp li,
.user-info li,
.user-info-warp li {
    cursor: pointer;
    text-align: center;
}

.menu .technology-warp a,
.menu .more-warp a,
.user-info-warp a {
    width: 140.8px;
    border-radius: var(--radius);
    padding: 8px !important;
}

.technology-warp li a:hover,
.more-warp li a:hover,
.user-info-warp li a:hover {
    color: #2b2e2e;
    background: var(--color-0188);
}

/* nav 右侧 */
.nav-right{
    display: flex;
}
.nav-right .nav-right-item {
    display: flex;
    align-items: center;
    padding: 0 10px;
    cursor: pointer;
}

/* .nav-right .nav-right-item:hover i{
    color: #0e8efb;
} */
/* 搜索 */
.search-container{
    position: relative;
}

.search-wrap{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 110%;
    right: -34%;
    padding: 10px;
    height: 68px;
    width: 238px;
    border-radius: 8px;
    background: #fff;
    border-top: 1px solid #0e8efb;
    z-index: 2;
}
#searchShade{
    position: fixed;
    width: 100vw;
    height: 100%;
    z-index: 1;
}
.search-item-wrap{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.search-item-wrap.active{
    border-color: #0e8efb;
}

.search-wrap input {
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    color: skyblue;
}
.search-wrap input::placeholder{
    font-size: 16px;
    font-weight: 400;
    color: #898989;
}

.search-wrap .search-icon-wrap{
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0e8efb;
    width: 38px;
    min-width: 38px;
    height: 38px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.search-wrap .search-icon-wrap i {
    color: #fff !important;
}
.triangle{
    position: absolute;
    top: 93%;
    right: 23%;
    width: 20px;
    height: 20px;
    transform: rotate(45deg);
    background: #fff;
    border-top: 1px solid #0e8efb;
    border-left: 1px solid #0e8efb;
    z-index: 2;
}

/* 登陆后 用户信息样式 */
.user-info {
    position: relative;
    font-size: 16px;
}

.user-info-name {
    padding: 0 16px;
    height: 100%;
    line-height: 57px;
}

.user-info .user-info-warp a {
    padding: 8px !important;
    display: block;
}

.logo-reg {
    display: flex;
    align-items: center;
}

.l-login {
    display: block;
    padding: 20px;
    color: var(--color-white);
    font-size: 16px;
}

.l-login:hover {
    color: var(--color-0188) !important;
    opacity: 0.9;
}

/* 登陆后 用户信息样式 */


/* js控制  利用权重巧妙控制*/
.head_white .txt {
    color: var(--head-color);
}

.select-text {
    color: #fff;
}

.form-group-show {
    display: block !important;
}

.txt {
    color: var(--color-white);
    opacity: 0.9;
}

.head_white {
    background-color: var(--head-bg);
}
/* js控制  利用权重巧妙控制*/
/* ______________________nav导航栏end______________________ */