
.themeNav{
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 2%;
    z-index: 300;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.cnd__nav{
    color: #fff;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    font-family: "industry-inc-base", sans-serif;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
    position: relative;
}

.themeTitleTag{
    display: none;
}

.theme-white .cnd__nav{
    color: #222222;
}

#feedbackBtn{
    display: none !important;
    color: transparent !important;
    background: transparent !important;
}

.feedbackBtnBox{
    position: relative;
    z-index: 30;
}

.feedbackBtnLayout{
    pointer-events: auto;
    margin-top: 20px;
    color: #fff;
    padding: 1px;
    font-family: "industry-inc-base", sans-serif;
    font-size: 16px;
    clip-path: polygon(10% 0, 95% 0, 100% 30%, 90% 100%, 5% 100%, 0 70%);
    cursor: pointer;
    transition: 0.5s;
    position: relative;
    z-index: 30;

}

/* .themeNav{
right: 14px;
} */

.feedbackBtnLayout__set{
    transform-origin: right;
    transform: rotate(270deg);
}

.themeNav__set{
    right: 14px;
}

.feedbackInSide{
    display: inline-block;
    clip-path: polygon(10% 0, 95% 0, 100% 30%, 90% 100%, 5% 100%, 0 70%);
    padding: 6px 30px 2px;
}

.toTopkBtn{
    position: fixed;
    right: 0;
    bottom: 5%;
    right: 2.5%;
    z-index: 30;
    pointer-events: auto;
    text-align: center;
    color: #5983CD;
    font-size: 16px;
    clip-path: none;
    cursor: pointer;
    transition: 0.5s;
    border-radius: 15px;
    font-weight: 700;
    text-align: center;
    line-height: 1;
    align-items: center;
    display: none;
}

.theme-meg .toTopkBtn{
    color: #F1D8A7;
}

.theme-mpg .toTopkBtn{
    color: #E81F76;
}

.theme-mag .toTopkBtn{
    color: #D3E736;
}

.theme-pro.theme-white .toTopkBtn{
    color: #222;
}

.displayTopBtn{
    display: flex;
}

.toTopkBtn__icon{
    width: 20px;
    height: 15px;
    margin-right: 5px;
}

.theme-mpg .toTopkBtn__icon{
    background: url("https://storage-asset.msi.com/global/template/images/mpg_to_top_icon.png") no-repeat center center/contain;
    background-size: 100% 100%;
}

.theme-pro .toTopkBtn__icon{
    background: url("https://storage-asset.msi.com/global/template/images/pro_to_top_icon.png") no-repeat center center/contain;
    background-size: 100% 100%;
}

.theme-pro.theme-white .toTopkBtn__icon{
    background: url("https://storage-asset.msi.com/global/template/images/to_top_icon.png") no-repeat center center/contain;
    background-size: 100% 100%;
}

.theme-mag .toTopkBtn__icon{
    background: url("https://storage-asset.msi.com/global/template/images/mag_to_top_icon.png") no-repeat center center/contain;
    background-size: 100% 100%;
}

.theme-meg .toTopkBtn__icon{
    background: url("https://storage-asset.msi.com/global/template/images/meg_to_top_icon.png") no-repeat center center/contain;
    background-size: 100% 100%;
}

@media screen and (min-width: 997px) {
    .feedbackBtnLayout:hover{
        transform: scale(1.05);
        padding: 2px;
    }

    .feedbackBtnLayout__set:hover{
        transform: rotate(270deg) scale(1.05);
        padding: 2px;
    }

    .toTopkBtn:hover{
        transform: scale(1.05);
    }
}

.is-active {
    opacity: 1;
    pointer-events: auto;
}

.theme .cnd__nav-logo{
    width: 50px;
    height: 50px;
    position: relative;
    z-index: 19;
    transform: translateX(5px);
}

.theme-mag .cnd__nav-logo{
    background: url("https://storage-asset.msi.com/global/template/images/MAG_logo.png") no-repeat center center/cover;
    background-size: 100% 100%;
}

