/* -----------导航栏---------- */
#header {
    position: absolute;
    height: 62px;
    line-height: 62px;
    z-index: 2;
    left: 0;
    right: 0;
    background-color: #fff;
    border-bottom: 1px solid #E9EAEB;
}

#header .nav-log {
    width: 187px;
    height: 62px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

#header .nav-log .logo-new {
    width: 138px;
    height: 32px;
}

#header img {
    display: inline-block;
    height: 40px;
}

#navl, #navr {
    display: flex;
    align-items: center;
    position: absolute;
    height: 62px;
    line-height: 62px;
}

#navl {
    padding-left: 227px;
    width: 100%;
    box-sizing: border-box;
}

#navr {
    right: 28px;
    top: 0;
}

#navl li {
    padding-right: 12px;
}

#navr li {
    display: inline-block;
    padding: 0 12px;
}

/* 默认隐藏"更多"菜单（大于1280px时） */
.nav-more-menu {
    display: none;
}

.nav-hot-activity {
    display: inline-block;
    width: 29px;
    height: 15px;
    position: absolute;
    right: 2px;
    top: 6px;
    background: url('../images/hot(1).png') no-repeat center;
    background-size: 100% 100%;
}

.nav-icon-buy {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('../images/nav-icon-buy.png') no-repeat center;
    background-size: contain;
    vertical-align: middle;
}

.nav-icon-buy:hover {
    background: url('../images/nav-icon-buy-hover.png') no-repeat center;
    background-size: contain;
}

.nav-new-activity {
    display: inline-block;
    width: 29px;
    height: 15px;
    position: absolute;
    right: 2px;
    top: 6px;
    background: url('../images/new(1).png') no-repeat center;
    background-size: 100% 100%;
}

.nav-new-icon {
    display: inline-block;
    width: 29px;
    height: 15px !important;
    margin-left: 6px;
    margin-top: -8px;
    background-size: 100% 100%;
}

.nav-item {
    position: relative;
}

.nav-full-item {
    position: static !important;
}

#navl .nav-title, #navr .nav-title {
    color: #232323;
    font-size: 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: initial;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#navl .nav-title {
    font-weight: 500;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#navl .nav-title:hover, #navr .nav-title:hover {
    color: #FF8F32;
}

/*小箭头*/
#navl .nav-title::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('../images/down.png') no-repeat center;
    background-size: 24px 24px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#navl .nav-title:hover::after {
    background: url('../images/down-activate-new.png') no-repeat center;
    background-size: 24px 24px;
}

#navr .nav-language::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('../images/arrow-down-new.png') no-repeat center;
    background-size: 24px 24px;
}

#navr .nav-language:hover::after {
    background: url('../images/arrow-down-activate-new.png') no-repeat center;
    background-size: 24px 24px;
}

#navr .nav-login, #navr .nav-register {
    display: flex;
    align-items: center;
    justify-content: center;
    /*width: 92px;*/
    padding: 0 14px;
    height: 42px;
    border-radius: 12px;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.5s ease;
}

#navr .nav-login {
    background: #FFFFFF;
    border: 1px solid #D5D7DA;
    box-sizing: border-box;
}

#navr .nav-register {
    background-color: #FF8F32;
    color: #fff !important;
}

#navr .nav-login:hover {
    border-color: #FF8F32;
    color: #FF8F32 !important;
}

