@charset "UTF-8";
@import (reference) 'ui/color';

/**
     * 以下为 body 上添加的动作
 */
.no-scroll {
    overflow: hidden;
}


//无banner状态下nav状态改变，给 body 添加 nav-no-change
.nav-no-change {
    position: relative;

    .top-nav {
        position: relative;
        top: 0;
    }

    .product-nav {
        position: relative;
        top: 0;
        background: rgba(0, 0, 0, .7);
    }
}


.width-1440 {

    .page-banner-info,
    .page-item,
    .product-content,
    .page-content,
    .mail-warp,
    .partner-warp {
        max-width: 1440px;
        margin: auto;


        @media @max1024 {
            max-width: 100%;
        }


        @media @max850 {
            max-width: 100%;
            
        }
    }


    footer {
        
        .footer-warp {

            // margin: 1em auto 0;
            .footer-start,
            .footer-end {
                max-width: 1440px;
            }

            @media @max1024 {
                max-width: 100%;
                padding: 0 15px;
            }

            @media @max850 {
                max-width: 100%;
                
            }
        }
    }
}


.width-1100 {
    max-width: 1100px;
    margin: auto;

    .product-list {
        .article-tags {
            flex-basis: 33.33%;
        }
    }

    @media @max1024 {
        max-width: 100%;
    }

    @media @max850 {
        max-width: 100%;
    }
}

//mobile user center
.show-sidebar {
    .my-anviz {
        .mobild-my-anviz-nav-bg {
            width: 100%;
            height: 100%;
            position: fixed;
            background: rgba(0, 0, 0, .7);
            transform: translate3d(0, 0, 0);
            z-index: 89;
            transition: all .3s ease-in-out;
        }

        .my-anviz-nav {
            width: 80%;
            z-index: 90;
            transform: translate3d(0, 0, 0);
            transition: all .3s ease-in-out;
        }

        .fixed-menu {
            position: fixed;
            top: 60px;
            transition: all .3s ease-in-out;
        }

        .full {
            position: relative;
            // top: 100px;
            margin-bottom: 100px;
        }

        .menu {
            width: 100%;
        }
    }

    .my-anviz-nav {
        position: fixed;
        top: 98px !important;
        bottom: 0;
        visibility: visible;
        right: auto;
        left: 0;
        width: 200px;
        height: auto;
        transform: translate3d(0, 0, 0);
        transition: all .3s ease-in-out;
        overflow-x: hidden;
        overflow-y: auto;
        max-height: 812px;
        padding-bottom: 0;
        z-index: 90;

        .h2-title {
            display: none;
        }

        .h3-title {
            margin-bottom: 1em;
        }

        .login-info {
            .des {
                display: flex;
                flex-direction: column;
                align-items: center;
            }
        }
    }
}

//nav
.nav-two-fixed {
    transition: all .3s ease-in-out;

    .product-nav {
        position: fixed;
        top: 0;
        background: rgba(0, 0, 0, 0.7) !important;
        z-index: 9999;
        transition: all .3s ease-in-out;
    }

    .tags,
    .news_tag {
        position: fixed;
        top: 55px;
        width: 100%;
        max-width: 100%;
        background: @color-ff;
        border-bottom: 1px solid @color-e0;
        z-index: 999;
        transition: all .3s ease-in-out;

        &.m17 {
            margin: 0 auto;
        }

        @media @max850 {
            top: 60px;
        }

        .tag-nav {
            max-width: 1440px;
            margin: auto;
        }

        .news-nav {
            max-width: 100%;
        }
    }

    .news-tags {
        position: relative;
        top: 0;
        border-bottom: 0;
        z-index: 9;
        transition: all .3s ease-in-out;
    }

    header {
        transform: translateY(-500px);
    }

    .details-nav-bar {
        position: fixed;
        top: 0;
        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;
        box-shadow: @navbar-boxshaow;
        transition: all .3s ease-in-out;
        z-index: 99;

        @media only screen and (-webkit-min-device-pixel-ratio: 1.5) and (max-width: 735px),
        only screen and (max-width: 735px) and (-webkit-min-device-pixel-ratio: 1.5),
        only screen and (max-width: 735px) and (min-resolution: 1.5dppx),
        only screen and (max-width: 735px) and (min-resolution: 144dpi) {
            top: 0;
        }

        .navbar-brand {
            font-size: 22px !important;
        }
    }
}



.btn-fixed {
    .draggable {
        z-index: 99999;
        transition: all 0s ease-in-out;
        box-sizing: border-box;
        position: fixed;
        left: 98vw;
        top: 98vh;
        margin-left: -196.31px;
        margin-top: -40px;
        display: flex;
        align-items: center;

        @media @max850 {
            width: 40px;
            height: 40px;
            padding: 0;
            margin-left: -58px;
            border-radius: 50%;
        }
    }

   

    .handle {
        display: block;
        cursor: move;
        padding: 12px;
        margin: -12px 0 -12px -20px;

        @media @max850 {
            display: none;
        }
    }

    .email-btn {
        color: @color-ff;

        @media @max850 {
            display: block;
            width: @fs-20 * 2;
            height: @fs-20 * 2;
            border-radius: 50%;
            color: transparent;
            text-indent: -99999;
            overflow: hidden;
            box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .3);

            &:hover,
            &:active,
            &:visited {
                color: transparent;
            }

            &::before {
                position: absolute;
                left: 50%;
                top: 20%;
                transform: translateX(-50%);
                font-family: 'anviz';
                content: "\e901";
                font-size: 24px;
                color: @color-ff;

            }
        }
    }

    .modal-email-content {
        @media @max850 {
            height: 100vh;
        }
    }

    .modal-footer {
        input[type="submit"] {
            display: block;
            position: relative;
            right: 0;
            float: right;
            top: 1px;
        }
    }
}

.at-expanding-share-button[data-position=bottom-right] {
    bottom: 13vh !important;
    right: 2vw !important;

    @media @apple-web-ipad {
        bottom: 6vh !important;
    }

    @media @max850 {
        bottom: 8vh !important;
    }
}

.at-expanding-share-button [data-name] {
    @media @max850 {
        &::after {
            display: none;
        }
    }
}

.lang_ar{
    direction: rtl;
    .product-nav .search-form{
        .close{
            left: 10px;
            right: unset;
        }
        form .search-input{
            .search_btn{
                right: 10px;
                left: unset;
            }
            .keywords{
                left: 30px;
                right: unset;
            }
            input{
                padding-left: 12px;
                padding-right: 35px;
            }
        }
    }
    .form-group{
        text-align: right;
    }
    footer .footer-warp .footer-end .info{
        direction: ltr;
    }
    .new-nav-warp .product-nav .series-pro-nav .support-nav .sub-nav ul li a{
        text-align: right;
    }
    &.btn-fixed ul.draggable li a{
        text-align: right;
    }
}

//casesutdy share
.casesutdy-details .at-share-btn-elements{
    display: flex;
    justify-content: flex-end;
}


.casestudy-content .i_c_img{
    min-height: 200px!important;
}


.casestudy-bannner{
    font-size: 20px;
    padding: 30px;
    text-align: center;
}


.casestudy-bannner .casestudy-desc{
    font-size: 18px;
    margin-top: 14px;
    padding: 6px;
    
}



@import 'ui/mixin';
@import 'common';
@import 'ui/ui';
@import 'myanviz-center';