.theme-mpg .cnd__nav-logo{
    background: url("https://storage-asset.msi.com/global/template/images/MPG_logo.png") no-repeat center center/cover;
    background-size: 100% 100%;
}

.theme-meg .cnd__nav-logo{
    background: url("https://storage-asset.msi.com/global/template/images/MEG_logo.png") no-repeat center center/cover;
    background-size: 100% 100%;
}

.theme-pro .cnd__nav-logo{
    background: url("https://storage-asset.msi.com/global/template/images/PRO_logo.png") no-repeat center center/cover;
    background-size: 100% 100%;
}

.theme-pro .cnd__nav-logo{
    background: url("https://storage-asset.msi.com/global/template/images/PRO_logo_for_black_web.png") no-repeat center center/cover;
    background-size: 100% 100%;
}

.theme-pro.theme-white .cnd__nav-logo{
    background: url("https://storage-asset.msi.com/global/template/images/PRO_logo.png") no-repeat center center/cover;
    background-size: 100% 100%;
}

.piNav__box{
    margin-top: 10px;
    font-size: 14px;
    cursor: pointer;
    color: #ffffff;
}

.piNav__list{
    font-size: 14px;
    color: #999;
    display: none;
    cursor: pointer;
}

.piNav__title--active{
    font-size: 20px;
}

.piNav__ul--active{
    display: inline-block;
}

.piNav__list-item{
    margin: 6px 0;
    position: relative;
    cursor: pointer;
    z-index: 19;
}

.piNav__list-item span{
    display: inline-block;
    padding: 2px 8px 0; 
    transition: all 0.3s ease;
    background-color: transparent; 
    position: relative;
    z-index: 19;
}

.piNav__box    .piNav__title{
    position: relative;
    z-index: 19;
}

/* meg */
.theme-meg .piNav__list-item--active span,.theme-meg .piNav__list-item:hover span{
    background: #F1D8A7;
    color: #000000;
    padding: 2px 8px 0;
    border-radius: 5px;
}


.theme-meg .piNav__title--active{
    color: #F1D8A7;
    position: relative;
}

.theme-meg.theme-white .piNav__title--active{
    color: #cfb277;
}

.theme-meg .piNav__title--active::before{
    background-image: url("https://storage-asset.msi.com/global/template/images/MEG_dot-active.png");
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: 6px;
    right: -25px;
}

.theme-meg  .feedbackBtnLayout{
    color: #fff;
    padding: 1px;
    background: #F1D8A7;
}

.theme-meg.theme-white  .feedbackBtnLayout{
    background: #cfb277;
}

.theme-meg .feedbackInSide{
    color: #ffffff;
    background: url("https://storage-asset.msi.com/global/template/images/meg-btn.jpg") no-repeat center top/cover;
}

.theme-meg.theme-white .feedbackInSide{
    color: #b3914f;
    background: #fff;
    /* background: url("https://storage-asset.msi.com/global/template/images/meg-btn-white.jpg") no-repeat center top/cover; */
}

/* mpg */
.theme-mpg .piNav__list-item--active span,.theme-mpg .piNav__list-item:hover span{
    color: #fff;
    background: #E81F76;
    padding: 2px 8px 0;
    border-radius: 5px;
}

.theme-mpg .piNav__title--active{
    color: #E81F76;
    position: relative;
}

.theme-mpg .piNav__title--active::before{
    background-image: url("https://storage-asset.msi.com/global/template/images/MPG_dot-active.png");
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: 6px;
    right: -25px;
}

.theme-mpg  .feedbackBtnLayout{
    color: #fff;
    padding: 1px;
    background: #e81f76;
}

.theme-mpg .feedbackInSide{
    color: #ffffff;
    background: url("https://storage-asset.msi.com/global/template/images/mpg-btn.jpg") no-repeat center top/cover;
}