/*导航栏展开普通菜单*/
.nav-item .sub-menu {
    position: absolute;
    /*min-width: 134px;*/
    left: -22px;
    transform: none;
    margin-top: -1px;
    padding: 10px 0;
    background-color: #fff;
    border-radius: 0 0 5px 5px;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0px 8px 32px 0px rgba(0, 0, 0, 0.15);
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.sub-menu a, .sub-menu .menu-item {
    display: block;
    color: #333;
    font-size: 13px;
    line-height: 32px;
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
    padding: 0 24px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-more-menu .sub-menu .menu-item {
    padding: 0 !important;
}

.nav-item.active .sub-menu {
    opacity: 1;
    visibility: visible;
}

.has-dropdown:hover .sub-menu {
    display: block;
}

.has-dropdown:hover .sub-menu-two-columns {
    display: flex !important;
}

.sub-menu a:hover {
    color: #FF8F32 !important;
}

/* 两列布局菜单 【裸机云&vps】 带有应用列表灰色菜单 */
.nav-item .sub-menu-two-columns {
    display: flex !important;
    flex-direction: row !important;
    padding: 0;
    left: -24px;
    transform: none;
    border-radius: 0 0 5px 5px;
}

.sub-menu-column {
    display: flex;
    flex-direction: column;
}

.sub-menu-left {
    padding: 10px 0;
    background-color: #fff;
    border-radius: 0 0 0 5px;
}

.sub-menu-right {
    flex: 1;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 0 0 5px 0;
}

/* 裸机云&vps下拉菜单右侧 应用列表 */
.sub-menu-app-title {
    font-size: 13px;
    font-weight: 600;
    color: #232323;
    padding: 8px 10px;
    margin-bottom: 2px;
    text-align: left;
    line-height: 1vw;
    border-bottom: 1px solid #E8E8E8;
}

.sub-menu-right.sub-menu-app-market {
    padding: 8px 14px 10px 14px;
}

.sub-menu-right.sub-menu-app-market a {
    display: block;
    padding: 0 10px 0 12px;
    text-align: left;
    color: #333;
    font-size: 12px;
    line-height: 25px;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sub-menu-right.sub-menu-app-market a:hover {
    color: #FF8F32 !important;
    background-color: #E8E8E8;
}

/* 应用中心菜单项样式（带图标） */
.sub-menu-app-market a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.sub-menu-app-market .nav-app-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    object-fit: contain;
    flex-shrink: 0;
    margin-right: 6px;
}

.second-level.sub-menu-app-market a {
    display: block !important;
}

/*更多产品（托管，域名，网络与安全）*/
.sub-menu-more-products {
    left: -24px !important;
    transform: none !important;
    padding: 0 !important;
}

/* 更多产品菜单 - 三列布局 */
.menu-more-products .full-menu-box {
    width: 138px;
}

/*导航栏展开更多二级菜单*/
.second-level {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background-color: #fff;
    border-radius: 0 0 5px 5px;
    z-index: 10;
    padding: 10px 0px;
    box-shadow: 0px 8px 32px 0px rgba(0, 0, 0, 0.15);
}

.second-level a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.second-level a:hover {
    color: #FF8F32;
}

/* 当鼠标悬停在一级菜单项上时显示对应的二级菜单 */
.menu-item:hover > .second-level {
    display: block;
}

/* 三级菜单样式 */
.three-level {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background-color: #fff;
    border-radius: 0 0 5px 5px;
    z-index: 11;
    padding: 10px 14px;
    box-shadow: 0px 8px 32px 0px rgba(0, 0, 0, 0.15);
}

.three-level a {
    display: block;
    color: #232323;
    font-size: 13px;
    line-height: 32px;
    padding: 0 16px;
    text-align: center;
}

.three-level a:hover {
    color: #FF8F32;
    background-color: #f5f5f5;
}

/* 当鼠标悬停在二级菜单项上时显示对应的三级菜单 */
.second-level-item:hover > .three-level {
    display: block;
}

/* 一级菜单样式 */
.first-level {
    position: relative;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.first-level-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 2px;
    background: url(../images/arrow-down-new.png) no-repeat center;
    background-size: 20px 20px;
    transform: rotate(-90deg);
}

.first-level:hover .first-level-icon, .second-level-link:hover .first-level-icon {
    background: url('../images/arrow-down-activate-new.png') no-repeat center;
    background-size: 20px 20px;
}

/*导航栏活动展开全屏菜单*/
.full-menu {
    display: flex;
    position: absolute;
    left: 0;
    top: 62px;
    width: 100%;
    height: 528px;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0px 1px 2px 0px rgba(35, 11, 11, 0.05), 2px 3px 3px 0px rgba(35, 11, 11, 0.045), 3px 7px 4px 0px rgba(35, 11, 11, 0.025), 6px 12px 5px 0px rgba(35, 11, 11, 0.005), 10px 18px 6px 0px rgba(35, 11, 11, 0);
    z-index: 9999;
}

/*左侧宣传*/
.full-menu .full-menu-left {
    width: 224px;
    height: calc(100% - 64px);
    padding: 32px;
    background: linear-gradient(180deg, #6E87DC5B 0%, #AF5AB323 100%);
    flex-shrink: 0;
    box-sizing: initial;
}

.nav-item.active .full-menu {
    opacity: 1;
    visibility: visible;
}
.has-dropdown:hover .sub-menu {
    opacity: 1;
    visibility: visible;
}
.full-menu {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.full-menu article {
    display: flex;
    flex-grow: 1;
    padding: 0 20px 20px 20px;
    overflow-y: auto;
    scrollbar-width: none;
    scrollbar-color: #fff #fff;
}

.full-menu-left-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 16px;
    color: #000000E5;
    line-height: 28px;
}

.full-menu-left-sub {
    color: #00000066;
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 134px;
}

.full-menu-left-suggest {
    height: 184px;
    overflow: hidden;
}

.full-menu-left-suggest p,  .full-menu-left-suggest a {
    color: #0052D9 !important;
    font-size: 14px !important;
    line-height: 22px;
    margin-bottom: 8px;
    cursor: pointer;
    text-decoration: underline;
}

#header #navl li .full-menu-item a {
    font-size: 14px;
    margin-top: 14px;
    text-align: left;
    padding: 0;
    color: rgba(0,0,0,0.9);
}

#header #navl li .full-menu-item a:hover {
    color: #FF8F32;
}

.menu-item-hide-1024 {
    display: none;
}

.full-menu a {
    display: block;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.full-menu a:hover {
    color: #FF8F32;
}

.full-menu-item-desc {
    font-size: 12px;
    color: rgba(22,24,26,0.7);
}

.full-menu-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* 搜索框 */
.search-box {
    position: relative;
    margin-left: 20px;
}

.search-icon {
    position: absolute;
    left: 9px;
    top: calc(50% - 9px);
    width: 20px;
    height: 20px;
    background: url('../images/search.png');
    background-size: 100% 100%;
}

.search-box input {
    width: 225px;
    height: 32px;
    padding: 8px 12px;
    padding: 10px 10px 10px 34px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    box-sizing: border-box;
}

.search-box input:focus {
    border-color: #1677ff;
}

.search-box input::before {

}

.menu-items-container {
    display: flex;
    flex-grow: 1;
    overflow-y: auto;
    padding: 0 20px 0px 20px;
    box-sizing: border-box;
}

.full-menu-item h1, .full-menu-item-title {
    color: #FF8F32 !important;
    font-weight: 500;
    font-size: 16px !important;
    line-height: 24px;
    text-align: left;
    padding: 16px 0 0 0;
}
