@charset "UTF-8";

/* adm / mer 手机端自适应（Gentelella 布局） */

@media (max-width: 991px) {
    .nav-md .container.body .col-md-3.left_col,
    .nav-sm .container.body .col-md-3.left_col {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 230px !important;
        min-height: 100%;
        z-index: 10001;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.mobile-nav-open.nav-md .container.body .col-md-3.left_col,
    body.mobile-nav-open.nav-sm .container.body .col-md-3.left_col {
        transform: translateX(0) !important;
    }

    body.mobile-nav-open .nav-sm .hidden-small {
        visibility: visible !important;
    }

    #mobile-nav-backdrop {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 9999;
    }

    body.mobile-nav-open #mobile-nav-backdrop {
        display: block;
    }

    .nav-md .container.body .right_col,
    .nav-sm .container.body .right_col {
        margin-left: 0 !important;
        padding: 10px 8px 20px !important;
        width: 100% !important;
    }

    .nav-md .main_container .top_nav,
    .nav-sm .main_container .top_nav {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .nav-sm .navbar.nav_title {
        width: auto !important;
    }

    .nav-sm .nav.side-menu li a span,
    .nav-sm .navbar.nav_title a span {
        display: inline !important;
    }

    .nav-sm .nav.side-menu li a {
        text-align: left !important;
        font-size: 13px !important;
        padding: 12px 15px !important;
    }

    .x_content,
    .right_col,
    .table-responsive,
    .dataTables_wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table.dataTable,
    #datatable,
    .table {
        min-width: 560px;
    }

    .web_table_filter .form-group {
        margin-bottom: 10px;
    }

    .web_table_filter [class*="col-"] {
        width: 100% !important;
        float: none !important;
        padding-left: 10px;
        padding-right: 10px;
    }

    .web_table_filter .control-label {
        text-align: left !important;
        padding-top: 0 !important;
        margin-bottom: 4px;
    }

    .web_table_filter .form-control,
    .web_table_filter .btn,
    .web_table_filter select {
        width: 100% !important;
        max-width: 100%;
        margin-bottom: 8px;
    }

    .modal-dialog,
    .modal-content {
        width: auto !important;
        max-width: calc(100vw - 20px) !important;
        margin: 10px auto !important;
    }

    .modal-body {
        max-height: calc(100vh - 160px);
        overflow-y: auto;
    }

    .x_panel {
        padding: 10px 8px;
    }

    .x_title h2,
    .x_title h3 {
        font-size: 16px;
        white-space: normal;
        word-break: break-word;
    }

    .top_nav .navbar-right {
        float: right !important;
    }

    .nav_menu {
        position: relative;
        z-index: 1000;
    }

    .tile-stats {
        margin-bottom: 10px;
    }

    footer {
        margin-left: 0 !important;
    }

    .groupRout {
        width: 100% !important;
        display: block !important;
        margin-bottom: 8px;
    }

    .form-horizontal .control-label {
        text-align: left !important;
        margin-bottom: 4px;
    }

    .form-horizontal .form-group > [class*="col-"] {
        width: 100% !important;
        float: none !important;
        margin-left: 0 !important;
    }

    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        text-align: left !important;
        float: none !important;
    }

    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate {
        float: none !important;
        text-align: center !important;
        margin-top: 10px;
    }

    .btn-toolbar,
    .DTTT_container {
        float: none !important;
        margin-bottom: 10px;
    }
}

@media (max-width: 991px) {
    .modal[style*="width"],
    .modal-dialog[style*="width"],
    .modal-content[style*="width"],
    .modal-header[style*="width"] {
        width: auto !important;
        max-width: calc(100vw - 20px) !important;
    }

    [style*="width:300px"],
    [style*="width:320px"],
    [style*="width:420px"],
    [style*="width:500px"],
    [style*="width:540px"],
    [style*="width:600px"],
    [style*="width:640px"] {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 575px) {
    .top_nav .navbar-right li a {
        padding: 10px 8px !important;
        font-size: 12px;
    }

    .login_wrapper {
        padding: 15px;
        max-width: 100%;
    }

    .login_content {
        padding: 15px 10px;
    }

    .login_content h1 {
        font-size: 22px;
    }

    .login_content .form-control,
    .login_content .submit {
        width: 100%;
        box-sizing: border-box;
    }
}
