﻿/* 全局样式【开始】 -------------------------------------- */
.container {
    max-width: 100%;
}

/* .page .content {
    z-index: 0;
} */

.header-menu .menu-nav > .menu-item:first-child h1 {
    margin-bottom: 0;
    color: #3699FF;
    font-weight: bolder;
}

.header-mobile {
    background-color: #3699FF;
}

    .header-mobile h1 {
        margin-bottom: 0;
    }

        .header-mobile h1 a {
            font-weight: bolder;
            margin-bottom: 0;
            color: #FFF;
        }

.container .card-custom > .card-body {
    padding: 1rem;
}

    .container .card-custom > .card-body > .justify-content-end {
        position: absolute;
        right: 1rem;
    }

.card-body > .align-items-center > .flex-column {
    height: 6em;
}

    .card-body > .align-items-center > .flex-column > .font-size-h4 {
        max-height: 4.5em;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .card-body > .align-items-center > .flex-column > .font-size-h5 {
        height: 1.4em;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.aside-menu .menu-nav > .menu-item > .menu-submenu .menu-subnav > .menu-item > .menu-link {
    padding-left: 45px;
}

.aside-menu .menu-nav > .menu-section .menu-text {
    font-size: 1rem;
    color: #a2a3b7;
}

.subheader .align-items-center > .btn > .label {
    width: fit-content;
    padding: 0 3px;
    border-radius: 5px;
    height: 18px;
    vertical-align: top;
}

.header-mobile .burger-icon span, .header-mobile .burger-icon span::before, .header-mobile .burger-icon span::after {
    background-color: #FFF;
}

.header-mobile .btn .svg-icon svg g [fill] {
    fill: #FFF;
}

.header-mobile .btn.active .svg-icon svg g [fill], .header-mobile .btn:hover .svg-icon svg g [fill] {
    fill: #B9DAFB;
}

.aside-menu .menu-nav > .menu-item > .menu-link .menu-text,
.aside-menu .menu-nav > .menu-item .menu-submenu .menu-item > .menu-link .menu-text,
.table thead th, .table td,
.table th, .table td .label.label-inline {
    font-size: 1.2rem;
}

.card.card-custom > .card-header {
    min-height: 50px;
}

/* 全局样式【结束】 -------------------------------------- */

/* 食堂消费管理系统 -------------------------------------- */
@media screen and (max-width: 640px) {
    .xfgl-photoMenu .col-6:nth-child(odd) {
        padding-right: 7px
    }

    .xfgl-photoMenu .col-6:nth-child(even) {
        padding-left: 7px;
    }
    /* 研发成果系统 */
    .xfgl-photoMenu .card .data .content {
        padding: 1rem;
    }

    .container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
        padding: 0 1rem;
    }

    .xfgl-accountStatInfo > .col-sm {
        width: 24%;
        padding: 0;
    }

    .xfgl-accountStatInfo > .col-sm-5 {
        width: 38%;
    }

    .xfgl-accountStatInfo > div:last-child {
        padding: 0;
    }

    .xfgl-accountStatInfo .card-custom {
        margin-bottom: 1rem;
    }

    .xfgl-accountStatInfo .col-sm-4:first-child {
        padding-right: 1rem;
    }

    .xfgl-accountStatInfo .col-sm-4:last-child {
        padding-left: 1rem;
    }

    .xfgl-accountStatInfo .card-custom .card-body > .d-flex {
        display: block !important;
    }

        .xfgl-accountStatInfo .card-custom .card-body > .d-flex h4 {
            font-size: 0.8rem;
            font-weight: normal;
            margin-bottom: 0;
        }

        .xfgl-accountStatInfo .card-custom .card-body > .d-flex .font-weight-boldest {
            font-size: 1.4rem;
            line-height: 2.6rem;
            text-align: right;
            letter-spacing: -2px;
            font-family: 'Times New Roman', Times, serif;
        }

            .xfgl-accountStatInfo .card-custom .card-body > .d-flex .font-weight-boldest strong {
                max-width: 7rem;
                display: inline-flex;
                overflow-x: hidden;
            }

    .xfgl-dateSelection .card-custom .card-body {
        padding-top: 0;
        padding-bottom: 0;
    }

        .xfgl-dateSelection .card-custom .card-body table th,
        .xfgl-dateSelection .card-custom .card-body table td {
            padding: 0.5rem;
            font-size: 1.2rem;
            white-space: nowrap;
        }

            .xfgl-dateSelection .card-custom .card-body table td .label.label-inline {
                font-size: 1.2rem;
                overflow-x: hidden;
                max-width: 6rem;
            }

    .xfgl-dateSelection .card .card-header {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .xfgl-dateSelection td.recharge {
        padding-left: 0;
        padding-right: 0;
    }

    .xfgl-dateSelection td.number {
        padding-right: 0;
    }

    .xfgl-dateSelection .table .balance {
        max-width: 3rem;
        overflow-x: hidden;
        display: block;
    }

    .xfgl-accountStatInfo .mobileHide,
    .xfgl-dateSelection .mobileHide {
        display: none;
    }
}
/* 移动端结束 */

/* 菜谱照片开始 ---------- xfgl-photoMenu */
.xfgl-photoMenu {
    overflow-x: hidden;
}
    /*.xfgl-photoMenu .row {
    margin: 0;
}*/
    .xfgl-photoMenu .row .col-xl-2:first-child {
        padding-left: 0;
    }

    .xfgl-photoMenu .row .col-xl-2:last-child {
        padding-right: 0;
    }
    /*.xfgl-photoMenu .card.card-custom.card-stretch.gutter-b {
    height: calc(100% - 1rem);
}*/
    .xfgl-photoMenu .card .card-body img {
        width: 100%;
        height: 180px;
        min-height: 180px;
    }

    .xfgl-photoMenu .carousel-inner .carousel-item {
        height: 185px;
        overflow: hidden;
    }

    .xfgl-photoMenu .extendCard .carousel-inner .carousel-item {
        height: 280px;
    }

    .xfgl-photoMenu .carousel-inner .carousel-item img {
        width: 100%;
        height: auto;
        min-height: 240px;
    }

    .xfgl-photoMenu .carousel-indicators li.active {
        height: 5px;
    }

    .xfgl-photoMenu .tab-content > .active {
        overflow-y: auto;
        height: 7em;
    }
/* 账户流水 */
.xfgl-accountStatInfo {
    margin-left: 0;
    margin-right: 0;
}

    .xfgl-accountStatInfo .card-custom {
        height: 60px;
    }

    .xfgl-accountStatInfo > div:first-child {
        padding-left: 0;
    }

    .xfgl-accountStatInfo > div:last-child {
        padding-right: 0;
    }

    .xfgl-accountStatInfo .font-size-h1 small {
        font-weight: normal;
        font-size: 12px;
    }

    .xfgl-accountStatInfo .card-custom .card-body > .d-flex .font-weight-boldest {
        letter-spacing: -1px;
        font-family: 'Times New Roman', Times, serif;
    }

.xfgl-dateSelection .card-header h1.font-size-h1 {
    padding-left: 0.5rem;
}

/* 食堂消费管理系统 -------------------------------------- */
.xxcg-itemsList .card.card-custom > .card-header .card-title {
    align-items: flex-start;
}

    .xxcg-itemsList .card.card-custom > .card-header .card-title small {
        font-size: 0.6em;
    }