@charset 'utf-8';

@import (reference) 'color';
@import (reference) 'size';

.new-nav-warp {
    // @media @max850{
    //     display: none;
    // }
    .top-nav-bg {
        background: #4A4A4A !important;
    }

    .line {
        width: 2px;
        height: 16px;
        background: rgba(255, 255, 255, 0.3);
        display: block !important;
    }

    .product-nav .series-pro-nav .support-nav,
    .top-nav .nav-series-list .language {
        position: relative;
    }

    @op-bg: rgba(75, 75, 75, .3);

    .product-nav {
        transition: background-color 0.2s linear !important;
        background: rgba(0, 0, 0, .1);

        // background: linear-gradient(rgba(235,235,235,0), rgba(255,255,255,0));
        &:hover {
            background: rgba(0, 0, 0, .7);
            // background: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,0));
            // -webkit-animation: nav-bg .2s linear;
            //         animation: nav-bg .2s linear;
        }

        .series-pro-nav {
            padding: 0 2.6em;

            .series-item {
                height: 100%;
                text-align: center;
                flex-shrink: 0;

                &:hover {
                    &:not(.logo) {
                        >a {
                            transition: all .3s ease-in;
                            color: @color-e8;
                        }
                    }
                }

                &.active {
                    a {
                        color: rgba(255, 255, 255, .4);
                    }
                }

                &.logo {
                    padding-right: 21px;

                    .icon-logo {
                        color: @color-ff;
                    }

                }

                &.language {
                    position: relative;
                    transition: all .3s ease;

                    ul.list {
                        top: 55px;
                        visibility: hidden;
                        height: 0;
                        opacity: 0;
                        background: transparent;
                        z-index: 90;
                        transition: all .3s ease;
                        position: absolute;

                        @media @max850 {
                            opacity: 1;
                            transition: all .3s ease;
                        }
                    }

                    .language-title {
                        padding-right: 1.3vw;
                        font-size: 16px;
                        white-space: nowrap;
                        width: auto;
                        height: 100%;
                        display: flex !important;
                        align-items: center;
                        color: @color-ff;
                        cursor: pointer;

                        &:hover {
                            color: @color-e8;
                        }

                        @media @max850 {
                            padding: 10px 10px 10px 0px;
                            border-bottom: 1px solid rgba(120, 120, 120, 0.5);

                            &:after {
                                content: "\ea51";
                                font-size: 32px;
                                font-family: 'anviz';
                                color: #fff;
                                transform: rotate(0deg);
                                transition: all .3s ease;
                                position: absolute;
                                right: 15px;
                                top: 0;
                            }
                        }

                        .icon {
                            margin-right: 10px;
                        }
                    }

                    &.mobile-hover {
                        .language-title {
                            @media @max850 {
                                &:after {
                                    transform: rotate(180deg);
                                    transition: all .3s ease;
                                }
                            }
                        }

                        ul.list {
                            width: 100%;
                            height: auto;
                            visibility: visible;
                            opacity: 1;
                            background: rgba(0, 0, 0, 0.7);
                            transition: all .3s ease;

                            .item {
                                width: 100%;
                                padding: 10px 10px 10px 25px;
                                border-bottom: 1px solid #999;
                                cursor: pointer;

                                .series-link {
                                    &:hover {
                                        &:not(.language-title) {
                                            color: @color-e8;
                                        }
                                    }
                                }
                            }

                            @media @max850 {
                                position: relative;
                                top: inherit;
                                background: transparent;
                                transition: all .3s ease;

                                .item {
                                    border-bottom: 1px solid rgba(120, 120, 120, 0.5);

                                    a {
                                        opacity: .5;
                                    }
                                }
                            }
                        }
                    }
                }

                .series-link {
                    padding-right: 1.3vw;
                    font-size: 16px;
                    white-space: nowrap;
                    width: auto;
                    height: 100%;
                    display: flex !important;
                    align-items: center;

                    .icon-down {
                        transform: rotate(0deg);
                        transition: all .3s ease-in;

                        @media @max850 {
                            display: none;
                        }
                    }

                    &:hover {
                        .icon-down {
                            transform: rotate(180deg);
                            transition: all .3s ease-in;
                        }
                    }
                }

                &.space-item {
                    flex: 1;
                    padding: 0;

                    &:hover {
                        background-color: @transparent;
                    }
                }

                &.secu365-img {
                    &:hover {
                        background-color: @transparent;
                    }
                }

                .search-bar {
                    height: 100%;
                    display: flex;
                    align-items: center;
                    position: relative;

                    .icon-search {
                        color: @color-ff;
                    }
                }

                .secu365-warp {
                    width: auto;
                    height: auto;
                    font-size: 40px;
                    border-radius: 7px;
                    background-color: rgba(213, 0, 0, 1);

                    a {
                        display: block;
                        width: auto;
                        height: 100%;
                        max-width: 200px;

                        img {
                            padding: 6px;
                            max-width: 95%;
                            margin: auto;
                        }
                    }
                }
            }


            .support-nav {
                &:hover {
                    .sub-nav {
                        ul {
                            //20230704 
                            visibility: visible;
                            opacity: 1;
                            transform: scale(1, 1) translate3d(0, 0, 0);
                            pointer-events: all;
                            @media @apple-ipad {
                                visibility: hidden;
                                opacity: 0;
                            }
                            @media @apple-web-ipad{
                                visibility: hidden;
                                opacity: 0;
                            }
                        }
                    }
                }

                .sub-nav {
                    position: absolute;
                    top: 100%;
                    min-width: 200px;
                    min-height: 70vh;
                    overflow: hidden;
                    pointer-events: none;
                    margin-left: -1em;

                    @media @apple-ipad {
                        min-height: auto;
                    }

                    @media @max850 {
                        min-height: auto;
                    }

                    ul {
                        pointer-events: none;
                        opacity: 0;
                        background: @color-4b;
                        visibility: hidden;
                        transform-origin: bottom center;
                        transition: opacity 0.75s cubic-bezier(0.47, 0.42, 0, 0.99);
                        transform: scale(1, 1.05) translate3d(0, -20px, 0);

                        @media @max850 {
                            pointer-events: all;
                        }

                        li {
                            height: auto;
                            line-height: 1.5em;
                            cursor: pointer;
                            word-break: break-all;

                            a {
                                color: @color-ff;
                                ;
                                font-size: 14px;
                                text-align: left;
                                padding: 10px 0;

                                b {
                                    // font-weight: 200;
                                    font-size: 10px;
                                    display: block;
                                    white-space: nowrap;
                                    color: #aaa;
                                }
                            }
                        }
                    }
                }
            }
        }

        .search-form {
            #topSearchForm {
                margin: 7.5px 0;
            }
        }
    }

    .top-nav {
        .nav-series-list {
            &.language-active {
                overflow: visible !important;
                height: auto !important;

                .language {
                    .sub-language {
                        opacity: 1;
                        height: auto !important;
                        visibility: visible;
                        transition: all .3s ease;
                    }
                }
            }

            .language {
                .sub-language {
                    width: 100%;
                    min-width: 200px;
                    height: auto;
                    position: absolute;
                    text-align: left;
                    top: 35px;
                    left: 0;
                    background: #4b4b4a;
                    visibility: hidden;
                    opacity: 0;
                    height: 0;
                    z-index: 99;
                    transition: all .3s ease;

                    li {
                        height: 40px;
                        line-height: 40px;
                        cursor: pointer;
                        padding: 0;

                        &:hover {
                            background: #565655;
                        }

                        a {
                            color: @color-ff;
                            font-size: 14px;
                            display: flex;
                            align-items: center;
                            width: 100%;
                            height: 100%;
                        }
                    }

                }
            }
        }
    }

    // 手机端点击
    &.mobile {
        .top-nav {
            height: 100%;
            display: flex;
            flex-direction: column;
            .product-nav {
                overflow-x: hidden !important;
                height: 100%;
                .series-pro-nav {
                    .search-bar-warp {
                        display: none !important;
                    }

                    .series-item {
                        >a {
                            padding: 10px 0;
                        }

                        .secu365-warp {
                            background-color: @transparent;

                            a {
                                img {
                                    padding: 5px 0;
                                    margin: 0;
                                }
                            }
                        }
                    }
                }

                .support-nav {
                    height: auto !important;
                    display: flex;
                    flex-direction: column;
                    position: relative;

                    &.support-nav>a:after {
                        content: "\ea51";
                        font-size: 32px;
                        font-family: 'anviz';
                        color: @color-ff;
                        transform: rotate(0deg);
                        transition: all .3s ease;
                        position: absolute;
                        right: 0;
                        top: 0;
                    }

                    .sub-nav {
                        position: static;
                        background: none;
                        padding-left: 1em;
                        height: 0 !important;
                        transition: all .3s ease;

                        .series-item {
                            border-top: 1px solid rgba(120, 120, 120, 0.5);
                            border-bottom: none;
                            font-size: 16px;

                            a {
                                font-size: 14px;
                                opacity: .5;
                                display: block;
                            }
                        }
                    }

                    .sub-nav-select {
                        opacity: 1 !important;
                        height: auto !important;
                        visibility: visible !important;
                        transition: all .3s ease;
                        transition: opacity 0.75s cubic-bezier(0.47, 0.42, 0, 0.99);
                        transition-delay: 100ms, 100ms;

                        ul {
                            position: relative;
                            opacity: 1;
                            visibility: visible;
                            transform: translate3d(0, 0, 0);
                            transition: all .3s ease;
                        }
                    }

                    &.mobile-hover>a:after {
                        // content: "\ea4f";
                        transform: rotate(-180deg);
                        transition: all .3s ease;
                    }
                }



                .search-form {
                    display: block;
                    position: static;
                    width: 100%;
                    padding: 0 2.6em;
                    margin: 0;

                    form {
                        border-bottom: 1px solid rgba(120, 120, 120, 0.5);

                        &#topSearchForm {
                            margin: 0;
                            padding: 0 1.5em;

                            .search-input {
                                position: relative;
                            }
                        }

                        .search-input {
                            .form-control {
                                width: 100%;
                                height: 50px;
                                background: @transparent;
                                padding-left: 25px;
                                margin-bottom: 0;
                            }

                            .search_btn {
                                left: 0;
                            }
                        }
                    }
                }
            }
        }
    }
}

