* {
    padding: 0;
    margin: 0;
}

main{
    min-height: 50vh
}
@media (min-width: 576px) {

    .page {
        /* max-width: 540px; */
        max-width: 100%;
    }

    body {
        min-width: 990px;
    }

}

@media (min-width: 768px) {

    .page {
        /* max-width: 720px; */
        max-width: 95%;
    }
}

@media (min-width: 992px) {

    .page {
        /* max-width: 960px; */
        max-width: 95%;
    }

}

@media (min-width: 1200px) {

    .page {
        max-width: 1200px !important;
        margin: auto;
    }

}

body {

    /* min-width: 1200px; */
}


.logo {

    height: 78px;
    cursor: pointer;
}

.header {
    padding: 30px 0;
    overflow: hidden;
}

header .search_box {
    width: 300px;
    height: 40px;
    background: rgba(255, 255, 255, .5);
    border: 1px solid rgba(16, 64, 115, .5);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .search_box input {
    padding-left: 15px;
    width: 245px;
    height: 38px;
    font-size: 14px;
    color: #666;
    border: 0;
    background: none;
    border: none;
}

header .search_box input:focus {
    outline: none;
}

header .search_box button {
    width: 50px;
    height: 38px;
    border: 0;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbox {
    display: flex;
    justify-content: space-between;
}

.w1200 {
    max-width: 1200px;
    /* width: 1200px; */
    margin: 0 auto;
    height: auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.nav {
    width: 100%;
    height: 50px;
}

.navbar-collapse ul {
    padding: 0;
    list-style: none;

}

.navbar-collapse>ul>li:first-child {
    border-left: 1px solid #fff;
}

.navbar-nav>li {
    position: relative;
    float: left;
    width: calc(100% / 7);
    font-size: 16px;
    font-weight: bold;
    line-height: 50px;
    text-align: center;
    border-right: 1px solid #fff;
    cursor: pointer;
}

.navbar-nav>li:hover .menu_nav {
    opacity: 1 !important;
    z-index: 999;
}


.navbar-nav>li a {
    display: block;
    color: #fff;
    text-decoration: none;
    background-color: #940085;
}

.navbar-collapse ul>li a:hover {
    background-color: #940085;
}

.navbar-nav>li .menu_nav {
    /* display: none; */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #940085;
    opacity: 0;
    z-index: -1;
    transition: all 1s ease-in-out;
}

.navbar-nav>li .menu_nav li {
    font-size: 14px;
    font-weight: normal;
    line-height: 23px;
    border-right: 0;
}

.navbar-nav>li .menu_nav li a {
    padding: 5px 10px;
    color: #fff;

}

.navbar-nav>li .menu_nav li a:hover {
    background-color: #940085;
}

.carousel-item {
    height: 100%;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
}

/* 底部 */

.footerbg {

    padding: 20px 0px 16px;
    background-color: #212C3C;
    margin-top: 50px;
}

.gatbom-bom {
    font-size: 13px;
    text-align: center;
    color: #7B8CA3 !important;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.gatbom-bom a {
    color: #7B8CA3 !important;
}



/* 分页 */
.pages{
    display: flex;
    justify-content: center;
}
.pagination li{
    border: 1px solid #DEE2E6;
    color: #940085;
    min-width: 33px;
    min-height: 33px ;
    width: fit-content;
    line-height: 33px;
    text-align: center;
    padding:0 5px;
    margin: 0px 2px;
}
.pagination li .active {
    background: #940085;
    color: #fff;
}
.pagination li >a{
    color: #940085;
}
.pagination li >a:hover{
    color: #940085;
}
/* 分页结束 */
.slh1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    /* 设置最大行数 */
    overflow: hidden;
    word-break: break-all;
}
.pages .active{
    background: #940085;
}
.pages .active a{
    color: white;
}
/* 导航兼容 */

@media (min-width: 768px) {
    .navbar-toggle {
        display: none;
    }


}

@media (max-width: 768px) {
    .search_box {
        display: none !important;
    }

    #navmenu {
        margin-left: 0 !important;
        position: absolute;
        top: 75px !important;
        left: 0;
        right: 0;
        z-index: 9999;
        background-color: rgba(255, 255, 255, 1);
        width: 100%;
        margin-top: 0 !important;
    }


    .indexSechCont {
        background-color: #940085;
        position: absolute;
        width: 100%;
        left: 0;
        z-index: 5;
        text-align: center;
        top: 120%;
        display: block !important;
    }

    .logo {
        width: 150px;
        height: auto;
    }

    .navbar-nav>li {
        border-left: none !important;
        border-right: none !important;
        border-bottom: 1px solid #fff;
    }

    .navbar-nav>li {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }



}