html {
    position: relative;
    min-height: 100%;
}
body {
    padding-top: 70px !important;
    background-color: #f8f9fb;
    font-family: "Microsoft YaHei" !important;
    color: #777777 !important;
}

* {
    margin: 0;
    padding: 0;
}

.mt5 {
    margin-top: 5px;
}
.mt10 {
    margin-top: 10px;
}
.mt20 {
    margin-top: 20px;
}

.ml5 {
    margin-left: 5px;
}
.ml10 {
    margin-left: 10px;
}
.ml20 {
    margin-left: 20px;
}


.body-content {
    padding-bottom: 20px;
    min-height: 80vh !important;
}

.title-box {
    min-width: 100px;
    max-width: 150px;
    height: 40px;
    line-height: 40px;
    margin: 10px 0;

    text-align: center;
    font-weight: bold;
    color: white;
    background-color: var(--primary-color);
}

.layui-this {
    background-color: var(--primary-color) !important;
    color: white !important;
}
.layui-tab-content {
    border-top: 3px solid var(--primary-color) !important;
}
.layui-tab-card {
    box-shadow: none !important;
    background-color: white !important;
}
.layui-tab-title .layui-this:after {
    border-style: none !important;
}



/*底部导航栏*/
.footer {
    /*position: absolute;*/
    /*bottom: 0;*/
    /*width: 100%;*/
}
.footer .copyright {
    height: 80px;
    background-color: #212121;
    color: white;
    text-align: center;
    padding: 20px;
}

.footerTopSection{background:#f7f7f7; padding:18px 0; border-top: 1px solid #e7e7e7}
.footerBottomSection{background:#212121; padding:18px 0; color:#fff}

/*分页组件*/
.page-view {
    text-align: center;
}

:root {
    --primary-color: #d41c6b;
}


.navbar-header,
.navbar,
.nav,
.navbar-nav,
.navbar-nav > li > a, .navbar-header > a {
    height: 70px;
    line-height: 40px !important;
    box-sizing: border-box;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:focus,
.navbar-default .navbar-nav>.active>a:hover {
    color: var(--primary-color) !important;
    font-weight: bold !important;
}


#bs-example-navbar-collapse-1 {
    background-color: white;
    height:500px;
}

#navbar {
    box-shadow: 0 0 2px #aaa;
    background-color: white;
    font-size: 1.1em;
}

#navbar-collapse-a, #navbar-collapse-b {
    width: 1500px !important;
}

/**/
.footerTopSection{background:#f7f7f7; padding:18px 0; border-top: 1px solid #e7e7e7}
.footerBottomSection{background:#212121; padding:18px 0; color:#fff}
.al-f {color:#999; text-align:center;}
.al-f:hover{ COLOR:var(--primary-color);}
.al-f-img {font-size:3em; display:inline-block;}
.al-f-title {word-break: break-all; word-wrap:break-word; padding-top:10px; display:inline-block;}


.body-content img {
    background-color: #b5b5b5;
}


.btn-primary-theme {
    color: #ffffff;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.page-view .active a {
    color: #ffffff;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.pagination .active a {
    color: #ffffff;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}


.emphasize-caption {
    color: white;
}
.emphasize-caption img {
    background: none;
}
.emphasize-search {
    margin: 10px;
    color: white;
    text-align: center;
    cursor: pointer;
}

.caption-info-view {
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.caption-info-view img {
    background: none;
}

.filter-view {
    margin-left: 20px;
}
.filter-view .item {
    margin: 10px;
}


.list-search-input {
    width: 400px !important;
}



@media (max-width: 1100px) {
    .category .item {
        width: 48% !important;
        margin: 5px;
    }

    .recommend .item {
        width: 32% !important;
    }
}

@media (max-width: 550px) {
    .category .item {
        width: 98% !important;
        margin: 5px;
    }

    .recommend .item {
        width: 98% !important;
    }
}


@media (max-width: 768px) {
    .navbar-collapse {
        max-width: 90% !important;
        margin: 0 auto !important;
        background-color: #866142 !important;
        min-height: 400px !important;
        box-shadow: 0 0 8px black;
    }
    .navbar-collapse ul li a {
        color: #eee !important;
    }
}
