/*背景图片modal*/
.indexbg{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    overflow:hidden;
}
.logo{
    width: 100%;
    position: absolute;
    left: 0px;
    top: 0.96rem;
    padding: 0 2.79rem;
    height: 4rem;
    display: flex;
    align-items: center;
    box-sizing: border-box;

}
.logo.justifycenter{
    justify-content: center;
}
.logo img {
    max-width: 100%;
    max-height: 100%;
}
.indexbg .bakground_bg{
    width: 100%;
    min-height: 100%;
    /*object-fit: cover;*/
    position: absolute;
    bottom: 0;
    left: 0;
}
/*中间内容区*/
.parent_flex_box{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    flex-wrap: wrap;
}
.template_cnt_box{
    margin: 0px auto;
    position: relative;
    min-height: 100%;
    min-width: 100%;
}
/*右侧菜单公用部分*/
.nav_item{
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    position: absolute;
    z-index: 1;
    cursor: pointer;
    text-decoration: none;
    padding-left: 3rem;
    height: 2.75rem;
}
.wordColor1{
    color: #27deff;
}
.wordColor2{
    color: #28ffb8;
}
.wordColor3{
    color: #7af421;
}
.wordColor4{
    color: #ffed2a;
}

/*.nav_item:hover{*/
/*    color: #FE5050;*/
/*}*/
/*.nav_1{*/
/*    background: url(../images/nav_icon1.png) no-repeat left center;*/
/*    background-size: contain;*/
/*    min-width: 16.13rem;*/
/*    height: 6.25rem;*/
/*    line-height: 6.25rem;*/
/*    padding-left: 5.88rem;*/
/*    box-sizing: border-box;*/
/*}*/
.nav_item:hover{
    margin-left: -2%;
}
.nav_item:hover .mark_icon0{
    background: url(../images/nav_icon0_2.png) no-repeat left center;
    background-size: contain;
    min-width: 16.13rem;
    height: 6.25rem;
    margin-top: -3.125rem;
    /*transition: height ease-in-out .4s;*/
}
.nav_item:hover .mark_icon1{
    background: url(../images/nav_icon1_2.png) no-repeat left center;
    background-size: contain;
    min-width: 16.13rem;
    height: 6.25rem;
    margin-top: -3.125rem;
    /*transition: height ease-in-out .4s;*/
}
.nav_item:hover .mark_icon2{
    background: url(../images/nav_icon2_2.png) no-repeat left center;
    background-size: contain;
    min-width: 16.13rem;
    height: 6.25rem;
    margin-top: -3.125rem;
    /*transition: height ease-in-out .4s;*/
}
.nav_item:hover .mark_icon3{
    background: url(../images/nav_icon3_2.png) no-repeat left center;
    background-size: contain;
    min-width: 16.13rem;
    height: 6.25rem;
    margin-top: -3.125rem;
    /*transition: height ease-in-out .4s;*/
}
.nav_item:hover .star_glow{
    opacity: 0;
}
.nav_item:hover .linkname{
    padding-left: 3rem;
    transition: all ease-in-out .4s;
}
.nav_item .linkname{
    position: relative;
    z-index: 2;
}
.nav_item .mark_icon0 {
    background: url(../images/nav_icon0_1.png) no-repeat center;
    width: 2.5rem;
    height: 2.75rem;
    z-index: 1;
    position: absolute;
    left: 0px;
    top:50%;
    margin-top: -1.325rem;
    background-size: contain;
}
.nav_item .mark_icon1 {
    background: url(../images/nav_icon1_1.png) no-repeat center;
    width: 2.5rem;
    height: 2.75rem;
    z-index: 1;
    position: absolute;
    left: 0px;
    top:50%;
    margin-top: -1.325rem;
    background-size: contain;
}
.nav_item .mark_icon2 {
    background: url(../images/nav_icon2_1.png) no-repeat center;
    width: 2.5rem;
    height: 2.75rem;
    z-index: 1;
    position: absolute;
    left: 0px;
    top:50%;
    margin-top: -1.325rem;
    background-size: contain;
}
.nav_item .mark_icon3 {
    background: url(../images/nav_icon3_1.png) no-repeat center;
    width: 2.5rem;
    height: 2.75rem;
    z-index: 1;
    position: absolute;
    left: 0px;
    top:50%;
    margin-top: -1.325rem;
    background-size: contain;
}

