/* boostrap将所有盒模型改为border-box,修复可能导致的一些问题 */
.selector-for-some-widget {
    box-sizing: content-box;
}

/* 清除默认样式 */
* {
    padding: 0;
    margin: 0;
}
body {
    background-color: #FFFFFF;
    font-family: '微软雅黑';
    color:#333;
    font-size: 16px;
}
dl, ol, ul{
    margin: 0;
}
ul li,
ol li {
    list-style: none;
}

a {
    text-decoration: none !important;
    color: #000;
    cursor: pointer;
}

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: 1400px;
    width: 95%;
}
.header-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    padding: 10px 0;
    margin: 0 auto;
}
.header-top .logo{
    height: 60px;
}
.header-top-right {
    display: flex;
    align-items: center;
}
.weixin-container,.search-container{
    position: relative;
    display: flex;
    align-items: center;
    color: #666;
    margin-left: 30px;
}
.weixin-container{
    cursor: pointer;
}
.weixin-container img{
    height: 24px;
    margin-right: 10px;
}
.weixin-pop{
    display: none;
    position: absolute;
    top: 35px;
    right: 0;
    width: 120px;
    bckground-color: #FFF;
    border: 1px solid #CCC;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.4);
    z-index: 10;
}
.weixin-container:hover .weixin-pop{
    display: block;
    border-radius: 5px;
    overflow: hidden;
}
.weixin-pop img{
    width: 100%; 
    height: auto;
    margin: 0;
}

.search-container input{
    box-sizing: border-box;
    width: 220px;
    height: 40px;
    border: 1px solid #CCC;
    padding:0 40px 0 15px;
    outline: none;
    border-radius: 20px;
}
.search-container button{
    position: absolute;
    right: 10px;
    background-color: transparent;
}
.search-container button img{
    height: 24px; 
}

.header{
    background-color: #1B7ED1;
}
.header-width{
    max-width: none;
}
.navbar{
    flex: 1;
    justify-content: space-between;
}
.navbar a {
    color: #000;
}
.nav-item{
    padding: 0 0.5em;
}
.navbar-light .navbar-nav{
    width: 100%;
    justify-content: space-between!important;

}
.navbar-light .navbar-nav .nav-link {
    color: #FFF!important;
    white-space: nowrap;
    font-size: 18px;
    padding: 10px 0;
    margin:0 0.5rem;
    border-bottom: 2px solid #1B7ED1;
}
.show>.nav-link{
    color: #FFF!important;
    position: relative;
   }
.navbar-light .navbar-nav .nav-link:hover {
    color: #FFF;
    font-weight: bold;
    border-bottom: 2px solid #FFF;
}
.dropdown-menu{
    min-width: auto!important;
}
.dropdown-item:hover{
    background-color: #1B7ED1;
    color: #FFF;
}
.navbar-light .navbar-toggler{
    border-color: #FFF;
}
.navbar-light .navbar-toggler-icon{
    background-image: url(../images/menu.png);
}
.footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 30px;
    color: #FFF;
    padding: 20px 0;
}
.footer p{
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    line-height:2;
    color: #FFF;
}
.footer p span{
    margin-right: 16px;
}
.footer input{
    min-width: 250px;
}
.layui-form-select dl dd.layui-this{
    color: #1B7ED1;
}
.layui-input:focus, .layui-textarea:focus{
    border-color: #1B7ED1!important;
    box-shadow: 0 0 5px rgba(27, 126, 209, 0.2);
}
.back-to-top {
    box-sizing: border-box;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 99;
    position: fixed;
    bottom: 65px;
    right: -70px;
    background-color: #1B7ED1;
    /* 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: #1B7ED1;
    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: 1600px) {
    .width{
        max-width: 1200px;
    }
}
@media (max-width: 1200px) {
    .header-top .logo{
        height: 50px;
    }

}
@media (max-width: 992px) {
    .header-width{
        width: 100%;
    }
}
@media (max-width: 768px) {
    .header-top .logo{
        height: 35px;
    }
    .search-container{
        display: none;
    }
    body .index-mian{
        display: block;
        padding: 0;
    }
    body .index-mian .main-left,body .index-mian .main-right{
        width: 100%; 
        margin:0;
        margin-top:20px;
    }
    .footer{
        display: block;
    }
}
@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: #1B7ED1;
        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) {
    
 }