.new-nav-warp{
    &.mobile{
        z-index: 99991;
        
        .top-nav{
            //height: calc(100% - 50px);
            //overflow: hidden;
            .product-nav{
                padding: 0 2em;
                top: 50px;
                .series-pro-nav{
                    padding: 0;
                }
                .search-form{
                    margin-top: 2em;
                    padding: 0;
                    form{
                        padding: 0 !important;
                        width: 100%;
                        border-bottom: 0;
                        input{
                            border: 1px solid #575757;
                            background: rgba(87,87,87,.26) !important;
                            border-radius: 4px;
                            &[placeholder]{
                                font-size: 16px;
                            }
                        }
                        .search_btn{
                            right: 20px;
                            left: auto !important;
                            font-size: 25px;
                            color: #9C9C9C;
                        }
                    }
                }
            }
        }
        .language-list{
            height: 50px;
            padding: 0 2em;
            display: flex;
            align-items: center;
            justify-content: space-between;
            .title{
                flex-basis: 90%;
                color: #00A0E9;
                font-weight: 500;
                height: 100%;
                display: flex;
                align-items: center;
            }
            .icon{
                flex-basis: 10%;
                color: #fff;
                font-size: 32px;
            }
        }
    }
}

.gtranlate-box{
        @media @max850{
        display:none !important;
    }
}