.theme-mpg.theme-white .feedbackInSide{
    color: #e81f76;
    background: #fff;
    /* background: url("https://storage-asset.msi.com/global/template/images/mpg-btn-white.jpg") no-repeat center top/cover; */
}

/* mag */
.theme-mag .piNav__list-item--active span,.theme-mag .piNav__list-item:hover span{
    background: #D3E736;
    color: #000000;
    padding: 2px 8px 0;
    border-radius: 5px;
}

.theme-mag .piNav__title--active{
    color: #D3E736;
    position: relative;
}

.theme-mag.theme-white .piNav__title--active{
    color: #b1c51b;
    position: relative;
}

.theme-mag.theme-white .feedbackInSide{
    color: #9eb300;
    background: #ffffff;
    /* background: url("https://storage-asset.msi.com/global/template/images/mag-btn-white.jpg") no-repeat center top/cover; */
}

.theme-mag .piNav__title--active::before{
    background-image: url("https://storage-asset.msi.com/global/template/images/MAG_dot-active.png");
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: 6px;
    right: -25px;
}

.theme-mag  .feedbackBtnLayout{
    color: #fff;
    padding: 1px;
    background: #D3E736;
}

.theme-mag.theme-white  .feedbackBtnLayout{
    background: #b1c51b;
}

.theme-mag .feedbackInSide{
    color: #ffffff;
    background: url("https://storage-asset.msi.com/global/template/images/mag-btn.jpg") no-repeat center top/cover;
}

/* pro */
.theme-pro .piNav__list-item--active span,.theme-mpro .piNav__list-item:hover span{
    background: #5983CD;
    color: #ffffff;
    padding: 2px 8px 0;
    border-radius: 5px;
}

.theme-pro .piNav__title--active{
    color: #5983CD;
    position: relative;
}

.theme-pro.theme-white .feedbackInSide{
    color: #5983CD;
    background: url("https://storage-asset.msi.com/global/template/images/pro-btn-white.jpg") no-repeat center top/cover;
}

.theme-pro .piNav__title--active::before{
    background-image: url("https://storage-asset.msi.com/global/template/images/PRO_dot-active.png");
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: 6px;
    right: -25px;
}

.theme-pro  .feedbackBtnLayout{
    color: #fff;
    padding: 1px;
    background: #5983CD;
}

.theme-pro .feedbackInSide{
    color: #ffffff;
    background: url("https://storage-asset.msi.com/global/template/images/pro-btn.jpg") no-repeat center top/cover;
}


.theme .piNav__title{
    position: relative;
}

