@charset "UTF-8";
@import (reference) 'size';

//product-content
.tags{
    margin: 0 !important;
    margin: auto !important;
    width: 100%;
    height: auto;
    .tag-nav{
        width: 100%;
        height: auto;
        overflow: hidden;
    }
    .tag-list{
        height: auto;
        display: flex;
        .tag-item{
            height: 50px;
            padding-right: 20px;
            font-size: @fs-16;
            display: flex;
            align-items: center;
            transition: all .3s ease-in-out;
            &:last-child{
                padding-right: 0;
            }
            a{
                display: flex;
                align-items: center;
            }
            .icon{
                font-size: @fs-24;
            }
            .icon-all{
                &:before{
                    font-family: 'anviz' !important;
                    content: "\e928" !important;
                }
            }
            .num{
                display: block;
                border-radius: 4px;
                width: auto;
                padding: 0 6px;
                color: @color-ff;
                background: @color-black;
                line-height: 2;
                margin-right: 10px;
                font-size: 12px;
            }
            &:hover{
               a{
                    color: @primary;
                } 
            }
        }
        .tag-active{
            a{
                color: @primary;
                .num{
                    background: @primary;
                }
            }
            color: @primary;
            .icon{
                color: @primary;
            }
        }
    }
}


/*产品列表*/

.product-warp{
    padding: 1em 0 2em;  
    background: @color-ff; 
    @media (max-width: 850px){
        padding: 5em 0 2em;  
    }
}
.product-list{
    width: 100%;
    @media (max-width: 850px){
        position: relative;
        top: 0px;
    }
    .article-tags{
        position: relative;
        flex-basis: @item-width;
        &.tag-hidden{
            overflow: hidden;
        }
        &.learn-more-show{
            height: auto;
            overflow: visible;
            z-index: 99;
            background: @color-ff;
            // box-shadow: 0 2px 4px #eee;
            transition: all .3s ease-in-out;
            .tag-footer{
                height: auto;
            }
            .product-tag-pos{
                opacity: 1;
                height: auto;
                transition: all .3s ease-in-out;
            }
            .product-tag-list{
                flex-wrap: wrap;
                .product-tag-item{
                    margin-top: 6px;
                }
            }
        }
        .status{
            position: relative;
        }
        .product-status{
            position: absolute;
            width: 100%;
            height: auto;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            .status-item{
                color: @color-ff;
                text-align: center;
                padding: 2px 4px;
                &.new{
                    background: @color-e8;
                }
                &.hot{
                    background: @youtobe;
                }
                &.eol{
                    background: @color-aa;
                }
            }
        }
        
        .tag-img{
            height: auto;
            background-size: 100%;
        }
        .tags-title{
            height: auto;
            text-align: center;
        }
        .tag-summary{
            padding: 0;
            margin: auto;
            text-align: center;
            .des{
                min-height: 72px;
                @media @max850{
                    min-height: auto;
                }
            }
        }
        .tag-footer{
            width: 100%;
            padding: 0;
            position: relative;
            .product-tag-list{
                
                @media @max850{
                    height: 100%;
                }
            }
        }
    }
}
.product-tag-list{
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    width: 100%;
    opacity: 1;
    overflow: hidden;
    height: auto;
    position: relative;
    .product-tag-item{
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: auto;
        max-width: 80px;
        padding: 0;
        margin: 4px 8px;
        text-align: center;
        &:last-child{
            margin-right: 0;
            margin-bottom: 0;
        }
        .module-icon{
            font-family: 'anviz' !important;
            font-size: 40px;
            color: @color-wuwu;
        }
        .module-name{
            color: @color-wuwu;
            font-size: 12px;
            line-height: 1;
            &.tag-ellipsis{
                word-break: keep-all;
                white-space: pre-wrap;
                text-align: center;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                line-height: 1;
            }
        }
    }
}
.learn-more{
    width: 100%;
    height: auto;
    z-index: 9;
    position: relative;
    left: 0;
    padding: 0 9px;
    border-left: 1px solid @color-ff;
    border-right: 1px solid @color-ff;
    display: flex;
    flex-direction: column;
    transition: all .3s ease-in-out;
    @media (max-width: 850px){
        border: none;
    }
    .product-tag-pos{
        opacity: 0;
        z-index: -1;
        height: 0;
        transition: all .3s ease-in-out;
    }
    .product-tag-more{
        position: absolute;
        left: 46%;
        transform: translateX(-50%);
        bottom: 4px;
        display: block;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: @primary;
        cursor: pointer;
        transform: rotate(0deg);
        transform-origin: center center;
        transition: all .3s ease-in-out;
        &:before{
            font-family: 'anviz' !important;
            content: "\ea51";
            color: @color-ff;
            font-size: @fs-20;
            text-align: center;
            line-height: 20px;
            font-weight: bold;
        }
    }
    .tag-more-active{
        position: relative;
        bottom: 6px;
        transform: rotate(-180deg);
        transition: all .3s ease-in-out;
    }
}