.language-all{
    transform: translateX(101%);
    position: fixed;
    width: 100%;
    background: #4A4A4A;
    height: 100%;
    margin: 0;
    padding: 0;
    z-index: 99992;
    transition: all 0.3s ease-in-out;
    &.active{
        width: 100%;
        transform: translateX(0%);
        transition: all 0.3s ease-in-out;
        .list{
            width: 100%;
            display: flex;
            flex-direction: column;
            hr{
                border-color: #646363;
            }
            .item{
                width: 100%;
                padding: 15px 2em;
                color: #fff;
                border-bottom: 1px solid #646363;
                &:hover{
                    color: #00A0E9;
                }
                &.back{
                    width: 100%;
                    height: 54px;
                    display: flex;
                    justify-content: flex-start;
                    align-items: center;
                    font-size: 40px;
                    color: #fff;
                    padding: 15px;
                    .icon{
                        width: 100%;
                    }
                }
                &.other{
                    position: relative;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    height: 54px;
                    .icon{
                        font-size: 40px;
                        color: #fff;
                        padding: 0;
                        transition: all 0.3s ease-in-out;
                        &.active{
                            transform: rotate(180deg);
                        }
                    }
                }
            }
        }
        .all-list{
            display: none;
            padding: 10px 2em;
            width: 100%;
            height: calc(100% - 470px);
            background: rgba(35,35,34,.12);
            overflow-y: overlay;
            -webkit-overflow-scrolling: touch;
            overflow: -moz-scrollbars-none;
            -ms-overflow-style: none;  
            min-height: 300px;
            &::-webkit-scrollbar { 
                display: none;
            }
            &.active{
                display: block;
            }
            .item{
                padding: 10px;
                color: #B0B0B0;
                &:hover{
                    color: #00A0E9;
                }
            }
        }
    }
}


@-webkit-keyframes nav-bg {
    0% {
        background: rgba(0, 0, 0, 0);
    }

    100% {
        background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, 0));
    }
}

@keyframes nav-bg {
    0% {
        background: rgba(0, 0, 0, 0);
    }

    100% {
        background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, 0));
    }
}

