.selector-for-some-widget {
    box-sizing: content-box;
}


* {
    padding: 0;
    margin: 0;
}

html {
    font-size: 10px;
}

body {
    background-color: #FFFFFF;
    color: #430606;
    font-size: 16px;
}


ul li,
ol li {
    list-style: none;
}

a {
    text-decoration: none !important;
    color: #430606;
}

button {
    outline: none;
    border: none;
}

img {
    display: block;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

p {
    margin: 0;
}

.banner {
    width: 100%;
    position: relative;
}

.banner img {
    width: 100%;
    max-width: 100%;
}

.top_change {
    position: absolute;
    right: 0px;
    top: 0px;
    display: inline-block;
}

.top_change a {
    display: block;
    padding: 9px 7px;
    font-size: 16px;
    margin-right: 2px;
    text-align: center;
}



.nav-list {
    height: 6rem;
    line-height: 6rem;
    width: 117rem;
    display: flex;
    margin: 0 auto;
    overflow: hidden;
}

.nav-item {
    height: 100%;
}

.nav-item:nth-child(n+2) {
    margin-left: 15px;
}

.nav-item a {
    padding: 0 15px;
    display: block;
    height: 100%;
    font-size: 20px;
    transition: all .2s;
}

.nav-item.active a,
.nav-item a:hover {
    box-sizing: border-box;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    margin-top: 10px;
}



.width {
    position: relative;
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1200px;
    width: 95%;
}


.logo {
    position: absolute;
    right: 3%;
    top: 0;
    height: 63px;
    display: flex;
    align-items: center;
    justify-content: center
}

.logo img {
    height: 45px;
}

.banner {
    position: relative;
    overflow: hidden;
}

.banner-img {
    width: 100%;
}

.navbar-light .navbar-toggler-icon {
    background-image: url(../images/menu.png);
    background-size: 120%;
}

.navbar-light .navbar-toggler {
    border-color: #FFF;
}


.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    line-height: 20px;
    padding: 20px 0;
    font-size: 14px;
    text-align: center;
}

.footer img {
    height: 20px;
    margin-right: 5px;
}

.back-to-top {
    box-sizing: border-box;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 99;
    position: fixed;
    bottom: 65px;
    right: -70px;
    /* 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: 023996;
    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 {
    transform: rotate(-315deg);
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    -ms-transform: rotate(-315deg);
    -o-transform: rotate(-315deg);

}

.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) {
    .middle-menu-item a {
        margin: 20px 0;
        font-size: 18px;
    }

    .middle-menu-item a img {
        height: 50px;
    }
}

@media (max-width: 1200px) {}

@media (max-width: 1000px) {
    .navbar {
        position: relative;
        background-color: #900000;
    }

    .logo {
        height: 56px;
    }

    .logo img {
        height: 35px;
    }

    .header-width {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar-light .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }

    .footer {
        font-size: 12px;
    }
}

@media (max-width: 540px) {
    .navbar {
        padding: 0.5rem;
    }

    .back-to-top:hover {
        background-color: #900000;
        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;
    }

}