/*产品详情页*/
.product-bg{
    background: @color-ff;
}
.modules{
    .product-tag-list{
        display: flex;
        justify-content: center;
        max-width: 80%;
        margin: auto;
        transition: all .3s ease;
        .product-tag-item{
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 15px !important;
            height: auto !important;
            .module-icon{
                display: flex;
                align-items: center;
                justify-content: center;
                margin-bottom: 10px;
                width: 100px;
                height: 100px;
                border-radius: 50%;
                background: @color-black;
                font-size: 100px;
                color: @color-ff;
                transition: all .3s ease;
                @media @max850{
                    width: 50px;
                    height: 50px;
                    font-size: 50px;
                }
            }
            .module-name{
                font-size: 16px !important;
                text-overflow: initial;
                -webkit-line-clamp: initial;
                -webkit-box-orient: initial;
                transition: all .3s ease;
            }
        }
    }
}
.details-nav-bar {
    border-bottom: 2px solid @color-e8;
    backdrop-filter: @navbar-blur;
    -moz-backdrop-filter: @navbar-blur;
    -webkit-backdrop-filter: @navbar-blur;
    -o-backdrop-filter: @navbar-blur; 
    -ms-backdrop-filter: @navbar-blur;
    background: @navbar-bg;
    -webkit-box-shadow: @navbar-boxshaow;
    box-shadow: @navbar-boxshaow;
    width: 100%;
    height: auto;
    min-height: 50px;
    overflow: hidden;
    @media @max850 {
        position: fixed;
        top: 60px;
        z-index: 90;
        -webkit-animation-name: fadeInDownBig;
        animation-name: fadeInDownBig;
        height: auto;
        box-shadow:none;
    }
    .pro-nav-bar{
        height: 100%;
        max-width: 1130px;
        margin: 0 auto;
        overflow: hidden;
        padding: 0 15px;
    }
    .nav{
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 10px 0;
        &.navbar-left{
            flex: 1 1 80%;
            justify-content: flex-start;
        }
        .mobile-li{
            width: auto;
            padding-left: auto;
            display: flex;
            justify-content: flex-start;
            .nav-item{
                padding: 4px 20px;
            }
        }
        @media @max850 {
            margin: 0;
            &.navbar-left{
                display: flex;
                flex-direction: column;
                justify-content: flex-start;
                flex-basis: 100%;
                .nav-item,
                .navbar-brand{
                    width: 100%;
                    position: relative;
                }
                .navbar-brand{
                    &::after{
                        font-family: 'anviz' !important;
                        content: "\ea51";
                        position: absolute;
                        top: 0%;
                        transform:translateY(-50%);
                        transform: rotate(0deg);
                        transition: all .3s ease-in;
                    }
                    &:visited,
                    &:active,
                    &:hover{
                        color:@color-wuwu;
                    }
                }
                .mobile-li{
                    height: 0;
                    opacity: 0;
                    visibility: hidden;
                    transition: opacity .1s height .3s visibility .2s ease-in;
                }
                &.navbar-left-open{
                    .mobile-li{
                        display: flex;
                        flex-direction: column;
                        width: 100%;
                        height: auto;
                        opacity: 1;
                        visibility: visible;
                        transition: all .3s ease-in;
                        .nav-item{
                            padding: 8px 0 0 0;
                            padding: 8px 0px 0 15px;
                            &:last-child{
                                padding-bottom: 8px;
                            }
                        }
                    }
                    .navbar-brand{
                        &::after{
                            transform: rotate(180deg);
                        }
                    }
                }
            }
            &.navbar-right{
                position: absolute;
                right: 0;
                top: 1px;
                a.anviz-primary-btn{
                    margin: 0;
                }
                .inquiry-btn{
                    padding: 4px 10px;
                }
                .addthis_button_compact{
                    padding-bottom: 0;
                }
            }
        }
        li{
            a{
                font-size: @fs-16;
                &.share_img{
                    display: flex;
                    align-items: center;
                    img{
                        margin-bottom: 0;
                    }
                }
                &:hover{
                    background: none;
                    color: @color-wuwu;
                }
                @media @max850 {
                    padding-bottom: 15px;
                }
            }
            &.inquiry-btn{
                border: 1px solid @color-e8;
                border-radius: 6px;
                height: auto;
                padding: 8px 15px;
                a{
                    padding: 0;
                }
            }
            &.active{
                a{
                    color: @color-e8;
                }
            }
        }
    }
    .navbar-default {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 0;
        .navbar-brand {
            font-size: @fs-24;
            text-decoration: none;
            padding: 0;
            line-height: 50px;
            &:hover,
            &:focus,
            &:active {
                color: @a-hover;
            }
        }
        .sub-title {
            margin: 0;
            color: #999;
            line-height: 1.5;
            padding: 0 0 15px;
            white-space: pre-wrap;
            /* css-3 */
            white-space: -moz-pre-wrap;
            /* Mozilla, since 1999 */
            white-space: -pre-wrap;
            /* Opera 4-6 */
            white-space: -o-pre-wrap;
            /* Opera 7 */
            word-wrap: break-word;
            /* Internet Explorer 5.5+ */
            @media screen and (min-width: 768px) {
                display: none;
            }
        }
        ul.navbar-nav {
            display: flex;
            flex-direction: row;
            justify-content: flex-end;
            align-items: center;
            flex-wrap: wrap;
            width: 100%;
            @media (max-width: 850px) {
                display: none;
                width: auto;
            }
            .nav-item {
                @media (max-width: 850px) {
                    width: 100%;
                }
                .nav-link {
                    text-decoration: none;
                    padding: 13px 15px !important;
                    font-size: @fs-14;
                    background: transparent;
                }
            }
            .active {
                height: 100%;
                background: @btn-bg;
                @media (max-width: 850px) {
                    width: 100%;
                }
                a {
                    color: @color-ff;
                    background: transparent !important;
                }
            }
        }
    }
    .breadcrumb-warp {
        padding: 10px 0;
        padding-left: 16px;
        // font-weight: @fw-200;
        @media (max-width: 850px) {
            position: relative;
            top: 65px;
            left: 15px !important;
            padding: 0;
        }
        li {
            a {
                color: @color-qiqi;
            }
        }
        .active a {
            color: @color-e8;
        }
    }
    .nav-mobile-fixed {
        position: fixed;
        top: 57px;
        z-index: 9999;
        width: 96%;
        animation-name: fadeInDownBig;
    }
    .nav-warp-fixed {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9;
        width: 100%;
        padding: 0 10%;
        background: @color-ff;
        border-bottom: 1px solid #e0e0e0;
        box-shadow: 0 5px 5px rgba(0,0,0,0.07);
        @media screen and (max-width: 850px){
            position: fixed;
            top: 57px !important;
            left: 0;
        }
    }
    @-webkit-keyframes fadeInDownBig {
        0% {
            opacity: 0;
            -webkit-transform: translate3d(0, -2000px, 0);
            transform: translate3d(0, -2000px, 0)
        }
        100% {
            opacity: 1;
            -webkit-transform: none;
            transform: none
        }
    }
    @keyframes fadeInDownBig {
        0% {
            opacity: 0;
            transform: translate3d(0, -2000px, 0);
        }
        100% {
            opacity: 1;
            transform: none;
        }
    }
    .fadeInDownBig {
        animation-name: fadeInDownBig;
    }
}