@media screen and (max-width: 1599px) {

    .toTopkBtn{
        right: 10px;
        flex-direction: column;
    }

    .toTopkBtn__icon{
        /* width: 1rem; */
        margin-bottom: 5px;
        margin-right: 0px;
    }

    .themeNav__set{
        right: 0;
    }

    .feedbackBtnLayout{
        opacity: 0;
        pointer-events: none;
    }

    .feedbackHoverArea{
        content: "";
        display: block;
        font-size: 20px;
        position: absolute;
        bottom: 6px;
        right: -25px;
        z-index: 101;
        width: 20px;
        height: 20px;
        /* pointer-events: none; */
    }

    .feedbackLeaveBlock{
        content: "";
        display: block;
        font-size: 20px;
        position: absolute;
        bottom: 2px;
        right: -25px;
        z-index: 101;
        width: 40px;
        height: 2px;
    }

    .feedbackLeaveBlockTwo{
        content: "";
        display: block;
        font-size: 20px;
        position: absolute;
        top: 20px;
        right: -25px;
        z-index: 101;
        width: 40px;
        height: 2px;
    }

    .feedbackBtnBox::after{
        width: 20px;
        height: 100%;
        content: "";
        display: block;
        font-size: 20px;
        position: absolute;
        top: 100%;
        transform: translateY(-50%);
        right: -25px;
        z-index: 100;
        pointer-events: none;
    }
    
    .cnd__nav-hoverBlock{
        width: 20px;
        height: 100%;
        position: absolute;
        top: 0;
        right: -25px;
        z-index: 20;
    }

    .cnd__nav-leaveBlock{
        /* pointer-events: none; */
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        right: -25px;
        z-index: 10;
    }



    .theme .piNav__title span,.theme .piNav__list-item span,.theme .cnd__nav-logo{
        opacity: 0;
    }

    .theme .piNav__title,.theme .piNav__list-item{
        pointer-events: none;
    }

    .theme .piNav__list-item--active{
        background: transparent;
    }

    .theme.theme-meg .cnd__nav:hover .piNav__list-item--active span{
        background: #f2d8a7;
        border-radius: 5px;
    }

    .theme-meg   .feedbackBtnBox::after{
        background-image: url("https://storage-asset.msi.com/global/template/images/MEG_feedback.png");
        background-repeat: no-repeat;
        background-size: contain;
    }

    .theme.theme-mpg .cnd__nav:hover .piNav__list-item--active span{
        background: #E81F76;
        border-radius: 5px;
    }

    .theme-mpg   .feedbackBtnBox::after{
        background-image: url("https://storage-asset.msi.com/global/template/images/MPG_feedback.png");
        background-repeat: no-repeat;
        background-size: contain;
    }

    .theme.theme-mag .cnd__nav:hover .piNav__list-item--active span{
        background: #D3E736;
        border-radius: 5px;
    }

    .theme-mag   .feedbackBtnBox::after{
        background-image: url("https://storage-asset.msi.com/global/template/images/MAG_feedback.png");
        background-repeat: no-repeat;
        background-size: contain;
    }
    .theme.theme-pro .cnd__nav:hover .piNav__list-item--active span{
        background: #5983CD;
        border-radius: 5px;
    }

    .theme-pro   .feedbackBtnBox::after{
        background-image: url("https://storage-asset.msi.com/global/template/images/PRO_feedback.png");
        background-repeat: no-repeat;
        background-size: contain;
    }

    .theme .piNav__list-item::before{
        background-size: contain;
        content: ".";
        display: block;
        width: 20px;
        height: 20px;
        position: absolute;
        bottom: 3px;
        right: -15px;
    }

    /* meg */
    .theme-meg .piNav__list-item--active::before,.theme-meg .piNav__list-item:hover::before{
        background-size: contain;
        content: ".";
        display: block;
        width: 20px;
        height: 20px;
        position: absolute;
        bottom: 3px;
        right: -15px;
        color: #f2d8a7;
    }

    .theme-meg .piNav__title::before{
        background-image: url("https://storage-asset.msi.com/global/template/images/MEG_dot.png");
        background-repeat: no-repeat;
        background-size: contain;
        content: "";
        display: block;
        width: 20px;
        height: 20px;
        position: absolute;
        bottom: 6px;
        right: -25px;
    }

    .theme-meg .piNav__title--active::before{
        background-image: url("https://storage-asset.msi.com/global/template/images/MEG_dot-active.png");
        background-repeat: no-repeat;
        background-size: contain;
        content: "";
        display: block;
        width: 20px;
        height: 20px;
        position: absolute;
        bottom: 6px;
        right: -25px;
    }
    /* mpg */
    .theme-mpg .piNav__list-item--active::before,.theme-mpg .piNav__list-item:hover::before{
        background-size: contain;
        content: ".";
        display: block;
        width: 20px;
        height: 20px;
        position: absolute;
        bottom: 3px;
        right: -15px;
        color: #E81F76;
    }

    .theme-mpg .piNav__title::before{
        background-image: url("https://storage-asset.msi.com/global/template/images/MPG_dot.png");
        background-repeat: no-repeat;
        background-size: contain;
        content: "";
        display: block;
        width: 20px;
        height: 20px;
        position: absolute;
        bottom: 6px;
        right: -25px;
    }

    .theme-mpg .piNav__title--active::before{
        background-image: url("https://storage-asset.msi.com/global/template/images/MPG_dot-active.png");
        background-repeat: no-repeat;
        background-size: contain;
        content: "";
        display: block;
        width: 20px;
        height: 20px;
        position: absolute;
        bottom: 6px;
        right: -25px;
    }

    /* mag */
    .theme-mag .piNav__list-item--active::before,.theme-mag .piNav__list-item:hover::before{
        background-size: contain;
        content: ".";
        display: block;
        width: 20px;
        height: 20px;
        position: absolute;
        bottom: 3px;
        right: -15px;
        color: #D3E736;
    }

    .theme-mag .piNav__title::before{
        background-image: url("https://storage-asset.msi.com/global/template/images/MAG_dot.png");
        background-repeat: no-repeat;
        background-size: contain;
        content: "";
        display: block;
        width: 20px;
        height: 20px;
        position: absolute;
        bottom: 6px;
        right: -25px;
    }

    .theme-mag .piNav__title--active::before{
        background-image: url("https://storage-asset.msi.com/global/template/images/MAG_dot-active.png");
        background-repeat: no-repeat;
        background-size: contain;
        content: "";
        display: block;
        width: 20px;
        height: 20px;
        position: absolute;
        bottom: 6px;
        right: -25px;
    }

    /* pro */
    .theme-pro .piNav__list-item--active::before,.theme-pro .piNav__list-item:hover::before{
        background-size: contain;
        content: ".";
        display: block;
        width: 20px;
        height: 20px;
        position: absolute;
        bottom: 3px;
        right: -15px;
        color: #5983CD;
    }

    .theme-pro .piNav__title::before{
        background-image: url("https://storage-asset.msi.com/global/template/images/PRO_dot.png");
        background-repeat: no-repeat;
        background-size: contain;
        content: "";
        display: block;
        width: 20px;
        height: 20px;
        position: absolute;
        bottom: 6px;
        right: -25px;
    }

    .theme-pro .piNav__title--active::before{
        background-image: url("https://storage-asset.msi.com/global/template/images/PRO_dot-active.png");
        background-repeat: no-repeat;
        background-size: contain;
        content: "";
        display: block;
        width: 20px;
        height: 20px;
        position: absolute;
        bottom: 6px;
        right: -25px;
    }
}
@media screen and (max-width: 1400px) {
    .themeNav{
        right: 2.5%;
    }
    .themeNav{
        top: 55%;
    }
    

}

