/* boostrap将所有盒模型改为border-box,修复可能导致的一些问题 */
.selector-for-some-widget {
    box-sizing: content-box;
}

/* 清除默认样式 */
* {
    padding: 0;
    margin: 0;
}
body {
    font-family: '微软雅黑';
    background-color: #F5F2F9;
}
ul li,
ol li {
    list-style: none;
}

a {
    text-decoration: none !important;
    color: #000;
}

button {
    outline: none;
    border: none;
}

img {
    display: block;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
p{
    margin: 0;
}
/* 主要内容宽度 */
.width {
    position: relative;
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1200px;
    width: 95%;
}
.header-width{
    /* position: relative; */
    box-sizing: border-box;
    margin: 0 auto;
    width: 90%;
}
.header {
    display: flex;
    justify-content: end;
    /* align-items: center; */
}
.navbar{
    flex: 1;
}
.navbar a {
    color: #000;
}
.navbar-light .navbar-nav .nav-link {
    color: #6917B6;
    white-space: nowrap;
    font-size: 18px;
    padding: 8px 0.5rem;
    margin:0 0.5rem;
    line-height: 30px;
    transition: all 0.5s ease;
}
.navbar-light .navbar-nav .nav-link .iconfont{
    font-size: 24px;
    margin-right: 8px;
    color: #6917B6;
    vertical-align: bottom;
    transition: all 0.5s ease;

}
.navbar-light .navbar-nav .nav-link .icon-star{
    font-size: 30px;
    margin-right: 5px;
}
.navbar-light .navbar-nav .nav-link:hover {
    color: rgba(105, 23, 182, 0.5);
}
.navbar-light .navbar-nav .nav-link:hover .iconfont{
    color: rgba(105, 23, 182, 0.5);
}

.dropdown-menu{
    min-width: auto!important;
}
.dropdown-item:hover{
    background-color: #6917B6;
    color: #FFF;
}
.logo img {
    height: 36px;
}
.banner{
    position: relative;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}
.banner-img{
    width: 100%;
}



.footer{
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 50px;
    font-size: 16px;
    font-weight: 600;
    color: #FFF;
    letter-spacing: 2px;
    background-color: #6815B5;
    text-align: center;
}
.back-to-top {
    box-sizing: border-box;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 99;
    position: fixed;
    bottom: 65px;
    right: -70px;
    background-color: #9822D7;
    /* display: none; */
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}
.back-to-top-active{
    background-color: #9822D7;
    right: 30px;
    transform: rotate(-360deg);
    -webkit-transform: rotate(-360deg);
    -moz-transform: rotate(-360deg);
    -ms-transform: rotate(-360deg);
    -o-transform: rotate(-360deg);
}
.back-to-top img{
    height: 20px;
    margin: 0 auto;
    margin-top: 8px;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}
.back-to-top:hover {
        background-color: red;
        transform: rotate(-405deg);
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-405deg);
        -ms-transform: rotate(-405deg);
        -o-transform: rotate(-405deg);
        box-shadow: 0 0 8px 1px #ddd;
}
.back-to-top:hover img{
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
}
@media (max-width: 1000px) {
    .header-width{
        width: 100%;
    }

}
@media (max-width: 768px) {
    .navbar-light .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }
    .logo img {
        height: 35px;
    }
    .middle-menu-container{
        position: static;
    }
}
@media (max-width: 540px) {
    .navbar{
        padding: 0.5rem;
    }
    .logo{
        margin-right: 5px;
    }
    .logo img {
        height: 20px;
    }

    .footer{
       display: block;
       padding: 20px 0;
       line-height: 20px;
       font-size: 12px;
    }

    .back-to-top:hover {
        background-color: #6917B6;
        transform: rotate(-360deg);
        -webkit-transform: rotate(-360deg);
        -moz-transform: rotate(-360deg);
        -ms-transform: rotate(-360deg);
        -o-transform: rotate(-360deg);
        box-shadow: 0 0 8px 1px #ddd;
    }
    .back-to-top:hover img{
        transform: rotate(0);
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
}
}
@media (min-width: 768px) {
}
@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link{
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
 }

 /* 鼠标跟随样式 */
#mouse-follower-container {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
}

.mouse-trail {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-out;
}

.mouse-trail img {
    width: 50px;
    height: auto;
    filter: drop-shadow(0 0 5px rgba(166, 0, 251, 0.5));
    transform: rotate(-40deg);
}
/*侧边导航栏*/
.tip{
	width:50px;
	height:auto;
	position:fixed;
	bottom: 4%;
	right:2%;
	z-index:99;
}
.tip_box{
	display:block;
	width:50px;
	height:50px;
	border-radius:25px;
	border:1px solid #6817B4;
	margin-bottom:10px;
	cursor:pointer;
  background-color: white;
  background-repeat: no-repeat;
  background-position: center center;
}
.tip_box:hover{border:1px solid white;}
.back{background-image: url("../images/tip_back1.png?v=2");background-size: 80%;}
.weixin{background-image: url("../images/tip_img1.png?v=2");}
.phone{background-image: url("../images/tip_img2.png?v=2");}
.xinxi{background-image: url("../images/tip_img3.png?v=2");}
.up{background-image: url("../images/tip_img4.png?v=2");}

/* .tip_box:nth-child(2){background:white url("../images/tip_img1.png?v=2") no-repeat center center;}
.tip_box:nth-child(3){background:white url("../images/tip_img2.png?v=2") no-repeat center center;}
.tip_box:nth-child(4){background:white url("../images/tip_img3.png?v=2") no-repeat center center;}
.tip_box:nth-child(5){background:white url("../images/tip_img4.png?v=2") no-repeat center center;} */


.back:hover{background-color: #6817B4; background-image: url("../images/tip_back1a.png?v=2");background-size: 80%;}
.weixin:hover{background-color: #6817B4; background-image: url("../images/tip_img1a.png?v=2");}
.phone:hover{background-color: #6817B4; background-image: url("../images/tip_img2a.png?v=2");}
.xinxi:hover{background-color: #6817B4; background-image: url("../images/tip_img3a.png?v=2");}
.up:hover{background-color: #6817B4; background-image: url("../images/tip_img4a.png?v=2");}
/* .tip_box:nth-child(1):hover{background:#6817B4 url("../images/tip_back1a.png?v=2") no-repeat center center;background-size: 80%;}
.tip_box:nth-child(2):hover{background:#6817B4 url("../images/tip_img1a.png?v=2") no-repeat center center;}
.tip_box:nth-child(3):hover{background:#6817B4 url("../images/tip_img2a.png?v=2") no-repeat center center;}
.tip_box:nth-child(4):hover{background:#6817B4 url("../images/tip_img3a.png?v=2") no-repeat center center;}
.tip_box:nth-child(5):hover{background:#6817B4 url("../images/tip_img4a.png?v=2") no-repeat center center;} */

.tip_show{
	box-sizing:border-box;
	position:absolute;
	top:0;
	left:-195px;
	width:175px;
	height:auto;
	padding:10px;
	border-radius:10px;
	border:1px solid #999999;
	background-color:white;
	box-shadow:0 0 10px #999999;
	/* opacity:0; */
	font-size:14px;
	text-align:center;
	display:none;
}
.tip_show img{width:100%;}
.xinxi_box{
	left:-260px;
	width:240px;
	text-align:left;
	line-height:30px;
}
/*END侧边导航栏*/
/*foot*/

.right{
    float: right;
  }
  .left{
    float: left;
  }
  /* .clear-float{
    overflow: hidden;
  } */
  /* .clear-float{zoom:1} */
  .clear-float:after{
    display:block;clear:both;content:"";
  }