.product-basic-warp{
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 4em 0;
}

//PC 大图
.product-photos-box {
    width: 100%;
    margin-top: auto;
    margin-left: auto;
    margin-bottom: auto;
    .product-photos-preview {
        position: relative;
        width: 100%;
        min-height: 450px;
        margin-bottom: 20px;
        .photo-animated {
            opacity: 1;
            position: relative;
            width: 100%;
            height: 450px;
            max-height: 450px;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            img {
                display: block;
                margin: 0 auto;
                max-width: 100%;
                max-height: 450px;
            }
        }
    }
    //缩略图
    .product-photos-list {
        position: relative;
        overflow: hidden;
        .anviz-path-btn {
            background: @color-ff;
            color: @color-wuwu;
            height: 60px;
            position: absolute;
            i {
                font-size: @fs-20;
            }
        }
        .anviz-scroll-left-btn {
            left: 110px;
            padding: 6px 12px;
            border: 0;
            &:hover,
            &:active,
            &:visited,
            &:focus{
                border: 0;
                border-color: @color-ff;
            }
        }
        .anviz-scroll-right-btn {
            right: 110px;
            padding: 6px 12px;
            border: 0;
            &:hover,
            &:active,
            &:visited,
            &:focus{
                border: 0;
                border-color: @color-ff;
            }
        }
        .photos-list-box {
            position: relative;
            width: 354px;
            height: 56px;
            overflow: hidden;
            margin: 0 auto;
            .photos-paginations {
                position: absolute;
                width: 1200px;
                height: 56px;
                top: 0px;
                left: 0px;
                .photos-item {
                    float: left;
                    border: 1px solid @color-dd;
                    margin: 0 10px;
                    width: 56px;
                    height: 56px;
                    vertical-align: top;
                    cursor: pointer;
                    &:last-child {
                        margin-right: 0;
                    }
                    &:first-child {
                        margin-left: 0;
                    }
                    button {
                        display: block;
                        width: 100%;
                        height: 56px;
                        padding: 0;
                        border-radius: 2px;
                        transition: all .2s;
                        opacity: .5;
                        border: none;
                        outline: none;
                        background-color: transparent;
                        cursor: pointer;
                        margin: 0;
                        overflow: hidden;
                        @media (max-width: 850px) {
                            height: auto;
                        }
                        img {
                            width: 100%;
                            max-width: 100%;
                            vertical-align: middle;
                            margin-bottom: 0;
                        }
                    }
                }
                .active {
                    border-color: @color-pp;
                    cursor: pointer;
                    button {
                        opacity: 1;
                        img {
                            margin-bottom: 0;
                            max-width: 96%;
                        }
                    }
                }
            }
        }
    }
    @media (max-width: 850px) {
        display: none;
    }
}

