*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
ul{
    list-style-type: none;
}
header {
    margin: 0 0;
    border-width: 0;
    padding: 0 0;

    box-sizing: border-box;

    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    text-align: center;

    transition-property: all;
    transition-timing-function: linear;
    transition-delay: 0s;
    transition-duration: 0.3s;
    background-color: rgb(254,243,232);
}


h1 {
    /* margin: 1rem 0 0 0; */
    width: auto;

    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;

    font-size: 1.8rem;

    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: box-shadow, transform, color;
    transition-property: box-shadow, transform;
}

h1 img {
    margin: 0 0.5rem 0 0;
    width: 6rem;
    height: auto;
}

h1:hover,h1:focus,h1:active{
    box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.3);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

h1 .header-title {
    color: rgb(95,93,93);
    text-decoration: none;
}

/******************************************************************************/

#header-navbar {
    margin: 0;
    border-width: 0;
    height: 120px;
    padding-left:5rem;

    box-sizing: border-box;

    width: 100%;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items:center;

    color: #fff;
    background: rgb(254,243,232);
    /* box-shadow: 0 0 0.5rem #000; */

}

#header-image {
    margin:0;
    border-width: 0;
    /* z-index: 0; */

    /*padding: 2rem 5rem;*/
    /*改*/
    padding: 0;
    width: calc(100%);
    /*改*/
    /*width: calc(100% - 10rem);*/
    height: 45vh;
}

/* ***************************************** */
/******************************************************************************/
#sideMenu{
    height: 100%;
    width: 700px;
    z-index: 2;
    display: flex;
    flex-direction: column;
}
/* 链接图标 */
#sideMenu .sideLink{
    flex:1;

    display: flex;
    justify-content: end;
    column-gap: 10px;
    align-items: center;

    box-sizing: border-box;
    padding: 0 15%;

}
.sideLink .links{
    width: 30px;
    height: 30px;
}
.sideLink .links img{
    width: 100%;
    height: 100%;

    border-radius: 15%;

    object-fit: cover;
    object-position: center;
}

#header-menu{
    height: 3rem;
    background-color: #ff8400;
    border-radius: 5rem 0 0 5rem;
    box-shadow: rgba(0, 0, 0, 0.15) -2.4px 1.2px 3.2px;
}
/* 轮播 */
.swiper-slide video{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 二级动态导航新闻 商城 */
.navbar-list{
    
    margin-left:auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1;
}

.navbar-list li{
    min-width: 100px;
    padding: 5px;
    box-sizing: border-box;

    background-image: radial-gradient(#ff8400,rgb(238,123,29));
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: rgba(33, 35, 38, 0.3) 0px 10px 20px -10px;

}
.navbar-list li:first-child{
    border-radius: 5rem 0 0 5rem;
}
.navbar-list li:last-child{
    border-radius: 0 5rem 5rem 0;
}
.navbar-list li a{
    display: block;
    width: 100%;
    color: rgb(254,243,232);
}
.navbar-list li:hover{
    background-image: radial-gradient(whitesmoke,rgb(254,243,232));

}
.navbar-list li:hover a{
    color: #ff8400;
}
.navbar-list .active{
    background-image: radial-gradient(whitesmoke,rgb(254,243,232));
    
}
.navbar-list .active a{
    color: #ff8400;
}
/* 下拉框 */
.fir-nav{
    margin-left: 5%;
    height: 100%;
    
    /* z-index: 99; */
}
.fir-nav li{
    float:left;
    height: 100%;
    width: 100px;
    font-weight: 300;
    line-height:3rem;

    text-align:center;
    position:relative;
    font-size: 16px;
 }
.fir-nav li a{
     text-decoration:none;
     color:rgb(254,243,232);
     display:block;/*将a行内元素转变成块级元素*/
     width:90%;
     /* height:3rem; */
 }
.fir-nav li a:hover{
     background-color:rgb(254,243,232);
     color:#ff8400;
 }
 /*二级下拉菜单样式设置*/
  .fir-nav li .sec-nav li{
     float:none;
     background-color:#ff8400;
 }
 .fir-nav li .sec-nav{
     position:absolute;
     top:3rem;
     left:0;
     display:none;/*默认状态下或鼠标离开时隐藏*/
     opacity: .9;
     width:110px;
     
 } 
 /*为了兼容IE7写的CSS样式，但是必须写在a:hover前面*/
 /* .fir-nav li .sec-nav li a:link,ul li .sec-nav li a:visited{
     background-color:#ff8400;
 }
 .fir-nav li .sec-nav li a:hover{
     background-color:rgb(254,243,232);
 } */
 /*鼠标滑过一级菜单的元素时显示下拉菜单*/
 /* .fir-nav li:hover .sec-nav{
     display:block;
 } */
.trademark::after{
    content: '®';
}

/******************************************************************************/

#header-image > #image-mask {
    margin: 2rem 5rem;
    border-width: 0;
    padding: 0;

    width: calc(100% - 10rem);
    height: calc(100% - 4rem);

    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;

    background-color: rgba(90, 90, 80, 0.35);
    border-radius: 5px;
}

#header-image > #image_swiper {
    margin: 0;
    border-width: 0;
    padding: 0;

    position: relative;
    z-index: 1;

    width: 100%;
    height: 100%;

    border-radius: 5px;
}

#header-image > #image_swiper .swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#header-image > #image_swiper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/******************************************************************************/

#header-sidebar > div:nth-child(1),
#header-sidebar > div:nth-child(2) {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    z-index: 3;
}

#header-sidebar > div:nth-child(3) {
    position: absolute;
    right: 9rem;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#header-sidebar a,
#header-sidebar i {
    margin: 0 0 1.5rem 0;
    font-weight: bolder;

    color: #fff;
    font-size: 1.2rem;
}

#header-sidebar i {
    margin: 0 0 2rem 0;
}

#header-sidebar a:before {
    margin: 0 0.4rem 0 0;
    /*改*/
    /*content: "▸";*/
}

#header-sidebar a:hover:before {
    cursor: default;
}

#header-sidebar i:hover {
    cursor: pointer;
    color: #ff8400;
}

#header-sidebar i:before {
    margin: 0 0.4rem 0 0;
}

#header-sidebar .qrcode {
    width: 0;
    height: 5rem;

    display: block;

    transition-property: all;
    transition-delay: 0s;
    transition-duration: 0.05s;
    transition-timing-function: linear;
}

#header-sidebar .qrcode:nth-child(1) {
    margin: 0 0 0 0;
}

#header-sidebar .qrcode:nth-child(2) {
    margin: -2rem 0 0 0;
}

/******************************************************************************/
@media screen and  (max-width: 720px){
    #header-navbar{
        flex-direction: column;
        min-height: 120px;
        padding: 0;
        align-items: start;
    }
    #header-navbar h1{
        font-size: 2rem;
    }
    /* 链接 */
    #sideMenu{
        width: 100%;
    }
    #sideMenu .sideLink{
        justify-content: end;
        padding: 2px 20px;
        box-sizing: border-box;
        column-gap: 5px;
    }
    #sideMenu .sideLink .links{
        width: 20px;
        height: 20px;
    }
    /* 导航栏 */
    #header-menu{
        /* display: none; */
        border-radius: 0;
    }
    .fir-nav{
        margin:0 auto;
    }
    .fir-nav>li{
        width: 16%;
    }
    .fir-nav>li a{
        width: 100%;
        font-size: 12px;
    }
    body{
        width: 100vw;
    }
}