@media screen and (max-width: 996px) {
        .cnd__nav{
            display: none;
        }
        .feedbackBtnLayout{
            opacity: 1;
            pointer-events:auto;
            /* writing-mode: sideways-lr; */
            /* clip-path: polygon(0 5%, 70% 0, 100% 10%, 100% 95%, 30% 100%, 0 90%); */
            /* transform: translateX(40%); */
            position: relative;
            font-size: 14px;
            transform-origin: right;
            transform: rotate(270deg);
        }
        
        .feedbackInSide{
            /* clip-path: polygon(0 5%, 70% 0, 100% 10%, 100% 95%, 30% 100%, 0 90%); */
            padding: 5px  20px 3px ;
        }

        .themeNav{
            right: 14px;
        }
        .theme  .feedbackBtnBox::after{
            background-image: none;
            color: transparent;
            content: "";
        }

        .toTopkBtn__text{
        font-size: 14px;
        }
    }

    .theme .toDisplay{
        opacity: 1 !important;
    }

    .theme .toHidden{
        opacity: 0 !important;
    }

    .theme .toTouch{
        pointer-events: auto !important;
    }

    .theme .toNotTouch{
        pointer-events: none !important;
    }

    .theme .toHiddenAndNotTouch{
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .theme .toDisplayAndTouch{
        opacity: 1 !important;
        pointer-events: auto !important;
    }


/* --------------------- */