//MOBILE 预览
.mobile-product-photos{
    display: none;
    @media (max-width: 850px) {
        
    }
}

//base info
.product-base-info{
    @media (min-width: 992px){
        width: ~'calc(50% - 10px)';
        text-align: left;
        margin: 4em auto 0em;
    }
    @media @max850{
        padding: 0;
    }
    .info-header {
        @media @max850{
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            h2{
                padding: 0;
            }
        }
        padding-bottom: 2em;
        p {
            font-size: @fs-20;
        }
    }
    .info-feature-list {
        padding-bottom: 2em;
        display: flex;
        flex-wrap: wrap;
        flex: 1 1 auto;
        .info-feature-item {
            text-align: center;
            margin: 0 1em;
            display: flex;
            flex-direction: row;
            align-items: center;
            flex-wrap: nowrap;
            .icon-feature {
                font-size: @fs-36;
                margin: 10px;
                display: inline-block;
                color: @color-aa;
                @media (max-width: 850px) {
                    text-align: center;
                }
            }
            .icon-feature-info {
                .des;
                margin-bottom: 0;
                color: @color-wuwu !important;
                font-weight: @fw-400 !important;
                text-align: left !important;
            }
        }
    }
    .info-content {
        padding: 10px 0;
        color: #666;
        line-height: 1.5;
        font-size: @fs-16;
        // font-weight: 100;
        padding-bottom: 1em;
        &:hover {
            color: @color-qiqi;
        }
        @media (max-width: 850px) {
            padding: 0 15px;
            text-align: center;
            p{
                text-align: center;
                font-size: @fs-18;
            }
        }
    }
}

.nav-content-warp{
    width: 100%;
    height: auto;
//  &:first-child{
//      margin-top: 2em;
//  }
}


.content-warp{
    width: 100%;
    height: auto;
    margin: 0;
    .content-title{
        // height: 40px;
        // line-height: 40px;
        // background: @color-ee;
        // border-left: 6px solid @primary;
        // padding-left: 10px;
        // font-size: @fs-20;
        font-size: 40px;
    }
    .content{
        width: 100%;
        height: auto;
        padding: 2em;
        @media (max-width: 850px){
            padding: 0;
        }
        .product-feature{
            .product-feature-item{
                height: auto;
                padding: 1em;
                transition: all .3s ease-in-out;
                @media only screen and (-webkit-min-device-pixel-ratio: 1.5) and (max-width: 735px), 
                only screen and (max-width: 735px) and (min-resolution: 1.5dppx), 
                only screen and (max-width: 735px) and (min-resolution: 144dpi){
                    height: auto;
                }

                .des{
                    line-height: 1.2;
                    margin-bottom: 0;
                    span{
                        font-size: 6px;
                        padding-right: 10px;
                        color: @color-pp;
                        font-weight: bold;
                    }
                }
                &:hover{
                    .des{
                        color: @color-pp;
                    }
                }
            }
        }
        .product-parameter{
            font-size: @fs-16;
        }
        .product-application{
            p{
                color: @color-10;
                font-size: @fs-16;
            }
            h2{
                color: @color-10;
                font-size: 40px;
            }
            h3{
                color: @color-10;
                font-size: 28px;
            }
            h4{
                color: @color-10;
                font-size: @fs-24;
            }
            h5{
                color: @color-10;
                font-size: @fs-16;
            }
            p{
                img{
                    display: block;
                    max-width: 100% !important;
                    height: auto !important;
                }
            }
            img{
                display: block;
                max-width: 100% !important;
                height: auto !important;
            }
        }
        .product-download{
            width: 100%;
            height: auto;
            margin: 0;
            .download-list{
                height: auto;
                display: flex;
                flex-direction: column;
                margin: 0;
            }
            .item-title{
                display: flex;
                align-items: center;
                width: 100%;
                background: @color-ee;
                height: 40px;
                span{
                    font-size: @fs-16;
                }
                @media (max-width: 850px){
                    display: none;
                }
            }
            .item-left{
                height: 40px;
                display: flex;
                align-items: center;
            }
            .item-right
            {
                height: 40px;
                line-height: 40px;
                @media (max-width: 850px){
                    height: auto;
                }
                a{
                    display: flex;
                    align-items: center;
                }
            }
            .item-content{
                width: 100%;
                height: auto;
                .icon-type,
                .icon-download{
                    font-size: 30px;
                }
                .icon-download{
                    padding-right: 10px;
                    color: @primary;
                }
                span,b{
                    font-size: @fs-16;
                }
                .download-item-warp{
                    height: 40px;
                    width: 100%;
                    background: transparent;
                    border-bottom: 1px solid @color-ee;
                    &:hover{
                        background: @color-f9;
                        border-bottom: none;
                    }
                }
            }
        }
    }
}