.star_glow {
    width: 0.9rem;
    height: 0.8rem;
    border-radius: 50%;
    bottom: 3%;
    left: 0.8rem;
    position: absolute;
    background: white;
    animation: glitter 10s linear 0s infinite normal;
    -webkit-animation: glitter 10s linear 0s infinite normal;
    -moz-animation: glitter 10s linear 0s infinite normal;
    -ms-animation: glitter 10s linear 0s infinite normal;
    -o-animation: glitter 10s linear 0s infinite normal;
    opacity: 1;
}
@keyframes glitter {
    0% {
        transform: scale(1.0);
        opacity: 1;
        box-shadow: 0px 0px 10px 5px #535FED;
    }

    25% {
        transform: scale(0.5);
        opacity: 0;
    }

    50% {
        transform: scale(1.0);
        opacity: 1;
        box-shadow: 0px 0px 10px 5px #535FED;
    }

    75% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1.0);
        opacity: 1;
        box-shadow: 0px 0px 10px 5px #535FED;
    }
}
/*底部区域*/
.index-footer {
    position: absolute;
    max-height: 10%;
    color: #fff;
    font-size: 0.67rem;
    text-align: center;
    width: 100%;
    overflow: auto;
    bottom: 0px;
    left: 0px;
    padding: 0px 1%;
    box-sizing: border-box;
    margin-bottom: 0.83rem;
    justify-content: center;
    /*display: flex;*/
    flex-wrap: wrap;
}
.index-footer > span {
    align-items: center;
    line-height: 1rem;
    display: flex !important;
    margin-left: 0.625rem
}

.index-footer img {
    width: 0.67rem;
    height: 0.67rem;
    vertical-align: middle;
    position: relative;
    top:-0.08rem
}

.index-footer a {
    color: #fff;
    text-decoration: none;
}

.index-footer a:hover {
    color: #fda9a9;
}

/*不同模块组合类*/
.hometemplate11 .left_template{
    position: absolute;
    left: 16%;
    top: 33%;
}
.hometemplate12 .left_template,.hometemplate13 .left_template{
    position: absolute;
    top: 50%;
    left: 15%;
    margin-top: -12.5rem;
}
.hometemplate21 .left_template{
    position: absolute;
    left: 15%;
    top: 35%;
    transform: scale(0.8);
    transform-origin: 0 0;
}
.hometemplate31 .left_template{
    position: absolute;
    left: 15%;
    top: 36%;
    transform: scale(0.75);
    transform-origin: 0 0;
}
.hometemplate22 .left_template,.hometemplate23 .left_template,.hometemplate32 .left_template,.hometemplate33 .left_template{
    position: absolute;
    top:50%;
    left: 10%;
    margin-top: -12.5rem;
}
@media (min-width: 2500px){
    .rotateball{
        transform: scale(1.5);
    }
}
@media screen and (max-width:1680px){
    .rotateball{
        transform: scale(0.8);
    }
}
@media screen and (max-width:1366px){
    .rotateball{
        transform: scale(0.7);
    }
}

/*移动端*/
@media (max-width: 1023px){
    .indexbg .bakground_bg{
        object-fit: cover;
    }
    .template_cnt_box {
        margin: 0px auto;
        position: static;
        min-height: auto;
        min-width: auto;
        width: 96%;
    }
    .logo{
        height: 10rem;
        top: 4rem;
    }
    .left_template{
        display: none;
    }
    .right_template{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .nav_item{
        position: static;
        width: 50%;
        padding: 0px;
        display: flex !important;
        height: auto;
        font-size: 4.27rem;
        justify-content: center;
        background: url(../images/phone_menubg.png) no-repeat center;
        background-size: 100% 100%;
        min-height: 16rem;
        margin-top: 3.6rem;
    }
    .nav_item .mark_icon {
       display: none;
    }
    .star_glow {
      display: none;
    }
    .nav_item:hover {
        margin-left: 0%;
    }
    .nav_item:hover .linkname {
        padding-left: 0rem;
    }
    .index-footer{
        font-size: 2.4rem;
        margin-bottom: 3.4rem;
    }
}
@media (max-width: 767px) {
    .logo{
        top: 11rem;
    }
}
/*动图类型不存在*/
.hometemplatenull2,.hometemplatenull3{
    left: -18%;
}