.pro-tag{
    @media (max-width: 850px) {
        margin: 2em 0;
        display: flex;
        justify-content: center;
    }
}

.page-title-line{
    width: 100%;
    vertical-align: middle;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    .title-line{
        margin: 0 10px;
        display: inline-block;
        width: 50px;
        border: 1px solid;
    }
    .line-color-success{
        border-color: @success;
    }
    .line-color-black{
        border-color: @color-black;
    }
}
.soft-box-img{
    width: 100%;
    height: auto;
    margin: 6em 0;
    @media (max-width: 850px){
        margin: 4em 0;
    }
    img{
        width: 100%;
        max-width: 80%;
        display: block;
        margin-bottom: 0;
        margin: auto;
        @media (max-width: 850px){
            max-width: 100%;
        }
    }
}
.page-mobile-style{
    display: block;
    width: 100%;
    height: auto;
    margin: 2em 0;
    cursor: pointer;
    img{
        width: 100%;
        max-width: 24%;
        display: block;
        margin-bottom: 0;
        margin: auto;
        @media (max-width: 850px){
            max-width: 100%;
        }
    }
}
.ekey{
    width: 100%;
    min-height: 800px;
//  background: url(../static/img/pages/crosschex/crosschex-desk-ekeybg.png) no-repeat;
    background: url(../../img/pages/crosschex/crosschex-desk-ekeybg.png) no-repeat;
    background-position: top right;
    background-size: cover;
    margin-bottom: 5%;
    padding: 6em 0 4em;
    overflow: hidden;
    @media (max-width: 850px){
        background-position: center;
        margin-bottom: 0;
        height: auto;
        padding: 4em 0 !important;
    }
}

.details_nav_bar{
    width: 100%;
    margin-top: 0 !important;
    border-top: 0 !important;
    border-bottom: 2px solid @color-e8;
    backdrop-filter: @navbar-blur;
    -moz-backdrop-filter: @navbar-blur;
    -webkit-backdrop-filter: @navbar-blur;
    -o-backdrop-filter: @navbar-blur; 
    -ms-backdrop-filter: @navbar-blur;
    background: rgba(241, 241, 241, 0.87);
    .navbar-default{
        height: 100%;
        max-width: 1130px;
        margin: 0 auto;
        overflow: hidden;
        padding: 0 15px;
        display: flex;
        .nav_bar{
            align-items: center;
            line-height: normal;
            width: auto;
            display: flex;
            white-space: nowrap;
            margin: 10px 0;
            .nav-item{
                width: auto;
                height: auto;
                padding: 0 20px;
                font-size: 16px;
                align-items: center;
                a{
                    display: block;
                    width: 100%;
                    height: 100%;
                    color: #3E3A39;
                    font-family: 'Montserrat-Regular';
                    font-weight: normal;
                    text-decoration: none;
                    pointer-events: all;
                }
                &.v_active{
                    a{
                        color: @color-e8;
                        font-size: 22px;
                    }
                }
                &.v_inquiry{
                    border: 1px solid @color-e8;
                    border-radius: 6px;
                    height: auto;
                    padding: 8px 20px;
                }
            }
        }
        .share_con{
            display: flex;
            margin: 13px 0;
        }
    }
}


